Malicious Office (OLE) / .XLS — malware analysis report

Static analysis result for SHA-256 34189b707357341f…

MALICIOUS

Office (OLE) / .XLS

118.0 KB Created: 2020-11-25 22:58:55
MD5: 81267c32bd2cdc01a4090dc540e333a9 SHA-1: 6bcc35d9be0077132ee300c4b8ec010c31e1e8b7 SHA-256: 34189b707357341fdac1882ea7a727bad321fe30593396803da601c45def63ad
202 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File

The VBA macro in this XLS file contains a Workbook_BeforeClose subroutine that executes a PowerShell command. This command downloads a second-stage executable from 'http://sparepartiran.com/js/2Q/Mvyfnzkjh1.exe' and saves it as 'C:\Users\Public\qfoyeqev.exe', then executes it. This indicates a downloader or droppper functionality.

Heuristics 6

  • ClamAV: Xls.Malware.Sagent-10035294-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Malware.Sagent-10035294-0
  • Reference to PowerShell high SC_STR_POWERSHELL
    Reference to PowerShell
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • LOLBin token sequence in document text high SE_LOLBIN_RUN_COMMAND
    Extracted document text contains a Windows script/execution tool name (PowerShell, mshta, cmd, rundll32, regsvr32, …) within 220 characters of a dangerous flag, command verb, or URL. This is a visible 'run this' instruction in HTML/PDF/RTF lure bodies, or — in macro-laden Office files — the macro's own string-pool entries appearing adjacent in extracted text.
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • 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://sparepartiran.com/js/2Q/Mvyfnzkjh1.exe

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
b1dd1c9e60d3099ec54b6909d1a7bd29a618877073c60238c76c72f3c0e34af6
vba-macro oletools.olevba.extract_macros (decoded VBA source) 1700 bytes