Malicious PDF — malware analysis report

Static analysis result for SHA-256 321f71a74e0cfc86…

MALICIOUS

PDF

12.4 KB
MD5: 7333869a928267964fd2cded6318098d SHA-1: a570b6675d594e6ebba5590321561aca7505e9f7 SHA-256: 321f71a74e0cfc869a000dd15367637cee67746d4d2d0e30401948caed465a82
200 Risk Score

Malware Insights

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

This PDF file contains embedded JavaScript, indicated by multiple heuristic firings including 'PDF_JAVASCRIPT' and 'PDF_JS'. Critical heuristics like 'PDF_ANNOT_SUBJECT_MARKER_EVAL_STAGER' and 'CVE_2007_5659' point to the exploitation of a known vulnerability (CVE-2007-5659) using a stager that decodes and evaluates JavaScript from annotation metadata. The presence of deobfuscated JavaScript files ('legacy_pdfkit_stage_000.js', 'legacy_pdfkit_stage_001.js') further supports the execution of malicious code. The ClamAV detection 'Pdf.Exploit.Agent-36062' confirms its malicious nature. The script's likely intent is to download and execute a second-stage payload.

Heuristics 7

  • 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-36062 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-36062
  • 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.
  • PDF differential parser failed info PDF_DIFFERENTIAL_PARSE_FAILED
    The cross-check parser (pdfminer.six) failed on this file: PDF differential parser exited 1. Static heuristics still ran and any of their findings above are valid; only the differential cross-check signal is missing.
  • 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
068944f8c011a88ab770b45c6de142b9305a1f515d410204d5eadd9ac2b5bfb3
pdf-javascript-stream PDF /JS object 7 at offset 0x19B 373 bytes
legacy_pdfkit_stage_000.js
88f65d1fb8ffaa06ddf6c7af81bfc29812566ebb0815d684def7e444fb801804
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2F5 12113 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_001.js
c5089ae07b54ce15194e1755a34305dc0c8fd037628012ab6898696b13c445b1
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2F5 4981 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).