
नेटवर्क और डोमेन सुरक्षा ऑडिटर जो विंडोज एक्टिव डायरेक्टरी, लिनक्स सिस्टम और नेटवर्क बुनियादी ढांचे को स्कैन करता है, AI-संचालित सख्तीकरण गाइड और पेशेवर रिपोर्टिंग के साथ।
नैतिक नेटवर्क सुरक्षा ऑडिटर — SMB, RDP, LDAP, SSH, Kerberos और अधिक पर 50+ जांच, AI-संचालित CVE विश्लेषण और OWASP/CIS/NIST अनुपालन मैपिंग के साथ।
त्वरित आरंभ · दस्तावेज़ीकरण · डॉकर · AI विशेषताएँ · GitHub पर स्टार करें
मिनोटॉर-थीम वाली HTML रिपोर्ट — गंभीरता बैज, विस्तार योग्य साक्ष्य, AI उपचार |
JSON रिपोर्ट — OWASP/CIS/NIST/PCI मैपिंग, CVE डेटा, मशीन-पठनीय |
Asterion एक उत्पादन-तैयार नेटवर्क और डोमेन सुरक्षा ऑडिटर है जो नैतिकता को पहले रखता है। पैठ परीक्षकों, सुरक्षा शोधकर्ताओं और एंटरप्राइज़ सुरक्षा टीमों के लिए निर्मित, यह पारंपरिक भेद्यता स्कैनिंग को अत्याधुनिक AI विश्लेषण के साथ जोड़ता है ताकि Windows Active Directory, Linux सिस्टम और नेटवर्क इंफ्रास्ट्रक्चर के लिए कार्रवाई योग्य अंतर्दृष्टि प्रदान कर सके।
ast scan --target 10.0.0.0/24 --output html
- **बहु-विधि पहचान**: SMB, RDP, LDAP, Kerberos, SSH, FTP, DNS, SNMP प्रोटोकॉल विश्लेषण
- **बहु-थ्रेडिंग**: 1-20 कार्यकर्ता थ्रेड के साथ समवर्ती स्कैनिंग
- **स्मार्ट दर सीमा**: पहचान से बचने के लिए कॉन्फ़िगर करने योग्य अनुरोध थ्रॉटलिंग (1-20 अनुरोध/सेकंड)
- **साक्ष्य संग्रह**: SMB शेयर, LDAP क्वेरी, PowerShell आउटपुट संरक्षित
### 🤖 AI-संचालित विश्लेषण
अपनी आवश्यकताओं के आधार पर अपना AI प्रदाता चुनें:
| प्रदाता | सबसे उपयुक्त | गति | लागत | गोपनीयता |
| -------------------- | ---------------------- | ---------------- | --------------- | ----------------- |
| **OpenAI GPT-4** | उत्पादन गुणवत्ता | ⚡ तेज़ (40s) | 💰 $0.30/स्कैन | 🔒 मानक |
| **Anthropic Claude** | गोपनीयता-केंद्रित | ⚡ तेज़ (50s) | 💰 $0.35/स्कैन | 🔒 उन्नत |
| **Ollama (स्थानीय)** | पूर्ण गोपनीयता | 🐢 धीमी (30 मिनट)| 💰 मुफ़्त | 🔐 100% ऑफ़लाइन |
**दो विश्लेषण मोड:**
- **तकनीकी**: PowerShell/GPO कमांड और कॉन्फ़िगरेशन स्निपेट के साथ चरण-दर-चरण सुधार
- **कार्यकारी**: हितधारकों और प्रबंधन के लिए सरल भाषा में सारांश
### 📊 पेशेवर रिपोर्टिंग
**JSON रिपोर्ट** (मशीन-पठनीय)```json
{
"tool": "asterion",
"version": "0.2.0",
"target": "192.168.1.10",
"riskScore": 10.0,
"summary": {
"critical": 3,
"high": 8,
"medium": 16,
"low": 5,
"info": 2
},
"findings": [
{
"id": "AST-SMB-003",
"title": "SMBv1 protocol enabled (EternalBlue vector)",
"severity": "high",
"owasp": { "id": "A06", "name": "Vulnerable and Outdated Components" },
"vulnerabilities": [
{
"cve_id": "CVE-2017-0143",
"cvss_score": 9.8,
"cwe_id": "CWE-119"
}
],
"cvss": 9.8
}
],
"attackChains": [...],
"diff": { "refScanId": 41, "new": [...], "fixed": [...], "persisting": [...] }
}
HTML रिपोर्ट (मानव-अनुकूल)
Asterion तकनीक के माध्यम से नैतिक हैकिंग को लागू करता है। आक्रामक स्कैनिंग और AI विश्लेषण के लिए स्वामित्व का प्रमाण आवश्यक है:```bash
ast consent generate --domain corp.local
ast consent verify --method http --domain corp.local --token verify-abc123
ast scan --target corp.local --mode aggressive --use-ai
### 💾 डेटाबेस स्थायित्व
Argos Suite के साथ साझा SQLite डेटाबेस सब कुछ ट्रैक करता है:
- **स्कैन इतिहास**: दिनांक, अवधि, निष्कर्षों की संख्या, गंभीरता विभाजन
- **निष्कर्ष भंडार**: सभी Argos टूल्स में खोजने योग्य कमजोरी डेटाबेस
- **सत्यापित डोमेन**: समाप्ति के साथ सहमति टोकन ट्रैकिंग
- **प्रवृत्ति विश्लेषण**: समय के साथ स्कैन की तुलना करें```bash
# Query recent scans (works for all Argos Suite tools)
sqlite3 ~/.argos/argos.db "SELECT * FROM scans WHERE tool='asterion' ORDER BY started_at DESC LIMIT 10"
# Find critical issues
sqlite3 ~/.argos/argos.db "SELECT * FROM v_critical_findings WHERE tool='asterion'"
सभी प्लेटफ़ॉर्म:
वैकल्पिक:
git clone https://github.com/rodhnin/asterion-network-minotaur.git cd asterion-network-minotaur
chmod +x scripts/setup.py python3 scripts/setup.py
**स्क्रिप्ट निम्नलिखित कार्य करेगी:**
1. ✅ पूर्वापेक्षाएँ जाँचें (.NET, Python)
2. ✅ Python निर्भरताएँ स्थापित करें
3. ✅ साझा Argos Suite डेटाबेस सेटअप करें
4. ✅ Asterion को Release मोड में बनाएँ
5. ✅ निर्देशिकाएँ बनाएँ (~/.asterion, ~/.argos)
6. ✅ रैपर स्क्रिप्ट बनाएँ `/usr/local/bin/ast` (वैकल्पिक)
#### Windows (PowerShell)```powershell
# Clone repository
git clone https://github.com/rodhnin/asterion-network-minotaur.git
cd asterion-network-minotaur
# Run setup (right-click PowerShell > Run as Administrator)
.\scripts\setup.ps1
स्क्रिप्ट निम्नलिखित करेगी:
यदि आपके सिस्टम पर स्वचालित स्क्रिप्ट काम नहीं करती हैं, तो इन चरणों का पालन करें:
git clone https://github.com/rodhnin/asterion-network-minotaur.git cd asterion-network-minotaur
#### चरण 2: निर्भरताएँ स्थापित करें
**लिनक्स/मैकओएस:**```bash
pip3 install -r scripts/requirements.txt
विंडोज (कमांड प्रॉम्प्ट):```cmd pip install -r scripts\requirements.txt
#### चरण 3: डेटाबेस सेटअप करें
**Linux/macOS:**```bash
python3 scripts/db_migrate.py
विंडोज़:```cmd python scripts\db_migrate.py
#### चरण 4: Asterion बनाएँ
**सभी प्लेटफ़ॉर्म:**```bash
dotnet build -c Release
Linux/macOS:```bash mkdir -p ~/.asterion/reports mkdir -p ~/.asterion/consent-proofs mkdir -p ~/.argos
**Windows (PowerShell):**```powershell
New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\.asterion\reports" | Out-Null
New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\.asterion\consent-proofs" | Out-Null
New-Item -ItemType Directory -Force -Path "$env:USERPROFILE\.argos" | Out-Null
sudo nano /usr/local/bin/ast
#!/bin/bash exec dotnet "$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)/src/Asterion/bin/Release/net8.0/Asterion.dll" "$@"
sudo chmod +x /usr/local/bin/ast
#### चरण 7: API कुंजी कॉन्फ़िगर करें (वैकल्पिक)
एक एकल पर्यावरण चर सभी AI प्रदाताओं (OpenAI, Anthropic) के लिए काम करता है:
**Linux/macOS:**```bash
export AI_API_KEY="sk-proj-..." # OpenAI key
# or
export AI_API_KEY="sk-ant-..." # Anthropic key
# Add to ~/.bashrc or ~/.zshrc to make permanent
Windows (PowerShell):```powershell $env:AI_API_KEY = "sk-proj-..."
[Environment]::SetEnvironmentVariable("AI_API_KEY", "sk-proj-...", [System.EnvironmentVariableTarget]::User)
#### Step 8: स्थापना सत्यापित करें
**Linux/macOS (यदि symlink बनाया गया था):**```bash
ast version
Windows या सीधा आह्वान:```cmd .\src\Asterion\bin\Release\net8.0\ast.exe version
dotnet .\src\Asterion\bin\Release\net8.0\Asterion.dll version
### आपका पहला स्कैन
#### स्थानीय नेटवर्क का स्वचालित स्कैन
**Asterion स्वचालित रूप से आपके स्थानीय नेटवर्क को खोज और स्कैन कर सकता है!**
**विंडोज (PowerShell) — सेटअप के बाद (अनुशंसित):**```powershell
# Test on localhost (simple)
ast scan --target localhost --output html
# Scan local subnet with AI analysis
ast scan --target 192.168.1.0/24 --output both --threads 10 --rate 5 --use-ai --ai-tone both
# Domain scan with authentication
ast scan --target corp.local --auth "CORP\admin:Password123" --use-ai
Windows (PowerShell) — बिना PATH सेटअप के:```powershell
.\src\Asterion\bin\Release\net8.0\ast.exe scan --target localhost
--output html --use-ai
--ai-tone both
.\src\Asterion\bin\Release\net8.0\ast.exe scan --target 192.168.1.0/24
--output both --threads 10
--rate 5
**Linux/macOS:**```bash
# Scan localhost
ast scan --target localhost \
--output html \
--use-ai \
--ai-tone both
# Scan local subnet (e.g., 192.168.1.0/24)
ast scan --target 192.168.1.0/24 \
--output both \
--threads 10 \
--rate 5
# Scan domain
ast scan --target corp.local \
--auth "CORP\admin:Password123" \
--output html \
--use-ai
Asterion --output का उपयोग करके तीन आउटपुट प्रारूपों का समर्थन करता है:
--ai-tone का उपयोग करके AI विश्लेषण को कैसे स्वरूपित किया जाए, इसे नियंत्रित करें:
| टोन | उपयोग केस | आउटपुट |
|---|---|---|
| technical | सुरक्षा टीमें |
सरल नेटवर्क स्कैन (कोई प्रमाणीकरण नहीं):```bash ast scan --target 10.0.0.0/24
**HTML रिपोर्ट के साथ:**```bash
ast scan --target 192.168.1.0/24 --output html
प्रमाणित स्कैन (विंडोज डोमेन):```bash
ast scan --target dc01.corp.local
--auth "CORP\Administrator:P@ssw0rd"
--output html
**AI विश्लेषण के साथ (तकनीकी + कार्यकारी):**```bash
ast scan --target 10.0.0.0/24 \
--use-ai \
--ai-tone both \
--output html
तेज़ स्कैनिंग (10 थ्रेड्स, 10 अनुरोध/सेकंड):```bash
ast scan --target 10.0.0.0/24
--threads 10
--rate 10
--output json
#### रिपोर्ट स्थान
**नेटिव इंस्टॉलेशन:**
- रिपोर्ट: `~/.asterion/reports/`
- डेटाबेस: `~/.argos/argos.db`
**विंडोज़:**
- रिपोर्ट: `%USERPROFILE%\.asterion\reports\`
- डेटाबेस: `%USERPROFILE%\.argos\argos.db`
**डॉकर डिप्लॉयमेंट:**
- रिपोर्ट: `docker/reports/`
- डेटाबेस: `docker/data/argos.db`
**🎉 सफलता!** JSON और HTML आउटपुट फ़ाइलों के लिए रिपोर्ट निर्देशिका जांचें।
---
### डॉकर पर चलाना
**स्वचालित डिप्लॉयमेंट:**```bash
cd docker
./deploy.sh # Linux/macOS
.\deploy.ps1 # Windows
मैन्युअल Docker परिनियोजन:```bash
docker compose up -d
docker compose exec asterion dotnet /app/ast.dll scan
--target 192.168.1.0/24
--output html
docker compose logs -f asterion
docker compose down
---
## 📘 उपयोग गाइड
### कमांड संरचना```bash
ast <command> [options]
उपलब्ध कमांड्स:
scan — सुरक्षा स्कैन चलाएँconsent — सहमति टोकन प्रबंधित करेंversion — संस्करण जानकारी प्रदर्शित करेंast scan --target 192.168.1.0/24
ast scan --target 192.168.1.0/24 --output html
ast scan --target 10.0.0.5 --output both
#### नेटवर्क लक्ष्यीकरण```bash
# CIDR notation
ast scan --target 10.0.0.0/24
# IP range
ast scan --target 192.168.1.10-50
# Domain name
ast scan --target corp.local
# Single host
ast scan --target 192.168.1.1
ast scan --target 10.0.0.0/24 --threads 3 --rate 2
ast scan --target 10.0.0.0/24 --threads 15 --rate 15
ast scan --target 10.0.0.0/24 --ports 445,3389,22,139
#### विंडोज डोमेन स्कैनिंग```bash
# Network + LDAP/Kerberos/AD checks
ast scan --target dc01.corp.local \
--auth "CORP\Administrator:P@ssw0rd"
# WinRM: remote firewall, registry, services, privesc
ast scan --target 192.168.1.10 \
--winrm "CORP\admin:P@ssw0rd"
# Full Windows audit: auth + WinRM + AI + HTML
ast scan --target 192.168.1.10 \
--auth "CORP\admin:P@ssw0rd" \
--winrm "CORP\admin:P@ssw0rd" \
--use-ai --ai-tone technical -o both -v
# With NTLM hash (Pass-the-Hash)
ast scan --target 10.0.0.5 \
--auth-ntlm "admin:aad3b435b51404eeaad3b435b51404ee:8846f7eaee8fb117ad06bdd830b7586c"
# Diff against last scan (track security changes)
ast scan --target 192.168.1.10 --winrm "CORP\admin:P@ssw0rd" --diff last -o both
ast scan --target 10.0.0.25 --ssh "admin:password"
ast scan --target 10.0.0.25 --ssh "admin:password" --sudo-password "sudopass"
ast scan --target 10.0.0.25 --ssh-key "admin:~/.ssh/id_rsa"
ast scan --target internal.corp.local
--bastion "bastion.corp.local:jumpuser:~/.ssh/bastion_key"
--ssh "admin:password"
ast scan --target 10.0.0.25
--ssh "root:toor"
--use-ai --ai-tone technical -o both -v
#### AI-संचालित विश्लेषण```bash
# Technical remediation (default, for security teams)
ast scan --target 10.0.0.5 \
--ssh "root:pass" \
--use-ai --ai-tone technical -o html
# Executive summary (for management)
ast scan --target 10.0.0.5 \
--use-ai --ai-tone non_technical -o html
# Both formats + streaming output
ast scan --target 10.0.0.5 --use-ai --ai-tone both --ai-stream -o both
# Agent mode (NVD CVE lookup tool enabled)
ast scan --target 10.0.0.5 --ssh "root:pass" --use-ai --ai-agent -v
# Compare two models
ast scan --target 10.0.0.5 --use-ai \
--ai-compare "openai/gpt-4o-mini-2024-07-18,anthropic/claude-3-5-haiku-20241022"
# Enforce cost budget
ast scan --target 10.0.0.5 --winrm "admin:pass" --use-ai --ai-budget 0.05
ast scan --target 10.0.0.5 -v
ast scan --target 10.0.0.5 -v --timeout 20
ast scan --target 10.0.0.5 --timeout 5
### सहमति टोकन प्रबंधन
#### सहमति टोकन उत्पन्न करें```bash
ast consent generate --domain corp.local
# Output: Token: verify-a3f9b2c1d8e4f5a6
HTTP Method (वेब सर्वर पर फ़ाइल रखें):```bash
ast consent verify
--method http
--domain corp.local
--token verify-a3f9b2c1d8e4f5a6
**DNS Method** (TXT रिकॉर्ड जोड़ें):```bash
# 1. Add DNS TXT record: corp.local = "asterion-verify=verify-a3f9b2c1d8e4f5a6"
# 2. Verify:
ast consent verify \
--method dns \
--domain corp.local \
--token verify-a3f9b2c1d8e4f5a6
SSH विधि (सिस्टम पर फ़ाइल बनाएं):```bash
ast consent verify
--method ssh
--domain corp.local
--token verify-a3f9b2c1d8e4f5a6
--ssh "user:password"
#### आक्रामक मोड चलाएं```bash
# After verifying consent token:
ast scan --target corp.local --mode aggressive
ast scan --target 192.168.1.0/24 --output html --threads 10 --rate 10
#### परिदृश्य 2: पूर्ण डोमेन ऑडिट```bash
# Complete Windows AD assessment with AI analysis
ast scan --target corp.local \
--auth "CORP\admin:P@ssw0rd" \
--use-ai \
--ai-tone both \
--output both \
--threads 8 \
--rate 8
ast scan --target 10.0.0.0/24
--threads 2
--rate 1
--timeout 20
--output json
#### परिदृश्य 4: प्रवेश परीक्षण```bash
# Generate consent first
ast consent generate --domain internal.corp
# Place token and verify
ast consent verify --method http --domain internal.corp --token <token>
# Run aggressive assessment
ast scan --target internal.corp \
--mode aggressive \
--auth "CORP\pentest:P@ssw0rd" \
--use-ai \
--output both
Asterion Python ब्रिज के माध्यम से कई AI प्रदाताओं के समर्थन के साथ LangChain 1.0.0 का उपयोग करता है, जो आपको आपकी सुरक्षा, गोपनीयता और बजट आवश्यकताओं के आधार पर लचीलापन प्रदान करता है।
सर्वोत्तम: उत्पादन उपयोग के लिए
#### Anthropic Claude
**सर्वोत्तम: उन्नत गोपनीयता**
- ⭐ गुणवत्ता: उत्कृष्ट (5/5)
- ⚡ गति: ~50–70 सेकंड
- 💰 लागत: ~$0.007–0.015 प्रति स्कैन (claude-3-5-haiku)
- 🔒 गोपनीयता: उन्नत (Anthropic का गोपनीयता-प्रथम दृष्टिकोण)```bash
export AI_API_KEY="sk-ant-..." # Same variable, Anthropic key format
सर्वोत्तम: पूर्ण गोपनीयता
ollama pull llama3.2
### गोपनीयता और सुरक्षा
**स्वचालित स्वच्छता**
AI प्रदाताओं को डेटा भेजने से पहले, Asterion स्वचालित रूप से हटाता है:
- ✅ सहमति टोकन
- ✅ डोमेन क्रेडेंशियल्स (पासवर्ड, NTLM हैश)
- ✅ व्यक्तिगत पहचान योग्य जानकारी (PII)
- ✅ आंतरिक IP पते (अनुरोध करने पर)
- ✅ संवेदनशील डेटा वाले SMB शेयर पथ
**केवल ऑप्ट-इन**
- AI विश्लेषण के लिए स्पष्ट `--use-ai` ध्वज की आवश्यकता है
- आक्रामक स्कैनिंग के लिए सत्यापित सहमति टोकन की आवश्यकता है
- आप नियंत्रित करते हैं कि कौन सा प्रदाता आपका डेटा देखे
**अधिकतम गोपनीयता के लिए**
स्थानीय रूप से Ollama का उपयोग करें। धीमा और कम सटीक होने पर भी, आपका स्कैन डेटा आपकी मशीन से कभी बाहर नहीं जाता।
### प्रदाता बदलना
**वर्तमान विधि (v0.2.0):** `config/defaults.yaml` संपादित करें```yaml
ai:
langchain:
provider: "ollama" # Changed from "openai"
model: "llama3.2" # Ollama model
ollama_base_url: "http://localhost:11434"
v0.3.0 में आ रहा है: इंटरैक्टिव कॉन्फ़िगरेशन मेनू (Metasploit-style)```bash
ast --show-options ast --set ai.provider=anthropic ast --save-profile privacy-mode
---
## 🧪 सुरक्षित परीक्षण प्रयोगशाला
**⚠️ बिना लिखित अनुमति के उत्पादन नेटवर्क को कभी स्कैन न करें!**
सुरक्षित रूप से अभ्यास करने के लिए हमारी डॉकर प्रयोगशाला का उपयोग करें:
### परीक्षण वातावरण सेट अप करें```bash
# Navigate to docker directory
cd docker
# Deploy vulnerable network lab
docker-compose -f compose.testing.yml up -d
# Wait for services to start (~60 seconds)
docker-compose -f compose.testing.yml logs -f
# Create vulnerable conditions
docker-compose -f compose.testing.yml exec windows-target powershell -c "Disable-NetFirewallProfile -All"
cd ..
ast scan --target 172.20.0.0/24 --output html
ast scan --target 172.20.0.2 --auth "LAB\admin:P@ssw0rd123" --output both
ast scan --target 172.20.0.0/24 --use-ai --output html
### सफाई```bash
cd docker
docker-compose -f compose.testing.yml down -v # -v removes all data
विस्तृत परीक्षण परिदृश्यों के लिए, docs/TESTING_GUIDE.md देखें
केवल उन नेटवर्क और सिस्टम को स्कैन करें जिनके आप मालिक हैं या जिनके परीक्षण के लिए आपके पास स्पष्ट लिखित अनुमति है।
Asterion दुरुपयोग को रोकने के लिए तकनीकी नियंत्रण लागू करता है:
कंप्यूटर सिस्टम तक अनधिकृत पहुँच अधिकांश न्यायक्षेत्रों में अवैध है:
पूर्ण नैतिक दिशानिर्देशों के लिए, docs/ETHICS.md देखें
Asterion क्रॉस-प्लेटफ़ॉर्म डिप्लॉयमेंट स्क्रिप्ट प्रदान करता है:
लिनक्स/macOS:```bash cd docker ./deploy.sh
**विंडोज़ (PowerShell):**```powershell
cd docker
.\deploy.ps1
तैनाती विकल्प:
Linux/macOS:```bash cd docker docker compose up -d
docker compose exec asterion dotnet /app/ast.dll scan --target 10.0.0.0/24
docker compose logs -f asterion
docker compose down
**Windows (PowerShell):**```powershell
cd docker
docker compose up -d
# Execute scans (note the dotnet wrapper)
docker compose exec asterion dotnet /app/ast.dll scan --target 10.0.0.0/24
# View logs
docker compose logs -f asterion
# Stop service
docker compose down
स्थायी डेटा:
./reports/ → होस्ट डायरेक्टरी docker/reports/./data/argos.db → होस्ट डायरेक्टरी docker/data/argos.db (साझा Argos Suite DB)./logs/asterion.log → होस्ट डायरेक्टरी docker/logs/asterion.logनोट: Asterion स्वचालित रूप से ASTERION_IN_DOCKER एनवायरनमेंट वेरिएबल के माध्यम से Docker वातावरण का पता लगाता है।
पूर्ण Docker दस्तावेज़ीकरण (Linux/Windows) के लिए देखें: docker/README.md
नेटिव इंस्टॉलेशन:``` ~/.asterion/ ├── reports/ │ ├── asterion_report_10_0_0_0_24_20260419_143000.json # Machine-readable │ └── asterion_report_10_0_0_0_24_20260419_143000.html # Human-friendly (Minotaur-themed) └── consent-proofs/ └── corp_local_verify-abc123_20260419.txt
~/.argos/ ├── argos.db # Shared Argos Suite database └── logs/ └── argos.log # Shared log file
**Docker तैनाती:**```
asterion-network-minotaur/
├── docker/
│ ├── reports/
│ │ ├── asterion_report_10_0_0_0_24_20260419_143000.json
│ │ └── asterion_report_10_0_0_0_24_20260419_143000.html
│ ├── data/
│ │ └── argos.db # Shared Argos Suite database (Docker)
│ ├── logs/
│ │ └── asterion.log
│ └── workspace/
│ └── consent-proofs/
नोट: Docker वातावरण स्वचालित रूप से ASTERION_IN_DOCKER पर्यावरण चर के माध्यम से पता लगाया जाता है।
{ "tool": "asterion", "version": "0.2.0", "target": "10.0.0.0/24", "date": "2026-04-13T14:30:00Z", "mode": "safe", "summary": { "critical": 12, "high": 8, "medium": 15, "low": 5, "info": 20 }, "findings": [ { "id": "AST-SMB-003", "title": "SMBv1 enabled (EternalBlue vulnerability)", "severity": "critical", "confidence": "high", "description": "SMBv1 is enabled on this system. This protocol is vulnerable to EternalBlue (CVE-2017-0143), a critical remote code execution vulnerability exploited by WannaCry ransomware.", "evidence": { "type": "smb", "value": "SMBv1 negotiated successfully", "context": "Port 445/tcp open, SMB signing not required" }, "recommendation": "URGENT - Disable SMBv1 immediately:\n\nPowerShell:\nDisable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol -NoRestart\n\nGroup Policy:\nComputer Configuration → Administrative Templates → MS Security Guide\n→ Configure SMBv1 client driver startup = Disabled\n→ Configure SMBv1 server = Disabled\n\nVerify:\nGet-SmbServerConfiguration | Select EnableSMB1Protocol", "references": [ "https://docs.microsoft.com/en-us/windows-server/storage/file-server/troubleshoot/detect-enable-and-disable-smbv1-v2-v3", "https://nvd.nist.gov/vuln/detail/CVE-2017-0143" ], "affected_component": "SMB Server" }, { "id": "AST-LDAP-001", "title": "LDAP anonymous bind allowed", "severity": "high", "confidence": "high", "description": "LDAP server allows anonymous bind, permitting unauthenticated enumeration of domain users, groups, and configuration.", "evidence": { "type": "ldap", "value": "Anonymous bind successful to port 389/tcp", "context": "Retrieved domain base DN: DC=corp,DC=local" }, "recommendation": "Disable LDAP anonymous bind:\n\nGroup Policy:\nComputer Configuration → Policies → Windows Settings → Security Settings → Local Policies → Security Options\n→ Network access: Allow anonymous SID/Name translation = Disabled\n→ Network access: Do not allow anonymous enumeration of SAM accounts = Enabled\n→ Network access: Do not allow anonymous enumeration of SAM accounts and shares = Enabled\n\nRegistry:\nreg add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v RestrictAnonymous /t REG_DWORD /d 1 /f", "affected_component": "LDAP Server" }, { "id": "AST-RDP-001", "title": "RDP without Network Level Authentication (NLA)", "severity": "high", "confidence": "high", "description": "Remote Desktop Protocol (RDP) is configured without Network Level Authentication (NLA). This allows unauthenticated attackers to reach the login screen and attempt brute-force attacks.", "evidence": { "type": "rdp", "value": "RDP port 3389/tcp open, NLA not required", "context": "Encryption level: High" }, "recommendation": "Enable Network Level Authentication:\n\nPowerShell:\n(Get-WmiObject -class Win32_TSGeneralSetting -Namespace root\cimv2\terminalservices -Filter "TerminalName='RDP-tcp'").SetUserAuthenticationRequired(1)\n\nGroup Policy:\nComputer Configuration → Administrative Templates → Windows Components → Remote Desktop Services → Remote Desktop Session Host → Security\n→ Require user authentication for remote connections by using Network Level Authentication = Enabled", "affected_component": "RDP Server" } ], "notes": { "scan_duration_seconds": 67.5, "targets_scanned": 12, "rate_limit_applied": true, "scope_limitations": "Scan limited to network services. Local system checks require SSH/WinRM credentials.", "false_positive_disclaimer": "Manual verification recommended for all findings before remediation." }, "aiAnalysis": { "executiveSummary": "The network scan identified 12 critical security vulnerabilities requiring immediate attention...", "technicalRemediation": "### Critical Issues\n\n1. \n - Affected systems: 10.0.0.5, 10.0.0.10\n - Remediation: Disable SMBv1...", "generatedAt": "2026-04-19T14:35:00Z", "modelUsed": "gpt-4o-mini-2024-07-18", "provider": "openai" } }
### HTML रिपोर्ट सुविधाएँ
- **📊 कार्यकारी डैशबोर्ड**: गंभीरता गणना और Minotaur ब्रांडिंग के साथ सारांश कार्ड
- **🤖 AI विश्लेषण**: कार्यकारी और तकनीकी अंतर्दृष्टि के लिए विस्तार योग्य अनुभाग
- **🔍 विस्तृत निष्कर्ष**: PowerShell/GPO सुधार आदेशों के साथ गंभीरता के अनुसार व्यवस्थित
- **📋 साक्ष्य**: SMB शेयर, LDAP क्वेरी, RDP कॉन्फ़िगरेशन, PowerShell आउटपुट
- **🔗 बाहरी संदर्भ**: CVE, Microsoft दस्तावेज़ीकरण, OWASP गाइड के लिंक
- **📱 मोबाइल रिस्पॉन्सिव**: सभी उपकरणों पर काम करता है
- **🎨 Minotaur थीम**: लाल/नारंगी/बैंगनी रंग योजना
---
## 📁 प्रोजेक्ट संरचना```
asterion-network-minotaur/
│
├── src/
│ ├── Asterion/ # Main C# application
│ │ ├── Asterion.csproj # .NET project file
│ │ │
│ │ ├── Checks/ # Security check modules
│ │ │ ├── ICheck.cs # Check interface
│ │ │ ├── BaseCheck.cs # Abstract base class (350 lines)
│ │ │ ├── CheckCategory.cs # Check category enum
│ │ │ │
│ │ │ ├── CrossPlatform/ # Network service scanners (work from any OS)
│ │ │ │ ├── PortScanner.cs # TCP port scanning
│ │ │ │ ├── SmbScanner.cs # SMB/CIFS security (42KB)
│ │ │ │ ├── RdpScanner.cs # RDP configuration (24KB)
│ │ │ │ ├── LdapScanner.cs # LDAP/AD security (38KB)
│ │ │ │ ├── KerberosScanner.cs # Kerberos security (22KB)
│ │ │ │ ├── SnmpScanner.cs # SNMP vulnerabilities (21KB)
│ │ │ │ ├── DnsScanner.cs # DNS misconfigurations (14KB)
│ │ │ │ ├── FtpScanner.cs # FTP security (27KB)
│ │ │ │ ├── TlsScanner.cs # TLS/SSL certificate checks
│ │ │ │ ├── SysvolCheck.cs # SYSVOL/GPP password exposure
│ │ │ │ ├── AdAggressiveCheck.cs # AS-REP roasting, delegation, weak ACLs
│ │ │ │ └── WinRmChecks.cs # Remote Windows audit via WS-Man
│ │ │ │
│ │ │ ├── Windows/ # Local Windows system checks
│ │ │ │ ├── WinFirewallCheck.cs # Firewall configuration
│ │ │ │ ├── WinRegistryCheck.cs # Registry security
│ │ │ │ ├── AdPolicyCheck.cs # Active Directory policies
│ │ │ │ ├── WinServicesCheck.cs # Service misconfigurations
│ │ │ │ └── PrivEscCheckWin.cs # Windows privilege escalation
│ │ │ │
│ │ │ └── Linux/ # Local/remote Linux checks (via SSH)
│ │ │ ├── LinuxFirewallCheck.cs # iptables/nftables/ufw
│ │ │ ├── SshConfigCheck.cs # SSH hardening
│ │ │ ├── SambaNfsCheck.cs # Samba/NFS security
│ │ │ └── PrivEscCheckLinux.cs # SUID, sudo misconfig
│ │ │
│ │ ├── Core/ # Core infrastructure
│ │ │ ├── Orchestrator.cs # Main execution engine (1,243 lines)
│ │ │ ├── Config.cs # YAML configuration loader
│ │ │ ├── ScanOptions.cs # Scan configuration
│ │ │ ├── Database.cs # SQLite operations
│ │ │ ├── ConsentValidator.cs # Consent token verification
│ │ │ ├── SshConnectionManager.cs # SSH.NET wrapper (password/key/bastion)
│ │ │ ├── WinRmConnectionManager.cs # WS-Man HTTP/NTLM (Linux → Windows)
│ │ │ ├── AttackChainAnalyzer.cs # Multi-step attack chain correlation
│ │ │ ├── NtlmSpnego.cs # NTLM/SPNEGO auth implementation
│ │ │ ├── NtlmV2Auth.cs # NTLMv2 auth implementation
│ │ │ │
│ │ │ ├── Output/
│ │ │ │ └── ReportBuilder.cs # Report generation (risk score, labels)
│ │ │ │
│ │ │ └── Utils/
│ │ │ ├── NetworkUtils.cs # Network operations
│ │ │ ├── CidrParser.cs # CIDR/IP range parsing
│ │ │ ├── AuthenticationManager.cs # Credential handling
│ │ │ └── OsDetector.cs # Per-target OS detection (SSH/SMB/TTL)
│ │ │
│ │ ├── Models/ # Data models
│ │ │ ├── Report.cs # Main report structure
│ │ │ ├── Finding.cs # Security finding (OWASP/CVE/Compliance)
│ │ │ ├── Evidence.cs # Finding proof
│ │ │ ├── ConsentInfo.cs # Consent verification
│ │ │ └── AiAnalysis.cs # AI-generated content (cost tracking)
│ │ │
│ │ ├── Program.cs # Application entry point
│ │ └── Cli.cs # CLI argument parser (all flags)
│ │
│ └── Asterion.sln # Visual Studio solution
│
├── scripts/ # Python bridge scripts
│ ├── ai_analyzer.py # LangChain AI integration (stream/agent/compare)
│ ├── cve_lookup.py # NVD API v2 CVE enrichment
│ ├── owasp.py # OWASP Top 10 mapping (139 entries)
│ ├── compliance.py # CIS/NIST/PCI mapping (95 entries)
│ ├── db_migrate.py # Database setup
│ ├── render_html.py # HTML report generation (Jinja2)
│ ├── setup.sh # Linux/macOS installation script
│ ├── setup.ps1 # Windows PowerShell setup
│ └── requirements.txt # Python dependencies
│
├── config/ # Configuration files
│ ├── defaults.yaml # Default settings
│ └── prompts/ # AI prompt templates
│ ├── technical.txt # Technical remediation prompts
│ └── non_technical.txt # Executive summary prompts
│
├── db/
│ └── migrate.sql # Database schema (shared with Argos Suite)
│
├── docker/ # Docker deployment
│ ├── Dockerfile # Production image
│ ├── docker-compose.yml # Production deployment
│ ├── compose.testing.yml # Vulnerable lab environment
│ ├── .dockerignore
│ ├── .env.example
│ └── README.md # Docker instructions
│
├── docs/ # Documentation
│ ├── AI_INTEGRATION.md # AI setup guide
│ ├── CONSENT.md # Consent token system
│ ├── DATABASE_GUIDE.md # SQLite schema and queries
│ ├── ETHICS.md # Ethical guidelines
│ ├── NETWORK_CHECKS.md # Complete check catalog (50+ checks)
│ └── ROADMAP.md # Development roadmap
│
├── schema/
│ └── report.schema.json # Argos Suite unified schema
│
├── templates/
│ └── report.html.j2 # HTML report template (35KB, Minotaur-themed)
│
├── assets/
│ └── ascii.txt # Minotaur ASCII art banner
│
├── CHANGELOG.md # Version history
├── README_PATTERN.md # README visual branding guide
├── LICENSE # MIT License
└── README.md # This file
सांख्यिकी:
स्थिति: 🎉 जारी
--winrm)--ssh-key, --bastion, --sudo-password)--diff last / --diff <id> — सुरक्षा प्रतिगमन ट्रैक करें--creds-file credentials.yaml--ai-budget, लागत DB + costs.json में सहेजी गई--ai-stream, , फोकस: उपयोगिता, पैमाना, इंटरएक्टिव AI
--show-options, --set)ast db scans list, ast db findings search)फोकस: स्वचालित सुधार, ML पहचान, वितरित स्कैनिंग
विस्तृत सुविधा विवरण के लिए, देखें docs/ROADMAP.md
हम योगदान का स्वागत करते हैं! चाहे वह हो:
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/asterion-network-minotaur.git cd asterion-network-minotaur
pip install -r scripts/requirements.txt dotnet restore
dotnet build
dotnet run --project src/Asterion -- scan --target 192.168.1.1 -v
### कोड शैली
- **C# फ़ॉर्मेटिंग**: Microsoft C# कोडिंग कन्वेंशन का पालन करें
- **Python फ़ॉर्मेटिंग**: हम [Black](https://github.com/psf/black) का उपयोग करते हैं (लाइन लंबाई: 88)
- **XML दस्तावेज़ीकरण**: सभी सार्वजनिक क्लास/विधियों के लिए आवश्यक
- **कोड टिप्पणियाँ**: इनलाइन टिप्पणियों के लिए `//` का उपयोग करें, XML दस्तावेज़ों के लिए `///`
### समस्या रिपोर्ट करना
एक बग मिला? कोई फीचर अनुरोध है?
**एक इश्यू खोलें**: https://github.com/rodhnin/asterion-network-minotaur/issues
कृपया शामिल करें:
- Asterion संस्करण (`ast version`)
- .NET संस्करण (`dotnet --version`)
- Python संस्करण (`python --version`)
- ऑपरेटिंग सिस्टम
- पुनः उत्पन्न करने के लिए कदम (बग्स के लिए)
- अपेक्षित बनाम वास्तविक व्यवहार
---
## 📚 दस्तावेज़ीकरण
पूर्ण दस्तावेज़ीकरण `docs/` निर्देशिका में उपलब्ध है:
| दस्तावेज़ | विवरण |
| ------------------------------------------- | ----------------------------------------- |
| [AI_INTEGRATION.md](https://github.com/rodhnin/asterion-network-minotaur/blob/HEAD/docs/AI_INTEGRATION.md) | पूर्ण AI सेटअप गाइड (सभी 3 प्रदाता) |
| [CONSENT.md](https://github.com/rodhnin/asterion-network-minotaur/blob/HEAD/docs/CONSENT.md) | सहमति टोकन प्रणाली के तकनीकी विवरण |
| [DATABASE_GUIDE.md](https://github.com/rodhnin/asterion-network-minotaur/blob/HEAD/docs/DATABASE_GUIDE.md) | SQLite स्कीमा, क्वेरी, प्रबंधन |
| [ETHICS.md](https://github.com/rodhnin/asterion-network-minotaur/blob/HEAD/docs/ETHICS.md) | कानूनी ढांचा और नैतिक दिशानिर्देश |
| [NETWORK_CHECKS.md](https://github.com/rodhnin/asterion-network-minotaur/blob/HEAD/docs/NETWORK_CHECKS.md) | 50+ सुरक्षा जांचों की पूर्ण सूची |
| [ROADMAP.md](https://github.com/rodhnin/asterion-network-minotaur/blob/HEAD/docs/ROADMAP.md) | भविष्य की सुविधाएँ और विकास योजनाएँ |
### त्वरित लिंक
- **चेंजलॉग**: [CHANGELOG.md](https://github.com/rodhnin/asterion-network-minotaur/blob/HEAD/CHANGELOG.md)
- **लाइसेंस**: [LICENSE](https://github.com/rodhnin/asterion-network-minotaur/blob/HEAD/LICENSE)
- **ASCII कला**: [assets/ascii.txt](https://github.com/rodhnin/asterion-network-minotaur/blob/HEAD/assets/ascii.txt)
---
## 🤝 Argos सूट का हिस्सा
Asterion **Argos Security Suite** का चौथा घटक है:
| उपकरण | भाषा | लक्ष्य | स्थिति |
| -------------- | ----------- | ----------------------- | ----------- |
| **Argus** | Python | WordPress | ✅ स्थिर |
| **Hephaestus** | Python | सर्वर (Linux/Windows) | ✅ स्थिर |
| **Pythia** | Python | SQL इंजेक्शन | ✅ स्थिर |
| **Asterion** | C# + Python | नेटवर्क/डोमेन/AD | 🎉 जारी |
**साझा बुनियादी ढांचा:**
- SQLite डेटाबेस (`~/.argos/argos.db`)
- एकीकृत JSON रिपोर्ट स्कीमा
- सहमति टोकन प्रणाली
- LangChain के माध्यम से AI विश्लेषण
---
## ⚖️ लाइसेंस
यह प्रोजेक्ट **MIT लाइसेंस** के तहत लाइसेंस प्राप्त है - विवरण के लिए [LICENSE](https://github.com/rodhnin/asterion-network-minotaur/blob/HEAD/LICENSE) फ़ाइल देखें।```
MIT License
Copyright (c) 2025-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.
महत्वपूर्ण: यह उपकरण केवल अधिकृत सुरक्षा परीक्षण के लिए है।
Asterion का उपयोग करके, आप स्वीकार करते हैं और सहमत हैं कि:
यदि आप Asterion का उपयोग करके कमजोरियाँ खोजते हैं:
स्कैन न करें। यदि आप अनिश्चित हैं कि आपके पास अनुमति है, तो संभवतः आपके पास नहीं है।
Asterion दिग्गजों के कंधों पर खड़ा है:
उन सभी सुरक्षा शोधकर्ताओं का विशेष धन्यवाद जो नैतिक हैकिंग का अभ्यास और प्रचार करते हैं।
रॉडनी डेविड जिमेनेज चैसिन (rodhnin)
प्रश्नों, प्रतिक्रिया या सहयोग पूछताछ के लिए, कृपया rodhnin.com पर जाएँ
दुनिया भर के सुरक्षा पेशेवरों और एंटरप्राइज़ नेटवर्क प्रशासकों के लिए ❤️ से निर्मित
⭐ यदि यह उपयोगी लगे तो इस रेपो को स्टार करें! ⭐
बग रिपोर्ट करें • सुविधा का अनुरोध करें • दस्तावेज़ीकरण
🐂 Asterion — नेटवर्क भूलभुलैया में नेविगेट करना 🐂
Asterion v0.2.0 — मई 2026
rodhnin द्वारा ❤️ से निर्मित | Argos सुरक्षा सूट का हिस्सा
| चेक श्रेणी | विवरण |
|---|
| SMB/CIFS सुरक्षा | अनाम शेयर, SMB साइनिंग, SMBv1 (EternalBlue), NTLMv1, लिखने योग्य शेयर |
| RDP सुरक्षा | नेटवर्क स्तर प्रमाणीकरण (NLA), एन्क्रिप्शन स्तर, उजागर RDP |
| LDAP/Active Directory | अनाम बाइंड, LDAP साइनिंग, पासवर्ड नीतियां, Kerberos पूर्व-प्रमाणीकरण |
| Kerberos सुरक्षा | AS-REP रोस्टिंग, केरबेरोस्टिंग, अत्यधिक टिकट जीवनकाल |
| SNMP | डिफ़ॉल्ट कम्युनिटी स्ट्रिंग्स, SNMPv1/v2c, लेखन पहुंच |
| DNS/NetBIOS | ज़ोन ट्रांसफर (AXFR), LLMNR/NetBIOS पॉइज़निंग, mDNS |
| Windows सिस्टम | फायरवॉल, रजिस्ट्री (UAC, LSA), सेवाएं, विशेषाधिकार वृद्धि |
| Linux सिस्टम | iptables/nftables, SSH, Samba/NFS, SUID बाइनरी, sudo गलत कॉन्फ़िगरेशन |
| प्रारूप | कमांड | आउटपुट |
|---|
| JSON | --output json | मशीन-पठनीय रिपोर्ट (डिफ़ॉल्ट) |
| HTML | --output html | सुंदर Minotaur-थीम वाली रिपोर्ट |
| दोनों | --output both | JSON और HTML दोनों जनरेट करें |
| PowerShell/GPO कमांड के साथ चरण-दर-चरण सुधार |
| non_technical | कार्यकारी सारांश | प्रबंधन के लिए सरल भाषा में विवरण |
| both | पूर्ण विश्लेषण | तकनीकी और कार्यकारी दोनों प्रारूप |
| Option | Values | Default | Description |
|---|
--target, -t | IP/CIDR/domain | आवश्यक | लक्ष्य: 192.168.1.0/24, 10.0.0.1, corp.local, अल्पविराम-सूची |
--mode, -m | safe, aggressive | safe | स्कैन मोड (aggressive के लिए सहमति टोकन आवश्यक है) |
--output, -o | json, html, both | json | आउटपुट प्रारूप |
--ports, -p | port list | स्वतः पता लगाएँ | स्कैन करने के लिए पोर्ट (उदा., 22,80,443 या 8000-9000) |
--threads | 1-20 | 5 | समवर्ती थ्रेड्स की संख्या |
--rate | 1-20 | 5 | अनुरोध दर सीमा (अनुरोध/सेकंड) |
--timeout | seconds | 10 | कनेक्शन टाइमआउट |
--verify-ssl | flag | true | SSL/TLS प्रमाणपत्र सत्यापित करें (स्व-हस्ताक्षरित प्रमाणपत्रों के लिए अक्षम करें) |
--verbose, -v | flag | false | विस्तृत लॉगिंग सक्षम करें |
--diff | last / scan_id | - | पिछले स्कैन से तुलना करें (--diff last या --diff 42) |
--creds-file | path to YAML | - | YAML फ़ाइल से सभी क्रेडेंशियल लोड करें |
| Option | Values | Description |
|---|
--auth | DOMAIN\user:pass | LDAP/Kerberos/SMB/AD जाँच के लिए डोमेन क्रेडेंशियल |
--auth-ntlm | user:hash | पास-द-हैश NTLM प्रमाणीकरण |
--kerberos | user:pass@REALM | Kerberos क्रेडेंशियल |
--winrm | DOMAIN\user:pass | WinRM रिमोट विंडोज जाँच (फ़ायरवॉल, रजिस्ट्री, सेवाएँ, AD) |
--ssh | user:pass | रिमोट लिनक्स जाँच के लिए SSH पासवर्ड प्रमाणीकरण |
--ssh-key | user:/path/key | SSH कुंजी-आधारित प्रमाणीकरण |
--sudo-password | pass | लिनक्स विशेषाधिकार जाँच के लिए sudo एलिवेशन पासवर्ड |
--bastion | host:user:key | मल्टी-हॉप SSH के लिए जंप/बैस्टियन होस्ट |
| Option | Values | Default | Description |
|---|
--use-ai | flag | false | AI-संचालित विश्लेषण सक्षम करें |
--ai-tone | technical, non_technical, both | technical | AI विश्लेषण प्रारूप |
--ai-provider | openai, anthropic, ollama | openai | AI प्रदाता |
--ai-model | model name | gpt-4o-mini-2024-07-18 | उपयोग करने के लिए AI मॉडल |
--ai-budget | USD amount | - | यदि अनुमानित लागत इस मान से अधिक हो तो AI को रोकें |
--ai-stream | flag | false | AI टोकन को रीयल-टाइम में stdout पर स्ट्रीम करें |
--ai-agent | flag | false | NVD CVE लुकअप टूल के साथ LangChain एजेंट मोड |
--ai-compare | prov/model,prov/model | - | मल्टी-मॉडल तुलना |
| मोड | जाँच | सहमति आवश्यक | दर सीमा |
|---|
| सुरक्षित | गैर-आक्रामक नेटवर्क जाँच | ❌ नहीं | 5 अनुरोध/सेकंड |
| आक्रामक | गहन AD/सिस्टम परीक्षण | ✅ हाँ | 10 अनुरोध/सेकंड |
| AI विश्लेषण | भेद्यता विश्लेषण | ✅ हाँ | N/A |
--ai-agent--ai-compare