Malicious PDF — malware analysis report

Static analysis result for SHA-256 b2e5c3436e18e8e4…

MALICIOUS

PDF

12.2 KB
MD5: 29bd1aefacdc7460fd1ecc88e5f1d951 SHA-1: 53fdc5f8907567a36e05d6b250f65df24062e519 SHA-256: b2e5c3436e18e8e485e052736fe7e92ab6f1fe3e487884bf5a3f8bb89a711e39
126 Risk Score

Malware Insights

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

The PDF file contains embedded JavaScript that leverages the CVE-2007-5659 vulnerability (Collab.collectEmailInfo). This JavaScript is heavily obfuscated and appears to be a stager for further malicious code. The primary attack vector is the exploitation of a known PDF vulnerability to achieve arbitrary code execution. The recovered JavaScript is a hex-encoded stager that decodes and evaluates further obfuscated JavaScript, likely to download and execute a second-stage payload.

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 callee-key hex JavaScript stager high PDF_ANNOT_SUBJECT_CALLEE_HEX_STAGER
    PDF JavaScript uses syncAnnotScan()/getAnnots() to read an indirect annotation /Subject stream, percent-decodes it through marker replacement, then uses a callee.toString()-derived key to decode and eval the final exploit stage.
  • 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.
  • String.fromCharCode low PDF_FROMCHARCODE
    String.fromCharCode found — used to construct payload strings dynamically. Common in benign JavaScript libraries for codepoint manipulation, so this alone is informational; weaponised use is also caught by the dedicated fromCharCode-stage and exploit-shape rules. (matched inside decoded stream)
  • 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_obj0007_000.js
c860bd3a1b8438b37e98a599719a1868ae540624631f091272ffef48912644f4
pdf-javascript-stream PDF /JS object 7 at offset 0x19C 579 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
annotation_subject_callee_hex_stage_000.js
6eec82aeae62dc4a1d7f719760571c045ed52039cf3ec04dff52738226d453d2
deobfuscated-js annotation-subject callee-key decoded JavaScript at offset 0x14A 5400 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).