Pihole Checking for Compromise
Compromise?
Recently, DNS lookups for websites when I'm browsing have been returning "unsecured" domains I never requested e.g. on bluesky I would click an external link, and hit a "privacy error" (Chrome), the URL is correct in the address bar, but when I check the cert for the page there's a random domain cert there.
π 1. Inspect Container Behaviorβ
β Check for unexpected changes in the containerβ
docker ps -a
docker inspect <pihole_container_id />
Look for:
- New volumes or mounts not configured by you
- Exposed ports that you didnβt set
- Unexpected environment variables
β Audit running processes inside the containerβ
docker exec -it <pihole_container /> ps aux
Look for unexpected or non-Pi-hole processes like reverse shells, cryptominers, or Python scripts.