Most security testing today focuses on web applications and APIs. But many businesses still depend on software that is installed and runs on a user’s computer: 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.
This guide explains what’s different about thick clients, what a thick client penetration test covers, the issues testers commonly find, and how to prepare.
What makes a thick client different
A web app runs mostly on your servers. The browser shows the interface, but your code and data stay under your control.
A thick client is different. Much of its logic runs on the user’s machine. That 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
The core principle follows from that: 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 thorough test looks at the application from several angles. 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. Native apps take more effort but can still be analysed.
- Hardcoded secrets. 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. 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. 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. Testers analyse these to find the same issues as in any API.
Because the backend is where data lives, this part 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. Services or helper processes that run with high privileges and can be abused by a normal user.
- Inter-process communication. 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. It can let an attacker push malicious code to every installation at once.
Technology-specific considerations
Different technologies change how testers approach the app.
- .NET and Java. These compile to intermediate code that decompiles cleanly. Expect testers to read your logic almost as if they had the source. Obfuscation slows this down but does not prevent it.
- Electron. Electron apps are web apps running with local system access. Testers look at standard web issues such as cross-site scripting, 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++. Analysis takes longer, but memory safety issues, unsafe library loading and privileged helper processes come into play.
Threat modelling a thick client
Before testing starts, it helps to agree who you’re defending against. The answer changes what matters most.
- A curious or malicious customer. They have 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?
- A low-privilege user on a shared machine. On terminals, kiosks or shared workstations, another user may try to read cached data or plant a malicious library the app will load.
- An attacker on the network. On public Wi-Fi or a compromised network, can traffic be read or changed in transit?
- An attacker targeting your update channel. If they can tamper with updates, they 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 “good” 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 issues testers find
Every application is different, but 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’re the natural result of building software that assumes the user’s machine is trustworthy.
How a thick client test runs
A typical engagement follows a clear sequence:
- Scoping. Agree platforms, versions, user roles and how much of the backend is included.
- Setup. Install the app in test environments that match your users’ platforms, with interception tools in place.
- Mapping. Understand the features, the local components and every network connection the app makes.
- Testing. Work through the binary, storage, traffic, operating system integration and backend, guided by the app’s threat model.
- Validation. Reproduce every finding and capture evidence.
- 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
Having these ready before kickoff makes the 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 to consider a thick client test
Consider testing 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. That’s 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?
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. It 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 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 the test include the backend server?
It should. The client is only half the picture. The APIs and services it 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 you test on the operating systems our customers use?
Yes. Tell us which Windows, macOS or Linux versions matter most to your users, and we will test the platforms in scope on matching environments.
