Malicious PDF — malware analysis report

Static analysis result for SHA-256 1407a421a7027fe7…

MALICIOUS

PDF

39.9 KB
MD5: 11b75677618cca9d46391a013eabb958 SHA-1: 7e8a2c434afdcdcce23052e14a08d38e47e8a8b6 SHA-256: 1407a421a7027fe78c63d56e68911f7fd64cd1bfbc94b8b835ae9044f7fab5f9
270 Risk Score

Malware Insights

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

The PDF sample contains embedded JavaScript that leverages the CVE-2009-4324 vulnerability to download a payload from the URL http://zyzda.in/new/post.php?e=8&&. The JavaScript is heavily obfuscated but the presence of shellcode download URL firings and the ClamAV detection strongly indicate malicious intent. The primary goal appears to be the execution of a second-stage payload.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 8

  • media.newPlayer — CVE-2009-4324 critical CVE exact CVE_2009_4324
    PDF JavaScript calls media.newPlayer — CVE-2009-4324 is a use-after-free in Adobe Reader's multimedia plugin triggered by media.newPlayer(). Actively exploited as a zero-day in December 2009. (identified after JavaScript deobfuscation)
  • ClamAV: Win.Trojan.Agent-36169 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Trojan.Agent-36169
  • 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.
  • 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://zyzda.in/new/post.php?e=8&&

Extracted artifacts 4

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0008_000.js
aea439ab01381350fa3dadf68830fbc189c4c6d4bb64467572e5081294d50859
pdf-javascript-stream PDF /JS object 8 at offset 0x1E7 2019 bytes
Detection
ClamAV: Win.Trojan.Agent-36169
Obfuscation or payload: unlikely
javascript_obj0008_001.js
29280b0bf51210850f0baab5476c1a79c9852f8c8083a969a54ad33781c9683c
pdf-javascript-stream PDF /JS object 8 at offset 0x209 40337 bytes
Detection
ClamAV: Win.Trojan.Agent-36169
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_000.js
4e225c059cd17abe33884c93d6a7bd250aa680bbb866e1b3f1f0fd18974150d6
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x9FE 2534 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).
legacy_pdfkit_stage_001.js
42025b552c7960b53abcd8cd732b01c8d109eccfdfefc352b9826c4d5807d414
deobfuscated-js cross-stage annotation API aliases at offset 0x1E7 81 bytes