smbclient and the impacket smbclient.py. Both support password, NT hash, and Kerberos auth but with different syntax.
smbclient (native Samba)
The standard Samba tool. Available on every Kali/Parrot install. Use for quick share browsing, file transfer, and pass-the-hash.Listing Shares
- Password
- NT Hash
- Kerberos
- Null Session
Connecting to a Share
- Password
- NT Hash
- Kerberos
Non-Interactive (Single Commands)
Interactive Session Commands
Useful Flags
smbclient.py (impacket)
The impacket equivalent. Useful when native smbclient isn’t available or when you need impacket’s Kerberos handling. Shares the same auth flags as the rest of impacket.Connecting
- Password
- NT Hash
- Kerberos
Interactive Session Commands
Key Differences vs Native smbclient
smbcacls
Read and modify Windows DACLs on SMB shares from Linux. Useful for confirming write permissions before attempting ACL abuse or privilege escalation through share ACEs.Syntax
"" for the share root itself.
Flags
Authentication
Authentication
ACL Modification
ACL Modification
Reading ACLs
- Password
- Kerberos
- Null Session
Reading the Output
PRINCIPAL:TYPE/INHERITANCE_FLAGS/RIGHTS
CONTROL Flags
CONTROL Flags
ACE Type
ACE Type
Inheritance Flags
Inheritance Flags
Rights
Rights
What to Look for in Recon
IO on CREATOR OWNER is normal. It means the creator-owner ACE applies only to children they create, not the folder itself. Writing a file there does not grant you rights on the folder.