Malicious PDF — malware analysis report

Static analysis result for SHA-256 31f18d7af3dd31be…

MALICIOUS

PDF

77.5 KB Created: 2009-12-04 19:41:59 Authoring application: PDF Library 10.6.8 (via PDF Library 7.2.1)
MD5: d4bd2e293f1349dd66c4bb174ea2f41f SHA-1: 5d1ced55c4409f6e4d0c6eb248bf381d47aa2e41 SHA-256: 31f18d7af3dd31be1d4dc1bc75214ed8abe6cb367b59764d61c4b2ff06d5aa72
338 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1204.001 Malicious Link

This PDF document is malicious, exploiting multiple known vulnerabilities including CVE-2009-0927, CVE-2007-5659, and CVE-2008-2992. Static analysis detected embedded JavaScript streams and identified a deobfuscated JavaScript file, 'legacy_pdfkit_stage_000.js', which likely contains the exploit code. ClamAV detections further confirm its malicious nature, flagging it as 'Pdf.Exploit.Agent-8675' and an extracted artifact as 'Js.Exploit.Shellcode-18'. The exploit likely aims to download and execute a second-stage payload.

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-8675 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-8675
  • 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
58c82c8dae7c0719dd0cf63e6e7946246bc76ef15920e3c5057d340130177be2
pdf-javascript-stream PDF /JS object 7 at offset 0x1A5 39196 bytes
legacy_pdfkit_stage_000.js
92239c2a31149d1608385e0b20eef401ff2ffcd2ae8416404e2dc3f70ef35983
deobfuscated-js numeric array subtract-key decoded JavaScript at offset 0x1A5 10108 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).