Malicious PDF — malware analysis report

Static analysis result for SHA-256 7f8c5be7138ed3e3…

MALICIOUS

PDF

25.7 KB
MD5: 0500af8bcfc3391b6950cf710ccca24d SHA-1: 74526c7c33f500570020fc6690a8dd383185e587 SHA-256: 7f8c5be7138ed3e3fa3eb29224a99f46a509c039371b9d57ffb5af840ae94395
250 Risk Score

Malware Insights

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

The PDF file contains obfuscated JavaScript that leverages the CVE-2008-2992 vulnerability (util.printf) to execute code. This script is designed to download a second-stage payload from the URL http://gospeltube.com/cache/.svn/.p/.l.php?l=1&spl=pdf_util_printf. The use of eval() and unescape() functions, along with string concatenation, indicates a deliberate attempt to obfuscate the malicious payload.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 8

  • 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. (identified after JavaScript deobfuscation)
  • 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.
  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution
  • 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://gospeltube.com/cache/.svn/.p/.l.php?l=1&spl=pdf_util_printf

Extracted artifacts 10

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj111711_000.js
d88a08ac303fd0d4ee6fe6a6e9b29b15e3a166dd5a622251390d4bfce93eb916
pdf-javascript-stream PDF /JS object 111711 at offset 0x18E 3938 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s). Carved artifact contains 6 long base64-like blob(s).
javascript_obj111712_001.js
db1e4d33ebe91f1e714ab9412a85443d87a1d45ddd4d0d670bc91ca9de04ba65
pdf-javascript-stream PDF /JS object 111712 at offset 0x1126 16901 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s). Carved artifact contains 5 long base64-like blob(s).
javascript_obj111713_002.js
ce5de710d24c1f101e73654d1cf6a342bfb88dc6c7927fb46821f0d7ba608b8a
pdf-javascript-stream PDF /JS object 111713 at offset 0x5361 4930 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s). Carved artifact contains 5 long base64-like blob(s).
javascript_obj111711_003.js
ae602a944ae04be56f4a4d7c711a749a48c1180095ab1dd6a694651d86ba5faa
pdf-javascript-stream PDF /JS object 111711 at offset 0x1B2 25925 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 eval/decoder/string-building token(s). Carved artifact contains 16 long base64-like blob(s).
javascript_obj111712_004.js
cdac3fe734b6a695c2651c53005464de011579316a0f5c2e98492c4ff2cf223c
pdf-javascript-stream PDF /JS object 111712 at offset 0x114A 21933 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s). Carved artifact contains 10 long base64-like blob(s).
javascript_obj111713_005.js
25795d6401461a0c85889f742887ff14783658fbb4af4fd55ab80f618a8c914f
pdf-javascript-stream PDF /JS object 111713 at offset 0x5384 4979 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s). Carved artifact contains 5 long base64-like blob(s).
legacy_pdfkit_stage_000.js
a9bd720854cdcf46b057f8e141e3ecae75abc3a62289c064f417a7b440584cb4
deobfuscated-js multi-marker percent-array decoded JavaScript at offset 0x1126 1414 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 eval/decoder/string-building token(s).
legacy_pdfkit_stage_001.js
34feebbbf0ee64a52f53dce0c98530b4b073203d6a605ba6fc0e3a735084f8c8
deobfuscated-js multi-marker percent-array decoded JavaScript at offset 0x5361 384 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_002.js
01949dcaff7ca551762bdba5d8bd1b9383f22c197acd6ab1e789f3b9ef9be3c8
deobfuscated-js multi-marker percent-array decoded JavaScript at offset 0x1B2 1799 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_003.js
815a2994dce53a526a2d3018b9df676859845617b34a664b35dbe00cfa9887fb
deobfuscated-js multi-marker percent-array combined decoded JavaScript at offset 0x1126 9384 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 15 eval/decoder/string-building token(s). Carved artifact contains 6 long base64-like blob(s).