How shagunchaudhary794/thanatos_sentinal works
Thanatos Sentinel is a Flask-based Windows process-monitoring dashboard. Its main workflow is to observe new processes, score suspicious behavior, suspend critical threats for manual control, and expose monitoring and threat records in a browser. The graph also shows the documented log archiving, decryption, reporting, themes, and anti-tamper capabilities. The excerpts confirm several backend routes and frontend requests; some README capabilities, including tray integration and anti-tamper, are not visible in sampled source, so their links are documented rather than inferred from implementation.
Main entry points: main.js Dashboard logic · app.py Process watcher · logs Log files · index.html Dashboard interface
Components 19
Threat monitoring
- Process watcher
app.py - Threat scoring
app.py - System statistics
app.py
Threat response
- Manual controls
app.py - Quarantine handling
app.py - Anti-tamper checks
app.py
Logs and reports
- Event logging
app.py - Threat DNA records
app.py - Encrypted archives
app.py - Archive decryption
app.py - Threat reports
app.py - Log files
logs - Archive files
archive
Dashboard
- Dashboard interface
templates/index.html - Dashboard logic
static/js/main.js - Theme styling
static/css/style.css
Other components
- Operator
- Web browser
- Windows processes
Connections 30
- Operator → Web browser: opens dashboard
README.md - Web browser → Dashboard interface: requests page
- Dashboard interface → Dashboard logic: loads script
- Operator → Dashboard logic: uses controls
- Dashboard logic → System statistics: fetches stats
static/js/main.js - Dashboard logic → Event logging: fetches logs
static/js/main.js - Dashboard logic → Manual controls: sends actions
static/js/main.js - Dashboard logic → Threat DNA records: fetches records
static/js/main.js - Dashboard logic → Archive decryption: uploads archive
static/js/main.js - Dashboard logic → Threat reports: requests report
static/js/main.js - Dashboard logic → Theme styling: applies theme
- Dashboard logic → Anti-tamper checks: controls
- Windows processes → Process watcher: process events
README.md - Process watcher → Threat scoring: scores processes
app.py - Process watcher → Event logging: records events
app.py - Process watcher → Threat DNA records: saves findings
app.py - Process watcher → Windows processes: suspends critical
app.py - Process watcher → Quarantine handling: tracks suspended
app.py - Manual controls → Windows processes: resumes or kills
app.py - Manual controls → Quarantine handling: moves files
app.py - Manual controls → Event logging: records actions
app.py - System statistics → Windows processes: reads metrics
README.md - Event logging → Log files: writes logs
app.py - Threat DNA records → Log files: writes records
app.py - Encrypted archives → Log files: reads and clears
app.py - Encrypted archives → Archive files: writes encrypted
app.py - Archive decryption → Web browser: returns plaintext
app.py - Threat reports → Threat DNA records: reads entries
app.py - Anti-tamper checks → Event logging: reports changes
app.py - Operator → Web browser: views results