Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 7a7269271ab8c721…

MALICIOUS

Office (OLE)

245.5 KB Created: 2020-07-29 13:52:00 Authoring application: Microsoft Excel First seen: 2020-09-07
MD5: 2d28a4e03ec3c94fbaa1e3c1c333bd51 SHA-1: c812e11daad5bc081159f5f80979686d08ce59c0 SHA-256: 7a7269271ab8c721df1f43ac853d4b71cef7e5015696d2bb46f89fcb3ce92160
160 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-enabled document that uses an 'enable macros' lure to prompt the user to enable content. Upon enabling, the Auto_Open macro executes, which is flagged as dangerous due to its use of the RUN API. This indicates the macro is likely designed to download and execute a second-stage payload.

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) 134334 bytes
SHA-256: 0201dd223c9455e1fe878b253b98fb92ce9fbc76665e7cac2e776f75222e24f1
Preview script
First 1,000 lines of the extracted script
' 0085     13 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, very hidden -  Erro
' 0085      9 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  
' 0085     16 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Documen
' 0018     31 LABEL : Cell Value, String Constant - adVtXClhWqhYlvfe len=0 
' 0018     24 LABEL : Cell Value, String Constant - afQJQuVHX len=0 
' 0018     28 LABEL : Cell Value, String Constant - aFSRhlnfFUMwe len=0 
' 0018     45 LABEL : Cell Value, String Constant - aGElaukbpziiVVwFStOsRiujgaspMv len=0 
' 0018     24 LABEL : Cell Value, String Constant - aIZLPodaU len=0 
' 0018     41 LABEL : Cell Value, String Constant - akfJYqLeZOtDECHrkrWjiyDFwW len=0 
' 0018     37 LABEL : Cell Value, String Constant - aTaFSRhknfETMvdgBdhvGb len=0 
' 0018     23 LABEL : Cell Value, String Constant - atCrXSTR len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Erro!JJ45562 
' 0018     45 LABEL : Cell Value, String Constant - aVWUZLELpQBRVYPoRwgcRlbSgqZZMy len=0 
' 0018     36 LABEL : Cell Value, String Constant - aXGTssUcpRlQoGgHSMeNj len=0 
' 0018     24 LABEL : Cell Value, String Constant - aYGuPFvKU len=0 
' 0018     16 LABEL : Cell Value, String Constant - b len=0 
' 0018     53 LABEL : Cell Value, String Constant - bEIWgBPCoPlkNtLxCbCNHZWsPnfbnEToclJEhj len=0 
' 0018     17 LABEL : Cell Value, String Constant - BF len=0 
' 0018     27 LABEL : Cell Value, String Constant - bfiayOHqYbvY len=0 
' 0018     17 LABEL : Cell Value, String Constant - bG len=0 
' 0018     29 LABEL : Cell Value, String Constant - BGdjrVihxCEvVk len=0 
' 0018     37 LABEL : Cell Value, String Constant - BGdkrVihxCFvVkdNuxSuyN len=0 
' 0018     55 LABEL : Cell Value, String Constant - bHDDCGrkrWwiyCFwVydNJxSIyNXGGsfHdpElDosS len=0 
' 0018     42 LABEL : Cell Value, String Constant - BhLbIOhpeKGGFKunuZzlCFIzYCg len=0 
' 0018     25 LABEL : Cell Value, String Constant - bHPQOTFxFj len=0 
' 0018     48 LABEL : Cell Value, String Constant - BikFhmzLfsgStQPqYpbfGgrlEBXtSKGRi len=0 
' 0018     22 LABEL : Cell Value, String Constant - bIOhpfL len=0 
' 0018     23 LABEL : Cell Value, String Constant - BjlGinBL len=0 
' 0018     35 LABEL : Cell Value, String Constant - BKhPsIouOWMrmmlqbUbG len=0 
' 0018     48 LABEL : Cell Value, String Constant - brvxpPeWHoqLnsHDlyYZzJVwRvUmMmxrK len=0 
' 0018     49 LABEL : Cell Value, String Constant - BSeTQKcZwgqwsFVWrtDaHkBhnHPEjffeiU len=0 
' 0018     39 LABEL : Cell Value, String Constant - bSfqZYMMnvIkEjHZlZXRjgDm len=0 
' 0018     32 LABEL : Cell Value, String Constant - BTCYITZVgxNUWfDxb len=0 
' 0018     22 LABEL : Cell Value, String Constant - BWJTqlP len=0 
' 0018     22 LABEL : Cell Value, String Constant - bWLqzBy len=0 
' 0018     23 LABEL : Cell Value, String Constant - BWXgFlPe len=0 
' 0018     59 LABEL : Cell Value, String Constant - BWXhqlPexSkfVBJKINyrycpoFJMDcrkUCFZCGUeyNzmN len=0 
' 0018     23 LABEL : Cell Value, String Constant - BXtSKGSi len=0 
' 0018     63 LABEL : Cell Value, String Constant - BYelQdcsvyqPeXIprMotHEmzZZBJWxSwVmNnysLtQzLRNYpF len=0 
' 0018     20 LABEL : Cell Value, String Constant - BYfmQ len=0 
' 0018     30 LABEL : Cell Value, String Constant - cbDkCosSsExQNjG len=0 
' 0018     35 LABEL : Cell Value, String Constant - cbgDKRvJIYbeWuKDmVXr len=0 
' 0018     59 LABEL : Cell Value, String Constant - cbrvypPeXHorMosHRlzmZzWVxfwimMmxrKHdzYQMYpEZ len=0 
' 0018     50 LABEL : Cell Value, String Constant - ccEMZBVzYpCqnhzwUEOUQcstPRaxeIYFLem len=0 
' 0018     33 LABEL : Cell Value, String Constant - CdwcBSsSdXpZvfqwsE len=0 
' 0018     53 LABEL : Cell Value, String Constant - CEYBGTQyMllNViKeJhyZzLFXGdNXdZlCRYajHC len=0 
' 0018     38 LABEL : Cell Value, String Constant - cEYDbtFtqkDzXHRXTfvwSUd len=0 
' 0018     27 LABEL : Cell Value, String Constant - CfuNhBukQZZY len=0 
' 0018     24 LABEL : Cell Value, String Constant - cGVCIbjZF len=0 
' 0018     22 LABEL : Cell Value, String Constant - cLNhKOc len=0 
' 0018     37 LABEL : Cell Value, String Constant - cooFILDbqjTBEYBFTdyMyl
... (truncated)