Windows.
What your build
gives away.
Compilation changes the code. It can still leave readable strings, imports, resources, update addresses and the structure of a licence check. We follow those clues through the build you ship.
Get a free first look Explore the build
- .exe
- .dll
- .msi
- .rsrc
- PDB path
- update feed
01 / Inside the build
A package.
Many ways in.
Select a layer to see what it contains and which tools can read it.
PE executables and DLLs (.exe, .dll, .sys)
Compiled machine code plus headers, an import table listing every DLL and Windows API the program calls, an export table for DLLs, and data sections holding string literals, constants, URLs and any keys compiled into the code.
Not source, but fully disassemblable and decompilable to C-like pseudocode with Ghidra or IDA. Imports, exports and plain strings can be listed in seconds without running the program.
Indicative readability. Build settings, obfuscation and access to a running device change the effort.
Resource section (.rsrc)
Icons, dialogs, menus, string tables, version info, manifests and arbitrary RCDATA blobs. Vendors often park config files, certificates, scripts or even whole embedded payloads here.
Directly browsable and extractable with Resource Hacker or similar tools; no decompilation needed.
Indicative readability. Build settings, obfuscation and access to a running device change the effort.
Debug directory and PDB path
Release builds usually carry a CodeView record pointing to the .pdb symbol file. Microsoft's linker documentation notes that the linker normally records the location of the .pdb file in the binaries it produces, which often exposes the build machine's folder layout, user names and internal project names.
Readable as a plain string in the binary. If the PDB itself ships (or leaks), function and variable names come back, which makes decompiled code far easier to follow.
Indicative readability. Build settings, obfuscation and access to a running device change the effort.
Authenticode signature (certificate table)
A PKCS#7 SignedData blob with the publisher certificate chain and timestamp. It proves who signed the file, not that the code is safe; 3CX and ASUS both shipped malicious code under their own valid signatures.
Viewable in Explorer properties or with Sigcheck; the certificate data is not loaded into memory and sits at the end of the file.
Indicative readability. Build settings, obfuscation and access to a running device change the effort.
Installer packages (MSI, Inno Setup, NSIS, setup.exe bootstrappers)
The files to be installed, registry keys, services to create, custom actions (DLLs or scripts that run during install, often raised), and properties that may include default URLs, tenant IDs or credentials.
MSI is a structured database that tools like Orca or lessmsi open as tables; Inno and NSIS archives can be unpacked with community extractors. Custom-action DLLs are ordinary PE files.
Indicative readability. Build settings, obfuscation and access to a running device change the effort.
Config files, bundled third-party DLLs and runtime data
INI, XML or JSON config next to the EXE, SQLite databases, bundled libraries (OpenSSL, ffmpeg, vendor SDKs) and their versions, and licence or activation files written to ProgramData or the registry.
Plain text or standard formats in most cases. Bundled DLL versions can be matched against public CVE lists.
Indicative readability. Build settings, obfuscation and access to a running device change the effort.
Auto-updater and update feed
A separate updater EXE or service (often running as SYSTEM) plus the URL of a manifest (XML/JSON) that names the latest version, download URL and sometimes a hash or signature.
The feed URL is usually a plain string in the updater; the manifest can be fetched and read by anyone. Whether the updater checks signatures is visible in its decompiled code.
Indicative readability. Build settings, obfuscation and access to a running device change the effort.
Tools that can read these layers
Ghidra · IDA Free / IDA Pro · x64dbg · Detect It Easy (DIE) · Resource Hacker · Process Monitor (Sysinternals) · Sigcheck (Sysinternals) · Orca / lessmsi
02 / The method
One build.
Six ways to inspect it.
Agents inspect the package, trace its behaviour and collect evidence through six stages. An engineer verifies each finding before it enters your report.
Unpack.
Opens the build and lists every file, format and layer.
Tools used in this stage
- inspect_artifact
- extract_artifact
- inspect_pe_resources
- inspect_signature
Map.
Finds the entry points, permissions, servers and what talks to what.
Tools used in this stage
- binary_overview
- inspect_binary_layout
- inspect_native_api
- list_segments
Read.
Reads code and maps recoverable names, logic and sources.
Tools used in this stage
- open_binary
- list_procedures
- procedure_pseudo_code
- batch_decompile
- get_call_graph
Hunt.
Searches for keys, endpoints, checks and content, and ranks them by cost.
Tools used in this stage
- search_strings
- search_bytes
- find_xrefs_to_name
- trace_call_path
Run.
Launches the build and watches it, to confirm what the reading suggests.
Tools used in this stage
- capture_process_scenario
- observe_native_calls
- start_rizin_debug_session
Prove.
Packs the evidence for the engineer's check and the re-test.
Tools used in this stage
- build_reconstruction_obligation_ledger
- export_evidence_bundle
- unpack
extract_artifact setup.msi1 EXE, 23 DLLs, an update config
- map
inspect_pe_resources app.exeversion info, manifest, an embedded licence public key
- map
inspect_native_apiWinHTTP, CryptoAPI, registry calls
- read
batch_decompile licence module142 functions, the check in one place
- hunt
find_xrefs_to_name ValidateLicenceone branch decides paid or trial
- hunt
search_strings "http://"update feed served over plain HTTP
- run
capture_process_scenarioloads a DLL from the app folder first
- prove
export_evidence_bundle5 findings, ranked, sent to the engineer
A written example of the report format. Replay is condensed; the real time budget is agreed before a run and printed on the report.
03 / Exposure areas
What can
escape the build.
The places we look on Windows, the business risk behind them, and the changes that reduce exposure.
Readability alone is not a vulnerability. Impact depends on what the recovered material lets someone do.
01Client-side licence checks patched or forged
When the decision to open a product is made entirely on the user's machine, someone can find the branch in the decompiled code and flip it, or forge the local data the check trusts. Even Microsoft's own Software Protection Platform has been defeated this way.
Move entitlement decisions server-side with signed, short-lived licence tokens, and treat any local check as a speed bump rather than the lock.
02Hardcoded credentials and API keys in binaries
Cloud keys, database passwords, SMTP logins and private API tokens compiled into the EXE or a resource can be pulled out with a string search or a decompiler. Every copy of the build carries the same secret, so one extraction compromises the whole fleet.
Remove the secret from the client, rotate it, and have the client obtain scoped, per-user tokens from your backend instead.
03Updates downloaded without integrity verification
Updaters that fetch manifests or installers over plain HTTP, or that do not verify the publisher's signature before running what they download, let anyone who can tamper with the traffic or the server push their own code. Updaters often run as SYSTEM, so the payload gets full control.
Serve updates over HTTPS only, sign the manifest, and verify the Authenticode signature and expected publisher of every downloaded file before executing it.
04DLL search-order hijacking and sideloading
If a program loads a DLL by bare name, Windows searches a list of folders and loads the first match, so a planted DLL with the right name runs inside the program. Microsoft documents that if the application runs with administrator privileges, this can give the attacker local privilege elevation.
Load DLLs by fully qualified path, call SetDefaultDllDirectories / use LOAD_LIBRARY_SEARCH flags, and verify signatures of plugins before loading.
05Privileged local services trusting any caller
Helper services that run as SYSTEM often expose a local web server, named pipe or RPC endpoint so the user-level app can ask them to do things. If they do not properly check who is calling or where a request came from, a web page or low-privileged process can drive them.
Authenticate every caller (pipe ACLs, client process signature checks, strict origin validation) and expose only the minimum operations a privileged service needs.
06Secrets left in installers and config files
MSI properties, custom-action scripts and INI or XML files installed next to the program frequently contain default passwords, service account credentials or connection strings. These are readable by anyone who has the installer or a standard user account on the machine.
Generate per-install secrets at first run, store them with DPAPI or Windows Credential Manager, and strip credentials from installer tables and shipped config.
07Build paths and debug symbols in release builds
Release binaries usually record the full path of their PDB file, which can reveal developer user names, internal project names and source tree layout. Shipping the PDB itself hands over function names and makes reverse engineering much faster.
Use /PDBALTPATH:%_PDB% to strip build-machine paths, keep PDBs on a private symbol server, and never include them in the installer.
04 / Sample findings
From recovered evidence
to a fix you can check.
Explore three illustrative Windows reports. Switch to the re-test to see what the next build changes.
Illustrative example · Engineering/CAD desktop suite sold with per-seat licences (native C++, MSI installer)
A licence check in one branch.
The licence decision is made by a single exported function in licmgr.dll that returns a boolean the main EXE trusts without any server round trip. Patching one conditional jump opens every paid module offline, and the patched DLL keeps working across minor updates because the export name never changes.
The full teardown records the recovered artifact, its business impact and a fix for your stack.
// licmgr.dll!CheckSeat (Ghidra pseudocode)
bool CheckSeat(LicCtx *ctx) {
if (ctx->expiry < GetSystemTimeAsDays()) return false;
if (ctx->featureMask & FEAT_PRO) return true; // 0x1800234A: JNZ -> JMP
return VerifyLocalSig(ctx->blob, PUBKEY_LK_xxxx91ad);
}These fictional examples show the report format. All names, hostnames and credentials are made up. They do not describe real customer work.
05 / On the record
The risk
has a history.
These reports show what other researchers found in released software. Each links to the original source.
- 2023
Malicious code inside a signed desktop build
Sophos documented the 3CX supply-chain incident, in which native DLLs loaded by the Windows desktop application carried a malicious payload. The apparently normal application continued to run.
Sophos X-Ops (March 2023) (opens in a new tab) - 2019
A signed updater used in a supply-chain attack
Kaspersky reported that attackers modified ASUS Live Update and distributed signed malicious software through the vendor’s update infrastructure in 2018. The investigation was published in 2019.
Kaspersky press release, Operation ShadowHammer (March 2019) (opens in a new tab)
What does a Windows security teardown inspect?
Compilation changes the code. It can still leave readable strings, imports, resources, update addresses and the structure of a licence check. We follow those clues through the build you ship. An engineer verifies the findings, explains their business impact and writes fixes for your stack.
Can a compiled EXE still expose licence checks or credentials?
Yes. Compilation can leave readable strings, imports, resources and configuration files. Those clues can reveal an embedded credential, update address or the structure of a local licence decision. The impact depends on what the recovered information permits.
What does a Windows teardown report include?
The paid teardown includes recovered evidence, findings ranked by business impact and a fix written for your stack. Audit and re-test adds a same-budget check of the updated build and a dated statement. The free first look reports counts and excludes recovered code and credential values.
Page updated . Samples are illustrative; public research is attributed above.
Your build. Your evidence.
See what
yours gives away.
Start with counts of exposed keys, files and readable logic. A full teardown adds verified evidence, business impact and a fix written for your stack.
Only software you own or are authorised to submit. No code or credential values in the free counts-only result.