Malicious Office (OLE) / .XLS — malware analysis report

Static analysis result for SHA-256 4054344f07e1877b…

MALICIOUS

Office (OLE) / .XLS

158.5 KB Created: 2020-09-20 21:17:44
MD5: 4468e0175c68f3751fc2027f1e42ca0c SHA-1: c19aff367853c61d750b2da47623b69d8c1b42bb SHA-256: 4054344f07e1877b2cbb1a13c9bee260f0ae1f41c713374ccb9b130e3bae19a6
140 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 PowerShell T1059.001 PowerShell T1204.002 Malicious File

The sample contains Excel 4.0 macros with an Auto_Open entry, which is a critical finding. The macros construct and execute PowerShell commands to download a file named 'pd.bat' from 'https://cutt.ly/njaLDrp' using the .NET WebClient, and then execute it. The script also includes commands to move, remove, and attribute the downloaded file, indicating a multi-stage payload delivery.

Heuristics 3

  • Excel 4.0 Auto_Open defined name critical OLE_XLM_AUTOOPEN_DEFINEDNAME
    oletools 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_FN
    Excel 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.
  • Excel 4.0 (XLM) macro sheet present medium OLE_XLM_AUTOOPEN
    Workbook 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.

FilenameKindSourceSize
xlm_macros.txt
d8bd613b016f384938335db49b5d6595a7ab557dcfde9c4a620486a99546d2ab
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 1484 bytes