Malicious PDF — malware analysis report

Static analysis result for SHA-256 87f34f87c6660058…

MALICIOUS

PDF

7.3 KB Created: 2009-01-35 62:12:26 Authoring application: Adobe
MD5: 50886465817ded72a16089af360c233f SHA-1: b155cf53bdc9443cec604318b3f080a26172555d SHA-256: 87f34f87c66600583551b879ef4f72774abaa6f3e90c51f820d423195a069578
470 Risk Score

Malware Insights

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

The PDF file contains embedded JavaScript that leverages multiple known vulnerabilities (CVE-2009-4324, CVE-2009-0927, CVE-2007-5659) via eval() and unescape() calls. The deobfuscated JavaScript attempts to download a second-stage payload from the URLs http://state-nj.net/e/load.php?spl=pdf_new and http://state-nj.net/e/load.php?spl=pdf_pack. ClamAV also detected this as Pdf.Dropper.Agent-7279547-0.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9998

Heuristics 12

  • 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.getIcon — CVE-2009-0927 critical CVE exact CVE_2009_0927
    PDF JavaScript calls Collab.getIcon — CVE-2009-0927 is a stack buffer overflow in Adobe Reader triggered by Collab.getIcon() with a crafted argument. Allows arbitrary code execution. (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.
  • ClamAV: Pdf.Dropper.Agent-7279547-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Dropper.Agent-7279547-0
  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution (matched inside decoded stream)
  • unescape() call high PDF_UNESCAPE
    unescape() found — often used to decode shellcode in PDF JS exploits (matched inside decoded stream)
  • PDF exploit shellcode contains an embedded download URL high PDF_JS_SHELLCODE_DOWNLOAD_URL
    Decoded PDF exploit shellcode contains a hardcoded http(s) URL — stored as little-endian %uXXXX Unicode escapes, or hex-encoded in a document metadata field (/CreationDate, /Title) and referenced from the decoded script. 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://state-nj.net/e/load.php?spl=pdf_new
    • http://state-nj.net/e/load.php?spl=pdf_pack

Extracted artifacts 8

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0032_000.js
8d645861dfca4e15578ea981a92564856dac44ea62fd61e7e6d21b5433ecc62f
pdf-javascript-stream PDF /JS object 32 at offset 0x41A 130 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
javascript_obj0034_001.js
d955d3ba1b454a607409c5710ee2ff201083765d3ce65eac3ded123d3846664a
pdf-javascript-stream PDF /JS object 34 at offset 0x4D6 127 bytes
javascript_obj0036_002.js
58024ad9b7795dddf428ac0ddf6c0847f2644a7c5ff143e94b978268ae1a2a35
pdf-javascript-stream PDF /JS object 36 at offset 0x101 138 bytes
javascript_obj0038_003.js
4cee1f7604fae1ac0c6b6cfade79a8b786e780d79dd1c85f9a7cc8d5c0d4dace
pdf-javascript-stream PDF /JS object 38 at offset 0xC3A 162 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
javascript_obj0078_004.js
7d7688c3fc6d5a89fc59c13eecba34075ec55b878bbbb1f41da9476844938d03
pdf-javascript-stream PDF /JS object 78 at offset 0x7C 39 bytes
legacy_pdfkit_stage_000.js
58711fe842062a39458676273f656ecf194cc10dd3b88f3a86d56cffa737fe5b
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x5C4 1634 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
7a27d2dda0efadaf4a9da077456cc35b664a6ceba885340aceaddb9ac88da910
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0xD67 1800 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 eval/decoder/string-building token(s).
legacy_pdfkit_stage_002.js
495dfe5d56c1a9372dfa6f007f2ab54ce45c9ddeebee1405af2461c3f0da6630
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x13D1 2938 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 6 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).