commix
Commix (short for Command Injection Exploiter) is an open-source penetration testing tool written in Python, originally created by security researcher Anastasios Stasinopoulos (alias ancst) and currently maintained on GitHub at https://github.com/commixproject/commix. It automates the detection and exploitation of command injection vulnerabilities in web applications, supporting a wide range of injection techniques, payloads, and bypass methods. The tool has been actively developed since 2014 and is widely used in both ethical hacking and malicious campaigns.
Commix employs multiple detection engines, including classic command injection, blind command injection (via time-based or out-of-band techniques), and file-based command injection. It can inject into parameters, headers, cookies, and HTTP request bodies, automatically determining the vulnerable parameter and the operating system (Linux, Windows, macOS). The tool supports a rich set of bypass techniques such as character encoding (URL, Base64, Unicode), case manipulation, comment insertion, and null-byte injection to evade web application firewalls (WAFs) and input filters. Commix can execute arbitrary shell commands, download/upload files, spawn interactive pseudo-terminals, and even escalate to full reverse shells. It integrates with other tools like sqlmap for combined SQLi + command injection attacks, and provides a templating system for custom payloads. The tool’s modular architecture allows users to create custom modules for specific targets or injection points.
First released in 2014, Commix quickly became a standard tool in offensive security assessments. In 2020, a CVE-2020-7388 vulnerability was disclosed in Commix’s own code (https://nvd.nist.gov/vuln/detail/CVE-2020-7388), where a specially crafted request could cause a remote crash (DoS) in the tool during its own scanning process. While no major publicly attributed attacks list Commix as the primary tool, its presence in penetration testing distributions like Kali Linux and BlackArch ensures its widespread use. Commix has been employed in real-world red team exercises and has been observed in malicious campaigns targeting vulnerable web applications, particularly those with unpatched command injection flaws in legacy CMS plugins and custom scripts.
Commix does not use a fixed User-Agent string by default but often mimics common browsers like Mozilla/5.0. However, the tool’s traffic patterns are distinctive: it sends multiple rapid requests with varying injection payloads (e.g., ;id, ;cat /etc/passwd, %26%26 whoami) and unique URL encoding. Requests may include headers like Accept: */* and Connection: keep-alive, but the key indicator is the payload structure. Logs will show repeated attempts with sleep (e.g., ;sleep 5) for blind detection, and baseline timing analysis of responses. IP addresses associated with known VPNs or Tor exit nodes are common sources of Commix scans.
Successful exploitation of command injection via Commix can grant an attacker full operating system-level access to the web server. This allows data exfiltration, file modification, installation of backdoors, lateral movement within the network, and complete compromise of the web application and its data. In multi-tenant environments, a single vulnerable parameter can lead to full server takeover, impacting all hosted services.
Commix is blocked immediately on detection because its automated exploitation capabilities make it a high-risk tool for unauthorized use. Mitigation includes strict input validation and output encoding, use of parameterized queries, and deploying web application firewalls (WAFs) with rules that detect common command injection payload patterns. Logs must be monitored for the characteristic timing and encoding patterns described above.
Similar Threats
🛡️
Boteraser automatically detects and blocks unwanted bots — protecting your site from scrapers, DDoS bursts, and credential stuffing attacks without slowing down real visitors.
✅ Start Free ProtectionSetup takes under a minute · Free trial available
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the bots listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.
Stay up to date with the latest from Boteraser.
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
CloudFlare provides web performance and security solutions, enhancing site speed and protecting against threats.
Service URL: developers.cloudflare.com (opens in a new window)
These cookies are needed for adding comments on this website.
These cookies are used for managing login functionality on this website.
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
Google Analytics is a powerful tool that tracks and analyzes website traffic for informed marketing decisions.
Service URL: policies.google.com (opens in a new window)
You can find more information in our Cookie Policy and Privacy Policy.