It would be really great to have some info about how to detect such things locally.
Now, how to prevent this. If you are on a NATed connection, it is nearly impossible to prevent this from happening because you cannot control what apps people install who share the same IP address with you. If you have control over your network, then I suggest you install a DNS monitoring service. You can periodically monitor the DNS requests to find unusual patterns.
Step 2: have you bought any devices made by large companies like LG or Samsung?