Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 1eff4c63756b7508…

MALICIOUS

Office (OLE)

75.5 KB Created: 2017-09-18 22:04:00 Authoring application: Microsoft Office Word First seen: 2019-05-15
MD5: f7d577a62389b4f9757c5c151cc2115c SHA-1: 4f8d71a19632e08ec835e28bb429da5851dc53dd SHA-256: 1eff4c63756b7508231e0d447a8f788275c445cc4fa53722ed079e75e3b66283
168 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1566.001 Spearphishing Attachment T1204.002 Malicious File

The sample contains a legacy WordBasic auto-exec marker ('autoopen') and a high-severity heuristic firing for PowerShell, indicating an attempt to execute a malicious script. ClamAV detection confirms this, identifying it as 'Doc.Macro.VBSDownloader-6336817-0'. The presence of these elements strongly suggests the document is designed to act as a downloader for a second-stage payload.

Heuristics 5

  • ClamAV: Doc.Macro.VBSDownloader-6336817-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Macro.VBSDownloader-6336817-0
  • Reference to PowerShell high SC_STR_POWERSHELL
    Reference to PowerShell
  • OLE document has large unaccounted-for region high OLE_SLACK_ANOMALY
    OLE file is 77,312 bytes but its declared streams total only 43,646 bytes — 33,666 bytes (44%) 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).
  • Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXEC
    OLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.
  • 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.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 286 bytes
SHA-256: 7771bf99b1125ee0f87040a7dc7c1fa89eec2186bbf4ab3e822c8d665693af47
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
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