A comprehensive security analysis tool designed to detect potential backdoors, vulnerabilities, and malicious code in software projects. This tool combines static analysis, YARA rule-based detection, vulnerability scanning, and runtime monitoring to identify security threats.
git clone https://github.com/ekomsSavior/backdoor_detector.git
cd backdoor_detector
pip install yara-python psutil requests safety pip-audit --break-system-packages
pip install tkinter flask --break-system-packages
For complete vulnerability scanning, install these tools:
bash
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b /usr/local/bin v0.68.2python backdoor_detector.py --mode web --host 0.0.0.0 --port 8080
Then open your browser to: http://localhost:8080
# Basic scan
python backdoor_detector.py /path/to/your/project
# With custom options
python backdoor_detector.py /path/to/project \
--runtime 60 \
--output ./my_scan_results \
--yara-rules ./custom_rules
# Scan with specific interface mode
python backdoor_detector.py /path/to/project --mode cli
python backdoor_detector.py --mode gui
The tool performs analysis in multiple phases:
Some features require external security tools:
- Safety: Python vulnerability scanner
- Trivy: Comprehensive vulnerability scanner
- npm: For Node.js projects
- pip-audit: Python package audit tool
psutil and appropriate permissionsPlace your custom YARA rules in the yara_rules directory with .yar or .yara extension.
--output parameter (default: scan_results)web_scans/ directoryThe tool generates:
1. JSON Report: Detailed machine-readable findings
2. HTML Report: Interactive web-based report with filtering
3. Console Summary: Quick overview of findings
IMPORTANT: only use on systems you have permission to test on
// click a file to view source