Skip to content

iprebeg/earthworm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

earthworm

LKM and userland tool, used to alter sys_call_table, replace unlinkat syscall with one that makes rm command behave funny.

This should not be used in any production environment as it may bring the system down to panic().

Usage

on 10.0.0.1

cd kernel

make

insmod earthworm.ko host=10.0.0.2

on 10.0.0.2

cd userland

make

./magic -s -u 1001 -h 10.0.0.1

./magic -k -h 10.0.0.1

References

http://www.phrack.org/issues.html?issue=61&id=13#article

http://www.netfilter.org/documentation/HOWTO/netfilter-hacking-HOWTO.html

http://ftp.gnumonks.org/pub/doc/conntrack+nat.html

http://www.linuxjournal.com/article/7184

http://isis.poly.edu/kulesh/stuff/src/klist/

http://www.phrack.org/issues.html?issue=55&id=12#article

http://zhwen.org/coding/cat_syscall.c

http://rpinfosec.blogspot.com/2012/06/hooking-linux-system-call-table-in-2012.html

http://wiki.gentoo.org/wiki/Kernel_Crash_Dumps

http://www.linuxforu.com/2011/02/debug-kernel-panics-with-crash/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published