<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4912846510940416369</id><updated>2012-02-16T07:23:39.578-08:00</updated><category term='xplico'/><category term='network forensics'/><category term='information security'/><category term='NSM'/><title type='text'>Securityfu</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://securityfu.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4912846510940416369/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://securityfu.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>TOoSmOotH</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://3.bp.blogspot.com/_-HnPaFCSvBc/S1iiuffT-9I/AAAAAAAAAE8/D5xYmFUZ2rs/S220/prma.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4912846510940416369.post-5722672927214298907</id><published>2010-12-21T10:05:00.000-08:00</published><updated>2010-12-21T12:57:16.574-08:00</updated><title type='text'>Breaking up with VMware at home. Hello Virtualbox..</title><content type='html'>For several years I have run many VMs at the crib using VMWare server. It is free and easy to use so it was a great choice for the house. I could see past all the bloat of the tomcat web interface stuff since it was easy to use and maintain. Well recently a &lt;a href="http://www.vmware.com/security/advisories/VMSA-2010-0018.html"&gt;security vulnerability&lt;/a&gt; came out for VMWare Server and if you run it on linux you are SOL. I finally found the motivation to move to &lt;a href="http://www.virtualbox.org/"&gt;VirtualBox.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;First thing I did was shut down all of my existing VMWare VMs. I then issued the command:&lt;br /&gt;&lt;blockquote&gt;sudo /etc/init.d/vmware stop&lt;/blockquote&gt;&lt;br /&gt;In my experience this is not enough to kill all of the tomcat crap so find those lingering processes and knock them down kill -9 style. &lt;br /&gt;&lt;br /&gt;The next thing I did was make a copy of my current virtual machine so if I jacked something up I could always fall back to VMWare. Since VMWare has root owning the Virtual Machine you need to own it like pow. &lt;br /&gt;&lt;blockquote&gt;sudo cp -R (vmwarevmpath)/(vmname) /whatever/vmname.vbox&lt;br /&gt;sudo chown -R me:me /whatever/vmname.vbox&lt;/blockquote&gt;&lt;br /&gt;Ok so now we got the hard part done so lets go ahead and install VirtualBox. This is an Ubuntu 9.04 jaunty box so I did the added following to my /etc/apt/sources.list. If you are using a different Ubuntu version substitute your version:&lt;br /&gt;&lt;blockquote&gt;deb http://download.virtualbox.org/virtualbox/debian jaunty non-free&lt;/blockquote&gt;&lt;br /&gt;If you are using something other than Ubuntu install VirtualBox following the instructions for that distro. Let's continue on for those using Ubuntu:&lt;br /&gt;&lt;blockquote&gt;wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -&lt;br /&gt;sudo apt-get update&lt;br /&gt;sudo apt-get install virtualbox-3.2&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Ok now we need to do a little more prep work so we can get this rocking. Add your userid to the vbox user group:&lt;br /&gt;&lt;blockquote&gt;sudo useradd -G vboxusers me&lt;/blockquote&gt;&lt;br /&gt;Log out then back in and you should be cool to continue. Ok time to make the donuts. First lets find the correct OS type.You do this with issuing the following:&lt;br /&gt;&lt;blockquote&gt;$ VBoxManage list ostypes&lt;/blockquote&gt;&lt;br /&gt;This will give you a big list of OS types. Find the one that applies to your old VM. I was running Ubuntu 64 bit on this particular VM. So lets register our new VM. &lt;br /&gt;&lt;blockquote&gt;VBoxManage createvm --name "SweetVM" --ostype Ubuntu_64 --register&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;VBoxManage storagectl Ubuntu --name "IDE Controller" --add ide&lt;br /&gt;VBoxManage modifyvm "SweetVM" --hda "/whatever/vmname.vbox/SweetVM.vmdk"&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;When I ran the modifyvm command originally it complained about the IDE controller so I did some googling and found the IDE controller stuff. I had my vmware disk busted into 2 gig files and Virtualbox didn't hate on me. I read some stuff about converting stuff to the virtualbox native format but I figured what the heck and pointed it at the VMWare virtual disk file and it was cool and the gang.&lt;br /&gt;&lt;br /&gt;At this point I started it but found I had no network card listed. So let's add a NIC:&lt;br /&gt;&lt;blockquote&gt;VBoxManage modifyvm "SweetVM" --nic1 bridged&lt;br /&gt;VBoxManage modifyvm "SweetVM" --bridgeadapter1 eth0&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;So I added an interface to the VM that is a bridge adapter as well as pointed the VirtualBox secret sauce to bridge that traffic on eth0 on my host box. There are a lot of other things you can add to your vm via the modifyvm command depending on your hardware needs inside your vm. For a full list check out &lt;a href="http://www.virtualbox.org/manual/ch08.html"&gt;this link.&lt;/a&gt;&lt;br /&gt;Now for the purpose of testing lets fire it up with the remote console enabled so we can make sure everything is working. &lt;br /&gt;&lt;blockquote&gt;VBoxManage modifyvm "SweetVM" --vrdp on --vrdpport 6464 --vrdpauthtype null --vrdpmulticon on&lt;/blockquote&gt;&lt;br /&gt;Now kick the tires and light the fires. I brought it up in the foreground so I could watch any errors:&lt;br /&gt;&lt;blockquote&gt;VBoxHeadless --startvm SweetVM&lt;/blockquote&gt;&lt;br /&gt;You should see:&lt;br /&gt;&lt;blockquote&gt;Oracle VM VirtualBox Headless Interface 3.2.12&lt;br /&gt;(C) 2008-2010 Oracle Corporation&lt;br /&gt;All rights reserved.&lt;br /&gt;&lt;br /&gt;Listening on port 6464.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Now go ahead and connect via a rdp client to your host ip and the port you specified. I specified port 6464. When I connected to the box for some reason eth0 was missing. When I did an lspci it was finding an Intel nic. I found that my NIC was now eth1 so I modified my netowrk config in /etc/network/interfaces and changed everything to eth1. After I did that I did a:&lt;br /&gt;&lt;blockquote&gt;sudo ifconfig eth1 up&lt;/blockquote&gt;&lt;br /&gt;Make sure you can ping out and all that jazz now shutdown your VM. Now lets shut off console access to the VM:&lt;br /&gt;&lt;blockquote&gt;VBoxManage modifyvm "SweetVM" --vrdp off&lt;/blockquote&gt; &lt;br /&gt;Now we are ready to start this thing and toss it in the background so we don't need to see it any more.&lt;br /&gt;&lt;blockquote&gt;nohup VBoxHeadless -s SweetVM&amp;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;That's it.. I am now Virtualbox at the crib.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4912846510940416369-5722672927214298907?l=securityfu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securityfu.blogspot.com/feeds/5722672927214298907/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securityfu.blogspot.com/2010/12/breaking-up-with-vmware-at-home-hello.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4912846510940416369/posts/default/5722672927214298907'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4912846510940416369/posts/default/5722672927214298907'/><link rel='alternate' type='text/html' href='http://securityfu.blogspot.com/2010/12/breaking-up-with-vmware-at-home-hello.html' title='Breaking up with VMware at home. Hello Virtualbox..'/><author><name>TOoSmOotH</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://3.bp.blogspot.com/_-HnPaFCSvBc/S1iiuffT-9I/AAAAAAAAAE8/D5xYmFUZ2rs/S220/prma.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4912846510940416369.post-2211779599789136567</id><published>2010-03-05T09:17:00.000-08:00</published><updated>2010-03-05T10:01:05.346-08:00</updated><title type='text'>My Computer Smells Like Feet! Stories From My Early Days</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_-HnPaFCSvBc/S5FFzuC2zLI/AAAAAAAAAG0/DGxIe0yCD2U/s1600-h/feet.gif"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px; height: 168px;" src="http://4.bp.blogspot.com/_-HnPaFCSvBc/S5FFzuC2zLI/AAAAAAAAAG0/DGxIe0yCD2U/s200/feet.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5445210179303296178" /&gt;&lt;/a&gt;&lt;br /&gt;Sitting here at lunch today for some odd reason I kept thinking about some of the more entertaining experiences I have had when it comes to IT. There is one incident that stands out as stranger than fiction. I remember it plain as day and if I had to give it a name I would call it "My computer smells like feet"&lt;br /&gt;&lt;br /&gt;So I know what you are thinking this is a complete joke.. So did I when the ticket came in. We had what you could call a handler that all tickets came to and he would then distribute it to the techs. I was probably 19 years old and this was my first real IT job. I had only been on the job for a few months so I was the low man on the totem pole. I got all kinds of crappy tickets for this as sort of a right of passage. Anyways I get back from working on someone else's problem when there is a bunch of people standing around my desk. &lt;br /&gt;&lt;br /&gt;At first I was like oh no... what did I do? Did I mess something up and everyone is going to give me the business about it? (A few days before that I messed up an executive assistants machine but that is another story) So I was nervous when the handler came up to me and said we got a good one for you. The ticket says something about her computer smelling like feet. Immediately everyone else was laughing and I knew this was gunna be a shit job.&lt;br /&gt;&lt;br /&gt;Reluctantly I took the ticket and headed to the building where the user sat. I get there and the cube has a nice view with a window. Thinking this was a joke I was like "I am here for the smelly computer". That got a few laughs but unfortunately for me she was serious. So the user explains to me that she will be working on her PC and it will start smelling like funky feet. Again I probe her to see if it is a joke but she keeps reassuring me that this is serious.&lt;br /&gt;&lt;br /&gt;This was probably 1996 or 1997 and the place I was doing work used AST computers that were in a midtower case that was a pain to take apart. Also keep in mind we had to dress up for work sort of like the geek squad does now. You had to wear slacks and a tie. At this point I am under the desk on my hands and knees smelling the inside of this users PC. Just to make it more humiliating a couple of the guys came over to observe about the time I started smelling it. Everyone was sorta laughing and making fun so I was done. I thought to myself this user is playing a joke and the other techs are in on it and it is just rookie hazing. I tell the user I can't smell anything and I was tired of snorting dust bunnys. &lt;br /&gt;&lt;br /&gt;I start to put the computer back together and was pretty pissed. At this point I was quite the spectacle in this part of the office. Just when I was going to say something it happened. All of a sudden I get this huge wiff of someone's stank ass feet. It was some serious foot funk like something you would expect on the set of a tough actin tinactin commercial. It was so funky I had to get out from under the desk. I was able to confirm the users complaint that her computer smelled like feet. &lt;br /&gt;&lt;br /&gt;Here was the weird part though. The computer was turned off. After a few moments the smell dissipated so I finished assembling the PC and started looking around under the desk. Was someone using this for shoe storage or something? Then a couple of feet away under the desk was an AC vent. When the air kicked back on the smell came back. Turns out a squirrel had decided to get into the ventilation and die and the smell wasn't someone with a foot odor problem but a squirrel feeding some bacteria. &lt;br /&gt;&lt;br /&gt;Although this is a funny story and I caught a lot of shit from my peers I learned a valuable lesson that day. When troubleshooting always keep an open mind no matter how weird the problem might be. A lot of times we approach a situation where we think we already know the answer and are blind to the real source of the problem. I knew that people were pullin a fast one on me until some feet stank odor popped up and slapped me in the face to teach me this lesson. Sometimes the answer is not in front of your face.. its in the AC vent :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4912846510940416369-2211779599789136567?l=securityfu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securityfu.blogspot.com/feeds/2211779599789136567/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securityfu.blogspot.com/2010/03/my-computer-smells-like-feet-stories.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4912846510940416369/posts/default/2211779599789136567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4912846510940416369/posts/default/2211779599789136567'/><link rel='alternate' type='text/html' href='http://securityfu.blogspot.com/2010/03/my-computer-smells-like-feet-stories.html' title='My Computer Smells Like Feet! Stories From My Early Days'/><author><name>TOoSmOotH</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://3.bp.blogspot.com/_-HnPaFCSvBc/S1iiuffT-9I/AAAAAAAAAE8/D5xYmFUZ2rs/S220/prma.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_-HnPaFCSvBc/S5FFzuC2zLI/AAAAAAAAAG0/DGxIe0yCD2U/s72-c/feet.gif' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4912846510940416369.post-1802756191372460901</id><published>2010-02-28T10:12:00.000-08:00</published><updated>2010-02-28T18:28:49.677-08:00</updated><title type='text'>Vortex IDS - Get Super Snagadocious on Ubuntu</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_-HnPaFCSvBc/S4q304Sq_aI/AAAAAAAAAGs/LJo3ZYepSpA/s1600-h/images.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 86px; height: 130px;" src="http://2.bp.blogspot.com/_-HnPaFCSvBc/S4q304Sq_aI/AAAAAAAAAGs/LJo3ZYepSpA/s320/images.jpg" alt="" id="BLOGGER_PHOTO_ID_5443365218722446754" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I got bored this weekend and decided that I should play with something new so I chose to mess with &lt;a href="http://sourceforge.net/projects/vortex-ids/"&gt;Vortex&lt;/a&gt;. From the README file:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Vortex is designed to facilitate agile creation of advanced network intrusion detection or network surveillance systems. It performs the hard work of packet capture, filtering, and reassembly then provides that data to external programs for analysis. Stream data is stored in files and stream meta data is output via STDOUT (meta data is encoded in file name). Vortex provides a platform for highly flexible, multithreaded, near real time deep analysis of network payload data.&lt;/blockquote&gt;&lt;br /&gt;The first thing I noticed when trying to mess with this stuff was there was hardly any documentation. The README file had enough info though to get started. I decided I wanted to try another method for grabbing streams to analyze the email from the &lt;a href="http://forensicscontest.com/2009/10/10/puzzle-2-ann-skips-bail"&gt;SANS challenge #2&lt;/a&gt;. Although &lt;a href="http://www.xplico.org/"&gt;Xplico&lt;/a&gt; is pretty pimp I don't see it scaling to a large environment. Also I want more flexibility in case I am looking for specific threats etc. So let's get down to business.&lt;br /&gt;&lt;br /&gt;Installing Vortex&lt;br /&gt;&lt;br /&gt;I decided to use Ubuntu for this test so lets get the source:&lt;br /&gt;&lt;br /&gt;$ wget http://downloads.sourceforge.net/project/vortex-ids/vortex/2.8.1/vortex-2.8.1.tgz?use_mirror=cdnetworks-us-1&lt;br /&gt;&lt;br /&gt;$ tar zxvf vortex-2.8.1.tgz&lt;br /&gt;&lt;br /&gt;$ cd vortex/&lt;br /&gt;&lt;br /&gt;$ more README&lt;br /&gt;&lt;br /&gt;You should really check out the README file as there is a lot in there of value. So in order to get this mug to compile properly we need to solve some dependancies. Run the following command:&lt;br /&gt;&lt;br /&gt;$ sudo apt-get install libnids-dev libnet-dev libpcap-dev&lt;br /&gt;&lt;br /&gt;Now let's compile the source:&lt;br /&gt;&lt;br /&gt;$ gcc vortex.c -lnids -lpthread -Wall -o vortex&lt;br /&gt;&lt;br /&gt;Run it to see if it works:&lt;br /&gt;&lt;br /&gt;$ ./vortex -h&lt;br /&gt;&lt;br /&gt;Usage: ./vortex [ -lpmheI ] [ -c count ] [ -i device ] [ -r file ] [ -u user ] [ -S bytes ] [ -C bytes ] [-t dir ] [ -s count ] [ -H count ] [ -q limit ] [ -D level ] [-F file | -f filter ] [-M MTU (snaplen)] [-P poll rate] [ -TEK time ] [ -Q size ] [ -R usecs ] [ -Nn prio ] [ -Oo cpu ] [ -L name ]&lt;br /&gt;&lt;br /&gt;-h           print this help message and exit&lt;br /&gt;-c count     set number to connections to follow&lt;br /&gt;-i device    listen on device&lt;br /&gt;-r file      read capture from pcap file&lt;br /&gt;-l           set output to line buffering&lt;br /&gt;-p           don't put interface(s) in promiscuous mode&lt;br /&gt;-u user      after initialization, setuid to user&lt;br /&gt;-S bytes     number of bytes to collect from client to server Default: 104857600 (100MB)&lt;br /&gt;-C bytes     number of bytes to collect from server to client Default: 104857600 (100MB)&lt;br /&gt;-t dir       directory for storage of stream data (defaut: currend working dir)&lt;br /&gt;-s count     Size of connection hash table--Maximum number of streams to follow simultaneously = 3/4 * count. Default: 1048576&lt;br /&gt;                              This affects memory consumption significantly. If you have problems with TCP_LIMIT, increase this value. (See n_tcp_streams in libNIDS)&lt;br /&gt;-H count     size of IP defrag has table. Default: 65536 (See n_hosts in libNIDS)&lt;br /&gt;-m           enable libNIDS multiprocess mode DEPRICATED--don't use this (See multiproc in libNIDS)&lt;br /&gt;-q limit     set libNIDS packetqueue limit. DEPRICATED--only applies in multiproc mode&lt;br /&gt;-D level     set debug level Default: 0&lt;br /&gt;-f filter    tcpdump-style capture filter expression (don't forget quotes/shell escapes)&lt;br /&gt;-F file      file containing packet filter expression&lt;br /&gt;-M MTU       MTU or snaplen--maximum packet size to capture. default: 1560&lt;br /&gt;-w           enable libNIDS TCP/IP stack workaround mode (See TCP_workarounds in libNIDS)&lt;br /&gt;-k           disable libNIDS TCP/IP checksum processing (See TCP_checksums in libNIDS)&lt;br /&gt;-P rate      Only reassemble and collect every poll rate connections. default: 1&lt;br /&gt;-T time      Report Performance Statistics every time seconds (approx) default: 0&lt;br /&gt;-E time      Report Error counts every time seconds (approx) default: 0&lt;br /&gt;-L name      Logging name for syslog. Default: vortex&lt;br /&gt;-Q size      Size of output ring queue. Sets limit for number of finished streams waiting to be written. Default: 10000&lt;br /&gt;-R usec               Wait period in us (inverse of poll rate) for stream output thread in microseconds. Default: 10000&lt;br /&gt;-n prio               Priority (niceness) for capture thread. Can be from -20 to 19 on most systems. Default: -15&lt;br /&gt;-N prio               Priority (niceness) for other threads. Can be from -20 to 19 on most systems. Default: 10&lt;br /&gt;-o cpu                CPU to bind capture thread to. Default: 1&lt;br /&gt;-O cpu                CPU to bind other threads to. Default: 0&lt;br /&gt;-I           Lock threads to specific cores. (see o and O above). Default is to not lock so specific cores (Expiramental--still not working properly!).&lt;br /&gt;-e           enable extended output (more metadata in file name).&lt;br /&gt;-K           TCP Idle connection timeout in seconds Default: -1 (disabled). This timeout ignores empty keepalives.&lt;br /&gt;-v           Output empty streams (create files with 0 bytes).&lt;br /&gt;&lt;br /&gt;This thing has some crazy options in it. There is also something in there called xpipes. Not going to use this but we should make it work anyway.&lt;br /&gt;&lt;br /&gt;$ gcc xpipes.c -lpthread -Wall -o xpipes&lt;br /&gt;&lt;br /&gt;Ok now we are ready to analyze some data. Lets grab the pcap from the SANS example:&lt;br /&gt;&lt;br /&gt;$ wget http://forensicscontest.com/contest02/evidence02.pcap&lt;br /&gt;&lt;br /&gt;Now let's analyze it with vortex:&lt;br /&gt;&lt;br /&gt;$ ./vortex -r evidence02.pcap -t /tmp/vortexout&lt;br /&gt;Couldn't set capture thread priority!&lt;br /&gt;/tmp/vortexout/192.168.1.159:1036s64.12.102.142:587&lt;br /&gt;/tmp/vortexout/192.168.1.159:1036c64.12.102.142:587&lt;br /&gt;/tmp/vortexout/192.168.1.159:1038s64.12.102.142:587&lt;br /&gt;/tmp/vortexout/192.168.1.159:1038c64.12.102.142:587&lt;br /&gt;VORTEX_ERRORS TOTAL: 0 IP_SIZE: 0 IP_FRAG: 0 IP_HDR: 0 IP_SRCRT: 0 TCP_LIMIT: 0 TCP_HDR: 0 TCP_QUE: 0 TCP_FLAGS: 0 UDP_ALL: 0 SCAN_ALL: 0 VTX_RING: 0 OTHER: 0&lt;br /&gt;VORTEX_STATS PCAP_RECV: 0 PCAP_DROP: 0 VTX_BYTES: 288287 VTX_EST: 2 VTX_WAIT: 0 VTX_CLOSE_TOT: 2 VTX_CLOSE: 2 VTX_LIMIT: 0 VTX_POLL: 0 VTX_TIMOUT: 0 VTX_IDLE: 0 VTX_RST: 0 VTX_EXIT: 0 VTX_BSF: 0&lt;br /&gt;&lt;br /&gt;We end up with this:&lt;br /&gt;&lt;br /&gt;-rw-r--r-- 1    507 2010-02-28 14:20 192.168.1.159:1036c64.12.102.142:587&lt;br /&gt;-rw-r--r-- 1   1495 2010-02-28 14:20 192.168.1.159:1036s64.12.102.142:587&lt;br /&gt;-rw-r--r-- 1    507 2010-02-28 14:20 192.168.1.159:1038c64.12.102.142:587&lt;br /&gt;-rw-r--r-- 1 285778 2010-02-28 14:20 192.168.1.159:1038s64.12.102.142:587&lt;br /&gt;&lt;br /&gt;Let's take a looksie at the contents of one of the files:&lt;br /&gt;&lt;br /&gt;EHLO annlaptop&lt;br /&gt;AUTH LOGIN&lt;br /&gt;c25lYWt5ZzMza0Bhb2wuY29t&lt;br /&gt;NTU4cjAwbHo=&lt;br /&gt;MAIL FROM: &lt;sneakyg33k@aol.com&gt;&lt;br /&gt;RCPT TO: &lt;sec558@gmail.com&gt;&lt;br /&gt;DATA&lt;br /&gt;Message-ID: &lt;000901ca49ae$89d698c0$9f01a8c0@annlaptop&gt;&lt;br /&gt;From: "Ann Dercover" &lt;sneakyg33k@aol.com&gt;&lt;br /&gt;To: &lt;sec558@gmail.com&gt;&lt;br /&gt;Subject: lunch next week&lt;br /&gt;Date: Sat, 10 Oct 2009 07:35:30 -0600&lt;br /&gt;MIME-Version: 1.0&lt;br /&gt;Content-Type: multipart/alternative;&lt;br /&gt;boundary="----=_NextPart_000_0006_01CA497C.3E4B6020"&lt;br /&gt;X-Priority: 3&lt;br /&gt;X-MSMail-Priority: Normal&lt;br /&gt;X-Mailer: Microsoft Outlook Express 6.00.2900.2180&lt;br /&gt;X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180&lt;br /&gt;&lt;br /&gt;--SNIP--&lt;br /&gt;&lt;br /&gt;So there are all kinds of goodies in there. We see the entire email content in this easily searchable stream.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Possibilities?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;There are a ton of different things you could do at this point. Let's say you just want to capture all email from an smtp gateway you could run the following:&lt;br /&gt;&lt;br /&gt;$ vortex -i eth1 -t /data/vortexstreams -f "tcp port 25" -e -K 300&lt;br /&gt;&lt;br /&gt;That would give you an archive of all your emails sent and received from your gateways. (assuming you tapped the interface of said gateways and plugged eth1 into the tap) You want to know all emails sent to sec558@gmail.com? Try this:&lt;br /&gt;&lt;br /&gt;$ grep "RCPT TO: sec558@gmail.com" *&lt;br /&gt;192.168.1.159:1036s64.12.102.142:587:RCPT TO: sec558@gmail.com&lt;br /&gt;&lt;br /&gt;note: Blogger doesn't like &lt;&gt; so you need to wrap the email in them to actually make it work.&lt;br /&gt;&lt;br /&gt;Some new worm send a document called secretrendezvous.docx and you want to know who got it?&lt;br /&gt;&lt;br /&gt;$ grep "filename=\"secretrendezvous.docx\"" *&lt;br /&gt;192.168.1.159:1038s64.12.102.142:587:   filename="secretrendezvous.docx"&lt;br /&gt;&lt;br /&gt;$ grep "RCPT TO" 192.168.1.159\:1038s64.12.102.142\:587&lt;br /&gt;RCPT TO: mistersecretx@aol.com&lt;br /&gt;&lt;br /&gt;Time to rebuild mistersecretx's machine. So again the sky is the limit here on stuff you can do. You can easily write a script that scans the directory that the streams are in or you can squirt it directly into a custom analyzer.&lt;br /&gt;&lt;br /&gt;In the README there is an example to analyze on the fly:&lt;br /&gt;&lt;br /&gt;vortex -i eth0 -s 1000000 -C 0 -S 1000 -l -t /dev/shm/ -f "tcp port 21" -e -K 300 | while read file&lt;br /&gt; #Loop on each stream file. file contains metadata that looks something like "/dev/shm/tcp-38-1261503711-1261503711-c-174-172.16.17&lt;br /&gt;.18:3787s10.20.30.40:21"&lt;br /&gt; do&lt;br /&gt;     #extract credentials from stream&lt;br /&gt;     CREDS=`cat $file | tr '\r\n' '  ' | sed -r 's/.*USER (\S+)  PASS (\S+) .+$/\1 \2/g'`&lt;br /&gt;     #CREDS is something like "username password"&lt;br /&gt;&lt;br /&gt;     RESULT=`echo "$CREDS" | cut -f 1 -d " " --complement | /usr/sbin/cracklib-check`&lt;br /&gt;     #RESULTS is either "password: warning message" or "password: OK"&lt;br /&gt;&lt;br /&gt;     #If password isn't OK, the log then username, warning message, and connection info&lt;br /&gt;     if ! echo $RESULT | grep "OK$" &gt; /dev/null&lt;br /&gt;     then&lt;br /&gt;         USER=`echo $CREDS | cut -f 1 -d " "`&lt;br /&gt;         MESSAGE=`echo $RESULT | awk -F: '{ print $NF }'`&lt;br /&gt;         METADATA=`basename $file`&lt;br /&gt;&lt;br /&gt;         echo "Weak password ($MESSAGE ) for $USER in connection $METADATA" | logger -t "ftp_pass_check" -s&lt;br /&gt;     fi&lt;br /&gt;&lt;br /&gt;     #Purge the file&lt;br /&gt;     rm $file&lt;br /&gt; done&lt;br /&gt;&lt;br /&gt;So far I am really impressed by Vortex. This thing looks really cool as to what you can do with it. I really want to play with it some more and will definately do a part 2 to this post where I take this example to the next level. There are a few answers I need to come up with first though. Do I want an entire archive of sent and received internet emails? What are the legal ramifications of said archive? Do I want to only save streams of emails with links embedded in them or only emails with attachments? Do I want to extract the actual attachment and run them through something else? Do I want to index these badboys into a database?&lt;br /&gt;&lt;br /&gt;Before you answer these questions consider this scenario. Your organization is targeted for a 0-day attack via a phishing email using a malicious pdf file. Let's say this malware creates a conduit for a badguy to take control of the users PC. Then the badguy deletes the email and the pdf and now has full control of this machine. You could say wait.. I have AV running on my mail servers and on the PC. But when it came in AV never detected it and now since they deleted it its gone and will never be detected again. This is where an external email archive would come in handy. You track down a user who noticed this email seemed weird with an attachment named "Marketing Report.pdf". You could now go to your streams directory and grep the streams for "filename=MarketingReport.pdf" and get a list of all the emails that came in with that attachment and the users whom received it.&lt;br /&gt;&lt;br /&gt;Keep an eye out for part 2 :)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/mistersecretx@aol.com&gt;&lt;/sec558@gmail.com&gt;&lt;/sneakyg33k@aol.com&gt;&lt;/sec558@gmail.com&gt;&lt;/sneakyg33k@aol.com&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4912846510940416369-1802756191372460901?l=securityfu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securityfu.blogspot.com/feeds/1802756191372460901/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securityfu.blogspot.com/2010/02/vortex-ids-get-super-snagadocious-on.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4912846510940416369/posts/default/1802756191372460901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4912846510940416369/posts/default/1802756191372460901'/><link rel='alternate' type='text/html' href='http://securityfu.blogspot.com/2010/02/vortex-ids-get-super-snagadocious-on.html' title='Vortex IDS - Get Super Snagadocious on Ubuntu'/><author><name>TOoSmOotH</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://3.bp.blogspot.com/_-HnPaFCSvBc/S1iiuffT-9I/AAAAAAAAAE8/D5xYmFUZ2rs/S220/prma.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_-HnPaFCSvBc/S4q304Sq_aI/AAAAAAAAAGs/LJo3ZYepSpA/s72-c/images.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4912846510940416369.post-8733059751782534740</id><published>2010-02-20T11:56:00.001-08:00</published><updated>2010-02-20T14:57:15.701-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NSM'/><category scheme='http://www.blogger.com/atom/ns#' term='xplico'/><category scheme='http://www.blogger.com/atom/ns#' term='network forensics'/><category scheme='http://www.blogger.com/atom/ns#' term='information security'/><title type='text'>Xplico and SANS Forensic Challenge #2</title><content type='html'>So after installing &lt;a href="http://www.xplico.org/"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;Xplico&lt;/span&gt;&lt;/a&gt; I wanted to give it a shot and do a forensic investigation using it. I chose &lt;a href="http://forensicscontest.com/2009/10/10/puzzle-2-ann-skips-bail"&gt;this puzzle&lt;/a&gt; since at the time I was playing with this it had just wrapped up and the &lt;a href="http://forensicscontest.com/2009/11/24/puzzle-2-answers"&gt;answers&lt;/a&gt; were available to check against. Now in order to complete this thing I will have to use more tools than &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;Xplico&lt;/span&gt; but I will try and use it wherever possible.&lt;br /&gt;&lt;br /&gt;So let's log in and create a new case. We shall call it SANS Puzzle 2:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_-HnPaFCSvBc/S4BCA0jm_SI/AAAAAAAAAFk/YWYiIRtaO3o/s1600-h/xplicocreatenew.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 268px;" src="http://4.bp.blogspot.com/_-HnPaFCSvBc/S4BCA0jm_SI/AAAAAAAAAFk/YWYiIRtaO3o/s320/xplicocreatenew.png" alt="" id="BLOGGER_PHOTO_ID_5440420931738991906" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now click on the case so we can create a new session. We shall call it "Let's Rock This":&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_-HnPaFCSvBc/S4BVLFTMmSI/AAAAAAAAAF0/lsf-DPU2hYs/s1600-h/letsrock.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 268px;" src="http://3.bp.blogspot.com/_-HnPaFCSvBc/S4BVLFTMmSI/AAAAAAAAAF0/lsf-DPU2hYs/s320/letsrock.png" alt="" id="BLOGGER_PHOTO_ID_5440441998753175842" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;OK... Click on the session. You should get a &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;purty&lt;/span&gt; screen that looks like this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_-HnPaFCSvBc/S4BVmYDhRQI/AAAAAAAAAF8/Df0eFyznpQU/s1600-h/purty.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 268px;" src="http://1.bp.blogspot.com/_-HnPaFCSvBc/S4BVmYDhRQI/AAAAAAAAAF8/Df0eFyznpQU/s320/purty.png" alt="" id="BLOGGER_PHOTO_ID_5440442467644163330" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Time to upload the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;pcap&lt;/span&gt; file. All the cool kids &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;md&lt;/span&gt;5sum the evidence file so we know we are working with the right stuff here. It should be:&lt;br /&gt;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;cfac&lt;/span&gt;149a49175ac8e89d5b5b5d69bad3  evidence02.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;pcap&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Give it a few moments (depending on your &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;puter&lt;/span&gt;) and let it do it's thing. You should get a screen that looks like this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_-HnPaFCSvBc/S4BWE_SOYjI/AAAAAAAAAGE/_buOzb0IyVM/s1600-h/processed.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 268px;" src="http://4.bp.blogspot.com/_-HnPaFCSvBc/S4BWE_SOYjI/AAAAAAAAAGE/_buOzb0IyVM/s320/processed.png" alt="" id="BLOGGER_PHOTO_ID_5440442993570898482" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now let's look at the questions from the contest. Question #1 What is Ann's email?&lt;br /&gt;&lt;br /&gt;So normally you could fire up &lt;a href="http://www.wireshark.org/"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;Wireshark&lt;/span&gt;&lt;/a&gt; on this mug and find the SMTP packets and get the info. Who wants to do that though when you can click email on the left hand side and see all the emails contained in the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;pcap&lt;/span&gt;? :)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_-HnPaFCSvBc/S4BW0RsqsdI/AAAAAAAAAGM/8SUoUbjhGwQ/s1600-h/emaillist.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 268px;" src="http://2.bp.blogspot.com/_-HnPaFCSvBc/S4BW0RsqsdI/AAAAAAAAAGM/8SUoUbjhGwQ/s320/emaillist.png" alt="" id="BLOGGER_PHOTO_ID_5440443805967495634" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;We click the first email listed and what can one say? &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_10"&gt;Scandalous&lt;/span&gt;! Here is the email:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_-HnPaFCSvBc/S4BX8_fmQeI/AAAAAAAAAGU/Xu5hKfpOUpk/s1600-h/theemail.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 268px;" src="http://4.bp.blogspot.com/_-HnPaFCSvBc/S4BX8_fmQeI/AAAAAAAAAGU/Xu5hKfpOUpk/s320/theemail.png" alt="" id="BLOGGER_PHOTO_ID_5440445055211291106" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So we can answer question #1. Ann's email is &lt;span style="font-weight: bold;"&gt;Ann &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;Dercover&lt;/span&gt; sneakyg33k@aol.com&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now we need her password which is question #2. This is a pretty nice feature with &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;Xplico&lt;/span&gt;. Hover over the info.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_13"&gt;xml&lt;/span&gt; and save the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_14"&gt;pcap&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Open the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_15"&gt;pcap&lt;/span&gt; in &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_16"&gt;Wireshark&lt;/span&gt; and cruise down to packet #14 to grab the Base64 encoded password.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_-HnPaFCSvBc/S4BfwdSYoVI/AAAAAAAAAGk/fFN61wRZu-4/s1600-h/wireshark2.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 192px;" src="http://4.bp.blogspot.com/_-HnPaFCSvBc/S4BfwdSYoVI/AAAAAAAAAGk/fFN61wRZu-4/s320/wireshark2.png" alt="" id="BLOGGER_PHOTO_ID_5440453635963658578" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Ann really should think about using an email provider that doesn't pass credentials in the clear. Cruise over to &lt;a href="http://www.opinionatedgeek.com/dotnet/tools/Base64Decode/Default.aspx"&gt;here&lt;/a&gt; and paste the password in there (&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_17"&gt;NTU&lt;/span&gt;4&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_18"&gt;cjAwbHo&lt;/span&gt;= is what you paste but you already knew that) and you hit decode and PLOW!!!! &lt;span style="font-weight: bold;"&gt;Ann's password is 558r00&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_19"&gt;lz&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Question #3: What is Ann's "Lover's" email? &lt;mistersecretx@aol.com&gt; &lt;/mistersecretx@aol.com&gt;&lt;span style="font-weight: bold;"&gt;mistersecretx@aol.com &lt;/span&gt;&lt;mistersecretx@aol.com&gt;is in the email we looked at above.&lt;br /&gt;&lt;/mistersecretx@aol.com&gt;&lt;br /&gt;&lt;mistersecretx@aol.com&gt;Question #4: What items is &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_20"&gt;mistersecretx&lt;/span&gt; &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_21"&gt;supposed&lt;/span&gt; to bring with him? Again look in the email above and we can see that he is &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_22"&gt;supposed&lt;/span&gt; to bring his bootleg passport and a &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_23"&gt;speedo&lt;/span&gt;. (&lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_24"&gt;Technically&lt;/span&gt; the answer is a &lt;span style="font-weight: bold;"&gt;fake passport and a bathing suit&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt;Question #5: What is the name of the attachment? Easy one again with &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_25"&gt;Xplico&lt;/span&gt;. Look at the email and you see it right there.  &lt;span style="font-weight: bold;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_26"&gt;secretrendezvous&lt;/span&gt;.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_27"&gt;docx&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Question #6: What is the MD5 sum of the attachment? On this one you have to do a little massaging for ease of use later. When I save the attachment in the email it saves it as "3". I renamed it so that the name was right then pumped it through &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_28"&gt;md&lt;/span&gt;5sum:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;9e423e11db88f01&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_29"&gt;bbff&lt;/span&gt;81172839e1923  &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_30"&gt;secretrendezvous&lt;/span&gt;.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_31"&gt;docx&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Question #7: In what CITY and COUNTRY is their &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_32"&gt;rendez&lt;/span&gt;-&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_33"&gt;vous&lt;/span&gt; point? Since we renamed it to the correct extension &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_34"&gt;openoffice&lt;/span&gt; opened it right up and here is what it looks like:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_-HnPaFCSvBc/S4BUe74BfJI/AAAAAAAAAFs/Z14BmqtFZoE/s1600-h/Screenshot-secretrendezvous.docx+-+OpenOffice.org+Writer.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 293px; height: 320px;" src="http://3.bp.blogspot.com/_-HnPaFCSvBc/S4BUe74BfJI/AAAAAAAAAFs/Z14BmqtFZoE/s320/Screenshot-secretrendezvous.docx+-+OpenOffice.org+Writer.png" alt="" id="BLOGGER_PHOTO_ID_5440441240309038226" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;VIVA LA MEXICO!!!!! The answer is: &lt;span style="font-weight: bold;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_35"&gt;Playa&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_36"&gt;del&lt;/span&gt; Carmen, Mexico&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Question #8: What is the MD5 sum of the embedded picture? &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_37"&gt;Xplico&lt;/span&gt; doesn't really help here except for getting us the attachment to work with. So in a terminal run the following commands:&lt;br /&gt;&lt;br /&gt;$unzip &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_38"&gt;secretrendezvous&lt;/span&gt;.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_39"&gt;docx&lt;/span&gt;&lt;br /&gt;$&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_40"&gt;cd&lt;/span&gt; word&lt;br /&gt;$&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_41"&gt;cd&lt;/span&gt; media&lt;br /&gt;$&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_42"&gt;md&lt;/span&gt;5sum image1.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_43"&gt;png&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_44"&gt;aadeace&lt;/span&gt;50997b1&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_45"&gt;ba&lt;/span&gt;24b09ac2&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_46"&gt;ef&lt;/span&gt;1940b7  image1.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_47"&gt;png&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;That's it as far as the contest is concerned. This thing has a ton of capabilities and I plan on exploring them further by doing some of the other challenges so check back. When I originally tried this challenge I used &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_48"&gt;tcpdump&lt;/span&gt; and &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_49"&gt;wireshark&lt;/span&gt; to get a lot of these answers but it was very time consuming. When time is of the essence it is nice to have tools that make things easy. Looking at the forums I see that this is actively being improved and I am very impressed overall by the tool.&lt;br /&gt;&lt;br /&gt;There are some gaps with this tool though. I recently did the Honeynet Challenge #1 and Xplico doesn't help at all really. You can see some of the FTP information but other than that there really isn't anything there. It does look promising for the Honeynet Challenge #2 though :)&lt;br /&gt;&lt;/mistersecretx@aol.com&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4912846510940416369-8733059751782534740?l=securityfu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securityfu.blogspot.com/feeds/8733059751782534740/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securityfu.blogspot.com/2010/02/xplico-and-sans-forensic-challenge-2.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4912846510940416369/posts/default/8733059751782534740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4912846510940416369/posts/default/8733059751782534740'/><link rel='alternate' type='text/html' href='http://securityfu.blogspot.com/2010/02/xplico-and-sans-forensic-challenge-2.html' title='Xplico and SANS Forensic Challenge #2'/><author><name>TOoSmOotH</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://3.bp.blogspot.com/_-HnPaFCSvBc/S1iiuffT-9I/AAAAAAAAAE8/D5xYmFUZ2rs/S220/prma.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_-HnPaFCSvBc/S4BCA0jm_SI/AAAAAAAAAFk/YWYiIRtaO3o/s72-c/xplicocreatenew.png' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4912846510940416369.post-3301291506036366160</id><published>2010-02-17T20:29:00.000-08:00</published><updated>2010-02-18T10:09:30.815-08:00</updated><title type='text'>Installing Xplico</title><content type='html'>I have been scouring the internet for some useful forensic tools when I cam across a tool call &lt;a href="http://www.xplico.org/"&gt;Xplico&lt;/a&gt;. I wanted to do some of the &lt;a href="http://forensicscontest.com/puzzles"&gt;forensic challenges&lt;/a&gt; offered by the folks over at SANS and it looks like to win anything you have to write tools. Realistically in a high paced environment the luxury of having time to write your own tools sometimes doesn't exist.&lt;br /&gt;&lt;br /&gt;Xplico has a couple of install options. First they have a virtualbox VM that you can download. If you are running Ubuntu 9.10 they have a nice .deb package for you. And for the brave ones they have the source that you can build yourself. I am running Ubuntu 9.10 64bit style so I need to do a little extra to get the prepackage to work.&lt;br /&gt;&lt;br /&gt;So let's get our download on:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;span style="font-style: italic;"&gt;          $ wget http://downloads.sourceforge.net/project/xplico/Xplico%20versions/version%200.5.4/xplico_0.5.4_i386.deb?use_mirror=softlayer&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;When I tried to force install it on a 64bit OS I got all this stuff:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;xplico depends on libice6 (&gt;= 1:1.0.0); however:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Package libice6 is not installed.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;xplico depends on libmysqlclient16 (&gt;= 5.1.21-1); however:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Package libmysqlclient16 is not installed.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;xplico depends on libsm6; however:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Package libsm6 is not installed.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;xplico depends on libsqlite0 (&gt;= 2.8.17); however:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Package libsqlite0 is not installed.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;xplico depends on libxt6; however:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Package libxt6 is not installed.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;xplico depends on tshark; however:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Package tshark is not installed.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;xplico depends on python-all; however:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Package python-all is not installed.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;xplico depends on apache2.2-common; however:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Package apache2.2-common is not installed.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;xplico depends on php5-common; however:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Package php5-common is not installed.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;xplico depends on libapache2-mod-php5; however:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Package libapache2-mod-php5 is not installed.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;xplico depends on php5-sqlite; however:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Package php5-sqlite is not installed.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;xplico depends on php5-cli; however:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Package php5-cli is not installed.&lt;/span&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Ubuntu is supossed to be cool enough to go download all this crap but somehow it was stuck. So I did the following:&lt;br /&gt;&lt;blockquote style="font-style: italic;"&gt;$ sudo apt-get install libice6 tshark libsm6 build-essential&lt;/blockquote&gt;After that I was able to give it a:&lt;br /&gt;&lt;blockquote style="font-style: italic;"&gt;$ sudo apt-get -f install &lt;/blockquote&gt;This basically fixed all my jacked up packages and looked like everything installed properly.&lt;br /&gt;&lt;br /&gt;So at this point lets see if it worked. Give your terminal one of these&lt;br /&gt;&lt;blockquote&gt;$ xplico -h&lt;/blockquote&gt;&lt;br /&gt;It should print out the help. So now lets fire up our interwebs and see what this looks like. Connect to the host you installed it on on port 9876.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.xplico.org/wp-content/uploads/2008/11/xwi_login.png"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 790px; height: 387px;" src="http://www.xplico.org/wp-content/uploads/2008/11/xwi_login.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;So that is how I got mine working. Coming up next is using this tool :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4912846510940416369-3301291506036366160?l=securityfu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securityfu.blogspot.com/feeds/3301291506036366160/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securityfu.blogspot.com/2010/01/installing-xplico.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4912846510940416369/posts/default/3301291506036366160'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4912846510940416369/posts/default/3301291506036366160'/><link rel='alternate' type='text/html' href='http://securityfu.blogspot.com/2010/01/installing-xplico.html' title='Installing Xplico'/><author><name>TOoSmOotH</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://3.bp.blogspot.com/_-HnPaFCSvBc/S1iiuffT-9I/AAAAAAAAAE8/D5xYmFUZ2rs/S220/prma.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4912846510940416369.post-7520897705831392420</id><published>2010-01-21T18:14:00.000-08:00</published><updated>2010-01-21T18:15:05.589-08:00</updated><title type='text'>OMG It's Operation Aurora!!!</title><content type='html'>So lately the interwebs are abuzz with this whole China vs Google Operation Aurora stuff and it got me thinking of a couple of things. One of my flaws when it comes to InfoSec is that I always try and think how can I prevent something like this happening? So the more I think about APT and how to defend against it the more depressed I get.&lt;br /&gt;&lt;br /&gt;Realistically most organizations can't kick Microsoft to the curb and use a real OS like Linux. :) They have years and years of entrenched VB and access applications that run the show. No matter how much you communicate and try and train users about phishing they will continue to click on it. Basically the deck is stacked against security professionals. Windows + Users = FAIL&lt;br /&gt;&lt;br /&gt;No one said security is easy and I am not looking for someone to jump in with a magic wand and fix all the problems. (even though that would be nice) I am simply saying that if companies want to get serious about keeping their IP and for some companies our national security in tact its time to make serious changes.&lt;br /&gt;&lt;br /&gt;I know I have changed my outlook on securing an organization due to current threats. No matter how well you harden your systems and patch your vulnerabilities it really amounts to nothing if you don't get medieval on your clients. The "baddies" are going after your clients. Your weakest link is your clients. The thing that should be keeping you up at night is your clients.&lt;br /&gt;&lt;br /&gt;So what is the answer? Concentrate on detection and containment. It's no longer if you will get pwned it is when. You need to know when they are stealing your stuff and how much they got.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4912846510940416369-7520897705831392420?l=securityfu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securityfu.blogspot.com/feeds/7520897705831392420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securityfu.blogspot.com/2010/01/omg-its-operation-aurora.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4912846510940416369/posts/default/7520897705831392420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4912846510940416369/posts/default/7520897705831392420'/><link rel='alternate' type='text/html' href='http://securityfu.blogspot.com/2010/01/omg-its-operation-aurora.html' title='OMG It&apos;s Operation Aurora!!!'/><author><name>TOoSmOotH</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://3.bp.blogspot.com/_-HnPaFCSvBc/S1iiuffT-9I/AAAAAAAAAE8/D5xYmFUZ2rs/S220/prma.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4912846510940416369.post-7015881582939059323</id><published>2010-01-19T18:33:00.001-08:00</published><updated>2010-01-19T18:35:30.839-08:00</updated><title type='text'>First</title><content type='html'>This is my first post.. Here is to more interesting posts in the future!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4912846510940416369-7015881582939059323?l=securityfu.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securityfu.blogspot.com/feeds/7015881582939059323/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securityfu.blogspot.com/2010/01/test.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4912846510940416369/posts/default/7015881582939059323'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4912846510940416369/posts/default/7015881582939059323'/><link rel='alternate' type='text/html' href='http://securityfu.blogspot.com/2010/01/test.html' title='First'/><author><name>TOoSmOotH</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://3.bp.blogspot.com/_-HnPaFCSvBc/S1iiuffT-9I/AAAAAAAAAE8/D5xYmFUZ2rs/S220/prma.jpg'/></author><thr:total>0</thr:total></entry></feed>
