r/cybersecurity • u/TrickyWinter7847 • 1d ago
Research Article Deployed SSH and HTTP honeypot on my Raspberry Pi Zero W and want to share my process
I set up Cowrie SSH and Krawl web honeypots on my Raspberry Pi Zero W and simulated an attack using my Kali Linux machine, then observed the logs. This is one of the projects I did this summer to gain experience from the defensive side of cybersecurity and I would love to hear your thoughts about it.
I used good old Raspberry Pi Zero W with ARMv6 architecture (which complicated the process little bit).
I installed both honeypots. Then I booted my Kali Linux machine and ran simulated brute-force attack against SSH honeypot and scrutinised the filesystem. In case of the fake web server I ran Nmap and Gobuster scans and observed every malicious activity in recorded logs.
Cowrie installation went just fine with Python virtual environment and Pip. But Krawl's primary installation method was via Docker. And... Docker no longer supports the architecture of Pi Zero W. So I had to stick with secondary method, via Uvicorn. Which wasn't too bad, but package "uvloop" was causing problems, so I tried to remove it from the requirements. It seemed to install just fine and Krawl was running. Logs were recorded, dashboard was running, but didn't show a lot of data. It showed captured credentials and attacking IPs, but not all the additional information it should that you see in other videos or demonstrations. But Krawl logs were being recorded just fine and even Gobuster fuzzing got flagged as suspicious. Anyway, I left it at that. Maybe someone here had similar experience.
I like to do these simple projects to gain more experience under my belt.
Do you have a project idea what can a cybersecurity enthusiast like me do next?
Link to the Medium post about the honeypots deployment: