Malicious PDF — malware analysis report

Static analysis result for SHA-256 8ffbedb262559362…

MALICIOUS

PDF

3.9 KB Created: 2008-05-25 19:30:48 Authoring application: Adobe (via UltraEdit)
MD5: 5fa7c549767fa76946af728bcdafd73c SHA-1: bbef103d0dcd6be92f5a8b86283b31c8c2a288ce SHA-256: 8ffbedb2625593624b890ed5f27026bcdc8dae793a57bf0e6f724fb52d55934a
278 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1204.001 Malicious Link T1071.001 Web Protocols

The PDF sample contains embedded JavaScript that leverages known vulnerabilities (CVE-2009-0927 and CVE-2007-5659) to achieve code execution. The embedded JavaScript stream, identified as 'legacy_pdfkit_stage_000.js', is heavily obfuscated but ultimately detected by ClamAV as 'Js.Exploit.Shellcode-18'. This indicates the script's purpose is to download and execute a malicious payload. The use of `eval()` and `unescape()` functions within the JavaScript further supports this conclusion.

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)
  • 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.
  • 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)
  • 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_obj0006_000.js
c418d4d476ccacd8ff49c2acbea8e8198f46668a810efa2f31ccdad6eb45b0c5
pdf-javascript-stream PDF /JS object 6 at offset 0xCCA 239 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).
legacy_pdfkit_stage_000.js
e97c6f06e5acf6bf53eaa366c1753b5071431fb971f39dc52d6fd792312621b5
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x16C 5028 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).