Skip to main content

Security of PC Application (Windows Native)

Overview​

For PC apps, hurdles against cracking or cheating are relatively low, which is different from apps for iOS and Android devices. This page explains the security of a PC app. Security measure is an option. However, it should be implemented.

Security Native Version for PC app​

DeNA provides “AndApp Secure Lib for C++” as a simple security library for a security measure for PCs. AndApp SecureLib for C++ can be downloaded from the AndApp Developer Dashboard .

For how to use AndApp SecureLib for C++, click here .

  • AndApp Secure Lib ver.1.0
    • HTTP Public Key Pinning function
    • Preventive measures against memory alteration
    • Encryption of local storage

See below for details of items to be protected:

  • Security level (AndApp Secure Lib ver.1.0)
    1. AndApp Secure Lib for C+ + + Enabling HTTPS in communication
  • **High security level (**AndApp Secure Lib ver.1.0
    1. AndApp Secure Lib for C++ + Enabling HTTPS in communication
    2. CrackProof Unity Windows version
warning

The driver file must be installed for using CrackProof in AndApp. AndApp client does not have an installer for the driver file. Obtain the executable file to be installed according to the following document.

About Installing Driver File for CrackProof in AndApp

Items to be protected​

Items to be protected using the above security measure are described in the following table. (Items are checked by us.)

 

AndApp Secure Lib for C++

CrackProof Windows version

Overview

Simple protection software. It is basic and cannot protect items against full-fledged analysis. It is enough to protect against a casual cheat, such as use of cheat tools.

Software to strongly protect a Windows game app. It implements security processes such as encryption, protecting game apps strongly against cracking.
It is easy to use and the technical level is ideal.

It is recommended for use with AndApp Secure Lib for C++ to protect against all vulnerabilities, such as the following.

  • It protects against memory alteration of the CheatEngine type. However, it may not protect against alteration methods other than this type.
  • The detection of alteration on the network is not protected

Instructions in “About Installing Driver File for CrackProof in AndApp  should be followed to use CrackProof with AndApp.

Cost (Reference)

Free (If releasing to AndApp)

You can use an AndApp special plan.
<Contact>
DNP Hypertech Inc.
http://www.hypertech.co.jp/

Use of Native Security Code

◯
It is implemented with Windows Native code. It is delivered with the static library format.

◯
A native security code is implemented to the main exe

Unnecessary symbol deleted from Native Security Code

-

◯
Almost all symbols are deleted

Encryption of Native Security Code

-

◯
The whole code is encrypted.

Obfuscation of Native Security Code

-

△
Most codes are obfuscated. (Some codes are not.)
Symbols are deleted, and thus it may take a lot of time to analyze.

Static Code Alteration of Native Security Code

-

◯
Static alteration is not possible, as the main code is encrypted.

Encryption of Network

◯
It provides a native plugin to enable HTTPS communication through Public Key Pinning.

* HTTPS shall be set to the communication on the game side.

×
No

Memory Alteration (Data Area)
Memory Alteration by Debugger Attachment

◯
It uses the class which inherits AndApp::SecureLib::SecureClass, so as to make the memory alteration of the data type included in this class difficult.

◯
It detects an emulator or debugger and uses an original memory alteration protection function.

Memory Alteration (Data Area)
Direct Alteration of Physical Memory by CheatEngine

◯
It uses the class which inherits AndApp::SecureLib::SecureClass, so as to make the memory alteration of the data type included in this class difficult.

△
It addresses memory alterations with CheatEngine and similar methods.

Memory Alteration (Data Area)
* Code Alteration by Debugger Attachment

-

◯
It detects an emulator or debugger to prevent dynamic code alteration.

Encryption of local storage

◯
It provides classes to be read and written to the encrypted local storage

  • It uses AndApp::SecureLib::SecureFile to encrypt a binary file.
  • It uses AndApp::SecureLib::SecurePrefs to save the encrypted Key / Value to the local storage.

×
It is not protected.
It is compensated with tools, such as AndApp Secure Lib for C++.

DLL injection

-

◯
DLL injection cannot be performed because it is not attached with a debugger

Start on Emulator

-

◯
It confirms that the app does not run on Windows over VMware.

Speed hack

-

△
It is difficult to address the attack such as manipulating the time on OS level. It protects against speed hacks modifying codes or data.

Wallhack

-

◯
It is the approach detecting an emulator or debugger to prevent wallhacking.

Less labor from programmer

-
There is a labor to change variable names

◯
All programmers need to do is upload the exe and dll to CrackProof.

Use of Driver

-
No

◯
Yes

Update History​

  • October 25, 2016

    • Minor modifications to the table
  • October 7, 2016

    • Descriptions of 0.1 releases that have not been released are removed.
    • Download link of AndApp SecureLib is added.
    • Link to how to use AndApp SecureLib for C++ is added.
    • The memory alteration in “Items to be protected” and information about AndApp SecureLib in Local Storage Encryption are modified and added.
    • How to install the driver file required for using CrackProof is addressed.
  • July 28, 2016

    • Newly created