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

Static analysis result for SHA-256 a435fa606faadba3…

MALICIOUS

Office (OOXML) / .XLSM

137.0 KB
MD5: 181ab83994f0de20fda174225729cc47 SHA-1: cdec7d94fdaa633d695fac698c7cb89a58639e8b SHA-256: a435fa606faadba3b72bf5f817d1baafa8248e784bd177cd5f5acf14e0747603
220 Risk Score

Malware Insights

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

The sample is an XLSM file containing VBA macros. The document body explicitly contains a PowerShell command designed to download an executable from 'sparepartiran.com' and then execute it. This PowerShell command is a strong indicator of a downloader attack pattern. The ClamAV detection further supports the malicious nature of the file.

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
  • Visible LOLBin command execution instruction high SE_LOLBIN_RUN_COMMAND
    Document contains instructions or visible command text involving Windows script/execution tools such as PowerShell, mshta, cmd, rundll32, or regsvr32
  • VBA project inside OOXML medium OOXML_VBA
    Document contains vbaProject.bin — 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/gnlk0BpTAxTC5Xw.exe

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
8d2a84be443412303dcd2e442cc879f66ac8f4206121e07b1f76a9613e5303c4
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 2169 bytes
vbaProject_00.bin
61174f0ce7951dd765b32b9c2e372d8b65f03b265e107af5366748377897f263
vba-project OOXML VBA project: xl/vbaProject.bin 5632 bytes
Detection
ClamAV: Xls.Malware.Sagent-10035294-0
Obfuscation or payload: unlikely