Code Monkey home page Code Monkey logo

Comments (3)

loneicewolf avatar loneicewolf commented on May 29, 2024 1

@reveng007 Okay, thanks, ill check that 🍵.

from reveng_rtkit.

loneicewolf avatar loneicewolf commented on May 29, 2024

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

  1. read input
  2. do (something with input )..
  3. get root

from reveng_rtkit.

reveng007 avatar reveng007 commented on May 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.