There are prerequisites that need to be set up in Gophish before launching the phishing campaign. These can be broadly divided into four important things to do before launching a successful campaign:
- Templates: Templates are a very crucial part of phishing; you must be able to create your own templates based on your game plan. The most commonly used templates are Office365, Webmail, and internal Facebook and Gmail login. Some of the templates can be found at https://github.com/PacktPublishing/Mastering-Kali-Linux-for-Advanced-Penetration-Testing-Third-Edition/tree/master/Chapter05
- Pages: The effectiveness of the phishing will always relate to how you redirect the victims to a legitimate website using the landing pages.
- Profiles: A profile is the place where you will have all the SMTP details and sender details; Gophish allows attackers to have multiple profiles defined, along with custom email headers.
- Users and groups: Upload single or bulk targeted victims email IDs with their first and last names. Gophish allows testers to create groups and import them in CSV format.
Once the templates, landing pages, users, and sending profiles are set, we are now set to launch the campaign, as shown in the following screenshot. Attackers can also set the date and time of phishing and set the group of target victims. Gophish also provides an option to test an email to see whether it was blocked or delivered straight to the target's inbox:
Once the campaign is successfully launched, pen testers can now monitor the entire campaign in full detail, as shown in the following screenshot: