Malicious PDF — malware analysis report

Static analysis result for SHA-256 887fc20706efd9f4…

MALICIOUS

PDF

1.95 MB Created: 2008-08-02 11:25:13 +04:00 Authoring application: PScript5.dll Version 5.2 (via Acrobat Distiller 6.0 (Windows))
MD5: dc9c8fff121a84e2a6c2e715a073f961 SHA-1: f78699f40fa2c360f6ea0ca9471faa37476db897 SHA-256: 887fc20706efd9f4825e99a74b6b273b03fa504ad135511c5355d9b93a3909ee
372 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 (Collab.collectEmailInfo) to achieve code execution. The JavaScript is heavily obfuscated and appears to be a dropper, as indicated by ClamAV detections of 'Pdf.Dropper.Agent-7279725-0' and 'Js.Exploit.Shellcode-18'. The primary attack vector is likely spearphishing attachment, leading to the execution of a malicious payload.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9998

Heuristics 11

  • 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. (matched in decompressed stream)
  • 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.
  • ClamAV: Pdf.Dropper.Agent-7279725-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Dropper.Agent-7279725-0
  • 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.
  • 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.
  • 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.
  • 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/
    • http://ns.adobe.com/xap/1.0/mm/
    • http://purl.org/dc/elements/1.1/

Extracted artifacts 6

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0016_000.js
a57b424ce100da4aa84ee81f8350f9368c263ade7ac2d448f11e0ca1c028ff4a
pdf-javascript-stream PDF /JS object 16 at offset 0x43D 5110 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 16 eval/decoder/string-building token(s).
javascript_obj0025_001.js
b5ba09264c453e6ea26221c74b8d20dbda7e6d374cf193467b0164fbf0f558e4
pdf-javascript-stream PDF /JS object 25 at offset 0x230D 5098 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 16 eval/decoder/string-building token(s).
generic_stage_recovery_000.js
6db5de115d2e11380a7ed717b591990ea2f68ba60a6e6f16b468930bb58072a6
deobfuscated-js generic stage recovery split-literal-normalize from JavaScript object 16 at offset 0x43D 4585 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 16 eval/decoder/string-building token(s).
generic_stage_recovery_001.js
bfa3337276d70f027e50f87d2bfec33d1a0eeb0fbe7435500776cc1a02485e58
deobfuscated-js generic stage recovery split-literal-normalize from JavaScript object 25 at offset 0x230D 4573 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 16 eval/decoder/string-building token(s).
generic_stage_recovery_002.js
d8932503576a3a349dc00193b33a2798354179078fa07fa4e2987942e268e666
deobfuscated-js generic stage recovery split-literal-normalize from combined JavaScript objects at offset 0x43D 9159 bytes
Detection
ClamAV: Js.Exploit.Shellcode-18
Obfuscation or payload: likely
Carved artifact contains 32 eval/decoder/string-building token(s).
combined_document_js_000.js
36782c5b1cf458d133a89e41676666c7241e5fc76a5a6bc37cebb5fd765c8b45
deobfuscated-js combined document JavaScript streams at offset 0x43D 10209 bytes
Detection
ClamAV: Js.Exploit.Shellcode-18
Obfuscation or payload: likely
Carved artifact contains 32 eval/decoder/string-building token(s).