Home > Glossary > PenTest+ Certification Exam > SMB Relay Attack

📖 What is SMB Relay Attack?

An SMB Relay Attack involves intercepting an SMB authentication request and forwarding it to another server on the network to gain unauthorized access. This attack leverages the lack of SMB signing to impersonate a user without needing to crack their password.

🥋 Sensei Says:

"The most effective defense against relay attacks is enabling SMB Signing; if it is required, the relay attempt will fail."

📚 Certification: PenTest+ Certification Exam (PT0-002)

🔑 What are the Key Concepts of SMB Relay Attack?

  • ▸ Targets NTLM authentication challenges, allowing attackers to capture and forward authentication tokens without needing to decrypt or crack the user's actual password.
  • ▸ Requires a Man-in-the-Middle position, often achieved through LLMNR or NBT-NS poisoning to redirect traffic from the victim to the attacker's machine.
  • ▸ Relies on the absence of SMB Signing, which normally ensures the integrity of the communication and prevents the session from being hijacked by a third party.
  • ▸ Facilitates lateral movement by impersonating a victim's identity to execute remote commands or access sensitive shares on other servers within the network.
  • ▸ Commonly executed using tools like Responder for interception and Impacket's ntlmrelayx for forwarding the captured authentication to the target server.

🎯 How does SMB Relay Attack appear on the PT0-002 Exam?

You may be asked to identify the correct tool combination for an attack where a tester poisons LLMNR requests and relays them to a target server to gain a remote shell.

A scenario might describe a penetration test where SMB signing is disabled across the domain; you will likely be asked to identify the specific attack vector that leverages this configuration.

Expect questions where you must recommend the most effective remediation for a successful SMB relay attack, specifically focusing on the implementation of required SMB signing across all servers.

❓ Frequently Asked Questions

Does an SMB relay attack require the attacker to crack the password hash?

No. Unlike password cracking or Pass-the-Hash, a relay attack forwards the authentication challenge and response in real-time. The attacker never learns the password but still gains access to the target system.


Why is LLMNR poisoning often used in conjunction with SMB relaying?

LLMNR poisoning tricks a victim's machine into believing the attacker is the intended destination for a network request, forcing the victim to send their NTLM authentication to the attacker's machine first.

Related Terms from PenTest+ Certification Exam

📝 Related Study Guides

Study Guide 10 min read

The Ultimate CompTIA PenTest+ Study Guide

Passing the CompTIA PenTest+ exam requires a solid understanding of planning and scoping, information gathering, attacks and exploits, reporting, and tools. Consistent practice using high-quality resources is essential for success.

Study Guide 8 min read

How to Pass CompTIA PenTest+ on Your First Try

To pass the PenTest+ on your first try, you must combine hands-on lab experience with rigorous theoretical study, focusing heavily on vulnerability identification and the use of penetration testing tools.

Comparison 7 min read

CompTIA PenTest+ vs. CEH: Which Certification is Right for You?

The CompTIA PenTest+ focuses heavily on practical, hands-on vulnerability assessment and management, while the CEH provides a broader, more theoretical overview of ethical hacking concepts. Your choice depends on whether you prefer practical skills over theoretical knowledge.

🧠

Test Your Knowledge

Think you understand SMB Relay Attack? Put it to the test with our practice exam.

Try 10 Free Questions

⭐ 1,000 expert-curated questions available with Premium

Upgrade Premium