Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 a4fb42f8ed934b54…

MALICIOUS

Office (OLE)

340.5 KB Created: 2020-07-10 10:41:45 Authoring application: Microsoft Excel First seen: 2020-09-15
MD5: ffa2b643f720061868b1af3a52f19a9c SHA-1: 8addf3cd6c9e6d35e2a5f75219dbad5445420577 SHA-256: a4fb42f8ed934b5400dd309716a833199a3591b5167dc86f78094f2e7506c36c
242 Risk Score

Malware Insights

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

The file contains Excel 4.0 macros, specifically an Auto_Open function, which is a critical finding indicating malicious intent. The presence of a macro-enable lure, impersonating a document signing service, further supports this. The XLM macros likely download and execute a second-stage payload, as suggested by the 'RUN' API usage and ClamAV detection as a dropper.

Heuristics 7

  • ClamAV: Xls.Dropper.Agent-9020734-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Dropper.Agent-9020734-0
  • 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) 91807 bytes
SHA-256: fc2a418dbbfce7ad2e9d31e591833158b6c0c201b3d17c1c226c567115eaf18e
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 -  TP
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0018     16 LABEL : Cell Value, String Constant - a len=0 
' 0018     46 LABEL : Cell Value, String Constant - aBXWyfwjnNnysLIeBZRNZpFaOXupTVC len=0 
' 0018     43 LABEL : Cell Value, String Constant - aIZMQpQbVnkHdCtpCShDqzXSvxex len=0 
' 0018     48 LABEL : Cell Value, String Constant - amPiOmEQECvOLhRciepHIdeoMsWlSZrzp len=0 
' 0018     21 LABEL : Cell Value, String Constant - aOMGYV len=0 
' 0018     48 LABEL : Cell Value, String Constant - aPjaRepYXLLmuHjDiGYkYWQifClwCyKbc len=0 
' 0018     34 LABEL : Cell Value, String Constant - aPuqqptfYfKkWlpskJm len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!DY1125 
' 0018     19 LABEL : Cell Value, String Constant - aWiy len=0 
' 0018     16 LABEL : Cell Value, String Constant - b len=0 
' 0018     50 LABEL : Cell Value, String Constant - bEjTPDYOFTdMMylMivKrJuyYNKEWTpMkqmx len=0 
' 0018     55 LABEL : Cell Value, String Constant - bfGgrlEBXtSKGRixTHQniMOuOUcRwGHFKhnuZmlC len=0 
' 0018     44 LABEL : Cell Value, String Constant - bHQRPUFyGjwvMQTKjyqbJLgJNblGU len=0 
' 0018     45 LABEL : Cell Value, String Constant - BjHqBHDPfuCENkfJLrxRZOuppotels len=0 
' 0018     25 LABEL : Cell Value, String Constant - BkHqCIEPgu len=0 
' 0018     56 LABEL : Cell Value, String Constant - BmOkwLsKvzaOMGYVrNmrozDSnoxIDgvPiCwlRabZe len=0 
' 0018     29 LABEL : Cell Value, String Constant - BMSOZqrNPYvcGW len=0 
' 0018     18 LABEL : Cell Value, String Constant - BNb len=0 
' 0018     32 LABEL : Cell Value, String Constant - BpKzqFPxxkkMUhJdI len=0 
' 0018     36 LABEL : Cell Value, String Constant - buPhcRxGHFKuovZmlCGJz len=0 
' 0018     31 LABEL : Cell Value, String Constant - BVaiYENNLQnuCgss len=0 
' 0018     45 LABEL : Cell Value, String Constant - bvYdqnWjJJksGhCgFWwXicudzjuBwI len=0 
' 0018     19 LABEL : Cell Value, String Constant - BwJa len=0 
' 0018     47 LABEL : Cell Value, String Constant - bwKxjLhgIpHswXxJDVSoKjbXizPkYhFz len=0 
' 0018     33 LABEL : Cell Value, String Constant - byUsyuGKYtvFPJmDVp len=0 
' 0018     29 LABEL : Cell Value, String Constant - cBHDORgCDNWRuK len=0 
' 0018     38 LABEL : Cell Value, String Constant - ccEMZBVzYpQqCvOwTDOUQbs len=0 
' 0018     20 LABEL : Cell Value, String Constant - CDMke len=0 
' 0018     29 LABEL : Cell Value, String Constant - cgjbzPIrZcwZdr len=0 
' 0018     45 LABEL : Cell Value, String Constant - cGVoJbWLrzByEoipTgfvzDtTibLsuQ len=0 
' 0018     21 LABEL : Cell Value, String Constant - crNOYh len=0 
' 0018     31 LABEL : Cell Value, String Constant - CrXSSRWHzHlMxORU len=0 
' 0018     52 LABEL : Cell Value, String Constant - CSWZQpFxhPSmPThdMazzajvYrXuNmNYSkUqak len=0 
' 0018     38 LABEL : Cell Value, String Constant - cSxHHGLvovanmDGJBZohRzC len=0 
' 0018     47 LABEL : Cell Value, String Constant - cSxHIGLvovanmDHJBaohSzCWyERcwKxj len=0 
' 0018     42 LABEL : Cell Value, String Constant - CThDqBYTwxeyEMChqqpuSYfKXWm len=0 
' 0018     19 LABEL : Cell Value, String Constant - cuPi len=0 
' 0018     23 LABEL : Cell Value, String Constant - CURnKiaW len=0 
' 0018     60 LABEL : Cell Value, String Constant - CXkXKkHGiQhTXwXicurOkJBwJaoKxHfZDFlGLTJoxxwBY len=0 
' 0018     59 LABEL : Cell Value, String Constant - CzFpipUugwzDuUwbMHvQHxLWFErdFbnCjBmqRFDwPMiF len=0 
' 0018     63 LABEL : Cell Value, String Constant - ddQDeBNbJaMQpebVnkIdCIEQThDFOYTvMeySMChqqpufYfKX len=0 
' 0018     34 LABEL : Cell Value, String Constant - dDuqCTiErBYTwyfyFNC len=0 
' 0018     38 LABEL : Cell Value, String Constant - dfMfltiOXYWbyFMqEDTXZRq len=0 
' 0018     52 LABEL : Cell Value, String Constant - difqtJefoytXmGZsncIRSQVGyGkxwNRTLkzrc len=0 
' 0018     48 LABEL : Cell Value, String Constant - DJckZFBBzEpipUugvzDuTwbLHvQGwLVEE len=0 
' 0018     41 LABEL : Cell Value, String Constant - djfqtJefpytXmGasncIRSQVGzH len=0 
' 0018  
... (truncated)