CVE-2024-3400: PAN-OS Command Injection Vulnerability in GlobalProtect Gateway. Learn More

CVE-2024-3400: PAN-OS Command Injection Vulnerability in GlobalProtect Gateway. Learn More

Services
Capture
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

twi-managed-portal-color
Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

twi-briefcase-color-svg
Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

tw-laptop-data
Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

twi-database-color-svg
Database Security

Prevent unauthorized access and exceed compliance requirements.

twi-email-color-svg
Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

tw-officer
Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

tw-network
Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Offensive Security
Solutions to maximize your security ROI
Microsoft Exchange Server Attacks
Stay protected against emerging threats
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
SpiderLabs Blog

Owning Windows Networks with Responder 1.7

A lot has been happening with Responder lately!

Everything is still written in pure Python for portability's sake, there's no need to install any third-party libraries.

For starters, Responder is a passive credentials gathering tool.

It listens for specific NBT-NS (NetBIOS Name Service) and LLMNR (Link-local Multicast Name Resolution) queries and poisons the issuer. Responder has several rogue authentication servers listening on several UDP and TCP ports. If you want more information on LLMNR &NBT-NS poisoning, read my previous blog post.

 

New Functionalities in Responder:

- Rogue SMB server now makes use of SMB Extended Security NTLMSSP authentication (NTLMv1/v2)by default, so you won't miss a hash!

- Rogue FTP server clear text credential capture module (enabled by default).

- Small DNS server(enabled by default).

- ICMP Redirects utility for Windows =< 5.2 Domain members.

- Stealth mode Domain Controller finder (enabled by default).

- Host Fingerprint module (need to specify -f On).

- All activity is now logged into a file named Responder-Session.log with date and time for each entry.

- Ability to switch On/Off any rogue server via command line.

- Ability to specify a different challenge for all NTLM rogue servers.

- NT4 specific SMB clear text credentials support.

 

 

Responder 1.7 inaction: ICMP Redirect for Windows =< 5.2 Domain members:

Windows =< 5.2 Domain members (XP, Windows server 2003 and above) have ICMP Redirect enabled by default. This functionality can be used to remotely add(with no authentication required) a new route for a given host. Yes, you heard me right. Case scenario example:

  • Attacker has IP address 192.168.2.10

  • Domain controller has IP address 192.168.3.58, which is also the primary DNS server.

  • Victim workstation has IP address 192.168.2.39

  • Gateway has IP address 192.168.2.1

This screenshot reflects the victim default route prior using Responder ICMP Redirect utility:

 

12407_e8885c10-6d4f-4813-b946-0d87e664acac

 

So we start by disabling outgoing ICMP requests:

 

11356_b503600d-9a3a-455d-8c63-96dd9156eefe

 

We launch ResponderIcmp-Redirect.py utility accordingly:

 

10556_8f4be438-7564-4d4b-9388-bee452168312

 

Back to XP domain member route configuration:

 

11523_bd521efe-9dc1-4d06-a8db-65ccaaca78f8

 

Now we can create a NAT firewall rule and answer all DNS queries for 192.168.3.58 from192.168.2.39 by issuing this command as root:

iptables -t nat-A PREROUTING -p udp --dst 192.168.3.58 --dport 53 -j DNAT--to-destination 192.168.2.10:53

 

From there, Responder will reply to DNS requests and make use of its rogue authentication servers:

 

 

 

Stealth Domain Controller Finder

Responder has a Browser listener (UDP 138) and waits for Domain Master Browser(DMB) Announcements. In a Windows NT domain context, only the Primary Domain Controller can be the DMB according to Microsoft documentation. If there's no domain set and workstations are in a Workgroup, usually the Local Master Browser (LMB) will be the DMB.

In this example, Responder is simply listening on port UDP 138:

 

12690_f436600c-583a-4315-bb7c-96c68cc68591

 

 

OS fingerprint module

When enabled, the fingerprint module will fingerprint any host who issued either an LLMNR or NBT-NS query:

 

8581_2ff99f76-147f-401c-adf2-7a6280860de7

 

 

FTP credential module

This module will grab plaintext FTP credentials:

 

9741_69e4b1bb-b3d8-42b0-921f-7f8449460759

 

 

Final words

Apart from the fact that with its internal components Responder is a great tool to gather encrypted or clear text credentials passively, it can also be combined with ARP spoofing attacks in order to amplify its results.

As always, the latest version is available here: https://github.com/SpiderLabs/Responder

Latest SpiderLabs Blogs

Protecting Zion: InfoSec Encryption Concepts and Tips

This is Part 9 in my ongoing project to cover 30 cybersecurity topics in 30 weekly blog posts. The full series can be found here.

Read More

EDR – The Multi-Tool of Security Defenses

This is Part 8 in my ongoing project to cover 30 cybersecurity topics in 30 weekly blog posts. The full series can be found here.

Read More

The Invisible Battleground: Essentials of EASM

Know your enemy – inside and out. External Attack Surface Management tools are an effective way to understand externally facing threats and help plan cyber defenses accordingly. Let’s discuss what...

Read More