Malicious PDF — malware analysis report

Static analysis result for SHA-256 4725072beebf7977…

MALICIOUS

PDF

8.5 KB
MD5: eb5c0bbd6ed3ca68fa78fe0c1b27dbfb SHA-1: 1139133f2a7c98d52cf2471a4b154d180073bd7f SHA-256: 4725072beebf79770160e2b6f7d9d730cc0f202fb69336fb86078c5814e65f01
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. The heuristics indicate that this JavaScript is obfuscated and uses String.fromCharCode to reconstruct malicious code. The primary function of the script appears to be downloading and executing a secondary payload, as suggested by the ML classifier's high confidence score and the presence of multiple deobfuscated JavaScript stages.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9999

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)
  • 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)
  • syncAnnotScan annotation-staging primitive low PDF_FOXIT_SYNCANNOTSCAN
    PDF JavaScript calls syncAnnotScan() — a no-op annotation-enumeration primitive used by exploit-kit JavaScript to stage payload reads from annotation /Subject fields before eval(). Not a vulnerable sink itself; rarely seen in legitimate PDFs. (identified after JavaScript deobfuscation)
  • 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 4

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0004_000.js
be4694a17eb89a55f7eb3db389ba2bc4f102f4c7dcfc99549d848cdb7df5dfb5
pdf-javascript-stream PDF /JS object 4 at offset 0xE1 1940 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
numeric_charcode_stage_000.js
6c41320119e160dc719997b9a2efb3600ea9d7e9d7e44b4dc2125762dc9f365f
deobfuscated-js numeric char-code string decoded JavaScript at offset 0xEF 505 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
d02c92d14afce1842f35fca3eabab64ba47c2eee12ad1688a00505acfe0e5fbb
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x1C83 1777 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
legacy_pdfkit_stage_001.js
47a790f8cdf1ea9d02a3dde8f767054807722d2a13d65a8ec2bf83350f2cc334
deobfuscated-js annotation-subject callee-key decoded JavaScript at offset 0x4C3 5060 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).