Malicious PDF — malware analysis report

Static analysis result for SHA-256 0cfb672bcb79302c…

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: 2d41ce2e99d5f36c6b10a30d65f3cb38 SHA-1: a4cd338ca3f22394e2f32dec1b555b741cfad13b SHA-256: 0cfb672bcb79302c7416b01e315186cc3d99ad61ddfd05cd1c06925fe0bd88b2
414 Risk Score

Malware Insights

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

This PDF document exploits multiple Adobe Reader vulnerabilities, specifically CVE-2009-4324 and CVE-2007-5659, through embedded JavaScript. The JavaScript, obfuscated using String.fromCharCode, likely downloads and executes a second-stage payload. The presence of the benign-looking URL http://www.pdf-repair.com could be a lure or a C2 channel.

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
479709d781d3e822daffb67b734746d6560150ce79b6e5e1c0a6bc6750c65f27
pdf-javascript-stream PDF /JS object 39 at offset 0x368F17 24715 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
ac1193fbfef7e653f2145890a293c08f22dc2e7a1179bb2a8723ff2ecf90307e
deobfuscated-js generic stage recovery fromCharCode-args from JavaScript object 39 at offset 0x368F17 7513 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 25 eval/decoder/string-building token(s).
generic_stage_recovery_001.js
8e9de13832805893c17c363767427975c4af91b5c324e9a75f2f633bd4237550
deobfuscated-js generic stage recovery percent-decode from JavaScript object 39 at offset 0x368F17 7505 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 25 eval/decoder/string-building token(s).
generic_stage_recovery_002.js
9742ee1859d53c0052aefeafcefc5daaae3ebddb8819af56a2e6bc73ddb81b1b
deobfuscated-js generic stage recovery fromCharCode-args -> split-literal-normalize from JavaScript object 39 at offset 0x368F17 7375 bytes
Detection
ClamAV: Pdf.Exploit.Agent-35646
Obfuscation or payload: likely
Carved artifact contains 26 eval/decoder/string-building token(s).
generic_stage_recovery_003.js
fd498efa8e139a9da978baa89dfc6c5cea5ce9104400161ffe511310db7136e7
deobfuscated-js generic stage recovery percent-decode -> split-literal-normalize from JavaScript object 39 at offset 0x368F17 7367 bytes
Detection
ClamAV: Pdf.Exploit.Agent-35646
Obfuscation or payload: likely
Carved artifact contains 26 eval/decoder/string-building token(s).