Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 653d1da9077958e3…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:47:05 Authoring application: Microsoft Excel First seen: 2021-07-07
MD5: f8c4ece55c3a79b0874264b325029a10 SHA-1: 18a9fb4fd0cf2bd1ea64d91c4e9b2e65baba87c4 SHA-256: 653d1da9077958e3002c0d8f7ac5f3fc58a390a08614eafbdae0a64fc5e2c8a2
140 Risk Score

Malware Insights

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

The file is an Excel document containing Excel 4.0 macros, indicated by the OLE_XLM_AUTOOPEN and OLE_XLM_DANGEROUS_FN heuristics. The Auto_Open macro is configured to execute dangerous functions, including 'RUN', suggesting it is designed to download and execute a second-stage payload. No specific family could be identified, and no direct IOCs like URLs or hashes were extracted from the macro content.

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) 6429 bytes
SHA-256: 8a455097ed2a9e1ee54fce03b7dad070abdbef200be3f9bd56903a7951cdcdd3
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     12 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  FWP
' 0018     24 LABEL : Cell Value, String Constant - AsHmStBgZ len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G158 
' 0018     25 LABEL : Cell Value, String Constant - CMOJyoGHfU len=0 
' 0018     23 LABEL : Cell Value, String Constant - dpESuJrm len=0 
' 0018     23 LABEL : Cell Value, String Constant - ewNaHXhX len=0 
' 0018     27 LABEL : Cell Value, String Constant - GdeZFADSDpwv len=0 
' 0018     26 LABEL : Cell Value, String Constant - gRmVFBNmbID len=0 
' 0018     23 LABEL : Cell Value, String Constant - GUPUZBuF len=0 
' 0018     22 LABEL : Cell Value, String Constant - jPzSBRo len=0 
' 0018     25 LABEL : Cell Value, String Constant - KcMDNUmUap len=0 
' 0018     25 LABEL : Cell Value, String Constant - KZSrOxpgKl len=0 
' 0018     21 LABEL : Cell Value, String Constant - MAKfNu len=0 
' 0018     24 LABEL : Cell Value, String Constant - ruXqOpVKb len=0 
' 0018     25 LABEL : Cell Value, String Constant - rwajdAeEqT len=0 
' 0018     20 LABEL : Cell Value, String Constant - sVZiu len=0 
' 0018     24 LABEL : Cell Value, String Constant - TCbDoPTLB len=0 
' 0018     21 LABEL : Cell Value, String Constant - URtYfK len=0 
' 0018     21 LABEL : Cell Value, String Constant - wpmSFT len=0 
' 0018     22 LABEL : Cell Value, String Constant - yprWpDN len=0 
' 0018     27 LABEL : Cell Value, String Constant - ZcxHaoMoTMvb len=0 
' 0018     20 LABEL : Cell Value, String Constant - ZjruB 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     10 L
... (truncated)