Communitygithub.com

厚客户端セキュリティテスト

認可されたセキュリティテストにおいて、デスクトップ厚クライアントのローカルストレージ、更新チャネル、IPC、トラフィック、クライアント側トラストバウンダリを調査するためのスキルです。

厚客户端セキュリティテスト とは?

このスキルは、セキュリティ研究者やペネトレーションテスターが、デスクトップ厚クライアント(Windows/macOS/LinuxのGUIアプリケーションやサービス連携型クライアント)のセキュリティテストを体系的に実施するための包括的なガイドを提供します。主な対象は、C/Sアーキテクチャのクライアント、Electron、Qt、.NET WinForms/WPFアプリケーションです。テストでは、まずプロセスツリーやローカルパスなどを調査して信頼境界を定義し、次にローカル攻撃面(平文設定、ハードコードされた鍵、DLLハイジャック、IPC認証など)とネットワーク面(プロキシ、TLSピンニング、API権限昇格など)を検証します。最後に、.NET、ネイティブ、Electronアプリケーションのリバースエンジニアリングを通じて、クライアント側のチェックバイパスを確認します。このアプローチは、コード署名検証や自動更新チャネルの安全性評価にも応用でき、Burp Suite、Process Monitor、dnSpy、IDAなどのツールチェーンを活用します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/zhaoxuya520/reverse-skill/tree/main/skills/thick-client

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

厚クライアントセキュリティテスト

必須アクション(読み終わったらすぐに実行)

  1. NOW: ../field-journal/precedent-pentest.md を読み込む
  2. NOW: 対象が デスクトップ厚クライアント(Win/macOS/Linux GUI またはサービス連携)であることを確認し、純粋なWebではないことを確認する
  3. NOW: case-init を実行する。インストールパッケージの入手元とテストアカウントの情報をスコープに書き込む
  4. NEXT: ツール(Burp アップストリームプロキシ、プロセスモニタリング、リバースエンジニアリングツール)を準備する
  5. ACT: 信頼境界図を作成 → ローカル面 → ネットワーク面 → 更新/サプライチェーンの順にテストする

適用シナリオ

  • C/S アーキテクチャのクライアント、Electron/Qt/.NET WinForms/WPF アプリケーション
  • ローカル設定/資格情報ストレージ、IPC、名前付きパイプ
  • クライアント側強制チェックのバイパス調査(認可済み)
  • 自動更新チャネルとコード署名検証のテスト

ワークフロー

1. 境界の定義

□ プロセスツリー、子プロセス、ドライバ/サービス
□ リッスンポートと送信先ドメイン
□ ローカルセンシティブパス:%APPDATA%、Keychain、レジストリ

2. ローカル攻撃面

□ 平文設定、ハードコードされた鍵、デバッグスイッチ
□ DLL ハイジャック/検索順序(Windows)
□ データベースファイル(SQLite)の権限と暗号化
□ IPC:誰が接続可能か?認証は行われているか?

3. ネットワーク面

□ システムプロキシ / アプリケーション独自のTLS設定
□ 証明書ピンニング → モバイル/JS 方法論または Frida と組み合わせる
□ API 権限昇格:クライアント側で隠された管理インターフェース

4. リバースエンジニアリング検証

□ .NET → dotnet-reverse を使用。ネイティブ → IDA/Ghidra を使用。Electron → asar + js-reverse を使用。

ツールチェーン

ツール用途
Process Monitor / API Monitor動作監視
Burp / mitmproxyトラフィック分析
dnSpy / IDA / Ghidraリバースエンジニアリング
SysinternalsWindows 面の調査
asar / nexe 検出ツールElectron アプリの抽出

参考資料

  • references/thick-client-checklist.md
  • ../dotnet-reverse/ ../ida-reverse/ ../js-reverse/ ../api-security/

ルーティングコンテキスト

上流: MASTER R32
下流: 純粋プロトコル分析 protocol-reverse;サプライチェーン更新 supply-chain-security

タスク完了セルフチェック

  • 信頼境界を描きましたか?
  • ローカル面とネットワーク面の両方をカバーしましたか?
  • チェックリストを確認しましたか?

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

api-security

Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication, authorization, rate-limit, and CI/CD testing.

apk-reverse

在 CLI 环境下做 Android APK 逆向时使用。适用于 APK 解包、Java 反编译、smali 修改、重打包、Frida 动态 Hook,以及按需切换到 so/native 分析。优先使用本机已安装的 jadx、apktool、frida、adb、ida-reverse、radare2。

attack-chain

Use for authorized multi-stage attack-path planning and orchestration when a task spans reconnaissance, initial access, privilege escalation, lateral movement, or impact assessment. Route single-stage tasks directly to their specialist skill.

binary-diff

|

binary-ninja-reverse

Use for authorized binary analysis in Binary Ninja, including HLIL/MLIL/LLIL inspection, strings/imports/exports, cross-references, types, patch review, Python API automation, and optional Binary Ninja MCP or localhost HTTP integration.

browser-automation

|

browser-extension-reverse

Use for authorized reverse engineering of browser extensions (Chrome/Firefox) including manifest analysis, background workers, and extension-based credential or traffic logic recovery.

case-review

Reviews a reverse-skill case package for scope readiness, Evidence to Finding to Path traceability, work item coverage, timeline references, and optional artifact hash integrity before report handoff.

cloud-k8s

Use for authorized cloud, container, and Kubernetes security assessment including metadata SSRF, IAM misconfig, container escape paths, and cluster RBAC review.

code-audit

Use for authorized source-code security review and SAST workflows including Semgrep, CodeQL patterns, dangerous API hunting, and fix verification.

ctf-sandbox

Thin PRIMARY for CTF / AWD / 靶场 multi-type orchestration. Hands off to the sidecar CTF-Sandbox-Orchestrator. Use when the user says CTF, AWD, 靶场, or 比赛题 and no more specific pwn/APK/IDA route already won.

database-security

Use for authorized database security assessment covering PostgreSQL/MySQL/MSSQL/Mongo/Redis exposure, authz, UDF/command paths, and misconfiguration review.

diagram-generator

generate, refine, validate, and render diagrams from natural language, notes, code snippets, schemas, tables, or existing diagram source. use for flowcharts, swimlanes, sequence diagrams, state diagrams, er diagrams, class diagrams, architecture/c4-style diagrams, dependency graphs, gantt charts, mind maps, user journeys, sankey-style flows, org charts, network graphs, and other visual models. supports mermaid by default, graphviz dot for complex graph layout, plantuml for uml-heavy engineering diagrams, and svg output when direct markup is more reliable.

digital-forensics

Use for authorized digital forensics including memory dumps, disk timelines, PCAP investigation, artifact triage, and IR evidence preservation.

docs-generator

|

dotnet-reverse

.NET / C# 二进制逆向。当目标是 .NET assembly(PE 头含 CLR、.exe/.dll 托管程序)、C# 编译产物(含 NativeAOT)、红队 Sharp* 工具(Rubeus / SharpHound / SharpHound 等)、.NET 混淆程序(ConfuserEx / SmartAssembly / Babel / Eazfuscator)、.NET loader / info-stealer / 套壳 malware 时使用。优先用 dnSpyEx + de4dot,需要 AI 直接操作时联动 dnSpy MCP。不用于纯 native 二进制(走 reverse-engineering / ida-reverse)。

edr-bypass-re

|

email-security

Use for authorized email security review including phishing analysis, header authentication (SPF/DKIM/DMARC), BEC patterns, and mailbox token abuse research.

firmware-pentest

|

ghidra-reverse

Use for free/open reverse engineering with Ghidra (headless or GUI), including decompile, cross-refs, and optional Ghidra MCP workflows when IDA is unavailable.

関連スキル