Malicious PDF — malware analysis report

Static analysis result for SHA-256 340b6c420d73bb83…

MALICIOUS

PDF

7.3 KB Created: 2009-01-35 62:12:26 Authoring application: Adobe
MD5: a2b0b2279736ae44aa6d06e2cf219382 SHA-1: 70dbf14ecb16dd91e51b69a8cfaf071835960c21 SHA-256: 340b6c420d73bb8300aa070ed4c79880ee0808968a542623aaba575e48505026
410 Risk Score

Malware Insights

MITRE ATT&CK
T1203 Exploitation for Client Execution T1059.007 JavaScript T1071.001 Web Protocols

The PDF contains embedded JavaScript that leverages multiple known exploits (CVE-2009-4324, CVE-2009-0927, CVE-2007-5659) to achieve code execution. The JavaScript is designed to download and execute a second-stage payload from the URLs http://kozzz.in/2/load.php?spl=pdf_new and http://kozzz.in/2/load.php?spl=pdf_pack. The use of eval() and unescape() functions indicates obfuscation to hide the malicious payload.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9998

Heuristics 11

  • 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.
  • 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 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://kozzz.in/2/load.php?spl=pdf_new
    • http://kozzz.in/2/load.php?spl=pdf_pack

Extracted artifacts 8

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0032_000.js
c59190ab91b68d0f3974c9ac26165f8d39471ef75e2168aeba3cac56539a8cc6
pdf-javascript-stream PDF /JS object 32 at offset 0x424 133 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
javascript_obj0034_001.js
6fc7da7cf07e35d3ae0d1a4bed1478a923b7804c788fdc1e76e26f099087b148
pdf-javascript-stream PDF /JS object 34 at offset 0x4E2 136 bytes
javascript_obj0036_002.js
0abe7f49065389b5ec52d4022bf47eaa0244b48c12ab46492a77f07050ba9bc3
pdf-javascript-stream PDF /JS object 36 at offset 0x107 153 bytes
javascript_obj0038_003.js
232a1c6cbe777754f30fb42f0c1c44ddb3e7d856984904cbcb51c109b0eaa8ec
pdf-javascript-stream PDF /JS object 38 at offset 0xC47 174 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
javascript_obj0078_004.js
34affac225c2a0d5a4d16d38168e75ef36770b064715c5eef89f95ea0db0b4c7
pdf-javascript-stream PDF /JS object 78 at offset 0x7C 45 bytes
legacy_pdfkit_stage_000.js
b2e581467bf11f1cda7841f535399ca8cf5f18b4ea8a9b313116d79eb6dd6a58
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x5D7 1622 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
8c3b226331a8a2d232a4cc72b974630e50e33b5f5de98e2fa80a3a31881fc4c2
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0xD80 1788 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
067232e5360e076dc3d6d89d14ad6e56bd2606d96e516099987b41ec6705bbdf
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x13E6 2914 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).