Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 9dfcf34debbc0d3a…

MALICIOUS

Office (OLE)

358.5 KB Created: 2020-07-10 10:41:45 Authoring application: Microsoft Excel First seen: 2020-09-07
MD5: 5bf1da78e0e5ea4df55e2666aaa21e98 SHA-1: 7d6ba945a67883fb70ed909abb78c8e2af518f80 SHA-256: 9dfcf34debbc0d3a1315eb4be5a12592266434e2201ffcaff114da180672c7a4
182 Risk Score

Malware Insights

MITRE ATT&CK
T1566.001 Spearphishing Attachment T1059.005 Visual Basic T1203 Exploitation for Client Execution

The sample is an Excel 4.0 macro sheet that uses an Auto_Open macro to execute dangerous functions. It also contains a lure to enable macros, impersonating a document signing service. The XLM macro sheet likely contains code to download and execute a second-stage payload, although the specific URL is obfuscated within the macro content.

Heuristics 6

  • 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
  • Document signing service impersonation lure medium SE_DOCUSIGN_LURE
    Document impersonates DocuSign, Adobe Sign, or a similar signing service in a signing-request context
  • 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 http://www.w3.org/1999/02/22-rdf-syntax-ns# In document text (OLE body)
    • http://ns.adobe.com/xap/1.0/mm/In document text (OLE body)
    • http://ns.adobe.com/xap/1.0/sType/ResourceRef#In document text (OLE body)
    • http://ns.adobe.com/xap/1.0/In document text (OLE body)

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) 109626 bytes
SHA-256: e9aa1f0c36def26b1fd00a2e4e7024cb5bcc00f44c8d8d41f9a574284071ad75
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, very hidden -  Sheet
' 0085     11 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  ea
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0018     21 LABEL : Cell Value, String Constant - aapfia len=0 
' 0018     59 LABEL : Cell Value, String Constant - aBMGYHeOYeamDSZbkIDgiPVowlRNNMRCJQgHGWMPHfJn len=0 
' 0018     34 LABEL : Cell Value, String Constant - abZePJQtHGWadUtJClT len=0 
' 0018     24 LABEL : Cell Value, String Constant - aDHVRzOnn len=0 
' 0018     62 LABEL : Cell Value, String Constant - ahBIxdYZXcOHOsTFUYbSrUzjfUoeVjtccPCcyMaIZLPodaU len=0 
' 0018     33 LABEL : Cell Value, String Constant - ahXDyywCntBSsrIxBs len=0 
' 0018     22 LABEL : Cell Value, String Constant - alfxuRn len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!N40153 
' 0018     18 LABEL : Cell Value, String Constant - aVW len=0 
' 0018     40 LABEL : Cell Value, String Constant - aXueouqDTUprBYGjyflFNDidd len=0 
' 0018     41 LABEL : Cell Value, String Constant - BbkwZsYvOaOLFXVrblrnzRRnox len=0 
' 0018     53 LABEL : Cell Value, String Constant - BBzFpipUugwzDuTwbLHvQGwLVEEqdFbnCjBmqR len=0 
' 0018     41 LABEL : Cell Value, String Constant - bcafQXeuVVkbdVuXCzhWqhYlwf len=0 
' 0018     59 LABEL : Cell Value, String Constant - BCXYiGmQgNTmujPLLJOzszeFqGKNFdHlVRGaQHVfOOBn len=0 
' 0018     29 LABEL : Cell Value, String Constant - bdKejrhNWWVZwE len=0 
' 0018     27 LABEL : Cell Value, String Constant - BEvUxcMIwRIy len=0 
' 0018     25 LABEL : Cell Value, String Constant - BFHyYBfQMz len=0 
' 0018     42 LABEL : Cell Value, String Constant - BgpqoteXeJWVlprjJXQBikFhmzL len=0 
' 0018     24 LABEL : Cell Value, String Constant - BGqjqVvhx len=0 
' 0018     51 LABEL : Cell Value, String Constant - BhCHPFkttsxUbiNaZpsvnMbUEloJlpEBjwWW len=0 
' 0018     55 LABEL : Cell Value, String Constant - BkgVpgXkuddRDeBNbJaMQqebVnlIdCIEQThEFOYT len=0 
' 0018     26 LABEL : Cell Value, String Constant - BLRNZqFNOXu len=0 
' 0018     42 LABEL : Cell Value, String Constant - bpXoaeFsqkDzWsRWTehwSTcmhLa len=0 
' 0018     55 LABEL : Cell Value, String Constant - BQIsacxaesoXlKLluHjDhGYxYjdveClvCxKapwyI len=0 
' 0018     22 LABEL : Cell Value, String Constant - BQlmwGB len=0 
' 0018     33 LABEL : Cell Value, String Constant - bqMNXgbFUnHaVKpyzx len=0 
' 0018     44 LABEL : Cell Value, String Constant - bqMzJgbFHnHNVKpyzxDagnSfeuyBs len=0 
' 0018     46 LABEL : Cell Value, String Constant - bseiIwtnGDavUaWilzVXgqlOewRkeUz len=0 
' 0018     59 LABEL : Cell Value, String Constant - BukQZZYdOHOsGFVYbTrHzjSUoRVjtPcPCdzxaIZLPpPa len=0 
' 0018     31 LABEL : Cell Value, String Constant - BxUqPVRcguQRbkfJ len=0 
' 0018     54 LABEL : Cell Value, String Constant - BzQGJBZDhfNCWNERbKKxxYhtWpVsLXLICUSoYio len=0 
' 0018     26 LABEL : Cell Value, String Constant - cbfRKRvIIXb len=0 
' 0018     40 LABEL : Cell Value, String Constant - CDBGqxFVwvMCEvVxcaJwSIyNX len=0 
' 0018     64 LABEL : Cell Value, String Constant - CDjqJRHmhiglXdkCcbrhkbBdJHodxnesDllYYzIVwRvUlxmjd len=0 
' 0018     43 LABEL : Cell Value, String Constant - CdzMaIZMQpdbVnkHdCIEPShDEOXS len=0 
' 0018     27 LABEL : Cell Value, String Constant - cenxsWlEYrlb len=0 
' 0018     19 LABEL : Cell Value, String Constant - cFJX len=0 
' 0018     26 LABEL : Cell Value, String Constant - CFwVkdNvxSu len=0 
' 0018     31 LABEL : Cell Value, String Constant - CHrkrWjiyDFwWldO len=0 
' 0018     23 LABEL : Cell Value, String Constant - cJaNRqRc len=0 
' 0018     56 LABEL : Cell Value, String Constant - CjlHjnCMguhUuRQsZqdhHhsmFCYuTLHTjyUIRojNP len=0 
' 0018     32 LABEL : Cell Value, String Constant - CJnOzPTWOmQueaPjZ len=0 
' 0018     42 LABEL : Cell Value, String Constant - CJZBzQGJzZCheNBWMDRbKKwwYgt len=0 
' 0018     30 LABEL : Cell Value, String Constant - CRYajHCfhOUnvlR len=0 
' 0018     43 LABEL : Cell Value, String Constant - CSILCbEjhPEYOFTdMMyyaivXrWuM len=0 
' 0018     47 LABEL : Cell Value, String Constant - cswzqQsYIErN
... (truncated)