This repository contains all the code realted to the implementation for HoneyEVSE.
-
Operating system: tested on ubuntu 18.04 and 20.04.
Currently, the Honeypot was tested on a non-server version since the HMI requires a browser to be visualized.
Furthermore, some scripts in the physical process span new terminals tabs with the command gnome-terminal. -
Python 3 for the HMI web app (installation included in the preconfigured script).
-
TimeMe.js library (https://github.com/jasonzissman/TimeMe.js/)
In order to install the hoenyport, clone this repo using the command:
git clone https://github.com/bianchitom/HoneyEVSE
Once done that, there is a helper script install.sh
that will install all the packages needed.
To run the honeypot you have to:
-
Get an API-KEY from the site of Caltech
-
Copy that API-KEY inside the Makefile at line 6
API-KEY = "YOUR API KEY"
-
Use
make evse
to generate the dotenv file, the charges and start the HMI -
From inside the repository, run:
sudo honeyd -d -p nmap-os-db -i INTERFACE -l honeyd.log -f honeyd.conf IP --disable-webserver
where IP is the same IP address of Honeyd configuration file and INTERFACE is the interface of the listening port. -
The host computer has to intercept the network traffic addressed to the Honeypot, to allow honeyd to reply correctly.
A useful tool that you can use to achieve this result is farpd:
sudo farpd -d -i INTERFACE <IP>
To check the correct functioning of HoneyEVSE, you can scan the IP from outside the Host machine with Nmap.
To do this, first install Nmap: sudo apt install nmap
.
You can use the file with scanners.sh
. You can launch it all together or just manually pick and run them.