Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 3b2562b3b5b652f3…

MALICIOUS

Office (OLE)

117.0 KB Created: 2010-01-05 04:03:59 Authoring application: Microsoft Excel First seen: 2020-07-24
MD5: f35597edf12c46c73a7204abc0920465 SHA-1: 7c24b47b1b85a54da2af374ee81a55d244bba7b2 SHA-256: 3b2562b3b5b652f318d05e2f57f48986eecd5a5177269641fddc5c5fe13a75dd
140 Risk Score

Malware Insights

MITRE ATT&CK
T1566.001 Spearphishing Attachment T1059.005 Visual Basic

The sample is an Excel 4.0 macro sheet that uses an Auto_Open function to execute potentially dangerous formulas. The document body text is a lure to trick the user into enabling macros, which would then trigger the malicious XLM code. No specific IOCs like URLs or hashes were extracted from the macro itself.

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) 54831 bytes
SHA-256: 04e88ffe81adaf2bd4968e3d2c5c07616071d1cc9567b7c383135c93131e3c8d
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     26 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  tuikd58A23SsexERS
' 0018     21 LABEL : Cell Value, String Constant - aDzrmA len=0 
' 0018     21 LABEL : Cell Value, String Constant - aGvrVN len=0 
' 0018     19 LABEL : Cell Value, String Constant - atTj len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open hidden len=7 ptgRef3d  Sheet!BP60024 
' 0018     20 LABEL : Cell Value, String Constant - AZMXn len=0 
' 0018     21 LABEL : Cell Value, String Constant - bACkQb len=0 
' 0018     20 LABEL : Cell Value, String Constant - BepZN len=0 
' 0018     18 LABEL : Cell Value, String Constant - Btn len=0 
' 0018     19 LABEL : Cell Value, String Constant - bwEJ len=0 
' 0018     19 LABEL : Cell Value, String Constant - bXAN len=0 
' 0018     20 LABEL : Cell Value, String Constant - DBtng len=0 
' 0018     21 LABEL : Cell Value, String Constant - ddPOtP len=0 
' 0018     21 LABEL : Cell Value, String Constant - dqLwRf len=0 
' 0018     20 LABEL : Cell Value, String Constant - eCMxG len=0 
' 0018     19 LABEL : Cell Value, String Constant - EKzo len=0 
' 0018     34 LABEL : Cell Value, String Constant -          hidden len=11 ptgArea3d  *INCOMPLETE FORMULA PARSING* Remaining, unparsed expression: b'\x00\x00\x96\x15\xc1\x15\x8d\x00\x8d\x00'
' 0018     20 LABEL : Cell Value, String Constant - EOhsH len=0 
' 0018     18 LABEL : Cell Value, String Constant - Ezp len=0 
' 0018     21 LABEL : Cell Value, String Constant - FUXyri len=0 
' 0018     20 LABEL : Cell Value, String Constant - FWoIP len=0 
' 0018     21 LABEL : Cell Value, String Constant - gbeEIs len=0 
' 0018     19 LABEL : Cell Value, String Constant - gfYY len=0 
' 0018     21 LABEL : Cell Value, String Constant - GMtEOS len=0 
' 0018     21 LABEL : Cell Value, String Constant - GqHUbw len=0 
' 0018     18 LABEL : Cell Value, String Constant - hab len=0 
' 0018     18 LABEL : Cell Value, String Constant - Hbe len=0 
' 0018     21 LABEL : Cell Value, String Constant - hEAdqc len=0 
' 0018     18 LABEL : Cell Value, String Constant - hEl len=0 
' 0018     21 LABEL : Cell Value, String Constant - hGNhgK len=0 
' 0018     19 LABEL : Cell Value, String Constant - hVoe len=0 
' 0018     18 LABEL : Cell Value, String Constant - IGU len=0 
' 0018     21 LABEL : Cell Value, String Constant - IIaukE len=0 
' 0018     18 LABEL : Cell Value, String Constant - Ino len=0 
' 0018     29 LABEL : Cell Value, String Constant - jaGjPlH hidden len=7 ptgRef3d  Sheet!BP60024 
' 0018     21 LABEL : Cell Value, String Constant - jYDDow len=0 
' 0018     18 LABEL : Cell Value, String Constant - KDg len=0 
' 0018     20 LABEL : Cell Value, String Constant - LKAaM len=0 
' 0018     19 LABEL : Cell Value, String Constant - lzlo len=0 
' 0018     21 LABEL : Cell Value, String Constant - mBxEqy len=0 
' 0018     19 LABEL : Cell Value, String Constant - mdzr len=0 
' 0018     19 LABEL : Cell Value, String Constant - MEvR len=0 
' 0018     20 LABEL : Cell Value, String Constant - mMDmL len=0 
' 0018     18 LABEL : Cell Value, String Constant - NHD len=0 
' 0018     18 LABEL : Cell Value, String Constant - NvC len=0 
' 0018     19 LABEL : Cell Value, String Constant - nyZB len=0 
' 0018     32 LABEL : Cell Value, String Constant -        hidden len=11 ptgArea3d  *INCOMPLETE FORMULA PARSING* Remaining, unparsed expression: b'\x00\x00S\x05\xa3\x05\xd0\x00\xd0\x00'
' 0018     18 LABEL : Cell Value, String Constant - OeU len=0 
' 0018     18 LABEL : Cell Value, String Constant - OKH len=0 
' 0018     20 LABEL : Cell Value, String Constant - OZYlP len=0 
' 0018     21 LABEL : Cell Value, String Constant - pdiPgK len=0 
' 0018     20 LABEL : Cell Value, String Constant - PUOJP len=0 
' 0018     21 LABEL : Cell Value, String Constant - pYxLTG len=0 
' 0018     19 LABEL : Cell Value, String Constant - qDDi len=0 
' 0018     18 LABEL : Cell Value, String Constant - qDv len=0 
' 0018     20 LABEL : Cell Value, String Constant - QeUZx len=0 
' 0018     18 LABEL :
... (truncated)