Malicious PDF — malware analysis report

Static analysis result for SHA-256 204afcd07f1985bc…

MALICIOUS

PDF

12.1 KB
MD5: 8e59fc7b001088df2a46843a6caa83f3 SHA-1: 0072b0631e3a3a170ff75b682ee617b329990d57 SHA-256: 204afcd07f1985bc206ec4178a4160e364353ffa716aa903e3dbe78500c4e6ec
198 Risk Score

Malware Insights

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

The PDF file contains obfuscated JavaScript, indicated by multiple heuristic firings including 'PDF_JAVASCRIPT', 'PDF_JS', and 'PDF_ANNOT_SUBJECT_MARKER_EVAL_STAGER'. The critical 'CVE_2007_5659' firing specifically points to the use of the 'Collab.collectEmailInfo' JavaScript function, a known exploit vector. The embedded JavaScript streams, 'legacy_pdfkit_stage_000.js' and 'legacy_pdfkit_stage_001.js', are likely responsible for downloading and executing a secondary payload, a common technique for initial access.

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: Heuristics.PDF.ObfuscatedNameObject critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Heuristics.PDF.ObfuscatedNameObject
  • 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
6f60a1053baafdc578f85eae84a2dc6d16775fbd66240d82cbfb7b4f4ff4e90a
pdf-javascript-stream PDF /JS object 7 at offset 0x19D 295 bytes
legacy_pdfkit_stage_000.js
dc0cbb674abacdcc99182d683a0d4fe5e431330a81921192114d6c9d67623962
deobfuscated-js z-percent hex-pair decoded JavaScript at offset 0x2E9 5112 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).
legacy_pdfkit_stage_001.js
d5e7ef653ddd41f53021347d41770d8841e8f830db9a9e9b1f30ea277ccea5cb
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2E9 12267 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).