Skip to content

Simple kernel module for recive command from remote host via ICMP proto

License

Notifications You must be signed in to change notification settings

AnyKeyShik/ICMP_Shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ICMP Shell Linux kernel module

I have wanted to enter kernel development for a very long time. And now at work I need to understand Linux kernel very deep. And this is just practice for better understand the deepest mechanics of it.

Getting started

Requirements

To compile and run this project, you will need:

  • The GNU make
  • The GNU GCC
  • A Linux x64 operating system
  • Installed headers of linux kernel

Running the code

For build this module:

git clone https://github.com/AnyKeyShik/ICMP_Shell.git
cd ICMP_Shell
make

For turn it on:

sudo insmod icmp_shell.ko

For turn it off:

sudo rmmod icmp_shell.ko

For send payload:

sudo ./client.py <IP address> <payload>

sudo required for scapy