G
G
Grand Silence2016-05-13 22:22:50
C++ / C#
Grand Silence, 2016-05-13 22:22:50

How to implement program protection through the server?

Hello. How do people implement licensing of C# or C++ programs through the server? (take out part of the logic). I know about encryption algorithms, like AES and RSA, but I have not used it in practice. For example, Zennoposter was not hacked due to such a link.
Let's say I have a bot (C# and C++ library) for a game. Some vital constants can be moved to the server; there will be no authorization by key and the client will not receive the necessary data.
The idea of ​​\u200b\u200bself-checking exe for integrity is also interesting.
PS: I am good at disassembler Native & .Net, feel free to make any decisions. I know about packers, it is doubtful.
Thank you.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Михаил, 2016-05-14
@Sing303

The toughest ways:
1. Allow the software to run only by login/password (registration on the site, it will not work without the Internet)
2. Binding to hardware
3. Pack and obfuscate all code
Next 2 options:
1. Transfer all important functionality to the server, the application itself, according to this scheme, will be just a client that can do nothing but make requests to the server and display data.
2. After authorization, unload dll from the Internet directly into memory (packed and obfuscated), detect any attempt to intercept and ban indiscriminately. (in this way, private cheats for games are protected, but this is a less reliable method than the first one. Because it is still possible to intercept)
You can combine options 1 and 2.
В таком случае (если не вынести все на сервер), взлом тоже возможен, но он достаточно дорогой, и не целесообразен в большинстве случаев.

S
sim3x, 2016-05-13
@sim3x

Заопенсорсить
Зарабатывать на поддержке

M
MrDywar Pichugin, 2016-05-14
@Dywar

Имхо.
Делов то, напишут эмулятор ответа от сервера.
Windows активацию сделали (группы желающих и разбирающихся), игры от серверов отвязывали, чем у вас то лучше будет?
Если все вкусное может лежать не сервере и клиент только работает по API, то ничего защищать не нужно, главное на сервер не пускать файлы читать и исполнять не предусмотренные команды.
Опенсорсим или лицензию указываем.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question