blob: 6f640b7d1258fcfa0b6105b97b8553e6206bbec1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# PID Hiding Kernel Module
**THIS CAN LEADS TO KERNEL PANIC AND KERNEL HANG**
This module demonstrates kernel-level process hiding techniques. Using this code to hide processes.
Implementation of kernel-level process hiding may:
- Violate computer fraud laws
- Breach organizational security policies
- Trigger security monitoring alerts
- Cause system instability or kernel panics
## Build Instructions
```bash
# Build the module
make
# Load the module (specify PID to hide)
sudo insmod pid_hider.ko hidden_pid=1234
# Remove the module
sudo rmmod pid_hider
```
## Legitimate Alternatives
For legitimate process management, consider:
- Linux Control Groups (cgroups)
- Container technologies (Docker, LXC)
- Mandatory Access Control (SELinux, AppArmor)
- Process accounting and auditing tools
|