Malicious PDF — malware analysis report

Static analysis result for SHA-256 2f689d9c43bebbfe…

MALICIOUS

PDF

13.5 KB
MD5: 5a82afcef8cfe679b3484a3370cb4420 SHA-1: 4b90b6d6da9b4874b7d4d189e70aa2789a0b1664 SHA-256: 2f689d9c43bebbfeb29efff1c98ff89ccc02ecf0d216a2d44fe6f948bc81ed67
198 Risk Score

Malware Insights

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

This PDF file contains embedded JavaScript, identified by multiple heuristics including PDF_JAVASCRIPT and PDF_JS. The critical heuristic PDF_ANNOT_SUBJECT_MARKER_EVAL_STAGER indicates the use of an eval stager within the annotation subject, and CVE_2007_5659 points to the exploitation of a known vulnerability (Collab.collectEmailInfo) using hex-decoded JavaScript. The embedded JavaScript streams, particularly legacy_pdfkit_stage_000.js and legacy_pdfkit_stage_001.js, are likely responsible for downloading and executing a secondary payload, as suggested by the ClamAV detection of Pdf.Exploit.Agent-36064.

Heuristics 6

  • 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)
  • Annotation subject percent-decoding eval stager critical PDF_ANNOT_SUBJECT_MARKER_EVAL_STAGER
    OpenAction JavaScript forces annotation enumeration, reads an annotation /Subject payload with getAnnots(), rewrites marker bytes into percent escapes, decodes it with unescape(), and dispatches it through eval. This is a high-confidence exploit-kit staging pattern. It is intentionally not mapped to CVE-2009-1492 unless getAnnots() itself carries the crafted integer or long argument shape for that vulnerability.
  • ClamAV: Pdf.Exploit.Agent-36064 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-36064
  • 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 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0007_000.js
a5c8f0f722df4dd9876a0087e1eee65bd3020c5995f94f6729f7e17f3f3677a0
pdf-javascript-stream PDF /JS object 7 at offset 0x19D 331 bytes
legacy_pdfkit_stage_000.js
c9be049f8293352659a41a38b948af4d506ba837f7877facb5723cc263e85bed
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2F2 12563 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_001.js
bbfb0354e8b7686605afe50f334cc9884b6e45aaf119ecb812c20db725fe1941
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2F2 5272 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).