Chassis Intrusion Detector for IPMI protocol
Go to file
Willy e7e54d3cd1 explanation made more clear 2023-10-24 02:28:35 -04:00
.gitignore Initial commit 2023-10-17 01:00:51 -04:00
LICENSE Initial commit 2023-10-17 01:00:51 -04:00 explanation made more clear 2023-10-24 02:28:35 -04:00 added &> /dev/null at the end of the command to prevent spam in tty 2023-10-24 02:24:44 -04:00
chassis_intru_scanner.service Added SystemD service file 2023-10-17 03:09:13 -04:00


Minimal script that will poll the status of the chassis intrusion by reading the output of the ipmitool sdr list command. It checks for a value of 0x01, which means that the chassis has been intruded. If the chassis is found to be intruded upon, it will trigger a user-defined command or script. Using Systemd is recommended.

Tested On:

Operating Systems:

  • Proxmox VE 8
  • Debian 12 bookworm


  • SuperMicro X9


# Install impitool
sudo apt-get update
sudo apt-get -y install ipmitool
# Install chassis_intru_scanner
git clone
cd chassis_intru_scanner
# The script MUST be run as root/sudo to be able to poll data from ipmitool!
sudo python3 --help


Run the script with a 3-second startup delay, and if Chassis is intruded, run the command echo foobar. Only if chassis was intruded, wait 5 seconds to check again.

sudo python3 -cmd '/usr/bin/echo foobar' -sd 3 -rd 5