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

Static analysis result for SHA-256 afe8ed83f2cd1184…

MALICIOUS

Office (OLE) / .XLS

80.5 KB Created: 2020-10-25 18:24:14 Authoring application: Microsoft Excel
MD5: 6ae872e1f3168a1ce8d85fc7bd303a67 SHA-1: f65a31e331cc098787a5b961a52eb5b664670007 SHA-256: afe8ed83f2cd1184d6a52a6d7df04df1693b7a2bb951047c67d77e435bb5cbef
148 Risk Score

Malware Insights

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

The file contains Excel 4.0 macros, specifically an Auto_Open macro that uses the EXEC function. This macro reconstructs and executes a PowerShell command to download a file named 'ps.exe' from 'http://bedelectrical.top/pdf.exe' and then executes it. The VBA project contains no executable statements, indicating the primary malicious functionality resides within the XLM macros.

Heuristics 4

  • 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.
  • VBA project contains no executable statements low OLE_VBA_MACROS
    Document contains a VBA project, but extracted modules only contain attributes/options/comments and no executable statements.

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_macros.txt
7eac98c9bb84e52ab30b34256aa6bf78750d3cee867aadc22c12f397e0d727ed
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 1833 bytes
macros.bas
8bed49825dc7fe67a44a1e268cf275fafb14b7b63a2f9dbfc287bca4aaad1cab
vba-macro oletools.olevba.extract_macros (decoded VBA source) 640 bytes