SnafflePy: run Snaffler-style SMB file hunting from non-Windows machines

AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.

Why it matters

Penetration testers on Linux can now run Snaffler-style SMB file hunting without a Windows box, though the port lacks Snaffler's full classifier system.

Read this as

SnafflePy is a free, open-source tool that hunts for interesting files, like passwords, backups, and documents containing Social Security Numbers, on shared network folders in Windows business networks. It is a Python rewrite of an existing Windows-only tool called Snaffler, so it works from Linux or Mac machines. It first asks the network's directory system for a list of computers, then logs in and scans their shared folders. It suits security testers and administrators rather than general users.

SnafflePy gives security teams a way to audit SMB file shares, folders companies leave accessible on their networks, from Linux machines, removing the need for a domain-joined Windows computer. For defenders, it is a reminder that attackers with one set of credentials can enumerate shares and pull sensitive files using a free tool. Missing pieces, like Snaffler's full classifier system and JSON output, remain on the roadmap. No pricing applies; the tool is open source.

SnafflePy is a Python reimplementation of Snaffler using LDAP to discover domain-joined hosts and SMB for authenticated, Guest, or NULL-session enumeration, falling back automatically in that order. It accepts passwords or NT hashes, manual IP/CIDR target lists, a max file size flag, and a --go-loud mode that skips filtering. Detection covers password and backup file extensions, share-name rules from Snaffler's TOML format, and SSN regexes. Snaffler's full classifier system is not ported, and --no-download cannot recurse into subdirectories.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

SnafflePy Snaffler SMB LDAP Active Directory Linux

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading