Win.Trojan.Agent-36168 — PDF malware analysis

Static analysis result for SHA-256 5b447a93d4638fdd…

MALICIOUS

PDF

3.9 KB Created: 2008-31-20 53:85:00 Authoring application: Scribus 1.3.3.12 (via Scribus PDF Library 1.3.3.12)
MD5: 469439e51ea6c51005a440b6d1a5a2b2 SHA-1: b6f405eed06447ab92ef1ede9218a2362848dece SHA-256: 5b447a93d4638fddb7f9a5c783113d7dabb95327f57a99180eceb8bcb3ef7ccb
548 Risk Score

Malware Insights

Win.Trojan.Agent-36168 · confidence 95%

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

This PDF file contains embedded JavaScript that leverages multiple CVEs (CVE-2007-5659 and CVE-2008-2992) to execute arbitrary code. The JavaScript is obfuscated and appears to be designed to download and run a secondary payload, as indicated by the 'generic stage recovery' heuristics. ClamAV detection further confirms its malicious nature, identifying it as Win.Trojan.Agent-36168.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 12

  • 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)
  • util.printf — CVE-2008-2992 critical CVE exact CVE_2008_2992
    PDF JavaScript calls util.printf() — CVE-2008-2992 is a stack buffer overflow in Adobe Reader triggered by a long format-specifier argument. Widely exploited in the wild after disclosure. (matched in decompressed stream)
  • Pidief-style multi-CVE JavaScript dispatcher critical CVE likely PDF_PIDIEF_MULTI_CVE_DISPATCH
    A single JavaScript body branches on app.viewerVersion and invokes two or more of the canonical Reader sinks (Collab.collectEmailInfo, Collab.getIcon, util.printf with a field-width format string). This is the 2009-2010 Pidief.J multi-exploit landing template: a per-version dispatcher that fires the matching CVE chain for whichever Reader version opens the file.
  • 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.
  • Multi-CVE Adobe Reader JavaScript exploit kit critical PDF_ADOBE_READER_MULTI_CVE_JS_KIT
    One recovered JavaScript stage contains multiple version-gated Adobe Reader exploit branches. This is stronger evidence than independent API keywords: the PDF is selecting old Reader vulnerabilities by viewer version and running heap-sprayed Acrobat JavaScript exploit paths.
  • ClamAV: Win.Trojan.Agent-36168 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Trojan.Agent-36168
  • 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.
  • 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 4

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0013_001.js
7db4f2fa22f5daa70944b8cb08e585d58a583c0eafdd2f8a433372ce3455a365
pdf-javascript-stream PDF /JS object 13 at offset 0x3FD 10806 bytes
Detection
ClamAV: Win.Trojan.Agent-36168
Obfuscation or payload: likely
Carved artifact contains 6 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
generic_stage_recovery_000.js
ebfd928bb69b6515991b605b15c39a981b6d43c89d55d5d53f160b433a7128bd
deobfuscated-js generic stage recovery percent-decode from JavaScript object 13 at offset 0x3FD 10804 bytes
Detection
ClamAV: Win.Trojan.Agent-36168
Obfuscation or payload: likely
Carved artifact contains 6 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
generic_stage_recovery_001.js
e341904851fd9735103f1874def163aaf4d975b8359bb664c7ae5ab347496e06
deobfuscated-js generic stage recovery percent-decode from combined JavaScript objects at offset 0xD 10819 bytes
Detection
ClamAV: Win.Trojan.Agent-36168
Obfuscation or payload: likely
Carved artifact contains 6 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
combined_document_js_000.js
3a64547903116bb335cdecaf5b3e3713d4f1ee99b7ce9010bebeb47808ba3461
deobfuscated-js combined document JavaScript streams at offset 0xD 10821 bytes
Detection
ClamAV: Win.Trojan.Agent-36168
Obfuscation or payload: likely
Carved artifact contains 6 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).