Sagent — Office (OOXML) / .XLSX malware analysis

Static analysis result for SHA-256 7b9af26405d84613…

MALICIOUS

Office (OOXML) / .XLSX

136.7 KB
MD5: a465812f4ca7738ad35318f3130bf807 SHA-1: 377eb19eb9078787f9cf4c3d19bdb58b48b96867 SHA-256: 7b9af26405d846131102222a04d5f46777a50ee63f4f5adbba9426e6df6c4f39
222 Risk Score

Malware Insights

Sagent · confidence 95%

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

The VBA macro contains a Workbook_BeforeClose event that uses CreateObject to execute a PowerShell command. This command downloads an executable from http://sparepartiran.com/js/2Q/Lpmmvirbcu8.exe and saves it as C:\Users\Public\dnzubwlw.exe, then executes it. This indicates a downloader or droppper functionality, consistent with the Sagent family.

Heuristics 6

  • ClamAV: Xls.Malware.Sagent-10035294-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Malware.Sagent-10035294-0
  • ClamAV detection on extracted artifact critical EXTRACTED_FILE_CLAMAV
    ClamAV flagged at least one file extracted from inside this sample. Even when the wrapping document carries no AV detection of its own, a hit on the carved artifact is a strong indicator the sample is a delivery vehicle.
  • 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 project inside OOXML medium OOXML_VBA
    Document contains a VBA project — VBA macros present
  • 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/Lpmmvirbcu8.exe

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
79962c724a1d30a9a05c9bad2ca8213eb315002d136485c220137f0046f2aee2
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1700 bytes
vbaProject_00.bin
af758f3d74fd0955e3c75a40912942def3b6a6e5371fc3c022cba211b542ce91
vba-project OOXML VBA project: xl/vbaProject.bin 5120 bytes
Detection
ClamAV: Xls.Malware.Sagent-10035294-0
Obfuscation or payload: unlikely