How to detect the client which call the sever is not an official version of the game?

50 Views Asked by At

A hacker decompiled and published our game which is a trivia game. The unofficial version of the client shows the written answer to a question. When the client calls to request a new question, the server gets a question and its answer. Is there any way to detect that the client is not the official version?

We use some encryption methods and custom HTTPS certificates buy unfortunately all of them are decompiled. I'm looking for a way to detect the hacked version by the server and ban the cheater users.

2

There are 2 best solutions below

0
AmerllicA On BEST ANSWER

Actually, You should have done this before, but no worries, prepare a key in the client and another one in the backend, they should match each other, this identifier helps you to understand which one is your client. so every call and every response must be handled by key passing and obfuscation.

You should stop supporting the previous clients' versions and force all to update to the latest version, I don't know do you have a force update modal or not. maybe you can use push notifications to notify the user to update the app rapidly.

Another thing, the security concern, you better obfuscate the key part of the app. to avoid another crack. the hacker must not have access to the key management part.

0
Ritesh Khokhani On

Implement a unique identifier. You can add a unique identifier to the original version of the app that the server can recognize. This could be a device ID, an API key, or any other unique value that is difficult to replicate. When the app makes a request to the server, the server can verify the unique identifier to ensure that the request is coming from the original app.