
Auditeur de sécurité de serveurs analysant les configurations Apache, Nginx et IIS avec des guides de durcissement assistés par IA et des rapports professionnels.
Auditeur de sécurité de serveurs pour Apache, Nginx et IIS — 13 phases de scan, plus de 70 codes de constat, guides de durcissement assistés par IA.
Démarrage rapide · Documentation · Docker · Analyse IA · Suivre sur GitHub
Rapport HTML — répartition par sévérité, correspondance OWASP, barre de filtres |
Tableau des constats — badges CVE/CWE, preuves dépliables, extraits de configuration |
Hephaestus est un auditeur de sécurité de serveurs prêt pour la production qui place l'éthique en premier. Conçu pour les administrateurs système, les ingénieurs DevOps et les testeurs d'intrusion, il analyse les configurations de serveurs web (Apache, Nginx, IIS) afin d'identifier les mauvaises configurations critiques avant que des attaquants ne les exploitent.
~/.argos/argos.db)python -m heph --target https://example.com --html
- **Prise en charge multi-serveurs** : détection et durcissement d'Apache, Nginx, IIS
- **Analyse concurrente** : pool de threads + limitation de débit pour des analyses rapides et respectueuses
- **Collecte de preuves** : réponses HTTP, en-têtes, contenus de fichiers préservés
- **Gestion élégante des erreurs** : délais d'expiration, échecs DNS, connexions refusées gérés de manière robuste
### 🤖 Guides de durcissement assistés par IA
Choisissez votre fournisseur d'IA en fonction de vos besoins :
| Fournisseur | Idéal pour | Vitesse | Coût | Confidentialité |
| -------------------- | ------------------ | --------------- | ------------- | --------------- |
| **OpenAI GPT-4** | Qualité production | ⚡ Rapide (35s) | 💰 $0.25/scan | 🔒 Standard |
| **Anthropic Claude** | Orienté confidentialité | ⚡ Rapide (45s) | 💰 $0.30/scan | 🔒 Améliorée |
| **Ollama (Local)** | Confidentialité totale | 🐢 Lent (28min) | 💰 Gratuit | 🔐 100 % hors ligne |
**Deux modes d'analyse :**
- **Technique** : extraits de configuration Apache/Nginx, commandes CLI, durcissement pas à pas
- **Exécutif** : évaluation des risques en langage clair pour les parties prenantes et la direction
### 📊 Rapports professionnels
**Rapports JSON** (lisibles par machine)```json
{
"tool": "hephaestus",
"version": "0.2.0",
"target": "https://example.com",
"mode": "safe",
"summary": {
"critical": 3,
"high": 2,
"medium": 5,
"low": 3,
"info": 0
},
"findings": [...],
"diff": {...}
}
Rapports HTML (conviviaux)
L'analyse agressive et l'analyse IA nécessitent une preuve de propriété :```bash
python -m heph --gen-consent example.com
echo "verify-abc123..." > .well-known/verify-abc123.txt
python -m heph --verify-consent http --domain example.com --token verify-abc123
python -m heph --target https://example.com --aggressive --use-ai
### 💾 Persistance de la base de données
Base de données SQLite **partagée avec la suite Argos** (`~/.argos/argos.db`) :
- **Historique des scans** : date, durée, nombre de résultats, répartition par sévérité
- **Référentiel de résultats** : base de données de vulnérabilités consultable (1159+ résultats stockés)
- **Domaines vérifiés** : suivi des jetons de consentement avec expiration
- **Intégration multi-outils** : fonctionne de manière transparente avec Argus, Pythia et les futurs outils```bash
# Query recent scans
sqlite3 ~/.argos/argos.db "SELECT * FROM scans WHERE tool='hephaestus' ORDER BY scan_id DESC LIMIT 10"
# Find critical issues
sqlite3 ~/.argos/argos.db "SELECT * FROM findings WHERE severity='critical' AND tool='hephaestus'"
Hephaestus v0.2.0 a été validé empiriquement à l'aide de laboratoires vulnérables contrôlés basés sur Docker (Apache et Nginx).
Couverture des tests (13 phases) :
Résultats clés :
--diff last) fonctionnels sur tout l'historique des scansVerdict : Hephaestus est prêt pour la production pour les évaluations de sécurité des serveurs.
1. Clonez le dépôt```bash git clone https://github.com/rodhnin/hephaestus-server-forger.git cd hephaestus-server-forger
**2. (Facultatif) Installer `venv` s'il n'est pas déjà disponible**```bash
# Debian/Ubuntu
sudo apt update && sudo apt install -y python3-venv
# Fedora/RHEL
sudo dnf install python3-virtualenv
# macOS (via Homebrew)
brew install [email protected]
3. Créer et activer l'environnement virtuel```bash python3 -m venv .venv source .venv/bin/activate
**4. Mettre à niveau pip**```bash
python -m pip install --upgrade pip
5. Installer les dépendances```bash python -m pip install -r requirements.txt
**6. Configurer les clés API (si vous utilisez l'IA cloud)**```bash
# OpenAI
export OPENAI_API_KEY="sk-..."
# Anthropic
export ANTHROPIC_API_KEY="sk-ant-..."
7. Vérifier l'installation```bash python -m heph --version
### Votre premier scan```bash
# Basic scan (safe mode, no consent required)
python -m heph --target https://example.com
# With HTML report
python -m heph --target https://example.com --html
# With AI hardening guide (requires consent)
python -m heph --target https://example.com --use-ai --html
cd docker && ./deploy.sh
docker compose exec hephaestus python -m heph --target http://vulnerable-apache
🎉 Succès! Vérifiez ~/.hephaestus/reports/ pour vos rapports.
python -m heph --target https://example.com
python -m heph --target https://example.com --html
python -m heph --target https://example.com -vv
python -m heph --target https://example.com -q
### Analyse avancée```bash
# Control scan speed (1-20 req/s)
python -m heph --target https://example.com --rate 10
# Control concurrency (1-20 threads)
python -m heph --target https://example.com --threads 8
# Custom timeout (useful for slow servers)
python -m heph --target https://example.com --timeout 60
# Custom output directory
python -m heph --target https://example.com --report-dir ./my-reports
# Custom User-Agent
python -m heph --target https://example.com --user-agent "MyBot/1.0"
# Disable SSL verification (testing only)
python -m heph --target https://self-signed.badssl.com --no-verify-ssl
Étape 1 : Configurez votre fournisseur
Modifiez config/defaults.yaml :```yaml
ai:
langchain:
provider: "openai" # Options: openai, anthropic, ollama
model: "gpt-4o-mini-2024-07-18"
temperature: 0.3
**Étape 2: Testez votre configuration**```bash
# Verify AI provider works
python -m heph.core.ai openai
Étape 3 : Lancer l'analyse propulsée par l'IA```bash
python -m heph --target https://example.com
--use-ai
--ai-tone technical
--html
python -m heph --target https://example.com
--use-ai
--ai-tone non_technical
--html
python -m heph --target https://example.com
--use-ai
--ai-tone both
--html
python -m heph --target https://example.com
--use-ai
--ai-stream
--html
python -m heph --target https://example.com
--use-ai
--ai-compare openai,anthropic
--html
python -m heph --target https://example.com
--use-ai
--ai-agent
--html
python -m heph --target https://example.com
--use-ai
--ai-budget 0.50
--html
### Mode agressif (Nécessite un consentement)```bash
# Step 1: Generate consent token
python -m heph --gen-consent example.com
# Output: Token: verify-a3f9b2c1d8e4...
# Step 2: Place token on your server
# Create: https://example.com/.well-known/verify-a3f9b2c1d8e4.txt
# Content: verify-a3f9b2c1d8e4
# Step 3: Verify consent
python -m heph --verify-consent http \
--domain example.com \
--token verify-a3f9b2c1d8e4
# Step 4: Run aggressive scan (deeper checks, higher rate limit)
python -m heph --target https://example.com --aggressive
Hephaestus utilise LangChain 1.0.0 avec la prise en charge de plusieurs fournisseurs d'IA.
Idéal pour : Usage en production
#### Anthropic Claude
**Idéal pour: Confidentialité renforcée**
- ⭐ Qualité: Excellente (5/5)
- ⚡ Vitesse: ~45 secondes
- 💰 Coût: ~$0.30 par scan
- 🔒 Confidentialité: Renforcée (l'approche d'Anthropic axée sur la confidentialité)```bash
export ANTHROPIC_API_KEY="sk-ant-..."
python -m pip install langchain-anthropic==1.0.0
Idéal pour : Confidentialité totale
ollama pull llama3.2 python -m pip install "langchain-ollama>=0.3.0,<0.4.0"
### Confidentialité et sécurité
**Assainissement automatique**
Avant l'envoi aux fournisseurs d'IA, Hephaestus supprime automatiquement :
- ✅ Jetons de consentement
- ✅ Clés API et identifiants
- ✅ Clés privées et certificats
- ✅ Adresses IP internes
- ✅ Identifiants de base de données
**Opt-In Uniquement**
- L'analyse IA nécessite l'option explicite `--use-ai`
- L'analyse agressive nécessite un jeton de consentement vérifié
- Vous contrôlez quel fournisseur voit vos données
**Pour une confidentialité maximale** : utilisez Ollama localement.
---
## 🧪 Laboratoires de test sécurisés
**⚠️ NE SCANNEZ JAMAIS des sites de production sans autorisation écrite !**
Utilisez nos laboratoires Docker pour vous entraîner en toute sécurité :
### Configurer l'environnement de test
### Option 1 : Script interactif (recommandé)```bash
# Run the interactive deployment script
cd docker && ./deploy.sh
Le script propose 5 options :
Testing Lab uniquement :```bash
docker compose -f docker/compose.testing.yml up -d
sleep 15
docker compose -f docker/compose.testing.yml ps curl -I http://localhost:8080 # Apache curl -I http://localhost:8081 # Nginx
**Scanner de production:**```bash
# Start Hephaestus scanner service
docker compose -f docker/compose.yml up -d
# Run a scan
docker compose -f docker/compose.yml exec hephaestus heph --target https://example.com
# View reports
ls -lh docker/reports/
Les deux environnements :```bash
docker compose -f docker/compose.yml up -d docker compose -f docker/compose.testing.yml up -d
python -m heph --target http://localhost:8080 --html python -m heph --target http://localhost:8081 --html
### Scannez les laboratoires```bash
# Scan Apache lab (from host)
python -m heph --target http://localhost:8080 --html
# Scan Nginx lab (from host)
python -m heph --target http://localhost:8081 --html
# AI-powered analysis (requires OPENAI_API_KEY)
python -m heph --target http://localhost:8080 --use-ai --html
# OR from inside production container (using container name)
docker compose -f docker/compose.yml exec hephaestus python -m heph --target http://hephaestus-vulnerable-apache --html
Apache Lab (localhost:8080):
Nginx Lab (localhost:8081):
Arrêter les services :```bash
cd docker && ./deploy.sh # Choose option 4 (Stop All)
docker compose -f docker/compose.yml down docker compose -f docker/compose.testing.yml down
**Tout supprimer (AVERTISSEMENT : supprime les données et les rapports) :**```bash
# Using script (with confirmation)
cd docker && ./deploy.sh # Choose option 5 (Remove All)
# OR manually
docker compose -f docker/compose.yml down -v
docker compose -f docker/compose.testing.yml down -v
rm -rf docker/data docker/reports
Hephaestus propose deux options de déploiement Docker :
Service de scanner de production :```bash
docker compose -f docker/compose.yml up -d
docker compose -f docker/compose.yml exec hephaestus heph --target https://example.com --html
ls -lh docker/reports/
docker compose -f docker/compose.yml down
**Laboratoire de test (Serveurs vulnérables) :**```bash
# Start Apache + Nginx vulnerable servers
docker compose -f docker/compose.testing.yml up -d
# Scan from host
python -m heph --target http://localhost:8080 --html
# Stop lab
docker compose -f docker/compose.testing.yml down
Script de déploiement interactif:```bash
cd docker && ./deploy.sh
### Option 2 : Exécution Docker directe
**Construire l'image :**```bash
docker build -f docker/Dockerfile -t hephaestus:0.2.0 .
Lancer une analyse ponctuelle :```bash
docker run --rm
-v $(pwd)/docker/reports:/reports
-v $(pwd)/docker/data:/data
hephaestus:0.2.0
--target https://example.com
--html
**Avec analyse IA :**```bash
docker run --rm \
-v $(pwd)/docker/reports:/reports \
-e OPENAI_API_KEY="$OPENAI_API_KEY" \
hephaestus:0.2.0 \
--target https://example.com \
--use-ai \
--ai-tone both \
--html
Scanner le laboratoire de test local :```bash
docker compose -f docker/compose.testing.yml up -d
docker run --rm
--network hephaestus-lab
hephaestus:0.2.0
--target http://hephaestus-vulnerable-apache
---
## 📊 Comprendre les rapports
### Structure des rapports```
~/.hephaestus/
├── reports/
│ ├── hephaestus_report_example_20251021_143022.json
│ └── hephaestus_report_example_20251021_143022.html
└── (shared with Argos)
~/.argos/
├── argos.db # Shared database
└── logs/
└── hephaestus.log
HEPH-SRV-001: Server version disclosed (Apache/Nginx/IIS) HEPH-SRV-004: Server disclosed in error page HEPH-SRV-016: PHP version disclosed in Server header HEPH-SRV-017: OpenSSL version disclosed in Server header HEPH-FILE-001: Environment file exposed (.env) HEPH-FILE-002: Git repository exposed HEPH-FILE-003: PHP information page exposed HEPH-FILE-004: Apache server-status exposed HEPH-HTTP-003: Unsafe HTTP method in OPTIONS (TRACE) HEPH-HTTP-008: TRACE method enabled (XST vulnerability) HEPH-HDR-001: Missing security header: HSTS HEPH-HDR-002: Missing security header: CSP HEPH-HDR-003: Missing security header: X-Frame-Options HEPH-HDR-004: Missing security header: X-Content-Type-Options HEPH-HDR-005: Missing security header: Referrer-Policy HEPH-HDR-006: Missing security header: Permissions-Policy HEPH-CFG-001: Directory listing enabled HEPH-TLS-000: TLS not enabled HEPH-TLS-001: Weak TLS protocol (SSLv3, TLS 1.0) HEPH-TLS-002: Weak cipher suite enabled COR-001 to COR-006: CORS misconfiguration findings ROB-001/002/003: Robots.txt intelligence findings WAF-001/002: WAF detection findings API-001 to API-005: API discovery findings COO-001 to COO-005: Cookie security findings PHP-001 to PHP-009: phpinfo() dangerous settings
### Cartographie des sévérités
- **CRITICAL** : .env exposé, .git accessible, phpinfo, server-status, dumps SQL
- **HIGH** : Version du serveur divulguée, TLS faible, TLS absent, méthodes HTTP non sécurisées
- **MEDIUM** : En-têtes importants manquants (HSTS, CSP, X-Frame-Options), listage de répertoire, divulgation de page d'erreur
- **LOW** : En-têtes mineurs (X-Content-Type-Options, Referrer-Policy, Permissions-Policy)
- **INFO** : Constats informatifs (serveur détecté, TLS 1.2 OK)
---
## 📁 Structure du projet```
hephaestus-server-forger/
│
├── heph/ # Main application package
│ ├── checks/ # Security check modules (13 phases)
│ │ ├── __init__.py
│ │ ├── api_discovery.py # Phase 11: Swagger/OpenAPI/GraphQL exposure
│ │ ├── config.py # Phase 5: Directory listing detection
│ │ ├── config_file.py # Phase 14: Offline httpd.conf/nginx.conf parser
│ │ ├── cookies.py # Phase 12: HttpOnly/Secure/SameSite analysis
│ │ ├── cors.py # Phase 8: CORS wildcard & reflection probes
│ │ ├── files.py # Phase 2: 70+ sensitive file paths
│ │ ├── headers.py # Phase 4: Security headers analysis
│ │ ├── http_methods.py # Phase 3: Unsafe HTTP methods (PUT/DELETE/TRACE)
│ │ ├── phpinfo.py # Phase 13: phpinfo() dangerous settings
│ │ ├── ports.py # Phase 7: 37-port scanner with banner grabbing
│ │ ├── robots.py # Phase 9: robots.txt disallowed path analysis
│ │ ├── server_info.py # Phase 1: Apache/Nginx/IIS fingerprinting
│ │ ├── tls.py # Phase 6: Deep TLS/SSL + CVE correlation
│ │ └── waf.py # Phase 10: 13 WAF signatures detection
│ │
│ ├── core/ # Core infrastructure
│ │ ├── __init__.py
│ │ ├── ai.py # LangChain AI (GPT-4/Claude/Ollama) + cost tracking
│ │ ├── config.py # Configuration loader
│ │ ├── consent.py # Consent token system (HTTP + DNS)
│ │ ├── cve_lookup.py # NVD CVE API integration
│ │ ├── db.py # SQLite — shared with Argos suite (~/.argos/argos.db)
│ │ ├── diff.py # Scan diff engine (--diff last / --diff <id>)
│ │ ├── http_client.py # Token-bucket rate-limited HTTP client
│ │ ├── logging.py # Structured logging
│ │ ├── owasp.py # HEPH-* code → OWASP Top 10 2021 mapper
│ │ └── report.py # JSON + HTML report generation
│ │
│ ├── __init__.py # Package metadata
│ ├── __main__.py # Entry point
│ ├── cli.py # CLI (30+ flags incl. --use-ai, --diff, --config-file)
│ └── scanner.py # Orchestrator — 13 parallel phases
│
├── assets/
│ └── ascii.txt # Hephaestus braille ASCII art
│
├── config/ # Configuration files
│ ├── defaults.yaml # Default settings
│ └── prompts/ # AI prompt templates
│ ├── technical.txt # Technical hardening prompt
│ └── non_technical.txt # Executive summary prompt
│
├── db/
│ └── migrate.sql # Shared database schema (Argos suite)
│
├── docker/ # Docker deployment
│ ├── vulnerable-apache/ # Vulnerable Apache lab (port 8080/8443)
│ │ └── docker-entrypoint.sh
│ ├── vulnerable-nginx/ # Vulnerable Nginx lab (port 8081/8444)
│ │ └── docker-entrypoint.sh
│ ├── compose.yml # Production stack
│ ├── compose.testing.yml # Vulnerable lab stack
│ ├── deploy.sh # Interactive deployment script
│ └── Dockerfile # Production image
│
├── docs/ # Documentation
│ ├── media/ # README visual assets
│ │ ├── hephaestus-banner.webp # Banner 1280×400
│ │ ├── hephaestus-hero.webp # Hero 1600×640
│ │ ├── console.webp # Terminal scan output
│ │ ├── report_html.webp # HTML report header
│ │ └── report_findings.webp # Findings table with CVE badges
│ ├── AI_INTEGRATION.md # AI providers setup guide
│ ├── CONSENT.md # Consent system details
│ ├── DATABASE_GUIDE.md # Shared database reference
│ ├── ETHICS.md # Ethical use guidelines
│ ├── REPORT_FORMAT.md # JSON/HTML report specification
│ ├── ROADMAP.md # v0.3.0 tickets and priorities
│ └── TESTING_GUIDE.md # Safe testing practices
│
├── schema/
│ └── report.schema.json # JSON report schema (OWASP + CVE fields)
│
├── scripts/
│ └── cli-examples.md # CLI usage examples
│
├── templates/
│ └── report.html.j2 # HTML report template — forge theme
│
├── CHANGELOG.md # Version history
├── CODE_OF_CONDUCT.md # Community guidelines
├── CONTRIBUTING.md # Contribution guide
├── LICENSE # MIT License
├── README.md # This file
├── requirements.txt # Python dependencies
└── setup.py # Package installer
Statut : 🎉 Publiée (remplacée par v0.2.0)
~/.argos/argos.db)Statut : 🎉 Publiée
--config-file) : analyse hors ligne de httpd.conf/nginx.conf--ai-budget) : limites de budget, costs.json, table ai_costs--ai-stream) : sortie en temps réel, jeton par jeton--ai-compare) : exécuter deux fournisseurs en parallèle--ai-agent) : agent LangChain avec recherche de CVE via NVDObjectif : ergonomie, évolutivité, IA interactive
heph --show-options, heph --set)heph db scans list, heph db findings search)Objectif : ML, automatisation, IA avancée
Produit commercial pour les entreprises
EN COURS
Pour des descriptions détaillées des fonctionnalités, consultez ROADMAP.md
Analysez uniquement les systèmes que vous possédez ou pour lesquels vous disposez d'une autorisation écrite explicite de tester.
Hephaestus implémente des contrôles techniques pour prévenir toute utilisation abusive :
L'accès non autorisé à des systèmes informatiques est illégal dans la plupart des juridictions :
Pour des directives éthiques complètes, consultez docs/ETHICS.md
Nous accueillons les contributions ! Que ce soit :
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)git clone https://github.com/YOUR-USERNAME/hephaestus-server-forger.git cd hephaestus-server-forger
python -m pip install -r requirements.txt python -m pip install pytest black flake8 mypy
black heph/
flake8 heph/ mypy heph/
pytest tests/
### Signaler des problèmes
Vous avez trouvé un bug ? Une demande de fonctionnalité ?
**Ouvrez une issue** : https://github.com/rodhnin/hephaestus-server-forger/issues
Veuillez inclure :
- Version de Hephaestus (`python -m heph --version`)
- Version de Python (`python --version`)
- Système d'exploitation
- Étapes pour reproduire (pour les bugs)
- Comportement attendu vs réel
---
## 📚 Documentation
Documentation complète disponible dans le répertoire `docs/` :
| Document | Description |
| ------------------------------------------- | ----------------------------------------- |
| [AI_INTEGRATION.md](https://github.com/rodhnin/hephaestus-server-forger/blob/HEAD/docs/AI_INTEGRATION.md) | Guide complet de configuration IA (les 3 fournisseurs) |
| [CONSENT.md](https://github.com/rodhnin/hephaestus-server-forger/blob/HEAD/docs/CONSENT.md) | Détails techniques du système de jetons de consentement |
| [DATABASE_GUIDE.md](https://github.com/rodhnin/hephaestus-server-forger/blob/HEAD/docs/DATABASE_GUIDE.md) | Schéma SQLite, requêtes, gestion |
| [ETHICS.md](https://github.com/rodhnin/hephaestus-server-forger/blob/HEAD/docs/ETHICS.md) | Cadre juridique et directives éthiques |
| [REPORT_FORMAT.md](https://github.com/rodhnin/hephaestus-server-forger/blob/HEAD/docs/REPORT_FORMAT.md) | Schéma JSON et spécifications HTML |
| [TESTING_GUIDE.md](https://github.com/rodhnin/hephaestus-server-forger/blob/HEAD/docs/TESTING_GUIDE.md) | Tests sécurisés avec les laboratoires Docker |
| [ROADMAP.md](https://github.com/rodhnin/hephaestus-server-forger/blob/HEAD/docs/ROADMAP.md) | Fonctionnalités futures et plans de développement |
### Liens rapides
- **Journal des modifications** : [CHANGELOG.md](https://github.com/rodhnin/hephaestus-server-forger/blob/HEAD/CHANGELOG.md)
- **Licence** : [LICENSE](https://github.com/rodhnin/hephaestus-server-forger/blob/HEAD/LICENSE)
- **Exemples CLI** : [scripts/cli-examples.md](https://github.com/rodhnin/hephaestus-server-forger/blob/HEAD/scripts/cli-examples.md)
---
## ⚖️ Licence
Ce projet est sous licence **MIT** - voir le fichier [LICENSE](https://github.com/rodhnin/hephaestus-server-forger/blob/HEAD/LICENSE) pour plus de détails.```
MIT License
Copyright (c) 2026 Rodney Dhavid Jimenez Chacin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IMPORTANT : Cet outil est réservé aux tests de sécurité autorisés uniquement.
En utilisant Hephaestus, vous reconnaissez et acceptez que :
Si vous découvrez des vulnérabilités avec Hephaestus :
Ne scannez pas. Si vous n'êtes pas sûr d'avoir l'autorisation, c'est probablement que vous ne l'avez pas.
Hephaestus se tient sur les épaules de géants :
Un merci tout particulier aux chercheurs en sécurité qui pratiquent et promeuvent le piratage éthique.
Rodney Dhavid Jimenez Chacin (rodhnin)
Pour toute question, retour ou demande de collaboration, veuillez visiter rodhnin.com pour me contacter.
Créé avec ❤️ pour les hackers éthiques et les administrateurs système du monde entier
⭐ Mettez une étoile à ce dépôt si vous le trouvez utile ! ⭐
Signaler un bug • Demander une fonctionnalité • Documentation
Hephaestus v0.2.0 — Mai 2026
| Catégorie de contrôle | Détails |
|---|
| Informations serveur | Divulgation des versions Apache/Nginx/IIS via les en-têtes et les pages d'erreur |
| Fichiers sensibles | .env, .git, phpinfo.php, server-status, sauvegardes, fichiers de configuration (plus de 70 chemins) |
| Méthodes HTTP | Méthodes non sûres (PUT, DELETE, TRACE, OPTIONS) |
| En-têtes de sécurité | HSTS, CSP, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy |
| Configuration TLS/SSL | Analyse approfondie : suites de chiffrement, versions de protocole, validité des certificats, corrélation CVE |
| Listage de répertoires | autoindex Apache/Nginx activé sur des répertoires sensibles |
| Détection CORS | Sondes wildcard, origine null, réflexion (COR-001 à COR-006) |
| Robots.txt | Analyse des chemins interdits, sondes d'accessibilité en direct en mode agressif |
| Détection WAF | 13 signatures incluant Cloudflare, Sucuri, ModSecurity, AWS WAF, Imperva |
| Découverte d'API | Exposition de spécifications Swagger/OpenAPI, introspection GraphQL, points de terminaison non authentifiés |
| Sécurité des cookies | Analyse par cookie de HttpOnly/Secure/SameSite sur les chemins authentifiés |
| Analyse phpinfo() | 9 réglages PHP dangereux : display_errors, allow_url_include, open_basedir, et plus |
| Analyseur de fichiers de configuration | Analyse hors ligne de httpd.conf / nginx.conf pour détecter les mauvaises configurations |
| Scanner de ports | 37 ports courants avec récupération de bannières et enrichissement CVE |
| Métrique | Résultat |
|---|
| Suite de tests | 55/55 tests réussis (13 phases) |
| Détection Apache | 42 résultats sur les 13 phases de scan |
| Détection Nginx | 25 résultats sur les 13 phases de scan |
| Précision | 100 % (zéro faux positif) |
| Rappel | 100 % (zéro faux négatif) |
| F1-Score | 100 % (équilibre parfait) |
| Durée moyenne de scan | 30 à 35 secondes |
| Opérations de base de données | 80 scans suivis, 1159+ résultats stockés |
--diff last / --diff SCAN_ID) : constatations nouvelles/corrigées/persistantes| Mode | Vérifications | Consentement requis | Limite de débit |
|---|
| Safe | Non intrusif | ❌ Non | 5 req/s |
| Aggressive | Sondage approfondi | ✅ Oui | 12 req/s |
| AI Analysis | Guide de durcissement | ✅ Oui | N/A |