How antobenedict2006/keylogger works
This Windows keylogger-detection product continuously inspects running processes, derives behavioral features, scores threats, and presents alerts and history for user action. A separate behavioral-biometrics capability learns keyboard and mouse baselines and reports deviations; the README describes multimodal fusion and JSON exports. The dashboard excerpt shows database-backed history queries and feature extraction, while the source index identifies additional module references. The entry point and several core modules were not excerpted, so some documented workflow links rely on README statements rather than inspected calls.
Main entry points: dashboard.py Desktop Dashboard · monitor.py Process Monitor · feature_extractor.py Feature Extraction · classifier.py Threat Classifier
Components 14
Threat Detection
- Process Monitor
src/monitor.py - Feature Extraction
src/feature_extractor.py - Threat Classifier
src/classifier.py - Indicator Translation
src/indicator_translator.py - Alert Actions
src/alert_manager.py - Model Training
tools/train_model.py
Behavioral Biometrics
- Behavioral Analyzer
src/behavioral_analyzer.py
User Interface
- Application Entry
main.py - Live API
src/live_api.py - Desktop Dashboard
src/ui/dashboard.py
State and Configuration
- Detection Database
src/db_logger.py - Path Resolution
src/paths.py
Other components
- Windows User
- Windows System
Connections 19
- Windows User → Application Entry: starts
README.md - Application Entry → Process Monitor: starts monitoring
- Process Monitor → Windows System: scans processes
src/monitor.py - Process Monitor → Feature Extraction: supplies snapshots
README.md - Feature Extraction → Threat Classifier: provides features
README.md - Threat Classifier → Alert Actions: creates detections
- Desktop Dashboard → Process Monitor: shows live results
src/ui/dashboard.py - Desktop Dashboard → Detection Database: queries history
src/ui/dashboard.py - Desktop Dashboard → Feature Extraction: extracts features
src/ui/dashboard.py - Desktop Dashboard → Alert Actions: offers responses
README.md - Desktop Dashboard → Model Training: offers training
src/ui/dashboard.py - Behavioral Analyzer → Windows System: tracks input dynamics
README.md - Behavioral Analyzer → Detection Database: stores behavioral records
- Desktop Dashboard → Behavioral Analyzer: presents deviations
README.md - Desktop Dashboard → Live API: references API
src/ui/dashboard.py - Model Training → Feature Extraction: uses feature schema
tools/train_model.py - Threat Classifier → Path Resolution: resolves model paths
src/classifier.py - Detection Database → Path Resolution: resolves database path
src/db_logger.py - Desktop Dashboard → Indicator Translation: translates indicators
src/ui/dashboard.py