Skip to content

CSI-Project-Expo/Team-5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

26 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ›ก๏ธ ShieldSimulation โ€” Interactive Cyber Defense Training Suite

"Train like you fight. Defend like you know the enemy."


๐Ÿ“Œ Overview

ShieldSimulation is a browser-based, interactive cybersecurity training platform designed to teach Blue Team defense strategies through hands-on simulation. Instead of passive reading, learners actively experience real-world attack vectorsโ€”Brute Force, SQL Injection, and moreโ€”inside controlled, gamified environments.

The platform bridges the gap between academic theory and practical security skills using progressive level unlocking, real-time terminal simulations, and an RPG-style ranking system.


๐Ÿ‘ฅ Team Members

Thanush J (Team Leader) , Shreelakshmi Prabhu, Shreya Shridhara, Nidhi Shetty,


๐ŸŽจ UI Aesthetic โ€” Neon Cyberpunk

The interface draws inspiration from terminal-hacker aesthetics:

  • Color Palette: High-contrast #00f5ff cyan and #ff3366 red on deep navy #040d1a backgrounds
  • Typography: Orbitron (headings/UI labels) + Share Tech Mono (terminal/code) + Rajdhani (body)
  • Grid Background: Animated CSS grid overlay simulating a digital operations center
  • Animations: Pulsing lock rings, scrolling binary rain, glowing drop-shadows, and smooth page transitions
  • CRT Scanline Effect: Subtle repeating-linear-gradient overlay on the entire viewport for an authentic terminal feel

๐ŸŽฎ Scenarios & Gameplay

๐Ÿ”’ Brute Force Protocol โ€” 3 Levels

A progressive journey that puts the learner in both the attacker and defender's seat.

Level Title What You Learn
Level 1 What is Brute Force? Core concepts, 5 attack types (Dictionary, Credential Stuffing, Hybrid, Reverse, Password Spraying), real-world LinkedIn breach case study
Level 2 Offensive Operations Social engineering intel gathering, automated dictionary attack simulation, GPU-accelerated brute force visualization
Level 3 Defense & Prevention Engineering Lab โ€” drag-and-drop security module installation, 60-second live botnet stress test, account lockout & MFA configuration

Level 3 Mechanic โ€” Strategic Build:

  • You have 100 Security Credits and a Latency Meter
  • Each module (Account Lockout, Rate Limiter, MFA, IP Blacklist, CAPTCHA, SIEM) costs credits and adds latency
  • Exceed 100% latency โ†’ System goes CRITICAL, Deploy button disabled
  • The stress test outcome depends on which modules were installed โ€” only Account Lockout guarantees a defended result

๐Ÿ—„๏ธ SQL Injection Protocol โ€” 3 Levels

Level Title What You Learn
Level 1 Introduction to SQLi How SQL injection occurs, error-based extraction, why parameterization matters
Level 2 Advanced Techniques Union-based data extraction, Blind SQLi (Boolean & Time-based), WAF evasion basics
Level 3 Defense Engineering Prepared statements, input validation layers, ORM patterns, live defense lab

๐Ÿ† Progression & Ranking System

Progress is tracked across 18 total parts (9 Brute Force + 9 SQL Injection), each Part consisting of theory, MCQs, and fill-in-the-blank challenges.

Parts Completed Rank
0 RECRUIT
1โ€“2 ANALYST
3โ€“4 SPECIALIST
5โ€“6 DEFENDER
7โ€“8 EXPERT
9โ€“12 ELITE
13โ€“15 MASTER
16โ€“17 LEGEND
18/18 ELITE (Full Mastery)

The dashboard shows Overall Mastery %, Parts Completed (X/18), and the user's Current Rank โ€” updated in real time.


๐Ÿงฑ Technical Architecture

Frontend Stack

Technology Usage
HTML5 Semantic page structure, all UI pages rendered client-side
CSS3 Custom Properties, Keyframe animations, CSS Grid/Flexbox, clamp() for responsive typography
Vanilla JavaScript (ES6+) All interactivity, state, routing, and simulations โ€” zero frameworks

State Management โ€” localStorage

User progress is persisted across page refreshes using localStorage with the key shield_users:

// Progress structure stored per user
{
  username: "defender@shieldsim.net",
  progress: {
    bruteforce: {
      level1: { p1: true, p2: true, p3: true },
      level2: { p1: true, p2: false, p3: false },
      level3: { p1: false, p2: false, p3: false }
    },
    sqli: {
      level1: { p1: true, p2: true, p3: true },
      level2: { p1: false, p2: false, p3: false },
      level3: { p1: false, p2: false, p3: false }
    }
  }
}

Level Gating โ€” Gate Logic

Each level checks the prior level's p1, p2, p3 flags before allowing access:

function startBF3() {
  const l2 = user.progress?.bruteforce?.level2 || {};
  if ([l2.p1, l2.p2, l2.p3].filter(Boolean).length < 3) {
    setSt(true, 'Access Denied โ€” Complete Level 2 first');
    return;
  }
  window.location.href = 'brute-force-level3.html';
}

Navigation โ€” sessionStorage Return Logic

When a user completes a sub-level page (e.g., brute-force-level3.html), they are returned to the correct sub-menu using sessionStorage:

// Before navigating to a level page:
sessionStorage.setItem('ss_goto', 'page-bflevels');

// On index.html load, checks and restores position:
const goto = sessionStorage.getItem('ss_goto');
if (goto) { goTo(goto); sessionStorage.removeItem('ss_goto'); }

This ensures users always land back on their last active section rather than the login screen.


๐Ÿ“ Project Structure

shieldf/
โ”œโ”€โ”€ index.html                  # Main SPA โ€” all core pages (Login, Scenarios, Levels, About, Features)
โ”œโ”€โ”€ style.css                   # Shared stylesheet for sub-level pages
โ”œโ”€โ”€ app.js                      # Auth, routing, progress saving, level unlock logic
โ”œโ”€โ”€ brute-force-level2.html     # BF Offensive Operations interactive lab
โ”œโ”€โ”€ brute-force-level3.html     # BF Defense Engineering Lab (drag-drop + stress test)
โ”œโ”€โ”€ sql-injection-level2.html   # SQLi Advanced Techniques lab
โ”œโ”€โ”€ sql-injection-level3.html   # SQLi Defense Engineering lab
โ””โ”€โ”€ README.md

๐Ÿš€ Getting Started

ShieldSimulation is a 100% client-side application. No server, no build tools, no dependencies.

Option 1 โ€” Direct Browser Open

git clone https://github.com/CSI-Project-Expo/Team-5.git
cd Team-5
# Open index.html in your browser
start index.html        # Windows
open index.html         # macOS
xdg-open index.html     # Linux

Option 2 โ€” Live Server (Recommended)

If you have VS Code with the Live Server extension:

  1. Open the project folder in VS Code
  2. Right-click index.html โ†’ "Open with Live Server"
  3. Navigate to http://localhost:5500

First Run

  1. Click "Request Access" on the login screen to register a new account
  2. Your credentials are stored locally โ€” no backend required
  3. Start with Brute Force Protocol โ†’ Level 1
  4. Complete all 3 Parts in each level to unlock the next
  5. Progress automatically saves after each completed Part

๐Ÿ” Security Modules (Level 3 Labs)

Module Credit Cost Latency Impact Effect
Account Lockout 20 +15% Blocks repeated login attempts
Rate Limiter 15 +10% Throttles request frequency
MFA (TOTP) 25 +20% Requires second factor
IP Blacklist 10 +8% Blocks known malicious IPs
CAPTCHA 10 +12% Human verification gate
SIEM Alert 20 +5% Logs and flags anomalies

โš ๏ธ Exceeding 100% total latency disables the Deploy button โ€” balance security vs. performance!


๐Ÿ“– Pages & Navigation

Page Route / ID Description
Login / Register page-login Account entry point
Scenarios Dashboard page-scenarios Mission select with stats
About page-about Platform overview
Features page-features Feature showcase grid
BF Level Select page-bflevels Brute Force level cards
SQL Level Select page-sqilevels SQL Injection level cards
BF Level 1 page-l1 (inline) Theory + MCQ + FITB
SQL Level 1 page-sql1 (inline) Theory + MCQ + FITB
BF Level 2 brute-force-level2.html Offensive lab
BF Level 3 brute-force-level3.html Defense engineering
SQL Level 2 sql-injection-level2.html Advanced SQLi lab
SQL Level 3 sql-injection-level3.html Defense engineering

๐ŸŒŸ Key Design Principles

  • Progressive Disclosure โ€” Content locked until prerequisites are met
  • Blue Team Focus โ€” Every attack simulation ends with how to defend against it
  • Zero Dependencies โ€” Pure HTML/CSS/JS, works offline
  • Persistent Learning โ€” Progress survives page refreshes and browser restarts
  • Responsive Layout โ€” Adapts from 1200px desktops down to mobile viewports

ShieldSimulation โ€” Built for defenders, by defenders.

CSI Project Expo | Team 5

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors