Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6a18f21d60cdc632…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:39:17 Authoring application: Microsoft Excel First seen: 2021-10-02
MD5: 0f5031c0a549bd777c8b529f5a8069f3 SHA-1: 7318c0ed1bbf92072b4553b3d750721384448382 SHA-256: 6a18f21d60cdc632d5afb767879c450e787071a1e4d923268b871c107d25d6b4
140 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution

This Excel file contains Excel 4.0 macros, specifically an Auto_Open function, which is a known technique for executing malicious code upon opening. The critical heuristic firings indicate the presence of dangerous formula APIs within the macro sheet, suggesting an attempt to run arbitrary commands or exploit vulnerabilities. No specific URLs or further payloads were extracted, but the presence of Auto_Open strongly implies an intent to execute a secondary stage.

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 xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 6528 bytes
SHA-256: bdfa6f0abe6d155c3b5cdeed51d35347de6807d9ec7358360c8d433e46b29a10
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     16 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  abUoVbU
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D184 
' 0018     23 LABEL : Cell Value, String Constant - btSVaACh len=0 
' 0018     22 LABEL : Cell Value, String Constant - ClHKGia len=0 
' 0018     25 LABEL : Cell Value, String Constant - dMBKXQiTgC len=0 
' 0018     23 LABEL : Cell Value, String Constant - eWkYTPcS len=0 
' 0018     26 LABEL : Cell Value, String Constant - FBZInRGhDzD len=0 
' 0018     25 LABEL : Cell Value, String Constant - HPotfkTTUK len=0 
' 0018     23 LABEL : Cell Value, String Constant - HXccSGuG len=0 
' 0018     26 LABEL : Cell Value, String Constant - IIfkYYyTyqb len=0 
' 0018     20 LABEL : Cell Value, String Constant - LFvXV len=0 
' 0018     21 LABEL : Cell Value, String Constant - ljfZPN len=0 
' 0018     22 LABEL : Cell Value, String Constant - nLLQOUI len=0 
' 0018     26 LABEL : Cell Value, String Constant - oMlSGxzipRw len=0 
' 0018     23 LABEL : Cell Value, String Constant - pWzObGMb len=0 
' 0018     27 LABEL : Cell Value, String Constant - qibWVdMVpZtT len=0 
' 0018     20 LABEL : Cell Value, String Constant - rNkpF len=0 
' 0018     21 LABEL : Cell Value, String Constant - SHQIjp len=0 
' 0018     25 LABEL : Cell Value, String Constant - siVfsTIKqy len=0 
' 0018     21 LABEL : Cell Value, String Constant - UqMwSS len=0 
' 0018     26 LABEL : Cell Value, String Constant - YbKmFHjtfDA len=0 
' 0018     25 LABEL : Cell Value, String Constant - ZQypKtEWIu len=0 
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd   
... (truncated)