# SMS PHISHING HONEYNET INFRASTRUCTURE SET UP
## Architecture
The architecture diagram below illustrate how the honeynet data collection infrastructure is set up
## 0. Prerequisite
- Anyone with an intermediate understanding of Linux, NodeJS, and ReactJS can configure this infrastructure
- Make certain that the datetime (timestamp) on the Raspberry Pis, server, and personal machine are synchronized and set to the same timezone
- Gammu v1.41.0, Raspisms v3.5.4 and php v7.4.33. Note php versions above 7 are not compatible with the aforementioned Gammu and Raspisms versions
## 1. Requirements
### 1.1 Hardware
- Raspberry PI (Preferably raspberry pi 4)
- GSM Modem (Should be compatible with Gammu utility - See
wammu.eu for a list of Gammu comptible phones/GSM modems). In our experiment we used HSDPA Wireless Data Card (3G/4G Mobile Broadband Wireless USB Dongle)
- SIM Cards from relevant MNOs
- Micro SD Card with the Raspbian OS installed (Current OS is recommended)
- Ethernet cable for connecting to a network switch (You can alternatively enable WiFi on the Raspberry Pi)
### 1.2 Software
- RaspiSMS
- Gammu
- RPi Monitor
## 2. Establishing a Raspberry Pi as a dedicated mariadb server
### 2.1 Installing mariadb
- Install a 64-bit Raspberry PI OS using the Raspberry Pi Imager. Reference:
raspberrypi.com
- Perform update and upgrade of raspberry pi: `sudo apt update && sudo apt upgrade`
- Install the mariadb server: `sudo apt install mariadb-server`
- Configure and secure mariadb server: `sudo mariadb-secure-installation`
- NOTE: Read the instructions carefully and execute the following
- Switch to unix_socket authentication [Y/n] n
- Change the root password? [Y/n] Y
- Remove anonymous users? [Y/n] Y
- Disallow root login remotely? [Y/n] Y
- Remove test database and access to it? [Y/n] Y
- Reload privilege tables now? [Y/n] Y
- Change the `bind-address` to `0.0.0.0`: `sudo nano /etc/mysql/mariadb.conf.d/50 …