Malicious PDF — malware analysis report

Static analysis result for SHA-256 04cff1d91730f462…

MALICIOUS

PDF

3.42 MB Created: 2008-02-27 16:58:09 +08:00 Authoring application: PScript5.dll Version 5.2 (via Acrobat Distiller 6.0.1 (Windows))
MD5: 4af84d7291231e59b287efa1e2f78086 SHA-1: f29915fbba96133de3b82ed9109f3cbb463b1e25 SHA-256: 04cff1d91730f46298aa098c386cfd436cb82f2d91fe5bccd2b3e39cb5365e41
414 Risk Score

Malware Insights

MITRE ATT&CK
T1203 Exploitation for Client Execution T1059.007 JavaScript T1566.001 Spearphishing Attachment

This PDF document contains embedded JavaScript that exploits multiple Adobe Reader vulnerabilities, specifically CVE-2009-4324 and CVE-2007-5659. The JavaScript is heavily obfuscated using String.fromCharCode and concatenation, but analysis indicates it is designed to download and execute a second-stage payload. The presence of exploit kits and the ML classifier's high confidence further support this assessment.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9290

Heuristics 13

  • media.newPlayer — CVE-2009-4324 critical CVE exact CVE_2009_4324
    PDF JavaScript calls media.newPlayer — CVE-2009-4324 is a use-after-free in Adobe Reader's multimedia plugin triggered by media.newPlayer(). Actively exploited as a zero-day in December 2009. (identified after JavaScript deobfuscation)
  • Collab.collectEmailInfo — CVE-2007-5659 critical CVE exact CVE_2007_5659
    PDF JavaScript calls Collab.collectEmailInfo — CVE-2007-5659 is a buffer overflow in Adobe Reader triggered by a long argument or heap-sprayed message field passed to Collab.collectEmailInfo(). Part of a series of Acrobat JS API exploits. (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.
  • Multi-CVE Adobe Reader JavaScript exploit kit critical PDF_ADOBE_READER_MULTI_CVE_JS_KIT
    One recovered JavaScript stage contains multiple version-gated Adobe Reader exploit branches. This is stronger evidence than independent API keywords: the PDF is selecting old Reader vulnerabilities by viewer version and running heap-sprayed Acrobat JavaScript exploit paths.
  • 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.
  • 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.
  • 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.
  • Embedded file low PDF_EMBEDDED
    PDF embeds a file attachment — could carry an executable or another weaponised document as a nested payload
  • XFA form low PDF_XFA
    PDF uses XML Forms Architecture — can contain script logic
  • 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.
  • 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://www.pdf-repair.com
    • http://www.w3.org/1999/02/22-rdf-syntax-ns#
    • http://ns.adobe.com/pdf/1.3/
    • http://ns.adobe.com/xap/1.0/
    • http://ns.adobe.com/xap/1.0/mm/
    • http://purl.org/dc/elements/1.1/
    • http://www.w3.org/1999/xhtml
    • http://www.xfa.org/schema/xfa-data/1.0/

Extracted artifacts 5

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0039_000.js
d8a6849f74169c97cf9bca6cd8db5eda5b5b1ee9cb9bfdce7166936aa95436e9
pdf-javascript-stream PDF /JS object 39 at offset 0x368F17 26269 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
generic_stage_recovery_000.js
8de4bbdfd1a38b8ef093e50ba5fa8da9bcbe5bd8f5dac2f6e23e1a3062451675
deobfuscated-js generic stage recovery fromCharCode-args from JavaScript object 39 at offset 0x368F17 8214 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 30 eval/decoder/string-building token(s).
generic_stage_recovery_001.js
f7f4203d6e528a1423551206a529b4a99aea7cc71a4d61cc38e0448e97743e7b
deobfuscated-js generic stage recovery percent-decode from JavaScript object 39 at offset 0x368F17 8198 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 30 eval/decoder/string-building token(s).
generic_stage_recovery_002.js
b613ac7d2f28b025f3a601b34f993fee27883dd30ee2d76e8343ba54c07b52e4
deobfuscated-js generic stage recovery fromCharCode-args -> split-literal-normalize from JavaScript object 39 at offset 0x368F17 7925 bytes
Detection
ClamAV: Pdf.Exploit.Agent-35646
Obfuscation or payload: likely
Carved artifact contains 31 eval/decoder/string-building token(s).
generic_stage_recovery_003.js
563c1167035e6006ace0b5bbc6d4695f1bc026df77c5882ddcabc7114592fa40
deobfuscated-js generic stage recovery percent-decode -> split-literal-normalize from JavaScript object 39 at offset 0x368F17 7909 bytes
Detection
ClamAV: Pdf.Exploit.Agent-35646
Obfuscation or payload: likely
Carved artifact contains 31 eval/decoder/string-building token(s).