{"tool":"setoolkit","name":"Social-Engineer Toolkit","description":"A framework for authorised social-engineering tests: credential-harvesting pages, phishing campaigns and payload delivery.","tags":["social engineering","phishing"],"homepage":"https://github.com/trustedsec/social-engineer-toolkit","docs":"https://github.com/trustedsec/social-engineer-toolkit#readme","install":{"apt":"sudo apt install set"},"related":["msfvenom","metasploit"],"total_commands":75,"commands":[{"id":1,"category":"Toolkit Startup","command":"sudo setoolkit","example":"sudo setoolkit","explanation":"Launches the Social Engineer Toolkit interactive console with root privileges."},{"id":2,"category":"Toolkit Startup","command":"seupdate","example":"seupdate","explanation":"Updates the Social Engineer Toolkit to the latest version from the repository."},{"id":3,"category":"Configuration","command":"vi /etc/setoolkit/set.config","example":"vi /etc/setoolkit/set.config","explanation":"Opens the main configuration file to adjust Metasploit paths, email providers, and Apache settings."},{"id":4,"category":"Configuration","command":"METASPLOIT_PATH=/opt/metasploit/apps/pro/msf3","example":"Edit inside set.config","explanation":"Manually sets the path to the Metasploit Framework if not detected automatically."},{"id":5,"category":"Configuration","command":"SENDMAIL=ON","example":"Edit inside set.config","explanation":"Enables Sendmail usage for spoofing emails instead of using a Gmail/SMTP relay."},{"id":6,"category":"Configuration","command":"APACHE_SERVER=ON","example":"Edit inside set.config","explanation":"Configures SET to use the system Apache server instead of the built-in Python Python web server."},{"id":7,"category":"Menu Navigation","command":"1","example":"Menu Selection: 1","explanation":"Selects the 'Social-Engineering Attacks' menu, the core hub for most attack vectors."},{"id":8,"category":"Menu Navigation","command":"2","example":"Menu Selection: 2","explanation":"Selects 'Penetration Testing (Fast-Track)', focusing on exploit delivery rather than social engineering."},{"id":9,"category":"Menu Navigation","command":"3","example":"Menu Selection: 3","explanation":"Selects 'Third Party Modules', allowing access to addons like RATTE or remote administration tools."},{"id":10,"category":"Social Engineering Attacks","command":"1 -> 1","example":"Menu Selection: 1 -> 1","explanation":"Navigates to Spear-Phishing Attack Vectors for targeted email campaigns."},{"id":11,"category":"Spear Phishing","command":"1 -> 1 -> 1","example":"Menu Selection: 1 -> 1 -> 1","explanation":"Initiates a Mass Email Attack using a predefined template or custom body."},{"id":12,"category":"Spear Phishing","command":"1 -> 1 -> 2","example":"Menu Selection: 1 -> 1 -> 2","explanation":"Starts a FileFormat Payload attack to create malicious attachments (PDF, Word) for emails."},{"id":13,"category":"Spear Phishing","command":"1 -> 1 -> 3","example":"Menu Selection: 1 -> 1 -> 3","explanation":"Launches a Social-Engineering Template attack to use pre-written credible email scenarios."},{"id":14,"category":"Website Attack Vectors","command":"1 -> 2","example":"Menu Selection: 1 -> 2","explanation":"Navigates to Website Attack Vectors where malicious links and site cloning tools reside."},{"id":15,"category":"Website Attack Vectors","command":"1 -> 2 -> 1","example":"Menu Selection: 1 -> 2 -> 1","explanation":"Selects the Java Applet Attack Method (Legacy) for testing outdated browser plugins."},{"id":16,"category":"Website Attack Vectors","command":"1 -> 2 -> 2","example":"Menu Selection: 1 -> 2 -> 2","explanation":"Selects the Metasploit Browser Exploit Method to host known browser vulnerabilities."},{"id":17,"category":"Credential Harvester","command":"1 -> 2 -> 3","example":"Menu Selection: 1 -> 2 -> 3","explanation":"Selects the Credential Harvester Attack Method to capture usernames and passwords."},{"id":18,"category":"Credential Harvester","command":"1 -> 2 -> 3 -> 1","example":"Menu Selection: 1 -> 2 -> 3 -> 1","explanation":"Uses Web Templates (Gmail, Facebook, etc.) for the Credential Harvester landing page."},{"id":19,"category":"Credential Harvester","command":"1 -> 2 -> 3 -> 2","example":"Menu Selection: 1 -> 2 -> 3 -> 2","explanation":"Uses the Site Cloner to copy a live website's login page for credential harvesting."},{"id":20,"category":"Credential Harvester","command":"1 -> 2 -> 3 -> 3","example":"Menu Selection: 1 -> 2 -> 3 -> 3","explanation":"Allows Custom Import of a locally saved index.html for a completely tailored harvester page."},{"id":21,"category":"Website Attack Vectors","command":"1 -> 2 -> 4","example":"Menu Selection: 1 -> 2 -> 4","explanation":"Selects the Tabnabbing Attack Method which rewrites inactive browser tabs to a phishing page."},{"id":22,"category":"Website Attack Vectors","command":"1 -> 2 -> 5","example":"Menu Selection: 1 -> 2 -> 5","explanation":"Selects Web Jacking Attack Method to overlay a fake page over a legitimate URL via iframe."},{"id":23,"category":"Website Attack Vectors","command":"1 -> 2 -> 6","example":"Menu Selection: 1 -> 2 -> 6","explanation":"Selects Multi-Attack Web Method to combine multiple exploits (e.g., Harvester + Exploit) on one page."},{"id":24,"category":"Website Attack Vectors","command":"1 -> 2 -> 7","example":"Menu Selection: 1 -> 2 -> 7","explanation":"Selects HTA Attack Method to serve a malicious HTML Application file that executes PowerShell."},{"id":25,"category":"Infectious Media","command":"1 -> 3","example":"Menu Selection: 1 -> 3","explanation":"Navigates to Infectious Media Generator to create malicious USB/CD/DVD autorun payloads."},{"id":26,"category":"Infectious Media","command":"1 -> 3 -> 1","example":"Menu Selection: 1 -> 3 -> 1","explanation":"Generates a File-Format Exploit (e.g., PDF) and burns it to the media device."},{"id":27,"category":"Infectious Media","command":"1 -> 3 -> 2","example":"Menu Selection: 1 -> 3 -> 2","explanation":"Generates a Standard Metasploit Executable (reverse_tcp) for the media device autorun."},{"id":28,"category":"Payloads & Listeners","command":"1 -> 4","example":"Menu Selection: 1 -> 4","explanation":"Navigates to Create a Payload and Listener to generate raw shellcode or binaries."},{"id":29,"category":"Payloads & Listeners","command":"1 -> 4 -> 1","example":"Menu Selection: 1 -> 4 -> 1","explanation":"Selects Windows Shell Reverse_TCP payload for a basic command line callback."},{"id":30,"category":"Payloads & Listeners","command":"1 -> 4 -> 2","example":"Menu Selection: 1 -> 4 -> 2","explanation":"Selects Windows Meterpreter Reverse_TCP payload for a full-featured Metasploit session."},{"id":31,"category":"Payloads & Listeners","command":"1 -> 4 -> 8","example":"Menu Selection: 1 -> 4 -> 8","explanation":"Selects Linux Shell Reverse_TCP payload for targeting Linux-based systems."},{"id":32,"category":"Mass Mailer","command":"1 -> 5","example":"Menu Selection: 1 -> 5","explanation":"Navigates to Mass Mailer Attack to send emails to a list of targets without a specific payload attachment."},{"id":33,"category":"Mass Mailer","command":"1 -> 5 -> 1","example":"Menu Selection: 1 -> 5 -> 1","explanation":"Starts an E-Mail Attack Mass Mailer targeting a single email address."},{"id":34,"category":"Mass Mailer","command":"1 -> 5 -> 2","example":"Menu Selection: 1 -> 5 -> 2","explanation":"Starts an E-Mail Attack Mass Mailer using a target list imported from a file."},{"id":35,"category":"Arduino/Teensy","command":"1 -> 6","example":"Menu Selection: 1 -> 6","explanation":"Navigates to Arduino-Based Attack Vector for programming malicious USB HID devices."},{"id":36,"category":"Arduino/Teensy","command":"1 -> 6 -> 1","example":"Menu Selection: 1 -> 6 -> 1","explanation":"Selects Powershell / HTTP Downloader for Teensy to fetch and execute payloads."},{"id":37,"category":"Arduino/Teensy","command":"1 -> 6 -> 4","example":"Menu Selection: 1 -> 6 -> 4","explanation":"Selects Peensy (Powershell SD Card) Attack to execute scripts stored on the device's storage."},{"id":38,"category":"Wireless Attacks","command":"1 -> 7","example":"Menu Selection: 1 -> 7","explanation":"Navigates to Wireless Access Point Attack Vector to create a rogue AP (requires dependencies)."},{"id":39,"category":"QR Code Attacks","command":"1 -> 8","example":"Menu Selection: 1 -> 8","explanation":"Navigates to QRCode Generator Attack Vector to create malicious QR codes."},{"id":40,"category":"QR Code Attacks","command":"Enter URL: http://malicious.ip","example":"Input during QRCode setup","explanation":"Defines the URL the victim will be redirected to upon scanning the QR code."},{"id":41,"category":"Powershell Attacks","command":"1 -> 9","example":"Menu Selection: 1 -> 9","explanation":"Navigates to Powershell Attack Vectors to generate shellcode injection scripts."},{"id":42,"category":"Powershell Attacks","command":"1 -> 9 -> 1","example":"Menu Selection: 1 -> 9 -> 1","explanation":"Selects Powershell Alphanumeric Shellcode Injector for bypassing simple filters."},{"id":43,"category":"Powershell Attacks","command":"1 -> 9 -> 3","example":"Menu Selection: 1 -> 9 -> 3","explanation":"Selects Powershell Reverse TCP injection directly into memory."},{"id":44,"category":"Third Party Modules","command":"1 -> 10","example":"Menu Selection: 1 -> 10","explanation":"Navigates to Third Party Modules to access external tools integrated into SET."},{"id":45,"category":"Third Party Modules","command":"1 -> 10 -> 1","example":"Menu Selection: 1 -> 10 -> 1","explanation":"Launches the Google Analytics Attack to inject tracking code into cloned sites."},{"id":46,"category":"Workflow: Site Cloning","command":"1 -> 2 -> 3 -> 2 -> IP Address -> URL","example":"Full workflow sequence","explanation":"Complete sequence to clone a site: Select Attack -> Cred Harvester -> Cloner -> Set IP -> Set Target."},{"id":47,"category":"Workflow: Spear Phishing","command":"1 -> 1 -> 1 -> 1 -> Target Email -> 1 -> Login","example":"Full workflow sequence","explanation":"Sequence to send a single mass email: Spear Phish -> Mass Email -> Single Target -> Gmail -> Credentials."},{"id":48,"category":"Fast-Track","command":"2 -> 1","example":"Menu Selection: 2 -> 1","explanation":"Starts the Microsoft SQL Brute Forcer from the Pen Testing menu."},{"id":49,"category":"Fast-Track","command":"2 -> 2","example":"Menu Selection: 2 -> 2","explanation":"Starts the Custom Exploit menu for specific server-side vulnerabilities."},{"id":50,"category":"Reporting","command":"Generating reports in XML/HTML","example":"Automatic action post-attack","explanation":"SET automatically saves credential harvester results to the ~/.set/reports/ directory."},{"id":51,"category":"Cleanup","command":"99","example":"Menu Selection: 99","explanation":"Exits the Social Engineer Toolkit and performs necessary cleanup of temporary files."},{"id":52,"category":"Automation","command":"seautomation","example":"CLI Command","explanation":"Starts the automation module to run SET non-interactively using a response file."},{"id":53,"category":"Automation","command":"nano my_set_script.ans","example":"File Creation","explanation":"Creates an answer file for automation containing line-by-line menu selections."},{"id":54,"category":"Automation","command":"setoolkit my_set_script.ans","example":"CLI Command","explanation":"Runs setoolkit immediately feeding the answer file into the menu system."},{"id":55,"category":"Post Exploitation","command":"sessions -i 1","example":"Metasploit Interaction","explanation":"Interacts with a successful session opened by a SET payload listener."},{"id":56,"category":"Post Exploitation","command":"sysinfo","example":"Meterpreter Command","explanation":"Retrieves system information from the compromised host within a Meterpreter session."},{"id":57,"category":"Blue Team Validation","command":"Check logs at /var/log/apache2/access.log","example":"Defense Verification","explanation":"Verifies if the blue team detected the SET cloning activity via web server logs."},{"id":58,"category":"Blue Team Validation","command":"Analyze generated .hta files","example":"Artifact Analysis","explanation":"Inspects the HTA payloads generated by SET to write detection signatures."},{"id":59,"category":"Advanced Config","command":"DIGITAL_SIGNATURE_STEAL=ON","example":"Edit inside set.config","explanation":"Configures SET to attempt stealing a digital signature to sign malicious executables."},{"id":60,"category":"Advanced Config","command":"UPX_ENCODE=ON","example":"Edit inside set.config","explanation":"Enables UPX packing of payloads to attempt basic antivirus evasion."},{"id":61,"category":"Advanced Config","command":"AUTO_MIGRATE=ON","example":"Edit inside set.config","explanation":"Configures the Meterpreter payload to automatically migrate to a stable process upon execution."},{"id":62,"category":"Module Updates","command":"4","example":"Menu Selection: 4 (Main Menu)","explanation":"Checks for updates to the Social Engineer Toolkit code and modules."},{"id":63,"category":"Help & Credits","command":"6","example":"Menu Selection: 6 (Main Menu)","explanation":"Displays the help menu and credits for the toolkit developers."},{"id":64,"category":"Wireless Attacks","command":"1 -> 7 -> 1","example":"Menu Selection: 1 -> 7 -> 1","explanation":"Starts the Rogue Access Point attack (requires Airbase-ng)."},{"id":65,"category":"Payload Listener","command":"Stop listener? [yes/no]: no","example":"Workflow Choice","explanation":"Keeps the Metasploit listener running in the background to catch multiple shells."},{"id":66,"category":"Email Templates","command":"Subject: Important Update","example":"Template Input","explanation":"Sets the subject line during the creation of a custom email template."},{"id":67,"category":"Spoofing","command":"Use open relay? [yes/no]: yes","example":"Workflow Choice","explanation":"Configures the mailer to use an open relay for sending spoofed emails."},{"id":68,"category":"Payload Customization","command":"PORT of the listener: 443","example":"Configuration Input","explanation":"Sets the listening port to 443 (HTTPS) to blend in with legitimate traffic."},{"id":69,"category":"Dell DRAC","command":"1 -> 10 -> 2","example":"Menu Selection: 1 -> 10 -> 2","explanation":"Selects the Dell DRAC/Chassis Default Checker third-party module."},{"id":70,"category":"Advanced Workflow","command":"1 -> 2 -> 6 -> (Select attacks)","example":"Multi-Attack Configuration","explanation":"Configures the Multi-Attack vector by sequentially selecting enabled exploits."},{"id":71,"category":"SMS Spoofing","command":"1 -> 10 -> SMS","example":"Menu Selection: 1 -> 10 -> SMS (if available)","explanation":"Attempts to use the legacy SMS spoofing module (availability depends on API gateways)."},{"id":72,"category":"Evidence Collection","command":"ls ~/.set/reports/","example":"CLI Command","explanation":"Lists the report files generated after a campaign for audit and review."},{"id":73,"category":"Custom Exploit","command":"2 -> 2 -> 1","example":"Menu Selection: 2 -> 2 -> 1","explanation":"Runs a specific custom exploit against a target IP from the Fast-Track menu."},{"id":74,"category":"Infectious Media","command":"1 -> 3 -> 3","example":"Menu Selection: 1 -> 3 -> 3","explanation":"Burns a malicious ISO directly to a CD/DVD device."},{"id":75,"category":"System Cleanup","command":"rm -rf ~/.set","example":"CLI Command","explanation":"Manually removes the SET configuration and reports directory for a complete factory reset."}],"slug":"setoolkit","category":"exploitation","url":"https://terminal.rokibulroni.com/tool/exploitation/setoolkit","markdown":"https://terminal.rokibulroni.com/api/v1/tools/exploitation/setoolkit.md"}