Malicious PDF — malware analysis report

Static analysis result for SHA-256 04a691630ede59df…

MALICIOUS

PDF

18.4 KB Created: 2008-08-08 14:26:29 +04:00 Authoring application: PScript5.dll Version 5.2 (via Acrobat Distiller 6.0 (Windows))
MD5: 8175212481f069a6dd54de9cbd044039 SHA-1: 51aff2164357561bc9eb0027c78c7e9f6b4118a5 SHA-256: 04a691630ede59dfc48bbb11298ffbe642dd80a097a373974513eb40cd997741
312 Risk Score

Malware Insights

MITRE ATT&CK
T1059.007 JavaScript T1203 Exploitation for Client Execution T1566.001 Spearphishing Attachment

This PDF file contains embedded JavaScript that is heavily obfuscated and utilizes the unescape() function, a common technique in exploit delivery. The critical heuristic 'CVE_2007_5659: Collab.collectEmailInfo' strongly suggests exploitation of a known PDF vulnerability. The embedded JavaScript is designed to download and execute a second-stage payload, as indicated by the 'Js.Exploit.Shellcode-18' ClamAV detection on an extracted artifact.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9999

Heuristics 10

  • 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 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 8

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0012_000.js
99cec2078fc7bea2cbcb0bc95a298829b5d14ea310d45249f1343db4d78138b7
pdf-javascript-stream PDF /JS object 12 at offset 0x384 5178 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 16 eval/decoder/string-building token(s).
javascript_obj0025_001.js
b53116f8b8c2df3a2d0ed7c765c4a93b5e96b9547fd5e69976e6a108cafca40f
pdf-javascript-stream PDF /JS object 25 at offset 0x22A3 5180 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 16 eval/decoder/string-building token(s).
javascript_obj0028_002.js
89ad9c71b8c2cf51720ef8bacba4b48ab70dcef8eea04ae209cf63065ba8bc05
pdf-javascript-stream PDF /JS object 28 at offset 0x3715 5125 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
901252ae37779271d4834176d5df7934b8515608d06322f1d8c369de440ed2ea
deobfuscated-js generic stage recovery split-literal-normalize from JavaScript object 12 at offset 0x384 4647 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
9d0c38001c7afd9d292f58a8b9923b15ae81e2d7404d3f6b95a0e29f9fee6dfa
deobfuscated-js generic stage recovery split-literal-normalize from JavaScript object 25 at offset 0x22A3 4649 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
b297a485ef8e6fb580cec5fd00f70f2c9f4cf8de035885fc28a5ffd96586d40a
deobfuscated-js generic stage recovery split-literal-normalize from JavaScript object 28 at offset 0x3715 4601 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 16 eval/decoder/string-building token(s).
generic_stage_recovery_003.js
c79c367f040524bb870a68514e54f5c85a9ddf0f82ffb7d653020cbc47528b53
deobfuscated-js generic stage recovery split-literal-normalize from combined JavaScript objects at offset 0x384 13899 bytes
Detection
ClamAV: Js.Exploit.Shellcode-18
Obfuscation or payload: likely
Carved artifact contains 48 eval/decoder/string-building token(s).
combined_document_js_000.js
72ffbc712d32684d158b56444f3539db0a5a30de1e6f77eac5ec5b6d15b3819a
deobfuscated-js combined document JavaScript streams at offset 0x384 15485 bytes
Detection
ClamAV: Js.Exploit.Shellcode-18
Obfuscation or payload: likely
Carved artifact contains 48 eval/decoder/string-building token(s).