Thick Client Penetration Testing Explained

What thick client penetration testing covers, how desktop apps differ from web apps, what testers look for, and how to prepare your Windows, macOS or Linux app.

GuideApplication Security8 min readIntermediate

Thick client penetration testing is a security assessment of software that is installed and runs on a user’s computer, covering its binary, local storage, network traffic, update mechanism and backend APIs. Because the app runs on a machine an attacker can control, testers treat anything it stores, checks or hides locally as visible.

Most security testing today focuses on web applications and APIs, but many businesses still depend on installed software: trading terminals, healthcare systems, engineering tools, admin consoles, point-of-sale software and internal line-of-business apps. These are thick clients, sometimes called fat clients or desktop applications. They bring their own risks, and those risks are easy to miss if you test them like a website.

How is a thick client different from a web app?

A thick client runs much of its logic on the user’s machine, while a web app runs mostly on your servers: the browser shows the interface, but your code and data stay under your control. The user’s machine might belong to a customer, an employee or an attacker who has simply downloaded your installer. Whoever controls it can:

  • Read the application’s files, configuration and memory
  • Watch, change and replay its network traffic
  • Decompile or disassemble the code
  • Change how the program behaves while it runs

So anything the client stores, checks or hides locally should be treated as visible to an attacker. A password check, a licence check or a “this user is not an admin” rule that lives only in the client can usually be bypassed.

Web app vs thick client at a glance

Aspect Web application Thick client
Where the code runs Mostly on your servers Largely on the user’s machine
What the attacker can see Requests, responses and front-end code The full binary, local files, memory and traffic
Typical trust mistake Trusting values sent from the browser Trusting checks done inside the client
Update path You deploy, users get it instantly Users install updates, often through a custom updater
Extra attack surface Browser and web server Operating system, file system, installed libraries, local services

What a thick client penetration test covers

A thick client penetration test looks at the binary and its code, local storage, network traffic and backend APIs, the operating system environment, and updates and installation. The exact mix depends on the technology and what the app does.

The binary and its code

  • Reverse engineering and decompilation. .NET and Java apps can often be decompiled to readable code, and native apps take more effort but can still be analysed.
  • Hardcoded secrets, such as API keys, database connection strings, encryption keys and credentials embedded in the code or configuration.
  • Client-side controls: checks for licensing, feature access or user roles that are enforced only in the client.
  • Tampering resistance, meaning whether the app detects or resists modification, where that matters for your threat model.

Local storage and the file system

  • Sensitive data at rest: credentials, tokens, cached records and logs written to disk, and whether they are protected.
  • File and folder permissions, and whether other users or low-privilege processes can read or replace the app’s files.
  • Use of operating system protections, such as the Windows Credential Manager or the macOS Keychain, instead of custom storage.

Network traffic and backend APIs

  • Traffic interception: whether communication is encrypted, whether certificates are validated properly, and what the protocol reveals.
  • Backend authorization: whether the server enforces access rules when a modified client sends requests it normally wouldn’t.
  • Custom protocols. Some thick clients use proprietary or binary protocols, and testers analyse these to find the same issues as in any API.

Because the backend is where data lives, backend testing often produces the most serious findings. If the server trusts whatever the client sends, anyone who can modify the client can reach other users’ data. Our API penetration testing work applies directly here.

The operating system and environment

  • DLL and library hijacking: whether the app loads libraries from locations an attacker can write to, which can lead to code running with the app’s privileges.
  • Privilege escalation through services or helper processes that run with high privileges and can be abused by a normal user.
  • Inter-process communication through local services, named pipes or sockets that accept commands without proper checks.

Updates and installation

  • Update integrity: whether updates are downloaded securely and their signatures checked before installation.
  • Installer behaviour: whether installation leaves files or folders writable by other users, or runs steps with more privilege than needed.

An insecure update mechanism is especially serious, because it can let an attacker push malicious code to every installation at once.

Testing .NET, Java, Electron and native apps

The technology a thick client is built with changes how testers approach it.

  • .NET and Java compile to intermediate code that decompiles cleanly, so expect testers to read your logic almost as if they had the source. Obfuscation slows this down but does not prevent it.
  • Electron apps are web apps running with local system access. Testers look at standard web issues such as cross-site scripting (XSS), plus Electron-specific settings. An XSS flaw that would be moderate in a browser can become code execution on the user’s machine if the app’s isolation is weak.
  • Native C and C++ apps take longer to analyse, and memory safety issues, unsafe library loading and privileged helper processes come into play.

Threat modelling a thick client

Threat modelling a thick client means agreeing, before testing starts, who you are defending against, because the answer changes what matters most.

  • A curious or malicious customer has a legitimate copy of the app and an account. Can they reach data or features beyond what they paid for, or see other customers’ information through the backend?
  • On terminals, kiosks or shared workstations, a low-privilege user may try to read cached data or plant a malicious library the app will load.
  • An attacker on public Wi-Fi or a compromised network may try to read or change traffic in transit.
  • An attacker who can tamper with your update channel can reach every installation.

Each threat points to different tests. A trading terminal used inside a locked-down office has a different risk profile from a consumer app downloaded by anyone. Sharing your view of the likely attackers during scoping helps testers spend time where it counts.

What a well-defended thick client looks like

A well-defended thick client typically:

  • Keeps secrets on the server, not in the binary
  • Uses operating system protections for anything it must store locally
  • Validates server certificates and encrypts all traffic
  • Loads libraries only from protected locations
  • Signs updates and checks signatures before installing them
  • Treats every request from the client as untrusted on the backend

Common thick client vulnerabilities

Certain patterns come up repeatedly in thick client testing:

  • Credentials or API keys hardcoded in the binary or configuration files
  • Sensitive data cached on disk in plain text
  • Licence or feature checks that can be bypassed by modifying the client
  • Backend APIs that trust the client and skip their own authorization checks
  • Libraries loaded from writable folders, allowing DLL or library hijacking
  • Update files downloaded without signature checks
  • Traffic sent without encryption, or without proper certificate validation
  • Local services running with high privileges and weak access control

None of these are exotic. They follow naturally from building software that assumes the user’s machine is trustworthy.

How does a thick client penetration test work?

A thick client penetration test typically runs in six stages, from scoping to reporting and retest:

  1. Scoping: agree platforms, versions, user roles and how much of the backend is included.
  2. Setup: install the app in test environments that match your users’ platforms, with interception tools in place.
  3. Mapping: understand the features, the local components and every network connection the app makes.
  4. Testing: work through the binary, storage, traffic, operating system integration and backend, guided by the app’s threat model.
  5. Validation: reproduce every finding and capture evidence.
  6. Reporting and retest: deliver findings with fixes, walk through them with your team, and retest once fixed.

You can read more about our overall process on our how we work page and about how we test desktop software specifically on our thick client testing service page.

How to prepare for a thick client penetration test

Having these ready before kickoff makes a thick client penetration test faster and more thorough:

What to prepare Why it matters
Installers for every platform in scope Testers need the same builds your users run
Test accounts for each user role Needed to test access control between roles
Licence keys or activation details So testing isn’t blocked by licensing
Documentation of backend endpoints Speeds up mapping of the API surface
A test backend environment, if available Allows deeper testing without affecting real users
A technical contact To answer questions and resolve setup problems quickly

When do you need a thick client penetration test?

Consider a thick client penetration test for a desktop application when:

  • Customers or partners install it on their own machines
  • It handles sensitive data, payments or regulated information
  • It talks to backend services that hold customer data
  • It runs with elevated privileges or installs services
  • A customer security review or audit asks for evidence of testing
  • You’re releasing a major new version or changing the update mechanism

Thick clients are often overlooked because they’re harder to test than web apps, which is exactly why attackers pay attention to them.

If you want to understand how a manual test fits alongside code review, our secure code review service can be combined with a thick client test for deeper coverage.

Frequently asked questions

What counts as a thick client?

A thick client is any application installed and run on a user's machine that does significant work locally, rather than only displaying a web page. Examples include desktop apps built with .NET, Java, Electron or native C and C++, as well as internal tools, trading platforms and admin consoles.

Is an Electron app a thick client or a web app?

Both, in practice. An Electron app uses web technologies, but it runs locally with access to the file system and operating system. That combination means it needs web-style testing plus checks specific to desktop apps, such as how the renderer is isolated from local system access.

Do thick client penetration testers need the source code?

Not necessarily. Most thick client testing works from the compiled application, the way a real attacker would. Access to source code can make testing faster and deeper, and can be combined with a secure code review.

Does a thick client penetration test include the backend server?

It should, because the APIs and services a thick client talks to are where data lives, and they must enforce security even if the client is modified. We agree during scoping how much backend testing is included.

Can a thick client test cover Windows, macOS and Linux?

Yes. A thick client test should run on the platforms your users have, so tell us which Windows, macOS or Linux versions matter most to them, and we will test the platforms in scope on matching environments.

Need a pentest for an audit, a customer, or peace of mind?

Tell us what you need tested. You’ll get a fixed-fee proposal with tester-days and timeline stated, usually within a few days of the scoping call.