Skip to content

vedant44-cyber/CYBERSECURITY-TASK-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CYBERSECURITY-TASK-2

Name :- Vedant Dorlikar
Roll no :- 107123133
Dept :- EEE

Disclaimer: My code is not compatible with every system. (It may work in KERNAL_VERSION>4.7 & KERNAL_VERSION<5.7).

The code is not working correctly due to manipulating the cr0 register in ARM64, which might be incorrect.

My Setup
ubuntu 20.04.6 LTS
5.4.0-190-generic
ARM-64 arch
GNU/Linux
UTM (VM)

1) Environment Setup:

sudo apt update & sudo apt upgrade

Make sure to use Kernel Version in between 4.7.x to 5.7.x ( Reason is given in report)

sudo apt-get install build-essential linux-headers-$(uname -r)

( Keep rootkit.c and Makefile in same directory)

2)To compile the code

Run this command in same Directory

make

3) Load and Unload the Module

To load the module :

 sudo insmod rootkit.ko

To unload the module :

 sudo rmmod rootkit.ko

To check the messages:

 sudo dmesg | tail

To Cheak Loaded module:

lsmod
Screenshot 2024-07-31 at 6 21 43 PM

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published