OS command injection targets plugins that pass user input to operating-system commands (for example, image tools or backup utilities that call a shell). An attacker appends extra commands using shell operators so the server runs something it never intended, such as downloading malware.
How Aegisify WAF detects it
The command injection managed category looks for shell operators (;, &&, |, backticks, $(...)) combined with common command names and system paths. The WAF also has a heuristic that scores dense metacharacter usage (default threshold 12), which adds evidence when a payload is heavily packed with shell symbols.
Where to configure it
Aegisify WAF → WAF Settings → Managed Protection → OS command injection. It is enabled by default on Free and Pro installations in current releases, with a hit threshold of 1.
Tuning guidance
Technical sites, code-sharing forms, and developer tools can legitimately contain shell syntax. If you see those flagged:
- Confirm the exact route in Logs / Attack Story.
- Use an endpoint policy to raise the threshold for that route only.
- Keep the category enabled for the rest of the site.
Related protections
- RCE protection covers application-level code execution.
- Heuristic tuning explains the metacharacter threshold.
Read more about the Aegisify WAF managed attack protection.
