Malicious PDF — malware analysis report

Static analysis result for SHA-256 3126330fd3f35696…

MALICIOUS

PDF

9.5 KB Created: 2008-04-28 12:17:40 +03:00
MD5: 36e30a23fa4aa2b93fe58d3d8d1433d2 SHA-1: 9bf0db6b65ceb2f3cd5dce829e334a12a33005c7 SHA-256: 3126330fd3f35696518f68a0a47a387a8fc46959a80e0abbcf9ea5cce4de1b0a
166 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 JavaScript/Shell Scripting: JavaScript T1204.001 Malicious Link/URL: Malicious Link T1204.002 Malicious Link/URL: Malicious File

This PDF file contains embedded JavaScript that is designed to exploit CVE-2007-5659 in Adobe Reader. The JavaScript uses eval() and String.fromCharCode() to deobfuscate and execute a malicious payload. The ML classifier strongly indicates maliciousness, and the presence of obfuscated JavaScript streams further supports this. The primary attack vector appears to be exploiting a known Adobe Reader vulnerability to achieve arbitrary code execution.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9999

Heuristics 9

  • 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)
  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution (matched inside decoded stream)
  • 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.
  • Embedded file low PDF_EMBEDDED
    PDF embeds a file attachment — could carry an executable or another weaponised document as a nested payload
  • 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)
  • Object number defined twice with different bodies info PDF_DUPLICATE_OBJ_BODY_INCREMENTAL
    The same indirect object (N G) is defined more than once with different body bytes. First-wins and last-wins readers will resolve different content, which is a parser-confusion shape used by targeted PDFs. Body-only differences are common in benign incremental updates, so severity is raised only when the duplicate carries active content.
  • 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.
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL http://www.w3.org/1999/02/22-rdf-syntax-ns#
    • http://ns.adobe.com/iX/1.0/
    • http://ns.adobe.com/pdf/1.3/
    • http://ns.adobe.com/xap/1.0/

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0016_000.js
3410fb260fb5dff3602dcc80a532e84edbca82553d1daa0fc3222c1624a5eed5
pdf-javascript-stream PDF /JS object 16 at offset 0x931 7066 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_000.js
87d3cb82c8fcf355fc35bccd117771919e2776c7d3ca75201e64158e81bcfd89
deobfuscated-js CRC32 callee-key hex decoded JavaScript at offset 0x931 2560 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 eval/decoder/string-building token(s).