DexFortify is a high-fidelity, interactive network topology simulator and laboratory designed to teach the fundamentals of network security through real-time visualization. It allows users to defend a simulated infrastructure against automated attacks by configuring firewalls and Intrusion Detection System (IDS) rules.
- Real-Time Traffic Simulation: Visualize packets moving between nodes (Internet, Firewall, DMZ, Internal Servers).
- Interactive Topology: Build and modify your network layout.
- Security Logic Engine:
- Firewall Configuration: Block malicious IPs using source-based filtering.
- Deep Packet Inspection (IDS): Inspect packet payloads and block threats based on keyword patterns.
- Gamified Learning: Scoring systems, combos, and health metrics for critical infrastructure.
- Responsive Design: Fully optimized for desktop and mobile devices.
- Framework: Next.js 15 (App Router)
- Visualization: ReactFlow & Framer Motion
- State Management: Zustand
- Styling: Tailwind CSS & Vanilla CSS (Custom Variable System)
- Icons: Lucide React
- Node.js 18.x or later
- npm or pnpm
-
Clone the repository:
git clone https://github.com/yourusername/DexFortify.git cd DexFortify -
Install dependencies:
npm install
-
Run the development server:
npm run dev
-
Visit the app: Open http://localhost:3000 in your browser.
- Observe: Watch the incoming traffic. Green dots are benign; red dots are malicious threats.
- Analyze: Click on a malicious packet to see its source IP and payload.
- Defend:
- Use the Firewall panel to block the IP address of known threats.
- Use the IDS panel to block specific keywords found in malicious payloads (e.g., "sql_inject", "backdoor").
- Survive: Prevent threats from reaching your internal servers. If a server's health hits zero, the mission fails.
This project is licensed under the MIT License.
Contributions are welcome! If you have ideas for new levels, attack patterns, or UI improvements, please open an issue or submit a pull request.
Created by Dibyanshu Sekhar as part of the Dex Security Suite.
