<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Strategic Cyber LLC</title>
	<atom:link href="http://blog.strategiccyber.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.strategiccyber.com</link>
	<description>A blog about Armitage, Cobalt Strike, and Red Teaming</description>
	<lastBuildDate>Tue, 14 May 2013 17:16:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.strategiccyber.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Strategic Cyber LLC</title>
		<link>http://blog.strategiccyber.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.strategiccyber.com/osd.xml" title="Strategic Cyber LLC" />
	<atom:link rel='hub' href='http://blog.strategiccyber.com/?pushpress=hub'/>
		<item>
		<title>Armitage and Cobalt Strike Workshop at HackMiami &#8211; Student README</title>
		<link>http://blog.strategiccyber.com/2013/05/14/armitage-and-cobalt-strike-workshop-at-hackmiami-student-readme/</link>
		<comments>http://blog.strategiccyber.com/2013/05/14/armitage-and-cobalt-strike-workshop-at-hackmiami-student-readme/#comments</comments>
		<pubDate>Tue, 14 May 2013 17:09:48 +0000</pubDate>
		<dc:creator>rsmudge</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.strategiccyber.com/?p=2151</guid>
		<description><![CDATA[Are you attending the Armitage and Cobalt Strike Penetration Testing Lab at HackMiami Conference this weekend? Make sure you read this post: This coming weekend, I am teaching a free 4 hour workshop at the HackMiami Conference in beautiful Miami, FL. I&#8217;m told the venue can hold quite a large number of folks and I&#8217;m planning [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.strategiccyber.com&#038;blog=28734211&#038;post=2151&#038;subd=rsmudge&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Are you attending the Armitage and Cobalt Strike Penetration Testing Lab at <a href="https://hackmiami.com/">HackMiami Conference</a> this weekend? Make sure you read this post:</p>
<p>This coming weekend, I am teaching a free 4 hour workshop at the HackMiami Conference in beautiful Miami, FL. I&#8217;m told the venue can hold quite a large number of folks and I&#8217;m planning to bring enough materials for 100 attendees. Unlike other runs of this workshop, there is no pre-registration and no attendee list I can blast this message too. No problem with me, but there is some information you should know about before you show up.</p>
<p>This workshop has a significant lab component. To participate in the labs, you must bring a computer that meets the following requirements:</p>
<ol>
<li><span style="line-height:13px;">2GB of RAM or greater</span></li>
<li>12GB of free disk space</li>
<li>The ability to run VMWare Virtual Machines (one of VMWare Player, VMWare Workstation, or VMWare Fusion should be installed)<strong><em><br />
</em></strong></li>
</ol>
<p>If you bring a system that meets those requirements, I will bring everything else. I will provide you with a DVD containing three virtual machines and a lab sheet. If your modern computer doesn&#8217;t have a DVD player, don&#8217;t sweat it. I will bring a USB DVD drive with me. You&#8217;ll have a chance to copy the needed files to your disk during the setup phase of the workshop. I left my USB DVD drive at another conference, but I promise to buy another one before Friday. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>During the workshop, I expect that you will use the environment I provide. This means you do not need to worry about setting up Kali Linux or finding that old copy of Windows XP underneath the couch. I have you covered. If you want a preview of the workshop, here&#8217;s a video walk-through of the environment I will provide:</p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='450' height='284' src='http://www.youtube.com/embed/nEa5SJbOTRs?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span>
<p>During the workshop, we will work through a slightly abridged version of the above labs (but you&#8217;ll have all of them, in case you want to play around later).</p>
<p>If you&#8217;d like to come to the workshop, it&#8217;s at this weekend&#8217;s <a href="https://hackmiami.com/">HackMiami Conference</a>. Attendance to the conference is $125. There is no other fee to attend this workshop. Also, since this is open to all attendees of HackMiami, my workshop is available on a first-come, first-serve basis.</p>
<p>The workshop starts at <a href="https://hackmiami.com/oldheadz/">5pm on Saturday in Track 1</a>.</p>
<br />Filed under: <a href='http://blog.strategiccyber.com/category/uncategorized/'>Uncategorized</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rsmudge.wordpress.com/2151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rsmudge.wordpress.com/2151/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.strategiccyber.com&#038;blog=28734211&#038;post=2151&#038;subd=rsmudge&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.strategiccyber.com/2013/05/14/armitage-and-cobalt-strike-workshop-at-hackmiami-student-readme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/44a44db75f21982b563b1febf38b27ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rsmudge</media:title>
		</media:content>
	</item>
		<item>
		<title>Cobalt Strike on McAfee Audio Parasitics Podcast</title>
		<link>http://blog.strategiccyber.com/2013/05/13/cobalt-strike-on-mcafee-audio-parasitics-podcast/</link>
		<comments>http://blog.strategiccyber.com/2013/05/13/cobalt-strike-on-mcafee-audio-parasitics-podcast/#comments</comments>
		<pubDate>Mon, 13 May 2013 20:01:36 +0000</pubDate>
		<dc:creator>rsmudge</dc:creator>
				<category><![CDATA[Interviews]]></category>

		<guid isPermaLink="false">http://blog.strategiccyber.com/?p=2146</guid>
		<description><![CDATA[When I first launched Cobalt Strike, Jim Walter and David Marcus were kind enough to host me on the McAfee Labs Audio Parasitics Podcast. You can hear part I and part II of that original interview if you like. Cobalt Strike is coming up on its one year anniversary on the market. A lot has [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.strategiccyber.com&#038;blog=28734211&#038;post=2146&#038;subd=rsmudge&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>When I first launched Cobalt Strike, <a href="http://blogs.mcafee.com/author/jim-walter">Jim Walter</a> and <a href="http://blogs.mcafee.com/author/david-marcus">David Marcus</a> were kind enough to host me on the <a href="http://podcasts.mcafee.com/audioparasitics/">McAfee Labs Audio Parasitics Podcast</a>. You can hear <a href="http://podcasts.mcafee.com/audioparasitics/AudioParasitics-Episode129-06-2012.mp3">part I</a> and <a href="http://podcasts.mcafee.com/audioparasitics/AudioParasitics-Episode130-06-2012.mp3">part II</a> of that original interview if you like. Cobalt Strike is coming up on its one year anniversary on the market. A lot has changed with the tool. It has developed an amazing feature set, providing red teams with capabilities such as the ability to <a href="http://blog.strategiccyber.com/2013/02/12/a-vision-for-distributed-red-team-operations/">conduct distributed operations</a>, <a href="http://www.advancedpentest.com/help-beacon">asynchronous command and control (beacon)</a>, improved real-time collaboration, etc.</p>
<p>With this in mind, Jim and David invited me back to demo Cobalt Strike in its current state. We did this entire interview and demonstration over Amazon&#8217;s EC2, attacking parts of my local training lab. Here it is, in all of its glory:</p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='450' height='284' src='http://www.youtube.com/embed/unNMKrKyUyQ?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span>
<br />Filed under: <a href='http://blog.strategiccyber.com/category/interviews/'>Interviews</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rsmudge.wordpress.com/2146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rsmudge.wordpress.com/2146/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.strategiccyber.com&#038;blog=28734211&#038;post=2146&#038;subd=rsmudge&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.strategiccyber.com/2013/05/13/cobalt-strike-on-mcafee-audio-parasitics-podcast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://podcasts.mcafee.com/audioparasitics/AudioParasitics-Episode129-06-2012.mp3" length="13595046" type="audio/mpeg" />
<enclosure url="http://podcasts.mcafee.com/audioparasitics/AudioParasitics-Episode130-06-2012.mp3" length="14202092" type="audio/mpeg" />
	
		<media:content url="http://1.gravatar.com/avatar/44a44db75f21982b563b1febf38b27ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rsmudge</media:title>
		</media:content>
	</item>
		<item>
		<title>Cobalt Strike Updates &#8211; 9 May 13</title>
		<link>http://blog.strategiccyber.com/2013/05/09/cobalt-strike-updates-9-may-13/</link>
		<comments>http://blog.strategiccyber.com/2013/05/09/cobalt-strike-updates-9-may-13/#comments</comments>
		<pubDate>Thu, 09 May 2013 13:00:37 +0000</pubDate>
		<dc:creator>rsmudge</dc:creator>
				<category><![CDATA[Cobalt Strike]]></category>

		<guid isPermaLink="false">http://blog.strategiccyber.com/?p=2141</guid>
		<description><![CDATA[This is just a friendly note to say that Cobalt Strike 05.08.13 is now available. This update is mostly bug fixes and performance improvements. I have a very exciting feature in the works, but I&#8217;d like to give it another development cycle before I push it to production. See releasenotes.txt for the full list of [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.strategiccyber.com&#038;blog=28734211&#038;post=2141&#038;subd=rsmudge&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>This is just a friendly note to say that Cobalt Strike 05.08.13 is now available. This update is mostly bug fixes and performance improvements. I have a very exciting feature in the works, but I&#8217;d like to give it another development cycle before I push it to production. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>See <a href="http://www.advancedpentest.com/releasenotes.txt">releasenotes.txt</a> for the full list of changes.</p>
<p>Licensed Cobalt Strike users may grab the latest using the <a href="http://www.advancedpentest.com/help-update-cobalt-strike">built-in update</a> program. A <a href="http://www.advancedpentest.com/trial">21-day trial</a> is available too.</p>
<br />Filed under: <a href='http://blog.strategiccyber.com/category/cobalt-strike-2/'>Cobalt Strike</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rsmudge.wordpress.com/2141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rsmudge.wordpress.com/2141/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.strategiccyber.com&#038;blog=28734211&#038;post=2141&#038;subd=rsmudge&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.strategiccyber.com/2013/05/09/cobalt-strike-updates-9-may-13/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/44a44db75f21982b563b1febf38b27ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rsmudge</media:title>
		</media:content>
	</item>
		<item>
		<title>Red Team Training at BlackHat USA</title>
		<link>http://blog.strategiccyber.com/2013/05/02/red-team-training-at-blackhat-usa-2/</link>
		<comments>http://blog.strategiccyber.com/2013/05/02/red-team-training-at-blackhat-usa-2/#comments</comments>
		<pubDate>Thu, 02 May 2013 15:35:30 +0000</pubDate>
		<dc:creator>rsmudge</dc:creator>
				<category><![CDATA[Interviews]]></category>
		<category><![CDATA[Red Team]]></category>

		<guid isPermaLink="false">http://blog.strategiccyber.com/?p=2091</guid>
		<description><![CDATA[Before developing Cobalt Strike, I conducted interviews with several penetration testing practitioners. I wanted to dig into their process, the tools they used, the gaps they saw, etc. Three folks from the Veris Group sat down with me for three hours to go over these very questions. It was at this time, I became familiar [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.strategiccyber.com&#038;blog=28734211&#038;post=2091&#038;subd=rsmudge&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Before developing Cobalt Strike, I conducted interviews with several penetration testing practitioners. I wanted to dig into their process, the tools they used, the gaps they saw, etc. Three folks from the <a href="http://www.verisgroup.com/">Veris Group</a> sat down with me for three hours to go over these very questions. It was at this time, I became familiar with <a href="http://www.verisgroup.com/about-veris-group/leadership/david-mcguire-manager/">David McGuire</a> and <a href="http://www.jasonjfrank.com/">Jason Frank</a>.</p>
<p>Our relationship has evolved, to the point where they advise on Cobalt Strike, teach the product, and Veris Group is also a Cobalt Strike customer.</p>
<p>At BlackHat USA, Veris Group will teach two courses: <a href="https://www.blackhat.com/us-13/training/adaptive-penetration-testing.html">Adaptive Penetration Testing</a> and <a href="https://www.blackhat.com/us-13/training/adaptive-red-team-tactics.html">Adaptive Red Team Tactics</a>. These two offerings grew out of their Adaptive Penetration Testing course which they&#8217;ve taught at BlackHat USA the past few years.</p>
<p>Last year, David and Jason approached me and offered to include Cobalt Strike on the DVD they provide to the students of their course. This then evolved to including a lab with Cobalt Strike. Which then evolved to them opting to use Cobalt Strike as the platform to demonstrate their Adaptive Penetration Testing process.</p>
<p>I have my own course offerings, but my offerings are focused only on my toolset. These courses will give you the foundation to setup a complete red team and penetration testing assessment process using Cobalt Strike and other tools. Their perspective is available once a year at BlackHat USA, I highly recommend that you take advantage of it.</p>
<p><img class="aligncenter size-large wp-image-2128" alt="slide9" src="http://rsmudge.files.wordpress.com/2013/05/slide9.jpg?w=450&#038;h=338" width="450" height="338" /></p>
<p>To give you some more insight into these courses, I&#8217;d like to share an interview I conducted with Jason and David on their BlackHat courses:</p>
<h3>1. How many times have you taught at Black Hat and what made you want to teach there?</h3>
<p><strong>David and Jason:</strong> We’ve had the opportunity to teach the class twice at Black Hat USA and once at Black Hat UAE. Black Hat provides smaller independent trainers like us, who don’t do this full time, with a great venue to reach a broad potential audience. They handle all the logistical work (such as securing a venue, billing and marketing) so we can focus on delivering quality course material that benefits our students. We are very appreciative of the opportunity they give small trainers and the working relationship we’ve been able to establish.</p>
<h3>2. In your words, what are the differences between the Adaptive Penetration Testing and Adaptive Red Team Tactics courses?</h3>
<p><strong>David and Jason: </strong>The focus of <a href="https://www.blackhat.com/us-13/training/adaptive-penetration-testing.html"><strong>Adaptive Penetration Testing (APT)</strong></a> is to provide students with a framework for providing comprehensive assessments with the objective of demonstrating the risk, in terms of business impact, of potential system breeches. The end goal is for students to be able to take the techniques, procedures, and methodologies we have developed through our experience and implement them in their own operational environments. Assessments utilizing the methodology we discuss in APT are targeted to take one to two weeks to execute effectively.</p>
<p><img class="aligncenter size-large wp-image-2131" alt="slide341" src="http://rsmudge.files.wordpress.com/2013/05/slide341.jpg?w=450&#038;h=339" width="450" height="339" /></p>
<p><a href="https://www.blackhat.com/us-13/training/adaptive-red-team-tactics.html"><strong>Adaptive Red Team Tactics (ARTT)</strong></a> is meant as a follow on to APT and focuses on emulating a more advanced threat. This course covers more advanced tactics, techniques and procedures (TTPs) that enable our students to provide a more realistic assessment of defense, detection, and response capabilities in organizations with mature IT security programs. Red Team assessments generally have an extended assessment window and incorporate techniques for providing a more covert, “low and slow,” assessment with a heavy focus on intelligence gather and long term post-exploitation activities. Stealth, evasion, robust persistence, and data exfiltration are some of the main themes of ARTT.</p>
<p><img class="aligncenter" alt="slide550" src="http://rsmudge.files.wordpress.com/2013/05/slide550.jpg?w=450&#038;h=336" width="450" height="336" /></p>
<h3>3. What is the secret sauce of your courses? What will you teach that students can&#8217;t get elsewhere?</h3>
<p><strong>David and Jason:</strong> We focus heavily on the tools, techniques and methodologies that we have developed through our experience performing assessments and building internal penetration testing programs for our customers. While we thought there was some really great training out there, we felt there was an opportunity for us to fill a legitimate need in the industry by offering training that focuses on how to effectively conduct assessments in operational environments. In our courses, we want to make sure students understand the entire process of executing a Penetration Test or Red Team assessment, including everything from scoping to exploiting systems to delivering a comprehensive report.  We structure and deliver our course material so students walk away from the course with something they can easily use as a reference when conducting their own assessments. We also include templates and other material that offer students a foundation for creating a program/service from the ground up.</p>
<p><a href="http://rsmudge.files.wordpress.com/2013/05/slide69.jpg"><img class="size-large wp-image-2120 aligncenter" alt="slide69" src="http://rsmudge.files.wordpress.com/2013/05/slide69.jpg?w=450&#038;h=338" width="450" height="338" /></a></p>
<p>We think another big differentiator in our courses is our incorporation of Cobalt Strike. We feel that one of the gaps in a lot of training out there is that they do not effectively cover the professional tools that can assist in delivering efficient, effective, and repeatable assessments. Cobalt Strike is a full-fledged toolset we use every day in our penetration tests and red team assessments. It enables us to save a lot of time in execution and have quick access to some powerful capabilities. We believe that when testers are in the middle of an assessment, they should be able to focus on assessing the risk/business impact of breeches for their customer, not wrestling with their tools. Tools don’t make the tester, but knowing which tools can best augment your capabilities is often as important as knowledge of great penetration testing techniques.</p>
<p><strong>Raphael: </strong>*cough* *cough* Last year, I spent some time with David and Jason at the Veris Group headquarters. Jason constantly rolled his eyes at David and I. Apparently, when we sit down together, we&#8217;re like two Furbies going into an infinite loop. Once we broke out of our chat routine, I sat down to go through their labs. I couldn&#8217;t do them. David and Jason kept providing hints, but I really did not know. The labs were related to lateral movement and abusing trust relationships. This is a topic that I don&#8217;t feel is well covered in other places and their courses both address this topic with a lot of depth.</p>
<p><img class="size-large wp-image-2122 aligncenter" alt="slide476" src="http://rsmudge.files.wordpress.com/2013/05/slide476.jpg?w=450&#038;h=338" width="450" height="338" /></p>
<h3>4. Why isn&#8217;t this material taught in other places?</h3>
<p><strong>David and Jason: </strong>Many courses seem to focus either on foundational knowledge of penetration testing, or technical intricacies of various advanced techniques. While a lot of these are really great courses, we felt they often didn’t leave students with the ability to go execute well-planned and comprehensive assessments on their own. <em><span style="text-decoration:underline;">We designed APT for students who don’t need more foundational knowledge, but do need to run effective assessments to add value for their customers.</span></em> Many course also focus on tools and techniques that are freely available, but operational penetration testing teams use the most effective tools for the job, whether freely available or commercial. We wanted to train on tools and techniques that students would actually use in the field.</p>
<p>When it comes to ARTT, we felt there are few advanced penetration testing courses available, especially relative to the number of courses that teach the fundamentals. Those that are available typically focus on techniques such as exploit development, but few seem to focus on emulating the techniques of the advanced threats that are actually targeting organizations today. <em><span style="text-decoration:underline;">We bring our experience in conducting red team assessments for the Federal government, where the objective is to analyze systems the way an adversary would versus utilizing the latest and greatest exoteric technique.</span></em></p>
<p><img class="aligncenter" alt="slide512" src="http://rsmudge.files.wordpress.com/2013/05/slide512.jpg?w=450&#038;h=339" width="450" height="339" /></p>
<h3>5. How did Cobalt Strike end up in your courses?</h3>
<p><strong>David and Jason: </strong>When we first developed the APT course, we faced the same limitations most courses do in many of the tools we were teaching weren’t the ones we actually used on assessments. One of the only tools that came close to something we could use operationally was Armitage. As Cobalt Strike was a natural progression from Armitage, when it was released, we found it was the perfect fit to move to for our primary penetration testing platform. In keeping with our objective of training for operational testing, we also thought this was a great opportunity to showcase the capabilities a professional toolset can provide. We found Raphael had much of the same mindset for penetration testing and training we did and was enthusiastic about assisting us in improving our training offering. Cobalt Strike was exactly what the course intended to provide, a turn-key approach to accomplish common, sometimes tedious, tasks so the assessor can spend more time performing effective threat emulation.</p>
<div id="attachment_2123" class="wp-caption aligncenter" style="width: 460px"><img class="size-large wp-image-2123" alt="Way to sell them on buying Cobalt Strike guys -- Raphael" src="http://rsmudge.files.wordpress.com/2013/05/slide448.jpg?w=450&#038;h=337" width="450" height="337" /><p class="wp-caption-text">Way to sell them on buying Cobalt Strike guys &#8212; Raphael</p></div>
<p>Cobalt Strike was actually one of the primary reasons we were able to offer the ARTT course this year. One of the significant barriers to teaching (and conducting) red team assessments is the specialized toolsets red teams use. These toolsets are generally highly specialized, require a significant amount of support, and are almost never released. These issues make training red team tactics much more difficult. However, over the past year Raphael added <a href="http://www.advancedpentest.com/help-armitage-vs-cobaltstrike">many red team capabilities</a> to Cobalt Strike. While Cobalt Strike is great for enabling a standard penetration testing team to emulate more advanced threats, it also gave us the opportunity to train on many of the more advanced tactics we use in our red team assessments.</p>
<p><strong>Raphael:</strong> I know the real story. A few years ago, David and Jason were teaching Adaptive Penetration Testing. One of their students used Armitage to chewed through their entire exercise environment, like it was nothing (this is a very common Armitage story&#8211;in many classrooms). This is what got their attention and it&#8217;s part of what got us talking in the first place. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h3>6. Who should take your courses?</h3>
<p><strong>David and Jason:</strong></p>
<ul>
<li>Penetration testers and/or managers with prior knowledge/training/experience who are looking to maximize their programs</li>
<li>Individuals interested in starting a penetration testing capabilities</li>
<li>Penetration testers and/or managers with prior knowledge and experience with penetration testing tools and techniques interested in emulating a more sophisticated threat capability</li>
<li>Individuals who would like a better understanding of the tactics, techniques and procedures of more advanced adversaries</li>
</ul>
<p><strong>Raphael:</strong> If you&#8217;re a prospective (or active) Cobalt Strike user, I highly recommend signing up for one of these courses. If you&#8217;re planning to use Cobalt Strike in a variety of engagements, take <a href="https://www.blackhat.com/us-13/training/adaptive-penetration-testing.html">Adaptive Penetration Testing</a>. If you&#8217;re primarily focused on threat emulation and red teaming, take <a href="https://www.blackhat.com/us-13/training/adaptive-red-team-tactics.html">Adaptive Red Team Tactics</a>. David and Jason are very experienced in the subject matter they&#8217;re teaching. They know Cobalt Strike and we view threat emulation and penetration testing through the same lens.</p>
<br />Filed under: <a href='http://blog.strategiccyber.com/category/interviews/'>Interviews</a>, <a href='http://blog.strategiccyber.com/category/red-team-2/'>Red Team</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rsmudge.wordpress.com/2091/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rsmudge.wordpress.com/2091/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.strategiccyber.com&#038;blog=28734211&#038;post=2091&#038;subd=rsmudge&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.strategiccyber.com/2013/05/02/red-team-training-at-blackhat-usa-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/44a44db75f21982b563b1febf38b27ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rsmudge</media:title>
		</media:content>

		<media:content url="http://rsmudge.files.wordpress.com/2013/05/slide9.jpg?w=450" medium="image">
			<media:title type="html">slide9</media:title>
		</media:content>

		<media:content url="http://rsmudge.files.wordpress.com/2013/05/slide341.jpg?w=450" medium="image">
			<media:title type="html">slide341</media:title>
		</media:content>

		<media:content url="http://rsmudge.files.wordpress.com/2013/05/slide550.jpg?w=450" medium="image">
			<media:title type="html">slide550</media:title>
		</media:content>

		<media:content url="http://rsmudge.files.wordpress.com/2013/05/slide69.jpg?w=450" medium="image">
			<media:title type="html">slide69</media:title>
		</media:content>

		<media:content url="http://rsmudge.files.wordpress.com/2013/05/slide476.jpg?w=450" medium="image">
			<media:title type="html">slide476</media:title>
		</media:content>

		<media:content url="http://rsmudge.files.wordpress.com/2013/05/slide512.jpg?w=450" medium="image">
			<media:title type="html">slide512</media:title>
		</media:content>

		<media:content url="http://rsmudge.files.wordpress.com/2013/05/slide448.jpg?w=450" medium="image">
			<media:title type="html">Way to sell them on buying Cobalt Strike guys -- Raphael</media:title>
		</media:content>
	</item>
		<item>
		<title>National CCDC Red Team &#8211; Fair and Balanced</title>
		<link>http://blog.strategiccyber.com/2013/04/24/national-ccdc-red-team-fair-and-balanced/</link>
		<comments>http://blog.strategiccyber.com/2013/04/24/national-ccdc-red-team-fair-and-balanced/#comments</comments>
		<pubDate>Wed, 24 Apr 2013 14:27:05 +0000</pubDate>
		<dc:creator>rsmudge</dc:creator>
				<category><![CDATA[Red Team]]></category>

		<guid isPermaLink="false">http://blog.strategiccyber.com/?p=2045</guid>
		<description><![CDATA[Saturday, 6:30pm ended my 2013 red teaming season. I&#8217;ve participated in the Collegiate Cyber Defense Competition as a red team volunteer since 2008. I love these events primarily because of the opportunity I get to interact with the student teams and learn from my peers in this field. But, since 2011, I&#8217;ve also traveled to [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.strategiccyber.com&#038;blog=28734211&#038;post=2045&#038;subd=rsmudge&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Saturday, 6:30pm ended my 2013 red teaming season. I&#8217;ve participated in the <a href="http://www.nationalccdc.org">Collegiate Cyber Defense Competition</a> as a red team volunteer since 2008. I love these events primarily because of the opportunity I get to interact with the student teams and learn from my peers in this field. But, since 2011, I&#8217;ve also traveled to these events with an agenda of exercising my tools, testing improvements, and getting new ideas.</p>
<p>2013 was the first year I had an opportunity to exercise <a href="http://www.advancedpentest.com">Cobalt Strike</a> and its capabilities at these events. CCDC exercises don&#8217;t offer a client-side attack surface, which takes some Cobalt Strike features out of play. However, it&#8217;s <a href="https://www.usenix.org/system/files/login/articles/105484-Mudge.pdf">collaboration capabilities</a>, <a href="http://www.advancedpentest.com/help-scripting-cortana">Cortana scripting</a>, <a href="http://www.advancedpentest.com/help-beacon">Beacon agent</a>, and the ability to <a href="http://blog.strategiccyber.com/2013/02/12/a-vision-for-distributed-red-team-operations/">manage multiple team servers</a> are all very relevant to a CCDC red team.</p>
<p>I wrote about <a href="http://blog.strategiccyber.com/2013/04/01/wrccdc-a-red-team-members-perspective/">my experiences</a> at the <a href="http://wrccdc.org/">Western Regional Collegiate Cyber Defense Competition</a>, now I&#8217;d like to share what happened on the National CCDC Red Team.</p>
<p>I showed up to San Antonio, TX exhausted. I spent last week participating in two exercises. The <a href="http://www.maccdc.org/">Mid Atlantic CCDC event</a> and another grueling (but very challenging and fun) exercise. Once I got to San Antonio, I had dinner with my fellow red team members and I crashed out. I made it to the red team room at about 9:15am, approximately 45 minutes before go time.</p>
<p>This was my second year on the National CCDC Red Team. The National CCDC Red Team operates differently from the regionals. Where regionals are generally a free for all, the National team assigns two red team members to each blue team. We&#8217;re allowed to perform actions against other teams, but we must focus on our assigned team first, and we must not disrupt or step on the red team members who own that particular blue team.</p>
<p>When I described this model to my girlfriend, she immediately objected and stated&#8211;&#8221;that&#8217;s not fair! what happens if one team gets less skilled people assigned to them&#8221;. Hear me out, this model can work, and during the 2013 National CCDC&#8211;we provided the fairest and most balanced red experience I&#8217;ve seen at a CCDC event yet.</p>
<h3>Preparation</h3>
<p>I spent the 45 minutes before the event getting my initial attack kit prepped. One role I usually fill at CCDC events is the role of initial exploitation and persistence. The Red Team was assigned several IP address ranges. Our team captain, <a href="http://hackingexposedcomputerforensicsblog.blogspot.com/">David Cowen</a>, parceled them out by assigning each red team member with a range of addresses they could bind in the last octet of all the ranges.</p>
<p>Once I knew my addresses, I loaded a Cortana script that allows me to generate my persistence artifacts with the appropriate addresses. At CCDC, student teams are allowed to install anti-virus. Unfortunately, most artifacts generated by the Metasploit Framework are caught by anti-virus. I didn&#8217;t want to make it that easy to clean us out. So, I opted to write a persistent stager for the CCDC events this year. This stager ships with several addresses embedded to it. Once it is run, it will attempt to connect to each of these addresses, one per minute, until it successfully downloads the second stage of my malware and injects it in to memory. Because this code is not in use elsewhere, no anti-virus product that I&#8217;d have to worry about at CCDC catches it.</p>
<div id="attachment_2058" class="wp-caption aligncenter" style="width: 460px"><a href="http://rsmudge.files.wordpress.com/2013/04/tliyrhqy.jpeg"><img class="size-large wp-image-2058" alt="Seriously, this won't do you that much good." src="http://rsmudge.files.wordpress.com/2013/04/tliyrhqy.jpeg?w=450&#038;h=360" width="450" height="360" /></a><p class="wp-caption-text">Seriously, this won&#8217;t do you that much good.</p></div>
<p><strong>Pro-tip:</strong> if you found any of my persistence mechanisms and ran strings against it, you would have known my staging addresses and could have blocked them. If you blocked them, you would have blocked my other backdoors that attempted to stage through the same address.</p>
<p>Anyways, I generated my artifacts, before I even had time to bind all of my IP addresses. I setup a local Cobalt Strike instance for the initial attack and I was getting ready to setup a team server when very suddenly, 10am came and Dave shouted &#8220;go! go! go!&#8221;.</p>
<h3>Opening Salvo</h3>
<p>The first minutes of any CCDC event are critical. As a red cell member, I do not see CCDC as a game of patching, installing firewalls, and thwarting an attacker who is attempting to scan and exploit you. I see CCDC as an intrusion detection and response game. I want the students to work under the assumption that an attacker is present, focus on their operational security, and develop creative ways to dig us out, spot our activity, or disrupt our command and control. Truth is, once they patch and setup a firewall&#8211;if we don&#8217;t have access, we&#8217;re likely not going to get it. Intrusions today start with the end user for a reason&#8211;these other layers of defense stop the easy stuff.</p>
<p>Contrary to popular belief, I no longer script my opening attack. I&#8217;ve moved away from it this year. I found at earlier events that my scripted exploitation would sometimes make assumptions that I would need to correct once I understood reality. The Armitage and Cobalt Strike user interfaces are efficient enough to allow me to think on my feet and simultaneously apply an action against all systems&#8211;very quickly.</p>
<p>I start most CCDC events with a db_nmap sweep. I don&#8217;t care about discovering each open service. I want the low hanging fruit only. I use <code>nmap -sV -O -T4 --min-hostgroup 96 -p 22,445</code> across all student ranges to discover the easy exploitation opportunities as quickly as possible.</p>
<p>At National CCDC, student teams have two networks: a local network and a cloud network. This year, I opted to go after their local networks first and follow up against their cloud networks second.</p>
<p>Once a scan comes back, I sort my host display by the operating system icon. I simply highlight all Windows systems and launch the ms08_067_netapi module against them. This year, due to a bar on <a href="http://www.room362.com/">Mubix&#8217;s</a> worm, we were given a list of potential default passwords&#8211;for the first time in National CCDC history. I used this information to execute psexec against all of the remaining Windows hosts. If I did not have the default credentials, I would use a <a href="https://github.com/rsmudge/cortana-scripts/tree/master/wce">Cortana script</a> to run <a href="http://www.ampliasecurity.com/research/wcefaq.html">Windows Credential Editor</a> to get them.</p>
<p><a href="http://rsmudge.files.wordpress.com/2013/04/psexecallthethings.png"><img class="aligncenter size-large wp-image-2072" alt="psexecallthethings" src="http://rsmudge.files.wordpress.com/2013/04/psexecallthethings.png?w=450&#038;h=280" width="450" height="280" /></a></p>
<p>As Windows sessions came in, I had a Cortana script loaded that would automatically install my beachhead executable onto the systems. The persistence mechanics were nothing new. They were very similar to last year&#8217;s <a href="http://blog.strategiccyber.com/2012/10/04/dirty-red-team-tricks-ii-at-derbycon-2-0/">Dirty Red Team Tricks</a> talk. The beachhead executable&#8217;s only purpose was to connect to me, download Beacon, and inject it into memory.</p>
<p>Once I had the Windows systems, I ran the Metasploit Framework&#8217;s ssh_login module against all of the UNIX systems with root and each of the suspect default credentials. Armitage and Cobalt Strike tip&#8211;hold Shift as you click Launch to run a module but keep the dialog open. This makes it really easy to try multiple variations of an attack very quickly.</p>
<div id="attachment_2064" class="wp-caption aligncenter" style="width: 460px"><a href="http://rsmudge.files.wordpress.com/2013/04/verifyingsshkeys.png"><img class="size-large wp-image-2064" alt="Checking out those SSH keys" src="http://rsmudge.files.wordpress.com/2013/04/verifyingsshkeys.png?w=450&#038;h=282" width="450" height="282" /></a><p class="wp-caption-text">Checking out those SSH keys</p></div>
<p>Once again, I had a Cortana script loaded to automatically install some persistence on the UNIX systems. I didn&#8217;t do much to the UNIX systems at National CCDC because I did not want to step on my other red team members. I simply dropped an SSH key for root and altered the SSH configuration to allow the one key to work for any user on the system.</p>
<h3>Team Server</h3>
<p>After the opening salvo, I successfully exploited the Windows systems with port 445 open in the competition environment and I had root access to the UNIX systems with SSH open (except for the Solaris systems assigned to each team). This whole process took 1 to 2 minutes total. In theory, I had backdoors on each of these systems too, but I had no way to know because I had not yet setup a team server.</p>
<p>I went to work to setup a Cobalt Strike team server. Of the four staging addresses I created, I only bound one of them. Once Cobalt Strike was up, I connected my client to this team server and I setup the Beacon listener and gave it a different list of IP addresses to beacon back to.</p>
<p><a href="http://www.advancedpentest.com/help-beacon">Beacon</a> is a Cobalt Strike-specific payload. It doesn&#8217;t require a persistent connection to the target, rather it phones home every so often to request tasks to execute. I created Beacon to act as a quiet (in memory) persistence agent. The idea is you can use it to spawn a new Meterpreter session when it&#8217;s needed. In a pinch, Beacon can also act as a remote administration tool if your Meterpreter traffic is squashed by network defenses.</p>
<div id="attachment_2068" class="wp-caption aligncenter" style="width: 460px"><a href="http://rsmudge.files.wordpress.com/2013/04/spawningasession.png"><img class="size-large wp-image-2068" alt="Beacon -- give me shell!" src="http://rsmudge.files.wordpress.com/2013/04/spawningasession.png?w=450&#038;h=281" width="450" height="281" /></a><p class="wp-caption-text">Beacon &#8212; give me shell!</p></div>
<p>Once the listener was up, I noticed my Beacons were coming back and I was able to verify that we had all Windows systems in the competition environment at that time. This really allowed us to give students a fair game. Each team was owned, from the beginning, with the same backdoors.</p>
<h3>Cobalt Strike Use</h3>
<p>I then spent time getting folks, who asked for it, setup with Cobalt Strike so they could task their own Beacons. Several tools were in play on the National CCDC Red Team. I saw <a href="http://www.scriptjunkie.us/msfgui/">msfgui</a>, <a href="http://www.offensive-security.com/metasploit-unleashed/Msfconsole">msfconsole</a>, <a href="http://www.coresecurity.com/core-impact-pro">Core Impact</a>, <a href="http://unremote.org/">Dark Comet</a>, and <a href="http://www.advancedpentest.com">Cobalt Strike</a>. There was some <a href="http://www.fastandeasyhacking.com/">Armitage</a> too early on, but I showed those folks how they could <a href="http://blog.strategiccyber.com/2013/02/12/a-vision-for-distributed-red-team-operations/">connect Cobalt Strike to multiple Metasploit Framework instances</a> at once and that did away with that.</p>
<p>8 out of 10 blue teams had at least one red team member using Cobalt Strike to conduct post-exploitation and gain more access into their network. By my count, 15 out of 20 red cell members were using Cobalt Strike. 12 of the 20 red team members used only Cobalt Strike&#8211;primarily through the local team server without any other penetration testing platform in use. In effect, 8 simultaneous engagements were happening through one team server. Wow!</p>
<p>The workspaces feature helped a lot with this. Each Cobalt Strike user was able to define a workspace that showed them only the hosts, services, and sessions for their team.</p>
<div id="attachment_2067" class="wp-caption aligncenter" style="width: 460px"><a href="http://rsmudge.files.wordpress.com/2013/04/collabhacking.png"><img class="size-large wp-image-2067" alt="Collaborative Hacking at its Finest" src="http://rsmudge.files.wordpress.com/2013/04/collabhacking.png?w=450&#038;h=281" width="450" height="281" /></a><p class="wp-caption-text">Collaborative hacking&#8230; at its finest</p></div>
<p>As a developer, nothing excites me more than seeing someone use a tool I wrote. I&#8217;m very honored that so many well respected professionals in this field gave Cobalt Strike&#8217;s toolset a try during the National CCDC event.</p>
<h3>Other Tools</h3>
<p>Some custom stuff was in use during National CCDC. We had a custom Linux backdoor, something that works a lot like Beacon deployed to student systems. We also used Dark Comet to further fortify our access to student systems once the initial salvo was complete. Individually, a few red team members chose to deploy different RATs against their specific team, but I&#8217;m not aware of anything else that was done on an all teams basis.</p>
<p>We were also using a data management system developed by <a href="https://twitter.com/alexlevinson">Alex Levinson</a>, <a href="https://twitter.com/maus_">Maus</a>, and <a href="https://twitter.com/vyrus001">Vyrus</a> to keep track of shared information and automatically track red activity, based on a Metasploit Framework instrumentation plugin. My favorite part of the whole system&#8211;it integrates etherpad and I&#8217;m in love with etherpad for red team information sharing. It&#8217;s much better than a wiki.</p>
<h3>Tempo</h3>
<p>Once we were in, post-exploitation was up to each individual cell. Knowing that we had equal access and persistence across all teams, I greatly enjoyed the opportunity to focus on one team. The first day, our job as the red team was to stay in and quietly steal data. We were under strict instructions to not do anything that might reveal our presence. I spent the first day setting up keystroke loggers, downloading interesting files, taking screenshots, and occasionally sweeping the network to try to get access to other hosts that the initial salvo didn&#8217;t give us.</p>
<div id="attachment_2070" class="wp-caption aligncenter" style="width: 460px"><a href="http://rsmudge.files.wordpress.com/2013/04/wceforthewin.png"><img class="size-large wp-image-2070" alt="Windows Credential Editor is my co-pilot" src="http://rsmudge.files.wordpress.com/2013/04/wceforthewin.png?w=450&#038;h=283" width="450" height="283" /></a><p class="wp-caption-text">Windows Credential Editor is my co-pilot</p></div>
<p>At the start of day 2, we still had access on Windows systems on all team&#8217;s cloud networks. We also had access to at least one box on most of the team&#8217;s local networks. Some systems were beaconing to our local team server, a few were beaconing over DNS to a node in Amazon&#8217;s elastic computing cloud. The National CCDC event required teams to configure a proxy on each Windows system for it to connect to the internet. This didn&#8217;t happen on all systems, limiting my external Beacons. The second pool of accesses was still helpful in some cases though.</p>
<p>On day two, our team captain started blasting some classical music and instructing us to burn all of our boxes. The idea&#8211;get in on day 1, stay there, let the students snapshot their virtual machines with our backdoors, let them trust their snapshots, and on day 2&#8211;destroy their systems. We bounced systems for the first few hours of the day. We would jump on, destroy it, the students would restore it, our beacons would phone home, we&#8217;d request a meterpreter session, and then we&#8217;d destroy the system again.</p>
<div id="attachment_2074" class="wp-caption aligncenter" style="width: 460px"><a href="http://rsmudge.files.wordpress.com/2013/04/noooo.png"><img class="size-large wp-image-2074" alt="blue team: nooooo red team: yes yes yes" src="http://rsmudge.files.wordpress.com/2013/04/noooo.png?w=450&#038;h=280" width="450" height="280" /></a><p class="wp-caption-text">blue team: nooooo red team: yes yes yes</p></div>
<blockquote class='twitter-tweet' lang='en'><p>&lt;in a run window&gt;  me:Noooooooooooo  RedTeam:yes yes yes yes.   <a href="http://twitter.com/search?q=%23nccdc" title="#nccdc">#nccdc</a> <a href="http://twitter.com/search?q=%23blueteamprobs" title="#blueteamprobs">#blueteamprobs</a> @<a href="https://twitter.com/armitagehacker">armitagehacker</a> <a href="http://t.co/PDNJCap15t" rel="nofollow">http://t.co/PDNJCap15t</a></p>&mdash; <br />Corey Hadley (@hadley1210) <a href='http://twitter.com/#!/hadley1210/status/325970784931700736' data-datetime='2013-04-21T13:54:26+00:00'>April 21, 2013</a></blockquote>
<p>This happened all throughout the morning. As a person who likes to keep access until the end, this was scary. Students were put into a catch-22 situation. They could revert to a snapshot with all of the work they did to the system + our backdoors or they could revert to a clean image. By the end of the morning, many teams opted to revert to the clean image.</p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='450' height='284' src='http://www.youtube.com/embed/bbWENI8Yokc?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span>
<p>We were able to re-exploit systems hosted in the student&#8217;s cloud networks when they were reverted to a clean image and rebackdoor them. That part was pretty easy. As the day went on, one red cell member might make a discovery and call everyone else&#8217;s attention to it. We would then work on replicating that discovery in our environment.</p>
<p>For example, <a href="http://www.scriptjunkie.us/">Matt Weeks</a> discovered a webshell pre-implanted by the competition organizers on an internal system. All of us found the webshell on our teams and went to work through it. In the default configuration, this webshell existed on Windows systems giving us access to internal networks for some of the teams. By this time, access to internal networks was a nice find. We bounced student systems so many times, that the teams reverted to a clean snapshot for their internal systems.</p>
<p>My team had migrated their web server from Windows to Ubuntu Linux. Fortunately, they kept the webshell with the migrated site giving us access to that system as well.</p>
<p>Each red team member had a good understanding of the point system. We knew, for example, that a root/administrator level intrusion counted once and only once per unique attack vector. There was no point in exploiting systems time and again with the same thing.</p>
<p>We also knew that credit cards and other data flags were worth points.</p>
<p>One of the biggest hits we could make a team take came from publishing credit card information to their website for the whole world to see. We made sure to make this happen for all teams, where it was possible.</p>
<p>Overall, the plan worked. We didn&#8217;t achieve Dave&#8217;s life long dream of seeing every team down for every service across the board. But, we were very well organized, we collaborated, and this year we gave the students at the National CCDC event the fairest and most balanced red experience yet.</p>
<p>Congratulations to RIT on its first National CCDC win. Congratulations to Dakota State University on a very close second place finish.</p>
<p>See also:</p>
<ul>
<li><a href="http://hackingexposedcomputerforensicsblog.blogspot.com/2013/04/nccdc-2013-wrap-up.html"><span style="line-height:13px;">David Cowen&#8217;s NCCDC Wrapup (with out-brief slides)</span></a></li>
<li><a href="https://alexlevinson.wordpress.com/2013/04/24/ccdc-2013-red-team-feedback/">Alex Levinson&#8217;s Feedback to the Students</a></li>
<li><a href="http://hackingexposedcomputerforensicsblog.blogspot.com/2013/04/nccdc-2013-lessons-learned.html">David Cowen&#8217;s NCCDC Lessons Learned</a></li>
<li><a href="http://blogs.mcafee.com/cto/nccdc-2013-red-team-recap">Jim Walter&#8217;s NCCDC 2013 Recap</a></li>
</ul>
<br />Filed under: <a href='http://blog.strategiccyber.com/category/red-team-2/'>Red Team</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rsmudge.wordpress.com/2045/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rsmudge.wordpress.com/2045/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.strategiccyber.com&#038;blog=28734211&#038;post=2045&#038;subd=rsmudge&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.strategiccyber.com/2013/04/24/national-ccdc-red-team-fair-and-balanced/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/44a44db75f21982b563b1febf38b27ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rsmudge</media:title>
		</media:content>

		<media:content url="http://rsmudge.files.wordpress.com/2013/04/tliyrhqy.jpeg?w=450" medium="image">
			<media:title type="html">Seriously, this won&#039;t do you that much good.</media:title>
		</media:content>

		<media:content url="http://rsmudge.files.wordpress.com/2013/04/psexecallthethings.png?w=450" medium="image">
			<media:title type="html">psexecallthethings</media:title>
		</media:content>

		<media:content url="http://rsmudge.files.wordpress.com/2013/04/verifyingsshkeys.png?w=450" medium="image">
			<media:title type="html">Checking out those SSH keys</media:title>
		</media:content>

		<media:content url="http://rsmudge.files.wordpress.com/2013/04/spawningasession.png?w=450" medium="image">
			<media:title type="html">Beacon -- give me shell!</media:title>
		</media:content>

		<media:content url="http://rsmudge.files.wordpress.com/2013/04/collabhacking.png?w=450" medium="image">
			<media:title type="html">Collaborative Hacking at its Finest</media:title>
		</media:content>

		<media:content url="http://rsmudge.files.wordpress.com/2013/04/wceforthewin.png?w=450" medium="image">
			<media:title type="html">Windows Credential Editor is my co-pilot</media:title>
		</media:content>

		<media:content url="http://rsmudge.files.wordpress.com/2013/04/noooo.png?w=450" medium="image">
			<media:title type="html">blue team: nooooo red team: yes yes yes</media:title>
		</media:content>
	</item>
		<item>
		<title>PSA: A Safety Lesson about Team Servers</title>
		<link>http://blog.strategiccyber.com/2013/04/21/psa-a-safety-lesson-about-team-servers/</link>
		<comments>http://blog.strategiccyber.com/2013/04/21/psa-a-safety-lesson-about-team-servers/#comments</comments>
		<pubDate>Sun, 21 Apr 2013 13:08:27 +0000</pubDate>
		<dc:creator>rsmudge</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[oops]]></category>
		<category><![CDATA[my bad]]></category>
		<category><![CDATA[doh]]></category>
		<category><![CDATA[karma]]></category>
		<category><![CDATA[serendipity]]></category>
		<category><![CDATA[what it feels like]]></category>
		<category><![CDATA[I rm'd a lot of boxes and it felt good until this]]></category>
		<category><![CDATA[destroying boxes still feels good]]></category>

		<guid isPermaLink="false">http://blog.strategiccyber.com/?p=2035</guid>
		<description><![CDATA[Here&#8217;s a fun anecdote for you. I usually run a Cobalt Strike team server the CCDC events and other exercises I go to. No problem. I have a virtual machine I use as the team server. There are no sensitive files on it and fortunately, it&#8217;s a virtual machine.  I don&#8217;t care what happens to [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.strategiccyber.com&#038;blog=28734211&#038;post=2035&#038;subd=rsmudge&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Here&#8217;s a fun anecdote for you. I usually run a Cobalt Strike team server the CCDC events and other exercises I go to. No problem. I have a virtual machine I use as the team server. There are no sensitive files on it and fortunately, it&#8217;s a virtual machine.  I don&#8217;t care what happens to it.</p>
<p>At the end of the <a href="http://www.nationalccdc.org">National CCDC</a> event, our team captain announced that if we have access, we&#8217;re wrong&#8230; burn it! So, in a maniacal way, all of us jumped on sessions and destroyed system after system. All well and good, this is standard operating procedure for most exercise red teams&#8230; at the very end of an event.</p>
<p>In our maniacal zeal to take these actions, we sometimes make mistakes, it happens.</p>
<p>Anyways, let me relay a little factoid.</p>
<p>The <a href="http://www.metasploit.com">Metasploit Framework</a> has a console. Any input the console does not understand is immediately passed to the operating system, for your convenience. This input is run and its output is presented to you, the user. In classes, I&#8217;ve seen many people think they have shell when they type whoami in a Metasploit Console and learn that they&#8217;re root. They&#8217;re root, but it&#8217;s on their own system.</p>
<p>So, in the zeal at the end of the National CCDC event, someone issued an rm -rf / command to my team server. I lost data that would later become a large generated report I could provide to the teams (next year!). I&#8217;m not too worried about that. I wanted to speak to the safety lesson, one I discovered later.</p>
<p>I told VMWare to share folders with my host operating system. Fortunately, I was sharing just a dropbox folder with several tools that I keep around. I have  a backup of all this stuff, no big deal.</p>
<p>These folders were gone!</p>
<p><a href="http://rsmudge.files.wordpress.com/2013/04/burned.jpg"><img class="aligncenter size-large wp-image-2036" alt="burned" src="http://rsmudge.files.wordpress.com/2013/04/burned.jpg?w=450&#038;h=281" width="450" height="281" /></a></p>
<p>If I had shared my home folder&#8230; oh boy!  That was a close call, pretty funny since <strong><em>no harm came of it</strong></em>. Pretty scary otherwise.</p>
<p>If you&#8217;re going to host infrastructure for an event, do it on a separate server. If you&#8217;re crazy enough to use your laptop, like I am, make sure there&#8217;s isolation between your virtual machine and your operating system.</p>
<p> <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />Filed under: <a href='http://blog.strategiccyber.com/category/uncategorized/'>Uncategorized</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rsmudge.wordpress.com/2035/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rsmudge.wordpress.com/2035/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.strategiccyber.com&#038;blog=28734211&#038;post=2035&#038;subd=rsmudge&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.strategiccyber.com/2013/04/21/psa-a-safety-lesson-about-team-servers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/44a44db75f21982b563b1febf38b27ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rsmudge</media:title>
		</media:content>

		<media:content url="http://rsmudge.files.wordpress.com/2013/04/burned.jpg?w=450" medium="image">
			<media:title type="html">burned</media:title>
		</media:content>
	</item>
		<item>
		<title>Metasploit 4.6 &#8211; Now with less Open Source GUI</title>
		<link>http://blog.strategiccyber.com/2013/04/11/metasploit-4-6-now-with-less-open-source-gui/</link>
		<comments>http://blog.strategiccyber.com/2013/04/11/metasploit-4-6-now-with-less-open-source-gui/#comments</comments>
		<pubDate>Thu, 11 Apr 2013 12:00:16 +0000</pubDate>
		<dc:creator>rsmudge</dc:creator>
				<category><![CDATA[Armitage]]></category>

		<guid isPermaLink="false">http://blog.strategiccyber.com/?p=1953</guid>
		<description><![CDATA[Last week, I received an email from Tod B. at Rapid7 stating that the next binary installer of Metasploit would ship without Armitage and msfgui. Metasploit 4.6 drops both programs. According to Tod, the Metasploit Framework repository on Github will also drop both projects in the near future. The reason given is that Rapid7 does [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.strategiccyber.com&#038;blog=28734211&#038;post=1953&#038;subd=rsmudge&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Last week, I received an email from <a href="https://twitter.com/todb">Tod B.</a> at Rapid7 stating that the next binary installer of Metasploit would ship without <a href="http://www.fastandeasyhacking.com/">Armitage</a> and <a href="http://www.scriptjunkie.us/msfgui/">msfgui</a>. Metasploit 4.6 drops both programs. According to Tod, the Metasploit Framework repository on Github will also drop both projects in the near future.</p>
<p>The reason given is that Rapid7 does not want to confuse users about which products they do and do not support.</p>
<p>When I released Armitage in November 2010, I had one simple goal&#8211;release something that would get into BackTrack Linux. I didn&#8217;t expect that it would make it into the Metasploit Framework. I even had a license scheme that prohibited it (GPLv2). <a href="http://hdm.io/">HD Moore</a> approached me and asked me to change my license to BSD. If I agreed to change my license, HD would ship Armitage with the Metasploit Framework. I never expected this and I always saw this distribution as a privilege, not a right.</p>
<p>Thank you HD and Rapid7 for making Armitage part of the Metasploit Framework for the past two years. </p>
<p>For the thousands of Armitage hackers out there, I&#8217;d like to clarify how this affects you. The short answer&#8230; this isn&#8217;t a big deal.</p>
<ul>
<li>I maintain Armitage and will continue to do so. I average one release every six weeks or so. In fact, I pushed <a href="http://www.fastandeasyhacking.com/changelog">a release</a> yesterday.</li>
<p></p>
<li>I do not have an automated update process for Armitage. You&#8217;ll have to <a href="http://www.fastandeasyhacking.com/download">download it</a> from its homepage. You can <a href="http://www.fastandeasyhacking.com/changelog">signup to get an email notification</a> when a new Armitage update is available.</li>
<p></p>
<li>Armitage still works out of the box with a properly installed Metasploit environment. If you have <a href="http://www.metasploit.com">Metasploit Community Edition</a> setup, you can download Armitage, extract it, and run it. It will work like it always has.</li>
<p></p>
<li>You can <a href="http://blog.strategiccyber.com/2013/03/13/missing-in-action-armitage-on-kali-linux/">use Armitage with Kali Linux</a> as well.</li>
<p></p>
<li>If you&#8217;d like to support my work, Cobalt Strike is the way to do it. Check that it <a href="http://www.advancedpentest.com/help-armitage-vs-cobaltstrike">supports your needs</a> first (I&#8217;m a value in exchange for value kind of hacker). If Cobalt Strike isn&#8217;t for you, but you still love Armitage, a simple thank you is good too.</li>
</ul>
<p>The Armitage homepage is still <a href="http://www.fastandeasyhacking.com">http://www.fastandeasyhacking.com/</a></p>
<br />Filed under: <a href='http://blog.strategiccyber.com/category/armitage-2/'>Armitage</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rsmudge.wordpress.com/1953/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rsmudge.wordpress.com/1953/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.strategiccyber.com&#038;blog=28734211&#038;post=1953&#038;subd=rsmudge&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.strategiccyber.com/2013/04/11/metasploit-4-6-now-with-less-open-source-gui/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/44a44db75f21982b563b1febf38b27ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rsmudge</media:title>
		</media:content>
	</item>
		<item>
		<title>Cobalt Strike Updates 04.10.13</title>
		<link>http://blog.strategiccyber.com/2013/04/10/cobalt-strike-updates-04-10-13/</link>
		<comments>http://blog.strategiccyber.com/2013/04/10/cobalt-strike-updates-04-10-13/#comments</comments>
		<pubDate>Wed, 10 Apr 2013 10:55:35 +0000</pubDate>
		<dc:creator>rsmudge</dc:creator>
				<category><![CDATA[Cobalt Strike]]></category>

		<guid isPermaLink="false">http://blog.strategiccyber.com/?p=1932</guid>
		<description><![CDATA[March and April are the busy season for me. I&#8217;m on the road traveling to various exercises, testing out my wares. Starting this weekend, I will play red in three exercises back-to-back. One advantage to playing in all of these exercises is that I&#8217;m able to leverage my experiences and feedback from my fellow red [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.strategiccyber.com&#038;blog=28734211&#038;post=1932&#038;subd=rsmudge&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>March and April are the busy season for me. I&#8217;m on the road traveling to various exercises, testing out my wares. Starting this weekend, I will play red in three exercises back-to-back. One advantage to playing in all of these exercises is that I&#8217;m able to leverage my experiences and feedback from my fellow red team members to improve Armitage and Cobalt Strike.</p>
<p>Here are a few of the exercise-inspired changes that made it into this release:</p>
<ul>
<li>The VNC Viewer in Cobalt Strike now starts out view only. Untoggle the spy button to take control of the user&#8217;s desktop. &#8212; I&#8217;m having a lot of fun with VNC at these various exercises, but unfortunately I keep giving myself away by accidentally moving a student&#8217;s mouse. This change will ensure that I&#8217;m only moving a cursor when I want to.</li>
<p></p>
<li>Added a <strong>spawnto</strong> command to Beacon. This command forces Beacon to use the specified program to spawn shellcode into. &#8212; Pro-tip for RAT Developers: if you inject shellcode into the current process, you risk losing your access if the shellcode crashes the process. To get around this, Beacon spawns shellcode into a notepad.exe instance. I use notepad.exe because its location is reliable. Unfortunately, the world is getting wise to dirty hacker tricks, such as connecting to the internet from notepad.exe. With this change, you can have Beacon spawn shellcode into something else on the user&#8217;s system (e.g., Internet Explorer).</li>
<p></p>
<li>The event log now shows the date next to the time associated with each message. Cobalt Strike also highlights messages that mention your nickname.</li>
<p></p>
<li>After <a href="http://blog.strategiccyber.com/2013/04/01/wrccdc-a-red-team-members-perspective/">Western Regional CCDC</a>, I tried to generate a report from the four team servers I was connected to. The merged report wasn&#8217;t up to my standards. Most fields weren&#8217;t sorted, credentials weren&#8217;t merged across servers, and several other details were out of whack. Instead of one report, I generated four (one from each server) and used the reports to give students feedback. For this update, I went through the various data merging issues and corrected them. Next event, it&#8217;s my hope to generate one report that tells the full story.</li>
</ul>
<p>I&#8217;ve also added <a href="http://www.advancedpentest.com/help-install-kali-linux">installation instructions for Kali Linux</a>. The full list of changes is in the <a href="http://www.advancedpentest.com/releasenotes.txt">Cobalt Strike Release Notes</a> file. Licensed users may <a href="http://www.advancedpentest.com/help-update-cobalt-strike">run the update</a> program to get the latest. A <a href="http://www.advancedpentest.com/trial">21-day trial</a> of Cobalt Strike is also available.</p>
<br />Filed under: <a href='http://blog.strategiccyber.com/category/cobalt-strike-2/'>Cobalt Strike</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rsmudge.wordpress.com/1932/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rsmudge.wordpress.com/1932/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.strategiccyber.com&#038;blog=28734211&#038;post=1932&#038;subd=rsmudge&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.strategiccyber.com/2013/04/10/cobalt-strike-updates-04-10-13/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/44a44db75f21982b563b1febf38b27ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rsmudge</media:title>
		</media:content>
	</item>
		<item>
		<title>WRCCDC &#8211; A Red Team Member&#8217;s Perspective</title>
		<link>http://blog.strategiccyber.com/2013/04/01/wrccdc-a-red-team-members-perspective/</link>
		<comments>http://blog.strategiccyber.com/2013/04/01/wrccdc-a-red-team-members-perspective/#comments</comments>
		<pubDate>Mon, 01 Apr 2013 20:43:55 +0000</pubDate>
		<dc:creator>rsmudge</dc:creator>
				<category><![CDATA[Red Team]]></category>

		<guid isPermaLink="false">http://blog.strategiccyber.com/?p=1849</guid>
		<description><![CDATA[Western Regional CCDC was pretty epic. Given the level of interest in red activity, I&#8217;d like to share what I can. So much happened, I couldn&#8217;t keep up with all of it. That said, here&#8217;s my attempt to document some of the red team fun from my perspective at Western Regional CCDC. * . . [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.strategiccyber.com&#038;blog=28734211&#038;post=1849&#038;subd=rsmudge&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://wrccdc.org/">Western Regional CCDC</a> was pretty epic. Given the level of interest in red activity, I&#8217;d like to share what I can. So much happened, I couldn&#8217;t keep up with all of it. That said, here&#8217;s my attempt to document some of the red team fun from my perspective at Western Regional CCDC.</p>
<pre>* . . . . o o o o o
*               _____      o       _______
*      ____====  ]OO|_n_n__][.     |lamer|
*     [________]_|__|________)&lt;    |ville|
*      oo    oo  'oo OOOO-| oo\\_   ~~~|~~~
*  +--+--+--+--+--+--+--+--+--+--+--+--+--+</pre>
<p>The scenario was interesting. Students were put in charge of a Computer Crime Defense Center. Part of their job involved protecting a repository of computer viruses.</p>
<p>Blue teams were given a 2-hour head start to secure their systems and change passwords. I was a little worried about this, but this worry was unfounded. The WRCCDC Black Team is far more evil than any red team I have ever seen. Students had to cope with a very strange network which included things like <strong>kill</strong> yelling at them for not saying the magic word, gratuitous appearances of <a href="http://www.robobunny.com/projects/asciiquarium/html/">ASCIIQuarium</a>, and systems named in very confusing ways. Imagine my surprise when a UNIX box I quickly backdoored called home as winxp. Yeah&#8230;</p>
<div class="wp-caption alignnone" style="width: 610px"><img alt="" src="https://a248.e.akamai.net/camo.github.com/8531a3cbe60a0c754c76da199f627b3424a1feb2/687474703a2f2f692e696d6775722e636f6d2f784f4a62452e706e67" width="600" height="461" /><p class="wp-caption-text">Everyone loves pwnies</p></div>
<blockquote class='twitter-tweet' lang='en'><p><a href="https://a248.e.akamai.net/camo.github.com/8531a3cbe60a0c754c76da199f627b3424a1feb2/687474703a2f2f692e696d6775722e636f6d2f784f4a62452e706e67"> a248.e.akamai.net/camo.github.co…</a> <a href="https://github.com/erkin/ponysay"> github.com/erkin/ponysay</a> <a href="http://twitter.com/search?q=%23wrccdc" title="#wrccdc">#wrccdc</a> More black team fun...</p>&mdash; <br />James Schneider (@disturbedmime) <a href='http://twitter.com/#!/disturbedmime/status/317910911820120064' data-datetime='2013-03-30T08:07:22+00:00'>March 30, 2013</a></blockquote>
<h3>The Low Hanging Fruit</h3>
<p>Once the waiting period was over, we sat down at our systems and prepared to &#8220;facilitate&#8221; a learning experience. The first hint that we started was Vyrus&#8217;s music blasting through the convention center.</p>
<blockquote class='twitter-tweet' lang='en'><p>They say Apple is evil. <a href="http://twitter.com/search?q=%23macbook" title="#macbook">#macbook</a> <a href="http://twitter.com/search?q=%23wrccdc" title="#wrccdc">#wrccdc</a> <a href="http://twitter.com/search?q=%23redteam" title="#redteam">#redteam</a> <a href="http://t.co/wm2jwXq2Th" rel="nofollow">http://t.co/wm2jwXq2Th</a></p>&mdash; <br />WRCCDC (@wrccdc) <a href='http://twitter.com/#!/wrccdc/status/317770403126861824' data-datetime='2013-03-29T22:49:02+00:00'>March 29, 2013</a></blockquote>
<p>It took us a few minutes to get going. Apparently ICMP was not passing through from our space to the teams. So we had to resort to finding systems by looking for open services. I started with a quick sweep for port 22 and 445 with the Metasploit Framework&#8217;s ssh_version and smb_version modules. I focused on one team space at a time, to allow myself to learn the layout of the competition environment without waiting forever.</p>
<p>It didn&#8217;t take long to discover a few Windows 2003 systems. Even after a 2-hour delay, these were pretty easy to sweep with ms08_067_netapi. Stopping access to port 445 with a host-based firewall would have easily defeated this.</p>
<p>Once I had access to a few Windows systems, <a href="http://www.ampliasecurity.com/research/wcefaq.html">Windows Credential Editor</a> helped me get ahold of the default password: Opensolaris1. A few of us discovered and pasted this credential to IRC at about the same time.</p>
<div id="attachment_1902" class="wp-caption aligncenter" style="width: 460px"><a href="http://rsmudge.files.wordpress.com/2013/04/passwords.png"><img class="size-large wp-image-1902" alt="Output of a Cortana script that runs Windows Credential Editor." src="http://rsmudge.files.wordpress.com/2013/04/passwords.png?w=450&#038;h=154" width="450" height="154" /></a><p class="wp-caption-text">Output of a <a href="https://github.com/rsmudge/cortana-scripts/tree/master/wce">Cortana script</a> that runs Windows Credential Editor.</p></div>
<p>I had a <a href="http://www.advancedpentest.com/help-scripting-cortana">Cortana script</a> ready to persist like crazy on the Windows systems. I&#8217;m not giving away my full kit for this year, yet&#8230; but it&#8217;s spiritually similar to <a href="http://blog.strategiccyber.com/2012/10/04/dirty-red-team-tricks-ii-at-derbycon-2-0/">last year&#8217;s kit</a>. I also made a special effort to drop files to disk that anti-virus does not catch at this time.</p>
<p>I was able to verify that persistence worked by viewing the Beacons on the three Cobalt Strike team servers I had up. <a href="http://www.advancedpentest.com/help-beacon">Cobalt Strike&#8217;s Beacon</a> is an asynchronous post-exploitation agent. It doesn&#8217;t maintain a persistent connection to me, rather it periodically calls home to request the tasks that it should run.</p>
<p>Once I had default credentials, my next step was to attempt to login to all UNIX systems over SSH and to sweep all other Windows systems (with port 445 open) with psexec.</p>
<div id="attachment_1927" class="wp-caption aligncenter" style="width: 460px"><a href="http://rsmudge.files.wordpress.com/2013/04/maus2.png"><img class="size-large wp-image-1927" alt="Maus owned a healthy number of UNIX machines too. *pHEAR*" src="http://rsmudge.files.wordpress.com/2013/04/maus2.png?w=450&#038;h=281" width="450" height="281" /></a><p class="wp-caption-text">Maus owned a healthy number of UNIX machines too. *pHEAR*</p></div>
<p>Even 2-hours in, the default credentials bore a lot of fruit. They allowed us to lay down some persistence on the UNIX systems and to capture a Windows 2012 server system from one team.</p>
<h3>Taking Points</h3>
<p>The red team is able to affect blue team scores in three ways. Gaining access to a host takes away points. Stealing certain data flags takes away points. We&#8217;re also able to disrupt services or deface websites, which takes away points because the teams will fail service checks.</p>
<blockquote class='twitter-tweet' lang='en'><p>Ahh Rick Astley, you&#039;re never gonna give me up. <a href="http://twitter.com/search?q=%23wrccdc" title="#wrccdc">#wrccdc</a> <a href="http://t.co/YYb7NalviO" rel="nofollow">http://t.co/YYb7NalviO</a></p>&mdash; <br />uos&#1503;&#7450;&#592;&#596; &#1503;&#477;&#592;&#613;&#596;&#305;&#623; (@blainecarlson) <a href='http://twitter.com/#!/blainecarlson/status/317892865571295232' data-datetime='2013-03-30T06:55:40+00:00'>March 30, 2013</a></blockquote>
<h3>Managing Persistence</h3>
<p>I spent most of my time during the competition <a href="http://blog.strategiccyber.com/2013/02/12/a-vision-for-distributed-red-team-operations/">managing Beacons across multiple servers</a>. I would task Beacons to spawn sessions to one of the team servers my red team compatriots were connected to. The idea is this, if a blue team member sees notepad.exe connecting to an IP address, they may squash that connection and block that IP address, but so long as they don&#8217;t discover the Beacons, they can&#8217;t keep us out.</p>
<div id="attachment_1900" class="wp-caption aligncenter" style="width: 460px"><a href="http://rsmudge.files.wordpress.com/2013/04/09-21-21-beacon_10_10_12_12_3448.png"><img class="size-large wp-image-1900" alt="netstat -nab is a tool to help you discover rogue notepad.exe instances connecting to the internet" src="http://rsmudge.files.wordpress.com/2013/04/09-21-21-beacon_10_10_12_12_3448.png?w=450&#038;h=186" width="450" height="186" /></a><p class="wp-caption-text">netstat -nab is a tool to help you discover rogue notepad.exe instances connecting to the internet</p></div>
<p>Sometimes, we&#8217;d get access to a Windows system that we did not have before. This may be because the team&#8217;s system or network was down during  our earlier exploiting frenzy. When this happened, I&#8217;d help whoever gained access to the system pass it to me, so I could install persistence on it. This system would now be available for anyone connected to the team server to abuse or pivot through.</p>
<p>Sometimes, I&#8217;d fight to protect our persistence:</p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='450' height='284' src='http://www.youtube.com/embed/6jCJCXdZHh4?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span>
<p>Later in the event, the two lead teams had creative egress filtering and routing in place. I spent my time trying to understand, through trial and error, what they would and wouldn&#8217;t allow. Eventually, I ended up having to task Beacon to send reverse https sessions to a team server located in Amazon&#8217;s EC2. This gave the folks interested in dealing with these teams the opportunity to do so.</p>
<h3>Special Attention</h3>
<p>Friday, before dinner, I opted to give each team special attention. My goal was to loop through each team, one at a time, understand their networks, understand what changed, and find the low hanging fruit I could grab and persist on again. I didn&#8217;t want to miss easy access opportunities from being too busy.</p>
<p>I started with team 13 and tasked any beacons I had calling home to give me a session. Once I had my sessions, I ran Windows Credential Editor again to get any plaintext passwords. I also dumped password hashes and gave them a quick pass through John the Ripper.</p>
<p>I then setup a pivot through a Windows system, discovered live hosts with an ARP scan, and used several <a href="http://www.metasploit.com">Metasploit Framework</a> modules to discover the open services.</p>
<p>If I didn&#8217;t have access to a Windows host for a team, I would try to work from a Linux system. Conveniently, the competition black team had a Raspberry Pi device installed on each team&#8217;s network. It was taped under a table and connected directly to their switch. These devices had default credentials and <a href="http://nmap.org/">NMap</a>. In several cases, I was able to use the Raspberry Pi to run NMap against a team and import the results into Cobalt Strike.</p>
<p>In the few cases that we didn&#8217;t have access to any systems (one team adopted a strategy of staying down the entire event!), I would run NMap from a non-team server system and import the results into Cobalt Strike.</p>
<p>Once I understood which services the team had open, I would then attempt all known credentials against their Windows and UNIX hosts. If a Windows 2003 system was not hooked, I would use the trusty ms08_067_netapi exploit again. I should state&#8211;ms08_067_netapi is the only memory corruption exploit I used during this event.</p>
<div id="attachment_1898" class="wp-caption aligncenter" style="width: 460px"><a href="http://rsmudge.files.wordpress.com/2013/04/cogajkzb.jpeg"><img class="size-large wp-image-1898" alt="Ok, I'm not going to be re-exploiting this box anytime soon. Oh well :)" src="http://rsmudge.files.wordpress.com/2013/04/cogajkzb.jpeg?w=450&#038;h=337" width="450" height="337" /></a><p class="wp-caption-text">Ok, I&#8217;m not going to be re-exploiting this box anytime soon. Oh well <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p></div>
<p>During this step of the game, I got lucky as several blue teams opted to use the same password on different systems. This reused password allowed me to get access to and persist on their Windows 2012 systems.</p>
<p>Checking a few choice file locations yielded access to other assets as well:</p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='450' height='284' src='http://www.youtube.com/embed/EaH87NPM4R0?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span>
<h3>Shenanigans</h3>
<p>The Western Regional CCDC  Red Team had some crazy scary talent. Alex Levinson spent a lot of time administering forums for the blue teams. Alex, Vyrus, and <a href="https://twitter.com/maus_">Maus</a> also built a system to track our accesses, credentials, and report our activity to the competition judges. This was a big help and we were able to pilot some ways to have the Metasploit Framework feed data to this system, automagically.</p>
<blockquote class='twitter-tweet' lang='en'><p>Our <a href="http://twitter.com/search?q=%23wrccdc" title="#wrccdc">#wrccdc</a> red team including @<a href="https://twitter.com/armitagehacker">armitagehacker</a> @<a href="https://twitter.com/theKos">theKos</a> @<a href="https://twitter.com/michaelmcg19">michaelmcg19</a> @<a href="https://twitter.com/jrozner">jrozner</a> @<a href="https://twitter.com/vyrus001">vyrus001</a> @<a href="https://twitter.com/alexlevinson">alexlevinson</a> <a href="http://t.co/fU8OUIJwMu" rel="nofollow">http://t.co/fU8OUIJwMu</a></p>&mdash; <br />WRCCDC (@wrccdc) <a href='http://twitter.com/#!/wrccdc/status/318237940054638592' data-datetime='2013-03-31T05:46:52+00:00'>March 31, 2013</a></blockquote>
<p>Kos took over the X desktop for two teams and gave them full screen VNC access to each other.</p>
<blockquote class='twitter-tweet' lang='en'><p>Team 3, say hello to the full screen VNC session of Team 5s desktop. nowkiss.jpg <a href="http://twitter.com/search?q=%23wrccdc" title="#wrccdc">#wrccdc</a></p>&mdash; <br />Kos (@theKos) <a href='http://twitter.com/#!/theKos/status/317842914178920448' data-datetime='2013-03-30T03:37:10+00:00'>March 30, 2013</a></blockquote>
<p>I also heard of minecraft servers getting setup on blue team systems. An important way to provide red team with a break.</p>
<blockquote class='twitter-tweet' lang='en'><p>Is that another minecraft servers I see running on <a href="http://twitter.com/search?q=%23blueteam" title="#blueteam">#blueteam</a> servers at <a href="http://twitter.com/search?q=%23wrccdc" title="#wrccdc">#wrccdc</a>? <a href="http://t.co/F2CINfnrJX" rel="nofollow">http://t.co/F2CINfnrJX</a></p>&mdash; <br />uos&#1503;&#7450;&#592;&#596; &#1503;&#477;&#592;&#613;&#596;&#305;&#623; (@blainecarlson) <a href='http://twitter.com/#!/blainecarlson/status/317837685345624065' data-datetime='2013-03-30T03:16:24+00:00'>March 30, 2013</a></blockquote>
<p>I spent some time poisoning hosts entries on student systems to prevent them from getting to their inject scoring engine site, google, and others.</p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='450' height='284' src='http://www.youtube.com/embed/zSFR4-iBrgM?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span>
<p>A lot of pretty funny pranks came from the red team. I wish I was able to keep up with all of it and detail it to you here. Despite this shortcoming, I hope this perspective helped shed some light on the red team activity that took place over the weekend.</p>
<blockquote class='twitter-tweet' lang='en'><p><a href="http://twitter.com/search?q=%23wrccdc" title="#wrccdc">#wrccdc</a> top three teams, thanks for another great year <a href="http://t.co/QEvOHFzWT4" rel="nofollow">http://t.co/QEvOHFzWT4</a></p>&mdash; <br />Patrick O&#039;Connor (@patrickoconnor) <a href='http://twitter.com/#!/patrickoconnor/status/318273718071726080' data-datetime='2013-03-31T08:09:02+00:00'>March 31, 2013</a></blockquote>
<blockquote class='twitter-tweet' lang='en'><p>Congratulations to our 2013 <a href="http://twitter.com/search?q=%23WRCCDC" title="#WRCCDC">#WRCCDC</a> Winners! 3rd: CSU: San Bernardino, 2nd: UC Berkeley, and 1st: Cal-Poly Pomona <a href="http://fb.me/xeptxEkg"> fb.me/xeptxEkg</a></p>&mdash; <br />WRCCDC (@wrccdc) <a href='http://twitter.com/#!/wrccdc/status/318563320749752320' data-datetime='2013-04-01T03:19:48+00:00'>April 01, 2013</a></blockquote>
<p><em>One last note to close with, like any effective team, we specialize. Our red team had an infrastructure specialist, folks going after web applications, some going after access via other means, and still others handling post-exploitation on Windows and UNIX. There really was a lot happening.</em></p>
<br />Filed under: <a href='http://blog.strategiccyber.com/category/red-team-2/'>Red Team</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rsmudge.wordpress.com/1849/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rsmudge.wordpress.com/1849/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.strategiccyber.com&#038;blog=28734211&#038;post=1849&#038;subd=rsmudge&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.strategiccyber.com/2013/04/01/wrccdc-a-red-team-members-perspective/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/44a44db75f21982b563b1febf38b27ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rsmudge</media:title>
		</media:content>

		<media:content url="https://a248.e.akamai.net/camo.github.com/8531a3cbe60a0c754c76da199f627b3424a1feb2/687474703a2f2f692e696d6775722e636f6d2f784f4a62452e706e67" medium="image" />

		<media:content url="http://rsmudge.files.wordpress.com/2013/04/passwords.png?w=450" medium="image">
			<media:title type="html">Output of a Cortana script that runs Windows Credential Editor.</media:title>
		</media:content>

		<media:content url="http://rsmudge.files.wordpress.com/2013/04/maus2.png?w=450" medium="image">
			<media:title type="html">Maus owned a healthy number of UNIX machines too. *pHEAR*</media:title>
		</media:content>

		<media:content url="http://rsmudge.files.wordpress.com/2013/04/09-21-21-beacon_10_10_12_12_3448.png?w=450" medium="image">
			<media:title type="html">netstat -nab is a tool to help you discover rogue notepad.exe instances connecting to the internet</media:title>
		</media:content>

		<media:content url="http://rsmudge.files.wordpress.com/2013/04/cogajkzb.jpeg?w=450" medium="image">
			<media:title type="html">Ok, I&#039;m not going to be re-exploiting this box anytime soon. Oh well :)</media:title>
		</media:content>
	</item>
		<item>
		<title>Pivoting through SSH</title>
		<link>http://blog.strategiccyber.com/2013/03/28/pivoting-through-ssh/</link>
		<comments>http://blog.strategiccyber.com/2013/03/28/pivoting-through-ssh/#comments</comments>
		<pubDate>Thu, 28 Mar 2013 22:32:32 +0000</pubDate>
		<dc:creator>rsmudge</dc:creator>
				<category><![CDATA[metasploit framework]]></category>

		<guid isPermaLink="false">http://blog.strategiccyber.com/?p=1756</guid>
		<description><![CDATA[This is a pretty quick tip, but still useful. When you SSH to a host, you may use the -D flag to setup &#8220;dynamic&#8221; application-level port forwarding. Basically, this flag makes your ssh client setup a SOCKS server on the port you specify: What you may not know, is that it&#8217;s possible to send your [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.strategiccyber.com&#038;blog=28734211&#038;post=1756&#038;subd=rsmudge&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>This is a pretty quick tip, but still useful. When you SSH to a host, you may use the -D flag to setup &#8220;dynamic&#8221; application-level port forwarding. Basically, this flag makes your ssh client setup a SOCKS server on the port you specify:</p>
<pre class="brush: plain; title: ; notranslate">ssh -D 1234 msfadmin@whatever.host</pre>
<p>What you may not know, is that it&#8217;s possible to send your Metasploit Framework exploits through this SSH session. To do so, just set the <strong>Proxies</strong> option. It&#8217;s an Advanced option, so you will need to check the <em>Show Advanced Options</em> box in Armitage. The syntax is:</p>
<pre class="brush: plain; title: ; notranslate">socks4:[host]:[port]</pre>
<p>To send an attack through this SSH session, I would set <strong>Proxies</strong> to socks4:127.0.0.1:1234.</p>
<p>This came in hand at the North East Collegiate Cyber Defense Competition. We were able to get onto a student network through one Linux host. This Linux host could see another Linux host on the same network. Through this second Linux host, we were able to touch the team&#8217;s domain controller. We had cracked several credentials earlier. Our last task was to verify if any of them worked through the domain controller. We fixed the team&#8217;s DNS server and installed smbclient. Once we discovered one of our accounts could read the ADMIN$ share, we used ssh -D 8080 to get to the first server. We setup proxychains to go through this SOCKS host. We then used ssh -D 8081 to connect to the second server. From that point, we were able to point Proxies to socks4:127.0.0.1:8081 to psexec and executable to the domain controller. This executable delivered <a href="http://www.advancedpentest.com/help-beacon">Cobalt Strike&#8217;s Beacon</a>, which gave us some post-exploitation capabilities. We held that domain controller for the rest of the event.</p>
<p style="text-align:center;"><a href="http://rsmudge.files.wordpress.com/2013/03/t3.png"><img class="aligncenter  wp-image-1847" alt="t3" src="http://rsmudge.files.wordpress.com/2013/03/t3.png?w=585&#038;h=195" width="585" height="195" /></a></p>
<p>If you ever need to pivot an attack through an SSH session, the <strong>Proxies</strong> option will come in handy.</p>
<br />Filed under: <a href='http://blog.strategiccyber.com/category/metasploit-framework/'>metasploit framework</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rsmudge.wordpress.com/1756/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rsmudge.wordpress.com/1756/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.strategiccyber.com&#038;blog=28734211&#038;post=1756&#038;subd=rsmudge&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.strategiccyber.com/2013/03/28/pivoting-through-ssh/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/44a44db75f21982b563b1febf38b27ad?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rsmudge</media:title>
		</media:content>

		<media:content url="http://rsmudge.files.wordpress.com/2013/03/t3.png" medium="image">
			<media:title type="html">t3</media:title>
		</media:content>
	</item>
	</channel>
</rss>
