Offensive Security Tool: SniperPhish

by | Sep 17, 2021 | Tools

Reading Time: 4 Minutes

Offensive Security Tool: SniperPhish

GitHub Link

 

 

SniperPhish

SniperPhish by GemGeorge is a new 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.

 

Basic Requirements

  • Operating System: Windows or Linux. The macOS support is not verified.
  • Web Server: Any web server supporting PHP with minimum v7.3 (well, you have Apache).
  • Database: MySQL

 

See Also: New malware uses Windows Subsystem for Linux for stealthy attacks

 

Installation

  1. Clone the repo or download the latest release
  2. Put the contents in your web root folder
  3. Open installation page http://localhost/install in your browser and follow the steps
  4. After installation, SniperPhish will redirect to login page http://localhost/spear

 

Default login – Username: admin Password: sniperphish

 

 

Updating/Upgrading

  1. 1st keep a backup of your existing /spear/db.php, /spear/uploads/, /spear/sniperhost/hf_files/ and /spear/sniperhost/ht_files/ folders.
  2. Then delete all your current SnipePhish files and replace with the new SniperPhish. You may clone the repo/unzip latest SniperPhish release to the same location.
  3. Now, re-add the files and folders you backed up at the 1st step to the same locations.

 

Above steps applies to the update of all SniperPhish v1.0+ to the latest release as of now. There are no changes to the database.

 

See Also: Hacking stories – The first botnet hijacker aka the Zombie King

 

Main Features

  • Web tracker code generation – track your website visits and form submissions independently
  • Tracks data from phishing website containg 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

 

 

 

Screenshots

 

 

Creating Web-Email Campaign – Quick Guide

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.

Creating a web tracker:

  1. 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.
  2. 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.

3. 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.

4. 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.

 

Creating an Email campaign:

  1. Go to Email Campaign ➡ User Group and add target users.
  2. Go to Email Campaign ➡ Sender List and configure Mail server details.
  3. 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 on Insert menu from email template editor and chose Link to Web Tracker. Select your web tracker from the pop-up window and insert it.
  4. Now go to Email Campaign ➡ Campaign List ➡ New Mail Campaign and select/fill the fields to create the campaign.
  5. Start Mail campaign

 

Note: SniperPhish tracks your phishing website only if the page is called by appending cid parameter (ie. ?cid={{CID}}) at the end. For example opening http://yourphishingsite.com/login?cid=abcd will be tracked, but not http://yourphishingsite.com/login. Above 3rd step does this by default.

 

Viewing combined Web-Email Result

Go to Web-MailCamp Dashboard ➡ Select Campaign. Then select the web tracker and email campaign you created.

 

See Also: Offensive Security Tool: Jenkins Attack Framework

Share This