Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 1551a1a4a4319a23…

MALICIOUS

Office (OLE)

339.5 KB Created: 2020-07-10 10:41:45 Authoring application: Microsoft Excel First seen: 2020-09-07
MD5: 0542b49789a29096c1939caeb4ccdff7 SHA-1: 4e77f1acf609a33ec82d81fb39bf9789023bacb6 SHA-256: 1551a1a4a4319a2314e12041d7216896fc2cd350aa65b9f8b5a4dd1581877767
182 Risk Score

Malware Insights

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

The sample contains Excel 4.0 macros with an Auto_Open entry, indicating it will execute automatically when the workbook is opened. The heuristics also indicate a lure to enable macros and impersonation of a signing service like DocuSign. The macro code itself is heavily obfuscated, but the presence of dangerous API calls like RUN suggests it is designed to download and execute a second-stage payload.

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) 88146 bytes
SHA-256: 3bd457189699162ca4ac5a310323ec0b4b8d4a0201021cba8675097975e39f7d
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, very hidden -  Sheet
' 0085     10 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  E
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0018     64 LABEL : Cell Value, String Constant - aeEepjCyVrQIEQgvRFOlgKMsNSaQvEFDIfmtXkjzEHxXmfPwz len=0 
' 0018     52 LABEL : Cell Value, String Constant - aeFfqkDzWrRJFQhwSGPmhLNtNTbQvFGEJgmtY len=0 
' 0018     53 LABEL : Cell Value, String Constant - aNzbwKYGXJNmbYSkhFayFBNQezCLVPsJbvPJye len=0 
' 0018     63 LABEL : Cell Value, String Constant - aOMGYVrbmrozRSnoxWDgvciCKzfabZePIPtVGWacUtWBlgVp len=0 
' 0018     38 LABEL : Cell Value, String Constant - apiSBDXzFSPxLkkMUhJcIgx len=0 
' 0018     43 LABEL : Cell Value, String Constant - apwyIfaEGmsMUJokkjnZfmEedtjm len=0 
' 0018     42 LABEL : Cell Value, String Constant - aQvqrpufmtKkkBqskKmRPwlGwnB len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!HH4515 
' 0018     42 LABEL : Cell Value, String Constant - auXbpzViVIjFEgOfRVuVgaspNiH len=0 
' 0018     54 LABEL : Cell Value, String Constant - BBnnPXkMfLjBNBysLIeOZfbmEFablJpTiPWowmS len=0 
' 0018     30 LABEL : Cell Value, String Constant - bcafQJQuVHXbdVu len=0 
' 0018     56 LABEL : Cell Value, String Constant - BcKbNRrRcXomJeDvrDUiFrCZUxyfzFNDirsqvTZgL len=0 
' 0018     64 LABEL : Cell Value, String Constant - BcywZHYKOnOZTliGbzrozRfBoxWRtvcwCKzfoonsPWdIVUknq len=0 
' 0018     28 LABEL : Cell Value, String Constant - bdVuKCmUWrUYm len=0 
' 0018     44 LABEL : Cell Value, String Constant - bIPhpfLGHFKvCJZBzQGJzZChfNCWM len=0 
' 0018     62 LABEL : Cell Value, String Constant - bipUggvzDuTibLsvQswLIqEddFNZCVBYqQqCvOxUEPURctI len=0 
' 0018     60 LABEL : Cell Value, String Constant - bjwYsXvNnOZTlUrblrnyQfmoxVQtvciCKyeaaZdPVctUT len=0 
' 0018     46 LABEL : Cell Value, String Constant - BNpJoMeEepjClIrDIFQhvEFOmgKMsyS len=0 
' 0018     33 LABEL : Cell Value, String Constant - BzEpvDUutKzDuTwbZH len=0 
' 0018     40 LABEL : Cell Value, String Constant - bzGCNRfBDMVQtKcwQKzfoomrd len=0 
' 0018     47 LABEL : Cell Value, String Constant - BzQUWOnDufNPjMRfbKXwwYhtVpUsLkLW len=0 
' 0018     34 LABEL : Cell Value, String Constant - CaEiSODXNEScLLxkMhu len=0 
' 0018     31 LABEL : Cell Value, String Constant - cafQXeuVVlbdVuXC len=0 
' 0018     31 LABEL : Cell Value, String Constant - CCBGqjqVvhxBEvUx len=0 
' 0018     56 LABEL : Cell Value, String Constant - CMHkzSmGzpVeediTMTxLKadgYwMFoXZtWboyUhVHi len=0 
' 0018     32 LABEL : Cell Value, String Constant - cMIwRIyMWFFseGcoD len=0 
' 0018     36 LABEL : Cell Value, String Constant - CMSOZqGNPYvqUWDJckZFB len=0 
' 0018     28 LABEL : Cell Value, String Constant - CngnSsetxBrRt len=0 
' 0018     55 LABEL : Cell Value, String Constant - CtTvaLHuQGwLVEEqdEanCizmqQECvOLhEciepsId len=0 
' 0018     17 LABEL : Cell Value, String Constant - Cv len=0 
' 0018     54 LABEL : Cell Value, String Constant - CwapIcvqfLUVTYJCJnBzQUWOnCufNPjMRepKXLw len=0 
' 0018     58 LABEL : Cell Value, String Constant - CyWrQWSehvRTcmhLasNgaQvFFEJtmtYlkBEHyXmfPxz len=0 
' 0018     31 LABEL : Cell Value, String Constant - dErpjCyVrQVSdgvR len=0 
' 0018     58 LABEL : Cell Value, String Constant - DgLJqfzqhuFonbbCLXzTyWoBomgyvSCMSOarsOPYvdH len=0 
' 0018     36 LABEL : Cell Value, String Constant - dgXwMFoWYtWaokThHHhqD len=0 
' 0018     57 LABEL : Cell Value, String Constant - dHWDJckaGBCzFpipUvgwBDuUwbMIvQHxMWFEreFbnC len=0 
' 0018     63 LABEL : Cell Value, String Constant - diGMTxLKaegYxNFpXZtWbolUhHHirEfzeDVuVgasbyisyuHX len=0 
' 0018     50 LABEL : Cell Value, String Constant - dIGocxnesDllYYzIVwQvUlxljdvsPyKQMXo len=0 
' 0018     37 LABEL : Cell Value, String Constant - dJEFDIsmtXyjzEHxXzfPLy len=0 
' 0018     54 LABEL : Cell Value, String Constant - dJSSRWHzHlyxORUMkzscLNhKPcmIVJuWsqTBSEI len=0 
' 0018     62 LABEL : Cell Value, String Constant - DMWRuKcwQKzfopnsdWdIVUknqiIWPzhjEglyKerfRsPOpXo len=0 
' 0018     61 LABEL : Cell Value, String Constant - DRbKKwwYgtVpUsKWLICURnXiok
... (truncated)