Skip to content

RootLogicDev/nexus-wargame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔴 NEXUS WARGAME v1.1.2 — Operation: Zero Day

A hardened terminal-based cybersecurity wargame designed to simulate real-world attack workflows.


🚀 Latest Update — v1.1.2 (Integrity & Stability Upgrade)

This update strengthens the internal reliability and security of the system.

🔒 Core Improvements

  • State Integrity Enforcement

    • Added checksum validation to prevent corrupted or tampered progress data
  • Execution Safety Guards

    • Protected destructive operations (rm -rf) with strict path validation
  • Cross-Platform Time Handling

    • Replaced non-portable date -d usage
    • Ensures consistent timing across Termux and Linux systems
  • Signal Handling (Stability)

    • Added SIGINT (Ctrl+C) trap
    • Prevents corruption during forced exits

🧠 Why This Matters

  • More stable execution
  • Reduced risk of corruption
  • Stronger anti-tamper behavior
  • Reliable performance across environments

⚠️ Note

This update does not add new levels.
It reinforces the core engine for future upgrades.


⚡ Quick Start

git clone https://github.com/RootLogicDev/nexus-wargame
cd nexus-wargame
bash wargame.sh

⚡ Overview

NEXUS WARGAME is a 20-level offensive security training environment designed to force real operator thinking.

No hand-holding. No predictable puzzles.

You will:

  • Enumerate systems
  • Extract hidden credentials
  • Decode and analyze data
  • Chain commands into solutions
  • Operate under pressure

🧠 Why This Exists

Most beginner wargames teach commands.

NEXUS trains:

  • Decision making under noise
  • Pattern recognition
  • Tool chaining
  • Realistic problem solving

🎯 Skills Covered

  • Linux enumeration
  • File analysis & identification
  • Log parsing & pattern extraction
  • Encoding/decoding (Base64, ROT13, binary artifacts)
  • Privilege escalation concepts (SUID, cron, env leaks)
  • Networking basics (Netcat, local services)
  • Command pipelines (grep, cut, sort, uniq)

🚀 Installation

git clone https://github.com/RootLogicDev/nexus-wargame
cd nexus-wargame

▶️ Usage

bash wargame.sh setup         # Build environment (run once)
bash wargame.sh play          # Start / continue
bash wargame.sh play --timed  # Timed mode
bash wargame.sh status        # View progress
bash wargame.sh leaderboard   # View scores
bash wargame.sh report        # Export report
bash wargame.sh reset         # Reset progress
bash wargame.sh verify        # verify installation

🖥 Supported Platforms

Termux (Android) Kali Linux Ubuntu / Debian Arch Linux

🎮 In-Game Commands

Bash objective View mission objective story View narrative context hint Get next hint (costs points) submit Submit answer score Show current score achievements View unlocked achievements exit Return to main menu

🏆 Progression System

20 Levels (increasing difficulty) Dynamic scoring (efficiency matters) Achievement system Speedrun mode Rank System S-RANK — Elite A-RANK — Expert B-RANK — Proficient C-RANK — Developing D-RANK — Beginner

🧩 Example Challenges

Identify valid files among decoys Extract credentials from logs Decode encoded payloads Analyze binary data Discover hidden files Interact with local services Build multi-step command pipelines

⚠️ Requirements

Bash bash coreutils bzip2 gawk netcat binutils

🧠 Design Philosophy

Real skill comes from filtering noise, identifying patterns, and chaining simple tools into effective solutions.

📜 License

MIT License

⭐ Support

If you find this useful: ⭐ Star the repository 🍴 Fork it 🐛 Report issues

🔥 Roadmap

Online leaderboard Advanced scenario chains Red-team simulations Web interface

About

A no-hand-holding terminal wargame that trains real offensive security thinking.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages