> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/ja/post-exploitation.md).

# ポストエクスプロイト

ファイル転送、ポートフォワーディング、ピボット、シェルのアップグレード、制限付きシェルからの脱出、認証情報アーティファクト、PowerShell 履歴、KeePass メモリダンプ、Firefox プロファイル、

初期アクセス後の作業に関する運用メモ: シェルの安定化、ファイル転送、内部ネットワーク経由のピボット、許可された永続化の確認、有用な成果物の回収、再現性を損なわずに証拠を記録する。

## ポストエクスプロイテーション手法

<table data-view="cards" data-full-width="false" data-search="false"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h3><i class="fa-folder-tree" style="color:$primary;">:folder-tree:</i></h3></td><td><h4>ポートフォワーディング手法</h4></td><td>SSH、chisel、socat、ligolo-ng、Meterpreter、および Windows ツールを使用して、侵害したホストを経由してピボットするためのポートフォワーディング手法。</td><td><a href="/ja/post-exploitation/port-forwarding-techniques.md">ポートフォワーディング技術</a></td></tr><tr><td><h3><i class="fa-folder-tree" style="color:$primary;">:folder-tree:</i></h3></td><td><h4>ファイル転送</h4></td><td>HTTP、SMB、Netcat、PowerShell、SCP、certutil、wget、curl を使ってペイロードと証拠を移動するための、ペンテスト向けファイル転送チートシート。</td><td><a href="/ja/post-exploitation/file-transfer.md">ファイル転送</a></td></tr><tr><td><h3><i class="fa-rotate" style="color:$primary;">:rotate:</i></h3></td><td><h4>Linux の永続化</h4></td><td>ユーザーアカウント、SSH キー、cron ジョブ、起動スクリプト、Web アクセスの検証、レポート作成、クリーンアップに関する、許可された Linux 永続化のメモ。</td><td><a href="/ja/post-exploitation/linux-persistence.md">Linux 永続化</a></td></tr><tr><td><h3><i class="fa-key" style="color:$primary;">:key:</i></h3></td><td><h4>パスワードなしで Linux を起動する</h4></td><td>GRUB エントリの編集、root シェルへのドロップ、ファイルシステムの再マウント、許可されたラボ環境でのアクセス回復に関する Linux 起動時パスワードリセットのメモ。</td><td><a href="/ja/post-exploitation/boot-linux-without-password.md">パスワードなしで Linux を起動する</a></td></tr><tr><td><h3><i class="fa-folder-tree" style="color:$primary;">:folder-tree:</i></h3></td><td><h4>Linux の非対話型シェルのアップグレード</h4></td><td>Python、script、stty、rlwrap、socat、および端末環境の修正を使って非対話型シェルをアップグレードするための Linux TTY 安定化ガイド。</td><td><a href="/ja/post-exploitation/linux-upgrading-non-interactive-shells.md">Linux の非対話型シェルをアップグレードする</a></td></tr><tr><td><h3><i class="fa-terminal" style="color:$primary;">:terminal:</i></h3></td><td><h4>RBash から通常の Bash へ脱出する</h4></td><td>rbash の制限を回避し、コマンド実行を回復し、PATH の問題を修正し、通常の Linux シェルへアップグレードするための制限付き Bash 脱出メモ。</td><td><a href="/ja/post-exploitation/escaping-rbash-to-normal-bash-linux.md">RBash を通常の Bash に脱出する</a></td></tr><tr><td><h3><i class="fa-python" style="color:$primary;">:python:</i></h3></td><td><h4>Python から通常の Bash へ脱出する</h4></td><td>Python に制限されたシェルから脱出し、対話型 Bash を起動し、TTY セッションを安定化させ、ポストエクスプロイテーション時の使いやすさを向上させるための Linux シェルアップグレードのメモ。</td><td><a href="/ja/post-exploitation/escaping-python-to-normal-bash-linux.md">Python から通常の Bash に脱出する</a></td></tr><tr><td><h3><i class="fa-server" style="color:$primary;">:server:</i></h3></td><td><h4>PowerShell で履歴を表示する</h4></td><td>PSReadLine のコマンド履歴を見つけ、実行済みコマンドを監査し、有用な Windows ポストエクスプロイテーションの手がかりを抽出するための PowerShell 履歴確認メモ。</td><td><a href="/ja/post-exploitation/view-history-on-powershell.md">PowerShell で履歴を表示する</a></td></tr><tr><td><h3><i class="fa-folder-tree" style="color:$primary;">:folder-tree:</i></h3></td><td><h4>代替データストリーム（ADS）</h4></td><td>NTFS ファイル内にデータを隠し、ストリームを見つけ、内容を抽出し、ペンテスト中にフォレンジック証拠を検証するための Windows の代替データストリーム（ADS）のメモ。</td><td><a href="/ja/post-exploitation/alternate-data-streams-ads.md">代替データストリーム (ADS)</a></td></tr><tr><td><h3><i class="fa-key" style="color:$primary;">:key:</i></h3></td><td><h4>KeePass メモリダンプ（.mdp）</h4></td><td>プロセスメモリからパスワード候補を抽出し、.mdp アーティファクトを扱い、回収した認証情報を安全に検証するための KeePass メモリダンプのメモ。</td><td><a href="/ja/post-exploitation/keepass-memory-dump-.mdp.md">KeePass メモリダンプ (.mdp)</a></td></tr><tr><td><h3><i class="fa-key" style="color:$primary;">:key:</i></h3></td><td><h4>Firefox プロファイルの認証情報を抽出する</h4></td><td>ブラウザのプロファイルを見つけ、保存されたログイン情報を回収し、キー データベースを扱い、露出したユーザー秘密情報を監査するための Firefox 認証情報抽出メモ。</td><td><a href="/ja/post-exploitation/extracting-credentials-from-firefox-profile.md">Firefox プロファイルの認証情報を抽出する</a></td></tr><tr><td><h3><i class="fa-firefox-browser" style="color:$primary;">:firefox-browser:</i></h3></td><td><h4>Firefoxメモリダンプからの認証情報復元</h4></td><td>ProcDump でメモリを取得し、認証アーティファクトを調査し、許可された評価中に回収したアクセス権を安全に検証して、稼働中の Firefox プロセスから認証情報を回収するメモ。</td><td><a href="/ja/post-exploitation/firefox-memory-dump-credential-recovery.md">Firefox メモリダンプによる認証情報回復</a></td></tr><tr><td><h3><i class="fa-terminal" style="color:$primary;">:terminal:</i></h3></td><td><h4>PuTTY キーを OpenSSH に変換する</h4></td><td>PPK のエクスポート、秘密鍵形式の変更、SSH 認証、鍵ベースのアクセスのトラブルシューティングを含む、PuTTY から OpenSSH への鍵変換ガイド。</td><td><a href="/ja/post-exploitation/convert-putty-key-to-openssh.md">PuTTY キーを OpenSSH に変換する</a></td></tr><tr><td><h3><i class="fa-check-to-slot" style="color:$primary;">:check-to-slot:</i></h3></td><td><h4>Windows のピボット（PowerShell）</h4></td><td>ポートフォワーディング、トラフィックのプロキシ、侵害されたホストを経由したトンネル作成、内部ネットワーク到達性のテストに関する Windows PowerShell のピボットメモ。</td><td><a href="/ja/post-exploitation/pivoting-windows-powershell.md">Windows ピボット（PowerShell）</a></td></tr><tr><td><h3><i class="fa-check-to-slot" style="color:$primary;">:check-to-slot:</i></h3></td><td><h4>ピボット用ポートフォワーディング（5985 WinRM）</h4></td><td>リモート管理トラフィックの転送、内部 Windows サービスへの到達、ラテラルムーブメント経路の検証に関する WinRM 5985 のピボットメモ。</td><td><a href="/ja/post-exploitation/pivoting-port-forwarding-5985-winrm.md">ピボット用ポートフォワーディング（5985 WinRM）</a></td></tr><tr><td><h3><i class="fa-terminal" style="color:$primary;">:terminal:</i></h3></td><td><strong>Firefoxメモリダンプからの認証情報復元</strong></td><td>ProcDump でメモリを取得し、認証アーティファクトを確認し、回収したアクセス権を安全に検証することで、稼働中の Firefox プロセスから認証情報を回復する。</td><td><a href="/ja/post-exploitation/firefox-memory-dump-credential-recovery.md">Firefox メモリダンプによる認証情報回復</a></td></tr></tbody></table>

### ワークフロー

1. まずアクセスを安定化する: シェルをアップグレードし、環境情報を確認し、信頼できるファイル転送を準備する。
2. ツールと証拠は慎重に移動し、コマンド履歴とタイムスタンプがレポート作成に役立つようにする。
3. 到達可能な内部サービスをマッピングしてから、ピボットまたはポートフォワーディングを確立する。
4. 永続化は明示的に許可された場合のみ検証し、クリーンアップ用コマンドは証拠の近くに置いておく。
5. 履歴、メモリダンプ、ブラウザプロファイル、キー ファイル、ADS などの認証情報アーティファクトを確認する。
6. 再現性のために、正確なコマンド、パス、ポート、認証情報、スクリーンショットを記録する。

## ナビゲーションガイド

* 使用する [ファイル転送](/ja/post-exploitation/file-transfer.md) 限定された足掛かりを得た直後に、シェルのアップグレードページを確認する。
* 使用する [Linux の永続化](/ja/post-exploitation/linux-persistence.md) 演習で繰り返し可能なアクセス検証が許可されている場合に。
* 使用する [ポートフォワーディング手法](/ja/post-exploitation/port-forwarding-techniques.md) 内部サービスに直接到達できない場合は、ピボットページとポートフォワーディングページを使用する。
* 成果物に焦点を当てたポストエクスプロイテーションの確認には、PowerShell、KeePass、Firefox、PuTTY、ADS の各ページを使用する。
* 使用する [パスワードなしで Linux を起動する](/ja/post-exploitation/boot-linux-without-password.md) ローカルアクセス回復の練習用に。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://hacking-notes.jord4n.pro/ja/post-exploitation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
