Published Master Exploit Detection Rules
TrapGuard servers check this published list daily (midnight UTC) and auto-apply validated updates while keeping local custom rules untouched.
260 Active RulesSHA-256: ac40117798f0fe73Updated: 2026-12-01T14:04:38Z
# TrapGuard Master Trap Rules (v2.0 — High-Precision Curated Signatures)
# One rule per line. Blank lines and lines starting with '#' are ignored.
#
# Rule syntax:
# passwords.txt -> Basename match at ANY path depth (/passwords.txt, /sub/passwords.txt)
# /secret/admin.php -> Exact normalized path match from web root
# /.git/ -> Path prefix match from web root (/.git, /.git/config, /.git/HEAD)
# *.sql.gz -> Glob match on basename at any depth (supports * and ?)
# */.git/* -> Glob match on full normalized path (because it contains '/')
# regex:^/\.env(\.|$) -> Perl regular expression matched against normalized path
# ua:artex -> User-Agent rule: substring match (glob if * or ? present)
# ua:regex:^nuclei/ -> User-Agent regular expression (always case-insensitive)
# query:regex:... -> Regular expression matched against the DECODED query string
# exact:/foo/bar -> Explicit exact path match
#
# Design policy: ZERO false positives on legitimate traffic. Every active rule
# targets files, exploit payloads, webshells, or offensive scanners that normal
# visitors and SEO crawlers never touch.
# All matching runs AFTER multi-pass URL percent-decoding, NUL stripping,
# Tomcat semicolon-param stripping, and slash normalization.
# ============================================================
# 1. Credential Text Files & Environment Secrets (.env family)
# ============================================================
passwords.txt
password.txt
passwd.txt
credentials.txt
creds.txt
secrets.txt
secret.txt
shadow.txt
.env
.env.*
.envrc
.secrets
secrets.json
secrets.yaml
secrets.yml
credentials.json
appsettings.json
appsettings.*.json
web.config
serviceAccountKey.json
gcp-key.json
.terraform.tfstate
terraform.tfstate
terraform.tfstate.backup
terraform.tfvars
kubeconfig
.s3cfg
.dockercfg
*/.docker/config.json
# ============================================================
# 2. SSH / Crypto Private Keys & Cloud Credential Stores
# ============================================================
id_rsa
id_dsa
id_ecdsa
id_ed25519
*.ppk
*.p12
*.pfx
*.jks
*.kdbx
*/.aws/*
*/.azure/*
*/.kube/*
.git-credentials
.pgpass
.my.cnf
.netrc
.npmrc
.pypirc
server.key
private.key
.htpasswd
.htpasswd.*
# ============================================================
# 3. CMS / Application Config Backups & Framework Secrets
# ============================================================
wp-config.php
wp-config.*
wp-config.php.*
wp-configs.php
wp-conflg.php
wp-conf.php
configuration.php
configuration.php.*
config.php.bak
config.php.old
config.php.save
config.php.swp
config.inc.php.bak
config.inc
settings.php.bak
LocalSettings.php.bak
database.yml
database.yml.*
params.yml
props.yml
*/app/etc/local.xml
*/app/etc/env.php
*/sites/default/settings.php.bak
*/wp-content/debug.log
# ============================================================
# 4. Database Dumps & Key-Value Snapshots
# ============================================================
db.sql
database.sql
dump.sql
mysql.sql
data.sql
users.sql
dump.rdb
*.sql
*.sql.gz
*.sql.bz2
*.sql.xz
*.sql.zst
*.sql.zip
*.sql.tar.gz
*.sqlite
*.sqlite3
mysqldump.*
# ============================================================
# 5. Archive Backups of the Site Itself
# ============================================================
backup.zip
backup.tar
backup.tar.gz
backup.tgz
backup.rar
backup.7z
backups.zip
backups.tar.gz
backups.tar
fullbackup.zip
site.zip
site.tar.gz
www.zip
www.tar.gz
public_html.zip
public_html.tar.gz
htdocs.zip
html.zip
home.zip
root.zip
web.zip
files.zip
all.zip
db.zip
db.tar.gz
wp-content-*.zip
wordpress-*.zip
cpanel-backup*.tar.gz
*backup*.zip
*backup*.tar.gz
*backup*.tgz
*backup*.sql
# ============================================================
# 6. Version Control & Hidden Development Directories
# ============================================================
*/.git/*
*/.git-rewrite/*
*/.svn/*
*/.hg/*
.DS_Store
*/.idea/*
*/.vscode/*
*/.sass-cache/*
*/.phpintel/*
# ============================================================
# 7. Known Exploit Payloads, RCE Targets & PHP Webshell Probes
# ============================================================
phpinfo.php
*/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php
*/phpunit/src/Util/PHP/eval-stdin.php
*/lib/phpunit/phpunit/src/Util/PHP/eval-stdin.php
*/wp-includes/wlwmanifest.xml
*/kcfinder/upload.php
*/tinymce/plugins/filemanager/dialog.php
*/plugins/filemanager/dialog.php
*/js/tinymce/plugins/filemanager/dialog.php
*/_ignition/execute-solution
*/@fs/etc/passwd
*/@fs/proc/*
*/actuator/heapdump
*/actuator/env
*/actuator/gateway/routes
*/jolokia/list
*/boaform/admin/*
*/HNAP1/*
*/cgi-bin/luci/*
*/Telerik.Web.UI.WebResource.axd
*/Autodiscover/Autodiscover.xml
*/owa/auth/x.js
*/ecp/Current/exporttool/*
*/solr/admin/cores
*/invoker/JMXInvokerServlet
*/manager/text/list
*/console/login/LoginForm.jsp
*/wp-content/plugins/wp-file-manager/lib/php/connector.minimal.php
*/wp-content/plugins/revslider/temp/update_extract/*
*/wp-content/ai1wm-backups/*
*/dup-installer/main.installer.php
# Known webshell filenames probed by automated botnets
c99.php
r57.php
wso.php
wso2.php
b374k.php
alfa.php
alfa-rex.php
xleet.php
xleetshell.php
marijuana.php
indoxploit.php
minishell.php
webshell.php
c100.php
gel4y.php
k2ll33d.php
bypass403.php
anonsec.php
wp-l0gin.php
wp-the1me.php
wp-sigunq.php
# ============================================================
# 8. Editor / OS Temp Artifacts
# ============================================================
*.swp
*.swo
*.save
*.orig
*~
# ============================================================
# 9. Query-String Exploit Fingerprints (SQLi, LFI, JNDI, SSRF, SSTI, XXE, RCE)
# ============================================================
query:regex:(?:\.\./){2,}
query:regex:(?:\.\.\\){2,}
query:regex:/etc/passwd
query:regex:/proc/self/environ
query:regex:windows/win\.ini
query:regex:union(?:\s|\+|%20){1,3}(?:all(?:\s|\+|%20){1,3})?select
query:regex:information_schema
query:regex:into(?:\s|\+|%20)+(?:dump)?file
query:regex:(?:eval|assert|system|passthru|shell_exec|exec)(?:\(|%28)
query:regex:\$\{jndi:(?:ldap|ldaps|rmi|dns|iiop|corba|nds|http):
query:regex:(?:php://(?:filter|input)|expect://|phar://|data://text/plain)
query:regex:(?:169\.254\.169\.254|metadata\.google\.internal|100\.100\.100\.200)
query:regex:<!ENTITY\b
query:regex:\{\{\s*7\s*\*\s*7\s*\}\}
# ============================================================
# 10. Offensive Scanner & AI Agentic-Attack User-Agents
# ============================================================
ua:artex
ua:norma/
ua:hexstrike
ua:pentestgpt
ua:strix
ua:shannon-agent
ua:projectdiscovery
ua:interactsh
ua:nuclei
ua:ffuf
ua:gobuster
ua:feroxbuster
ua:dirsearch
ua:dirbuster
ua:wfuzz
ua:whatweb
ua:wpscan
ua:sqlmap
ua:nikto
ua:masscan
ua:zgrab
ua:arachni
ua:acunetix
ua:netsparker
ua:invicti
ua:nessus
ua:openvas
ua:havij
ua:jaeles
ua:dalfox
ua:commix
ua:xsstrike
ua:kiterunner
ua:rustbuster
ua:subfinder
ua:katana
ua:l9explore
ua:l9tcpid
ua:leakix
ua:zmeu
ua:morfeus
ua:jorgee
ua:paros
ua:webinspect
ua:appscan
ua:w3af
ua:skipfish
ua:hydra
ua:medusa
ua:cobalt
ua:metasploit
ua:burpcollaborator
ua:expanse
ua:driftnet
ua:modatscanner
ua:censysinspect
# ============================================================
# OPTIONAL RULES (commented out — higher chance of touching a
# legitimate visitor; enable if your sites don't use them)
# ============================================================
#xmlrpc.php # needed by Jetpack + official mobile apps
#.htaccess # admins sometimes view it in a browser
#adminer.php # some devs keep this as a DB tool
#info.php # common manual PHP check page
#test.php # generic dev page name
#console/ # Symfony profilers; clashes if you have a real /console app
#/actuator/ # Spring Boot; only relevant on Java stacks
#server-status # Apache mod_status if exposed
#.docker/
#docker-compose.yml
#kubernetes/
#.gitlab-ci.yml
#composer.lock
#*.pem # some sites serve certs for pinning
#uploads/*.php.disabled
#ua:python-requests # MANY legitimate API integrations use this
#ua:Go-http-client # common for health monitors
#ua:HeadlessChrome # legit QA + monitors too