Resource Library Hacking Prevention

I develop in C ++ / MFC and put all the resources in a separate DLL.

I have seen cases when the resource DLL is modified and the product is sold illegally with a different name, graphics, etc.

How to prevent change / hacking of a DLL resource?

+3
source share
8 answers

Sign it, and then verify that signature f is valid and is. I would use some kind of official certificate for the company, but a self-signed one will do.

A quick google appeared:

Digital Code Walkthrough (same as Office XP)

Preventing Unauthorized Access to DLLs in Windows Applications

UPDATE:

He also pays to sign the exe.

, - . . "" -, . , , ? .

, , , . , .

+4

, dll dll: s .

+1

. , . , "", , . (, Tux Windows). - .

0

dll, / , . -, , , exe, , , .

0

, , , , , . ( ) .. , , .

0

, , , , , - . , .

0

, , . , shareware. .

, . , .

0

, . -

BOOL CMyApp::InitInstance()
{   
   CString  TempName = TempFileName();
   Unzip("MyZippedResources.Zip",TempName,Password);
   HINSTANCE hInst = LoadLibrary(TempName);
}

zip-,

-1

Source: https://habr.com/ru/post/1709833/


All Articles