Dionaea Honeypot on EC2 in 20 minutes
- Dionaea
- Ubuntu
This is a tutorial on setting up Dionaea on an EC2 instance. Amazon currently off a free EC2 Micro Instance so you should be able to do this too without any cost.
Pre-requisites
- Amazon AWS account
EC2 Server Set up for Dionaea
-
Sign in to your Amazon AWS console, choose the EC2 tab and choose a Region (I have chosen 'Ascia Pacific (Singapore)')
-
Push Launch Instance and choose Classic Wizard and push Continue
-
Click on the Community AMIs tab. Here you need a AMI for Ubuntu 10.04, these vary between AWS Regions. A list of AMIs is available here. Pick an AMI with root store 'ebs' and arch '32-bit'.
-
For Asia Pacific use the AMI ami-7289cd20 (Pick an AMI with root store 'ebs' and arch 32-bit), then push Select**
-
Make sure to change the Instance Type to Micro (from Small), otherwise you will be charged, and push Continue
-
Continue until you are prompted to Create a Key Pair, choose a name and Create and Download Your Key Pair (save this file somewhere safe for later), push Continue .
-
Choose to Create a New Security Group, for Create a new rule choose All TCP and Source choose 0.0.0.0/0. Enter whatever you like in Name/Description. Push Add Rule
-
Push Continue and then Launch
Your server has now been set up and will shortly launch. Note that you have allowed TCP access to all services on this machine so do not install anything that could be compromised. It's possible to tighten up that security but it's a little more complicated - perhaps a subject for a later blog post.
Setting up Dionaea on your EC2 Server
-
Find the address of your server by selecting it and choosing Instance Actions > Connect. Follow the instruction to connect to your server using the key you generated and downloaded earlier. Putty users may need to use puttygen to convert their key.
-
Once you're connected you can have Dionaea up and running in minutes by following this tutorial: /2012/02/quick-install-of-dionaea-on-ubuntu/
Comments !