A python program with help of respective Python libraries can behave/respond like a server. This kind of code can be modified and deployed as a custom honeypot to lure the attackers. In this section, the labs cover the emulation of SSH, HTTP, and FTP servers. In each lab the user is provided with skeleton code in IDE and terminal access to a Kali machine, the user can run the code to deploy the server and then interact with it using the Kali attacker machine.


What will you learn?


  • Server emulation using various Python libraries


References:


  1. Twisted library  (https://github.com/twisted/twisted)


Labs Covered:


  • Server Emulation Lab Warmup

    In this lab, you will learn to create a basic HTTP server, deploy it and then interact with it using a Kali machine. This is a warm-up lab for this section. 


  • SSH Server Emulation

    In this lab, you will learn to modify the provided skeleton code to deploy an SSH honeypot and then use the provided Kali machine to interact with it. Python twisted library is used in the program.


  • FTP Server Emulation

    In this lab, you will learn to modify the provided skeleton code to deploy an FTP honeypot and then use the provided Kali machine to interact with it. Python twisted library is used in the program.


  • HTTP Server Emulation

    In this lab, you will learn to modify the provided skeleton code to deploy an HTTP honeypot and then use the provided Kali machine to interact with it. Python twisted library is used in the program.

User Avatar

Server Emulation Lab Warmup

User Avatar

SSH Server Emulation

User Avatar

FTP Server Emulation

User Avatar

HTTP Server Emulation