Snuffleupagus is a PHP 7+ and 8+ module designed to drastically raise the cost of attacks against websites, by killing entire bug classes. It also provides a powerful virtual-patching system, allowing administrator to fix specific vulnerabilities and audit suspicious behaviours without having to touch the PHP code.
Key Features
mail
-based code executionsecure
and samesite
flag for cookieseval
clang-format
-enforced code styleDownload
We’ve got a download page, where you can find packages for your distribution, but you can of course just git clone
this repo, or check the releases on github.
Examples
We’re providing various example rules, that are looking like this:
#Harden the chmod
function
sp.disable_function.function(“chmod”).param(“mode”).value_r(“^[0-9]{2}[67]$”).drop();
#Mitigate command injection in system
sp.disable_function.function(“system”).param(“command”).value_r(“[$|;&`\n]”).drop();
Upon violation of a rule, you should see lines like this in your logs:
[snuffleupagus][0.0.0.0][disabled_function][drop] The execution has been aborted in /var/www/index.php:2, because the return value (0) of the function ‘strpos’ matched a rule.
Kali Linux 2024.4, the final release of 2024, brings a wide range of updates and…
This Go program applies a lifetime patch to PowerShell to disable ETW (Event Tracing for…
GPOHunter is a comprehensive tool designed to analyze and identify security misconfigurations in Active Directory…
Across small-to-medium enterprises (SMEs) and managed service providers (MSPs), the top priority for cybersecurity leaders…
The free and open-source security platform SecHub, provides a central API to test software with…
Don't worry if there are any bugs in the tool, we will try to fix…