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

<channel>
	<title>UK Honeynet Project</title>
	<atom:link href="http://www.ukhoneynet.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ukhoneynet.org</link>
	<description>News and information from the UK Honeynet Project</description>
	<pubDate>Sun, 14 Dec 2008 18:23:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Compiling Capture-HPC on VMWare Server 1.0.6</title>
		<link>http://www.ukhoneynet.org/2008/07/28/compiling-capture-hpc-on-vmware-server-106/</link>
		<comments>http://www.ukhoneynet.org/2008/07/28/compiling-capture-hpc-on-vmware-server-106/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 16:00:25 +0000</pubDate>
		<dc:creator>david</dc:creator>
		
		<category><![CDATA[HOWTO]]></category>

		<guid isPermaLink="false">http://www.ukhoneynet.org/2008/07/28/compiling-capture-hpc-on-vmware-server-106/</guid>
		<description><![CDATA[We often use Capture-HPC as a high interaction client honeypot for analyzing suspect URLs, but getting it up and running on a new platform can sometimes be a somewhat frustrating and time consuming process. I&#8217;ve recently had to repeat the build process on the latest version of VMWare Server (release 1.0.6 build-91891) running on Ubuntu [...]]]></description>
			<content:encoded><![CDATA[<p>We often use <a href="https://projects.honeynet.org/capture-hpc">Capture-HPC</a> as a high interaction client honeypot for analyzing suspect URLs, but getting it up and running on a new platform can sometimes be a somewhat frustrating and time consuming process. I&#8217;ve recently had to repeat the build process on the latest version of VMWare Server (release 1.0.6 build-91891) running on Ubuntu Gutsy, so in case this saves anyone else some pain, this is what I had to do to make it work:</p>
<p>1) Download the <a href="https://projects.honeynet.org/capture-hpc/wiki/Releases">latest sources</a> (at the time of writing this was capture-server-2.1.0-300-src.zip)</p>
<p>2) Extract the latest sources</p>
<pre>unzip capture-server-2.1.0-300-src.zip
cd capture-server-2.1.0-300-src
</pre>
<p>3) Ensure the necessary build dependencies were installed</p>
<pre>sudo aptitude update ; sudo aptitude install ant ant-optional sun-java6-jdk sun-java6-bin sun-java6-jre
sudo install VMWare-Server-1.0.6-build-91891</pre>
<p>4) Set the correct environment variables</p>
<pre>  JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.03/ ; export JAVA_HOME
  VIX_HOME=/usr/lib/vmware-vix/ ; export VIX_HOME
  VIX_INCLUDE=/usr/include/vmware-vix/ ; export VIX_INCLUDE
  VIX_LIB=/usr/lib/vmware-vix/ ; export VIX_LIB
  ANT_HOME=/usr/share/ant/ ; export ANT_HOME
</pre>
<p>5) Hack the revert compilation shell script:</p>
<pre>chmod +x compile_revert_linux.sh
cat compile_revert_linux.sh</pre>
<pre>#!/bin/sh
echo $VIX_INCLUDE
#gcc -I $VIX_INCLUDE -o revert revert.c $VIX_LIB/libvmware-vix.so
gcc -I $VIX_INCLUDE -o revert revert.c /usr/lib/libvmware-vix.so</pre>
<p>6) Remove any of the logic from build.xml that refers to the Windows OS branch:</p>
<pre>vi build.xml
&lt;?xml version="1.0"?&gt;
&lt;project name="CaptureServer" default="release" basedir="."&gt;
        &lt;!-- all stuff to get the jni wrapper compiled --&gt;
        &lt;taskdef resource="net/sf/antcontrib/antcontrib.properties"/&gt;

        &lt;condition property="os" value="unix"&gt;
        &lt;os family="unix"/&gt;
    &lt;/condition&gt;

         &lt;property environment="env"/&gt;
     &lt;property name="src" value="."/&gt;
     &lt;property name="build" value="build"/&gt;
     &lt;property name="release" value="release"/&gt;

     &lt;target name="init"&gt;
          &lt;mkdir dir="${build}"/&gt;
                  &lt;mkdir dir="${release}"/&gt;
         &lt;/target&gt;

     &lt;target name="compile" depends="init"&gt;
          &lt;!-- Compile the java code --&gt;
          &lt;javac srcdir="${src}" destdir="${build}" debug="true" debuglevel="lines,vars,source"/&gt;

                  &lt;!-- Compile the revert code --&gt;
                   &lt;exec command="sh" executable="./compile_revert_linux.sh"/&gt;

     &lt;/target&gt;

         &lt;target name="jar" depends="compile"&gt;
        &lt;mkdir dir="${build}/jar"/&gt;
        &lt;jar destfile="${build}/jar/CaptureServer.jar" basedir="${build}"&gt;
            &lt;manifest&gt;
                &lt;attribute name="Main-Class" value="capture.Server"/&gt;
            &lt;/manifest&gt;
        &lt;/jar&gt;
    &lt;/target&gt;

        &lt;target name="release" depends="clean,compile,jar"&gt;
                &lt;copy file="${build}/jar/CaptureServer.jar" todir="${release}"/&gt;
                &lt;copy file="./COPYING" todir="${release}"/&gt;
                &lt;copy file="./Readme.txt" todir="${release}"/&gt;
                &lt;copy file="./input_urls_example.txt" todir="${release}"/&gt;
                &lt;copy file="./config.xsd" todir="${release}"/&gt;
                &lt;copy file="./config.xml" todir="${release}"/&gt;

                    &lt;exec executable="cp"&gt;
                      &lt;arg value="./revert"/&gt;
                      &lt;arg value="${release}"/&gt;
                    &lt;/exec&gt;

                &lt;zip destfile="./CaptureServer-Release.zip" basedir="release"/&gt;
        &lt;/target&gt;

        &lt;target name="clean"&gt;
        &lt;delete dir="${build}"/&gt;
                &lt;delete dir="${release}"/&gt;
                &lt;delete&gt;
                        &lt;fileset dir="." includes="revert.exe"/&gt;
                        &lt;fileset dir="." includes="revert"/&gt;
                        &lt;fileset dir="." includes="CaptureServer-Release.zip"/&gt;
                &lt;/delete&gt;
    &lt;/target&gt;
&lt;/project&gt;
</pre>
<p>6) Compile the Capture Server</p>
<pre>ant
Buildfile: build.xml
  [taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.

clean:
   [delete] Deleting directory /home/david/client_honeypots/capture-server-2.1.0-300-src/build
   [delete] Deleting directory /home/david/client_honeypots/capture-server-2.1.0-300-src/release

init:
    [mkdir] Created dir: /home/david/client_honeypots/capture-server-2.1.0-300-src/build
    [mkdir] Created dir: /home/david/client_honeypots/capture-server-2.1.0-300-src/release

compile:
    [javac] Compiling 32 source files to /home/david/client_honeypots/capture-server-2.1.0-300-src/build
    [javac] /home/david/client_honeypots/capture-server-2.1.0-300-src/capture/ClientFileReceiver.java:9: warning: sun.misc.BASE64Decoder is Sun proprietary API and may be removed in a future release
    [javac] import sun.misc.BASE64Decoder;
    [javac]                ^
    [javac] /home/david/client_honeypots/capture-server-2.1.0-300-src/capture/ClientFileReceiver.java:42: warning: sun.misc.BASE64Decoder is Sun proprietary API and may be removed in a future release
    [javac]                             BASE64Decoder base64 = new BASE64Decoder();
    [javac]                             ^
    [javac] /home/david/client_honeypots/capture-server-2.1.0-300-src/capture/ClientFileReceiver.java:42: warning: sun.misc.BASE64Decoder is Sun proprietary API and may be removed in a future release
    [javac]                             BASE64Decoder base64 = new BASE64Decoder();
    [javac]                                                        ^
    [javac] Note: /home/david/client_honeypots/capture-server-2.1.0-300-src/capture/MockClient.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 3 warnings
     [exec] The command attribute is deprecated.
     [exec] Please use the executable attribute and nested arg elements.
     [exec] /usr/include/vmware-vix/
     [exec] revert.c:232:2: warning: no newline at end of file

jar:
    [mkdir] Created dir: /home/david/client_honeypots/capture-server-2.1.0-300-src/build/jar
      [jar] Building jar: /home/david/client_honeypots/capture-server-2.1.0-300-src/build/jar/CaptureServer.jar

release:
     [copy] Copying 1 file to /home/david/client_honeypots/capture-server-2.1.0-300-src/release
     [copy] Copying 1 file to /home/david/client_honeypots/capture-server-2.1.0-300-src/release
     [copy] Copying 1 file to /home/david/client_honeypots/capture-server-2.1.0-300-src/release
     [copy] Copying 1 file to /home/david/client_honeypots/capture-server-2.1.0-300-src/release
     [copy] Copying 1 file to /home/david/client_honeypots/capture-server-2.1.0-300-src/release
     [copy] Copying 1 file to /home/david/client_honeypots/capture-server-2.1.0-300-src/release
      [zip] Building zip: /home/david/client_honeypots/capture-server-2.1.0-300-src/CaptureServer-Release.zip

BUILD SUCCESSFUL
Total time: 2 seconds</pre>
<p>7) Extract the newly made CaptureServer-Release.zip file into a suitable location (such as a newly made capture-server-2.1.0-300 directory).</p>
<p> <img src='http://www.ukhoneynet.org/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> Configure config.xml and run as normal, such as via:</p>
<pre>cd capture-server-2.1.0-300
vi config.xml
/usr/lib/jvm/java-6-sun/bin/java -Djava.net.preferIPv4Stack=true -jar CaptureServer.jar -s your_ip:7070 -f input_urls_example.txt</pre>
<p>Hopefully Capture-HPC should work cleanly after that.</p>
<p><strong>NOTE</strong>: If you experience problems running Capture and find you receive this error when attempting to run the server:</p>
<pre><em><em>VIX Error on connect in connect: One of the parameters was invalid
</em></em></pre>
<p>check that your VMWare Server installation was clean by removing VMWare Server (vmware-uninstall.pl), finding any vmware related files in /usr, deleting them and then reinstalling VMWare. I found that one of my VMWare Server upgrades had left a number of vmware-vix shared libraries on disk and these seem to cause the newly compiled Capture Server to fail to connect on revert.</p>
<p>For more trouble shooting details, see this thread on the public <a href="http://public.honeynet.org/mailman/listinfo/capture-hpc">Capture-HPC mailing list</a>:</p>
<p><a href="http://public.honeynet.org/pipermail/capture-hpc/2008-August/000431.html">http://public.honeynet.org/pipermail/capture-hpc/2008-August/000431.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ukhoneynet.org/2008/07/28/compiling-capture-hpc-on-vmware-server-106/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Sad State of IT Security</title>
		<link>http://www.ukhoneynet.org/2008/07/14/the-sad-state-of-it-security/</link>
		<comments>http://www.ukhoneynet.org/2008/07/14/the-sad-state-of-it-security/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 16:29:56 +0000</pubDate>
		<dc:creator>arthur</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ukhoneynet.org/?p=411</guid>
		<description><![CDATA[On Friday I found out that my credit card had been used, by nefarious persons unknown, to buy £500 worth of goods online. Bad enough, but this is the second time this has happened in four years.
At this point I can hear the reader&#8217;s thoughts: stupid bugger, he&#8217;s been p0wned, got malware on his machine. [...]]]></description>
			<content:encoded><![CDATA[<p>On Friday I found out that my credit card had been used, by nefarious persons unknown, to buy £500 worth of goods online. Bad enough, but this is the second time this has happened in four years.</p>
<p>At this point I can hear the reader&#8217;s thoughts: stupid bugger, he&#8217;s been p0wned, got malware on his machine. Well, it&#8217;s possible. Like nearly everyone out there, my machine might have been 0wn3d by someone really good. Unless your name is H.D.Moore, there&#8217;s always someone out there better than you. But it&#8217;s unlikely. I know exactly what should be running on my machine, I know what programs can talk to the outside world, I look at tcpdumps and use a browser + OS combination that&#8217;s not currently targetted in the wild. I think I can be reasonably confident that the only malware on my machine is the stuff that&#8217;s put there by me so I can study it.</p>
<p>So if my machine is clean (with high probability), I haven&#8217;t lost my card (100% certain as I have it with me now) and I shred all my bank statements, bills and till receipts (yup), how come I&#8217;ve still been defrauded?</p>
<p>I use my card online a lot. I don&#8217;t gamble online, buy porn, dodgy pills, email my card details around or send my details to nice gentlemen in Nigeria but I do buy stuff from a range of shops, small and big.</p>
<p>So my best guess is that my card has been taken from a merchant. What could I do to stop this happening?</p>
<p>Two options:</p>
<p>1) Never spend money online. Very limiting and not going to happen. Even if I was willing to live with the inconvience, it doesn&#8217;t give 100% protection anyway: my card could still be stolen if I use it at a bricks and mortar store (e.g. anyone who shopped at a store in the TJX group had their card placed at risk after <a href="http://www.securityfocus.com/news/11455">card details were stolen</a>). I&#8217;m certainly not going to stop using my card totally.</p>
<p>2) Only ever spend money with the biggest online shops: ones that are big enough to have their own security teams, do code audits etc etc. Stick with amazon.co.uk and tesco.com. Not foolproof, but a reasonable reduction in risk. The problem with this is that a lot of stuff I want to buy online is only available from smaller shops. Worse, it&#8217;s only available from mid-sized retailers. Ones that are too big to just use Paypal, big enough to have their own in house ASP or PHP developers, but not big enough to do it right.</p>
<p>You might think I&#8217;ve missed an option there: &#8216;3) Only buy from trusted retailers&#8217;. The trouble is that as a consumer, even one much more knowledgeable about security than most, there is no way I can make any valid judgement about a retailers security or lack thereof. I don&#8217;t have access to any information that will let me evaluate a retailers security, and without that information being available, there&#8217;s also no competitive pressure on stores. Instead we have to rely on the banking groups dragging standards upwards via things like the PCI DSS standards. These are good, but it&#8217;s a long slow grind.</p>
<p>Conclusions? My card has been stolen, it&#8217;s quite possible it&#8217;ll happen again, and there&#8217;s nothing I can do about it except to never use my card. Worse, because online crime is now a low priority for UK Police, I don&#8217;t even get to report this to the police, only to my bank, and I can be pretty confident that no-one will ever be charged for this (they weren&#8217;t last time even though I did report that incident to the police as it predated the new reporting arragements).</p>
<p>This is not a happy state of affairs. If the definition of distributed computing is the failure of a machine whose existence you don&#8217;t know about breaking something you are doing, then this is the security version: being compromised by systems you don&#8217;t know about and can&#8217;t influence.</p>
<p>Arthur</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ukhoneynet.org/2008/07/14/the-sad-state-of-it-security/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Phishers branch out in their targetting</title>
		<link>http://www.ukhoneynet.org/2008/07/08/phishing-branch-out-in-their-targetting/</link>
		<comments>http://www.ukhoneynet.org/2008/07/08/phishing-branch-out-in-their-targetting/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 09:03:09 +0000</pubDate>
		<dc:creator>arthur</dc:creator>
		
		<category><![CDATA[News]]></category>

		<category><![CDATA[Add new tag]]></category>

		<category><![CDATA[phishing]]></category>

		<category><![CDATA[scams]]></category>

		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://www.ukhoneynet.org/2008/07/08/phishing-branch-out-in-their-targetting/</guid>
		<description><![CDATA[Phishers have been branching out recently, moving on to new targets away from the traditional bank account scam. As users become more aware, and more banks roll out two factor authentication and other mitigations, scammers are having to move on to softer targets.
In the past few months we&#8217;ve seen two new targets, with different motivations. [...]]]></description>
			<content:encoded><![CDATA[<p>Phishers have been branching out recently, moving on to new targets away from the traditional bank account scam. As users become more aware, and more banks roll out two factor authentication and other mitigations, scammers are having to move on to softer targets.</p>
<p>In the past few months we&#8217;ve seen two new targets, with different motivations. Both of these targets show trends in attacks as some targets become hardened. </p>
<p>First, many UK Universities have been hit with targetted phishing scams, usually claiming to come from &#8220;IT Support&#8221;. Any compromised accounts are then used to send out more spam. It&#8217;s a nice example of accounts being useful not so much for the information in them, but for the access they provide to other resources: bandwidth and credible email addresses</p>
<p>Second, as mentioned by Dancho Danchev <a href="http://blogs.zdnet.com/security/?p=1085">in May in ZDNet</a> and <a href="http://ddanchev.blogspot.com/2008/07/risks-of-outdated-situational-awareness.html">in June on his blog</a>, job sites are coming under attack. Dancho posted about the selling of tools that scrape information from CVs posted to online sites. Now we are seeing more direct attacks, with phishing emails aimed at getting login details of users of Monster.com and other job sites. Clearly gaining access to the information held on a job site is very useful to a scammer: it makes all sorts of nastiness easier.</p>
<p>It&#8217;s an arms race out there. Banks are now very quick at taking down phishing sites (see <a href="http://www.lightbluetouchpaper.org/category/banking-security/">the recent blog from Ross Anderson&#8217;s group at Cambridge</a> with links to stats on takedown), but other types of scams currently last much longer. If you&#8217;re one of the bad guys, it makes sense to go for the low hanging fruit. Why bother to steal someones online banking details when you can get more money for less work by stealing their identity? And why bother to go to lots of work to get their details when they have helpfully posted it on the web for you, all ready to use?</p>
<p>Arthur</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ukhoneynet.org/2008/07/08/phishing-branch-out-in-their-targetting/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Global Browser Vulnerability Survey</title>
		<link>http://www.ukhoneynet.org/2008/07/04/global-browser-vulnerability-survey/</link>
		<comments>http://www.ukhoneynet.org/2008/07/04/global-browser-vulnerability-survey/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 11:40:29 +0000</pubDate>
		<dc:creator>david</dc:creator>
		
		<category><![CDATA[News]]></category>

		<category><![CDATA[Whitepapers]]></category>

		<guid isPermaLink="false">http://www.ukhoneynet.org/2008/07/04/global-browser-vulnerability-survey/</guid>
		<description><![CDATA[A lot of current computer security threat research activity today occurs in the client space, with honeyclients such as Capture-HPC and PhoneyC regularly being used to study attacks against web browsers. Often these attacks occur through malicious obfuscated javascript and exploitation of vulnerable plugins or media extensions to allow fully automated &#8216;drive by download&#8217; infections. [...]]]></description>
			<content:encoded><![CDATA[<p>A lot of current computer security threat research activity today occurs in the client space, with honeyclients such as <a href="http://projects.honeynet.org/capture-hpc">Capture-HPC</a> and <a href="https://svn.mwcollect.org/phoneyc">PhoneyC</a> regularly being used to study attacks against web browsers. Often these attacks occur through malicious obfuscated javascript and exploitation of vulnerable plugins or media extensions to allow fully automated &#8216;drive by download&#8217; infections. The <a href="http://www.honeynet.org">Honeynet Project</a> have published a number of <a href="http://www.honeynet.org/papers/kye.html">Know Your Enemy whitepapers</a> in this area over the past year, and continue to actively research in this area. We have also <a href="http://www.ukhoneynet.org/EuSecWest08_David_Watson_EvilJS.pdf">previously</a> <a href="http://www.ukhoneynet.org/2007/07/18/new-javascript-tool-released/">blogged</a> about some of the ideas the <a href="http://www.ukhoneynet.org">UK Honeynet Project</a> have been experimenting with in this area.</p>
<p>One of the biggest challenges with client based threats is assessing the real world scale of the potential problem. For traditional server based threats, it was fair simple to survey the entire IPv4 space and determine what versions of a particular application or operating system were in active use at a particular time.  However, for client threats, you need a client application to come to you and interact with a service before any assessment of potential client vulnerabilities can be performed. This is a significant challenge for both attackers and researchers (hence the continued use of indiscriminate spamming and malicious advert serving at the same time as more targeted attacks are also being developed).</p>
<p>As the world&#8217;s most popular search engine, Google record the user agent client version data from the billions of web searches made by an estimated 75% of Internet users, and is therefore one of the organisations most likely to be able to provide an assessment of the current state of web browser security (Microsoft&#8217;s MSRT also has excellent data, but only for the ~450 million users regularly running Windows Automatic Updates). However, for obvious privacy reasons, this data has not been made available to the public.</p>
<p>An <a href="http://www.techzoom.net/publications/insecurity-iceberg/index.en">interesting survey</a> was released yesterday by Google Switzerland, IBM ISS and the Computer Engineering and Networks Laboratory of the University of Zurich, which provides the first systematic study of the browser data from around 1.4 billion Google users during the first half of 2008. They analysed Google&#8217;s client version data and correlated this with vulnerability data from sources such as Secunia&#8217;s PSI, in an attempt to assess how many vulnerable browsers were in circulation at a particular time.</p>
<p>The results are very interesting, with Internet Explorer taking 78% (1.1 billion) of the browser share and Firefox getting 16% (227 million). Drilling down deeper into the IE market share shows roughly half of IE users have now moved to IE7, whilst most FF users run the latest release. More worryingly, less that 50% of IE uses had the most secure version of their browser (rising to 83% in FF). For the month of June 2008, the authors suggest that over 45% web surfers (roughly some 637 million people) accessed Google with a browser that contained unpatched security vulnerabilities. There is also some interesting analysis of the exposure to plugged in as well as inbuilt vulnerabilities, plus some good recommendations for potential improvements to web browser security. In particular, the concept of web sites checking a browser&#8217;s agent strings and displaying a highly visible &#8220;expiry date&#8221; warning on every page (in an attempt to enforce a maximum shelf life) is worth further investigation.</p>
<p>The very welcome <a href="http://www.techzoom.net/publications/insecurity-iceberg/index.en">paper</a> is definitely worth a read, but is unlikely to cause too much immediate worry to the cyber criminals who are actively targeting web users through the thousands of mass compromised web servers, phishing emails and instant message spam we encounter each day.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ukhoneynet.org/2008/07/04/global-browser-vulnerability-survey/feed/</wfw:commentRss>
		</item>
		<item>
		<title>FIRST 2008</title>
		<link>http://www.ukhoneynet.org/2008/07/01/first-2008/</link>
		<comments>http://www.ukhoneynet.org/2008/07/01/first-2008/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 13:15:43 +0000</pubDate>
		<dc:creator>david</dc:creator>
		
		<category><![CDATA[Events]]></category>

		<category><![CDATA[UK presentations]]></category>

		<guid isPermaLink="false">http://www.ukhoneynet.org/2008/07/01/first-2008/</guid>
		<description><![CDATA[The Honeynet Project were asked to present at the 20th FIRST conference in Vancouver last week, as part of their Network Monitoring Special Interest Group on Fast Flux Service Networks. We set up a two hour session broken down into three equal sections:

An introduction to the basic mechanics of fast flux (David Watson, UKHP)
Current ATLAS [...]]]></description>
			<content:encoded><![CDATA[<p>The Honeynet Project were asked to present at the <a href="http://www.first.org/conference/2008/">20th FIRST conference in Vancouver</a> last week, as part of their <a href="http://www.first.org/conference/2008/program/presentations.html#p985">Network Monitoring Special Interest Group on Fast Flux Service Networks</a>. We set up a two hour session broken down into three equal sections:</p>
<ol>
<li>An introduction to the basic mechanics of fast flux (David Watson, <a href="http://www.ukhoneynet.org">UKHP</a>)</li>
<li>Current <a href="http://atlas.arbor.net/summary/fastflux">ATLAS</a> fast flux statistics (Jose Nazario, <a href="http://www.arbor.net">Arbor</a>)</li>
<li>Detection and mitigation (Christian Gorecki, <a href="http://pi1.informatik.uni-mannheim.de/index.php?pagecontent=site/Research.menu/Honeynet.page">University of Mannheim</a>)</li>
</ol>
<p>The NM-SG session was open to FIRST members only, so the slides are not publicly available, but we hope to have a public release of similar material shortly. We had a number of questions, and feedback from the attendees seems to have been positive.</p>
<p>There were three additional short demos:</p>
<ol>
<li>Florian Weimer of <a href="http://cert.uni-stuttgart.de/stats/dns-replication.php">RUS-CERT</a> showed some new passive DNS tracking information</li>
<li>Tillmann Werner from the German <a href="http://ghp.mwcollect.org/">Giraffe Honeynet Project Chapter</a> demonstrated how <a href="http://honeytrap.mwcollect.org/">Honeytrap</a>, <a href="http://libemu.mwcollect.org/">LibEmu</a> and <a href="http://nebula.mwcollect.org/">Nebula</a> can be used to <a href="http://honeytrap.mwcollect.org/whatfor">analyze unknown attacks</a>, which is looking very promising as a long term replacement for Nepenthes</li>
<li>Piotr Kijewski of the <a href="http://www.nask.pl/nask_en/">Polish CERT/NASK</a> gave a brief demonstration of their still under development HoneySpider web interface, which shares many of the features of client honeypot systems that we are currently working on but instead uses Java and Rhino instead of Python and SpiderMonkey</li>
</ol>
<p>Overall it was an interesting event, with some good talks and lot of opportunities to meet up with a different group of people very active in the security operations and incident response fields. Quiet a few <a href="http://www.honeynet.org">Honeynet Project</a> members were also present, which always encourages a little extra R&amp;D discussion. Hopefully we&#8217;ll see some spin off activity in the coming weeks.</p>
<p>Many thanks to Carol Overes from <a href="http://www.govcert.nl/">GovCERT</a> in Holland for the invite.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ukhoneynet.org/2008/07/01/first-2008/feed/</wfw:commentRss>
		</item>
		<item>
		<title>It had to happen</title>
		<link>http://www.ukhoneynet.org/2008/06/30/it-had-to-happen/</link>
		<comments>http://www.ukhoneynet.org/2008/06/30/it-had-to-happen/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 09:00:10 +0000</pubDate>
		<dc:creator>arthur</dc:creator>
		
		<category><![CDATA[Incidents]]></category>

		<category><![CDATA[News]]></category>

		<category><![CDATA[Add new tag]]></category>

		<guid isPermaLink="false">http://www.ukhoneynet.org/2008/06/30/it-had-to-happen/</guid>
		<description><![CDATA[Today we received our first bit of spam from EC2. The message itself was pretty standard:

From: "Microsoft" 
Date: 29 June 2008 11:47:43 BST
To: XXX
Subject: Important Update Notification

Hello XXX,

You are receiving this notification because the version of Windows you are running is effected by a critical security issue.

For the protection of yourself and others using the [...]]]></description>
			<content:encoded><![CDATA[<p>Today we received our first bit of spam from EC2. The message itself was pretty standard:</p>
<pre>
From: "Microsoft" <UpdateNotify56@microsoft.biz>
Date: 29 June 2008 11:47:43 BST
To: XXX
Subject: Important Update Notification

Hello XXX,

You are receiving this notification because the version of Windows you are running is effected by a critical security issue.

For the protection of yourself and others using the Windows operating system, it is reccomended that all consumers update their operating system at their earliest convenience.

To do so, you may visit Microsoft Update by clicking here, and simply pressing &#8220;Open&#8221; or &#8220;Run&#8221; to begin the automatic update process.

Thank you for your cooperation in resolving this matter.

Kind Regards,
Microsoft Customer Support
</pre>
<p>The link points to a phishing site</p>
<pre>
http://XXX/go.nhn?url=http%3A%2F%2Fupdate%2Emicrosoft%2Ecom%2E00000000000000000000000000000000000000000000000000000000000000%2Enet
</pre>
<p>So far, so standard. The interesting bit is in the headers of the message:</p>
<pre>
Received: (qmail 29794 invoked from network); 29 Jun 2008 09:53:08 -0000
Received: from ec2-75-101-198-26.compute-1.amazonaws.com (HELO ec2-75-101-198-26.compute-1.amazonaws.com) (75.101.198.26)
  by server-14.tower-117.messagelabs.com with SMTP; 29 Jun 2008 09:53:08 -0000
From: "Microsoft" <UpdateNotify56@microsoft.biz>
</pre>
<p>How long before all email from EC2 is blacklisted? It was only a matter of time before services like this started to be used for sending spam, but this is the first time I&#8217;ve seen it in the wild.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ukhoneynet.org/2008/06/30/it-had-to-happen/feed/</wfw:commentRss>
		</item>
		<item>
		<title>submit-http for nepenthes</title>
		<link>http://www.ukhoneynet.org/2008/06/03/submit-http-for-nepenthes/</link>
		<comments>http://www.ukhoneynet.org/2008/06/03/submit-http-for-nepenthes/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 16:57:01 +0000</pubDate>
		<dc:creator>jamie</dc:creator>
		
		<category><![CDATA[HOWTO]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.ukhoneynet.org/?p=406</guid>
		<description><![CDATA[A hideously simplistic PHP handler for the nepenthes submit-http module. It Works For Me &#8482;.

&#60;?php

$ts=date('U');
$log= "timestamp=$ts";
$log.=",remotehost=".$_SERVER['REMOTE_ADDR'];

foreach ($_POST as $key =&#62; $value)
{
        switch ($key)
        {

        case &#8220;url&#8221;:
        case [...]]]></description>
			<content:encoded><![CDATA[<p>A hideously simplistic PHP handler for the nepenthes submit-http module. It Works For Me &trade;.</p>
<pre>
&lt;?php

$ts=date('U');
$log= "timestamp=$ts";
$log.=",remotehost=".$_SERVER['REMOTE_ADDR'];

foreach ($_POST as $key =&gt; $value)
{
        switch ($key)
        {

        case &#8220;url&#8221;:
        case &#8220;trigger&#8221;:
        case &#8220;md5&#8243;:
        case &#8220;sha512&#8243;:
        case &#8220;filetype&#8221;:
        case &#8220;source_host&#8221;:
        case &#8220;target_host&#8221;:
        case &#8220;filename&#8221;:
          $$key = $value;

          $log .= &#8220;,$key=$value&#8221; ;
          break;
        }
}
$log=$log.&#8221;\n&#8221;;
$myFile = &#8220;/tmp/submit-log&#8221;;
$fh = fopen($myFile, &#8216;a&#8217;);
fwrite($fh, $log);
fclose($fh);

?&gt;
</pre>
<p>You&#8217;ll want your config file /etc/nepenthes/submit-http.conf to give this script as the URL, e.g. &#8220;http://myserver.example.com/submit.php&#8221; and enable the submit-http module in /etc/nepenthes/nepenthes.conf. After that, you probably want to figure out how to collect the binaries that nepenthes has just captured.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ukhoneynet.org/2008/06/03/submit-http-for-nepenthes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>p0f 2.0.8 on openWRT</title>
		<link>http://www.ukhoneynet.org/2008/06/03/p0f-208-on-openwrt/</link>
		<comments>http://www.ukhoneynet.org/2008/06/03/p0f-208-on-openwrt/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 16:38:38 +0000</pubDate>
		<dc:creator>jamie</dc:creator>
		
		<category><![CDATA[HOWTO]]></category>

		<guid isPermaLink="false">http://www.ukhoneynet.org/?p=405</guid>
		<description><![CDATA[First, read the posting by David about nepenthes on openWRT. Then get p0f from here http://lcamtuf.coredump.cx/p0f.tgz.

cd kamikaze_9.04/dl
tar zxf ~/p0f.tgz
cd p0f
vi mk/Linux

#change these lines to the full path to your compiler, include and library dirs
# probably a nicer way to do it, but i'm in a hurry 
CC      = /home/jamie/slug/kamikaze_7.09/staging_dir_armeb/bin/armeb-linux-uclibc-gcc
LIBS    = -lpcap -I/usr/include/pcap -I/usr/local/include/pcap -I/home/jamie/slug/kamikaze_7.09/build_armeb/libpcap-0.9.4/ -L/home/jamie/slug/kamikaze_7.09/build_armeb/libpcap-0.9.4/

cd [...]]]></description>
			<content:encoded><![CDATA[<p>First, read the posting by David about nepenthes on openWRT. Then get p0f from here <a href="http://lcamtuf.coredump.cx/p0f.tgz">http://lcamtuf.coredump.cx/p0f.tgz</a>.</p>
<pre>
cd kamikaze_9.04/dl
tar zxf ~/p0f.tgz
cd p0f
vi mk/Linux

#change these lines to the full path to your compiler, include and library dirs
# probably a nicer way to do it, but i'm in a hurry <img src='http://www.ukhoneynet.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
CC      = /home/jamie/slug/kamikaze_7.09/staging_dir_armeb/bin/armeb-linux-uclibc-gcc
LIBS    = -lpcap -I/usr/include/pcap -I/usr/local/include/pcap -I/home/jamie/slug/kamikaze_7.09/build_armeb/libpcap-0.9.4/ -L/home/jamie/slug/kamikaze_7.09/build_armeb/libpcap-0.9.4/

cd ..
mv p0f p0f-2.0.8
tar zcvf p0f-2.0.8.tgz p0f-2.0.8

cd ..
</pre>
<p>Now, create the Makefile below in packages/p0f/Makefile - remember to make sure it has tabs, not spaces! Then compile:</p>
<pre>
make package/p0f-compile V=99
</pre>
<p>Copy the ipkg file onto your openWRT box and install, the just type p0f to run:</p>
<pre>
== output ==

root@OpenWrt:~# p0f -l
p0f - passive os fingerprinting utility, version 2.0.8
(C) M. Zalewski &lt;lcamtuf@dione.cc&gt;, W. Stearns &lt;wstearns@pobox.com&gt;
p0f: listening (SYN) on 'eth0', 262 sigs (14 generic, cksum 0F1F5CA2), rule: 'all'.
77.a.b.c:59460 - Linux 2.6 (newer, 2) (NAT!) (up: 200 hrs) -&gt; 88.x.y.z:22 (distance 14, link: BT DSL (?))
</pre>
<pre>
== Makefile for p0f ==
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: Makefile 9695 2007-12-09 18:59:01Z nbd $

include $(TOPDIR)/rules.mk

PKG_NAME:=p0f
PKG_VERSION:=2.0.8
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=http://www.stearns.org/p0f
PKG_MD5SUM:=unknown

include $(INCLUDE_DIR)/package.mk

define Package/p0f
SECTION:=net
CATEGORY:=Network
DEPENDS:=+libpcap
TITLE:=P0f
URL:=http://http://www.stearns.org/p0f/
endef

define Package/p0f/description
P0f
endef

CONFIGURE_VARS += \
CPPFLAGS="$$$$CPPFLAGS -g " \
LIBS="-nodefaultlibs" \

define Build/Configure
$(call Build/Configure/Default,)
endef

define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)"
endef

define Package/p0f/install
install -d -m0755 $(1)/usr
install -d -m0755 $(1)/usr/bin
install -d -m0755 $(1)/etc
install -d -m0755 $(1)/etc/p0f
install -m0755 $(PKG_BUILD_DIR)/p0f $(1)/usr/bin
cp -R $(PKG_BUILD_DIR)/p0f.fp $(1)/etc/p0f
endef
#
$(eval $(call BuildPackage,p0f))
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ukhoneynet.org/2008/06/03/p0f-208-on-openwrt/feed/</wfw:commentRss>
		</item>
		<item>
		<title>EuSecWest08 roundup</title>
		<link>http://www.ukhoneynet.org/2008/05/23/eusecwest08-roundup/</link>
		<comments>http://www.ukhoneynet.org/2008/05/23/eusecwest08-roundup/#comments</comments>
		<pubDate>Fri, 23 May 2008 13:20:10 +0000</pubDate>
		<dc:creator>david</dc:creator>
		
		<category><![CDATA[Events]]></category>

		<category><![CDATA[UK presentations]]></category>

		<guid isPermaLink="false">http://www.ukhoneynet.org/2008/05/23/eusecwest08-roundup/</guid>
		<description><![CDATA[EuSecWest08 is over and seems to have been another success. The change of venue from the Victoria Park Plaza to Leicester Square and the Sound nightclub was an interesting move, which could of gone either way but seemed to work for most people and gave the event a slightly more underground, edgy feel. It was [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.eusecwest.org">EuSecWest08</a> is over and seems to have been another success. The change of venue from the Victoria Park Plaza to Leicester Square and the Sound nightclub was an interesting move, which could of gone either way but seemed to work for most people and gave the event a slightly more underground, edgy feel. It was also a great location for after hours socialising.</p>
<p>The standard of presentations and content was generally good, with a number of interesting topics and useful new tools being released. Highlights for me were:</p>
<ul>
<li><strong>Saumil Shah&#8217;s</strong> Teflon browser extension, which hooks javascript system calls such as document.write and replaces evil Javascript with harmless divs. This fits well with some of the recent evil JS research we have been doing, and we are going to do some collaboration here in the coming months.</li>
<li><strong>Alberto Revelli</strong> gave an excellent talk on taking SQL Injection vulnerabilities on Windows platform to the next level and using <a href="http://http://sqlninja.sourceforge.net/">SQLNinja</a> to establish a working remote graphical desktop. Good to see old techniques like building executables from ASCII HTTP requests plus debug.exe coming back into fashion, and an excellent example of how to escalate control from an initial foothold.</li>
<li><strong>Martyn Ruk&#8217;s</strong> review of IBM&#8217;s MQ middleware and identication of some surprisingly simple potential vulnerabilities in a number of areas. Good to see someone looking at MQ security and building tools for auditing MQ systems.</li>
</ul>
<p>Hot topics for the press were <strong>Justin Ferguson&#8217;s</strong> talk on exploiting interpreted languages like Python and PERL, resulting in potentially remotely exploitable vulnerabilities in services like the recently released Google App Engine, and <strong>Sebastian Muniz&#8217;s</strong> talk on developing the first public Cisco IOS rootkit. Both were impressive and it will be interesting to see what happens in this space over the next few months.</p>
<p>I gave another lightning talk on <a href="http://www.ukhoneynet.org/EuSecWest08_David_Watson_EvilJS.pdf">Evil Javascript and SpamMonkey</a>, which we hope to start making public soon. You can find the slides <a href="http://www.ukhoneynet.org/EuSecWest08_David_Watson_EvilJS.pdf">here</a>.</p>
<p>As always, one of the best things about the event was the opportunity to meet up with interesting people in a relaxed environment and discuss what they were working on. It was also good to get a chance to catch up with friends and various industry people. Lots of interesting contacts and discussions, and hopefully we&#8217;ll release some research in the coming months that will have benefited from them. All in all, another interesting and enjoyable (sleep deprived) SecWest event.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ukhoneynet.org/2008/05/23/eusecwest08-roundup/feed/</wfw:commentRss>
		</item>
		<item>
		<title>EuSecWest08</title>
		<link>http://www.ukhoneynet.org/2008/05/20/eusecwest08/</link>
		<comments>http://www.ukhoneynet.org/2008/05/20/eusecwest08/#comments</comments>
		<pubDate>Tue, 20 May 2008 10:32:49 +0000</pubDate>
		<dc:creator>david</dc:creator>
		
		<category><![CDATA[Events]]></category>

		<category><![CDATA[UK News]]></category>

		<guid isPermaLink="false">http://www.ukhoneynet.org/2008/05/20/eusecwest08/</guid>
		<description><![CDATA[I&#8217;m in London this week for EuSecWest08, the European version of the excellent CanSec and PacSec series of conferences, which is happening tomorrow and Thursday in Leicester Square. A couple of scheduled talks are generating interest on the net already:

Sebastian Muniz&#8217;s &#8220;Da IOS Rootkit&#8221; talk will review his reverse engineering and kernel hooking approach to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m in London this week for <a href="http://www.eusecwest.com/">EuSecWest08</a>, the European version of the excellent CanSec and PacSec series of conferences, which is happening tomorrow and Thursday in Leicester Square. A couple of scheduled talks are generating interest on the net already:</p>
<ul>
<li>Sebastian Muniz&#8217;s &#8220;<a href="http://www.eusecwest.com/sebastian-muniz-da-ios-rootkit.html">Da IOS Rootkit</a>&#8221; talk will review his reverse engineering and kernel hooking approach to building a reliable Cisco IOS rootkit</li>
<li>Justin Ferguson&#8217;s &#8220;<a href="http://www.eusecwest.com/justin-ferguson-interpreter-vm-attacks.html">Advances in attacking interpreted languages</a>&#8221; will cover the attack surface and potential vulnerabilities in Google&#8217;s recently release App Engine.</li>
</ul>
<p>Hopefully EuSec will be another interesting and entertaining event, with any honeynet-related news and events to follow.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ukhoneynet.org/2008/05/20/eusecwest08/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
