Portable Windows thick-client / MSIX security audit tool. Find. Verify. Report.
PowerShell engine, WinForms GUI, an agentic AI workbench (loopback browser UI), and a native MCP server. Authorized testing only.
Desktop apps ship secrets in config files, disable TLS certificate validation, and load DLLs from writable paths. Web scanners never see any of it. TCPK audits the binaries themselves (MSIX, .NET, Electron, native EXE), proves the real bugs by decompiling the IL, and writes the client-ready report.
git clone https://github.com/V33RU/tcpk.git
cd tcpk
.\TCPK.batThat opens the GUI (keep the whole folder together). Accept the authorized-use prompt, pick a target, click Run Audit. Or drive the same engine from PowerShell:
Import-Module .\TCPK\TCPK.psd1 -Force
Invoke-TcpkAudit -Target 'C:\Path\To\App' -Acknowledge # static + OS + network ...
Invoke-TcpkAudit -Target 'C:\Path\To\App' -Acknowledge -EnableLlm # + local AI triageReports land in .\out\<target>_<date>\: index.html, report.xlsx, findings.json,
sbom.cdx.json, report.sarif, intel.html.
Want to see the output before installing anything? Read the full DVTA audit: 35 findings, 1 CRITICAL / 3 HIGH / 8 MEDIUM, with the evidence grade for every one. Nothing in it is fabricated.
Point it at an MSIX package, an installed folder, or a single .exe, click Run Audit, and
TCPK runs 327 cmdlets across 19 buckets (220 of them detection checks), streams findings live, and writes HTML + Excel
reports. Every finding carries a confidence label, a computed CVSS v4.0 base score, CWE,
MITRE ATT&CK, and an OWASP TASVS mapping. The same engine drives the CLI, a native MCP
server, and an agentic AI workbench (TCPK-Agentic.bat -- loopback, token-gated,
discovery-only) with decompile, local AI review, and an autonomous agent.
- Evidence over guessing. Regex hits are
Inferred; a Mono.Cecil IL bridge then proves the high-value ones (e.g. an accept-all TLS callback decompiled and proven toreturn true) and promotes them toConfirmed (IL)via a bounded source-to-sink taint check -- deterministic, no model. - Real CVSS v4.0. A faithful port of the FIRST.org algorithm scores each finding from its own vector, so a local issue is never mislabelled as network-reachable.
- Supply-chain CVEs. Shipped components matched against live OSV (NuGet/npm/Maven) + NVD-by-CPE (native libs), version-accurate, embedded in a CycloneDX SBOM. Online-only, fails closed.
- Local-first AI triage (optional).
-EnableLlmpipes findings through a local Ollama model; cloud is gated behind an explicit opt-in (decompiled IL never leaves the box by default). - Engagement-ready reports. HTML (confidence-segregated) + multi-sheet Excel with a 55-case
Checklist, DLL Hardening + Signing matrices, plus JSON, SARIF, a CycloneDX SBOM, and a
self-contained
intel.htmldashboard. - Live-process tooling. A Runtime/Live tab of read-only process checks and a Process Monitor (live watch + activity capture), plus a Hex view with a data inspector, strings, and byte colouring -- in both the desktop GUI and the agentic workbench.
- Honest about scope. It automates detection; dynamic confirmation (Burp, mimikatz, modify-and-relaunch) stays manual -- and the tool says so.
A Static binary - B MSIX manifest - C OS integration - D Credentials - E Runtime/live -
F Network - G WebView2 - H Logging - I Memory - J Anti-debug - K Exploit (gated) --
plus Recon / Report.
Full check catalogue in docs/CHECKS.md; the 55-case thick-client test plan is
auto-correlated in the Excel Checklist sheet (31 of 55 fully automated, 23 partial, 1 gap). Full technical write-up at
v33ru.github.io/tcpk.
Path-based: MSIX / AppX / .msixbundle / .zip, an installed or extracted folder, or a single
portable .exe -- MSIX, MSI, ClickOnce, Squirrel, and portable apps alike (manifest checks
auto-skip when absent). For thin clients it audits the client-side binaries; the remote API is a
separate engagement.
Windows 10/11, PowerShell 5.1 or 7+. Admin only for some deep runtime checks. Optional local AI
needs Ollama + a pulled model (e.g. qwen2.5-coder:7b).
Optional tools per tab (Wireshark for pcap, mitmproxy for intercept, frida for runtime
hooks) install separately: see docs/INSTALL.md. The static audit needs none of them.
Add a detection without writing PowerShell: drop a JSON rule into TCPK/Data/rules/. See docs/EXTENDING.md for the schema and worked examples.
- Awesome Thick Client Pentesting - curated tooling, writeups and labs for this problem space.
Srinivas (DVTA) - Damn Vulnerable Thick Client Application.
For security testing of software you own or are explicitly authorized to test. Provided AS IS,
no warranty. See DISCLAIMER.txt. TCPK is MIT licensed; redistributed third-party components and
their licences are listed in NOTICE.
TCPK v2.10.0 - see README.txt for the full manual and docs/ for methodology.

