Skip to content

Social-Engineer Toolkit

75 commands

A framework for authorised social-engineering tests: credential-harvesting pages, phishing campaigns and payload delivery.

  • social engineering
  • phishing

Install Social-Engineer Toolkit

sudo apt install set

Toolkit Startup2

sudo setoolkit

Launches the Social Engineer Toolkit interactive console with root privileges.

seupdate

Updates the Social Engineer Toolkit to the latest version from the repository.

Configuration4

vi /etc/setoolkit/set.config

Opens the main configuration file to adjust Metasploit paths, email providers, and Apache settings.

METASPLOIT_PATH=/opt/metasploit/apps/pro/msf3

Manually sets the path to the Metasploit Framework if not detected automatically.

Link
SENDMAIL=ON

Enables Sendmail usage for spoofing emails instead of using a Gmail/SMTP relay.

Link
APACHE_SERVER=ON

Configures SET to use the system Apache server instead of the built-in Python Python web server.

Link

Menu Navigation3

1

Selects the 'Social-Engineering Attacks' menu, the core hub for most attack vectors.

Link
2

Selects 'Penetration Testing (Fast-Track)', focusing on exploit delivery rather than social engineering.

Link
3

Selects 'Third Party Modules', allowing access to addons like RATTE or remote administration tools.

Link

Social Engineering Attacks1

1 -> 1

Navigates to Spear-Phishing Attack Vectors for targeted email campaigns.

Link

Spear Phishing3

1 -> 1 -> 1

Initiates a Mass Email Attack using a predefined template or custom body.

Link
1 -> 1 -> 2

Starts a FileFormat Payload attack to create malicious attachments (PDF, Word) for emails.

Link
1 -> 1 -> 3

Launches a Social-Engineering Template attack to use pre-written credible email scenarios.

Link

Website Attack Vectors7

1 -> 2

Navigates to Website Attack Vectors where malicious links and site cloning tools reside.

Link
1 -> 2 -> 1

Selects the Java Applet Attack Method (Legacy) for testing outdated browser plugins.

Link
1 -> 2 -> 2

Selects the Metasploit Browser Exploit Method to host known browser vulnerabilities.

Link
1 -> 2 -> 4

Selects the Tabnabbing Attack Method which rewrites inactive browser tabs to a phishing page.

Link
1 -> 2 -> 5

Selects Web Jacking Attack Method to overlay a fake page over a legitimate URL via iframe.

Link
1 -> 2 -> 6

Selects Multi-Attack Web Method to combine multiple exploits (e.g., Harvester + Exploit) on one page.

Link
1 -> 2 -> 7

Selects HTA Attack Method to serve a malicious HTML Application file that executes PowerShell.

Link

Credential Harvester4

1 -> 2 -> 3

Selects the Credential Harvester Attack Method to capture usernames and passwords.

Link
1 -> 2 -> 3 -> 1

Uses Web Templates (Gmail, Facebook, etc.) for the Credential Harvester landing page.

Link
1 -> 2 -> 3 -> 2

Uses the Site Cloner to copy a live website's login page for credential harvesting.

Link
1 -> 2 -> 3 -> 3

Allows Custom Import of a locally saved index.html for a completely tailored harvester page.

Link

Infectious Media4

1 -> 3

Navigates to Infectious Media Generator to create malicious USB/CD/DVD autorun payloads.

Link
1 -> 3 -> 1

Generates a File-Format Exploit (e.g., PDF) and burns it to the media device.

Link
1 -> 3 -> 2

Generates a Standard Metasploit Executable (reverse_tcp) for the media device autorun.

Link
1 -> 3 -> 3

Burns a malicious ISO directly to a CD/DVD device.

Link

Payloads & Listeners4

1 -> 4

Navigates to Create a Payload and Listener to generate raw shellcode or binaries.

Link
1 -> 4 -> 1

Selects Windows Shell Reverse_TCP payload for a basic command line callback.

Link
1 -> 4 -> 2

Selects Windows Meterpreter Reverse_TCP payload for a full-featured Metasploit session.

Link
1 -> 4 -> 8

Selects Linux Shell Reverse_TCP payload for targeting Linux-based systems.

Link

Mass Mailer3

1 -> 5

Navigates to Mass Mailer Attack to send emails to a list of targets without a specific payload attachment.

Link
1 -> 5 -> 1

Starts an E-Mail Attack Mass Mailer targeting a single email address.

Link
1 -> 5 -> 2

Starts an E-Mail Attack Mass Mailer using a target list imported from a file.

Link

Arduino/Teensy3

1 -> 6

Navigates to Arduino-Based Attack Vector for programming malicious USB HID devices.

Link
1 -> 6 -> 1

Selects Powershell / HTTP Downloader for Teensy to fetch and execute payloads.

Link
1 -> 6 -> 4

Selects Peensy (Powershell SD Card) Attack to execute scripts stored on the device's storage.

Link

Wireless Attacks2

1 -> 7

Navigates to Wireless Access Point Attack Vector to create a rogue AP (requires dependencies).

Link
1 -> 7 -> 1

Starts the Rogue Access Point attack (requires Airbase-ng).

Link

QR Code Attacks2

1 -> 8

Navigates to QRCode Generator Attack Vector to create malicious QR codes.

Link
Enter URL: http://malicious.ip

Defines the URL the victim will be redirected to upon scanning the QR code.

Link

Powershell Attacks3

1 -> 9

Navigates to Powershell Attack Vectors to generate shellcode injection scripts.

Link
1 -> 9 -> 1

Selects Powershell Alphanumeric Shellcode Injector for bypassing simple filters.

Link
1 -> 9 -> 3

Selects Powershell Reverse TCP injection directly into memory.

Link

Third Party Modules2

1 -> 10

Navigates to Third Party Modules to access external tools integrated into SET.

Link
1 -> 10 -> 1

Launches the Google Analytics Attack to inject tracking code into cloned sites.

Link

Workflow: Site Cloning1

1 -> 2 -> 3 -> 2 -> IP Address -> URL

Complete sequence to clone a site: Select Attack -> Cred Harvester -> Cloner -> Set IP -> Set Target.

Link

Workflow: Spear Phishing1

1 -> 1 -> 1 -> 1 -> Target Email -> 1 -> Login

Sequence to send a single mass email: Spear Phish -> Mass Email -> Single Target -> Gmail -> Credentials.

Link

Fast-Track2

2 -> 1

Starts the Microsoft SQL Brute Forcer from the Pen Testing menu.

Link
2 -> 2

Starts the Custom Exploit menu for specific server-side vulnerabilities.

Link

Reporting1

Generating reports in XML/HTML

SET automatically saves credential harvester results to the ~/.set/reports/ directory.

Link

Cleanup1

99

Exits the Social Engineer Toolkit and performs necessary cleanup of temporary files.

Link

Automation3

seautomation

Starts the automation module to run SET non-interactively using a response file.

Link
nano my_set_script.ans

Creates an answer file for automation containing line-by-line menu selections.

Link
setoolkit my_set_script.ans

Runs setoolkit immediately feeding the answer file into the menu system.

Link

Post Exploitation2

sessions -i 1

Interacts with a successful session opened by a SET payload listener.

Link
sysinfo

Retrieves system information from the compromised host within a Meterpreter session.

Link

Blue Team Validation2

Check logs at /var/log/apache2/access.log

Verifies if the blue team detected the SET cloning activity via web server logs.

Link
Analyze generated .hta files

Inspects the HTA payloads generated by SET to write detection signatures.

Link

Advanced Config3

DIGITAL_SIGNATURE_STEAL=ON

Configures SET to attempt stealing a digital signature to sign malicious executables.

Link
UPX_ENCODE=ON

Enables UPX packing of payloads to attempt basic antivirus evasion.

Link
AUTO_MIGRATE=ON

Configures the Meterpreter payload to automatically migrate to a stable process upon execution.

Link

Module Updates1

4

Checks for updates to the Social Engineer Toolkit code and modules.

Link

Help & Credits1

6

Displays the help menu and credits for the toolkit developers.

Link

Payload Listener1

Stop listener? [yes/no]: no

Keeps the Metasploit listener running in the background to catch multiple shells.

Link

Email Templates1

Subject: Important Update

Sets the subject line during the creation of a custom email template.

Link

Spoofing1

Use open relay? [yes/no]: yes

Configures the mailer to use an open relay for sending spoofed emails.

Link

Payload Customization1

PORT of the listener: 443

Sets the listening port to 443 (HTTPS) to blend in with legitimate traffic.

Link

Dell DRAC1

1 -> 10 -> 2

Selects the Dell DRAC/Chassis Default Checker third-party module.

Link

Advanced Workflow1

1 -> 2 -> 6 -> (Select attacks)

Configures the Multi-Attack vector by sequentially selecting enabled exploits.

Link

SMS Spoofing1

1 -> 10 -> SMS

Attempts to use the legacy SMS spoofing module (availability depends on API gateways).

Link

Evidence Collection1

ls ~/.set/reports/

Lists the report files generated after a campaign for audit and review.

Link

Custom Exploit1

2 -> 2 -> 1

Runs a specific custom exploit against a target IP from the Fast-Track menu.

Link

System Cleanup1

rm -rf ~/.set

Manually removes the SET configuration and reports directory for a complete factory reset.

Link