Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 9175ef98449b28fa…

MALICIOUS

Office (OLE)

172.5 KB Created: 2020-07-22 16:09:41 Authoring application: Microsoft Excel First seen: 2020-09-15
MD5: b47e19a711002e6e956e4556af540110 SHA-1: 27158c70e2c7ee77be88dcb45ada8df42be254b4 SHA-256: 9175ef98449b28fa34ffc5aceace8e9a768754e6959c1c21b6ebc9f2c4dc9f63
160 Risk Score

Malware Insights

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

The sample is an Excel 4.0 macro-enabled document that uses a lure to prompt the user to enable macros. Upon enabling, the Auto_Open macro executes a formula that constructs and likely downloads a payload from the URL 'http://indexC.cPymAIZLjfoVl,DRgsrSvONwTFAJEuKGByHqQYmk'. The use of XLM macros and the lure are indicative of a downloader.

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.
  • 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

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) 95094 bytes
SHA-256: d2ef07b42369e969d5c727fd2213aba42dddc861f14eb52a7be61afe069510e7
Preview script
First 1,000 lines of the extracted script
' 0085     10 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  v
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0018     62 LABEL : Cell Value, String Constant - afsEYlZLmJIjRiUYyZkewtQlLDyKbqMzJgbFHnHNVKpyzxD len=0 
' 0018     24 LABEL : Cell Value, String Constant - aFSRhknfE len=0 
' 0018     22 LABEL : Cell Value, String Constant - agcoGUc len=0 
' 0018     26 LABEL : Cell Value, String Constant - agnSfeuyBsS len=0 
' 0018     20 LABEL : Cell Value, String Constant - aGPQO len=0 
' 0018     47 LABEL : Cell Value, String Constant - ajHnRhOUnvkQMMLPBtBfGrILOGeImWSH len=0 
' 0018     44 LABEL : Cell Value, String Constant - aKVbXizOWXhFzdeLSksiOJKINyFMd len=0 
' 0018     39 LABEL : Cell Value, String Constant - aNRqRcWolIeDuqDTiErBYTwy len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  v!FC39637 
' 0018     42 LABEL : Cell Value, String Constant - aWFSrsTcoQkPnGfGRLdMjTdjfrI len=0 
' 0018     49 LABEL : Cell Value, String Constant - aYHuPGwLVEDqqSamPiOmEQECvOwTDNTPbs len=0 
' 0018     49 LABEL : Cell Value, String Constant - aZdPVdtUTjZcUsWBygVpfWkuddQRrBNoJn len=0 
' 0018     63 LABEL : Cell Value, String Constant - bdmKrUkRXqynUPPOTEwEiJuLORJhLpZVKeVMZjSSGrTpCQxP len=0 
' 0018     45 LABEL : Cell Value, String Constant - beVuXDBiXrhYmwffSStCPqLpOfrgdX len=0 
' 0018     62 LABEL : Cell Value, String Constant - BFfTQKcawSqwsFIWstDNIlBTnHBqWfgejUNUyMLbehZyNGq len=0 
' 0018     48 LABEL : Cell Value, String Constant - BGDOfgCDMkRuKqwQYOtopnsdWeIjUkoqi len=0 
' 0018     61 LABEL : Cell Value, String Constant - BlgVpgXkvedRDeBNbJaMQqecWolIeDIFQTiEFOYTwMfySN len=0 
' 0018     44 LABEL : Cell Value, String Constant - bmgyhEnyFBMdszBLidHJovPXMrnnl len=0 
' 0018     64 LABEL : Cell Value, String Constant - BNNcgjbzPIrZcwZdrCXkXKlIGiQhTXwXicurPkJBxJaoKxHfa len=0 
' 0018     42 LABEL : Cell Value, String Constant - BOLtHggIQdFZEctUuGzSBXHSYUf len=0 
' 0018     20 LABEL : Cell Value, String Constant - bqMNX len=0 
' 0018     28 LABEL : Cell Value, String Constant - brhkbBdJGocxn len=0 
' 0018     39 LABEL : Cell Value, String Constant - bRIWgPPCoQmyNuMxCbQNHZWt len=0 
' 0018     58 LABEL : Cell Value, String Constant - bSrHzjRUoRVjtPcPCcyxaIZLPoPaUmjGcBsoBSgCpyX len=0 
' 0018     29 LABEL : Cell Value, String Constant - BukQYZXcOHOsFF len=0 
' 0018     27 LABEL : Cell Value, String Constant - bWMrzByEpipT len=0 
' 0018     60 LABEL : Cell Value, String Constant - bXjzPWYhFzdfMSltiOKKJOyGNdEDTJMEcGkiQFZQGUeNN len=0 
' 0018     41 LABEL : Cell Value, String Constant - bXMgWNblUUHtVqESzRDHgVSMeb len=0 
' 0018     42 LABEL : Cell Value, String Constant - bYjmCXYhrmQfySlgVBKLJOyrzdq len=0 
' 0018     47 LABEL : Cell Value, String Constant - bYuRphdpGVqenLGjlSlrzoUdechFLTwK len=0 
' 0018     39 LABEL : Cell Value, String Constant - CCooQYlNhMkDODztMJgQagco len=0 
' 0018     38 LABEL : Cell Value, String Constant - cdyzJhOrHntNVLqlmkpaTbF len=0 
' 0018     44 LABEL : Cell Value, String Constant - cIRRQVryGkxwNQTLjyrbKMgJObYHU len=0 
' 0018     38 LABEL : Cell Value, String Constant - CJnBzQTWOmCueNPjMRebKXw len=0 
' 0018     49 LABEL : Cell Value, String Constant - CNetPDMjeIKqKQYNsCDBGdjqVihxCEvVkc len=0 
' 0018     47 LABEL : Cell Value, String Constant - cNUbrSRhXaSqUyweTneVisbbPPpyLnHm len=0 
' 0018     33 LABEL : Cell Value, String Constant - COffBDMjRuKqwQYOto len=0 
' 0018     52 LABEL : Cell Value, String Constant - CpcDZYzhylpPpBuNKgDbTPbrHcQZwrVXEYdla len=0 
' 0018     63 LABEL : Cell Value, String Constant - CpLBrGQyyllNViKdJhyLzwqJGcMXdZkCDYZjHnRhNUnvkQMM len=0 
' 0018     56 LABEL : Cell Value, String Constant - CSWZQpSxhdSmcThraaNzawKYGXJNmbYSkhEayFBMQ len=0 
' 0018     36 LABEL : Cell Value, String Constant - cSxHHGKvovammCGJBZohR len=0 
' 0018     30 LABEL : Cell Value, String Constant - CWbjZFOOMRovDht len=0 
' 0018     43 LABEL : Cell Value, String Constant - cWolIdCIEQTiEFOYTwMeySMChqrp len=0 
' 0018     42 LABEL : Cell Value, String Constant - CxguTUuEQsMqPhHhsmFnLuFLHTj len=0 
' 0018     64 LABEL : Cell V
... (truncated)