Malicious PDF — malware analysis report

Static analysis result for SHA-256 2f1e6f073be2eb78…

MALICIOUS

PDF

6.0 KB Created: 2008-09-24 19:47:56 Authoring application: Adobe (via Notepad)
MD5: b37550491716f1290ca8f54412251b28 SHA-1: 6d06983fb34e64aa2c861df0e15b51d915db9b2f SHA-256: 2f1e6f073be2eb78012b5954ab3bc31366f96c1d38ca1369c9fa481e5df70464
298 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 JavaScript/JScript T1204.001 Malicious Link/URL T1059.007 JavaScript/JScript

The sample is a PDF file that leverages two critical CVEs (CVE-2009-0927 and CVE-2007-5659) to execute embedded JavaScript. The JavaScript, identified as 'legacy_pdfkit_stage_000.js', is heavily obfuscated but contains eval() calls, indicating it's designed to run arbitrary code. ClamAV detections further confirm its malicious nature, flagging it as 'Pdf.Exploit.Agent-35931' and an extracted artifact as 'Js.Exploit.Shellcode-18'. The primary function appears to be the execution of this malicious script, likely to download and execute a second-stage payload.

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: Pdf.Exploit.Agent-35931 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-35931
  • 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)
  • 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
cc701fb36719406c5a2c8430b6860c22d2f3ebf58a6b2fba566144544c46f5e1
pdf-javascript-stream PDF /JS object 6 at offset 0x1419 825 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
186340241e5fafa3955e017cac362435f981c98eb57e49c76906eb446522d672
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x16E 5129 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).