SniffJoke
SniffJoke is a transparent TCP connection scrambler that delays, modifies, and injects fake packets into transmissions to make them nearly impossible for passive wiretapping tools like IDS or sniffers to read correctly.
Description
SniffJoke handles TCP connections transparently on Linux, injecting evasion packets to disrupt passive network monitoring. It supports different network environments called 'locations' which must be configured for effective operation, such as office, home, or free WiFi setups. The tool mangles both TCP and UDP by default but can disable these features.
Use cases include protecting against network eavesdropping in untrusted environments. Users configure locations via sniffjoke-autotest to test and select optimal plugins and options for the specific ISP or network. Administration is done through sniffjokectl for starting, stopping, and querying the service.
The tool requires root privileges initially but downgrades to specified user/group for security. It autodetects gateway MAC and supports whitelisting/blacklisting IPs for selective evasion.
How It Works
SniffJoke intercepts TCP/UDP traffic, mangling packets by delaying, modifying headers, and injecting fake packets to confuse passive analyzers. It uses iptables for traffic handling and supports location-specific configurations tested via autotest scripts like sj-iptcpopt-probe, which probe IP/TCP options against destinations. Chained hacking mode enables advanced entropic effects. Evasion activates on command, with statistics tracked via control interface.
Installation
sudo apt install sniffjokeFlags
Examples
sniffjoke -hsniffjoke-autotest -hsniffjokectl -hsj-commit-results -hsj-iptcpopt-probe -hsniffjokectl startsniffjokectl stopsniffjokectl stat