
Go 기반 도구로, RAKP 인증을 통해 IPMI 비밀번호 해시를 덤프하기 위해 CVE-2013-4786을 악용하며, IP 범위 또는 대상 파일의 동시 스캔을 지원합니다.

CosmicRakp는 Go로 작성된 강력한 도구로, 레드 팀원과 침투 테스터가 IPMI 해시를 덤프할 수 있도록 해줍니다. 이 프로젝트는 효율적이고 빠르며 사용하기 쉬운 것을 목표로 합니다.
이 도구는 CVE-2013-4786에 명시된 취약점을 악용합니다. 이 취약점은 인증되지 않은 사용자가 RAKP(Remote Authentication Key Protocol) 메커니즘을 통해 IPMI 장치에서 솔트 처리된 비밀번호 해시를 검색할 수 있게 합니다. 이는 'None' 인증을 허용하는 암호 제품군(cipher suite)으로 IPMI 2.0 RAKP 인증 프로세스를 시작하여 솔트 처리된 비밀번호 해시를 검색함으로써 달성됩니다.
./build.sh
❯ ./cosmicrakp -h
Usage of ./cosmicrakp:
-debug
enable debug mode
-max-attempts int
maximum number of attempts to open a session (default 3)
-mode string
mode of operation: 'range' or 'file' (default "range")
-output string
File to store output results (default "output.txt")
-range string
IP range for 'range' mode
-retry-delay duration
time to wait between retries (in seconds) (default 2s)
-targets string
target file for 'file' mode
-threads int
number of threads for concurrent execution (default 4)
-usernames string
File containing usernames to test (default "users.txt")
이 프로젝트는 CVE-2013-4786 악용을 위한 최초의(또는 최초 중 하나인) 개념 증명(PoC)에서 영감을 받아 그에 경의를 표합니다. 해당 PoC는 Dan Farmer가 개발했으며 Metasploit Framework의 일부입니다. 원본 코드는 여기에서 확인할 수 있습니다.
이 프로젝트는 MIT 라이선스를 사용합니다.