Team Ai
Apppublic

DarkDriftz/Kali-Linux-Bleeding-Edge-MCP-Server

sourceHugging Facemitupdated 10mo agoView on Hugging Face
1likes
App README

๐Ÿ”ฅ DarkDriftz's Unified Bleeding Edge Kali Linux MCP Server

Version 4.0.0 - Complete Platform with Linux Sandbox & PowerShell Integration

Hugging Face Spaces + HuggingChat MCP Integration with Full Feature Parity


๐Ÿš€ NEW IN VERSION 4.0.0

๐Ÿง Linux Sandbox Execution Environment

Secure, isolated execution environment for running security tools safely with:

  • โ€”Namespace Isolation: User, PID, and Network namespace separation
  • โ€”Resource Limits: CPU, memory, and process restrictions
  • โ€”Whitelisted Tools: 30+ pre-approved security tools
  • โ€”Session Management: Create, manage, and destroy sandbox sessions
  • โ€”Automatic Cleanup: Session directories are purged on destruction

โšก PowerShell Core Integration

Cross-platform security automation with systemd service support:

  • โ€”5 Security Scripts: Vulnerability scanning, port scanning, network auditing, log analysis, compliance checking
  • โ€”Systemd Service: Generate production-ready systemd unit files
  • โ€”Resource Management: CPU and memory limits for script execution
  • โ€”Cross-Platform: Works on Windows, Linux, and macOS

๐Ÿ›ก๏ธ REVOLUTIONARY PLATFORM FEATURES

  • โ€”โœ… 793+ Cybersecurity Tools: Complete arsenal with bleeding edge enhancement
  • โ€”โœ… 150 Bleeding Edge Tools: Experimental security tools from dev repositories
  • โ€”โœ… Linux Sandbox: Secure isolated execution environment
  • โ€”โœ… PowerShell Integration: Cross-platform security automation
  • โ€”โœ… Unified Implementation: Single codebase for Gradio + MCP integration
  • โ€”โœ… Complete Feature Parity: Identical capabilities across all interfaces
  • โ€”โœ… MCP Protocol Compliance: Full MCP 2024-11-05 standard implementation
  • โ€”โœ… Real-time SSE Transport: Live communication with HuggingChat and MCP clients

๐Ÿง LINUX SANDBOX FEATURES

Sandbox Capabilities

python
SANDBOX_CONFIG = {
    "enabled": True,
    "default_timeout": 300,      # 5 minutes
    "max_timeout": 3600,         # 1 hour
    "resource_limits": {
        "max_memory_mb": 512,
        "max_cpu_percent": 50,
        "max_processes": 20,
        "max_file_size_mb": 100
    },
    "security": {
        "user_namespace": True,
        "pid_namespace": True,
        "network_namespace": True,
        "no_new_privileges": True
    }
}

Allowed Tools in Sandbox

text
nmap, nikto, dirb, gobuster, sqlmap, wpscan, hydra, john, hashcat,
aircrack-ng, wireshark-cli, tcpdump, netcat, curl, wget, whois, dig,
nslookup, traceroute, ping, arp-scan, masscan, enum4linux, smbclient,
rpcclient, crackmapexec, impacket-scripts

Usage Example

python
# Create sandbox session
session_id = sandbox_executor.create_session()

# Execute command in sandbox
result = await sandbox_executor.execute_command(
    session_id=session_id,
    command="nmap -sV -p 1-1000 localhost",
    timeout=300
)

# Destroy session when done
sandbox_executor.destroy_session(session_id)

โšก POWERSHELL INTEGRATION FEATURES

Security Scripts

ScriptDescription
Invoke-VulnerabilityScanMulti-phase vulnerability assessment
Invoke-PortScanMulti-threaded port scanning with runspaces
Invoke-NetworkAuditComprehensive network configuration audit
Invoke-LogAnalysisSecurity event log analysis with anomaly detection
Invoke-ComplianceCheckCIS/NIST/GDPR/PCI-DSS compliance verification

Systemd Service Integration

Generate production-ready systemd unit files for PowerShell services:

ini
[Unit]
Description=DarkDriftz PowerShell Security Service
After=network.target

[Service]
Type=simple
User=pwsh-worker
ExecStart=/usr/bin/pwsh -NoProfile -NoExit -Command "Start-Sleep -Seconds 86400"
Restart=on-failure

# Security hardening
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=true
PrivateTmp=true

# Resource limits
MemoryMax=1024M
CPUQuota=75%

[Install]
WantedBy=multi-user.target

Usage Example

python
# Execute security script
result = await powershell_engine.execute_script("""
    Invoke-NetworkAudit -IncludeServices
""")

# Generate systemd unit
unit_file = powershell_engine.generate_systemd_unit()

๐Ÿ“ก MCP INTEGRATION FEATURES

Available MCP Tools (7 Functions)

  1. 1.get_complete_kali_arsenal_info: Complete arsenal overview with sandbox/PowerShell status
  2. 2.get_kali_tool_category: Detailed category information
  3. 3.run_kali_security_scan: Bleeding edge security scanning
  4. 4.get_bleeding_edge_status: Repository status and capabilities
  5. 5.generate_kali_security_report: Professional security reporting
  6. 6.execute_sandbox_command: Execute commands in Linux sandbox
  7. 7.execute_powershell_script: Run PowerShell security scripts

HuggingChat Integration

javascript
// Add MCP server to HuggingChat
await client.addMcpServer({
    type: "sse",
    url: "https://your-space.hf.space/gradio_api/mcp/sse",
    name: "DarkDriftz Bleeding Edge Kali"
});

// Execute sandbox command
const scanResult = await client.callTool("execute_sandbox_command", {
    command: "nmap -sV localhost"
});

// Run PowerShell compliance check
const compliance = await client.callTool("execute_powershell_script", {
    script_name: "Invoke-ComplianceCheck",
    parameters: "-Framework CIS"
});

๐Ÿš€ DEPLOYMENT GUIDE

HuggingFace Spaces Deployment

bash
# 1. Create new Space on Hugging Face Hub
# 2. Upload these files:
app.py                    # Main application
requirements.txt          # Dependencies
README.md                 # This file

# 3. Configure Space settings:
# SDK: gradio
# SDK Version: 6.0.2
# Python version: 3.11+
# Hardware: CPU Basic (recommended)

# 4. Space auto-deploys with:
# - Gradio interface at: https://your-space.hf.space
# - MCP SSE endpoint: https://your-space.hf.space/gradio_api/mcp/sse
# - Health check: https://your-space.hf.space/health

Local Development

bash
# Install dependencies
pip install -r requirements.txt

# Install PowerShell Core (optional, for PowerShell features)
# Ubuntu/Debian:
sudo apt-get install powershell

# Run server
python app.py

# Access points:
# Gradio interface: http://localhost:7860
# MCP SSE endpoint: http://localhost:7860/gradio_api/mcp/sse

Docker Deployment

dockerfile
FROM python:3.11-slim

# Install PowerShell Core
RUN apt-get update && apt-get install -y wget apt-transport-https software-properties-common
RUN wget -q https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb
RUN dpkg -i packages-microsoft-prod.deb
RUN apt-get update && apt-get install -y powershell

WORKDIR /app
COPY . .

RUN pip install -r requirements.txt

EXPOSE 7860

CMD ["python", "app.py"]

๐Ÿ›ก๏ธ COMPLETE CYBERSECURITY ARSENAL

Arsenal Statistics

  • โ€”Standard Kali Tools: 643 from 13 specialized categories
  • โ€”Bleeding Edge Tools: 150 experimental security tools
  • โ€”Total Arsenal: 793 cybersecurity tools
  • โ€”MCP Tools: 7 comprehensive cybersecurity functions
  • โ€”Sandbox Tools: 30+ whitelisted security tools
  • โ€”PowerShell Scripts: 5 security automation scripts

Security Categories (All Bleeding Edge Enhanced)

  1. 1.Information Gathering (85 tools) - Advanced reconnaissance and OSINT
  2. 2.Vulnerability Analysis (62 tools) - AI-powered vulnerability scanning
  3. 3.Web Applications (58 tools) - Modern web security testing
  4. 4.Password Attacks (42 tools) - Next-generation cracking tools
  5. 5.Wireless Attacks (38 tools) - Advanced wireless security testing
  6. 6.Exploitation Tools (55 tools) - Latest exploitation frameworks
  7. 7.Forensics (48 tools) - Advanced digital forensics
  8. 8.Reverse Engineering (35 tools) - Complete analysis toolkit
  9. 9.Hardware Hacking (28 tools) - IoT and hardware security
  10. 10.Crypto & Stego (32 tools) - Cryptography and steganography
  11. 11.Reporting Tools (25 tools) - Professional security reporting
  12. 12.Social Engineering (22 tools) - OSINT and social engineering
  13. 13.Sniffing & Spoofing (31 tools) - Network analysis and manipulation

๐Ÿ”ฅ BLEEDING EDGE FEATURES

Experimental Capabilities

  • โ€”AI-Powered Security Analysis: Neural network threat detection
  • โ€”Quantum-Resistant Cryptography: Post-quantum security testing
  • โ€”Zero-Day Research Tools: Latest vulnerability discovery frameworks
  • โ€”Advanced Fuzzing: Machine learning guided input generation
  • โ€”Sandbox Execution: Isolated security tool testing
  • โ€”PowerShell Automation: Cross-platform security scripting

Auto-Update System

  • โ€”Frequency: Every 4 hours bleeding edge repository sync
  • โ€”Monitoring: Continuous experimental tool availability checking
  • โ€”Priority: High-priority access to latest security tools
  • โ€”Fallback: Automatic rollback on update failures

๐Ÿ›ก๏ธ ETHICAL USE GUIDELINES

โœ… AUTHORIZED USES

  • โ€”Penetration Testing: Authorized security assessments
  • โ€”Security Research: Academic and professional cybersecurity research
  • โ€”Education: Cybersecurity training and certification programs
  • โ€”Compliance: Regulatory security requirement validation
  • โ€”Incident Response: Digital forensics and threat analysis

โŒ PROHIBITED USES

  • โ€”Unauthorized Access: Testing systems without explicit permission
  • โ€”Malicious Attacks: Any illegal or harmful activities
  • โ€”Data Theft: Unauthorized data access or exfiltration
  • โ€”System Damage: Intentional disruption of services or systems
  • โ€”Privacy Violation: Unauthorized monitoring or surveillance

โšก QUICK START EXAMPLES

Sandbox Execution

python
# Via MCP
result = await client.callTool("execute_sandbox_command", {
    "command": "nmap -sV -p 22,80,443 target.com"
});

# Via Gradio interface
# 1. Go to "Linux Sandbox" tab
# 2. Click "Create Session"
# 3. Enter command and click "Execute"

PowerShell Security Scripts

python
# Via MCP
result = await client.callTool("execute_powershell_script", {
    "script_name": "Invoke-VulnerabilityScan",
    "parameters": "-Target example.com -ScanType Quick"
});

# Via Gradio interface
# 1. Go to "PowerShell Integration" tab
# 2. Select script from dropdown
# 3. Enter parameters and click "Execute"

๐Ÿ“Š PLATFORM SUMMARY

DarkDriftz's Unified Bleeding Edge Kali Linux MCP Server v4.0.0 represents the pinnacle of cybersecurity research platform development with:

๐ŸŽฏ Key Achievements

  • โ€”โœ… Complete Unification: Single codebase for multiple access methods
  • โ€”โœ… Feature Parity: Identical capabilities across all interfaces
  • โ€”โœ… Linux Sandbox: Secure isolated execution environment
  • โ€”โœ… PowerShell Integration: Cross-platform security automation
  • โ€”โœ… Bleeding Edge: 150 experimental tools with continuous updates
  • โ€”โœ… MCP Compliance: Full protocol implementation with SSE transport
  • โ€”โœ… Professional Quality: Enterprise-grade security research platform

๐Ÿš€ Platform Impact

This unified implementation sets a new standard for cybersecurity research platforms by combining:

  • โ€”Advanced tool integration with bleeding edge enhancement
  • โ€”Secure sandbox execution for safe tool testing
  • โ€”PowerShell automation for cross-platform security scripting
  • โ€”Complete MCP protocol compliance for AI integration
  • โ€”Unified architecture for consistent user experience

๐Ÿ”ฅ DarkDriftz - Pushing the Boundaries of Cybersecurity Research Excellence


๐Ÿ“ž SUPPORT

  • โ€”Platform Issues: Check HuggingFace Spaces logs
  • โ€”Tool Questions: Refer to individual tool documentation
  • โ€”MCP Integration: See MCP Protocol documentation
  • โ€”Feature Requests: Open an issue on the repository

Created by DarkDriftz | Version 4.0.0 | December 2025