ET AI Hackathon 2.0 | Problem Statement 7 | Economic Times x Unstop 2026
India's critical national infrastructure faces escalating cyber threats. CERT-In reported over 1.59 million cybersecurity incidents in 2023. Most organizations discover breaches weeks after initial infiltration — because they rely on signature-based detection that fails against new attack patterns.
CyberShield AI addresses this by building a behavioural intelligence layer that detects anomalies autonomously, maps them to known threat frameworks, and executes containment — compressing response time from hours to seconds.
An AI-powered autonomous incident response pipeline with 5 specialized agents that detect, analyze, contain, verify, and escalate cyberattacks — with full audit logging and zero human intervention required for standard threats.
| Agent | Role | What it does |
|---|---|---|
| 👁 Watcher | Detection | Monitors honeypot logs, groups attempts by IP, flags suspicious activity |
| ⚖ Judge | Analysis | Maps patterns to MITRE ATT&CK framework, assigns confidence score and severity |
| 🔒 Doer | Containment | Executes autonomous block — writes IP to blocklist, enforced by honeypot |
| ✓ Checker | Verification | Independently verifies containment by sending real HTTP request and confirming 403 response |
| 🔧 Fixer | Escalation | If verification fails, sends formatted Slack alert with full reasoning trail |
Detects repeated failed login attempts from the same IP address. Threshold: 5+ attempts triggers autonomous block.
Detects successful logins using stolen credentials. Even a single successful login with known stolen credentials triggers immediate containment.
Real Independent Verification Most systems trust their own API when it says "blocked." Our Checker agent independently sends a fresh HTTP request from the blocked IP and confirms it receives a 403 REFUSED response — not just reads back the file it wrote.
No Collateral Damage Check After blocking an attacker IP, Checker also sends a request from an innocent IP and confirms it still gets through — proving the block is targeted, not blanket.
Full Reasoning Audit Trail Every agent decision is logged with timestamp, technique ID, confidence score, and human-readable reasoning — making the system fully auditable.
Two MITRE ATT&CK Techniques Detects both failed-login brute force (T1110) and successful stolen-credential attacks (T1078) with different severity levels and confidence scoring.
Evaluated against a synthetic dataset modelled on CICIDS2017 Tuesday statistics (13.7% attack ratio):
| Metric | Result |
|---|---|
| Detection Rate | 100% |
| False Positive Rate | 0% |
| Precision | 100% |
| Accuracy | 100% |
| Total Flows Tested | 1,000 |
| Attack Flows | 137 |
| Benign Flows | 863 |
Full results in benchmark_results.json
Attack Flow:
Attacker → Honeypot Server (port 5001) → attack_logs.json → Detector Pipeline → Audit Log + Dashboard (port 5002)
Detection Pipeline:
- Agent 1 — Watcher: reads logs, detects suspicious IPs
- Agent 2 — Judge: MITRE ATT&CK mapping, confidence scoring
- Agent 3 — Doer: writes IP to blocklist, enforced by honeypot
- Agent 4 — Checker: sends real HTTP request, confirms 403 response
- Agent 5 — Fixer: Slack escalation if verification fails
Key Design Decision:
The honeypot checks the blocklist before processing every request. This means blocking is real — not decorative. The Checker independently verifies by sending a live HTTP request from the blocked IP and confirming it gets refused.
| Component | Technology |
|---|---|
| Language | Python 3.9 |
| Web Framework | Flask |
| Database | SQLite |
| Alerts | Slack SDK + Incoming Webhooks |
| Frontend | HTML/CSS/JavaScript |
| Benchmarking | Custom synthetic dataset (CICIDS2017 methodology) |
pip3 install flask requests slack-sdk python-dotenvCreate a .env file in the project root:
SLACK_WEBHOOK_URL=https://hooks.slack.com/services/YOUR/WEBHOOK/URL
Terminal 1 — Start honeypot:
python3 honeypot.pyTerminal 2 — Simulate brute force attack:
python3 attacker.pyTerminal 2 — Simulate stolen credentials attack:
python3 attacker.py t1078Terminal 3 — Run detection pipeline:
python3 detector.pyTerminal 4 — Start dashboard:
python3 dashboard.pyOpen browser at http://127.0.0.1:5002
python3 benchmark.pyhoneypot.py— Fake login server, trap for attackersattacker.py— Attack simulator (T1110 brute force + T1078 stolen credentials)detector.py— 5-agent autonomous detection pipelinedashboard.py— Live web dashboard (port 5002)benchmark.py— Detection accuracy evaluation scriptbenchmark_results.json— Benchmark output (100% detection rate).gitignore— Excludes .env and sensitive filesREADME.md— This file
This system runs entirely on sandboxed infrastructure. All attack traffic is self-generated against our own honeypot. No external systems are targeted or scanned. In production deployment, the same agent pipeline connects to real SCADA/ICS environments via secure API integration.
| Criteria | How We Address It |
|---|---|
| Anomaly detection rate | 100% on CICIDS2017-modelled benchmark |
| False positive rate | 0% — threshold-based detection is precise |
| MITRE ATT&CK attribution | T1110 and T1078 correctly identified with confidence scores |
| Autonomous response % | 100% — no human needed for standard containment |
| Detection/response time | Sub-second detection, instant containment |
| Full auditability | Every agent decision logged with timestamp and reasoning |
Mahi Ruhela — Full Stack Development, AI Agent Pipeline, Dashboard & Frontend
Ity Shree — System Architecture, MITRE ATT&CK Integration, Benchmarking & Testing
Built for ET AI Hackathon 2.0 — Phase 2 Build Sprint Problem Statement 7: AI-Driven Cyber Resilience for Critical National Infrastructure