-
Notifications
You must be signed in to change notification settings - Fork 15
ShellSweepX ‐ Quick Start
Michael Haag edited this page Jul 23, 2024
·
1 revision
This guide will help you set up and run both the ShellSweepX server and client components quickly.
- Python 3.8+
- pip (Python package manager)
- Git
-
Clone the Repository
git clone https://github.com/splunk/shellsweep.git cd shellsweepx
-
Set Up a Virtual Environment
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install Dependencies
pip install -r requirements.txt
-
Start the Server
python run.py
-
Access the Web Interface
- Open a web browser and navigate to
http://localhost:8080
- Open a web browser and navigate to
-
Download Agent Scripts
- From the web interface, go to Agents page
- Download
shellsweep_agent.ps1
orshellsweep_scan.ps1
-
Download Agent Scripts
- From the web interface, go to Agents page
- Download
shellsweep_agent.py
andshellsweep_scan.sh
-
Set Up YARA Rules
- Go to Settings page in the web interface
- Add or import YARA rules for enhanced detection
-
Configure AI Integration
- In Settings, add your GPT or Claude API key
- Customize the AI prompt if needed
-
Adjust Agent Configuration
- On the Agents page, modify the scan paths and file extensions
- Click "Save Configuration" to update all connected agents
-
Manual Upload
- Go to Analysis page
- Use the file upload feature to scan individual files
-
Agent Scan
- Agents will automatically scan based on their configuration
- Results will appear in the Analysis page
-
View Results
- Check the Dashboard for an overview of detections
- Use the Analysis page to dive deep into individual files
- Trigger AI triage on suspicious files for in-depth analysis
- Ensure firewall allows communication on the configured port
- Check
logs/shellsweepx.log
for server-side issues - For agent issues, review the console output or local log files
- Set up regular agent scans using task scheduler (Windows) or cron (Linux)
- Integrate with your SIEM or ticketing system using the API endpoints
- Regularly update YARA rules and review AI triage prompts for optimal detection
For more detailed information, refer to the full documentation.