Malicious PDF — malware analysis report

Static analysis result for SHA-256 5dc384284a952296…

MALICIOUS

PDF

4.1 KB Created: 2008-09-07 22:47:39 Authoring application: Scribus 1.3.3.12 (via Scribus PDF Library 1.3.3.12; modified using iText 2.1.7 by 1T3XT)
MD5: 29b0156cb7d18b8f12dbf2dc7453e584 SHA-1: 3c07e49dceff2087f04cc18ec5411cfba3e3f430 SHA-256: 5dc384284a952296255cdc6a6f0419ec22764b698d1d7902bd052fbc7ce89f00
410 Risk Score

Malware Insights

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

The sample is a PDF file that contains embedded JavaScript, which is known to exploit vulnerabilities. The JavaScript attempts to download a second-stage payload from the URL http://hexatomb.com/files/z/ex.php?h=ex1. This is further supported by critical heuristics indicating a PDF JavaScript exploit cluster and shellcode download URL.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

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.
  • 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-7264484-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Dropper.Agent-7264484-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.
  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution
  • 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.
  • PDF JavaScript shellcode contains an embedded download URL high PDF_JS_SHELLCODE_DOWNLOAD_URL
    Decoded PDF JavaScript shellcode contains a hardcoded http(s) URL stored as little-endian %uXXXX Unicode escapes. Reader exploit shellcode embeds the second-stage fetch URL this way and pulls it down with a urlmon/URLDownloadToFile-style download-and-execute (commodity downloader behaviour rather than a specific Acrobat CVE).
  • 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.
  • 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://hexatomb.com/files/z/ex.php?h=ex1

Extracted artifacts 6

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0013_001.js
22d57e04209b4019561d929f867336ed86589a6773ab336718ec3b042588060d
pdf-javascript-stream PDF /JS object 13 at offset 0x352 2598 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
javascript_obj0013_002.js
f25da1e62810540f0a24a62e4897f9bf7683f3dec1022832a5f2690af311a234
pdf-javascript-stream PDF /JS object 13 at offset 0x372 3294 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
generic_stage_recovery_000.js
d8ecdc9b237b1ec650177b7e25d1098f42b96a6f7d7439539f380782287ee719
deobfuscated-js generic stage recovery percent-decode from JavaScript object 13 at offset 0x352 2582 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
generic_stage_recovery_001.js
9d173d06343d9114d265d3682995dca1f6dc435127516588e6bc23f2c3119bb6
deobfuscated-js generic stage recovery percent-decode from JavaScript object 13 at offset 0x372 3278 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
generic_stage_recovery_002.js
53c6300b817ec0736904b532ffe40a89b44744bf83b5be1657c61dcc4d864cac
deobfuscated-js generic stage recovery percent-decode from combined JavaScript objects at offset 0xF 5879 bytes
Detection
ClamAV: Js.Exploit.Shellcode-18
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).
combined_document_js_000.js
adc9dd0cf4acaab788dda0677a37dee96d388e7b25a0339cab2265751b22107d
deobfuscated-js combined document JavaScript streams at offset 0xF 5911 bytes
Detection
ClamAV: Js.Exploit.Shellcode-18
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).