RequestShield is a 100% Free and OpenSource tool designed to analyze HTTP access.logs and identify suspicious HTTP requests and potential security threats. It uses factors like geolocation, abuse history, request volume, and suspicious request paths to assign a risk score to each IP, providing actionable insights for security monitoring.
____ _ ____ _ _ _ _
| _ \ ___ __ _ _ _ ___ ___| |_/ ___|| |__ (_) ___| | __| |
| |_) / _ \/ _` | | | |/ _ \/ __| __\___ \| '_ \| |/ _ \ |/ _` |
| _ < __/ (_| | |_| | __/\__ \ |_ ___) | | | | | __/ | (_| |
|_| \_\___|\__, |\__,_|\___||___/\__|____/|_| |_|_|\___|_|\__,_|
|_|
RequestShield is a 100% Free and OpenSource tool designed to analyze HTTP access.logs and identify suspicious HTTP requests and potential security threats. It uses factors like geolocation, abuse history, request volume, and suspicious request paths to assign a risk score to each IP, providing actionable insights for security monitoring.
RequestShield helps security teams detect and mitigate threats by analyzing access logs in real-time. It’s ideal for:
/admin
)Install dependencies:
requests
, geoip2
, abuseipdb
).Obtain GeoLite2-Country.mmdb
RequestShield use GeoLite2 database to geo-locate IP.
Use this API key in the config.py file under the [API] section to enable abuse database lookups.
config.py
to set:
# DEFAULT (compile)
config_file["DEFAULT"] = {
"geoip_db": str(path / "GeoLite2-Country.mmdb"),
"log_file": str(path / "./logs/access.log"),
"max_requests_per_minute": int(changeme),
"risky_country": str("changeme"),
"unusual_status_codes": str("changeme")
}
# API (compile)
config_file["API"] = {
"abuseipdb_api_key": "changeme"
}
# WHITELIST (compile)
config_file["WHITELIST"] = {
"ips": "changeme"
}
Once properly edited, run:
python3 config.py
Run the tool with:
python3 requestshield.py
It processes the logs and generates a report (RequestShield_Report.html) summarizing suspicious activity and risks.
Output
For questions or further information, contact us at [email protected].
You can also find us on X : Osint Matter
Visit our website: osintmatter.com