SniperPhish (SP in short) is a phishing toolkit for pentester or security professionals to enhance user awareness by simulating real-world phishing attacks. SniperPhish helps to combine both phishing emails and phishing websites you created to centrally track user actions. The tool is designed in a view of performing professional phishing exercise and would be reminded to take prior permission from the targeted organization to avoid legal implications.
- Operating System: Windows or Linux. The macOS support is not verified.
- Web Server: Any web server supporting PHP v8.1 or higher (for SP<=2.0, minimum requirement is PHP v7.4).
- Database: MySQL
- Clone this repo or download the latest release
- Put the contents in your web root folder
- Open installation page http://localhost/install in your browser and follow the steps
- After installation, SniperPhish will redirect to login page http://localhost/spear
Default login - Username:
admin
Password:sniperphish
- Web tracker code generation - track your website visits and form submissions independently
- Tracks data from phishing website containing any number of pages
- Create and schedule Phishing mail campaigns
- Combine your phishing site with email campaign for centrally tracking
- An independent "Quick Tracker" module for quick tracking an email or web page visit
- Advance report generation - generate reports based on the tracking data you needed
- Mail campaigns with QR/Bar code support (both locally and remotely embedding in mails)
- Track phishing message replies
- Signed and encrypted mail support
- Advanced mail campaign customization – read receipt, TO/CC/BCC emails etc.
- Anti-flood control for emails
- Non-ASCII (Punycode transcription) support for email and domain
- Auto-renaming attachments on-the-fly
In short, we create web tracker -> Add the web tracker to the phishing website -> create mail campaign with a link pointing to the phishing website -> start mail campaign.
- Design your website in your favorite programming language. Make sure you provided unique "id" and "name" value for HTML fields such as text field, checkbox etc.
- Generate a web-tracker code
Web Tracker -> New Tracker
for your phishing site. The "Web Pages" tab lists the pages you want to track.- To track form submission data, provide the "id" or "name" values of HTML fields present in your phishing site form.
- Repeat above for each page in your phishing site which is required to track.
- From the final output, copy the generated JS link and place it in between <Head> and </Head> section of each website page. This JS script contains the tracking code.
- Finally, save the tracker created. Now the tracker is activated and listening in the background. Opening your phishing site pages or form submissions are tracked.
- Go to
Email Campaign -> User Group
and add target users - Go to
Email Campaign -> Sender List
and configure Mail server details - Go to
Email Campaign -> Email Template
and create mail template. Here, you can to link your phishing website based on the web tracker you created. For that, click onInsert
menu from email template editor and choseLink to Web Tracker
. Select your web tracker from the pop-up window and insert it. - Now go to
Email Campaign -> Campaign List -> New Mail Campaign
and select/fill the fields to create the campaign. - Start Mail campaign
Note: SniperPhish tracks your phishing website only if the page is called by appending rid
parameter (ie. ?rid={{RID}}
) at the end. For example opening http://yourphishingsite.com/login?rid=abcd
will be tracked, but not http://yourphishingsite.com/login
. Above 3rd step does this by default.
Go to Web-MailCamp Dashboard -> Select Campaign
. Then select the web tracker and email campaign you created.
- SniperPhish website: https://sniperphish.com/
- SniperPhish demo: https://demo.sniperphish.com/spear/
- SniperPhish documentation: https://docs.sniperphish.com/
Joseph Nygil (@j_nygil) and Sreehari Haridas (@sr33h4ri)
Join on our SniperPhish discord community to engage with us!
- Discord: https://sniperphish.com/discord/
- Subscribe: https://www.youtube.com/@sniperphish
If this project help you 'Phish', you can give me a cup of coffee :)