This is the official repository for the qrassh SSH and Telnet Honeypot effort.
Software required:
- Python 2.7+, (Python 3 not yet supported due to Twisted dependencies)
- python-virtualenv
For Python dependencies, see requirements.txt
qrassh.cfg
- Cowrie's configuration file. Default values can be found incowrie.cfg.dist
data/fs.pickle
- fake filesystemdata/userdb.txt
- credentials allowed or disallowed to access the honeypotdl/
- files transferred from the attacker to the honeypot are stored herehoneyfs/
- file contents for the fake filesystem - feel free to copy a real system here or usebin/fsctl
log/qrassh.json
- transaction output in JSON formatlog/qrassh.log
- log/debug outputlog/tty/*.log
- session logstxtcmds/
- file contents for the fake commandsbin/createfs
- used to create the fake filesystembin/playlog
- utility to replay session logs
bin/qrassh start
- start the serverbin/qrassh stop
- stop the server- Start client:
ssh root@localhost -p 2222
, input any pwd - Run playlog:
bin/playlog log/tty/[file_name]
- Setup mysql server and create one account
- Create database
qrassh
- Run all sql files in folder doc/sql
- Change mysql info in qrassh.cfg.dist, line 416
- Create virtual env:
virtualenv qrassh-env
if not installed yet - Init this env:
source qrassh-env/bin/activate
- Install python requirements:
pip install -r requirements.txt
- log
- log/tty
- Add action to playlog
- Add action mysql log
- Move all functions from rassh to qrassh