A Flask-based web application to manage and monitor security on remote Linux servers via SSH from both Linux and Windows systems.

Clone the repository:
git clone https://github.com/KooshaYeganeh/Hermes.git
cd Hermes
Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate # Linux/MacOS
venv\Scripts\activate # Windows
Install dependencies:
pip install -r requirements.txt
Configure the application:
config.example.py to config.pyconfig.py with your SSH credentials and settingsEdit config.py with your specific settings:
# SSH Configuration
SSH_HOST = 'your.server.ip'
SSH_PORT = 22
SSH_USERNAME = 'your_username'
SSH_PASSWORD = 'your_password' # Or use SSH key
SSH_KEY = '/path/to/private/key' # Set to None if using password
# Security Tools Configuration
EDR_SCAN_PATHS = ['/bin', '/usr/bin', '/sbin', '/usr/sbin']
YARA_RULES_DIR = '/usr/local/share/yara-rules'
QUARANTINE_DIR = '/var/quarantine'
LOG_DIR = '/var/log/edr'
# Suricata Configuration
SURICATA_ENABLED = True
SURICATA_INTERFACE = 'eth0'
SURICATA_RULES_DIR = '/etc/suricata/rules'
SURICATA_LOGS = '/var/log/suricata'
SURICATA_DIR = '/etc/suricata'
# Fail2Ban Configuration
FAIL2BAN_ENABLED = True
FAIL2BAN_JAILS = ['ssh', 'apache', 'nginx']
Start the application:
python main_linux.py
Access the web interface at http://localhost:5005
Default credentials:
adminadmin (change immediately after first login)SSH Connection Issues:
Permission Errors:
Tool-Specific Issues:
Contributions are welcome! Please open an issue or pull request for any bugs or feature requests.
Content type
Image
Digest
sha256:b153830ce…
Size
409 MB
Last updated
12 months ago
docker pull kygnus/hermes