Malicious Office (OLE) / .XLS — malware analysis report

Static analysis result for SHA-256 5e52fe777992be8c…

MALICIOUS

Office (OLE) / .XLS

367.5 KB Created: 2006-09-16 00:00:00 Authoring application: Microsoft Excel
MD5: 0d02f5578e596979dabcfdc67e8cb019 SHA-1: 6bd5cba493115dd3b2a3d3e14afd8e93807c40b6 SHA-256: 5e52fe777992be8c63b232441ae568b1926e57f5b18b72d2961eadd384de585b
102 Risk Score

Malware Insights

MITRE ATT&CK
T1566.001 Spearphishing Attachment T1059.005 Visual Basic T1204.002 Malicious File

The sample is an Excel 4.0 (XLM) macro-enabled spreadsheet that contains an Auto_Open macro. It also includes a lure to trick the user into enabling macros. The extracted URLs are likely used to download and execute a second-stage payload.

Heuristics 4

  • 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.
  • 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.
  • Macro/content-enable lure medium SE_ENABLE_LURE
    Document instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL https://smartpalakatva.com/edQsUZOLlE/th.html In document text (OLE body)
    • https://pilstlcommodities.com/Ov4FlB3lpy/th.htmlIn document text (OLE body)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_macros.txt
e61304013e31eadd8bf35fc5d3e6cbadd61463966f2a2d09ae24f65eb0ee3106
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 8349 bytes
Preview script
First 1,000 lines of the extracted script
' 0085     11 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible - Doc1
' 0085     11 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible - Doc2
' 0085     11 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible - Doc3
' 0085     11 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible - Doc4
' 0085     11 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible - Doc5
' 0018     31 LABEL : Cell Value, String Constant - _xlfn.AGGREGATE hidden len=2 ptgErr  *INCOMPLETE FORMULA PARSING* Remaining, unparsed expression: b'\x1d'
' 0018     30 LABEL : Cell Value, String Constant - _xlfn.F.INV.RT hidden len=2 ptgErr  *INCOMPLETE FORMULA PARSING* Remaining, unparsed expression: b'\x1d'
' 0018     33 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=18 ptgRef3d 65535!A1 *UNKNOWN TOKEN* 0x0000 *INCOMPLETE FORMULA PARSING* Remaining, unparsed expression: b'\x00\x01\x00\x04\x00\x04\x00\x06\x00,'
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' 0204     19 LABEL : Cell Value, String Constant
' 0204     19 LABEL : Cell Value, String Constant
' 0204      9 LABEL : Cell Value, String Constant
' 0204     10 LABEL : Cell Value, String Constant
' 0204     11 LABEL : Cell Value, String Constant
' 0204      9 LABEL : Cell Value, String Constant
' 0204     10 LABEL : Cell Value, String Constant
' 0204     11 LABEL : Cell Value, String Constant
' 0204     11 LABEL : Cell Value, String Constant
' 0204     10 LABEL : Cell Value, String Constant
' 0204     12 LABEL : Cell Value, String Constant
' 0204     11 LABEL : Cell Value, String Constant
' 0204     11 LABEL : Cell Value, String Constant
' 0204     12 LABEL : Cell Value, String Constant
' 0204      9 LABEL : Cell Value, String Constant
' 0204     11 LABEL : Cell Value, String Constant
' 0204     10 LABEL : Cell Value, String Constant
' 0204     14 LABEL : Cell Value, String Constant
' 0204     28 LABEL : Cell Value, String Constant
' 0204     25 LABEL : Cell Value, String Constant
' 0204     10 LABEL : Cell Value, String Constant
' 0204     14 LABEL : Cell Value, String Constant
' 0204     27 LABEL : Cell Value, String Constant
' 0204     29 LABEL : Cell Value, String Constant
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' Sheet,Reference,Formula,Value
' Doc2,BJ15,65535!A1,""
' Doc3,BY23,HALT(),""
' Doc3,CF26,"",0.00000000000000000000
' Doc3,CB30,"",3.00000000000000000000
' Doc4,BM8,"['MDETERM(56241452475.00000000000000000000)', '65535!A1']",""
' Doc5,BS12,"['*STACKERROR* not enough arguments for function: RAND=FACT(59)=RAND(452354.00000000000000000000=SUMXMY2(45245))=FACT(59)=RAND(452354.00000000000000000000=SUMXMY2(45245))=FACT(59)=RAND(452354.00000000000000000000=SUMXMY2(45245))=FACT(59)=RAND(452354.00000000000000000000=SUMXMY2(45245))=FACT(59)=RAND(452354.00000000000000000000=SUMXMY2(45245))=FACT(59)=RAND(452354.00000000000000000000=SUMXMY2(45245))=FACT(59)=RAND(452354.00000000000000000000=SUMXMY2(45245))=FACT(59)=RAND(452354.00000000000000000000=SUMXMY2(45245))=FACT(59)=RAND(452354.00000000000000000000=SUMXMY2(45245))=FACT(59)=RAND(452354.00000000000000000000=SUMXMY2(45245))=FACT(59)=RAND(452354.00000000000000000000=SUMXMY2(45245))=FACT(59)=RAND(452354.00000000000000000000=SUMXMY2(45245))=FACT(59)=RAND(452354.00000000000000000000=SUMXMY2(45245))=FACT(59)=RAND(452354.00000000000000000000=SUMXMY2(45245))=FACT(59)=RAND(452354.00000000000000000000=SUMXMY2(45245))=FACT(59)=RAND(452354.00000000000000000000=SUMXMY2(45245))=FACT(59)=RAND(452354.00000000000000000000=SUMXMY2(45245))=FACT(59)', '452354.00000000000000000000=SUMXMY2(45245)', '65534!A1']",""
' Doc5,BS16,"['*STACKERROR* not enough arguments for function: RAND=FACT(59)=RAND(452354.00000000000000000000=SUMXMY2(45245))=FACT(59)=RAND(452354.00000000000000000000=SUMXMY2(45245))=FACT(59)=RAND(452354.00000000000000000000=SUMXMY2(45245))=FACT(59)=RAND(452354.00000000000000000000=SUMXMY2(45245))=FACT
... (truncated)