Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 02d912ef62de17aa…

MALICIOUS

Office (OLE)

438.5 KB Created: 2014-09-10 08:02:04 Authoring application: Microsoft Excel First seen: 2020-09-24
MD5: 64fb635274444f8118b8bd95db87dc86 SHA-1: 7c74232a5d69e6ed98f9c17e278cc2d75a804f6f SHA-256: 02d912ef62de17aacdf146f5fda9de9eddc31e66955f68cd570fbbfc314cf393
200 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution

The file contains legacy Excel 4.0 (XLM) macros, indicated by multiple critical heuristic firings including OLE_XLM_AUTOOPEN and OLE_XLM_DANGEROUS_FN. The macros utilize dangerous functions such as RUN, suggesting an intent to execute arbitrary code. The presence of strings like 'Classic.Poppy by VicodinES' and 'The Narkotic Network 1998' points to known malware families, though a specific family could not be definitively identified. The macro also attempts to write to the Book1.xls file in the xlstart directory, a common technique for persistence.

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.
  • 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.
  • Legacy Excel formula macro virus marker critical OLE_XLS_FORMULA_MACRO_VIRUS
    Workbook stream contains self-identifying legacy Excel formula macro virus markers. This indicates the document carries formula macro virus content even when no VBA project or modern XLM macro-sheet structure is present.
  • 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) 490402 bytes
SHA-256: d2fd01c61d14a54e8d8213561dce4fe5aede6d957189749310641c9bb552ec3d
Preview script
First 1,000 lines of the extracted script
' 0085     10 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  c
' 0085     10 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  M
' 0085     10 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  C
' 0085     10 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  C
' 0085     10 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  L
' 0085     10 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  L
' 0085     10 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  L
' 0085     10 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  L
' 0085     10 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  L
' 0085     10 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  L
' 0085     22 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  L á   
' 0085     10 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  n
' 0085     26 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  B ¢ N G 
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  SDD.T
' 0085     10 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  M
' 0085     10 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  1
' 0085     10 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  1
' 0085     10 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  1
' 0085      9 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  
' 0085      9 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  
' 0085      9 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  
' 0085      9 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  
' 0085      9 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  
' 0085     16 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, hidden -  XL4Popp
' 0018     31 LABEL : Cell Value, String Constant - _Fill hidden len=11 ptgArea3d  *INCOMPLETE FORMULA PARSING* Remaining, unparsed expression: b'\x0c\x00\x03\x008\x00\x00\x00\x00\x00'
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 2 Auto_Close len=7 ptgRef3d  SDD.T!C4 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  SDD.T!C4 
' 0018     26 LABEL : Cell Value, String Constant - Bust len=7 ptgRef3d  SDD.T!C31 
' 0018     29 LABEL : Cell Value, String Constant - cap len=11 ptgArea3d  *INCOMPLETE FORMULA PARSING* Remaining, unparsed expression: b'\x07\x00\xdf\x00\xdf\x00\x01\x00\x08\x00'
' 0018     28 LABEL : Cell Value, String Constant - cap0.7 len=7 ptgRef3d  c!G20 
' 0018     24 LABEL : Cell Value, String Constant - CL len=7 ptgRef3d  L!D77 
' 0018     30 LABEL : Cell Value, String Constant - Continue len=7 ptgRef3d  SDD.T!C9 
' 0018     30 LABEL : Cell Value, String Constant - ctdn9697 len=7 ptgRef3d  L!D511 
' 0018     29 LABEL : Cell Value, String Constant - dao len=11 ptgArea3d  *INCOMPLETE FORMULA PARSING* Remaining, unparsed expression: b'\x08\x00\x1c\x00\x1c\x00\x01\x00\x07\x00'
' 0018     30 LABEL : Cell Value, String Constant - dao1 len=11 ptgArea3d  *INCOMPLETE FORMULA PARSING* Remaining, unparsed expression: b'\x08\x00\x9e\x00\x9e\x00\x01\x00\x07\x00'
' 0018     30 LABEL : Cell Value, String Constant - dao1 len=11 ptgArea3d  *INCOMPLETE FORMULA PARSING* Remaining, unparsed expression: b'\x05\x00\xbc\x00\xbc\x00\x01\x00\x07\x00'
' 0018     30 LABEL : Cell Value, String Constant - dao2 len=11 ptgArea3d  *INCOMPLETE FORMULA PARSING* Remaining, unparsed expression: b'\x05\x00\xa0\x00\xa0\x00\x01\x00\x07\x00'
' 0018     31 LABEL : Cell Value, String Constant - daotd len=11 ptgArea3d  *INCOMPLETE FORMULA PARSING* Remaining, unparsed expression: b'\x05\x00B\x01B\x01\x01\x00\x07\x00'
' 0018     29 LABEL : Cell Value, String Constant - dap len=11 ptgArea3d  *INCOMPLETE FORMULA PARSING* Remaining,
... (truncated)