david0154/david-cyber-intelligence-system

DAVID CYBER INTELLIGENCE SYSTEM - Advanced AI-powered cybersecurity platform with Malware Analysis, Network IDS, OSINT, Pentest, Defense Engine, Threat Intelligence, Flight/Ship/Satellite Tracking & Geo Intelligence. Developed by Devil Pvt Ltd & Nexuzy Tech Pvt Ltd.

Python

1

22 commits

updated Mar 31, 2026

See the code

README

DAVID CYBER INTELLIGENCE SYSTEM

DAVID CIS Logo

Developed by Devil Pvt Ltd & Nexuzy Tech Pvt Ltd

Python Platform Version License Status

██████╗  █████╗ ██╗   ██╗██╗██████╗
██╔══██╗██╔══██╗██║   ██║██║██╔══██╗
██║  ██║███████║██║   ██║██║██║  ██║
██║  ██║██╔══██║╚██╗ ██╔╝██║██║  ██║
██████╔╝██║  ██║ ╚████╔╝ ██║██████╔╝
╚═════╝ ╚═╝  ╚═╝  ╚═══╝  ╚═╝╚═════╝
  CYBER INTELLIGENCE SYSTEM  v2.0

A TRUE AI-Powered Cybersecurity Platform Security Analysis · Real-Time Defense · Bug Hunting · Live Global Tracking


🗺️ Table of Contents

  1. What Is DAVID?
  2. Core Architecture
  3. All Features
  4. Web Dashboard
  5. Required API Keys
  6. Complete .env Template
  7. Project Directories
  8. Roadmap / Status
  9. REST API Endpoints
  10. Running Without LLM
  11. Data Layer
  12. Quick Start
  13. Install as Normal Software
  14. AI Commands
  15. Version History
  16. Contributing
  17. Legal Disclaimer

🧠 What Is DAVID?

DAVID (Defense & Attack Versatile Intelligence Daemon) is a complete AI-powered cybersecurity platform that runs on your desktop — Windows, macOS, or Linux — like any normal software. It combines:

  • 🔴 Offensive tools — Nmap, SQLMap, Hydra, Metasploit, OWASP ZAP, OpenVAS, attack simulation
  • 🦠 Malware analysis — YARA, pefile, capstone, AI behavior analysis
  • 🌐 Network monitoring — Scapy, Suricata IDS, anomaly detection, SOC scoring
  • 🕵️ OSINT — SpiderFoot, Shodan, theHarvester, CyNER AI
  • 🛡️ Defense — Open-AppSec ML WAF, Cloudflare automation, auto IP blocking
  • 🧠 AI brain — Local Mixtral LLM (runs offline, no API cost)
  • ✈️ Live tracking — Flights, ships, satellites, IP geolocation, dashboard views
  • 🐛 Bug finder — Analyzes any APK/EXE/PHP/Python/JS for security bugs
  • 🏆 Bug bounty — Full platform with CVSS scoring and rewards

All controlled from one GUI application with a dark cyberpunk interface, plus a browser-accessible dashboard served by FastAPI.


🏗️ Core Architecture

┌─────────────────────────────────────────────────────────────────┐
│               LLM BRAIN  (Mixtral-8x7B GGUF)                   │
│               via ctransformers  ─  runs 100% OFFLINE           │
│         Intent · Reasoning · Explanation · Task Routing         │
└───────────────────────────┬─────────────────────────────────────┘
                            │
               ┌────────────▼────────────┐
               │       TASK ROUTER       │
               │  Routes input to module │
               └────────────┬────────────┘
                            │
┌──────────┬──────────┬─────┴────┬──────────┬──────────┬─────────┐
│ Offensive│ Malware  │ Network  │  OSINT   │ Defense  │Tracking │
│ Engine   │ Engine   │   IDS    │ Engine   │  WAF     │ Engine  │
│ Nmap     │ YARA     │ Scapy    │SpiderFoot│Open-AppSc│Flights  │
│ SQLMap   │ pefile   │Suricata  │ Shodan   │ Cloudflare│ Ships  │
│ Hydra    │capstone  │ LSTM     │theHarves │ Auto-IP  │Satellite│
│ ZAP      │ XGen-Q   │  ML IDS  │ CyNER    │  Block   │Cyber Map│
│ OpenVAS  │          │          │          │ CAI      │         │
└──────────┴──────────┴──────────┴──────────┴──────────┴─────────┘
                            │
        ┌───────────────────┼───────────────────┐
        │                   │                   │
  ┌─────▼──────┐    ┌───────▼──────┐    ┌──────▼──────┐
  │Threat Intel│    │  SOC / SIEM  │    │ Bug Bounty  │
  │MISP+OpenCTI│    │Wazuh + ELK   │    │  Platform   │
  │   Neo4j    │    │  Real-time   │    │ CVSS Scorer │
  └────────────┘    └──────────────┘    └─────────────┘
                            │
         PostgreSQL · Elasticsearch · Neo4j · SQLite

✅ All Features

🔴 1. Offensive Security Engine

Run penetration tests, vulnerability scans, and attack simulations against a target IP or web app. The AI guides each step, explains findings, and generates fix suggestions.

FeatureToolWhat It Does
Port & Service ScanNmap -sV -sCService detection and recon workflows
Standalone Vulnerability Scannerengines/vulnerability_scanner.pyTop-1000 port scan, OS detection, CVE enrichment, raw Nmap output, patch links
CVE DetectionNmap + vulners.nseAuto-matches services to known CVEs
SQL InjectionSQLMapTests parameters for SQL injection
Full Web App ScanOWASP ZAP APIDAST scan for XSS, CSRF, injections, and misconfigurations
Brute ForceHydraTests SSH, FTP, and HTTP login flows
OpenVAS Scansecurity/openvas_client.pyLaunches authenticated vulnerability scans through OpenVAS
Attack Simulationengines/attack_sim_engine.pySimulates basic, web, or full attack paths with escalating checks
Auto ExploitationMetasploit + DeepExploitMaps findings to exploit options
Pentest WorkflowPentestGPT logic + LLMRecon → scan → exploit → report
Fix SuggestionsMixtral LLMPatch recommendation for every finding

Attack Simulation scopes

  • basic — Nmap top-200 ports plus CVE matching.
  • web — Adds SQLMap injection testing and OWASP ZAP DAST.
  • full — Adds Metasploit module discovery for deeper validation.

Flow:

Target IP/URL → Recon → Vulnerability scan → CVE match → SQLMap/ZAP/OpenVAS
      → Attack simulation → DeepExploit → LLM explanation → Risk report

🦠 2. Malware Analysis Engine

Upload any file and analyze it without executing it. DAVID looks for trojans, ransomware, spyware, and backdoors.

FeatureToolWhat It Does
Signature ScanYARA (1000+ rules)Matches known malware families
Binary ParsingpefilePE headers, imports, exports, sections, entropy
DisassemblycapstoneReadable assembly output
String ExtractionCustom extractorFinds URLs, IPs, registry keys, and secrets
Behavior AnalysisXGen-Q modelIdentifies ransomware, keylogger, and botnet patterns
ASLR / DEP checkpefile flagsChecks exploit mitigations
Risk ScoreWeighted scorer0–100 score: CLEAN / LOW / MEDIUM / HIGH / CRITICAL
AI ExplanationMixtral LLMPlain-English malware summary

Supported: .exe .dll .bin .so .apk .py .js .php .docx .pdf


🌐 3. Network IDS & Live Attack Map

Monitors the network in real time, detects suspicious activity, and links detections to map and defense workflows.

FeatureToolWhat It Does
Packet CaptureScapySniffs packets on the selected interface
IDS Rules EngineSuricataRule-based detection for scans, DDoS, and exploits
Traffic LoggingZeekStructured network activity logs
Anomaly DetectionLSTM / ML IDSFlags traffic that deviates from learned patterns
Phishing DetectionRL / ML modelScores suspicious URLs
Live Attack Maptracking/attack_map.pyAnimated world map for attacker → target visualization
Auto BlockDefense EngineBlocks attacker IPs through local or Cloudflare controls
AI ExplanationMixtral LLMExplains attack type and response guidance

⚠️ Packet capture and interface monitoring may require admin/root privileges.


🕵️ 4. OSINT Investigation Engine

Enter any IP, domain, email, phone number, or username to build an intelligence profile.

FeatureToolWhat It Does
Automated ReconSpiderFootQueries broad OSINT sources automatically
Email & Subdomain HunttheHarvesterFinds emails, subdomains, and associated identities
Exposed ServicesShodan APIEnumerates indexed ports, banners, and exposures
AI Entity ExtractionCyNERExtracts IPs, CVEs, domains, and hashes from text
WHOIS / DNS HistorySecurityTrails APIDNS records, historical WHOIS, subdomains
Breach CheckHaveIBeenPwned APIChecks exposure in known breaches
Threat CorrelationMixtral LLMLinks results to campaigns or actors

🛡️ 5. Defense Engine & WAF

Protects servers and web applications in real time with local controls, WAF integrations, and AI-assisted hardening.

FeatureToolWhat It Does
ML Web FirewallOpen-AppSecBlocks SQLi, XSS, RCE, path traversal, and SSRF
Auto-Learning ModeOpen-AppSecLearns normal traffic and flags anomalies
IP Reputation BlockAbuseIPDB + custom logicBlocks known bad IPs before they connect
Rate LimitingDefense EngineSlows brute-force and DDoS attempts
Geo-BlockingGeoIP engineBlocks traffic by region or country
Threat DBPostgreSQLStores blocked events and context
Alert on BlockTelegram/EmailSends alerts when attacks are blocked
Cloudflare WAF Statssecurity/cloudflare_client.pyPulls account zones and WAF statistics
Cloudflare IP Blockingblock_ip(zone_id, ip)Pushes firewall block rules to Cloudflare in real time
CAI Defensive Modesecurity/cai_engine.pyRuns port audit, SSL checks, and HTTP security header auditing

CAI Engine

The CAI Engine is a dual-mode cybersecurity AI pipeline.

  • mode="offensive" runs recon, CVE checks, web checks, and LLM analysis.
  • mode="defensive" performs port audits, SSL certificate inspection, HTTP security header checks, and AI-generated hardening recommendations.
  • The defensive audit checks for headers such as Strict-Transport-Security, X-Frame-Options, X-Content-Type-Options, and Content-Security-Policy.

🧠 6. Threat Intelligence Engine

Cross-references findings across modules against global threat databases.

FeatureToolWhat It Does
IOC ManagementMISPStores IPs, hashes, domains, and events
Attack GraphOpenCTIVisualizes threat actor → TTP → IOC relationships
IOC LookupMISP APIChecks whether a finding is already known
Graph DBNeo4jStores relationships and attack chains
Cross-module CorrelationAll enginesLinks network, OSINT, intel, and defense findings
OTX FeedsAlienVault OTXPulls community threat pulses

📊 7. SOC / SIEM Layer

A desktop SOC workflow for log review, scoring, alerting, and automated response.

FeatureToolWhat It Does
Log CollectionWazuh agentCollects OS, application, and security logs
Log IndexingElasticsearchSearches large volumes of log data quickly
Anomaly DetectionML + heuristicsFinds unusual login, file, and network behavior
Real-time AlertsFastAPI WebSocketPushes live alerts to GUI and dashboard consumers
Auto IP BlockLocal / remote controlsBlocks attacker IPs when thresholds are exceeded
Attack Pattern LibrarySOC engine regex rulesDetects brute force, SQLi, XSS, path traversal, port scan, DDoS, malware, and privilege escalation
IP Scoring_score_ips logicScores suspicious IPs and escalates or blocks high-risk addresses
Log File Drop Analysisanalyze_log_file(path)Parses arbitrary log files such as auth, web, or service logs
Dashboard Dataget_dashboard_data()Returns aggregate threat stats for the session

🏆 8. Bug Bounty Platform

A vulnerability disclosure and reward platform is bundled with DAVID.

FeatureWhat It Does
Bug SubmissionResearchers submit via GUI form or REST API (POST /bounty/submit)
AI ValidationLLM reads the report and estimates exploitability
CVSS v3.1 Auto-ScoreCalculates severity automatically
Duplicate DetectionRejects identical submissions
PoC UploadAttaches screenshots, video, or exploit code
Auto SeverityCRITICAL / HIGH / MEDIUM / LOW / INFORMATIONAL
Admin PanelApprove, reject, or request more info
Reward TrackerTracks payouts and researcher ranking
REST APISeparate API docs at http://localhost:8001/docs

🐛 9. App Bug Analyzer

Drop any application file or source folder into DAVID to find security issues and suggested fixes.

InputWhat Gets Analyzed
.apkAndroidManifest.xml, Java/Kotlin code, resources
.exe / .dllPE headers, mitigations, strings, YARA hits
.phpSQLi, RFI, eval, shell_exec, redirects, weak hashing
.pyHardcoded secrets, debug=True, eval, pickle misuse
.js / .tsXSS sinks, token storage, eval, insecure URLs
.java / .ktSQL concat, ProcessBuilder, weak randomness, debug flags
URLSecurity headers, cookie flags, mixed content, error leaks
Folder / ZIPRecursive scan across project files

Each bug report gives:

  • Severity: CRITICAL / HIGH / MEDIUM / LOW / INFO
  • File name and exact line number
  • Triggering code snippet
  • Fix suggestion
  • CVSS estimate
  • Export to HTML or JSON report
python engines/bug_analyzer.py app-release.apk
python engines/bug_analyzer.py https://yoursite.com
python engines/bug_analyzer.py C:\projects\myapp\

🌍 10. Live Cyber Attack Map

The live attack map is a dedicated tracking module for real-time visualization of hostile activity.

FeatureHow It Works
Live attack feedUses reputation and threat-intel feeds such as AbuseIPDB and OTX
World map canvasRenders a Tkinter/PIL world map widget
Animated arrowsDraws attack source → destination movement
Attack labelsShows attack types such as DDoS, SQLi, brute force, or malware
Local alertsRaises a popup when monitored assets are targeted
Attack counterTracks volume per second or per hour
Filter by typeFilters displayed event classes
Heatmap modeColors regions by observed activity volume

Implemented module path: tracking/attack_map.py and exposed in the GUI as a dedicated tab.


✈️ 11. Live Flight Tracking

Track aircraft in real time using external flight data sources.

FeatureDetails
Data sourceOpenSky Network API
SearchCallsign, ICAO24, airline, country, or area
Live dataPosition, altitude, speed, heading, squawk
Flight pathRecent flight path rendering
Auto-refreshPeriodic updates
Alert modeAlert when a flight enters a watched region
flight_tracker.track(callsign="AIC101")

🚢 12. Live Ship Tracking

Track vessels worldwide using AIS-backed sources.

FeatureDetails
Data sourceMarineTraffic API and public AIS feeds
SearchVessel name, MMSI, IMO number, flag state
Live dataPosition, speed, heading, destination, ETA
Ship typesCargo, tanker, passenger, fishing, naval
Port arrivalsTracks arrivals and departures
Route historyRecent route history
ship_tracker.track(mmsi="235009998")

🛰️ 13. Live Satellite Tracking

Track satellites and space stations using TLE and orbit propagation data.

FeatureDetails
Data sourceCelesTrak TLE data and N2YO API
PropagationSkyfield orbital calculations
SearchSatellite name, NORAD ID, or category
CategoriesISS, weather, GPS, spy sats, Starlink, amateur
Live positionLatitude, longitude, altitude, velocity
Orbital pathGround track rendering
Next passCalculates next visible pass for your location
satellite_tracker.track(norad_id=25544)

📍 14. IP Geolocation

Map any IP address to location and network metadata.

FeatureDetails
Data sourceip-api.com
ReturnsCountry, city, ISP, ASN, timezone, lat/lon
Threat checkCross-checks with AbuseIPDB and OTX
Map pinShows the IP on a map
Bulk lookupHandles multiple IPs
Reverse DNSIncludes hostname lookup

⚙️ 15. Automation & Alerting

DAVID can schedule jobs, generate notifications, and automate multi-module workflows.

FeatureWhat It Does
Scheduled JobsRuns any supported module on a schedule
General SchedulerScanScheduler.add_job() accepts more than vuln/pentest jobs, including osint, malware, geo, and others routed by the task router
Telegram AlertsSends instant messages on CRITICAL/HIGH events
Email AlertsSMTP mail with threat report attachments
Auto IP BlockBlocks attacking IPs automatically
Auto Patch ReportsGenerates fix guidance after scans
Watchlist AlertsAlerts on watched IPs, domains, or indicators

🌐 Web Dashboard

A browser-based dashboard is served directly by the FastAPI backend.

  • Default URL: http://localhost:8000/
  • Static assets: /static
  • OpenAPI docs: http://localhost:8000/docs
  • Health endpoint: http://localhost:8000/health

If dashboard/index.html exists, the API root serves that page automatically.


🔑 Required API Keys

All keys go in your .env file. Most integrations can run on free or self-hosted services.

🟢 Free / Self-hosted Core

ServiceWhat For.env Key
ShodanExposed services and internet reconSHODAN_API_KEY
OWASP ZAPWeb application scanningZAP_URL, ZAP_API_KEY
OpenVASVulnerability scanningOPENVAS_URL, OPENVAS_USER, OPENVAS_PASS
MISPThreat intelligence IOC managementMISP_URL, MISP_KEY
OpenCTIThreat graphingOPENCTI_URL, OPENCTI_KEY
WazuhSIEM / alert collectionWAZUH_URL, WAZUH_USER, WAZUH_PASS
Telegram BotAlert notificationsTELEGRAM_BOT_TOKEN, TELEGRAM_CHAT_ID
OpenSky NetworkFlight trackingOPENSKY_USER, OPENSKY_PASS

🟡 Freemium

ServiceWhat For.env Key
VirusTotalFile and IOC enrichmentVIRUSTOTAL_API_KEY
AbuseIPDBIP reputation checksABUSEIPDB_API_KEY
AlienVault OTXThreat pulsesOTX_API_KEY
HaveIBeenPwnedBreach lookupHIBP_API_KEY
SecurityTrailsDNS and WHOIS historySECURITYTRAILS_KEY
N2YOSatellite dataN2YO_API_KEY
MarineTrafficShip trackingMARINETRAFFIC_KEY
CloudflareWAF stats and automated IP blockingCLOUDFLARE_API_TOKEN, CLOUDFLARE_EMAIL

🔴 Optional

ServiceWhat For.env Key
OpenAIAlternative hosted LLM pathOPENAI_API_KEY
SMTPEmail alertsSMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASS, ALERT_EMAIL

✅ Core workflows can still run with local/self-hosted tooling and the offline LLM path.


📋 Complete .env Template

Copy .env.example to .env and fill in your values:

# ── AI / LLM ─────────────────────────────────────────
LLM_MODEL_PATH=models/mixtral.gguf
LLM_MODEL_TYPE=mistral

# ── Offensive Tools ──────────────────────────────────
ZAP_URL=http://localhost:8080
ZAP_API_KEY=your_zap_api_key
OPENVAS_URL=https://localhost:9392
OPENVAS_USER=admin
OPENVAS_PASS=your_openvas_password

# ── SIEM / SOC ───────────────────────────────────────
WAZUH_URL=https://localhost:55000
WAZUH_USER=wazuh
WAZUH_PASS=your_wazuh_password

# ── Threat Intelligence ──────────────────────────────
SHODAN_API_KEY=your_shodan_key
VIRUSTOTAL_API_KEY=your_virustotal_key
ABUSEIPDB_API_KEY=your_abuseipdb_key
OTX_API_KEY=your_otx_key
SECURITYTRAILS_KEY=your_securitytrails_key
HIBP_API_KEY=your_hibp_key
MISP_URL=https://your-misp-instance
MISP_KEY=your_misp_auth_key
OPENCTI_URL=http://localhost:8080
OPENCTI_KEY=your_opencti_key

# ── Live Tracking ────────────────────────────────────
OPENSKY_USER=your_opensky_username
OPENSKY_PASS=your_opensky_password
N2YO_API_KEY=your_n2yo_key
MARINETRAFFIC_KEY=your_marinetraffic_key

# ── Alerts ───────────────────────────────────────────
TELEGRAM_BOT_TOKEN=your_telegram_bot_token
TELEGRAM_CHAT_ID=your_telegram_chat_id
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
[email protected]
SMTP_PASS=your_app_password
[email protected]

# ── Optional / Defense Integrations ──────────────────
CLOUDFLARE_API_TOKEN=your_cloudflare_token
[email protected]
OPENAI_API_KEY=your_openai_key

# ── Databases ────────────────────────────────────────
POSTGRES_URL=postgresql://user:pass@localhost/david_db
ELASTICSEARCH_URL=http://localhost:9200
NEO4J_URL=bolt://localhost:7687
NEO4J_USER=neo4j
NEO4J_PASS=your_neo4j_password

📁 Project Directories

PathPurpose
models/Local LLM and ML model files used by DAVID. Place mixtral.gguf here and keep additional model weights in this directory.
config/Configuration files for modules, routes, scans, and integration settings.
data/Cached results, local datasets, scan outputs, and generated intelligence artifacts.
dashboard/Browser dashboard frontend served by FastAPI.
engines/Offensive, defensive, scanning, and analysis engines.
security/Security-specific clients and pipelines such as OpenVAS, Cloudflare, and CAI.
tracking/Flight, ship, satellite, geo, and cyber-attack tracking modules.
automation/Scheduler and alert automation utilities.

Models

  • models/mixtral.gguf is the default offline LLM path.
  • Keep enough disk space for GGUF and other model artifacts before first run.
  • Large models should not be committed to Git; download them locally into models/.

🧭 Roadmap / Status

Some modules are fully wired into the task router and API, while others are still lightweight or evolving. Treat the list below as the current implementation status guide.

AreaStatusNotes
Core API / routerAvailableFastAPI v2.0.0 backend and dashboard serving are implemented.
Vulnerability scanningAvailableSeparate vuln_scan style workflows exist beyond pentest mode.
Attack simulationAvailableScope-based simulation paths are implemented.
CAI defensive auditAvailableIncludes SSL and security-header checks.
Cloudflare automationAvailableStats retrieval and IP block actions exist.
Live cyber attack mapDocumented / implementation targetDedicated module path is tracking/attack_map.py; verify GUI tab wiring in your local build.
Network IDS advanced MLIn progressDeep IDS integrations may still be skeletal depending on local setup.
OSINT mega-source coverageIn progressExternal source breadth depends on installed tools and API keys.
Pentest / exploitation automationIn progressSome exploit integrations may require extra services or remain partial.
Flight / ship tracking richnessIn progressAdvanced tracking behavior depends on provider credentials and local UI wiring.

🔌 REST API Endpoints

The backend FastAPI app identifies itself as version 2.0.0 and exposes the following documented routes.

EndpointMethodPurpose
/GETServes dashboard/index.html when present
/healthGETReturns status, version, developer, and loaded modules
/analyzePOSTUniversal task-router endpoint for any supported module
/scoreGETReturns unified threat score report
/score/updatePOSTUpdates a module score and returns the aggregate report
/api/wazuh/alertsGETFetches Wazuh alerts
/api/zap/scanPOSTRuns an OWASP ZAP scan
/api/openvas/scanPOSTRuns an OpenVAS scan
/api/hydra/testPOSTRuns a Hydra credential test
/api/cloudflare/statsGETReturns Cloudflare zone/WAF stats
/api/deepexploitPOSTRuns DeepExploit workflow
/api/osintPOSTRuns OSINT investigation
/api/pentestPOSTRuns pentest workflow
/api/malwarePOSTRuns malware analysis
/api/geoPOSTRuns IP geolocation
/api/chatPOSTSends a query to the AI chat route
/ws/alertsWSLive alert WebSocket stream

Module routing examples

{"module":"vuln_scan","params":{"target":"192.168.1.10"}}
{"module":"attack_sim","params":{"target":"https://example.com","scope":"web"}}
{"module":"osint","params":{"target":"example.com"}}

📴 Running Without LLM

DAVID supports an offline fallback mode when the Mixtral GGUF model is not present.

  • If models/mixtral.gguf is missing, the LLM layer can return a stub/offline response instead of crashing the platform.
  • This lets you test routers, scanners, dashboard views, and API endpoints before downloading the full model.
  • Recommended download source for Mixtral GGUF: TheBloke/Mixtral-8x7B-Instruct-v0.1-GGUF

🗄️ Data Layer

DatabasePurpose
PostgreSQLThreat data, bug reports, users, rewards
ElasticsearchLog indexing and SIEM search
Neo4jThreat graphs and IOC relationships
SQLiteLocal cache and offline data
JSON filesFast local module output and config storage

🧠 Unified Threat Scoring

Threat Score  =  Malware Score
              +  Network Score
              +  OSINT Score
              +  Threat Intel Match
              +  Active Exploit Score

  0 – 24   →  LOW       (green)   Safe
 25 – 49   →  MEDIUM    (yellow)  Monitor
 50 – 74   →  HIGH      (orange)  Investigate
 75 – 100  →  CRITICAL  (red)     Respond Now

🚀 Quick Start

git clone https://github.com/david0154/david-cyber-intelligence-system
cd david-cyber-intelligence-system
pip install -r requirements.txt
cp .env.example .env
python launcher.py
# or: python gui_app.py
# or: python main.py
# or: uvicorn core.api:app --reload --port 8000
# or: uvicorn bounty.api:app --reload --port 8001

Dashboard access

  • Main dashboard: http://localhost:8000/
  • API docs: http://localhost:8000/docs
  • Bug bounty API docs: http://localhost:8001/docs

💿 Install as Normal Software

Windows

install.bat

Linux / macOS

bash install.sh

Build Standalone Installer

python build_exe.py

Installer names and package versions should be updated to 2.0.0 wherever release artifacts are generated.


🤖 AI Natural Language Commands

Type these in the AI chat panel:

"Scan server 192.168.1.1"
"Run vuln scan on 192.168.1.1"
"Simulate attack on https://mysite.com with scope web"
"Analyze malware.exe"
"Analyze app-release.apk"
"Show live cyber attacks"
"Track flight AIC101"
"Track ship MMSI 235009998"
"Track ISS satellite"
"Check IP 1.2.3.4"
"Is [email protected] breached?"
"Scan PHP project for bugs"
"Analyze auth.log"
"Show live attack alerts"
"Block IP 5.6.7.8"
"Generate pentest report"

🔄 Full Execution Flow

User Input  (IP / File / URL / Log / Text / Voice command)
      ↓
LLM Brain   (Mixtral GGUF — understands intent offline)
      ↓
Task Router (selects correct engine + tool)
      ↓
Engine runs (tool + AI model in background thread)
      ↓
Threat Intel (MISP / OTX / AbuseIPDB cross-check)
      ↓
LLM merges  (combines all results into one answer)
      ↓
Output:
  ✅ Threat Score 0–100
  ✅ Attack type + plain English explanation
  ✅ Fix / patch recommendation
  ✅ IOC saved to database
  ✅ Alert sent to Telegram / Email
  ✅ PDF/HTML report generated

📝 Version History

  • v2.0.0 — FastAPI backend version declared in core/api.py, expanded API surface, dashboard serving, Cloudflare/OpenVAS endpoints, and documented CAI / simulation / scanner workflows.
  • v1.0.0 — Initial public README/version branding.

A dedicated CHANGELOG.md is recommended for future tagged releases.


🤝 Contributing

This repository does not yet ship with a dedicated CONTRIBUTING.md, but external contributors should follow these baseline rules:

  • Open an issue before large feature work.
  • Keep modules isolated by engine/domain.
  • Add or update README/API docs for every new feature.
  • Avoid committing secrets, API keys, or large model weights.
  • Test GUI, API, and CLI entry points for any changed feature.

DAVID CIS is for authorized security testing ONLY.

You must have written permission from the system owner before running any scans. Unauthorized scanning is illegal under the Computer Fraud and Abuse Act (CFAA), IT Act 2000 (India), and equivalent laws worldwide.

The developers (Devil Pvt Ltd / Nexuzy Tech Pvt Ltd) are not responsible for any misuse of this software.


👨‍💻 Developer

David
Full-Stack Security Engineer
Nexuzy Tech Pvt Ltd | Devil Pvt Ltd
Kolkata, West Bengal, India

🌐 hypechats.com
📧 [email protected]
🐙 github.com/david0154


DAVID CYBER INTELLIGENCE SYSTEM v2.0
Built with ❤️ in Kolkata, India
Devil Pvt Ltd & Nexuzy Tech Pvt Ltd

david0154/david-cyber-intelligence-system

DAVID CYBER INTELLIGENCE SYSTEM - Advanced AI-powered cybersecurity platform with Malware Analysis, Network IDS, OSINT, Pentest, Defense Engine, Threat Intelligence, Flight/Ship/Satellite Tracking & Geo Intelligence. Developed by Devil Pvt Ltd & Nexuzy Tech Pvt Ltd.

Python

1

22 commits

updated Mar 31, 2026

See the code

README

DAVID CYBER INTELLIGENCE SYSTEM

DAVID CIS Logo

Developed by Devil Pvt Ltd & Nexuzy Tech Pvt Ltd

Python Platform Version License Status

██████╗  █████╗ ██╗   ██╗██╗██████╗
██╔══██╗██╔══██╗██║   ██║██║██╔══██╗
██║  ██║███████║██║   ██║██║██║  ██║
██║  ██║██╔══██║╚██╗ ██╔╝██║██║  ██║
██████╔╝██║  ██║ ╚████╔╝ ██║██████╔╝
╚═════╝ ╚═╝  ╚═╝  ╚═══╝  ╚═╝╚═════╝
  CYBER INTELLIGENCE SYSTEM  v2.0

A TRUE AI-Powered Cybersecurity Platform Security Analysis · Real-Time Defense · Bug Hunting · Live Global Tracking


🗺️ Table of Contents

  1. What Is DAVID?
  2. Core Architecture
  3. All Features
  4. Web Dashboard
  5. Required API Keys
  6. Complete .env Template
  7. Project Directories
  8. Roadmap / Status
  9. REST API Endpoints
  10. Running Without LLM
  11. Data Layer
  12. Quick Start
  13. Install as Normal Software
  14. AI Commands
  15. Version History
  16. Contributing
  17. Legal Disclaimer

🧠 What Is DAVID?

DAVID (Defense & Attack Versatile Intelligence Daemon) is a complete AI-powered cybersecurity platform that runs on your desktop — Windows, macOS, or Linux — like any normal software. It combines:

  • 🔴 Offensive tools — Nmap, SQLMap, Hydra, Metasploit, OWASP ZAP, OpenVAS, attack simulation
  • 🦠 Malware analysis — YARA, pefile, capstone, AI behavior analysis
  • 🌐 Network monitoring — Scapy, Suricata IDS, anomaly detection, SOC scoring
  • 🕵️ OSINT — SpiderFoot, Shodan, theHarvester, CyNER AI
  • 🛡️ Defense — Open-AppSec ML WAF, Cloudflare automation, auto IP blocking
  • 🧠 AI brain — Local Mixtral LLM (runs offline, no API cost)
  • ✈️ Live tracking — Flights, ships, satellites, IP geolocation, dashboard views
  • 🐛 Bug finder — Analyzes any APK/EXE/PHP/Python/JS for security bugs
  • 🏆 Bug bounty — Full platform with CVSS scoring and rewards

All controlled from one GUI application with a dark cyberpunk interface, plus a browser-accessible dashboard served by FastAPI.


🏗️ Core Architecture

┌─────────────────────────────────────────────────────────────────┐
│               LLM BRAIN  (Mixtral-8x7B GGUF)                   │
│               via ctransformers  ─  runs 100% OFFLINE           │
│         Intent · Reasoning · Explanation · Task Routing         │
└───────────────────────────┬─────────────────────────────────────┘
                            │
               ┌────────────▼────────────┐
               │       TASK ROUTER       │
               │  Routes input to module │
               └────────────┬────────────┘
                            │
┌──────────┬──────────┬─────┴────┬──────────┬──────────┬─────────┐
│ Offensive│ Malware  │ Network  │  OSINT   │ Defense  │Tracking │
│ Engine   │ Engine   │   IDS    │ Engine   │  WAF     │ Engine  │
│ Nmap     │ YARA     │ Scapy    │SpiderFoot│Open-AppSc│Flights  │
│ SQLMap   │ pefile   │Suricata  │ Shodan   │ Cloudflare│ Ships  │
│ Hydra    │capstone  │ LSTM     │theHarves │ Auto-IP  │Satellite│
│ ZAP      │ XGen-Q   │  ML IDS  │ CyNER    │  Block   │Cyber Map│
│ OpenVAS  │          │          │          │ CAI      │         │
└──────────┴──────────┴──────────┴──────────┴──────────┴─────────┘
                            │
        ┌───────────────────┼───────────────────┐
        │                   │                   │
  ┌─────▼──────┐    ┌───────▼──────┐    ┌──────▼──────┐
  │Threat Intel│    │  SOC / SIEM  │    │ Bug Bounty  │
  │MISP+OpenCTI│    │Wazuh + ELK   │    │  Platform   │
  │   Neo4j    │    │  Real-time   │    │ CVSS Scorer │
  └────────────┘    └──────────────┘    └─────────────┘
                            │
         PostgreSQL · Elasticsearch · Neo4j · SQLite

✅ All Features

🔴 1. Offensive Security Engine

Run penetration tests, vulnerability scans, and attack simulations against a target IP or web app. The AI guides each step, explains findings, and generates fix suggestions.

FeatureToolWhat It Does
Port & Service ScanNmap -sV -sCService detection and recon workflows
Standalone Vulnerability Scannerengines/vulnerability_scanner.pyTop-1000 port scan, OS detection, CVE enrichment, raw Nmap output, patch links
CVE DetectionNmap + vulners.nseAuto-matches services to known CVEs
SQL InjectionSQLMapTests parameters for SQL injection
Full Web App ScanOWASP ZAP APIDAST scan for XSS, CSRF, injections, and misconfigurations
Brute ForceHydraTests SSH, FTP, and HTTP login flows
OpenVAS Scansecurity/openvas_client.pyLaunches authenticated vulnerability scans through OpenVAS
Attack Simulationengines/attack_sim_engine.pySimulates basic, web, or full attack paths with escalating checks
Auto ExploitationMetasploit + DeepExploitMaps findings to exploit options
Pentest WorkflowPentestGPT logic + LLMRecon → scan → exploit → report
Fix SuggestionsMixtral LLMPatch recommendation for every finding

Attack Simulation scopes

  • basic — Nmap top-200 ports plus CVE matching.
  • web — Adds SQLMap injection testing and OWASP ZAP DAST.
  • full — Adds Metasploit module discovery for deeper validation.

Flow:

Target IP/URL → Recon → Vulnerability scan → CVE match → SQLMap/ZAP/OpenVAS
      → Attack simulation → DeepExploit → LLM explanation → Risk report

🦠 2. Malware Analysis Engine

Upload any file and analyze it without executing it. DAVID looks for trojans, ransomware, spyware, and backdoors.

FeatureToolWhat It Does
Signature ScanYARA (1000+ rules)Matches known malware families
Binary ParsingpefilePE headers, imports, exports, sections, entropy
DisassemblycapstoneReadable assembly output
String ExtractionCustom extractorFinds URLs, IPs, registry keys, and secrets
Behavior AnalysisXGen-Q modelIdentifies ransomware, keylogger, and botnet patterns
ASLR / DEP checkpefile flagsChecks exploit mitigations
Risk ScoreWeighted scorer0–100 score: CLEAN / LOW / MEDIUM / HIGH / CRITICAL
AI ExplanationMixtral LLMPlain-English malware summary

Supported: .exe .dll .bin .so .apk .py .js .php .docx .pdf


🌐 3. Network IDS & Live Attack Map

Monitors the network in real time, detects suspicious activity, and links detections to map and defense workflows.

FeatureToolWhat It Does
Packet CaptureScapySniffs packets on the selected interface
IDS Rules EngineSuricataRule-based detection for scans, DDoS, and exploits
Traffic LoggingZeekStructured network activity logs
Anomaly DetectionLSTM / ML IDSFlags traffic that deviates from learned patterns
Phishing DetectionRL / ML modelScores suspicious URLs
Live Attack Maptracking/attack_map.pyAnimated world map for attacker → target visualization
Auto BlockDefense EngineBlocks attacker IPs through local or Cloudflare controls
AI ExplanationMixtral LLMExplains attack type and response guidance

⚠️ Packet capture and interface monitoring may require admin/root privileges.


🕵️ 4. OSINT Investigation Engine

Enter any IP, domain, email, phone number, or username to build an intelligence profile.

FeatureToolWhat It Does
Automated ReconSpiderFootQueries broad OSINT sources automatically
Email & Subdomain HunttheHarvesterFinds emails, subdomains, and associated identities
Exposed ServicesShodan APIEnumerates indexed ports, banners, and exposures
AI Entity ExtractionCyNERExtracts IPs, CVEs, domains, and hashes from text
WHOIS / DNS HistorySecurityTrails APIDNS records, historical WHOIS, subdomains
Breach CheckHaveIBeenPwned APIChecks exposure in known breaches
Threat CorrelationMixtral LLMLinks results to campaigns or actors

🛡️ 5. Defense Engine & WAF

Protects servers and web applications in real time with local controls, WAF integrations, and AI-assisted hardening.

FeatureToolWhat It Does
ML Web FirewallOpen-AppSecBlocks SQLi, XSS, RCE, path traversal, and SSRF
Auto-Learning ModeOpen-AppSecLearns normal traffic and flags anomalies
IP Reputation BlockAbuseIPDB + custom logicBlocks known bad IPs before they connect
Rate LimitingDefense EngineSlows brute-force and DDoS attempts
Geo-BlockingGeoIP engineBlocks traffic by region or country
Threat DBPostgreSQLStores blocked events and context
Alert on BlockTelegram/EmailSends alerts when attacks are blocked
Cloudflare WAF Statssecurity/cloudflare_client.pyPulls account zones and WAF statistics
Cloudflare IP Blockingblock_ip(zone_id, ip)Pushes firewall block rules to Cloudflare in real time
CAI Defensive Modesecurity/cai_engine.pyRuns port audit, SSL checks, and HTTP security header auditing

CAI Engine

The CAI Engine is a dual-mode cybersecurity AI pipeline.

  • mode="offensive" runs recon, CVE checks, web checks, and LLM analysis.
  • mode="defensive" performs port audits, SSL certificate inspection, HTTP security header checks, and AI-generated hardening recommendations.
  • The defensive audit checks for headers such as Strict-Transport-Security, X-Frame-Options, X-Content-Type-Options, and Content-Security-Policy.

🧠 6. Threat Intelligence Engine

Cross-references findings across modules against global threat databases.

FeatureToolWhat It Does
IOC ManagementMISPStores IPs, hashes, domains, and events
Attack GraphOpenCTIVisualizes threat actor → TTP → IOC relationships
IOC LookupMISP APIChecks whether a finding is already known
Graph DBNeo4jStores relationships and attack chains
Cross-module CorrelationAll enginesLinks network, OSINT, intel, and defense findings
OTX FeedsAlienVault OTXPulls community threat pulses

📊 7. SOC / SIEM Layer

A desktop SOC workflow for log review, scoring, alerting, and automated response.

FeatureToolWhat It Does
Log CollectionWazuh agentCollects OS, application, and security logs
Log IndexingElasticsearchSearches large volumes of log data quickly
Anomaly DetectionML + heuristicsFinds unusual login, file, and network behavior
Real-time AlertsFastAPI WebSocketPushes live alerts to GUI and dashboard consumers
Auto IP BlockLocal / remote controlsBlocks attacker IPs when thresholds are exceeded
Attack Pattern LibrarySOC engine regex rulesDetects brute force, SQLi, XSS, path traversal, port scan, DDoS, malware, and privilege escalation
IP Scoring_score_ips logicScores suspicious IPs and escalates or blocks high-risk addresses
Log File Drop Analysisanalyze_log_file(path)Parses arbitrary log files such as auth, web, or service logs
Dashboard Dataget_dashboard_data()Returns aggregate threat stats for the session

🏆 8. Bug Bounty Platform

A vulnerability disclosure and reward platform is bundled with DAVID.

FeatureWhat It Does
Bug SubmissionResearchers submit via GUI form or REST API (POST /bounty/submit)
AI ValidationLLM reads the report and estimates exploitability
CVSS v3.1 Auto-ScoreCalculates severity automatically
Duplicate DetectionRejects identical submissions
PoC UploadAttaches screenshots, video, or exploit code
Auto SeverityCRITICAL / HIGH / MEDIUM / LOW / INFORMATIONAL
Admin PanelApprove, reject, or request more info
Reward TrackerTracks payouts and researcher ranking
REST APISeparate API docs at http://localhost:8001/docs

🐛 9. App Bug Analyzer

Drop any application file or source folder into DAVID to find security issues and suggested fixes.

InputWhat Gets Analyzed
.apkAndroidManifest.xml, Java/Kotlin code, resources
.exe / .dllPE headers, mitigations, strings, YARA hits
.phpSQLi, RFI, eval, shell_exec, redirects, weak hashing
.pyHardcoded secrets, debug=True, eval, pickle misuse
.js / .tsXSS sinks, token storage, eval, insecure URLs
.java / .ktSQL concat, ProcessBuilder, weak randomness, debug flags
URLSecurity headers, cookie flags, mixed content, error leaks
Folder / ZIPRecursive scan across project files

Each bug report gives:

  • Severity: CRITICAL / HIGH / MEDIUM / LOW / INFO
  • File name and exact line number
  • Triggering code snippet
  • Fix suggestion
  • CVSS estimate
  • Export to HTML or JSON report
python engines/bug_analyzer.py app-release.apk
python engines/bug_analyzer.py https://yoursite.com
python engines/bug_analyzer.py C:\projects\myapp\

🌍 10. Live Cyber Attack Map

The live attack map is a dedicated tracking module for real-time visualization of hostile activity.

FeatureHow It Works
Live attack feedUses reputation and threat-intel feeds such as AbuseIPDB and OTX
World map canvasRenders a Tkinter/PIL world map widget
Animated arrowsDraws attack source → destination movement
Attack labelsShows attack types such as DDoS, SQLi, brute force, or malware
Local alertsRaises a popup when monitored assets are targeted
Attack counterTracks volume per second or per hour
Filter by typeFilters displayed event classes
Heatmap modeColors regions by observed activity volume

Implemented module path: tracking/attack_map.py and exposed in the GUI as a dedicated tab.


✈️ 11. Live Flight Tracking

Track aircraft in real time using external flight data sources.

FeatureDetails
Data sourceOpenSky Network API
SearchCallsign, ICAO24, airline, country, or area
Live dataPosition, altitude, speed, heading, squawk
Flight pathRecent flight path rendering
Auto-refreshPeriodic updates
Alert modeAlert when a flight enters a watched region
flight_tracker.track(callsign="AIC101")

🚢 12. Live Ship Tracking

Track vessels worldwide using AIS-backed sources.

FeatureDetails
Data sourceMarineTraffic API and public AIS feeds
SearchVessel name, MMSI, IMO number, flag state
Live dataPosition, speed, heading, destination, ETA
Ship typesCargo, tanker, passenger, fishing, naval
Port arrivalsTracks arrivals and departures
Route historyRecent route history
ship_tracker.track(mmsi="235009998")

🛰️ 13. Live Satellite Tracking

Track satellites and space stations using TLE and orbit propagation data.

FeatureDetails
Data sourceCelesTrak TLE data and N2YO API
PropagationSkyfield orbital calculations
SearchSatellite name, NORAD ID, or category
CategoriesISS, weather, GPS, spy sats, Starlink, amateur
Live positionLatitude, longitude, altitude, velocity
Orbital pathGround track rendering
Next passCalculates next visible pass for your location
satellite_tracker.track(norad_id=25544)

📍 14. IP Geolocation

Map any IP address to location and network metadata.

FeatureDetails
Data sourceip-api.com
ReturnsCountry, city, ISP, ASN, timezone, lat/lon
Threat checkCross-checks with AbuseIPDB and OTX
Map pinShows the IP on a map
Bulk lookupHandles multiple IPs
Reverse DNSIncludes hostname lookup

⚙️ 15. Automation & Alerting

DAVID can schedule jobs, generate notifications, and automate multi-module workflows.

FeatureWhat It Does
Scheduled JobsRuns any supported module on a schedule
General SchedulerScanScheduler.add_job() accepts more than vuln/pentest jobs, including osint, malware, geo, and others routed by the task router
Telegram AlertsSends instant messages on CRITICAL/HIGH events
Email AlertsSMTP mail with threat report attachments
Auto IP BlockBlocks attacking IPs automatically
Auto Patch ReportsGenerates fix guidance after scans
Watchlist AlertsAlerts on watched IPs, domains, or indicators

🌐 Web Dashboard

A browser-based dashboard is served directly by the FastAPI backend.

  • Default URL: http://localhost:8000/
  • Static assets: /static
  • OpenAPI docs: http://localhost:8000/docs
  • Health endpoint: http://localhost:8000/health

If dashboard/index.html exists, the API root serves that page automatically.


🔑 Required API Keys

All keys go in your .env file. Most integrations can run on free or self-hosted services.

🟢 Free / Self-hosted Core

ServiceWhat For.env Key
ShodanExposed services and internet reconSHODAN_API_KEY
OWASP ZAPWeb application scanningZAP_URL, ZAP_API_KEY
OpenVASVulnerability scanningOPENVAS_URL, OPENVAS_USER, OPENVAS_PASS
MISPThreat intelligence IOC managementMISP_URL, MISP_KEY
OpenCTIThreat graphingOPENCTI_URL, OPENCTI_KEY
WazuhSIEM / alert collectionWAZUH_URL, WAZUH_USER, WAZUH_PASS
Telegram BotAlert notificationsTELEGRAM_BOT_TOKEN, TELEGRAM_CHAT_ID
OpenSky NetworkFlight trackingOPENSKY_USER, OPENSKY_PASS

🟡 Freemium

ServiceWhat For.env Key
VirusTotalFile and IOC enrichmentVIRUSTOTAL_API_KEY
AbuseIPDBIP reputation checksABUSEIPDB_API_KEY
AlienVault OTXThreat pulsesOTX_API_KEY
HaveIBeenPwnedBreach lookupHIBP_API_KEY
SecurityTrailsDNS and WHOIS historySECURITYTRAILS_KEY
N2YOSatellite dataN2YO_API_KEY
MarineTrafficShip trackingMARINETRAFFIC_KEY
CloudflareWAF stats and automated IP blockingCLOUDFLARE_API_TOKEN, CLOUDFLARE_EMAIL

🔴 Optional

ServiceWhat For.env Key
OpenAIAlternative hosted LLM pathOPENAI_API_KEY
SMTPEmail alertsSMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASS, ALERT_EMAIL

✅ Core workflows can still run with local/self-hosted tooling and the offline LLM path.


📋 Complete .env Template

Copy .env.example to .env and fill in your values:

# ── AI / LLM ─────────────────────────────────────────
LLM_MODEL_PATH=models/mixtral.gguf
LLM_MODEL_TYPE=mistral

# ── Offensive Tools ──────────────────────────────────
ZAP_URL=http://localhost:8080
ZAP_API_KEY=your_zap_api_key
OPENVAS_URL=https://localhost:9392
OPENVAS_USER=admin
OPENVAS_PASS=your_openvas_password

# ── SIEM / SOC ───────────────────────────────────────
WAZUH_URL=https://localhost:55000
WAZUH_USER=wazuh
WAZUH_PASS=your_wazuh_password

# ── Threat Intelligence ──────────────────────────────
SHODAN_API_KEY=your_shodan_key
VIRUSTOTAL_API_KEY=your_virustotal_key
ABUSEIPDB_API_KEY=your_abuseipdb_key
OTX_API_KEY=your_otx_key
SECURITYTRAILS_KEY=your_securitytrails_key
HIBP_API_KEY=your_hibp_key
MISP_URL=https://your-misp-instance
MISP_KEY=your_misp_auth_key
OPENCTI_URL=http://localhost:8080
OPENCTI_KEY=your_opencti_key

# ── Live Tracking ────────────────────────────────────
OPENSKY_USER=your_opensky_username
OPENSKY_PASS=your_opensky_password
N2YO_API_KEY=your_n2yo_key
MARINETRAFFIC_KEY=your_marinetraffic_key

# ── Alerts ───────────────────────────────────────────
TELEGRAM_BOT_TOKEN=your_telegram_bot_token
TELEGRAM_CHAT_ID=your_telegram_chat_id
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
[email protected]
SMTP_PASS=your_app_password
[email protected]

# ── Optional / Defense Integrations ──────────────────
CLOUDFLARE_API_TOKEN=your_cloudflare_token
[email protected]
OPENAI_API_KEY=your_openai_key

# ── Databases ────────────────────────────────────────
POSTGRES_URL=postgresql://user:pass@localhost/david_db
ELASTICSEARCH_URL=http://localhost:9200
NEO4J_URL=bolt://localhost:7687
NEO4J_USER=neo4j
NEO4J_PASS=your_neo4j_password

📁 Project Directories

PathPurpose
models/Local LLM and ML model files used by DAVID. Place mixtral.gguf here and keep additional model weights in this directory.
config/Configuration files for modules, routes, scans, and integration settings.
data/Cached results, local datasets, scan outputs, and generated intelligence artifacts.
dashboard/Browser dashboard frontend served by FastAPI.
engines/Offensive, defensive, scanning, and analysis engines.
security/Security-specific clients and pipelines such as OpenVAS, Cloudflare, and CAI.
tracking/Flight, ship, satellite, geo, and cyber-attack tracking modules.
automation/Scheduler and alert automation utilities.

Models

  • models/mixtral.gguf is the default offline LLM path.
  • Keep enough disk space for GGUF and other model artifacts before first run.
  • Large models should not be committed to Git; download them locally into models/.

🧭 Roadmap / Status

Some modules are fully wired into the task router and API, while others are still lightweight or evolving. Treat the list below as the current implementation status guide.

AreaStatusNotes
Core API / routerAvailableFastAPI v2.0.0 backend and dashboard serving are implemented.
Vulnerability scanningAvailableSeparate vuln_scan style workflows exist beyond pentest mode.
Attack simulationAvailableScope-based simulation paths are implemented.
CAI defensive auditAvailableIncludes SSL and security-header checks.
Cloudflare automationAvailableStats retrieval and IP block actions exist.
Live cyber attack mapDocumented / implementation targetDedicated module path is tracking/attack_map.py; verify GUI tab wiring in your local build.
Network IDS advanced MLIn progressDeep IDS integrations may still be skeletal depending on local setup.
OSINT mega-source coverageIn progressExternal source breadth depends on installed tools and API keys.
Pentest / exploitation automationIn progressSome exploit integrations may require extra services or remain partial.
Flight / ship tracking richnessIn progressAdvanced tracking behavior depends on provider credentials and local UI wiring.

🔌 REST API Endpoints

The backend FastAPI app identifies itself as version 2.0.0 and exposes the following documented routes.

EndpointMethodPurpose
/GETServes dashboard/index.html when present
/healthGETReturns status, version, developer, and loaded modules
/analyzePOSTUniversal task-router endpoint for any supported module
/scoreGETReturns unified threat score report
/score/updatePOSTUpdates a module score and returns the aggregate report
/api/wazuh/alertsGETFetches Wazuh alerts
/api/zap/scanPOSTRuns an OWASP ZAP scan
/api/openvas/scanPOSTRuns an OpenVAS scan
/api/hydra/testPOSTRuns a Hydra credential test
/api/cloudflare/statsGETReturns Cloudflare zone/WAF stats
/api/deepexploitPOSTRuns DeepExploit workflow
/api/osintPOSTRuns OSINT investigation
/api/pentestPOSTRuns pentest workflow
/api/malwarePOSTRuns malware analysis
/api/geoPOSTRuns IP geolocation
/api/chatPOSTSends a query to the AI chat route
/ws/alertsWSLive alert WebSocket stream

Module routing examples

{"module":"vuln_scan","params":{"target":"192.168.1.10"}}
{"module":"attack_sim","params":{"target":"https://example.com","scope":"web"}}
{"module":"osint","params":{"target":"example.com"}}

📴 Running Without LLM

DAVID supports an offline fallback mode when the Mixtral GGUF model is not present.

  • If models/mixtral.gguf is missing, the LLM layer can return a stub/offline response instead of crashing the platform.
  • This lets you test routers, scanners, dashboard views, and API endpoints before downloading the full model.
  • Recommended download source for Mixtral GGUF: TheBloke/Mixtral-8x7B-Instruct-v0.1-GGUF

🗄️ Data Layer

DatabasePurpose
PostgreSQLThreat data, bug reports, users, rewards
ElasticsearchLog indexing and SIEM search
Neo4jThreat graphs and IOC relationships
SQLiteLocal cache and offline data
JSON filesFast local module output and config storage

🧠 Unified Threat Scoring

Threat Score  =  Malware Score
              +  Network Score
              +  OSINT Score
              +  Threat Intel Match
              +  Active Exploit Score

  0 – 24   →  LOW       (green)   Safe
 25 – 49   →  MEDIUM    (yellow)  Monitor
 50 – 74   →  HIGH      (orange)  Investigate
 75 – 100  →  CRITICAL  (red)     Respond Now

🚀 Quick Start

git clone https://github.com/david0154/david-cyber-intelligence-system
cd david-cyber-intelligence-system
pip install -r requirements.txt
cp .env.example .env
python launcher.py
# or: python gui_app.py
# or: python main.py
# or: uvicorn core.api:app --reload --port 8000
# or: uvicorn bounty.api:app --reload --port 8001

Dashboard access

  • Main dashboard: http://localhost:8000/
  • API docs: http://localhost:8000/docs
  • Bug bounty API docs: http://localhost:8001/docs

💿 Install as Normal Software

Windows

install.bat

Linux / macOS

bash install.sh

Build Standalone Installer

python build_exe.py

Installer names and package versions should be updated to 2.0.0 wherever release artifacts are generated.


🤖 AI Natural Language Commands

Type these in the AI chat panel:

"Scan server 192.168.1.1"
"Run vuln scan on 192.168.1.1"
"Simulate attack on https://mysite.com with scope web"
"Analyze malware.exe"
"Analyze app-release.apk"
"Show live cyber attacks"
"Track flight AIC101"
"Track ship MMSI 235009998"
"Track ISS satellite"
"Check IP 1.2.3.4"
"Is [email protected] breached?"
"Scan PHP project for bugs"
"Analyze auth.log"
"Show live attack alerts"
"Block IP 5.6.7.8"
"Generate pentest report"

🔄 Full Execution Flow

User Input  (IP / File / URL / Log / Text / Voice command)
      ↓
LLM Brain   (Mixtral GGUF — understands intent offline)
      ↓
Task Router (selects correct engine + tool)
      ↓
Engine runs (tool + AI model in background thread)
      ↓
Threat Intel (MISP / OTX / AbuseIPDB cross-check)
      ↓
LLM merges  (combines all results into one answer)
      ↓
Output:
  ✅ Threat Score 0–100
  ✅ Attack type + plain English explanation
  ✅ Fix / patch recommendation
  ✅ IOC saved to database
  ✅ Alert sent to Telegram / Email
  ✅ PDF/HTML report generated

📝 Version History

  • v2.0.0 — FastAPI backend version declared in core/api.py, expanded API surface, dashboard serving, Cloudflare/OpenVAS endpoints, and documented CAI / simulation / scanner workflows.
  • v1.0.0 — Initial public README/version branding.

A dedicated CHANGELOG.md is recommended for future tagged releases.


🤝 Contributing

This repository does not yet ship with a dedicated CONTRIBUTING.md, but external contributors should follow these baseline rules:

  • Open an issue before large feature work.
  • Keep modules isolated by engine/domain.
  • Add or update README/API docs for every new feature.
  • Avoid committing secrets, API keys, or large model weights.
  • Test GUI, API, and CLI entry points for any changed feature.

DAVID CIS is for authorized security testing ONLY.

You must have written permission from the system owner before running any scans. Unauthorized scanning is illegal under the Computer Fraud and Abuse Act (CFAA), IT Act 2000 (India), and equivalent laws worldwide.

The developers (Devil Pvt Ltd / Nexuzy Tech Pvt Ltd) are not responsible for any misuse of this software.


👨‍💻 Developer

David
Full-Stack Security Engineer
Nexuzy Tech Pvt Ltd | Devil Pvt Ltd
Kolkata, West Bengal, India

🌐 hypechats.com
📧 [email protected]
🐙 github.com/david0154


DAVID CYBER INTELLIGENCE SYSTEM v2.0
Built with ❤️ in Kolkata, India
Devil Pvt Ltd & Nexuzy Tech Pvt Ltd