ACTION REQUIRED (execute immediately after reading)
NOW: Read../field-journal/precedent-pentest.mdNOW: Confirm the target is desktop thick client(Win/macOS/Linux GUI or service companion), not pure WebNOW: case-init; write the installer source and test account into scopeNEXT: Tools (Burp upstream proxy, process monitoring, reverse engineering tools)ACT: Trust boundary diagram → local surface → network surface → update/supply chain
Applicable Scenarios
- C/S architecture clients, Electron/Qt/.NET WinForms/WPF
- Local configuration/credential storage, IPC, named pipes
- Client-side mandatory validation bypass research (authorized)
- Automatic update channel and code signing verification
Workflow
1. Establish boundaries
□ 进程树、子进程、驱动/服务
□ 监听端口与出站域名
□ 本地敏感路径:%APPDATA%、Keychain、注册表
2. Local attack surface
□ 明文配置、硬编码密钥、调试开关
□ DLL 劫持/搜索顺序(Windows)
□ 数据库文件(SQLite)权限与加密
□ IPC:谁可连接?是否鉴权?
3. Network surface
□ 系统代理 / 应用自定义 TLS
□ 证书钉扎 → 联合 mobile/js 方法学或 Frida
□ API 越权:客户端隐藏的管理接口
4. Reverse engineering verification
□ .NET → dotnet-reverse;原生 → ida/ghidra;Electron → asar + js-reverse
Toolchain
| Tool | Purpose |
|---|---|
| Process Monitor / API Monitor | Behavior |
| Burp / mitmproxy | Traffic |
| dnSpy / IDA / Ghidra | Reverse engineering |
| Sysinternals | Windows surface |
| asar / nexe detection | Electron |
Reference
references/thick-client-checklist.md../dotnet-reverse/../ida-reverse/../js-reverse/../api-security/
Routing context
Upstream: MASTER R32
Downstream: Pure protocol protocol-reverse; supply chain update supply-chain-security
Task completion self-check
- Has the trust boundary been drawn?
- Are both the local and network surfaces covered?
- Checklist?