module

Microsoft Windows SMB Direct Session Takeover

Disclosed
2021-02-16
Created
2022-01-07

Description

This module will intercept direct SMB authentication requests to
another host, gaining access to an authenticated SMB session if
successful. If the connecting user is an administrator and network
logins are allowed to the target machine, this module will execute an
arbitrary payload. To exploit this, the target system must try to
autheticate to another host on the local area network.

SMB Direct Session takeover is a combination of previous attacks.

This module is dependent on an external ARP spoofer. The builtin ARP
spoofer was not providing sufficient host discovery. Bettercap v1.6.2
was used during the development of this module.

The original SMB relay attack was first reported by Sir Dystic on March
31st, 2001 at @lanta.con in Atlanta, Georgia.

Author

usiegl00

Platform

Windows

Architectures

x86, x64

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use exploit/windows/smb/smb_shadow
msf exploit(smb_shadow) > show targets
...targets...
msf exploit(smb_shadow) > set TARGET < target-id >
msf exploit(smb_shadow) > show options
...show and set options...
msf exploit(smb_shadow) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.