Skip to content
/ tirdad Public

Tirdad kernel module for random ISN generation

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENSE
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

0xsirus/tirdad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tirdad

tirdad (pronounce /tērdäd/) is a kernel module to hot-patch the Linux kernel to generate random Initial Sequence Numbers for TCP connections.

You can refer to this blog post to get familiar with the original issue:

https://bitguard.wordpress.com/?p=982

Requirements

This module has been written for x86_64 architecture and will run on a Linux kernel no older than 4.14. For the build process you will need to have the correct kernel header files already installed on your system. These header files are usually available in your apt repositories.

An example installation of the header files:

apt-get install linux-headers-`uname -r`

Usage

Compile by running:

$make

Run as root:

#insmod module/tirdad.ko

You can also disable the module with:

#echo 0 | tee /sys/kernel/livepatch/tirdad/enabled

#rmmod module/tirdad.ko

If you use the legacy version, you only need to run rmmod (the second command).

After you disable it, kernel will continue to use its default algorithm to generate initial sequence numbers.

About

Tirdad kernel module for random ISN generation

Resources

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENSE
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published