Malicious PDF — malware analysis report

Static analysis result for SHA-256 6605955da8aa9028…

MALICIOUS

PDF

1.9 KB
MD5: 88de9857144ec06dd8edace992c90250 SHA-1: 502f26330d9fa9cf77c30f968451fdc46d768deb SHA-256: 6605955da8aa9028eb7103bef4ad7c5b6265f1c474e2b6d177a1203ea5262b02
410 Risk Score

Malware Insights

MITRE ATT&CK
T1059.007 JavaScript T1203 Exploitation for Client Execution

The PDF file contains obfuscated JavaScript that exploits CVE-2008-2992 using util.printf. The script is designed to download a second-stage payload from the URL http://dreggle.com/rosmarus/serve.php?serve=sAB9d4vbEZGj742rH58-Ifxdz_6P4BGa. This indicates a clear intent to execute arbitrary code and download further malicious content.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9997

Heuristics 11

  • util.printf — CVE-2008-2992 critical CVE exact CVE_2008_2992
    PDF JavaScript calls util.printf() — CVE-2008-2992 is a stack buffer overflow in Adobe Reader triggered by a long format-specifier argument. Widely exploited in the wild after disclosure. (matched in decompressed stream)
  • PDF JavaScript exploit cluster critical PDF_JS_EXPLOIT_CLUSTER
    PDF combines an executable JavaScript/action surface with exploit staging indicators such as eval/unescape/fromCharCode, XFA script content, or a related CVE pattern. Benign form JavaScript remains low-severity, but this correlated cluster is high-confidence malicious behavior.
  • ClamAV: Heuristics.PDF.ObfuscatedNameObject critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Heuristics.PDF.ObfuscatedNameObject
  • 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.
  • unescape() call high PDF_UNESCAPE
    unescape() found — often used to decode shellcode in PDF JS exploits (matched inside decoded stream)
  • Generic recovered JavaScript exploit stage high PDF_GENERIC_STAGE_RECOVERY
    Bounded static stage recovery exposed hidden JavaScript through generic transforms such as null-byte collapse, percent decoding, marker replacement, arithmetic character codes, fromCharCode, numeric arrays, numeric-array minus-key decoders, alphabet-index arrays, /Producer half-difference metadata arrays, hex literals, marker-stripped Base64 literals, custom 6-bit XOR table decoders, or repeated-marker hex carriers. This rule is emitted only when the recovered stage contains exploit-like Acrobat JavaScript or shellcode markers.
  • PDF JavaScript shellcode contains an embedded download URL high PDF_JS_SHELLCODE_DOWNLOAD_URL
    Decoded PDF JavaScript shellcode contains a hardcoded http(s) URL stored as little-endian %uXXXX Unicode escapes. Reader exploit shellcode embeds the second-stage fetch URL this way and pulls it down with a urlmon/URLDownloadToFile-style download-and-execute (commodity downloader behaviour rather than a specific Acrobat CVE).
  • JavaScript action low PDF_JAVASCRIPT
    PDF contains a /JavaScript action. Generic JavaScript is common in benign forms; specific dangerous APIs are scored by separate rules.
  • Embedded JS stream low PDF_JS
    PDF references a /JS stream. Generic JavaScript is common in benign forms; specific dangerous APIs are scored by separate rules.
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • 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://dreggle.com/rosmarus/serve.php?serve=sAB9d4vbEZGj742rH58-Ifxdz_6P4BGa

Extracted artifacts 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0006_000.js
d18887b5122f6695a93cbce95704eafd9cb3f2162b26b639cce436402593f898
pdf-javascript-stream PDF /JS object 6 at offset 0x1D1 1221 bytes
stream_000_off000001f8.bin
8b75ce75f9a842014d5323b7f8a71938e6fcb5de6e1eb90ef726ed07bcb438d1
decompressed-pdf-stream PDF FlateDecoded stream at offset 0x1F8 2924 bytes
Detection
ClamAV: Win.Trojan.Agent-36168
Obfuscation or payload: likely
Carved artifact contains 3 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
generic_stage_recovery_000.js
2868f44c0f62177f41e35839d0cd46e193132660a1561522e31ca596f8005e88
deobfuscated-js generic stage recovery percent-decode from decompressed stream at 0x1F8 at offset 0x1F8 2922 bytes
Detection
ClamAV: Win.Trojan.Agent-36168
Obfuscation or payload: likely
Carved artifact contains 3 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).