Malicious PDF / .TMP — malware analysis report

Static analysis result for SHA-256 ffb8d16f4a843d8a…

MALICIOUS

PDF / .TMP

588.0 KB Created: 2010-06-11 15:34:24 +08:00
MD5: c9e79620bd82e204586201116e2c6e27 SHA-1: f6b709948c768b70150d136eefe8236e04172bfb SHA-256: ffb8d16f4a843d8a091aecd62effe2b250231cfcd0cd149dea1aa2192499b343
380 Risk Score

Malware Insights

MITRE ATT&CK
T1204.002 Malicious File Execution: Malicious File T1059.001 Command and Scripting Interpreter: PowerShell

This PDF file exploits CVE-2009-4324 via embedded JavaScript, as indicated by multiple critical heuristic firings including 'CVE_2009_4324' and 'PDF_GENERIC_STAGE_RECOVERY'. The embedded JavaScript, specifically 'generic_stage_recovery_000.js', appears to be responsible for downloading and executing a secondary payload. The presence of an embedded SWF file named 'AES-PHP.swf' further suggests a multi-stage attack. ClamAV also detected this as 'Pdf.Exploit.Agent-35955'.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9952

Heuristics 12

  • 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)
  • Secondary embedded PDF body has suspicious static findings critical POLYGLOT_CHILD_PDF_STATIC_TRIAGE
    A valid PDF body was found at a nonzero offset inside another container and its carved contents matched PDF exploit or lure heuristics. This catches polyglots where the top-level magic routes to ZIP/OLE while a PDF reader or downstream parser opens the hidden PDF payload.
  • ClamAV: Pdf.Exploit.Agent-35955 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-35955
  • 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.
  • RichMedia (Flash) high PDF_RICHMEDIA
    PDF contains /RichMedia (Adobe Flash) which is a historic exploit vector (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.
  • Embedded file low PDF_EMBEDDED
    PDF embeds a file attachment — could carry an executable or another weaponised document as a nested payload
  • PDF paints image(s) but contains no text operators info PDF_IMAGE_ONLY_LURE
    PDF has 2 image XObject(s) and the content stream contains no text-emitting operators (BT/ET, Tj, TJ, ', ") in either raw bytes or decompressed streams — this is the screenshot-as-PDF pattern used to bypass text-based scanners and to deliver instructions purely through rendered pixels. It is informational unless paired with invisible links or risky URI context.
  • 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/pdf/1.3/
    • http://ns.adobe.com/xap/1.0/
    • http://purl.org/dc/elements/1.1/
    • http://ns.adobe.com/xap/1.0/mm/

Extracted artifacts 6

Files carved from inside the sample during analysis.

FilenameKindSourceSize
AES-PHP.swf
3717e671d23c561cfd9c7f930f85e60340a08899311807a62139d7a8326708f9
pdf-embedded-file PDF EmbeddedFile object 31 at offset 0x17FD 27313 bytes
Detection
ClamAV: Pdf.Exploit.Agent-35955
Obfuscation or payload: likely
Carved artifact entropy is 7.99, consistent with packed or encrypted content.
javascript_obj0039_000.js
a7b7d9f122fb4ba1a43217c39e2f32d09fdb8c8df0af8200c825cae7e0315993
pdf-javascript-stream PDF /JS object 39 at offset 0x889F 40884 bytes
generic_stage_recovery_000.js
f11e152ae5c1334ad8b204a727a35d951bdc97a8a1e8a03ca2fa821fbbd41d24
deobfuscated-js generic stage recovery null-collapse from JavaScript object 39 at offset 0x889F 20452 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 19 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
generic_stage_recovery_001.js
c87ee5521de0f4111db9a798b7635434cd6f0008839e984d3ff0a65d36708fd1
deobfuscated-js generic stage recovery null-collapse -> marker-XX-to-%u from JavaScript object 39 at offset 0x889F 10281 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 19 eval/decoder/string-building token(s).
objstm_0045_00.bin
d8c7b61038fd49faf55e6884815ed621f8c669b068e77aeeb41693dbc7c0e321
pdf-objstm-decoded PDF /ObjStm 45 0 obj (inflated) 455 bytes
polyglot_child_pdf_off00088730.pdf
73b5c2297d54ff4e7fe340e2f94c9cad65ef470766eea082d937c8597a7e0e7f
polyglot-child-pdf Secondary PDF body inside pdf container at offset 0x88730 43181 bytes
Detection
ClamAV: Pdf.Exploit.Agent-35955
Obfuscation or payload: unlikely