Assume I have an open source application, that connects to my server. I need to guarantee that the application that has been distributed was not tampered.
Assume the client sends a hash of the executable to the server to verify if it matches the hash of the exe originally distributed.
Now what if somebody took the source, edited the function to send back a correct hash, to trick the server into thinking it was a valid exe.
Is there any way to get around this? Could the server check / guarantee that the exe launched was signed?