General help page about Linux Virtual Machines in Azure:
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/
There are two ways to install Lucy in Azure:
On the Home page of your Azure portal click the "Virtual Machines" icon:
Press the "Add" button:
Configure new virtual machine. Key parameters is as follow:
Attention. Do not use an image with backports kernel.
Fill other required fields and press "Review + Create" button.
Wait until the virtual machine is completed (this may take several minutes).
Please refer to this guide for more information:
https://wiki.lucysecurity.com/doku.php?id=installing_lucy_on_linux
Connect to the server using SSH client (eg. Putty) and login as sudo:
Install system updates:
apt-get update && apt-get upgrade -y
Change the current directory to /srv and download the installation script “install.sh” from our download location:
cd /srv
wget http://download.phishing-server.com/dl/lucy-latest/install.sh
Create a directory to avoid the error during the installation:
mkdir -p /usr/lib/php/20160303
Execute installation script:
bash install.sh legacy
You will be asked if you want to install LUCY (Install LUCY (y/n)?). Please type “y” and press enter.
When the installation will be finished, the system will ask you to configure Lucy automatically (Use automatic configuration? Y or N (Y)). Please type “y” and press enter. You will be provided with access to the Admin Web Console:
This method requires to upload a ready-made Debian 9 operating system image to Azure. It can be done different ways: through Azure PowerSheel and AzCopy tool or GUI using Azure Storage Explorer. We'd prefer using a GUI.
Please find more details on this page.
lsblk -o NAME,HCTL,SIZE,MOUNTPOINT | grep -i "sd"
Here, sdc is the disk that we want. If you aren't sure which disk it is based on size alone, you can go to the VM page in the portal, select Disks, and check the LUN number for the disk under Data disks.
sudo apt-get install -y parted xfsprogs sudo parted /dev/sdc --script mklabel gpt mkpart xfspart xfs 0% 100% sudo mkfs.xfs /dev/sdc1 sudo partprobe /dev/sdc1
sudo mount /dev/sdc1 /opt
sudo blkid
sudo nano /etc/fstab
UUID=33333333-3b3b-3c3c-3d3d-3e3e3e3e3e3e /opt ext4 defaults,nofail 1 2
Please find more details on how to add disk to Linux on this page.
Please refer to this guide for more information.
cd /srv wget https://download.phishing-server.com/dl/lucy-latest/install.sh
bash install.sh legacy
In case you are planning to purchase LUCY or you are already a commercial client you can contact support@lucysecurity.com to open a ticket. We will get in touch with you within 24 hours.