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

Static analysis result for SHA-256 6fdec74112d2b27d…

MALICIOUS

Office (OOXML) / .XLSM

136.7 KB
MD5: b07a423db83f4ea5de7289414d2a528a SHA-1: 187ecad5e68dac6977725147427bcf671449f5a0 SHA-256: 6fdec74112d2b27d2484bc1515c2fd847a6cb5eed32c74a37557ebd512c03480
222 Risk Score

Malware Insights

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

The critical ClamAV detection and high-severity heuristics for VBA macros and CreateObject calls indicate malicious intent. The VBA macro contains obfuscated code that ultimately executes a PowerShell command. This command downloads a second-stage executable from http://sparepartiran.com/js/2Q/SQ-30676xls.exe and saves it as C:\Users\Public\snfcsmvq.exe, then executes it. This pattern is typical of a downloader or initial access stage.

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/SQ-30676xls.exe

Extracted artifacts 2

Files carved from inside the sample during analysis.

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