| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
ProcGuard is a real-time process monitoring system for Linux, combining C++ and Python. The system tracks processes, performs strace, stores data in Shared Memory, and applies statistical/ML analysis to detect suspicious processes.
[C++ Core] <-> [Shared Memory / MsgQueue] <-> [Python Scripts]
|
+--> strace -> log -> strace_parser.py -> JSON -> proc_analyzer.py -> ML
python3 -m venv VENV source VENV/bin/activate pip install pandas scikit-learn
cmake -B build -S . make -C build
source VENV/bin/activate sudo -E python3 run.py --clean
Note: strace requires root privileges. Running ProcGuard with sudo ensures proper tracing of monitored processes.
ProcGuard continuously listens for messages about processes to monitor. Each process goes through the following steps:
Logs are stored in the logs/ folder, one file per process:
logs/proc_<PID>.log
Python scripts also generate intermediate JSON files in /tmp/procguard_json/.
| Back | FazBrowse Home | New Git URL |