Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 23c04fe08bd18d63…

MALICIOUS

Office (OLE)

472.0 KB Created: 2020-07-06 13:59:41 Authoring application: Microsoft Excel First seen: 2020-09-24
MD5: 9a795b2010e83ac940fab1c81a7f6db5 SHA-1: 720eb06925f3b4109f250ac7ad69d5e49e301102 SHA-256: 23c04fe08bd18d6309e03e6ca11491f829340d73f0ea893c4fafeb697005210a
280 Risk Score

Malware Insights

MITRE ATT&CK
T1566.001 Spearphishing Attachment T1059.005 Visual Basic T1203 Exploitation for Client Execution

The file is an Excel 4.0 macro-enabled workbook containing an Auto_Open macro, which is a known technique for executing malicious code upon opening. Heuristics indicate the presence of dangerous API calls and environment evasion techniques within the macro. The document body contains a lure instructing the user to 'enable editing and content', a common tactic to bypass security warnings and allow macro execution, which would likely lead to the download and execution of a second-stage payload.

Heuristics 6

  • ClamAV: Xls.Dropper.Agent-8803209-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Dropper.Agent-8803209-0
  • 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.
  • XLM Auto_Open environment-evasion close gate critical OLE_XLM_ENVIRONMENT_EVASION_CLOSE
    Excel 4.0 macro sheet auto-executes environment checks with GET.WORKSPACE / GET.WINDOW, then shows a fake corruption/error message and closes the workbook when the host fails those checks. This is a malware sandbox-evasion pattern, even when the later payload stage is hidden behind obfuscated defined-name flow.
  • 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 xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 127409 bytes
SHA-256: 6d750ba5cafb6823e3ca79c735f4b5d39c2feb5aaae65a43e080617d0b8fa0a8
Preview script
First 1,000 lines of the extracted script
' 0085     27 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, hidden -  MIvRHxMWFFreFboDkC
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, hidden -  Sheet
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, hidden -  Sheet
' 0085     23 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, hidden -  iDIQGluutyVcjO
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, hidden -  Sheet
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, hidden -  Sheet
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0018     24 LABEL : Cell Value, String Constant - aaqtwoNcV len=0 
' 0018     24 LABEL : Cell Value, String Constant - adVtJClUW len=0 
' 0018     22 LABEL : Cell Value, String Constant - aFokZtj len=0 
' 0018     23 LABEL : Cell Value, String Constant - aoyhhUHi len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  MIvRHxMWFFreFboDkC!CW22758 
' 0018     21 LABEL : Cell Value, String Constant - bMGNqS len=0 
' 0018     23 LABEL : Cell Value, String Constant - bquxoOqW len=0 
' 0018     23 LABEL : Cell Value, String Constant - bSfpYYMM len=0 
' 0018     20 LABEL : Cell Value, String Constant - CDMjR len=0 
' 0018     21 LABEL : Cell Value, String Constant - cxLxkM len=0 
' 0018     20 LABEL : Cell Value, String Constant - dJhyY len=0 
' 0018     22 LABEL : Cell Value, String Constant - dkrVihx len=0 
' 0018     23 LABEL : Cell Value, String Constant - DMkRuKqw len=0 
' 0018     23 LABEL : Cell Value, String Constant - dveClvCx len=0 
' 0018     23 LABEL : Cell Value, String Constant - EeFQKcZv len=0 
' 0018     24 LABEL : Cell Value, String Constant - ErrSbnQjP len=0 
' 0018     21 LABEL : Cell Value, String Constant - EtZUVT len=0 
' 0018     22 LABEL : Cell Value, String Constant - FgoCdwc len=0 
' 0018     23 LABEL : Cell Value, String Constant - FIzYngQx len=0 
' 0018     22 LABEL : Cell Value, String Constant - FmpKmqF len=0 
' 0018     22 LABEL : Cell Value, String Constant - FRfNeQU len=0 
' 0018     24 LABEL : Cell Value, String Constant - GBetNhzuj len=0 
' 0018     22 LABEL : Cell Value, String Constant - GCqLBrG len=0 
' 0018     20 LABEL : Cell Value, String Constant - gOfRV len=0 
' 0018     24 LABEL : Cell Value, String Constant - GpBGDOfgC len=0 
' 0018     20 LABEL : Cell Value, String Constant - GYxYj len=0 
' 0018     24 LABEL : Cell Value, String Constant - hHHiqEfze len=0 
' 0018     20 LABEL : Cell Value, String Constant - HKCap len=0 
' 0018     24 LABEL : Cell Value, String Constant - HMwELbCCR len=0 
' 0018     24 LABEL : Cell Value, String Constant - HNUlMLbRU len=0 
' 0018     23 LABEL : Cell Value, String Constant - HwclljoM len=0 
' 0018     20 LABEL : Cell Value, String Constant - idHWp len=0 
' 0018     21 LABEL : Cell Value, String Constant - ipwNon len=0 
' 0018     23 LABEL : Cell Value, String Constant - iSzDXzES len=0 
' 0018     20 LABEL : Cell Value, String Constant - jBmqR len=0 
' 0018     24 LABEL : Cell Value, String Constant - JcXMrBCzF len=0 
' 0018     24 LABEL : Cell Value, String Constant - jGpzGCOff len=0 
' 0018     21 LABEL : Cell Value, String Constant - JQuIHX len=0 
' 0018     23 LABEL : Cell Value, String Constant - KcocaUmj len=0 
' 0018     20 LABEL : Cell Value, String Constant - kOPvD len=0 
' 0018     23 LABEL : Cell Value, String Constant - KQjrhNII len=0 
' 0018     21 LABEL : Cell Value, String Constant - llNVhK len=0 
' 0018     24 LABEL : Cell Value, String Constant - LQYNsCDBG len=0 
' 0018     21 LABEL : Cell Value, String Constant - lwqJrP len=0 
' 0018     20 LABEL : Cell Value, String Constant - lzhyk len=0 
' 0018     21 LABEL : Cell Value, String Constant - LZjSSF len=0 
' 0018     24 LABEL : Cell Value, String Constant - mFRFCvOMi len=0 
' 0018     23 LABEL : Cell Value, String Constant - MkOsqYNh len=0 
' 0018     20 LABEL : Cell Value, String Constant - mVJeU len=0 
' 0018     23 LABEL : Cell Value, String Constant - NHOrFEUY len=0 
' 0018     20 LABEL : Cell Value,
... (truncated)