Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

alfonmga/hiding-cryptominers-linux-rootkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hiding-cryptominers-linux-rootkit

Notice: This LKM rootkit is unmaintained. Please use Diamorphine as an alternative.

Related post: https://alfon.xyz/posts/hiding-cryptominers-linux

Features

  • Hide process
  • Hide process CPU usage
  • Hide files that his filename starts with the MAGIC_PREFIX

Rootkit installation

Build

$ git clone https://github.com/alfonmga/hiding-cryptominers-linux-rootkit
$ cd hiding-cryptominers-linux-rootkit/
$ make

Loading LKM:

$ dmesg -C # clears all messages from the kernel ring buffer
$ insmod rootkit.ko
$ dmesg # verify that rootkit has been loaded

Unloading LKM:

$ rmmod rootkit
$ dmesg # verify that rootkit has been unloaded

Releases

No releases published

Packages

No packages published