f0rb1dd3n / Reptile

LKM Linux rootkit
2.53k stars 571 forks source link

Packet checksum problems and Suggestions #73

Closed koushui closed 4 years ago

koushui commented 5 years ago

1、bin/packet send magic packet checksum problem

Through multiple tests, the packet sending magic packet, TCP/UDP/ICMP checksum are not correct, in most of the network environment the packet will be drop, Hope can solve this problem:)

2、File content tampering usage scenarios? Hidden file content, not by other user mode application reads, what is the meaning of the content hidden? Suggestion add program can read the hidden content in white list function, such as sh, bash, PHP, Java process such as the function, the white list can be configured

3.Suggest to add hidden process name function with the prefix

4、About the clicent enhancements a、Like MSF add of reverse shell session management capabilities b、Add like vi use "!ps -ef" to exec the command of the local host capabilities c、For Centos reverse shell, the default does not contain the/usr/sbin path, execute the command is not very convenient,Whether can add the path by default?

Finally, to thank f0rb1dd3n provide so stable to use project,very cool~!

f0rb1dd3n commented 5 years ago

Hey bro,

1 - thank you for reporting that. 2 - The main reason that I did that, is to hide the persistence configuration. And can hide configuration that will be loaded in boot time. There is other ways to persistence, and I am thinking in publish that too.

3 - I will consider that. 4 - I will consider that too. 5 - there is some issues that I found too, and i need to change. And I need to add one hook to improve process hiding.

So, thank you your words, and thanks to report those things, i am going to consider all of it to the next updates. I am just too busy to update the code, but I will.

iusearch commented 5 years ago

Do you have plans to make it modular? e.g Hiding modules, reverse shell modules or other functional modules.

8887-eth commented 5 years ago

@koushui hello, how can we repair the checksum?

f0rb1dd3n commented 5 years ago

Hello guys,

I am sorry about didn't updated Reptile yet, but I am busy. I got some updates done but I have to test it, and fix other things. But I will update Reptile when it's possible.

Thank you to be patient!

f0rb1dd3n commented 5 years ago

@aliyuchang33

I don't have plan about it, but this is an interesting idea. I going to think about it.

iusearch commented 5 years ago

@f0rb1dd3n Thank you again for your hard working on this project. I'm still learning and going to contribute in the future. I'm a little bit busy as well.

f0rb1dd3n commented 4 years ago

Checksum issue is fixed with 0221269. But the suggestions will wait a little, maybe I am going to make more changes in the code.