Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 c9ff54f9ab9fd956…

MALICIOUS

Office (OLE)

87.0 KB Created: 2018-11-05 17:18:00 Authoring application: Microsoft Office Word First seen: 2019-05-16
MD5: f436c043794eca9b8fb2786344d8464f SHA-1: a208231a0bb177837dc94c57f540c1e9cb261b45 SHA-256: c9ff54f9ab9fd956b7cd312b52da301d417470bacbc0da38c2b4e54461074ea7
170 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.003 Windows Command Shell T1566.001 Spearphishing Attachment

The document contains a heavily obfuscated PowerShell command embedded within the document body. This command is designed to decode a Base64 string, decompress it, and then execute it using PowerShell. The presence of suspicious cmd.exe and PowerShell invocations, along with the obfuscated script, strongly suggests the document is a malicious loader attempting to download and execute a second-stage payload.

Heuristics 6

  • Suspicious cmd.exe invocation with execution flag high SC_STR_CMD
    Suspicious cmd.exe invocation with execution flag
  • Reference to PowerShell high SC_STR_POWERSHELL
    Reference to PowerShell
  • OLE document has large unaccounted-for region high OLE_SLACK_ANOMALY
    OLE file is 89,088 bytes but its declared streams total only 48,118 bytes — 40,970 bytes (46%) 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).
  • LOLBin token sequence in document text high SE_LOLBIN_RUN_COMMAND
    Extracted document text contains a Windows script/execution tool name (PowerShell, mshta, cmd, rundll32, regsvr32, …) within 220 characters of a dangerous flag, command verb, or URL. This is a visible 'run this' instruction in HTML/PDF/RTF lure bodies, or — in macro-laden Office files — the macro's own string-pool entries appearing adjacent in extracted text.
  • VBA project contains no executable statements low OLE_VBA_MACROS
    Document contains a VBA project, but extracted modules only contain attributes/options/comments and no executable statements.
  • 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://schemas.openxmlformats.org/drawingml/2006/main In document text (OLE body)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 463 bytes
SHA-256: bafc8d9677c15417f53193f029d4388c9bfab5360d0a5b1297ec348789421eb1
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "GAhESna"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True