Thursday, March 27, 2008

MSF & Karma ---- holy crap!

So phn1x gave a little writeup on his blog about MSF and KARMA integration. Guess HD Moore did a demo at AHA on it. Not like I needed any MORE reasons to be a metsploit fanboy (I have been for awhile) but that's a big one.

you read about it here:
http://hamsterswheel.com/techblog/?p=55

SOURCE Boston 2008 talks on blip tv

someone sent me this link or posted on the security blogger's network (can't remember which) but I did find some time to watch two of the sessions from SOURCE Boston 2008 on blip.tv and thought I would pass them on to my 3 readers if they hadnt seen them.

http://sourceboston2008.blip.tv/

I watched Rich Mogull's Understanding and Preventing Data Breaches

and the l0pht Panel.

Rich's talk was really interesting right up until the video stops short of the talk finishing :-(

and the l0pht panel was really interesting as well. Those guys did so much for the industry it was really interesting to hear them talk about the "good ol' days" and see what they are all doing now.

To do: watch Dan Geer's keynote.

I also caught Chris Wysopal's talk at Black Hat D.C. on Classification and Detection of Application Backdoors. It was about all the "extra" code that was put into different projects and programs over the years and timelines of how long it took for those "additions" to be discovered.

Links!
presentation: http://www.blackhat.com/presentations/bh-dc-08/Wysopal-Eng/Presentation/bh-dc-08-beauchamp-wysopal-eng.pdf
whitepaper: http://www.blackhat.com/presentations/bh-dc-08/Wysopal-Eng/Whitepaper/bh-dc-08-beauchamp-wysopal-eng-WP.pdf

pwning pwn2own and the system

So someone pwned2own a safari vulnerability to win a macbook air at cansecwest.

couple of bloggers did writeups on it:

dre over at TS/SCI
David Maynor over at Errata Security

I'm sure there is more.

The winner was Charlie Miller of Independent Security Evaluators

Checking out the site it looks like they have been doing work on OS X vulnerabilities and research into selling 0day. Interesting.

Link: The legitimate vulnerability market: the secretive world of 0-day exploit sales
Charles Miller, Independent Security Evaluators

To me it was brilliant marketing on behalf of ISE. I don't really deal with 0day with the exception of begging for them, but I imagine that a remote preauth on any of the 3 OS's involved in the pwn2own contest is worth way more than $20k on both the "dark side" and "good side" of "responsible" disclosure. On the other hand, ISE gets to be on the front page of every security mag and blog for the next few days for the price of giving up one client side exploit and they get $10,000 on top of it. Cheers guys. Job well done. Bonus points for pwning the system.

and more fun from: http://www.securityevaluators.com/independent_eva.html

Services we do not provide:

Don't pay us to run nessus

At ISE, we offer specialized expert security services. Therefore, we do not perform commodity services such as automated networks scans and firewall configuration.

Common Criteria

ISE also does not do Common Criteria evaluation.
Life is too short.

Nice!!

Monday, March 24, 2008

Testing For Client Side Vulnerabilities

Lenny Zeltser has a good paper on Testing For Client Side Vulnerabilities:
http://www.zeltser.com/client-side-vulnerabilities/

He gives 3 attack scenarios when testing:

1. Track the clicks (low impact).
2. Plant a back door without exploitation (medium impact).
3. Exploit a client-side vulnerability (high impact).

Dean did a post about spear phishing during a pen-test, which basically covered the 1st option. We used google analytics to track who clicked on the initial link then a 2nd one for who actually entered data. Of course we dont know if that data was any good, but someone put "something" and hit the Enter button.

I would propose a 4th category which is i actually use the credentials to see if i can escalate on the network or data mine. its important to see just how much damage can be done when a user gives up a network logon to the badguy.

anyway, Lenny's paper is worth a read as well as taking a look at Jay Beale's talk on "They're Hacking Our Clients" http://toorcon.org/2007/talks/63/ClientVA-Toorcon9-Oct2007.pdf

They're is also an associated site that hasnt been updated since last year :-(
http://clientva.org/

I'm not one of those "security predictions" kind of people but organizations should start moving to conducting client side exploitation during pen tests as both a training event and to see what kind of access can be gained and damage done when credentials are obtained. instead of 1) saying we have training program so we are good or 2) saying yes we know our clients are jacked up so go ahead and just test the network defenses anyway.

Get Your Learn On Thanks To Google

Pretty cool set of videos and presentation at : http://code.google.com/edu/

watched the web security ones today, I had seen Mike Andrew's one before, the Ajax ones look promising as well.

Thursday, March 20, 2008

ChicagoCon 08

-Joe McCray & Chris are currently slated to do a workshop at ChicagoCon 08 on Saturday

-Chris is slated to talk about "New School Information Gathering" on Friday

-Dean is supposed to talk as well

Here are the details:

ChicagoCon 2008s: White Hats Come Together in Defense of the Digital Frontier

May 12 – 18, 2008

www.chicagocon.com

The Spring Edition of ChicagoCon features all new keynoters, additional security boot camps, exams on-site followed by a two-day ethical hacking conference. And without an exhibit hall full of sales pitches, you're free to learn from the pros, network with peers and advance your InfoSec career. Not just another boot camp or hacker con, ChicagoCon adds value to your training dollars with top instructors and well known certifications. 13 courses including CISSP, CEH, CHFI, Advanced Hacking, BackTrack to the Max (First Time EVER), Cisco, Microsoft, SANS, SOX, Security+ and more. The 2 days of “Con” Activities May 16 – 17 are only $100 (free for training students) and offers presentations, breakout sessions & hacking contests. >From the novice, to the ultimate techie, to the CISO chair... everyone interested in a career in security will find something at ChicagoCon, your one-stop shop for security training and certification. Keynotes: Geahan (FBI), Echemendia (Hacking Instructor), McOmie (TruTV's Tiger Team), Murray (Neohapsis) & Carpenter (SANS, Intelguardians). Presented by www.ethicalhacker.net.



Metasploit Toolkit Book Review

Metasploit Toolkit for Penetration Testing, Exploit Development, and Vulnerability Research by David Maynor

2 Stars

Potential for something great was there but wasn't delivered

I'm going to take a harsh stance on this book, mostly because this book had potential to really build upon all the information publicly available for Metasploit and really make a great book on Metasploit internals and advanced usage. Instead it seems like current public/free information was just rehashed and new information not updated for the 3.x branch of MSF.

What I consider the "meat" of this book, and what should have made this a 4 or 5 star book, covers the Metasploit Framework 2.x branch and NOT the current 3.x branch. By "meat" I mean the case studies covering exploitation using MSF. The major difference between the two is that 2.x was written in Perl and 3.x in Ruby. To be fair the first 5 chapters cover using MSF 3.x, but I really didn't feel they covered much, if anything, that's not out on the net with the exception of Chapter 5 (Adding new Payloads). "Using" Metasploit has been covered a million times in a million other books. A book specifically on Metasploit should have covered things not covered in every other hacking book.

Chapter 1 is an "Introduction to Metasploit." If you haven't ever used the tool and didn't want to RTFM, then "maybe" it would be useful for you. Most of the material I felt could be found on the Metasploit main support page, the wiki, or via google, but mostly the first two. I'm also not sure why there are pages and pages of current payloads and exploits with no explanations as to why I would use one type of payload versus another especially for the obscure ones like find tag or ordinal payloads. Doing a "show exploits" or "show payloads" without dialogue on the differences adds little value. The Leveraging Metasploit on Penetration Tests section is one paragraph :-(

Chapter 2 is "Architecture, Environment, and Installation." There are 2-3 pages on locking down a system. Why is that included? Very random. Let me cover the installation covered in the book for you. Windows, double click the executable. *nix, download via svn. That's about the level of detail we get...sigh :-(

Chapter 3 is a whopping 7 pages including the FAQ section on "Metasploit Framework and Advanced Environment Configurations." That chapter covers what is in the directories of your msf installation and using the setg command.

Chapter 4 is "Advanced Payload and Add-on Modules." Covers some old information on meterpreter and some meterpreter basics, the stuff on the net covers it in far more detail. Decent coverage of the VNC Inject payload, crappy coverage of the PassiveX payload, ok coverage of auxiliary modules and a mention of db autopwn.

Chapter 5 is "Adding New Payloads." Chapter 5 is the best chapter in the book because it discusses something...here it goes...NEW! and related to MSF 3.x. Chapter 5 is an excellent chapter walking us thru building a SIP Invite spoofer auxiliary module. Had the whole book been of this caliber it would have been a 5 star book.

The case studies should have been rewritten to work with MSF 3.x, they are all for 2.x. They are good and contain the required detail (but I didn't not work through all the examples yet) Things are similar between the branches and you can probably muddle through the conversions but it makes no sense for the first half of the book to be about 3.x and the meat to be about 2.x. At a minimum a chapter or section on converting exploits from 2.x to 3.x was in order, but was not included.

I didn't find Appendix B, "Building a Test Lab for Penetration Testing" to be all that helpful either. I think it's a reprint from Penetration Tester's Open Source Toolkit v2, but can't confirm because I don't have that book.

Tuesday, March 18, 2008

Air Force CyberCommand's General on Slashdot

I'm not a big fan of this whole cybercommand the AF is setting up, there are already so many people doing "cybersecurity" in/for DoD i'm not sure how this will help. This cybercommand doesnt seem to be in charge of anyone but AF people. I personally think the money would be better spent getting a standard for the whole .gov/.mil ironed out and finding a way to efficiently share information, resources, and workload among all the people currently doing cyber work instead of putting another child on the playground who wont play with everyone else.

anyway, what the hell do i know, on with the link:

http://interviews.slashdot.org/article.pl?sid=08/03/12/1427252

Now this is loyalty to your client...

Well not really, how Rapid7 ditched Hannaford supermarkets:

http://attrition.org/security/rant/z/rapid7.html

Monday, March 17, 2008

winexe for pass the hash action

JoMo-kun of the foofus crew has graciously published his patches to modify samba to use hashes and a patch for winexe (which is a linux psexec) to use hashes as well.

here's the link:
http://www.foofus.net/jmk/passhash.html

and here's a screenshot:

I don't believe I'll ever have to crack a password (least for windows) again :-) --take that NTLM and NTLMv2!