Skip to content

Hawkeye is a Python-Flask SIEM that simulates real-time logs, correlates events, and visualizes attack paths with interactive dashboards. It features OSINT enrichment, risk prediction, and a live alert system for security monitoring.

Notifications You must be signed in to change notification settings

shikhar-sahay/hawkeye

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🦅 HawkEye – Attack & Risk Visualization SIEM

HawkEye is a lightweight cybersecurity simulation and visualization platform that models attack behavior, correlates events into attack paths, and computes real‑time risk scores. It is designed for learning, demonstrations, and security analytics experimentation.

The project combines a Flask backend with a JavaScript frontend to simulate attacker activity, ingest logs, and visualize how threats progress over time.

🔗 Deployed Link - https://hawkeye-i1bt.onrender.com/


🚀 Features

  • Real‑time attack simulation

    • Simulates attacker behavior following a realistic kill‑chain style sequence
    • Events are enriched with MITRE ATT&CK tactics and techniques
  • Attack path visualization

    • Displays correlated events as a progressing attack graph
    • Helps visualize how reconnaissance escalates into compromise
  • Dynamic risk scoring

    • Live risk score based on event severity
    • Separate progression risk based on attack chain completion
  • Log ingestion

    • Upload .txt log files
    • Automatically classifies lines into security events
    • Injects them into the system as correlated attack activity
  • Event timeline & dashboard

    • Recent events table
    • Timeline view with severity and geo context

🧠 How It Works (High Level)

  1. Event Generation / Ingestion

    • Events come from:

      • A background simulator
      • Uploaded log files
      • Optional frontend ingestion scripts
  2. Event Correlation

    • Events are matched against a predefined attack order
    • Related events are grouped into attack chains
  3. Risk Calculation

    • Risk score increases based on severity
    • Progression risk reflects how far an attack chain has advanced
  4. Visualization

    • Attack chains are rendered as node graphs
    • Events update live on the dashboard

🧱 Tech Stack

Backend

  • Python
  • Flask
  • Flask‑CORS
  • Threaded event simulation

Frontend

  • JavaScript
  • CSS
  • HTML
  • Fetch API
  • Plotly.js for graphs

Deployment

  • Render (Flask backend)
  • Static frontend served via Flask templates

🛠️ Running Locally

1. Clone the repository

git clone https://github.com/your-username/hawkeye.git
cd hawkeye

2. Install dependencies

pip install flask flask-cors

3. Run the app

python app.py

The app will be available at:

http://localhost:5000

About

Hawkeye is a Python-Flask SIEM that simulates real-time logs, correlates events, and visualizes attack paths with interactive dashboards. It features OSINT enrichment, risk prediction, and a live alert system for security monitoring.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published