This script attempts to connect to an SSH host and test many commands and files to compare to a default Cowrie installation. For everything it finds, a score is assigned. The maximum score is 100%.
0% - - - - - - - - - 50% - - - - - - - - - 100%
Real System Custom Cowrie Default Cowrie
- Python 3
- Paramiko python 3 module (pip3 install paramiko)
- Nmap
- Nmap python 3 module (pip3 install python3-nmap)
./cowrie_detect.py <host> [options]
Required:
host IP Address or domain of host to connect to
Options:
-u, --username: USERNAME Connect with a specific username
-p, --password: PASSWORD Connect with a specific password
--port: PORT Connect with a specific port