Skip to content

ridpath/spectre-c2-operations

Repository files navigation

Spectre C2 Operations Center

Status: Alpha Use Authorized Research Only Domain: Astro-Sec Satellite Security Red Team Research Security Research Protocols FastAPI Python React TypeScript


Executive Overview

Spectre C2 is a platform for authorized satellite security research, orbital asset assessment, and adversary simulation. It unifies traditional command-and-control workflows with orbital mechanics, RF analysis, and space protocol research in a controlled, auditable environment.

Research Status: Alpha (active development). Interfaces, modules, and internal behavior are subject to change.


Core Capabilities

  • Modular offensive capability engine for controlled red team simulation
  • Orbital asset intelligence with real-time SGP4 propagation and pass prediction
  • Satellite-aware mission planning aligned to visibility windows and link constraints
  • RF and space protocol analysis tooling (non-transmitting by default)
  • Deterministic C2 tasking with structured evidence capture

System Architecture

Backend (Python / FastAPI)

  • Asynchronous ASGI runtime
  • JWT authentication with RBAC
  • SQLite (development) or PostgreSQL (production)
  • Rate limiting, input validation, and audit logging

Frontend (React / TypeScript)

  • React 18 with Vite build pipeline
  • Typed state hooks for C2, mission, and telemetry state
  • WebSocket-based real-time updates

Installation & Setup

Prerequisites


Quick Start

1. Clone Repository

git clone <repository-url>
cd spectre-c2

2. Backend Setup

cd backend
python -m venv venv

# Windows
venv\Scripts\activate

# Linux/macOS
source venv/bin/activate

pip install -r requirements.txt

3. Initialize Database

# Create database schema
python init_db.py

# Create admin user (username: admin, password: admin123)
python create_test_admin.py

# Apply performance indexes
python add_indexes.py

4. Frontend Setup

cd ..
npm install
npm run build

5. Start Services

Terminal 1 – Backend

cd backend
venv\Scripts\activate  # or source venv/bin/activate on Linux/macOS
uvicorn backend:app --reload --port 8000

Terminal 2 – Frontend

npm run dev

6. Access Application

7. Login

Username: admin
Password: admin123

IMPORTANT: Change default credentials immediately in production or shared environments.


Environment Configuration

Create a .env file in the backend/ directory:

# Database (optional - defaults to SQLite)
DATABASE_URL=sqlite:///./spectre.db

# JWT Security (REQUIRED for production)
JWT_SECRET_KEY=your-secret-key-minimum-32-characters

# External API Keys (optional)
CELESTRAK_API_KEY=your-key
SPACETRACK_USERNAME=your-username
SPACETRACK_PASSWORD=your-password
N2YO_API_KEY=your-key

# Performance Tuning
CACHE_ENABLED=true
CACHE_TTL_SECONDS=300
DATABASE_POOL_SIZE=20
DATABASE_MAX_OVERFLOW=40

API Documentation

The backend exposes a fully documented REST API.


Usage Guide

Initial Login

  1. Navigate to http://localhost:3000
  2. Enter credentials: admin / admin123 initial setup creds
  3. System authenticates and loads the operator session

Running Offensive Modules

  1. Navigate to Offensive > Modules
  2. Filter by category (Recon, Exploitation, Post-Ex, Persistence)
  3. Insert module commands into the terminal
  4. Execute against the active C2 agent within scope

Satellite Tracking

  1. Navigate to Intel > Orbital
  2. Load satellites from the database
  3. Select a satellite for detailed telemetry
  4. Use Satellite > Timeline for pass predictions

Mission Planning

  1. Navigate to Satellite > Missions
  2. Create a new mission
  3. Select target satellite and objectives
  4. Review calculated execution windows

Evidence Collection

  1. Navigate to Intel > Vault
  2. Review automatically collected artifacts
  3. Filter by credentials, screenshots, or files
  4. Export evidence for reporting

Legal & Ethical Use

This platform is intended solely for authorized security research, adversary simulation, and educational use. Unauthorized access, RF transmission, or interference with operational satellite systems is prohibited.


License

Research only usage. Commercial deployment or redistribution without explicit authorization is prohibited.

About

Satellite security research platform integrating C2 tasking with orbital intel, RF/protocol analysis, and evidence and first mission workflows

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors