Comments (3)
@reveng007 Okay, thanks, ill check that 🍵.
from reveng_rtkit.
How will the operator(the person who controls the rootkit) "get" the root shell? for example, is the below what you expect or ?
- You maybe use a chardev to "write commands to"
- and then compare the written data with some pre-(hard coded)-command names (such as, "give_me_root_shell" or something)
- if you write
$ echo "give_me_root_shell | md5sum" > /dev/rootkit
it gives you a root shell?
note, I just made this example up. There is loads of ways to "do this" and I just wanted to make sure I understood the goal you wanted to achieve. :)
if this is incorrect, maybe you could make a 1,2,3 list of what the function will do? like
- read input
- do (something with input )..
- get root
from reveng_rtkit.
Okay...
I tried that scenario i.e. using chardev to get root priv.
But I was unable to do so.
I performed system call interception to achieve this in reveng_rtkit
, to get root shell
You can refer to my blog: https://reveng007.github.io/blog/2022/03/08/reveng_rkit_detailed.html (Move down to part 6)
from reveng_rtkit.
Related Issues (11)
- Nice...but...SELINUX? HOT 5
- [*] Contributing on the TODO LIST HOT 20
- Adding capabilities to bypass SELinux Enabled Linux System HOT 2
- Linux Kernel Sockets HOT 3
- Surviving system reboot
- Bypassing chkrootkit antirootkit
- Surviving system reboot
- Hide LKM module from `/sys/module/` directory
- Breaking `kernel_src/reveng_rtkit.c` into small chunks codes
- Breaking `kernel_src/reveng_rtkit.c` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reveng_rtkit.