KHRONOS

How an app can tell it was tampered with

An app can check its own signature, look for signs of a rooted phone, a debugger or injected code, and warn you. It cannot be certain, because a device fully controlled by an attacker can lie to it.

How it works

The strong part happens before the app runs: the operating system refuses code whose signature does not match. Inside a running app the checks are weaker, since they run on the very device they are checking.

So these checks are a speed bump and a warning, not a wall. They stop casual repackaging and tell an honest person that something is off. An honest app says so plainly.

Key facts

  • Signed releases and published checksums let you verify what you installed.
  • Remote attestation is strong, but it needs a server to ask.
  • If someone controls your device fully, no app on it can protect you.