Malicious PDF — malware analysis report

Static analysis result for SHA-256 217cfd0ddcbf8252…

MALICIOUS

PDF

12.4 KB Created: 2009-12-18 19:45:65 Authoring application: PDF Library 9.4.5 (via PDF Library 7.2.9)
MD5: ab466ab5ca46b3d05f87932d9e4abc5c SHA-1: 41d8272870965ab019fefb358080702a10ebb3cc SHA-256: 217cfd0ddcbf8252e82e1598375b1aadafe71ad2c121affa3deb0c153583242b
278 Risk Score

Malware Insights

MITRE ATT&CK
T1204.002 Malicious File: User Execution T1059.001 Command and Scripting Interpreter: PowerShell

This PDF exploits multiple critical vulnerabilities including CVE-2009-0927, CVE-2007-5659, and CVE-2008-2992. The embedded JavaScript, identified as legacy_pdfkit_stage_000.js, is responsible for triggering these exploits. The primary function of the script appears to be downloading and executing a second-stage payload, as indicated by the ClamAV detection 'Js.Exploit.Shellcode-18' on an extracted artifact. The exploit chain suggests a drive-by compromise attack vector.

Heuristics 8

  • 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)
  • 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)
  • 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.
  • ASCIIHexDecode filter (with exploit indicators) medium PDF_FILTER_HEX
    Hex-encoding filter present alongside exploit delivery indicators — often used to hide payload or shellcode bytes
  • 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.

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0007_000.js
50e80e799fc452c38d744ba2f5de4d089f1d5ed9ad6d2f4c153815eb11b7b22b
pdf-javascript-stream PDF /JS object 7 at offset 0x268 37721 bytes
legacy_pdfkit_stage_000.js
2a58f92f37087422f9781f4d794ea1c6b6cf3152fc4b267e5b73e92c67d4fe25
deobfuscated-js numeric array subtract-key decoded JavaScript at offset 0x268 9874 bytes
Detection
ClamAV: Js.Exploit.Shellcode-18
Obfuscation or payload: likely
Carved artifact contains 9 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).