Malicious PDF — malware analysis report

Static analysis result for SHA-256 6157c46c02b497aa…

MALICIOUS

PDF

4.1 KB
MD5: cac244995fc47a6f4469b7ecbb7d966a SHA-1: 3b8d38720db80c64b3fd19b6cf69c92b5696fbe6 SHA-256: 6157c46c02b497aa0469b7daac40e4495740eced5950946f362ccc64289d94ee
216 Risk Score

Malware Insights

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

The PDF file contains embedded JavaScript that utilizes the `util.printf` function, a known indicator for the CVE-2008-2992 vulnerability in Adobe Reader. The JavaScript is heavily obfuscated using `String.fromCharCode` and `eval()` calls, typical for exploit delivery. The deobfuscated JavaScript appears to be a complex sorting algorithm, likely a technique to further obfuscate the actual exploit or payload delivery mechanism. The ML classifier strongly indicates maliciousness.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9999

Heuristics 7

  • 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 (matched inside decoded stream)
  • 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.
  • String.fromCharCode low PDF_FROMCHARCODE
    String.fromCharCode found — used to construct payload strings dynamically. Common in benign JavaScript libraries for codepoint manipulation, so this alone is informational; weaponised use is also caught by the dedicated fromCharCode-stage and exploit-shape rules. (matched inside decoded stream)
  • 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.

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0005_000.js
cae48a107c84947162d08abf56306bc11944bd7f7bf4a4288bb8b548c78c83b8
pdf-javascript-stream PDF /JS object 5 at offset 0x107 20734 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).
numeric_charcode_stage_000.js
50ddb016891b1b4c65ff8bb797dce2bdf1daa9f4195b4b9c14b91cec832f512f
deobfuscated-js numeric char-code string decoded JavaScript at offset 0x115 6104 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 eval/decoder/string-building token(s).