Monitors the SMART values of your hard drives for signs of tampering (removal without your knowledge). Works by checking the continuity of the SMART Power Cycle values.
Download or clone the repo.
chmod +x installer; ./installer to run the installer on APT based systems. Tested on Debian 11/12.
The app related configuration can be found under /etc/default/diskwatcher.
# Setting this to# 0 = Will only show log balloons when something is off.# 0 = Recommended in hostile environments where the potential attacker may see your display.# 0 = Recommended once you got familiar with the notify events.# 1 = Always shows notify balloonsALWAYS_NOTIFY=1Install the python requirements:
pip install -r requirements.txtAS ROOT:
# Copy over the files from the _ directory.cp-a_/*/#!!! replace %UID% and %NAME% placeholders inside /etc/systemd/system/diskwatcher.service #Example: %UID% = 1000, %NAME% = joe# Reload systemd to scan for new unit filessystemctldaemon-reload# enable+start the servicessystemctlenablediskwatchersystemctlstartdiskwatchersystemctlenablediskwatcher_fetchersystemctlstartdiskwatcher_fetcherchmod555/opt/diskwatcher/diskwatcher# enjoy!