Deploying Dionaea on a Raspberry Pi

Jason Trost edited this page Feb 25, 2015 · 6 revisions

Deploying Dionaea on a Raspberry Pi using MHN

by nathanmyee

For questions regarding this article, please contact


  • Raspberry Pi (obviously!)
  • SD card (4GB or larger)
  • HDMI cable
  • Monitor with HDMI input
  • Ethernet cable
  • Router or switch with an Ethernet port
  • USB keyboard
  • USB mouse (optional)
  • Micro USB power adapter (at least 700mA at 5V)

Deployment Steps

Downloading Software

  1. Insert the SD card into the card reader.

  2. Format the SD card. We recommend using SD Formatter 4.0 which is compatible with a Mac or Windows computer. IMPORTANT: formatting the the SD card will remove all of the files currently on the SD card.

screen shot 2014-07-18 at 9 51 38 am

  1. Download NOOBS LITE, which will assist with the installation of Raspian. Extract the ZIP file by double-clicking on the ZIP file.

    Alternatively, run the following commands:
    curl -L '' >

screen shot 2014-07-18 at 9 52 48 am

  1. Copy the extracted files (approximately 23MB) to the SD card.

screen shot 2014-07-18 at 9 55 11 am

  1. Safely eject your SD card.

Installing Raspbian

  1. Plug the USB keyboard, HDMI monitor, and ethernet cable into the Raspberry Pi. (Note: the USB mouse is optional.)

  2. Plug the micro USB cable into the Raspberry Pi to power it on.

  3. Upon booting, you will see a list of operating systems. If you're using a mouse, check the box next to Raspbian [RECOMMENDED]. If you're using a keyboard, press the spacebar to select Raspbian [RECOMMENDED]. Click on the Install (i) icon or press the "i" key to install Raspbian.



  1. Click "Yes" or press "Enter" to confirm that all of the data will be overwritten on the SD card.


  1. Depending on the speed of your Internet connection and SD card, this process can take somewhere between 5 minutes to several hours, days or months.


  1. Click "Yes" or press "Enter" to confirm that the OS(es) installed successfully.


  1. Press the down arrow key once. 2 Change User Password should be highlighted. Press "Enter". Press "Enter" again to confirm that you will enter a new password.



  1. Type in your new password. (Note: even though you won't see anything, your password is still being entered.) Press "Enter" once you're done typing your password.


  1. Retype your password. Once you're done, press "Enter."


  1. Press "Enter" to confirm that you've successfully changed your password.


  1. Press the down arrow key until 8 Advanced Options is highlighted. Press "Enter." Press the down arrow key until A4 SSH is highlighted. Press "Enter."



  1. Press "Enter" to enable SSH access. Press "Enter" to confirm that SSH access has been enabled.



  1. Press the right arrow key twice. "Finish" should be highlighted. Press "Enter."


Installing Dionaea

  1. Run ifconfig and press "Enter." Look at the second line, which should look something like inet addr: Bcast: Mask: Take note of the IP address after inet addr.


  1. We're done with the Raspberry Pi for now. On your host machine with MHN installed, open a new terminal window and run ssh pi@{IP address from step 1}. In my case, I ran ssh pi@ You will receive a warning about the authenticity of the host. Type yes and press "Enter". This will only happen once since this is the first time that your host machine has SSH'ed into the Raspberry Pi.

screen shot 2014-07-18 at 10 43 21 am

  1. Type your password and press "Enter."

screen shot 2014-07-18 at 10 43 35 am

  1. Go to the MHN web interface. For example, if I followed this guide, I would type in into my web browser. Click on the "Deploy" tab and select "Raspberry Pi Dionaea" from the drop down menu.


  1. Copy the deploy command and run it in your terminal window. Since you're SSH'ed into your Raspberry Pi, you are executing this command on the Raspberry Pi. The script should take approximately 5-10 minutes to run.

screen shot 2014-07-18 at 11 08 40 am

screen shot 2014-07-18 at 11 09 05 am

  1. Once the script is done executing, click on the "Sensors" tab. If you see the Raspberry Pi in the list of sensors, you've successfully deployed your Raspberry Pi as a Dionaea honeypot. Congratulations!

screen shot 2014-07-18 at 11 39 27 am

screen shot 2014-07-18 at 11 40 00 am


  • The steps for installing Dionaea on the Raspberry Pi can be found on this blog post.
  • If you're deploying on an internal network, please follow our guide.