Malware Insights
The sample is an Excel document containing a Workbook_Open VBA macro. This macro iterates through cells in Sheet1, concatenates their values into a string, writes this string to a file named 'qLegendPositionTop.sct' in the ALLUSERSPROFILE directory, and then executes this script using mshta.exe. The 'SE_INVOICE_LURE' heuristic and the document body suggest a fake invoice lure to trick the user into opening the malicious document. The script execution via mshta.exe is a common technique for downloading and executing further malicious payloads.
Heuristics 11
-
Shell() call in VBA critical OLE_VBA_SHELLShell() call in VBA
-
WScript.Shell usage critical OLE_VBA_WSCRIPTWScript.Shell usage
-
LOLBin reference in VBA critical OLE_VBA_LOLBINLOLBin reference in VBA
-
Reference to Windows Script Host high SC_STR_WSCRIPTReference to Windows Script Host
-
Reference to mshta.exe high SC_STR_MSHTAReference to mshta.exe
-
Workbook_Open macro high OLE_VBA_WBOPENWorkbook_Open macro
-
CreateObject call high OLE_VBA_CREATEOBJCreateObject call
-
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
-
Environ() call (env variable access) low OLE_VBA_ENVIRONEnviron() call (env variable access)
-
Fake invoice / payment lure low SE_INVOICE_LUREDocument contains invoice or payment language paired with an action verb — useful context when combined with link, macro, or attachment indicators
Extracted artifacts 1
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas0ad7ada236d7a38422d29a09b9bf0cba3160da4edfbd1223d7c0f3d8e4924322 |
vba-macro | oletools.olevba.extract_macros (decoded VBA source) | 1255 bytes |
Open this report in the interactive analyzer, or submit your own file for analysis.