SANS Top 25 & Binary SDL · .NET, Java, C++, Electron & Tauri

Desktop apps, tested from binary memory to local IPC.

Manual reverse engineering, heap memory inspection, installer privilege escalation auditing, and invisible TCP/WCF proxying for Windows, macOS, and Linux thick clients—catching DLL hijacking, Electron IPC RCE, and embedded secrets SAST misses.

Interactive Desktop Thick Client Blueprint
04 Desktop Layers
SELECTED · BINARY & BUNDLE LAYER

Decompilation, compiler hardening & updater checks

Engineers unpack MSI/EXE/DMG/DEB installers, disassemble .NET IL, Java bytecode, native C/C++, or Electron ASAR bundles—checking ASLR/DEP/Control Flow Guard flags, Authenticode/notarization signatures, and embedded SQL or API signing secrets.
dnSpy / Ghidra / ASAR ASLR & Code Signing
Methodology
SANS Top 25 & Binary SDL
Typical Window
6 to 14 business days
Supported Stacks
.NET, Java, C++ & Electron
Verification
30-day Installer Retest + LoA
01 · Beyond SAST & Antivirus Checks

Why source scanners miss installer & OS privilege flaws

Testing the backend API alone never catches local Windows SYSTEM escalation via DLL side-loading, plaintext credentials lingering in heap memory, Electron contextBridge command execution, or binary TCP serialization flaws.

MSI installer & updater ACLs
SAST tools have zero visibility into writable ProgramData folders or unquoted updater service paths allowing local user-to-SYSTEM escalation.
Electron & Chromium bridges
Inspecting unpacked ASAR preload scripts detects exposed shell APIs and custom protocol URIs invisible to backend API scanners.
Non-HTTP binary wire protocols
Frida Winsock hooking and invisible proxying inspect WCF binary XML, ODBC/TDS SQL links, and raw proprietary TCP streams live.
Live Runtime Binary Trace vs. Automated Scan Select Desktop Vector
BACKEND & SAST: "0 Source Code Findings" OS RUNTIME TRACE: CRITICAL · LOCAL USER -> SYSTEM
PROCESS MONITOR LOG · WINDOWS ELEVATED UPDATER SERVICE DLL SEARCH-ORDER HIJACK
Process: EnterpriseClientUpdater.exe (Running as NT AUTHORITY\SYSTEM)
Event:   LoadLibraryW("C:\ProgramData\VendorClient\bin\crypt-helper.dll")

[PROCMON] Result: NAME NOT FOUND | Folder DACL: BUILTIN\Users:(OI)(CI)(F) Writable!
[EXPLOIT] Unprivileged local user places signed/unsigned proxy DLL -> SYSTEM shell on restart
# Fix verified: Enforce Authenticode signature validation & lock install folder ACLs to Admins only.
02 · Offensive Desktop Toolchain

Reverse engineering & IPC tools built for desktop binaries

Every tool below is dedicated strictly to compiled desktop clients (.NET, Java, C/C++, Electron)—covering binary disassembly, heap inspection, OS ACL tracing, and transparent protocol proxying.

01 · Binary & Decompilation Static & Installer
.NET IL Disassembler

dnSpyEx & ILSpy

Decompiles C# / WPF / WCF assemblies, surfaces hardcoded credentials and crypto keys, and traces client-side authorization checks live.

Native Reverse Engineering

Ghidra & x64dbg

Disassembles native C/C++/Delphi desktop executables, inspects ASLR/DEP/CFG binary flags, and sets breakpoints on auth & license routines.

JVM & Chromium Packaging

JD-GUI & Electron ASAR Tools

Extracts Java JAR/WAR clients and Electron ASAR bundles to inspect preload contextBridge APIs, sandbox flags, and auto-updater configs.

02 · OS, Memory & Protocol Wire Core Workbench
Core OS & ACL Workbench

Sysinternals (ProcMon / Process Explorer)

Captures startup filesystem, Registry, and LoadLibrary behavior to catch DLL hijacking, insecure temp logs, and elevated service escalation.

Socket & Runtime Hooking

Frida & Echo Mirage

Hooks OpenSSL/Schannel/Winsock inside native and Java clients to tamper with binary payloads and verify post-login memory security.

Invisible & SOCKS Transport Proxy

Burp Suite Pro (Invisible Proxy)

Redirects proxy-unaware desktop HTTP, WCF, and Electron requests through transparent listeners to audit server authorization and injection.

03 · Memory, Pipes & Sandboxes Runtime Internals
Process Memory & Handles

WinDBG & Process Hacker

Extracts heap strings post-logout, tests memory page protections, inspects DPAPI/Credential Manager handles, and detects plaintext token caching.

IPC & Service Permission Audit

PipeList & AccessChk

Audits Windows Named Pipes, ALPC endpoints, COM server DACLs, and MSI/ProgramData directory permissions for local escalation paths.

Stack-Matched Desktop Lab

+ And Many More Utilities

Paired with Wireshark (Binary Dissectors), API Monitor / Detours, Electronegativity, and custom Frida/C# harnesses.

03 · Interactive Thick Client Scope Estimator

Estimate your engagement window by architecture & protocols

Effort depends on whether your binary uses 3-tier APIs, direct 2-tier database links, Electron/Chromium IPC, or multi-OS installers. Configure your stack below.

01 · Desktop Architecture Stack
02 · Application Complexity & Roles
03 · Desktop Surfaces in Scope (Multi-Select)
Calculated Desktop Profile SANS & Binary SDL
Estimated active test window
6–9 business days
Recommended testing model
3-Tier Desktop Client, Local IPC & Backend API Audit
Primary adversarial focus
IL/binary decompilation, memory credential retention, REST/gRPC/WCF traffic proxying & server RBAC; DLL search-order hijacking, installer ACLs & elevated updater SYSTEM LPE.
Kickoff inputs needed
Compiled MSI/EXE/DMG installer + multi-role test accounts + staging backend access.
04 · Tangible Deliverable Specimen

What a real thick client vulnerability looks like in your report

Every desktop finding includes Process Monitor or decompiler evidence, OS ACL / code-level remediation patches, and complimentary installer retesting.

HIGH · CVSS 8.2 FINDING-TC-01 · Writable ProgramData Updater Directory Allows Unprivileged DLL Side-Loading to SYSTEM
CWE-427 · SANS Desktop LPE

Standard workstation user escalates to Windows SYSTEM

The desktop MSI installer created an auto-updater staging directory under C:\ProgramData inheriting write permissions for BUILTIN\Users, while the SYSTEM background service called LoadLibraryW without an absolute verified System32 path.

Affected Binary: VendorClientUpdater.exe (SYSTEM)
Escalation Result: Standard User -> NT AUTHORITY\SYSTEM
ACCESSCHK & PROCMON EVIDENCE TRACE LOCAL PRIVILEGE ESCALATION
C:\> icacls "C:\ProgramData\VendorClient\bin"
     BUILTIN\Users:(OI)(CI)(RX,W)  <-- Any low-privilege workstation account can drop DLLs!

[ProcMon PID 4120 | NT AUTHORITY\SYSTEM]
LoadLibraryW("C:\ProgramData\VendorClient\bin\crypt-helper.dll") -> Loaded arbitrary user DLL!
# Security impact: Full local endpoint takeover across shared banking or enterprise desktops.
05 · Structured Desktop Methodology

Four desktop security planes verified under SANS & Binary SDL

We audit compiled client installers, process runtime state, OS privilege boundaries, and non-HTTP backend communications in a single unified test.

PLANE 01 · STATIC BINARIES

Reverse Engineering & Secrets

.NET / JVM / C++ / ASAR
Inspects Authenticode/notarization signatures, ASLR/DEP/CFG binary defenses, Electron ASAR bundles, decompiled IL/JAR logic, and embedded encryption keys or 2-tier DB credentials.
High-impact flaws caught Embedded service-account secrets, unsigned auto-updaters, and trivial client license or feature-gate bypasses.
PLANE 02 · RUNTIME MEMORY

Heap Hygiene & DPAPI Scope

WinDBG / Process Hacker
Dumps runtime heap buffers during active sessions and post-logout, inspects SQLite/Registry/Credential Manager caches, and manipulates in-memory role or pricing structs pre-encryption.
High-impact flaws caught Plaintext passwords or session tokens left in memory across shared kiosk, teller, and clinical terminals.
PLANE 03 · OS & IPC BOUNDARIES

DLL Hijacking, Pipes & URIs

ProcMon / Electron IPC
Audits Program Files ACLs, DLL search-order hijacking, COM/service path hijacks, Windows Named Pipes, localhost loopback REST CSRF, custom protocol URIs, and Electron preload APIs.
High-impact flaws caught Unprivileged local user escalation to SYSTEM/root and single-click browser-to-desktop RCE via URI handlers.
PLANE 04 · PROTOCOL & BACKEND

Non-HTTP Sockets & APIs

Invisible Proxy / Frida
Intercepts REST, gRPC, WCF binary bindings, Protobuf, and raw TCP/ODBC/TDS transport via transparent redirection or Frida socket hooks to validate server-side authz and injection.
High-impact flaws caught Insecure deserialization, client-trusted RBAC flags, and unauthorized direct database queries in 2-tier architectures.
06 · Engineering Readiness

Four inputs for a clean Day-1 thick client kickoff

Shipping installers, license keys, and staging connectivity upfront lets reverse-engineering and OS privilege checks begin immediately on Day 1.

01 · COMPILED INSTALLERS

MSI / EXE / DMG Packages

Target production-like installer pointing to staging APIs/DBs, plus PDB/debug symbols if grey-box source review is selected.

02 · ACCOUNTS & LICENSES

Multi-Role Logins & Keys

Standard and admin test accounts plus test activation licenses or offline USB dongle emulators where applicable.

03 · STAGING CONNECTIVITY

VPN & Static Egress IP

Staging backend routing paired with our private static egress IP allowlisted under RoE for clean firewall correlation.

04 · PROTOCOL BRIEF & RETEST

Non-HTTP Specs & 30d QA

Short architecture note on custom TCP/WCF/IPC modules, closing with free 30-day verification of rebuilt installers.

07 · Thick Client FAQs

.NET/C++ stacks, binary sockets & installer retesting

Practical answers covering .NET/Java/C++/Electron stacks, custom TCP protocols, installers, and enterprise desktop security compliance.

What inputs do you need to scope and start a thick client penetration test?

To scope in 1–2 business days, tell us the application language/framework (.NET, Java, C/C++, Electron, Qt), target OS (Windows, macOS, Linux), 2-tier direct-DB vs. 3-tier API architecture, and backend staging connectivity. Once initiated, provide the installer (MSI/EXE/DMG), test accounts per role, and any test license keys.

Can you intercept thick client applications that use custom binary TCP protocols instead of HTTP?

Yes. For non-HTTP-aware thick clients (raw TCP/UDP sockets, WCF binary bindings, or direct SQL drivers), engineers use transparent proxy redirection (iptables/Burp invisible proxy, Echo Mirage), TLS library hooking via Frida, and custom protocol dissectors to inspect and manipulate live messages.

Do you test Electron desktop apps for Node.js and Chromium IPC vulnerabilities?

Yes. We specifically unpack Electron ASAR archives, check contextIsolation and sandbox configuration, audit preload contextBridge APIs for command injection or arbitrary file access, inspect custom protocol handlers, and verify auto-updater signature checks.

Why test a compiled desktop app if its backend API has already been pentested?

Even a hardened API cannot protect against local desktop flaws such as SYSTEM privilege escalation via DLL hijacking, plaintext token caches on shared terminals, local named-pipe exploitation, Electron RCE, or hardcoded encryption keys shipped inside the binary.

How long does a thick client penetration test take?

Standard three-tier desktop clients with moderate workflows generally require 6 to 9 business days of static/dynamic binary analysis and backend testing. Complex multi-module banking, industrial, or native C++ applications spanning custom protocols and OS services typically run 10 to 14 business days.

Do you retest rebuilt installers after our developers ship patches?

Yes. Within 30 days of final report delivery, your team can submit patched MSI/EXE/DMG installers for complimentary verification across binary hardening, IPC/filesystem ACLs, and backend endpoints, resulting in an updated report and formal Letter of Attestation.

Complementary Coverage

Extend desktop security testing to backend APIs & internal networks

View all 7 VAPT services →
Ready to harden your compiled desktop client?

Scope your .NET, Java, C++ or Electron desktop pentest

Share your desktop stack, target OS platforms, and 2-tier or 3-tier architecture to receive a scoping plan in 1–2 business days—including binary & IPC testing and a free 30-day installer retest.