Re: Kernel exploit in brk() function. - More Test

Alberto Ferrer <[email protected]>
Newsgroups gmane.linux.lfs.security
Organization Barra Home
Message-ID <[email protected]>
Other server "chico" :)

root@cuba [~]# adduser albert
root@cuba [~]# mv debian-hatorihanzo.c /home/albert/
root@cuba [~]# cd /home/albert/
root@cuba [/home/albert]# gcc -static -o debian-hatorihanzo.c 
root@cuba [/home/albert]# su - albert 
albert@cuba [~]# gcc -static -o debian-hatorihanzo debian-hatorihanzo.c
albert@cuba [~]# ./debian-hatorihanzo 
[-] Unable to change page protection: Cannot allocate memory
[-] Unable to exit, entering neverending loop.

[1]+  Stopped                 ./debian-hatorihanzo
albert@cuba [~]# uname -a
Linux cuba.dattacuba.com 2.4.20-18.7 #1 Thu May 29 08:32:50 EDT 2003 i686 unknown
albert@cuba [~]# cat /proc/version 
Linux version 2.4.20-18.7 ([email protected]) (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)) #1 Thu May 29 08:32:50 EDT 2003
albert@cuba [~]# gcc --version
2.96
albert@cuba [~]# gcc -v       
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 2000073


--------------------------
     Alberto Ferrer
  [email protected]
 http://www.barrahome.org
JID: [email protected]
--------------------------
SNMP = Security? Not My Problem!

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-security
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.