Author: Voltsparx
Language: C/C++
Repo: https://github.com/voltsparx/Sentinel-C
Sentinel-C is a Host-Based File Integrity Monitor (HIDS).
It scans directories, detects NEW, MODIFIED, or DELETED files, logs events, and generates HTML reports for easy auditing.
- This tool is designed for ethical security monitoring of systems and directories you own or have permission to monitor.
- Do not use it to tamper with, spy on, or attack systems you do not own.
- The author is not responsible for misuse.
π οΈ Installation
Linux / macOS:
- Clone the repo:
git clone https://github.com/voltsparx/Sentinel-C.git
cd Sentinel-C- Build with CMake:
mkdir build
cd build
cmake ..
cmake --build .- Run from build folder:
./sentinel-c helpOptional: Copy to PATH for global CLI:
sudo cp sentinel-c /usr/local/bin/Windows (CMD / PowerShell):
- Clone the repo:
git clone https://github.com/voltsparx/Sentinel-C.git
cd Sentinel-C- Build:
mkdir build
cd build
cmake ..
cmake --build .- Run executable:
sentinel-c.exe helpπ Project Structure
Sentinel-C/
βββ src/ # C++ source and headers
βββ CMakeLists.txt
βββ README.md
βββ .gitignore
βββ reports/ # HTML reports stored here
βββ data/ # Baseline & log files stored here
Folders reports/ and data/ are automatically created if missing.
.sentinel.log is saved in data/.
HTML reports are saved in reports/.
β‘ Usage
sentinel-c help
sentinel-c init <directory>
sentinel-c scan <directory>
sentinel-c monitor <directory> [interval_seconds]
Example:
./sentinel-c init .
./sentinel-c scan .
./sentinel-c monitor . 10
- init creates the baseline
- scan compares current files to baseline
- monitor scans repeatedly and updates logs & HTML reports
π’ Output
-
Colored terminal messages:
- Green β NEW files
- Yellow β MODIFIED files
- Red β DELETED files
-
Logs: data/.sentinel.log
-
HTML report: reports/sentinel_report_.html
β Contribution
- Feel free to fork and add features
- Please respect ethical guidelines
π License
This project is released under the MIT License.