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

<channel>
	<title>bamed.org &#187; Just Plain Geeky</title>
	<atom:link href="http://www.bamed.org/category/just-plain-geeky/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bamed.org</link>
	<description>chown -R bamed. ~/base</description>
	<lastBuildDate>Sun, 18 Sep 2011 23:35:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Social media and the news</title>
		<link>http://www.bamed.org/2011/05/28/social-media-and-the-news/</link>
		<comments>http://www.bamed.org/2011/05/28/social-media-and-the-news/#comments</comments>
		<pubDate>Sat, 28 May 2011 00:46:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Just Plain Geeky]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://www.bamed.org/?p=469</guid>
		<description><![CDATA[A couple of years ago, we dropped cable TV and setup our XBox to watch live streaming Netflix. After awhile, I put together a computer running Boxee, and we started watching Hulu and other shows that way. Now we&#8217;ve got a PS3 along with the XBox, and Hulu Plus is available on both. I&#8217;ve also [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of years ago, we dropped cable TV and setup our XBox to watch live streaming Netflix.  After awhile, I put together a computer running Boxee, and we started watching Hulu and other shows that way.  Now we&#8217;ve got a PS3 along with the XBox, and Hulu Plus is available on both.  I&#8217;ve also got PlayOn, and can watch Hulu, Netflix, etc. on my modded Nook Color.  Basically, our family gets all of our video entertainment through the Internet and only the Internet.  So when a tornado sweeped through my home town of Joplin, there was no breaking in, no important news updates, but we knew about it almost as instantly as it happened.<br />
Thanks to Facebook and Twitter, we found out through friends and family that our hometown was under a tornado watch.  Then the rumors started pouring in that St. John&#8217;s Hospital in Joplin was hit by a tornado and suffered severe damage.  A quick Google search later and I&#8217;m reading live updated over twitter from various sources describing the damage, and linking to a live video feed on the Weather Channel&#8217;s website.  Then the personal reports from friends and family started pouring in.<br />
One friend reported early that her father&#8217;s house in Duquesne ( a suburb on the East side of Joplin) was destroyed.  Once I realized that St. John&#8217;s and Duquesne were damaged, I realized that my sister&#8217;s house was in between those two points.  I sent her a quick text, and got a call back from my brother-in-law letting me know that both my sisters and their husbands were safe, though one of my sisters&#8217; house of damaged.  A little while later we got a call from my wife&#8217;s sister.  She told us that she was in her vehicle with her family at the corner of 20th and Rangeline (which we already knew suffered sever damage).  My brother-in-law got some nasty cuts on his back because he was shielding the rest of his family, but he&#8217;s OK.  Their car is totaled, but they&#8217;re OK.<br />
For hours, my wife and I kept watching Facebook updates and twitter feeds, and saw pictures and videos of various spots around Joplin that we know well and the after effects of the tornado.<br />
At some point during the chaos I had to sit back and was just a little amazed at the wealth of up-to-date information that was readily available to me, and that I was able to connect with so many family and friends and find out who was safe, who lost their house, and who was in ICU within hours of the tornado hitting thanks to both Facebook and Twitter.  If we had cable, we would have been glued to the <a href="http://www.weather.com">Weather Channel</a> or CNN or some other station and would never have learned as much about the things that we cared the most about.  Even the live feed on the Weather Channel&#8217;s website only focused on one small section on the far West end of Joplin, away from the center of commerce.<br />
Anyway, whenever a disaster strikes, somebody always comments on how social media has changed the way we connect to the world, so I&#8217;m just saying it again.  And in this case, it has changed for the better.  Without <a href="http://www.facebook.com">Facebook</a> and<a href="http://www.twitter.com"> Twitter</a> there would be people that I still don&#8217;t know if they&#8217;re alive or not, but thanks to these media outlets I know that my friends and family are safe.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bamed.org/2011/05/28/social-media-and-the-news/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oops&#8230; Did I do that?  And basic Cpanel restore guide.</title>
		<link>http://www.bamed.org/2011/04/14/oops-did-i-do-that-and-basic-cpanel-restore-guide/</link>
		<comments>http://www.bamed.org/2011/04/14/oops-did-i-do-that-and-basic-cpanel-restore-guide/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 14:27:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CPanel]]></category>
		<category><![CDATA[Just Plain Geeky]]></category>

		<guid isPermaLink="false">http://www.bamed.org/?p=447</guid>
		<description><![CDATA[Um.. I hate to admit it, but I just made a (l)User mistake.  I just deleted my blog.  Not sure exactly how, must have clicked on the wrong thing or something, or else things weren&#8217;t setup the way I thought they were.  Basically, I was trying to clean up my hosting account with the wonderful [...]]]></description>
			<content:encoded><![CDATA[<p>Um.. I hate to admit it, but I just made a (l)User mistake.  I just deleted my blog.  Not sure exactly how, must have clicked on the wrong thing or something, or else things weren&#8217;t setup the way I thought they were.  Basically, I was trying to clean up my hosting account with the wonderful hosting company Hostgator.  My wife has had several blogs through the years and I was trying to remove one that she hasn&#8217;t used in a few(4-5) years.  I had installed it using Fantastico Deluxe, so I went to remove it from Fantastico, but instead it deleted bamed.org!!!</p>
<p>Well, unlike many users I run across, I had a backup.  it was about a week old, but I only lost one blog post, so not really a huge deal.</p>
<p>So, as any IT guy will tell you, BACKUP! BACKUP! BACKUP!</p>
<p>FYI, Cpanel makes this pretty easy and HostGator has an easy to follow tutorial at <a href="http://support.hostgator.com/articles/cpanel/how-to-generatedownload-a-full-backup">http://support.hostgator.com/articles/cpanel/how-to-generatedownload-a-full-backup</a>.  Restoring is actually pretty simple too.  If you have root on the server it&#8217;s real easy (I don&#8217;t from home), but if you are a HostGator customer and you have a full backup all you need to do is upload it to your account and fill out the form at <a href="https://secure.hostgator.com/restore.php">https://secure.hostgator.com/restore.php</a> and be sure to specify the location of the backup that you generated and a friendly HostGator admin (maybe even me) will restore the backup for you at no charge.</p>
<p>If you don&#8217;t have root, and you only need to restore a few files, or a database or two, you can also do it manually.  The CPanel generated backup is just a zipped up tarball that includes all of your account information in a few directories, a tarball of your home directory, and some SQL dumps of your MySQL databases.  So, I untarred my backup from SSH on the suer as my user:</p>
<p style="padding-left: 30px;">~: tar -xvzf ????backup-4.5.2011_18-38-58_bamed.tar.gz</p>
<p>?This puts the content of the backup in ~/backup-4.5.2011_18-38-58_bamed.  Then all of my home directory is in a tarball named homdir.tar, so I untar it with:</p>
<p style="padding-left: 30px;">~: tar -xvf backup-4.5.2011_18-38-58_bamed/homedir.tar</p>
<p>I ran this from my home directory, so the contents of homedir.tar extract directly into my home directory all the files going into the right places.  Once that was done, then I re-created my WordPress database in MySQL by following the instructions at <a href="http://www.hostgator.com/tutorials/cpanel/hgx3/creating-a-mysql-database.htm">http://www.hostgator.com/tutorials/cpanel/hgx3/creating-a-mysql-database.htm</a>.  Not that I needed to actually follow the tutorial, I just low HG video tutorials.  Save me a lot of time trying to explain step-by-step instructions.  Anyway, I created the same DB name, unsername, and password that I had used before accidentally deleting everything.  If you don&#8217;t have this information saved, after you restore your homedir you can pull it from your wp-config.php file.</p>
<p>Anyway, after recreating the DB, I was able to restore it from the backup in ~/backup-4.5.2011_18-38-58_bamed/mysql.  The actual name of the backup file is the same as the name of the database you are restoring.  Just go to PHPMyAdmin from Cpanel and restore the database using the instructions at <a href="http://support.hostgator.com/articles/cpanel/how-to-import-your-mysql-database">http://support.hostgator.com/articles/cpanel/how-to-import-your-mysql-database</a>.  (Again, love those HG tutorials)</p>
<p>Then my site was back exactly as it had been on 4-5-2011 at 18:38:58(CDT).  Pretty exciting ehh?</p>
<p>So, that&#8217;s a quick rundown of doing a manual restore.  If I actually needed to restore some domain names, or email addresses, or anything else it would be a little more complicated, but I was only worried about a few files and one database so it was pretty easy and only took a few minutes.  I could have let my peers at HG do it, but why waste their time when I can do it myself.  Let them spend their time helping our customers.</p>
<p>Anyway, hopefully I&#8217;ll get back and blog some more stuff later.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bamed.org/2011/04/14/oops-did-i-do-that-and-basic-cpanel-restore-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>So long, and thanks for all the fish!</title>
		<link>http://www.bamed.org/2010/12/09/so-long-and-thanks-for-all-the-fish/</link>
		<comments>http://www.bamed.org/2010/12/09/so-long-and-thanks-for-all-the-fish/#comments</comments>
		<pubDate>Thu, 09 Dec 2010 12:54:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Church IT]]></category>
		<category><![CDATA[Just Plain Geeky]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://www.bamed.org/?p=437</guid>
		<description><![CDATA[&#8220;Time is an illusion. Lunchtime doubly so.&#8221; (Douglas Adams) The only thing constant in life is change.  And as such bamed and family are on the cusp of a most significant change.  Seven years ago this month I began a new adventure as the &#8216;IT guy&#8217; for College Heights Christian Church in Joplin, MO.  &#8220;I [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;Time is an illusion. Lunchtime doubly so.&#8221; (Douglas Adams)</p>
<p>The only thing constant in life is change.  And as such bamed and family are on the cusp of a most significant change.  Seven years ago this month I began a new adventure as the &#8216;IT guy&#8217; for College Heights Christian Church in Joplin, MO.  &#8220;I may not have gone where I intended to go, but I think I have ended up where I needed to be.&#8221; (Douglas Adams) Later this month we will be leaving Missouri and heading South to the great state of Texas.</p>
<p>&#8220;Let the past hold on to itself and let the present move forward into the future.&#8221; (Douglas Adams)</p>
<p>At the end of this month I will be beginning a new adventure as a Linux sysadmin for HostGator.com in Houston.  Anyone who knows me at all will know that I have always been a rather large fan of Linux and have made it the focus of not a few blog posts through the years.  As such, I am looking forward to spending my days at a command line exercising my CLI-fu.  I&#8217;m also rather excited about moving to the great town of Houston where things such as Linux Users Groups, 2600 meetings, and hacker spaces are more than something you read about on the internets.</p>
<p>&#8220;The fact that we live at the bottom of a deep gravity well, on the surface of a gas covered planet going around a nuclear fireball 90 million miles away and think this to be normal is obviously some indication of how skewed our perspective tends to be.&#8221; (Douglas Adams)</p>
<p>We should be all moved and begin settling in by Christmas.  To all those we&#8217;re leaving behind, know that you will be missed, that you are welcome to stop by whenever you&#8217;re in the area, and that if you have any Linux experience <a href="http://www.hostgator.com/jobs.shtml">HostGator is still hiring</a>!  So&#8230; until we meet again, &#8220;So long, and thanks for all the fish!&#8221; (Douglas Adams)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bamed.org/2010/12/09/so-long-and-thanks-for-all-the-fish/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Updated Resume</title>
		<link>http://www.bamed.org/2010/01/09/updated-resume/</link>
		<comments>http://www.bamed.org/2010/01/09/updated-resume/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 20:18:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Church IT]]></category>
		<category><![CDATA[Just Plain Geeky]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[School]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.bamed.org/?p=392</guid>
		<description><![CDATA[In case anyone out there is interested, I&#8217;ve updated my resume to include recently obtained degrees and certifications.  Specifically, a couple of months ago I managed to obtain OSCP status, and today I graduated with my Associate of Science in Information Technology. I&#8217;m continuing on to achieve my Bachelor&#8217;s by next summer and I hope to obtain [...]]]></description>
			<content:encoded><![CDATA[<p>In case anyone out there is interested, I&#8217;ve updated my <a href="http://www.bamed.org/resume">resume</a> to include recently obtained degrees and certifications.  Specifically, a couple of months ago I managed to obtain OSCP status, and today I graduated with my Associate of Science in Information Technology.</p>
<p>I&#8217;m continuing on to achieve my Bachelor&#8217;s by next summer and I hope to obtain another certification or two this year.</p>
<p>So, if anyone is looking for either an entry-level infosec position, or an experienced sysadmin position, check out my resume and drop me an email. <img src='http://www.bamed.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.bamed.org/2010/01/09/updated-resume/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hack with Me?</title>
		<link>http://www.bamed.org/2010/01/06/hack-with-me/</link>
		<comments>http://www.bamed.org/2010/01/06/hack-with-me/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 02:48:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Just Plain Geeky]]></category>
		<category><![CDATA[School]]></category>

		<guid isPermaLink="false">http://www.bamed.org/?p=386</guid>
		<description><![CDATA[As I was perusing the Net this evening I discovered SmashTheStack was hosting a team-based CTF-style WarGame. Teams are given a remote box and need to secure it, but are required to keep at least 3 services at all times. Teams are given 24 hours to secure their boxes. After the grace period each team [...]]]></description>
			<content:encoded><![CDATA[<p>As I was perusing the Net this evening I discovered <a href="http://smashthestack.org/wargames.php">SmashTheStack</a> was hosting a team-based CTF-style WarGame.  Teams are given a remote box and need to secure it, but are required to keep at least 3 services at all times.  Teams are given 24 hours to secure their boxes.  After the grace period each team will attack the other teams&#8217; boxes while defending their own.  The goal is to take control of the other teams&#8217; boxes and lock them out.  Last man standing wins.</p>
<p>Personally, this sounds like a blast but I have no team.  So who wants to hack with me?</p>
<p>I&#8217;m looking for up to four people willing to join me in this endeavor.  I&#8217;m looking for people who have some experience in similar types of events.  I will admit that I still have a lot to learn, though I do have some experience.  Specifically, I have obtained my OSCP <a href="http://www.offensive-security.com/penetration-testing-backtrack-online-training.php">(Offensive Security Certified Professional)</a> from <a href="http://www.offensive-security.com/">Offensive Security</a>.  I also went to the <a href="http://www.louisvilleinfosec.com/">Louisville Metro Infosec</a> in 2009 and got <a href="http://www.bamed.org/2009/10/12/louisville-metro-infosec-ctf/">3rd place in their CTF</a>.  I&#8217;ve been working in IT for over a decade now and currently work as a sysadmin for a small/medium size organization (~50 users).  I&#8217;m also going to school and taking other steps to focus my IT career more on InfoSec.</p>
<p>If this sounds like fun and you want to get to know some new people comment to this post and let me know you&#8217;re interested and what kind of experience you may have.  I&#8217;m looking for people with some experience and are just looking to have some fun.  Details of the event can be found <a href="http://smashthestack.org/wargames.php">here</a>.  Teams will be announced a week before the event, so we would need to form our team by the end of this week and get our application in.<br />
So, wanna hack with me?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bamed.org/2010/01/06/hack-with-me/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>x86 Assembly</title>
		<link>http://www.bamed.org/2010/01/06/x86-assembly/</link>
		<comments>http://www.bamed.org/2010/01/06/x86-assembly/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 00:51:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Just Plain Geeky]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.bamed.org/?p=382</guid>
		<description><![CDATA[I&#8217;ve been asked for some good links to help learn x86 Assembly.  The main source I have been using is &#8220;Programming from the Ground Up&#8221; by Jonathan Bartlett.  The target audience for this book is people who don&#8217;t already have any programming experience.  It begins by explaining the basics of how a computer works, how [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been asked for some good links to help learn x86 Assembly.  The main source I have been using is &#8220;<a href="http://mirror.its.uidaho.edu/pub/savannah/pgubook/ProgrammingGroundUp-1-0-lettersize.pdf">Programming from the Ground Up</a>&#8221; by Jonathan Bartlett.  The target audience for this book is people who don&#8217;t already have any programming experience.  It begins by explaining the basics of how a computer works, how the processor and memory work.  Then it goes through some basic Assembly, and later moves on to loops and functions similar to other programming books.  I haven&#8217;t finished it, but so far I&#8217;ve found it a great resource.</p>
<p>Another resource I&#8217;ve found but haven&#8217;t spent much time on is <a href="http://homepage.mac.com/randyhyde/webster.cs.ucr.edu/index.html">Webster&#8217;s Art of Assembly Language</a>, which basically amounts to a list of other useful resources, including useful resources for Win32 Assembly.</p>
<p>Since my focus is on exploit development, the <a href="http://securitytube.net/Assembly-Primer-for-Hackers-(Part-1)-System-Organization-video.aspx">Assembly Language Primer for Hackers on SecurityTube</a> is also an excellent resource.  This is a video resource that walks you through the basics of assembly, the stack, and eventually moves on to another series that gives the anatomy of a Buffer Overflow in the <a href="http://securitytube.net/Buffer-Overflow-Primer-Part-1-(Smashing-the-Stack)-video.aspx">Buffer Overflow Primer</a>.</p>
<p>And of course, if you ever need more resources, there&#8217;s <a href="http://www.google.com/search?hl=en&amp;rlz=1C1CHMB_en___US353&amp;ei=nN1DS-v1IoiXtgfXp7yACQ&amp;sa=X&amp;oi=spellfullpage&amp;resnum=0&amp;ct=result&amp;cd=2&amp;ved=0CAcQvwUoAQ&amp;&amp;q=x86+assembly&amp;spell=1">Google</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bamed.org/2010/01/06/x86-assembly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Louisville Metro InfoSec CTF</title>
		<link>http://www.bamed.org/2009/10/12/louisville-metro-infosec-ctf/</link>
		<comments>http://www.bamed.org/2009/10/12/louisville-metro-infosec-ctf/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 02:49:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Just Plain Geeky]]></category>

		<guid isPermaLink="false">http://www.bamed.org/?p=339</guid>
		<description><![CDATA[Last week I went to Louisville for the annual Louisville Metro Information Security Conference.  As part of this conference, Irongeek (Adrian Crenshaw), hosted a CTF event.  You can read more about the event at his site, but I&#8217;ll recap a bit for you here my experience. The general concept behind the scenario was you were [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I went to Louisville for the annual <a href="http://www.louisvilleinfosec.com/">Louisville Metro Information Security Conference</a>.  As part of this conference, <a href="http://www.irongeek.com">Irongeek</a> (Adrian Crenshaw), hosted a <a href="http://www.louisvilleinfosec.com/index.php?option=com_content&amp;view=article&amp;id=13&amp;Itemid=13">CTF </a>event.  You can read more about the event at his site, but I&#8217;ll recap a bit for you here my experience.</p>
<p>The general concept behind the scenario was you were brought in to do a pentest on a network.  On this network there is a file with personally identifiable information (PII: names + ssn) that was encrypted.  The file in question was zipped and password protected with 7zip, then saved in a hidden <a href="http://www.truecrypt.org/">TrueCrypt </a>volume.  Theoretically, this should keep the PII safe, assuming the network admins use their heads and keep their passwords safe, but of course, they didn&#8217;t.</p>
<p>So, the first part of the challenge was to find the wireless network which was not broadcasting its SSID.  IronGeek suggests using Kismet to find it, and that was my original plan, but while I was still hooking up my gear I pulled out my CrackBerry and did a quick scan for wireless network, and sure enough it found IrongeekCTF.  So I didn&#8217;t bother with Kismet and just associated myself with IrongeekCTF, got an IP, and started scanning the network.  We were told we needed to find a Windows box, a Linux box, and a non-x86 system.  I used nmap to scan the network and quickly identified all the targets.  Specifically I scanned with:</p>
<pre># nmap -sT -sV -O 10.0.0.1-100</pre>
<p>The -sT specified a Connect scan, which is quick and easy, and in a real pentest also easily recognizable by IDS, but in this situation who cares.  The -sV enables version scanning to let me know what version of what service is running on the ports located on the remote system.  And finally the -O is OS detection.  We were given the IP range to attack, so that pretty much found me everything I needed to know for this section of the challenge.</p>
<p>Now that we&#8217;ve identified some targets, it&#8217;s time to start hacking.  The nature of the challenge, and what specific &#8220;flags&#8221; we needed were made known some time before the challenge, so I already knew I&#8217;d need a password for a hidden TrueCrypt volume as well as for a 7zip file.  I also know there is not a real practical way to recover these types of passwords without an admin screwing up somewhere, so I was looking for a couple of specific things.  I did find some ways to bruteforce both TrueCrypt and 7zip, but these methods take FOREVER!  Since the entire competition was only a few hours long, I knew this wouldn&#8217;t work unless the passwords were less than 3 characters long.  So I started with the assumption that the fictitious admins of the network in question wrote the password down somewhere and all I had to do was find it.  All that being said, the next step in the challenge was to find the Windows administrator password, but I noticed a web server running on the Linux box, so I pulled up the website from that box first.  What I found was an intranet site that included a login, a &#8220;My notes&#8221; section, and a chat log between the admins.  The chat log revealed the admins didn&#8217;t think it was necessary to patch a Windows XP box if it was behind a firewall ( so there&#8217;s one easy target), it also revealed that the user named greg saved the password to the TrueCrypt volume in &#8220;my notes&#8221;, and the user john wrote the password to the 7zip file on a post-it and stuck it to his monitor.  At this point I also noticed the 3rd non-x86 system was named &#8220;CAM&#8221;.  So at this point I knew I needed greg&#8217;s password for the intranet site to get the TrueCrypt password, and I thought there was a good chance CAM led me to a camera that was pointed at a monitor somewhere with the 7zip password attached.</p>
<p>So, now I really started hacking.  First off the Windows box was unpatched, so you could pretty much pick any windows exploit you wanted to get in.  I think most everyone used the infamous MS03-026, as did I.  I also think pretty much everybody used metasploit and meterpreter to get into the windows box and extract the password hashes.  In preparation for this even I downloaded a couple hundred Gigs worth of Rainbow Tables and brought them on an external hard drive.  So once I had the hashes I just had to wait for the Rainbow Tables to do their magic.</p>
<p>After about half an hour I had the Administrator password as well as the password for greg and john.  Turns out, these passwords worked on the Linux box as well, so I didn&#8217;t even have to crack it.  So now I&#8217;ve got Administrator on the windows box and root on the Linux box, and now I&#8217;m looking for the logins to the intranet site, which if you remember was on the Linux box (which I now have root on).  I should also mention that the encrypted PII file was in /home/greg on the Linux box.  So after sftping the file to my laptop I have it now.</p>
<p>Now I needed greg&#8217;s password for the intranet in order to get the TrueCrypt password in his &#8220;My Notes&#8221; section.  The intranet site is susceptible to an SQL injection attack and if you watch IronGeek&#8217;s video you can see how he was able to login.  I went a different route.  Once I had root on the Linux box I went to /root/.bash_history to see what might be revealed.  What I learned was that there was a php file edited by root in the /var/www directory recently.  A quick read of this file actually revealed it to be a script used to setup the DB, and in it were the usernames and passwords of all the intranet users.  I know someone else dumped the password directly from MySQL.</p>
<p>So, I logged in as greg to the intranet site and got the password for the hidden TrueCrypt volume, all that was left was the 7zip file.  Port 80 was open on the last non-x86 based box which was named &#8220;CAM&#8221; and after opening it up in a web browser  it turned out to be an IP cam after all.  So I&#8217;m doing really well at this point and am pretty sure I&#8217;m ahead of everyone, or at least in the top 3, and this is where I get stuck.  I spend the next several hours finding out everything I can about this cam and the webserver it&#8217;s running on.  I keep looking for some kind of vulnerability, I try some brute-forcing, all the while I DO have a 7zip bruteforce running, though VERY slowly, and I&#8217;m out of luck.</p>
<p>Finally, <a href="http://securestate.blogspot.com/">Rel1k </a>(Dave Kennedy, one of the first place winners, also a BackTrack4 developer) mentions ARP poisoning.  So I fire up ettercap, notice some traffic between the IP cam and the windows box and poison ARP to have all traffic between these two boxes pass through my laptop first.  In a couple of seconds ettercap gives me the cam&#8217;s password, then I login, see the post-it attached to a monitor, use it on the 7zip file and I&#8217;m done!  I got 3rd place when it was all said and done.  It seems several others were at the exact same point that I was and when Rel1k gave us that hint we all finished pretty quickly, within minutes of each other.  I was about 10 minutes from being either 2nd or 4th.  I should also mention that the webcam in question was pointed away from the password and had to be rotated via the web interface.  This little fact hung up the winning team for quite some time.</p>
<p>That&#8217;s my story!  So how was it?  It was loads of fun.  Adrian did a great job.  He came up with an interesting challenge that wasn&#8217;t too difficult, so several beginners, such as myself, could get involved, and yet the creativity with the camera even kept the experts guessing for some time.  I&#8217;m looking forward to next year and hope I can make it again.</p>
<p>What are some things I might like to see added, or suggestions for next year?  Maybe there could be more investigating work on the targets.  For example, we need to find a document in an email in Outlook, or even extract it from Exchange.  I know it would take more work and some volunteers, but it would also be cool if there were actual users to social-engineer.  Honestly, if it wasn&#8217;t for the camera, the challenge would have been too short.  I think it should start out at the level of complexity it was, but more difficult challenges later on would have been even better.  Of course, Adrian probably has other things to do with his time, but I&#8217;m sure he could find some help.  I&#8217;d volunteer!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bamed.org/2009/10/12/louisville-metro-infosec-ctf/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>An Ordinary IT Guy</title>
		<link>http://www.bamed.org/2009/09/25/an-ordinary-it-guy/</link>
		<comments>http://www.bamed.org/2009/09/25/an-ordinary-it-guy/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 17:22:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[bamed tries to be funny]]></category>
		<category><![CDATA[Just Plain Geeky]]></category>

		<guid isPermaLink="false">http://www.bamed.org/?p=316</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a rel="attachment wp-att-317" href="http://www.bamed.org/2009/09/25/an-ordinary-it-guy/fourth-comic-frame1/"><img class="aligncenter size-full wp-image-317" title="fourth-comic-frame1" src="http://www.bamed.org/wp-content/uploads/2009/09/fourth-comic-frame1.jpg" alt="fourth-comic-frame1" width="480" height="480" /></a><a rel="attachment wp-att-318" href="http://www.bamed.org/2009/09/25/an-ordinary-it-guy/fourth-comic-frame2/"><img class="aligncenter size-full wp-image-318" title="fourth-comic-frame2" src="http://www.bamed.org/wp-content/uploads/2009/09/fourth-comic-frame2.jpg" alt="fourth-comic-frame2" width="480" height="480" /></a><a rel="attachment wp-att-319" href="http://www.bamed.org/2009/09/25/an-ordinary-it-guy/fourth-comic-frame3/"><img class="aligncenter size-full wp-image-319" title="fourth-comic-frame3" src="http://www.bamed.org/wp-content/uploads/2009/09/fourth-comic-frame3.jpg" alt="fourth-comic-frame3" width="480" height="480" /></a><a rel="attachment wp-att-320" href="http://www.bamed.org/2009/09/25/an-ordinary-it-guy/fourth-comic-frame4/"><img class="aligncenter size-full wp-image-320" title="fourth-comic-frame4" src="http://www.bamed.org/wp-content/uploads/2009/09/fourth-comic-frame4.jpg" alt="fourth-comic-frame4" width="480" height="480" /></a><a rel="attachment wp-att-321" href="http://www.bamed.org/2009/09/25/an-ordinary-it-guy/fourth-comic-frame5/"><img class="aligncenter size-full wp-image-321" title="fourth-comic-frame5" src="http://www.bamed.org/wp-content/uploads/2009/09/fourth-comic-frame5.jpg" alt="fourth-comic-frame5" width="480" height="480" /></a><a rel="attachment wp-att-322" href="http://www.bamed.org/2009/09/25/an-ordinary-it-guy/fourth-comic-frame6/"><img class="aligncenter size-full wp-image-322" title="fourth-comic-frame6" src="http://www.bamed.org/wp-content/uploads/2009/09/fourth-comic-frame6.jpg" alt="fourth-comic-frame6" width="480" height="480" /></a><a rel="attachment wp-att-324" href="http://www.bamed.org/2009/09/25/an-ordinary-it-guy/fourth-comic-frame8/"><img class="aligncenter size-full wp-image-324" title="fourth-comic-frame8" src="http://www.bamed.org/wp-content/uploads/2009/09/fourth-comic-frame8.jpg" alt="fourth-comic-frame8" width="480" height="480" /></a><a rel="attachment wp-att-325" href="http://www.bamed.org/2009/09/25/an-ordinary-it-guy/fourth-comic-frame9/"><img class="aligncenter size-full wp-image-325" title="fourth-comic-frame9" src="http://www.bamed.org/wp-content/uploads/2009/09/fourth-comic-frame9.jpg" alt="fourth-comic-frame9" width="480" height="480" /></a><a rel="attachment wp-att-326" href="http://www.bamed.org/2009/09/25/an-ordinary-it-guy/fourth-comic-frame10/"><img class="aligncenter size-full wp-image-326" title="fourth-comic-frame10" src="http://www.bamed.org/wp-content/uploads/2009/09/fourth-comic-frame10.jpg" alt="fourth-comic-frame10" width="480" height="480" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bamed.org/2009/09/25/an-ordinary-it-guy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today is a good day&#8230; (New Comic)</title>
		<link>http://www.bamed.org/2009/09/19/today-is-a-good-day-new-comic/</link>
		<comments>http://www.bamed.org/2009/09/19/today-is-a-good-day-new-comic/#comments</comments>
		<pubDate>Sat, 19 Sep 2009 03:24:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[bamed tries to be funny]]></category>
		<category><![CDATA[Just Plain Geeky]]></category>

		<guid isPermaLink="false">http://www.bamed.org/?p=308</guid>
		<description><![CDATA[New comic!  Ya, I know, it&#8217;s been awhile. I introduce a couple of new characters today, so here&#8217;s the background.  Some friends and I get together on a weekly basis, or so, and game.  We played ShadowRun for awhile, we&#8217;ve done PC gaming, and now we&#8217;re doing D20.  Specifically, we&#8217;re going through the Savage Tide [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_309" class="wp-caption aligncenter" style="width: 610px"><a rel="attachment wp-att-309" href="http://www.bamed.org/2009/09/19/today-is-a-good-day-new-comic/good-day/"><img class="size-full wp-image-309 " title="good day" src="http://www.bamed.org/wp-content/uploads/2009/09/good-day.jpg" alt="Today is a good day..." width="600" height="900" /></a><p class="wp-caption-text">Today is a good day...</p></div>
<p>New comic!  Ya, I know, it&#8217;s been awhile.</p>
<p>I introduce a couple of new characters today, so here&#8217;s the background.  Some friends and I get together on a weekly basis, or so, and game.  We played ShadowRun for awhile, we&#8217;ve done PC gaming, and now we&#8217;re doing D20.  Specifically, we&#8217;re going through the Savage Tide campaign at the moment.  The players include bamed(top-left, and author of this blog), poorchoices (top-right, featured in the last comic), vollmond (bottom-left, moved to MD and plays with us over the interwebs), and nitz (bottom-right, and no he doens&#8217;t really look like Vollmond, I just got tired of drawing).  Maybe I&#8217;ll come up with more soon&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bamed.org/2009/09/19/today-is-a-good-day-new-comic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>If you use DD-WRT update it NOW!</title>
		<link>http://www.bamed.org/2009/09/08/if-you-use-dd-wrt-update-it-now/</link>
		<comments>http://www.bamed.org/2009/09/08/if-you-use-dd-wrt-update-it-now/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 00:35:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Just Plain Geeky]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.bamed.org/?p=304</guid>
		<description><![CDATA[A practically emberassing bug in dd-wrt was released today.  It would allow anyone to get root access to your router if you have remote Web GUI turned on, which is always a bad idea.  If you don&#8217;t, anyone on your internal network could get root access pretty easily.  Details on the bug are on milw0rm [...]]]></description>
			<content:encoded><![CDATA[<p>A practically emberassing bug in dd-wrt was released today.  It would allow anyone to get root access to your router if you have remote Web GUI turned on, which is always a bad idea.  If you don&#8217;t, anyone on your internal network could get root access <a href="http://myprettypink.com">pretty</a> easily.  Details on the bug are on milw0rm at <a href="http://www.milw0rm.com/exploits/9209">http://www.milw0rm.com/exploits/9209</a>.  The people who make dd-wrt released a patch to fix the issue, so if you&#8217;re vulnerable, I suggest you fix it ASAP.</p>
<p><a href="http://www.securityfocus.com/bid/32703/discuss">http://www.securityfocus.com/bid/32703/discuss</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bamed.org/2009/09/08/if-you-use-dd-wrt-update-it-now/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: www.bamed.org @ 2012-02-07 12:39:05 by W3 Total Cache -->
