mncoppola / suterusu

An LKM rootkit targeting Linux 2.6/3.x on x86(_64), and ARM
MIT License
641 stars 210 forks source link

constrcut icmp packet to trigger the Suterusu #6

Closed citypw closed 10 years ago

citypw commented 10 years ago

A simple example: Construct an ICMP packet to trigger file transfer.

mncoppola commented 10 years ago

Thanks for the contribution! When I was developing the ICMP hook I typically just tested with:

ping 192.168.1.6 -s 10 -p 78563412aaaaaaaabbbb

...where 78563412 is the auth token, aaaaaaaa is the IP address, and bbbb is the port number.

It would be valuable to wrap this up in a pretty Python script like you did. I want to make sure the code is clean and to my style, however, so I'm going to write this part myself. If you're still looking to use your code somewhere, it might be useful to post on your blog or something in the meantime.

citypw commented 10 years ago

That's good about code style..... If I known the option "-p" of ping, I wouldn't write python code;-) Still, looking forward to see your implementation.