Malicious PDF — malware analysis report

Static analysis result for SHA-256 004bec4c467020da…

MALICIOUS

PDF

4.8 KB Created: 2008-08-06 01:42:27 Authoring application: Scribus 1.3.3.12 (via Scribus PDF Library 1.3.3.12)
MD5: 6b582bd1fdcd041babd52e05408aacbf SHA-1: 8b3a6cd9e478d94bba03ae899512c73cf53f1388 SHA-256: 004bec4c467020dad3c0d903ff18f45bb38de71668a0c824a89b264ffd99b0f6
308 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1204.002 Malicious File

This PDF file contains embedded JavaScript that utilizes the unescape() function and exploits the CVE-2007-5659 vulnerability (Collab.collectEmailInfo). The JavaScript is heavily obfuscated and appears to be a downloader for a second-stage exploit or payload, as indicated by the 'generic stage recovery' heuristics and ClamAV detection of 'Js.Exploit.Shellcode-18'. The ML classifier also strongly indicates maliciousness.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 8

  • 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.
  • 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
  • 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.
  • 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 6

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0012_001.js
ae6b31760b8d89aa9b1cc703174c1374c3b00dd8948409be299f940ca8413e64
pdf-javascript-stream PDF /JS object 12 at offset 0x36D 3220 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 eval/decoder/string-building token(s).
javascript_obj0012_002.js
87047476ead19983d8709b304032e1d4d81548b0b300498ff50824f884b06f00
pdf-javascript-stream PDF /JS object 12 at offset 0x393 3959 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 eval/decoder/string-building token(s).
generic_stage_recovery_000.js
aabb45d8ac5584ef996f1d50e3ccf68f9f35e1777d0e6f05c9a78925747f1400
deobfuscated-js generic stage recovery split-literal-normalize from JavaScript object 12 at offset 0x36D 2361 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 eval/decoder/string-building token(s).
generic_stage_recovery_001.js
779cd9ec8bfe9a34a5bccc6af4198a7fa2f552dc96be68416a81203636999565
deobfuscated-js generic stage recovery split-literal-normalize from JavaScript object 12 at offset 0x393 3100 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 eval/decoder/string-building token(s).
generic_stage_recovery_002.js
b19a0056eb169096a512fd6c1fb34571f737e29618de67011e4dd489fe4ab2ed
deobfuscated-js generic stage recovery split-literal-normalize from combined JavaScript objects at offset 0x11 5477 bytes
Detection
ClamAV: Js.Exploit.Shellcode-18
Obfuscation or payload: likely
Carved artifact contains 6 eval/decoder/string-building token(s).
combined_document_js_000.js
89080ffcc10ead1e549c163d56cbc40a0182c26dd77b3ac746df672b54534aec
deobfuscated-js combined document JavaScript streams at offset 0x11 7195 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 6 eval/decoder/string-building token(s).