Malicious PDF — malware analysis report

Static analysis result for SHA-256 03f73568b2351801…

MALICIOUS

PDF

177.2 KB Created: 2009-03-03 12:58:28 -05:00 Authoring application: Writer (via OpenOffice.org 3.0)
MD5: 402120141fca36571322d2acba54a020 SHA-1: 7441ffe7da429a9a7ed8bdeb2f0e3692498e292a SHA-256: 03f73568b23518012f3831e76a082e9e42aae344fae52958cdd3d3909b01a2da
558 Risk Score

Malware Insights

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

The PDF file contains JavaScript that triggers a launch action, executing cmd.exe. This command is designed to execute an embedded Windows executable payload, disguised as 'invoice2.pdf'. The embedded executable was detected by ClamAV as 'Win.Trojan.Swrort-9886728-0', indicating a trojan. The overall behavior suggests a malicious document designed to deliver a secondary payload via a spearphishing attachment.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9998

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.
  • 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\\invoice2.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.
  • Clickable PDF combines external action with parser-evasion structure high PDF_ACTION_PARSER_EVASION
    PDF has an external clickable URI together with object graph or xref structures that make parsers disagree, such as divergent duplicate objects, parser divergence, or xref offset mismatch. That combination is stronger than a plain link: the document is both an outward-action carrier and a parser-confusion/evasion sample.
  • 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
  • External URI info PDF_URI
    PDF contains an external URL action
  • 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.irongeek.com/i.php?page=security/roguefileshares
    • http://riscit.info/
    • http://irongeek.com/
    • http://www.irongeek.com/i.php?page=security/decaffeinatid-simple-ids-arpwatch-for-windows
    • http://www.irongeek.com/i.php?page=security/arpspoof
    • http://www.irongeek.com/i.php?page=security/AQuickIntrotoSniffers
    • http://theory.kaos.to/projects.html
    • http://www.hamachi.cc/
    • http://www.theta44.org/karma/
    • http://www.remote-exploit.org/
    • http://www.monkey.org/~dugsong/dsniff/
    • http://www.oxid.it/cain.html
    • http://www.softperfect.com/
    • http://www.irongeek.com/i.php
    • http://www.irongeek.com/i.php?page=security/decaffeinatid-
    • http://irongeek.com
    • http://riscit.info
    • http://www.monotype.comhttp://www.monotype.com/html/type/license.html
    • http://www.dd-wrt.com/
    • http://nmap.org/
    • http://www.torproject.org/
    • http://www.tcpdump.org/
    • http://ettercap.sourceforge.net/
    • http://www.wireshark.org/
    • http://www.monotype.com/html/mtname/ms_timesnewroman.htmlhttp://www.monotype.com/html/mtname/ms_welcome.htmlNOTIFICATION

Extracted artifacts 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
invoice2.pdf
f7f9f38cb10981cd71448cf4c3b26df784ede9b8ea7a09487267231cd26ccf25
pdf-embedded-file PDF EmbeddedFile object 55 at offset 0x2733E 37888 bytes
Detection
ClamAV: Win.Trojan.Swrort-9886728-0
Obfuscation or payload: unlikely
javascript_obj0056_000.js
f9de902f7587df91976c816de25061afac03a989592f521746ae081efada7116
pdf-javascript-stream PDF /JS object 56 at offset 0x2C034 57 bytes
font_00_sfnt_off0001bb3d.bin
4812f673d29ccbd908bb35115e8badb757aa428ca4e37d673529247d7eb54d42
pdf-font-stream PDF embedded font (sfnt) at offset 0x1BB3D 61992 bytes