Malicious Office (OOXML) / .XLSM — malware analysis report

Static analysis result for SHA-256 0f033c86c977c7c7…

MALICIOUS

Office (OOXML) / .XLSM

136.7 KB
MD5: 7796cd41aa303fc5c73787a4e6693b16 SHA-1: 799fd3b25db07b81900228035e8b1ff2bc3a48bb SHA-256: 0f033c86c977c7c7bb14baea0c879d22f9b709fdf2959485665a4ba068032283
222 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1105 Ingress Tool Transfer

The file is an XLSM document containing VBA macros. The macro uses CreateObject to execute a PowerShell command. This command downloads an executable from http://sparepartiran.com/js/2Q/QJ91lF09kgwoong.exe and saves it as C:\Users\Public\xbubqphj.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
  • 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/QJ91lF09kgwoong.exe

Extracted artifacts 2

Files carved from inside the sample during analysis.

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