Malicious PDF — malware analysis report

Static analysis result for SHA-256 6299dde3983220b5…

MALICIOUS

PDF

137.0 KB Created: 2008-04-23 16:42:36 +08:00 Authoring application: Acrobat PDFMaker 6.0 for Word (via Acrobat Distiller 6.0 (Windows))
MD5: 97632b7b4fe1d1a48b41b2e2fb3b6a07 SHA-1: fe5f367d09405c18da26d01ba8d52d3bac647917 SHA-256: 6299dde3983220b5a86ce4b6737fd96e634358e9a1c559976476473f04dcacbc
504 Risk Score

Malware Insights

MITRE ATT&CK
T1203 Exploitation for Client Execution T1059.007 JavaScript

This PDF file contains embedded JavaScript that exploits CVE-2007-5659 in Adobe Reader. The JavaScript uses `eval(unescape(...))` to deobfuscate and execute malicious code, which is designed to download and run a secondary payload. The embedded artifact `ctfmon.exe` and the deobfuscated JavaScript files are indicative of a downloader or initial execution stage.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9998

Heuristics 14

  • 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)
  • PDF JavaScript exploit cluster critical PDF_JS_EXPLOIT_CLUSTER
    PDF combines an executable JavaScript/action surface with exploit staging indicators such as eval/unescape/fromCharCode, XFA script content, or a related CVE pattern. Benign form JavaScript remains low-severity, but this correlated cluster is high-confidence malicious behavior.
  • Embedded Windows executable payload in PDF stream critical PDF_EMBEDDED_PE_PAYLOAD
    PDF stream bytes contain an embedded Windows executable with a verified PE header. Exploit chains often hide droppers inside ordinary streams rather than standard /EmbeddedFile attachments.
  • Secondary embedded PDF body has suspicious static findings critical POLYGLOT_CHILD_PDF_STATIC_TRIAGE
    A valid PDF body was found at a nonzero offset inside another container and its carved contents matched PDF exploit or lure heuristics. This catches polyglots where the top-level magic routes to ZIP/OLE while a PDF reader or downstream parser opens the hidden PDF payload.
  • ClamAV detection on extracted artifact critical EXTRACTED_FILE_CLAMAV
    ClamAV flagged at least one file extracted from inside this sample. Even when the wrapping document carries no AV detection of its own, a hit on the carved artifact is a strong indicator the sample is a delivery vehicle.
  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution (matched inside decoded stream)
  • unescape() call high PDF_UNESCAPE
    unescape() found — often used to decode shellcode in PDF JS exploits (matched inside decoded stream)
  • Generic recovered JavaScript exploit stage high PDF_GENERIC_STAGE_RECOVERY
    Bounded static stage recovery exposed hidden JavaScript through generic transforms such as null-byte collapse, percent decoding, marker replacement, arithmetic character codes, fromCharCode, numeric arrays, numeric-array minus-key decoders, alphabet-index arrays, /Producer half-difference metadata arrays, hex literals, marker-stripped Base64 literals, custom 6-bit XOR table decoders, or repeated-marker hex carriers. This rule is emitted only when the recovered stage contains exploit-like Acrobat JavaScript or shellcode markers.
  • Suspicious extracted artifact medium 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.
  • 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
  • XFA form low PDF_XFA
    PDF uses XML Forms Architecture — can contain script logic
  • 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/xhtml
    • http://www.xfa.org/schema/xfa-data/1.0/
    • 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/pdfx/1.3/
    • http://ns.adobe.com/photoshop/1.0/
    • http://ns.adobe.com/xap/1.0/
    • http://ns.adobe.com/xap/1.0/mm/
    • http://purl.org/dc/elements/1.1/

Extracted artifacts 7

Files carved from inside the sample during analysis.

FilenameKindSourceSize
ctfmon.exe
48e449f1dbb36c155ae86f1f9556fa905354655ba2d3a3b3188608684d5423c1
pdf-embedded-file PDF EmbeddedFile object 29 at offset 0x11B1 15228 bytes
javascript_obj0026_000.js
97607f052bdaa41ec51cbb9f3d6c0ecdda7860b008e351c9c36e052afa13967d
pdf-javascript-stream PDF /JS object 26 at offset 0xA98 10231 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 hex-escaped blob(s).
javascript_obj0026_001.js
cc4be1d69d57ace5d97ac35b35680e21792859941e554d93d707ad2f437647fc
pdf-javascript-stream PDF /JS object 26 at offset 0xACF 10090 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 hex-escaped blob(s).
generic_stage_recovery_000.js
11a7b2dd86b1ed9d3b9eee3330244bb37cd434a58bbe7f961b5ec3604dd48594
deobfuscated-js generic stage recovery percent-decode from JavaScript object 26 at offset 0xA98 3423 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 19 eval/decoder/string-building token(s).
generic_stage_recovery_001.js
c7726cd347a47eeda9880dc03a5d5f970c0ea004cb1ecf8808c4c79f100a9bcf
deobfuscated-js generic stage recovery percent-decode from combined JavaScript objects at offset 0xA98 6798 bytes
Detection
ClamAV: Js.Exploit.Shellcode-18
Obfuscation or payload: likely
Carved artifact contains 37 eval/decoder/string-building token(s).
generic_stage_recovery_002.js
1f94c6df3df36042bfdb173adde20f022f32b001842e67d141f8c0a931fc1138
deobfuscated-js generic stage recovery percent-decode from JavaScript object 26 at offset 0xACF 3374 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 18 eval/decoder/string-building token(s).
polyglot_child_pdf_off0001ce84.pdf
e418dbe843a9a2ddc96a0a153d3563ccaadefb2ab330ca92426a3d9bb1415ff5
polyglot-child-pdf Secondary PDF body inside pdf container at offset 0x1CE84 21933 bytes