Malicious PDF — malware analysis report

Static analysis result for SHA-256 80a4e1c839795e19…

MALICIOUS

PDF

150.7 KB Created: 2008-03-27 16:31:58 +08:00 Authoring application: Acrobat PDFMaker 6.0 for Word (via Acrobat Distiller 6.0 (Windows))
MD5: 9bd565f08da0fe0ac40b2872735cebc2 SHA-1: 8fefe4ab3684c0f3b9dbd25639684ea93debf36c SHA-256: 80a4e1c839795e19c530468599ef2f5449b8fd82303ccf71ad22906b30f4a53f
314 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1204.002 Malicious Link T1566.002 Spearphishing Attachment

This PDF file is identified as malicious by ClamAV (Pdf.Exploit.Agent-35909) and contains embedded JavaScript. The JavaScript stream utilizes the unescape() function and exploits CVE-2007-5659 via the Collab.collectEmailInfo method. Furthermore, a secondary embedded PDF was found with similar suspicious findings, including JavaScript and embedded files. The primary function of the embedded script appears to be downloading and executing a second-stage payload, as indicated by the heuristic firings and the nature of the exploit.

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. (matched in decompressed stream)
  • 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-35909 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-35909
  • 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)
  • 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
  • XFA form low PDF_XFA
    PDF uses XML Forms Architecture — can contain script logic
  • 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/xhtml
    • http://www.xfa.org/schema/xfa-data/1.0/
    • http://www.w3.org/1999/02/22-rdf-syntax-ns#
    • http://ns.adobe.com/iX/1.0/
    • http://ns.adobe.com/pdf/1.3/
    • http://ns.adobe.com/pdfx/1.3/
    • http://ns.adobe.com/photoshop/1.0/
    • http://ns.adobe.com/xap/1.0/
    • http://ns.adobe.com/xap/1.0/mm/
    • http://purl.org/dc/elements/1.1/

Extracted artifacts 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0041_000.js
9bdbfa5df6f827ff63cd61e1f8d58420b7f4b59844725102d812651a2abe8b1e
pdf-javascript-stream PDF /JS object 41 at offset 0x504C 3404 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 17 eval/decoder/string-building token(s).
stream_004_off00000b4e.bin
696304412ec6faab24da673f04fe78c8bae7717a62509603e80d390fee17eac0
decompressed-pdf-stream PDF FlateDecoded stream at offset 0xB4E 16939 bytes
polyglot_child_pdf_off0001f1d7.pdf
5c8af9725539c2d58bf544dac1a846a90e0f67dd881c9897847f7f495e2335db
polyglot-child-pdf Secondary PDF body inside pdf container at offset 0x1F1D7 26872 bytes
Detection
ClamAV: Pdf.Exploit.Agent-35909
Obfuscation or payload: unlikely