Skip to content

A cool cybersecurity project created in SJBITs AXIOM hackathon

Notifications You must be signed in to change notification settings

BEASTSHRIRAM/Novatron_58

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

32 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

TICE - Threat Intelligence Correlation Engine

Advanced IP Analysis & Threat Attribution Platform

TICE is a full-stack cybersecurity threat intelligence platform that correlates data from multiple OSINT sources to provide comprehensive IP address analysis, risk scoring, and AI-powered threat attribution reports.

TICE Dashboard Python React FastAPI

๐Ÿš€ Features

Core Capabilities

  • โœ… Multi-Source OSINT Integration: AbuseIPDB, Shodan, IPInfo
  • โœ… Risk Scoring Engine: Intelligent 0-100 risk calculation with rationale
  • โœ… Threat Correlation: Unified threat profile from multiple sources
  • โœ… AI Attribution Reports: Comprehensive threat analysis with recommendations
  • โœ… 3D Geolocation Visualization: Interactive Three.js globe with IP location markers
  • โœ… Professional SOC Dashboard: Dark cyber-themed UI with glassmorphism design
  • โœ… Evidence Analysis: Tabbed view of all OSINT data sources
  • โœ… Export Capabilities: Download threat reports in markdown format

Architecture Highlights

  • Backend: FastAPI with async/await for high-performance API handling
  • Frontend: React 19 with Three.js, Tailwind CSS, and Shadcn UI components
  • Database: MongoDB for storing analysis history
  • Design: Cybersecurity SOC theme with neon green/purple accents

๐Ÿ“ Project Structure

tice/
โ”œโ”€โ”€ backend/
โ”‚   โ”œโ”€โ”€ server.py              # Main FastAPI application
โ”‚   โ”œโ”€โ”€ core/
โ”‚   โ”‚   โ”œโ”€โ”€ correlate.py       # Multi-source data correlation engine
โ”‚   โ”‚   โ”œโ”€โ”€ risk.py            # Risk scoring algorithms
โ”‚   โ”‚   โ””โ”€โ”€ report.py          # AI report generation
โ”‚   โ”œโ”€โ”€ sources/
โ”‚   โ”‚   โ”œโ”€โ”€ abuseipdb.py       # AbuseIPDB API integration
โ”‚   โ”‚   โ”œโ”€โ”€ shodan_api.py      # Shodan API integration
โ”‚   โ”‚   โ””โ”€โ”€ ipinfo_api.py      # IPInfo API integration
โ”‚   โ”œโ”€โ”€ models/                # Placeholder for future ML models
โ”‚   โ”œโ”€โ”€ requirements.txt       # Python dependencies
โ”‚   โ””โ”€โ”€ .env                   # API keys and configuration
โ”‚
โ”œโ”€โ”€ frontend/
โ”‚   โ”œโ”€โ”€ src/
โ”‚   โ”‚   โ”œโ”€โ”€ App.js            # Main React app
โ”‚   โ”‚   โ”œโ”€โ”€ pages/
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ Dashboard.jsx  # Main dashboard page
โ”‚   โ”‚   โ””โ”€โ”€ components/
โ”‚   โ”‚       โ”œโ”€โ”€ ThreatScoreGauge.jsx    # Risk score visualization
โ”‚   โ”‚       โ”œโ”€โ”€ ThreatCard.jsx          # Threat profile card
โ”‚   โ”‚       โ”œโ”€โ”€ Map3D.jsx               # Three.js globe
โ”‚   โ”‚       โ”œโ”€โ”€ EvidenceTabs.jsx        # OSINT data tabs
โ”‚   โ”‚       โ”œโ”€โ”€ AiReportPanel.jsx       # AI report display
โ”‚   โ”‚       โ””โ”€โ”€ JsonDrawer.jsx          # Raw JSON viewer
โ”‚   โ””โ”€โ”€ package.json
โ”‚
โ””โ”€โ”€ README.md

๐Ÿ”ง Installation & Setup

Prerequisites

  • Node.js 20+ / Python 3.11+
  • MongoDB
  • Optional: API keys for AbuseIPDB, Shodan, IPInfo

Backend Setup

cd backend

# Install dependencies
pip install -r requirements.txt

# Configure environment variables
cp .env.example .env
# Edit .env and add your API keys (optional for demo mode)

# Run the server
uvicorn server:app --host 0.0.0.0 --port 8001 --reload

Frontend Setup

cd frontend

# Install dependencies
yarn install

# Run the development server
yarn start

The application will be available at:

๐Ÿ”‘ API Keys Configuration

Edit /app/backend/.env and add your API keys:

# OSINT API Keys (optional - works in mock mode without keys)
ABUSEIPDB_API_KEY=""
SHODAN_API_KEY=""
IPINFO_API_KEY=""

# AI API Key (optional - for enhanced threat reports)
GEMINI_API_KEY=""

Note: The system works in demo/mock mode without API keys, using realistic sample data.

๐Ÿ“Š API Endpoints

Health Check

GET /api/health

Analyze IP Address

POST /api/analyze
Content-Type: application/json

{
  "ip": "1.2.3.4"
}

Response: Complete threat intelligence profile including:

  • Risk score (0-100) with label and confidence
  • Context (location, organization, ASN)
  • Threat categories
  • Related artifacts
  • Evidence from all sources
  • AI-generated threat report
  • Timestamp

๐ŸŽจ Design System

Color Palette

  • Primary Background: Dark gradient (#0a0a0f โ†’ #1a0f2e)
  • Accent Green: Neon green (#00ff41) for success/safe indicators
  • Accent Purple: #a855f7 for important highlights
  • Danger: #ef4444 for critical threats
  • Warning: #f97316 for medium threats

Typography

  • Headers: Space Grotesk (cybersecurity tech aesthetic)
  • Body: Inter (clean readability)

UI Components

  • Glassmorphism cards with backdrop blur
  • Neon glow effects on interactive elements
  • Smooth animations for state transitions
  • Responsive grid layout for all screen sizes

๐Ÿงช Testing

Test Backend API

curl -X POST http://localhost:8001/api/analyze \
  -H "Content-Type: application/json" \
  -d '{"ip":"8.8.8.8"}'

Test Frontend

  1. Open http://localhost:3000
  2. Enter an IP address (e.g., 8.8.8.8)
  3. Click "Analyze Threat"
  4. Verify all components render:
    • Risk Score Gauge
    • Threat Profile Card
    • 3D Globe with location marker
    • Evidence Tabs (AbuseIPDB, Shodan, IPInfo)
    • AI Threat Report
    • JSON Drawer

๐Ÿ”ฎ Future Enhancements

Planned Features

  • ML Anomaly Detection: Internal signals from ML models
  • LangChain AI Agent: Enhanced attribution with WatsonX/OpenAI integration
  • Bulk IP Scanning: Analyze multiple IPs in batch
  • Historical Analysis: Trend analysis and time-series data
  • Automated Alerting: Email/Slack notifications for critical threats
  • PDF Report Export: Professional report generation
  • Real-time Monitoring: WebSocket-based live updates
  • User Authentication: Multi-tenant support

Integration Points

  • /app/backend/models/: Add ML model files
  • /app/backend/core/report.py: Integrate Gemini 2.5 Pro for AI reports
  • Database queries for historical analysis

๐Ÿ† Hackathon Ready

This project is specifically designed for cybersecurity hackathons:

โœ… Professional Architecture: Clean separation of concerns, modular design
โœ… Impressive Visuals: 3D globe, animated UI, SOC dashboard aesthetic
โœ… Real-world Application: Solves actual threat intelligence problems
โœ… Scalable Foundation: Easy to add ML models, new data sources, AI agents
โœ… Demo-ready: Works with mock data, no API keys required
โœ… Well-documented: Clear code structure, comments, README

๐Ÿ“ License

MIT License - feel free to use for hackathons, educational purposes, or commercial projects.

๐Ÿค Contributing

Contributions welcome! Please open issues or submit pull requests.


Built with โค๏ธ for the cybersecurity community

TICE - Threat Intelligence Correlation Engine

About

A cool cybersecurity project created in SJBITs AXIOM hackathon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •