Malware Insights
The critical OLE_VBA_SHELL and OLE_VBA_ASC_CHR_SHIFT_SHELL heuristics indicate that the Workbook_Open macro attempts to execute a command. The VBA code contains a character-shift decoder function that, when applied to the obfuscated string, reconstructs a command to be executed by Shell(). This command is designed to download and execute a second-stage payload, as evidenced by the ClamAV detection name Xls.Dropper.Agent-7640732-0. The use of a Workbook_Open macro in an Excel file strongly suggests it was delivered as a spearphishing attachment.
Heuristics 6
-
Shell() call in VBA critical OLE_VBA_SHELLShell() call in VBA
-
VBA character-shift decoded Shell command critical OLE_VBA_ASC_CHR_SHIFT_SHELLVBA auto-exec macro stores an encoded command string, decodes it with a Mid/Asc/Chr character-shift loop, and passes the recovered text to Shell. This is a high-confidence command stager.
-
ClamAV: Xls.Dropper.Agent-7640732-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Xls.Dropper.Agent-7640732-0
-
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.
-
VBA macros detected medium OLE_VBA_MACROSDocument contains VBA macro code
Extracted artifacts 1
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.basb805b01d6c3ae63709bf18b4308e0ce54fdf05d9ca7638ff6ac273444210e493 |
vba-macro | oletools.olevba.extract_macros (decoded VBA source) | 2537 bytes |
Open this report in the interactive analyzer, or submit your own file for analysis.