Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 8e7b2c58bb5e35cb…

MALICIOUS

Office (OLE)

624.5 KB Created: 2002-07-13 19:41:33 Authoring application: Microsoft Excel First seen: 2019-06-27
MD5: e2a0684f0b08b24b9484b7f3e4d86bc4 SHA-1: 1bf17eb79bbfba7f4d76ada9954f55e3d2277837 SHA-256: 8e7b2c58bb5e35cb8a0b59f7874453af7e6aa2a76bc9431f97be8d0e2ee5cc99
502 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1105 Ingress Tool Transfer T1204.002 Malicious File

This Office document contains a large amount of slack space and an embedded PE executable, indicating it is likely a dropper. The presence of VBA macros, though seemingly dummy in the provided excerpt, combined with the embedded executable and the ClamAV detection of 'Win.Trojan.Agent-6943819-1', strongly suggests a malicious intent to download and execute a second-stage payload. The document body explicitly states 'This is an Antivirus Bait file', further supporting its malicious nature.

Heuristics 12

  • ClamAV: Win.Trojan.Agent-6943819-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Trojan.Agent-6943819-1
  • Embedded PE executable critical OLE_EMBEDDED_EXE
    MZ/PE header found inside document — possible embedded executable
  • Embedded Office document has suspicious static findings critical EMBEDDED_OFFICE_CHILD_STATIC_TRIAGE
    A CFB/OLE Office document was found inside another file type and its carved contents matched Office exploit or payload heuristics. This catches wrapped exploit documents where the top-level file routes to a PE, archive, or generic scanner instead of Office.
  • Reference to CreateProcess API high SC_STR_CREATEPROCESS
    Reference to CreateProcess API
  • Reference to ShellExecute API high SC_STR_SHELLEXEC
    Reference to ShellExecute API
  • Reference to LoadLibrary API high SC_STR_LOADLIBRARY
    Reference to LoadLibrary API
  • Reference to GetProcAddress API high SC_STR_GETPROCADDRESS
    Reference to GetProcAddress API
  • OLE document has large unaccounted-for region high OLE_SLACK_ANOMALY
    OLE file is 639,484 bytes but its declared streams total only 16,305 bytes — 623,179 bytes (97%) live in unallocated sector slack. This is the canonical hiding place for pre-macro-era Office exploit payloads (XOR-encoded shellcode reached via a parser pointer-corruption bug in the document structure).
  • Reference to VirtualAlloc API medium SC_STR_VIRTUALALLOC
    Reference to VirtualAlloc API
  • Reference to VirtualProtect API medium SC_STR_VIRTUALPROTECT
    Reference to VirtualProtect API
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL http://crl.microsoft.com/pki/crl/products/tspca.crl0H In document text (OLE body)
    • http://www.microsoft.com/pki/certs/tspca.crt0In document text (OLE body)
    • http://crl.microsoft.com/pki/crl/products/CodeSignPCA2.crl0OIn document text (OLE body)
    • http://www.microsoft.com/pki/certs/CodeSignPCA2.crt0In document text (OLE body)
    • http://office.microsoft.comIn document text (OLE body)

Extracted artifacts 6

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 2079 bytes
SHA-256: 74729b2c819fa2a6d02dbf245c60c6a9183b05620ad7cce9473868b93d495a28
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisWorkbook"
Attribute VB_Base = "0{00020819-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Sub ThisMacro()
' Dummy macro in ThisWorkbook
Dim x
x = "Dummy macro in ThisWorkbook"
End Sub


Attribute VB_Name = "Sheet1"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True

Attribute VB_Name = "Sheet2"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True

Attribute VB_Name = "Sheet3"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True

Attribute VB_Name = "UserForm1"
Attribute VB_Base = "0{96F8CBB9-96DB-11D6-ACFB-90F6FAB8FE1D}{96F8CBB2-96DB-11D6-ACFB-90F6FAB8FE1D}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "Module1"
Sub ClassMacro()
' Dummy macro in Module1
Dim x
x = "Dummy macro in Module1"
End Sub



Attribute VB_Name = "Class1"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
embedded_office_00005be6.exe embedded-pe Office MZ+PE at offset 0x5BE6 615958 bytes
SHA-256: f08a13bf41a0c9049b2905f7495c8930b792e503131a46501b9a94abf5c3d3c7
Detection
ClamAV: Win.Trojan.Agent-6943819-1
Obfuscation or payload: unlikely
embedded_office_00005be6_1.exe embedded-pe Office MZ+PE at offset 0x5BE6 377818 bytes
SHA-256: dda438df6cb78b0b4260808ee84f87a3c18546331e6f17afe6e498030c28d536
Detection
ClamAV: Win.Trojan.Agent-6943819-1
Obfuscation or payload: unlikely
embedded_office_off0003a23c.ole embedded-office Embedded OLE/CFB Office body inside ole container at offset 0x3A23C 401344 bytes
SHA-256: d5120604cc1e74113472323a64d8b7b8557c881b0df14cebcb5a92c337894cfd
Detection
ClamAV: Win.Trojan.Agent-6943819-1
Obfuscation or payload: unlikely
embedded_office_00005be6_2.exe embedded-pe Office MZ+PE at offset 0x5BE6 139852 bytes
SHA-256: c489f446aa30761512e802826ae46241876204d105765ed38392c4c900f27cff
embedded_office_off000743ca.ole embedded-office Embedded OLE/CFB Office body inside ole container at offset 0x743CA 163378 bytes
SHA-256: d70457b8bce29e02827e14eba3e883c78f93e4a7d9f4342376f9899f1e455489