Skip to content

Phishing testing tool written in Python to test people awareness about phishing attacks

License

Notifications You must be signed in to change notification settings

adrisec/staff-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What's staff-tester project?

It's an open source social engineering tool to test employees knowledge about email-based phishing attacks.

You can create your own HTML templates to send to your employees (or your company employees if you are the information security manager) and know which ones are succesfully aware about this type of attacks and which ones may need more information about. You can cheat them with a phishing email created by yourself and not by any real criminal.

The basic use of it is, using an SMTP server, sending massively one email (using an HTML template to create it) to a list of target emails and then see which ones belives in the fake attack and which ones report it.

Supported platforms

  • Linux
  • Windows
  • Not tested in MAC OS X

Installation

Windows

Not developer:

If you are not developer, you can use the executable (.EXE) file by downloading it here. You only need to download the file and open it to use the tool.

Developer:

You need to have installed Python 3.0 or higher or higher and git

Run this commands:

	C:\User>git clone https://github.com/adrinavaas/staff-tester.git
	C:\User>cd staff-tester
	C:\User>python3 setup.py install
	C:\User>python3 staff-tester

Ubuntu/Debian

You need to have installed Python 3.0 or higher and git

Run this commands to install all basic requirements:

	$ apt-get install git
	$ apt-get install python3

Once installed, to install and run the GUI run this commands:

	$ git clone https://github.com/adrinavaas/staff-tester.git
	$ cd staff-tester
	$ python3 setup.py install
	$ python3 staff-tester

Try without installing

If you want to try this tool without installing it, you can enter in the staff-tester folder and run the main.py file.

Configuration parameters

To configure the target list add all the target emails (one per line)
You can use # to add one-line comment

How to create the email template?

To create a new template, use HTML format. You have one example template in templates directory. To manage email design, use html tags.
To add images, add them directly from internet (otherwise they are not going to be shown at the received email).
If you want to add any attachment to simulate an attack by an infected file, you can also change the name shown in the attachment in the main panel.

Customizing emails

To create a customized email, you can use the customizing feature. You can create customized emails for each target in the list by adding specific parameters as name or surname or any link (maybe to a PHP file hosted to know which ones has clicked on it?)

You can specify on the HTML template parameters by introducing them between brackets as at this example:

	<html>
  		<head></head>
  		<body>
    			<p>Hello [name]<br>
       			Here is the <a href="[link]">payement</a> you wanted.
    			</p>
  		</body>
	</html>

If you add customized parameters, you must add them in your target list by adding them in each line using this syntax: <parameter1_name>=<parameter2_value> <parameter2_name>=<parameter2_value> ...
You can follow this example (using the parameters used in the previous example)

	#Example target list file
	mail@example.com name=George link=http://mailtophpfile.com?id=1
	mail2@example.com name=Jane link=http://mailtophpfile.com?id=2
	mail3@example.com name=Jacques link=http://mailtophpfile.com?id=3
	mail4@example.com name=Jane link=http://mailtophpfile.com?id=4

Also if you add parameters, you must do it to every target added in your target list file.

SMTP Server

If you don't know how to use a SMTP server, you can try this tool by using the free Gmail SMTP server (check more info here)
If you have a corporative email, you can may use your own SMTP server. If you don't know how to do it, ask your hosting provider.
Otherwise, you can use any other SMTP services. A simple Google search can help you with this configuration.

Connection reminders

Staff-tester uses a TLS connection to the server. In the case that you have different alternatives(for example gmail SMTP uses different ports for TLS or SSL), you may need consider it.

Disclaimer

This tool is only for testing or learning purposes and it can only be used where strict consent has been given. Do not use this for any illegal purposes.
Use this tool by your own responsability.

Contributors

Adrian Navas <adrian dot navas dot ajenjo1@gmail dot com> (http://github.com/adrinavaas)

Special thanks

Icon made by Freepik from www.flaticon.com

About

Phishing testing tool written in Python to test people awareness about phishing attacks

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published