Malicious PDF — malware analysis report

Static analysis result for SHA-256 258895e8a2a4e6af…

MALICIOUS

PDF

76.7 KB Created: 2009-12-15 19:43:57 Authoring application: PDF Library 9.8.5 (via PDF Library 9.7.5)
MD5: 7b698d35d499052efc8491ad7ce1dc5d SHA-1: 24b275d3bcc989642d6700fbbc35bab8adb4c51a SHA-256: 258895e8a2a4e6afb5aca7bca12e5e21e56fab27cae59152c24187e5bf5d2f8b
338 Risk Score

Malware Insights

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

The PDF file contains embedded JavaScript that exploits multiple known Adobe Acrobat vulnerabilities, specifically CVE-2009-0927, CVE-2007-5659, and CVE-2008-2992. Static analysis recovered a deobfuscated JavaScript file, 'legacy_pdfkit_stage_000.js', which likely contains the second-stage payload. The exploit targets user execution via the PDF document.

Heuristics 9

  • 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: Pdf.Exploit.Agent-36110 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-36110
  • 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
dea78a7abd4b96a1f0c6ad31b0ab6c4b333b253c53c2bde0b0a8ba83f9fbaac5
pdf-javascript-stream PDF /JS object 7 at offset 0x1A5 38739 bytes
legacy_pdfkit_stage_000.js
3b9987398411ca0980f03a92fab7a4fae175b3f4d836d1f95cd4bbafa0ea34dc
deobfuscated-js numeric array subtract-key decoded JavaScript at offset 0x1A5 10012 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).