Sponsored By:

www.coresecurity.com


www.tenablesecurity.com


www.sans.org


www.whitehatworld.com




December 31, 2008

Information gathering with GPG/PGP keytrusts

Some times you just need to know more about a person...

Often times during some of the initial phases of a pen test, I find myself needing some avenues for delivering client side attacks - with permission and within scope of course! Now, finding appropriate attacks can be a challenge, but to me a larger challenge is the social aspect. How can I convince someone to actually execute my attack? Having a little more information about the "victim" is helpful.

So, how can we obtain more information? How about some information that implies some level of familiarity, so that we can spoof names. How about some context? GPG/PGP Keytrust information can serve us well here!

NOTE: Be very careful. Use at your own risk. IANAL. For illustration purposes only. Yada, yada, yada. The folks used as an example here are just that - an example. This is al public information!

gpg_icon.jpgSo, how does a GPG/PGP Key get signed by third parties anyways? Well, some go to GPG/PGP Keysigning Parties (Yeah, I know, what nerds. Wait, I am those nerds!). Basically, a bunch of folks meet face to face, verify government issued IDs, and, based on that trust, sign each other's GPG/PGP keys. Read the whole shebang here. So, given that HOWTO (the first hit in Google for "pgp keysigning party"), what can we determine about V. Alex Brennen?

* He's the author of the document The Keysigning Party HOWTO

* He's the maintainer of the The Keysigning Party HOWTO as of January 24th, 2008

* He's likely got some GPG/PGP Keytrust information (see the first two bullets)

* His e-mail address is vab /at/ mit.edu

So, let's look up his GPG/PGP Keysigning info! Personally, I like to use the keyserver at MIT (and given that Mr Brennen's e-mail address is at the mit.edu domain, we'll likely have some luck there). Surf on over the page, and we're given the option to search right on the front page. Now, we can search for an e-mail of choice, and list all of the individuals that have signed the particular key for that user. Mr. Brennen obviously has a few! Now, in some cases you won't turn up any signers, and you'll pull up a dead end here.

Key-128x128.pngWhat next? Me, I like to search the list of keysigners for recognizable names. Someone I know has their GPG/PGP key signed by at least one recognizable name in the industry, so creating a conversation there might be very interesting. In any case, if you don't recognize any names, you can always pick at random. Another method would be to pick a keysigner that has several e-mails. What's one more to the repertoire - this one you control! Create an e-mail at a free service and use it.

With this knowledge of keysigners we might be able to determine some information that they have in common to exchange e-mails about. In this case, we know that Mr. Brennen is an internet author on a particular subject. Surely we can use some social engineering skills to craft an e-mail for this one with web links or attachments.

Now you might be saying that someone that uses GPG/PGP is a pretty sophisticated computer. We do all make mistakes, and often that is all it takes for a compromise - one mistake. So, that being said, it may take all of your social engineering skills to craft that perfect e-mail.
k-gpg-128x128.png
Obviously, if you are using these methods during a test, be sure that it is within scope of your testing. Get permission! Make sure they know about social engineering e-mails, recipients and sources.

On the defense, there is no real way to restrict the posting of the keytrust info. That public acknowledgement is the basis of the network of trust based system. Certainly one could Revoke and create new keys, and have no one sign them.

GPG/PGP works just fine without keysigning. It just isn't as nerdy.

- L

SANS Wireless Ethical Hacking, Penetration Testing and Defenses (SANS 617)

Yes yours truly (Larry, that is) Will be teaching the 6 day SANS Wireless Ethical Hacking, Penetration Testing and Defenses (SANS 617) in Regina, Saskatchewan on March 23 - 28, 2009.

As this is the first time Wireless Ethical Hacking, Penetration Testing and Defenses is being offered in Saskatchewan it is anticipated to fill quickly. Seats are Limited! Register by Feb 11, 2009 to save $375. Use our referral link to register! Tell 'em Larry form PaulDotCom sent you!

sask2009.gif

Why should you attend this course now? With the economic downturn
affecting all of us in North America, there has been a significant
increase in people exploiting network vulnerabilities, especially
wireless vulnerabilities. This course will give you the tools to combat
these efforts for your organization.

Hope to see you there!

- L

December 26, 2008

GCIH Gold Paper

Well, it has been some time since it happened but I passed my GCIH Gold paper! Some readers may already know this already, but figured I'd at least throw out the lowdown.

Read the whole paper here.

I entitled the paper "Document Metadata, the Silent Killer...". Ultimately the paper covers some traditional metadata found in jpeg images, Office documents, PDFs, and a few other interesting places. I talk at length about how to analyze, gather information and make reasonable assumptions about client/network/user configuration and possible attack vectors based on the information from metadata.

sm-farthog.jpgThis information can be beneficial to a penetration tester, as wall as an attacker. In the "perfect storm" we can take the information gathered to be able to deliver a spear fishing type of attack, with a high amount of confidence that the attack will be successful.

The paper also delves into some methods for limiting initial exposure, as well as how to prevent some of the exposure to begin with. I also talk about organizational policy, and some methods on how to introduce separation of duties to prevent accidental exposure.

The paper is fairly lengthy with quite a few examples. Through the course of the paper, I was actually instructed that the paper was too long, and covered too much. I'm of the opinion that it should be done right, so the original content stayed.

So, now you know why much of my technical content lately has been on metadata! Certainly the paper only covers the tip of the iceberg for metadata contents and file formats, but one has to start somewhere. Over the next few weeks the podcast and here on blog I'll be covering some more metadata sanitization.

If you have any feedback, comments or sugestions, don't hesitate to drop me a note at larry /at/ pauldotcom.com

- L

December 22, 2008

December Late-Breaking Computer Attack Vectors

All:

The December Late-Breaking Computer Attack Vectors webcast this month will be held on:

Tuesday, December 23, 2008 2:00 PM Eastern Standard Time (GMT -05:00, New York)

Register Here For This Webcast

Get ready to wrap up the year with the final Late Breaking Attack Vectors Webcast for 2008! Join us for a discussion about the latest attacks and defense, such as:


* Botnet Defense: Shadow server foundation


* Practical & Economically sounds defenses


* Deadly Firmware Attacks!


* PaulDotCom’s Top 5 Defensive Recommendations


* Hack Naked TV - Latest attack vectors now with video!

This webcast will run about 30-45 minutes and I will get excited, probably rant about a few more things, hopefully show you how to do something, and improve your defenses.

geektree.jpg

PaulDotCom

PaulDotCom Security Weekly - Episode 134 - December 18, 2008

Paul, Larry, and John talk security with special guest Dan Hoffman!

  • Sponsored by Core Security, listen for the new customer discount code at the end of the show
  • Sponsored by Tenable Network Security, creators of Nessus and makers of the Tenable Security Center, software that extends the power of Nessus through sophisticated reporting, remediation workflow, IDS event correlation and much more.
  • Want to register for any SANS conference? Please visit http://www.pauldotcom.com/sans/ for our referral program
  • Be sure to check out "Maltego" from Paterva, try the community edition for free!
  • Don't forget to sign up for our Mailing List, Forums, and log into our IRC Channel!
  • Full Show Notes
  • amerrychristmas.jpg

Hosts: Larry "HaxorTheMatrix" Pesce, Paul "PaulDotCom" Asadoorian, John Strand

Email: psw@pauldotcom.com

Direct Audio Download

Audio Feeds:

PaulDotCom & SANS Holiday Special!

We at PaulDotCom have a very special Christmas gift for all of our listeners. Start you new year off right with Ed Skoudis and this very special presentation of SEC560 "Network Penetration Testing and Ethical Hacking" online course via the SANS@Home Program from Tuesday, January 13, 2009 - Thursday, February 19, 2009. This course will help you become a ninja, well, a penetration testing ninja, but I'm certain if you ask nicely Ed can show you how to throw a smoke bomb and disappear :)


pentestninja.jpg

This just in, PaulDotCom listeners get 20% off when using the discount code "Pauldotcom" when registering before January 6, 2009, so sign up today!

December 19, 2008

Hack Naked TV - Episode 2 - Office 2007 Metadata Extraction

Learn some command line kung fu tricks on how to extract useful metadata from Office 2007 XML documents.


Hack Naked TV - Episode 2 - Office 2007 Metadata from PaulDotCom on Vimeo.

Hosts: Larry "HaxorTheMatrix" Pesce (Voice), Paul Asadoorian (Editing & Command Line)

Email: psw@pauldotcom.com

Direct Video Download

Video Feeds:

Hack Naked TV - Episode 1 - Sim Card Reader

Larry shows you how to build a Sim Card reader and use software to read the contents of Sim cards.


Hack Naked TV - Episode 1 - SIM Card Information Gathering from PaulDotCom on Vimeo.

Hosts: Larry "HaxorTheMatrix" Pesce

Email: psw@pauldotcom.com

Direct Video Download

Video Feeds:

PaulDotCom Security Weekly - Episode 133 Part 2 - December 11, 2008

Paul, Larry, and John talk security!

  • Sponsored by Core Security, listen for the new customer discount code at the end of the show
  • Sponsored by Tenable Network Security, creators of Nessus and makers of the Tenable Security Center, software that extends the power of Nessus through sophisticated reporting, remediation workflow, IDS event correlation and much more.
  • Want to register for any SANS conference? Please visit http://www.pauldotcom.com/sans/ for our referral program
  • Be sure to check out "Maltego" from Paterva, try the community edition for free!
  • Don't forget to sign up for our Mailing List, Forums, and log into our IRC Channel!
  • Full Show Notes
  • 228 HACKER In Loving Memory - Mother Ruth L. 1906-1989 - Father Henry Sr. 1901-1969.jpg

Hosts: Larry "HaxorTheMatrix" Pesce, Paul "PaulDotCom" Asadoorian, John Strand

Email: psw@pauldotcom.com

Direct Audio Download

Audio Feeds:

December 18, 2008

Recording & Stream Notice - Episode 134

The live stream should be active about 6:30 EST, Thursday, December 11th. We should begin recording the live show at about 7:00 EST. Please keep in mind that these times are all estimates, but we will try to do the best that we can.

This week we have a special guest, Daniel Hoffman, to talk to us about mobile device security.

NOTE: Our Icecast server has changed!

Don't forget to join in on the IRC channel during the stream - we can take live comments and discussion from the channel! Find us on IRC at irc.freenode.net #pauldotcom.

When active, the live stream(s) can be found at:

Ustream: http://ustream.tv/channel/pauldotcom-security-weekly

Icecast: http://radio.pauldotcom.com:8000

Please join us, and thanks for listening!

- Larry & Paul

dhoffman.jpg