How do you stop a client-side wallhack with server side anti-cheat?
Improve your server AI to catch weird behavior. Client side approach with this malware idea is simply unacceptable.
run your own servers, an admin watches them track people behind walls, player gets banned, move on. Oh, they took away player run servers...
Don't send the client information about players they should not be able to see based on their current position.