Deprecated: Function get_magic_quotes_gpc() is deprecated in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 99

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 619

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1169

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176
8000 GitHub - cmndcntrlcyber/attack-node: An offensive operator client for the Attack Nexus
Nothing Special   »   [go: up one dir, main page]

Skip to content

cmndcntrlcyber/attack-node

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

53 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Attack Node ๐Ÿ”ฅ

A comprehensive red team operations management platform with AI integration, Docker-based security tools, and advanced analytics. Transform your security testing workflow with intelligent automation and seamless tool integration.

License Node.js React TypeScript

โœจ Features

๐ŸŽฏ Red Team Operations Management

  • Operation Planning: Organize and track red team engagements
  • Target Management: Centralized target tracking and documentation
  • Vulnerability Assessment: Comprehensive vulnerability tracking and reporting
  • Progress Monitoring: Real-time operation status and progress tracking

๐Ÿค– AI-Powered Intelligence

  • OpenAI Integration: Leverage GPT models for reconnaissance and analysis
  • Anthropic Claude: Advanced reasoning for complex security scenarios
  • Automated Reporting: AI-generated vulnerability reports and documentation
  • Intelligent Recommendations: AI-suggested attack vectors and methodologies

๐Ÿณ Docker-Based Security Tools

  • Kali Linux Environment: Fully containerized Kali Linux with VNC access
  • Burp Suite Professional: Integrated web application security testing
  • Tool Management: Easy deployment and management of security tools
  • Isolated Environments: Secure, isolated testing environments

๐Ÿ“Š Advanced Analytics

  • Dashboard Analytics: Real-time statistics and progress tracking
  • Vulnerability Trends: Historical data analysis and trend visualization
  • Performance Metrics: Operation efficiency and success rate tracking
  • Custom Reports: Detailed reporting and data export capabilities

๐Ÿ” Security & Authentication

  • Google OAuth Integration: Secure authentication with Google accounts
  • Session Management: Secure session handling and user management
  • Role-Based Access: Granular permission control
  • Audit Logging: Comprehensive activity logging and monitoring

๐Ÿš€ Quick Start

Prerequisites

  • Node.js 20.x or higher
  • PostgreSQL 15+
  • Docker & Docker Compose (optional, for security tools)
  • Git

Installation

Option 1: Quick Setup (Ubuntu 22.04)

git clone https://github.com/attck-nexus/attack-node.git
cd attack-node
chmod +x setup.sh
./setup.sh
npm run dev

Option 2: Manual Setup

  1. Clone the repository

    git clone https://github.com/attck-nexus/attack-node.git
    cd attack-node
  2. Install dependencies

    npm install
  3. Set up environment variables

    cp .env.example .env
    # Edit .env with your configuration
  4. Start services (Docker)

    npm run docker:dev
  5. Configure database

    npm run db:push
  6. Start the application

    npm run dev
  7. Access the application

    • Open your browser to http://localhost:5000
    • Default development user is automatically created

๐Ÿ“‹ Environment Configuration

Create a .env file in the root directory:

# Database Configuration
DATABASE_URL=postgresql://user:password@localhost:5432/attacknode

# Server Configuration
NODE_ENV=development
PORT=5000
SESSION_SECRET=your_secure_session_secret_here

# AI Integration
OPENAI_API_KEY=your_openai_api_key
ANTHROPIC_API_KEY=your_anthropic_api_key

# Google OAuth (Production)
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret

๐Ÿ› ๏ธ Technology Stack

Backend

  • Node.js - Runtime environment
  • Express.js - Web framework
  • TypeScript - Type safety
  • Drizzle ORM - Database ORM
  • PostgreSQL - Primary database
  • Passport.js - Authentication
  • Multer - File uploads
  • WebSocket - Real-time communication

Frontend

  • React 18 - UI framework
  • TypeScript - Type safety
  • Tailwind CSS - Styling
  • Radix UI - Component library
  • Tanstack Query - Data fetching
  • Wouter - Client-side routing
  • Framer Motion - Animations

AI & Integrations

  • OpenAI SDK - GPT model integration
  • Anthropic SDK - Claude model integration
  • Docker - Containerization
  • WebSocket - Real-time updates

๐Ÿ—๏ธ Project Structure

attack-node/
โ”œโ”€โ”€ client/                 # React frontend
โ”‚   โ”œโ”€โ”€ src/
โ”‚   โ”‚   โ”œโ”€โ”€ components/    # UI components
โ”‚   โ”‚   โ”œโ”€โ”€ pages/         # Page components
โ”‚   โ”‚   โ”œโ”€โ”€ hooks/         # Custom hooks
โ”‚   โ”‚   โ””โ”€โ”€ lib/          # Utilities
โ”œโ”€โ”€ server/                # Express backend
โ”‚   โ”œโ”€โ”€ services/         # Business logic
โ”‚   โ”œโ”€โ”€ routes.ts         # API routes
โ”‚   โ””โ”€โ”€ index.ts          # Server entry point
โ”œโ”€โ”€ shared/               # Shared types and schemas
โ”œโ”€โ”€ uploads/              # File uploads
โ””โ”€โ”€ public/              # Static assets

๐Ÿ”ง Available Scripts

# Development
npm run dev          # Start development server
npm run check        # TypeScript type checking

# Production
npm run build        # Build for production
npm run start        # Start production server

# Database
npm run db:push      # Push database schema changes

๐Ÿณ Docker Integration

Kali Linux Environment

Access Information:

  • URL: https://localhost:6902 (HTTPS required)
  • Username: kasm_user
  • Password: password
  • User Privileges: Root access enabled for full system control
  • SSL Certificate: Self-signed (accept browser security warning)

Features:

  • Persistent Storage: All files and configurations automatically saved
  • Root Access: Full administrative privileges for advanced operations
  • Shared Directory: Access to /home/kasm-user/shared for file transfers
  • Pre-installed Tools: Complete Kali Linux arsenal (Nmap, Metasploit, Burp Suite, etc.)

Getting Started:

  1. Start Kali Linux container from the Integrations tab or Kali Environment page
  2. Wait for container initialization (1-2 minutes for full setup)
  3. Navigate to https://localhost:6902 in your browser
  4. Accept the SSL certificate warning (click "Advanced" โ†’ "Proceed to localhost")
  5. Login with username kasm_user and password password
  6. Enjoy full Kali Linux desktop with root privileges and persistent storage

Data Persistence:

  • Home Directory: All user files persist between container restarts
  • Tool Configurations: Settings and preferences automatically saved
  • Downloads: Files downloaded remain available across sessions
  • Custom Scripts: Personal scripts and tools persist permanently
  • Storage Location: uploads/kasm_profiles/kali-root/ on host system

Troubleshooting:

  • HTTP 401 Error: Ensure you're using HTTPS (not HTTP) and correct credentials
  • Connection Refused: Verify container is running via Docker Dashboard
  • SSL Warning: Accept the self-signed certificate to proceed
  • Slow Loading: Allow 2-3 minutes for complete container initialization
  • Permission Issues: Container runs with root privileges for full access

Burp Suite Professional

Setup:

  1. Upload your Burp Suite Professional .jar file via the Burp Suite page
  2. Optionally upload your license file for full functionality
  3. Choose between GUI mode (VNC access) or headless mode (API only)
  4. Access via the application's integrated interface

Access Methods:

  • GUI Mode: Web-based VNC interface for full Burp Suite desktop
  • Headless Mode: API integration for automated scanning

## ๐Ÿค– AI Agent Configuration

### OpenAI Integration
1. Obtain OpenAI API key from [OpenAI Platform](https://platform.openai.com/)
2. Add to `.env` file: `OPENAI_API_KEY=your_key_here`
3. Configure in the AI Agents section

### Anthropic Claude
1. Get Anthropic API key from [Anthropic Console](https://console.anthropic.com/)
2. Add to `.env` file: `ANTHROPIC_API_KEY=your_key_here`
3. Configure in the AI Agents section

## ๐Ÿ“Š Dashboard Overview

The main dashboard provides:
- **Operation Statistics**: Active operations, vulnerabilities, and success metrics
- **AI Agent Status**: Real-time status of connected AI agents
- **Recent Activity**: Latest operations and findings
- **Vulnerability Trends**: Historical analysis and trending data
- **Quick Actions**: Rapid access to common tasks

## ๐Ÿ”’ Security Features

- **Secure Authentication**: Google OAuth integration with fallback
- **Session Management**: Secure session handling with PostgreSQL storage
- **File Upload Security**: Validated file uploads with size limits
- **Input Validation**: Comprehensive input validation using Zod
- **SQL Injection Prevention**: ORM-based queries with parameterization
- **XSS Protection**: Content Security Policy and input sanitization

## ๐Ÿ›ก๏ธ Best Practices

### Development
- Use TypeScript for type safety
- Follow React best practices
- Implement proper error handling
- Use environment variables for configuration
- Regular dependency updates

### Security
- Keep API keys secure
- Use strong session secrets
- Implement proper authentication
- Regular security audits
- Monitor for vulnerabilities

### Operations
- Regular database backups
- Monitor application logs
- Set up proper monitoring
- Use Docker for isolation
- Implement proper CI/CD

## ๐Ÿ“š Documentation

- [Deployment Guide](DEPLOYMENT_GUIDE.md) - Detailed deployment instructions
- [API Documentation](docs/api.md) - API endpoint documentation
- [Contributing Guide](CONTRIBUTING.md) - How to contribute to the project
- [Security Policy](SECURITY.md) - Security guidelines and reporting

## ๐Ÿค Contributing

We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details on:
- Code of conduct
- Development setup
- Pull request process
- Coding standards

## ๐Ÿ“ License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## ๐Ÿ†˜ Support

### Getting Help
- Check the [Deployment Guide](DEPLOYMENT_GUIDE.md) for setup issues
- Review the application logs for error details
- Ensure all environment variables are correctly set
- Verify database connectivity

### Common Issues
- **Database Connection**: Check PostgreSQL service and credentials
- **Port Conflicts**: Ensure port 5000 is available
- **AI Integration**: Verify API keys are valid and have sufficient credits
- **Docker Issues**: Ensure Docker daemon is running

### Community
- Create an issue for bug reports
- Submit feature requests via GitHub issues
- Join discussions in the repository

## ๐Ÿ”ฎ Roadmap

### Upcoming Features
- **Advanced Reporting**: Enhanced report generation and export
- **Team Collaboration**: Multi-user operations and collaboration
- **API Integrations**: Extended third-party tool integrations
- **Mobile App**: Mobile companion application
- **Cloud Deployment**: One-click cloud deployment options

### Future Enhancements
- **Machine Learning**: Predictive analytics and pattern recognition
- **Advanced AI**: Custom AI model training and deployment
- **Enterprise Features**: SSO, RBAC, and enterprise security
- **Plugin System**: Extensible plugin architecture

---

**Attack Node** - Empowering red team operations with intelligent automation and seamless tool integration.

*Built with โค๏ธ by the security community*

About

An offensive operator client for the Attack Nexus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 87.3%
  • Shell 5.8%
  • Python 3.5%
  • JavaScript 2.5%
  • CSS 0.5%
  • Dockerfile 0.2%
  • Other 0.2%
0