-
Notifications
You must be signed in to change notification settings - Fork 648
Description
Describe the bug
When trying to test connection to MS SQL Server using credentials, NetExec returns nothing. The credentials are valid and establish a SQLi session using mssqlclient.py. Adding the --local-auth flag has no effect.
Taking it further and trying to do a rid brute also returned no data.
To Reproduce
Steps to reproduce the behavior i.e.:
Commands:
netexec mssql ip -u username -p password
netexec mssql ip -u username -p password --rid-brute --local-auth
Resulted in:
Returned no data.
Expected behavior
This should've shown a valid connection. For the rid brute, it should've return a list of user names.
NetExec info
- OS: Kali 6.18.5+kali-amd64
- Version of nxc: 1.5.0 - Yippie-Ki-Yay - Kali Linux -
- Installed from: part of the OS
Additional context
Kali is updated and current as of day of this report. Rid brute from Metasploit using admin/mssql/mssql_enum_domain_accounts module works.