Malicious PDF — malware analysis report

Static analysis result for SHA-256 87c11ff726ee793e…

MALICIOUS

PDF

935.0 KB Created: 2009-02-13 10:53:57 +01:00 Authoring application: PScript5.dll Version 5.2.2 (via Acrobat Distiller 7.0.5 (Windows)) First seen: 2013-10-13
MD5: 0d9eb9ce9b7df0a6d02e79ef933f6f0e SHA-1: 18af8ed3d87b0448553c1b73879a3fc92b99dab7 SHA-256: 87c11ff726ee793e4d912ede823e36060b69b8bdea02bc67836ad688edbb7b37
568 Risk Score

Malware Insights

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

This PDF document contains embedded JavaScript that utilizes the `exportDataObject` function to launch an embedded executable disguised as a PDF file named 'Gestion_General_Parte1.pdf'. The critical heuristic `PDF_LAUNCH_COMMAND` and `CVE_2010_1240` indicate that `cmd.exe` is launched, confirming the execution of a payload. The embedded executable was detected by ClamAV as `Pdf.Tool.Agent-1388586` and `Win.Trojan.MSShellcode-6360728-0`, suggesting it is a dropper or downloader.

Machine Learning

  • Nyx PDF Classifier clean score 0.0147

Heuristics 14

  • Adobe Reader Launch action command execution critical CVE exact CVE_2010_1240
    PDF uses the Adobe Reader/Acrobat Launch action pattern associated with CVE-2010-1240: cmd.exe is invoked with attacker-controlled parameters, paired with an embedded/exported payload.
  • ClamAV: Pdf.Tool.Agent-1388586 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Tool.Agent-1388586
  • Embedded PDF child has suspicious static findings critical PDF_EMBEDDED_CHILD_STATIC_TRIAGE
    PDF contains an embedded PDF stream whose extracted child matches suspicious or malicious PDF heuristics. Wrapper PDFs are commonly used to hide the actual exploit or lure payload from scanners that do not recursively inspect attachments.
  • Launch action critical PDF_LAUNCH
    PDF contains a /Launch action whose target is an executable, URL, or UNC path — can start an external application
  • Embedded Windows executable payload in PDF stream critical PDF_EMBEDDED_PE_PAYLOAD
    PDF stream bytes contain an embedded Windows executable with a verified PE header. Exploit chains often hide droppers inside ordinary streams rather than standard /EmbeddedFile attachments.
  • /Launch action target: cmd.exe critical PDF_LAUNCH_COMMAND
    PDF /Launch action specifies an executable target with parameters '/Q /C %HOMEDRIVE%&cd %HOMEPATH%&(if exist "Desktop\\Gestion_General_Parte1.pdf" (cd "Desktop"' — references a known-dangerous executable (cmd, PowerShell, etc.).
  • Embedded attachment masquerades: declared document, content is windows-executable critical PDF_EMBEDDED_FILESPEC_CONTENT_MISMATCH
    An /EmbeddedFile attachment's declared filename extension or /Subtype MIME type contradicts the magic bytes of its decompressed content. The attachment is declared as a benign document or image but the bytes are an executable or executable-bearing archive. This is a deliberate deception used to hide droppers in PDF attachments and is a generic indicator of embed-and-drop weaponisation, independent of any specific CVE.
  • /Launch action paired with attachment-dropping JS API high PDF_LAUNCH_PLUS_DROPPER_JS
    PDF combines a /Launch action with a JavaScript API call that writes or opens an attached/external resource — the canonical shape of the CVE-2010-1240 /Launch + exportDataObject family. Benign PDFs do not pair these surfaces; the combination indicates a drop-and-execute chain regardless of the specific JS API knobs or /Launch target.
  • Suspicious extracted artifact medium 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 file low PDF_EMBEDDED
    PDF embeds a file attachment — could carry an executable or another weaponised document as a nested payload
  • JavaScript action low 1 related finding 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.
  • Remote GoTo action info PDF_GOTO_REMOTE
    PDF has GoToR/GoToE actions that reference sibling document files — typical of multi-part document bundles
  • 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://ocsp.verisign.com0 In extracted file (stream_006_off0000fdac.bin)
    • http://www.w3.org/1999/02/22-rdf-syntax-ns#In PDF document text
    • http://ns.adobe.com/xap/1.0/In PDF document text
    • http://purl.org/dc/elements/1.1/In PDF document text
    • http://ns.adobe.com/xap/1.0/mm/In PDF document text
    • http://ns.adobe.com/pdf/1.3/In PDF document text
    • http://crl.verisign.com/ThawteTimestampingCA.crl0In extracted file (stream_006_off0000fdac.bin)
    • http://crl.verisign.com/tss-ca.crl0In extracted file (stream_006_off0000fdac.bin)
    • http://crl.microsoft.com/pki/crl/products/CodeSignPCA2.crl0OIn extracted file (stream_006_off0000fdac.bin)
    • http://www.microsoft.com/pki/certs/CodeSignPCA2.crt0In extracted file (stream_006_off0000fdac.bin)
    • http://www.microsoft.com/typographyIn extracted file (stream_006_off0000fdac.bin)
    • http://www.iec.chIn extracted file (icc_00_off000071f2.icc)

Extracted artifacts 10

Files carved from inside the sample during analysis.

FilenameKindSourceSize
Gestion_General_Parte1.pdf pdf-embedded-file PDF EmbeddedFile object 161 at offset 0x71CC6 47616 bytes
SHA-256: 9a3613e2d1e9b3326987e488ca6d9555da2093638bf52ce93e4ab5da3d6e2288
Detection
ClamAV: Win.Trojan.MSShellcode-6360728-0
Obfuscation or payload: likely
actual_type=PE; declared_or_context_type=PDF; filename=Gestion_General_Parte1.pdf; kind=pdf-embedded-file Carved artifact entropy is 7.77, consistent with packed or encrypted content.
javascript_obj0162_000.js pdf-javascript-stream PDF /JS object 162 at offset 0x7CD71 71 bytes
SHA-256: eb5ec7c17484776ae8c77f022d6c21b7d0955975d64ab803d824f9bae4d8017a
Preview script
First 1,000 lines of the extracted script
this.exportDataObject({ cName: "Gestion_General_Parte1", nLaunch: 0 });
stream_006_off0000fdac.bin decompressed-pdf-stream PDF FlateDecoded stream at offset 0xFDAC 46368 bytes
SHA-256: a31f715ef4460e8d4ba59faa64354efa125a66d81fab9b86ef6be5883e9484d6
icc_00_off000071f2.icc pdf-icc-profile PDF ICC profile at offset 0x71F2 3144 bytes
SHA-256: 2b3aa1645779a9e634744faf9b01e9102b0c9b88fd6deced7934df86b949af7e
font_00_sfnt_off00008584.bin pdf-font-stream PDF embedded font (sfnt) at offset 0x8584 34500 bytes
SHA-256: bb384e83cdf2b27fe1d389ca743ae3492a70f6b1d7ce1c295774bc1fb25a6147
font_01_sfnt_off0000cc88.bin pdf-font-stream PDF embedded font (sfnt) at offset 0xCC88 26076 bytes
SHA-256: 2c8cbd333d6ccc4013339edb3414706e74a99e4737ca181970ca0c917da31807
font_03_sfnt_off00015cbb.bin pdf-font-stream PDF embedded font (sfnt) at offset 0x15CBB 30860 bytes
SHA-256: 90ce649578cc9a9d640904d43a689a83e7acade16845c28d9d1c56e3a3e897f5
font_04_sfnt_off000191fc.bin pdf-font-stream PDF embedded font (sfnt) at offset 0x191FC 33076 bytes
SHA-256: 55b8fc732973708a3bd85b1d89759b5762154aceecd11d3d0602eb049b050757
font_05_sfnt_off0001d1e9.bin pdf-font-stream PDF embedded font (sfnt) at offset 0x1D1E9 27236 bytes
SHA-256: 9981498992f8d5ad736ecadbb84b33fb0d63d19e15e6bb8912a13a9521669d92
home_tone_Desktop_FadenMaloEsparza.pdf pdf-embedded-file PDF EmbeddedFile object 158 at offset 0x718E3 512668 bytes
SHA-256: 539f2f796acd03d352b2d86f09a8deb8cdc26b91e59d3fa529083940bceb964e
Detection
ClamAV: Pdf.Tool.Agent-1388586
Obfuscation or payload: unlikely