This is the list of all rootkits found so far on github and other sites.
https://github.com/milabs/awesome-linux-rootkits
https://github.com/jussihi/SMM-Rootkit
https://github.com/loneicewolf/LOJAX
https://github.com/mempodippy/vlany
http://www.ussrback.com/UNIX/penetration/rootkits/
https://github.com/Alifcccccc/Windows-Rootkits
https://github.com/chokepoint/azazel https://packetstormsecurity.com/files/125240/Azazel-Userland-Rootkit.html
https://github.com/islamTaha12/Python-Rootkit
https://github.com/Eterna1/puszek-rootkit
https://github.com/juxing/AdoreForAndroid
https://github.com/HackerFantastic/Public/tree/master/rootkits
https://github.com/m0nad/Diamorphine
https://github.com/maK-/maK_it-Linux-Rootkit
https://github.com/RagingGrim/Rootkit/tree/master/Rootkit
https://github.com/NexusBots/Umbreon-Rootkit
https://github.com/josephjkong/designing-bsd-rootkits
https://github.com/citypw/suterusu/
https://citypw.blogspot.gr/2014/08/an-awesome-linux-kernel-rootkit-suterusu.html
https://github.com/Cr4sh/WindowsRegistryRootkit
https://packetstormsecurity.com/files/139665/Vlany-Linux-LD_PRELOAD-Rootkit.html
https://github.com/JReFrameworker/JReFrameworker
https://packetstormsecurity.com/files/128945/Xingyiquan-Linux-2.6.x-3.x-Rootkit.html
https://packetstormsecurity.com/files/118317/Linux-2.6-Kernel-proc-Rootkit-Backdoor.html
https://packetstormsecurity.com/files/108286/KBeast-Kernel-Beast-Linux-Rootkit-2012.html
https://github.com/chokepoint/Jynx2
https://github.com/chokepoint/jynxkit
https://packetstormsecurity.com/files/110942/Jynx-Kit-Release-2.html
https://packetstormsecurity.com/files/25071/_root_040.zip.html
https://github.com/bones-codes/the_colonel
https://github.com/x0r1/jellyfish
https://github.com/ecume/simple-rootkit
https://github.com/Nervous/GreenKit-Rootkit
https://github.com/cloudsec/brootkit
https://github.com/unix-thrust/beurk
https://github.com/NextSecurity/Gozi-MBR-rootkit
https://github.com/rbertin/basic-rootkit
https://github.com/miagilepner/porny
https://turbochaos.blogspot.gr/2013/09/linux-rootkits-101-1-of-3.html
https://github.com/r00tkillah/HORSEPILL
https://github.com/matteomattia/moo_rootkit
https://github.com/ivyl/rootkit
https://github.com/enzolovesbacon/inficere
https://github.com/hiteshd/Android-Rootkit
https://github.com/QuokkaLight/rkduck
https://github.com/0xroot/whitesnow
https://github.com/falk3n/subversive
https://github.com/nnewson/km/tree/master/src
https://github.com/Cr4sh/DrvHide-PoC
https://github.com/Christian-Roggia/open-myrtus/tree/master/rootkit
https://github.com/PoppySeedPlehzr/rookit_playground/tree/master/rootkits
https://github.com/a7vinx/liinux
https://github.com/osiris123/CDriver_Loader
https://github.com/varshapaidi/Kernel_Rootkit
https://github.com/karol-gruszczyk/win-rootkit
https://github.com/hanj4096/wukong
https://github.com/uzyszkodnik/rootkit
https://github.com/kacheo/KernelRootkit
https://github.com/rvillordo/libpreload
https://github.com/soad003/rootkit
https://github.com/NinnOgTonic/Out-of-Sight-Out-of-Mind-Rootkit
https://github.com/HeapLock/THOR
https://github.com/ring-1/zendar
https://github.com/amanone/amark
https://github.com/majdi/deadlands
https://github.com/cccssw/JynKbeast
https://github.com/joshimhoff/toykit
https://github.com/pasv/Z34107
https://github.com/maK-/Keylogger-lkm
https://github.com/Aearnus/syscall-rootkit
https://github.com/schischi/slrk
https://github.com/bhassani/Alina/tree/master/Rootkit
https://github.com/jiayy/lkm-rootkit
https://github.com/ChristianPapathanasiou/apache-rootkit
https://github.com/ChristianPapathanasiou/DEFCON-18-Android-rootkit-Mindtrick
https://github.com/elfmaster/kprobe_rootkit
https://github.com/ah450/rootkit
https://github.com/Jyang772/HideProcessHookMDL
https://github.com/Aarons100/Rootkits-Playground
https://github.com/dluengo/yarr
https://github.com/NotALaser/trk
https://github.com/NoviceLive/research-rootkit
https://github.com/t0t3m/AFkit
https://github.com/dsmatter/brootus
http://github.com/kevinkoo001/rootkit
https://github.com/nnedkov/swiss_army_rootkit
https://github.com/David-Reguera-Garcia-Dreg/enyelkm
https://github.com/m0hamed/lkm-rootkit
https://github.com/elfmaster/skeksi_virus
https://github.com/cranklin/cranky-data-virus
https://github.com/mempodippy/cub3
https://github.com/bytecode77/r77-rootkit
https://github.com/XShar/simple_rootkit_for_windows_fork_r77
https://github.com/unix-thrust/beurk
https://github.com/chokepoint/azazel
https://github.com/f0rb1dd3n/Reptile
https://github.com/trailofbits/krf
https://github.com/jermeyyy/rooty
https://github.com/croemheld/lkm-rootkit
https://github.com/mncoppola/suterusu
https://github.com/romeroperezabel/ARP-RootKit
https://github.com/nurupo/rootkit
https://github.com/deb0ch/toorkit
https://github.com/vrasneur/randkit
https://github.com/trimpsyw/adore-ng
https://github.com/David-Reguera-Garcia-Dreg/enyelkm
https://github.com/falk3n/subversive
https://github.com/jiayy/lkm-rootkit
https://github.com/a7vinx/liinux
https://github.com/hanj4096/wukong
https://github.com/varshapaidi/Kernel_Rootkit
https://github.com/kacheo/KernelRootkit
https://github.com/dsmatter/brootus
https://github.com/jarun/keysniffer