Malicious PDF — malware analysis report

Static analysis result for SHA-256 d4ff9793fc0e3515…

MALICIOUS

PDF

178.7 KB Created: 2007-06-20 19:32:45 -04:00 Authoring application: TeX (via MiKTeX pdfTeX-1.30.6)
MD5: 4a077f44a2587498e2dce3c772467825 SHA-1: 4ebb08f4152b44faf2ad879a2f785dd8961c962d SHA-256: d4ff9793fc0e351529be0213667533354cbed4017a7b289fd6c1fe8ca39f4c4f
526 Risk Score

Malware Insights

MITRE ATT&CK
T1204.002 Malicious File T1566.002 Spearphishing Attachment T1059.003 Windows Command Shell T1105 Ingress Tool Transfer

This PDF file contains an embedded Windows executable disguised as 'trabalho.pdf'. It utilizes a launch action to execute 'cmd.exe' with parameters that facilitate the execution of the embedded payload, exploiting CVE-2010-1240. The embedded executable was detected by ClamAV as 'Win.Trojan.Swrort-5710536-0', and the PDF itself was flagged as 'Pdf.Tool.Agent-1388586'. The document also includes a lure to copy/paste content into a command-line context.

Heuristics 13

  • 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.
  • 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\\trabalho.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.
  • ClamAV: Pdf.Tool.Agent-1388586 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Tool.Agent-1388586
  • 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.
  • /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.
  • Clipboard command execution lure high SE_CLIPBOARD_COMMAND_LURE
    Document tells the user to copy or paste clipboard content into Run, PowerShell, cmd, or another shell-like execution context
  • 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
  • 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 9

Files carved from inside the sample during analysis.

FilenameKindSourceSize
trabalho.pdf
4cee5b589d65fb4f966cfd5543e9e2da9a6b3dd394bead7eab1334cbdface916
pdf-embedded-file PDF EmbeddedFile object 81 at offset 0x21B0C 73802 bytes
Detection
ClamAV: Win.Trojan.Swrort-5710536-0
Obfuscation or payload: unlikely
javascript_obj0082_000.js
2db2704459ad641aa6e37b2afeb80ee5baa2e80af805b320824f8abe09b3a351
pdf-javascript-stream PDF /JS object 82 at offset 0x2C717 57 bytes
stream_017_off000104b4.bin
26a71e142aed3793e1567c1cd7932c29c78ce859fef68fe1f4ac69f3e543d1a9
decompressed-pdf-stream PDF FlateDecoded stream at offset 0x104B4 2322 bytes
font_00_type1_off0000f6ee.bin
18b062a0e755cd48b455895c6b0598b7cbc6a2a955d3e0929fe3f283323a7580
pdf-font-stream PDF embedded font (type1) at offset 0xF6EE 1927 bytes
font_01_type1_off0000fde0.bin
0dbb7d8b4f848cec73b68a0cd7bedcf51a754560845eb1401ea99a10c1889529
pdf-font-stream PDF embedded font (type1) at offset 0xFDE0 1891 bytes
font_03_type1_off00010d33.bin
cf93697a9d48dd1afad0711ea43252ceb95e7d92a10a5f7b7c6f5d91c4181c9b
pdf-font-stream PDF embedded font (type1) at offset 0x10D33 1887 bytes
font_04_type1_off00015b01.bin
016cf7af4e3d3b3c137ed1b7e9a37ef787a61096b467750bf877df3d3c35e384
pdf-font-stream PDF embedded font (type1) at offset 0x15B01 17707 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact entropy is 7.88, consistent with packed or encrypted content.
font_05_type1_off0001a052.bin
21faa150f781d8f20df7402576cf38c3ffc143569f9192f79d4d164b1cb5599f
pdf-font-stream PDF embedded font (type1) at offset 0x1A052 8852 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact entropy is 7.64, consistent with packed or encrypted content.
font_06_type1_off0001c06e.bin
d81c70e8581ae4107eff4fe0a39a7997de293fc65990367ae8513fd2a662b3d6
pdf-font-stream PDF embedded font (type1) at offset 0x1C06E 20693 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact entropy is 7.90, consistent with packed or encrypted content.