Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 49 guests online
 
Free Business and Tech Magazines and eBooks

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Network Pen Testingarrow Non-Framework Exploits in Professional Tests?
EH-Net
May 18, 2013, 08:53:04 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Non-Framework Exploits in Professional Tests?  (Read 5775 times)
0 Members and 1 Guest are viewing this topic.
ajohnson
Recruiters
Hero Member
*
Offline Offline

Posts: 1056


aka dynamik


View Profile WWW
« on: August 11, 2010, 07:42:29 PM »

I'm just curious how often anyone else uses stand-alone exploits from sources such as Exploit DB in professional tests. I think I've only done so once.

If so, do you expect to have internet (unfiltered) access while on site?

Do you maintain an archive that you bring with you?

Or do you primarily stick to Metasploit, Canvas, Core Impact, etc.?
Logged

WIP: GCFA | www.infosiege.net | @infosiege

The day you stop learning is the day you start becoming obsolete.
Ketchup
Hero Member
*****
Offline Offline

Posts: 1021



View Profile
« Reply #1 on: August 11, 2010, 09:01:43 PM »

I use non-framework exploits.  I use any exploit I can reasonably verify won't do too much damage.  The way I look at it is the bad guys will use anything available to them. 

I usually have an archive or two on my laptop, but they are almost always too outdated.  I just forget to update them.  What I usually do is maintain an SSH account on a standard port and some odd port.  Part of pen testing is to see what egress filtering and content filtering is present on the network.  If I can't get to a site like exploit-db.com, I use my SSH account to proxy out.  This is actually another good test to see what outbound services are permitted. 

Just my thoughts.
Logged

~~~~~~~~~~~~~~
Ketchup
ajohnson
Recruiters
Hero Member
*
Offline Offline

Posts: 1056


aka dynamik


View Profile WWW
« Reply #2 on: August 11, 2010, 11:23:56 PM »

Thanks for the response. I do the same thing Smiley

I have an OpenBSD VPS ($10/mo with ARP Networks - They ROCK), and I have SSH listening on 443, amongst others. It's pretty nasty as I only get stopped if they're doing application-level inspection or are a deny-all shop and are only allowing specific IPs/URLs.

I used to do port-redirection to TinyProxy until I found out about the ssh -D option. That's been working out great. It's nice for keeping away from eavesdroppers on Hilton's network too.

If all else fails, I can often just get back online once I return to the hotel and prepare for the next day. It'd be nice if work would spring for some sort of air card though.

I think the issue I run into is simply a lack of time. Like this week, I had to perform social engineering, a security assessment with physical inspection, and a pen test in three days. I'm not even going to be able to get all the low-hanging fruit on this one, let alone go after anything more obscure.
Logged

WIP: GCFA | www.infosiege.net | @infosiege

The day you stop learning is the day you start becoming obsolete.
Ketchup
Hero Member
*****
Offline Offline

Posts: 1021



View Profile
« Reply #3 on: August 12, 2010, 01:37:28 PM »

I hear you!  Budget and time constraints are probably one of the biggest challenges.  Three days isn't much time. 
Logged

~~~~~~~~~~~~~~
Ketchup
sil
Hero Member
*****
Offline Offline

Posts: 549



View Profile WWW
« Reply #4 on: August 12, 2010, 03:10:07 PM »

Thanks for the response. I do the same thing Smiley

If all else fails, I can often just get back online once I return to the hotel and prepare for the next day. It'd be nice if work would spring for some sort of air card though.

Shame on you!... Wink

mkdir /usr/work/exploits/{linux,bsd,solaris,windows}
mkdir /usr/work/exploits/bsd/{open,net,free}
mkdir /usr/worl/exploits/windows/{xp,vista,nt,9x,2003,2008}

I have a large repository of stuff not found on typical sites (exploit-db, packetstorm, etc) stored in both compiled and uncompiled modes for both x86 and 64bits under as many operating systems as it's portable to get it running on. I try to find as much exploit code as I can and further divide it into remote/local folder inside the operating system folders. It's a pain but definitely handy in tight situations. Just make sure you hit

It pays to put together a sandbox of most operating systems to test against, I have most operating systems with the exception of things like z/OS, Tru64 and a few others. Each sandbox (VMWare by the way) has a snapshot so I can download w/e I want, unhook the sandbox from network to avoid it cooking my network/malware(reversed)exploits, run it, fix it if need be, then throw it into the tool kit if it accomplishes what I need.

PITA it is, but it will save you time in the long run. When you need them, plop them on a USB key... Re-writeable DVD/CD and instamagic access Wink Who cares if you have no connectivity to download. The downside is sorting them out and trying to fix toasty sploits (ones that don't work for those unaccustomed to slang).


http://www.0xdeadbeef.info/ (Solaris stuff rocks)
http://inj3ct0r.com/ (wanna be milw0rm)
http://rawlab.mindcreations.com/#exploit
http://www.exploit-db.com/
http://triviasecurity.net/exploits

Best bet to find hardcore PoC's and exploits, follow the coder or mesh another coder's work into your own. Why reinvent wheels Wink


Prematurely hit the save button...


Just make sure you hit "Take Snapshot" ALL the time Wink I've learned this the hard way.
« Last Edit: August 12, 2010, 03:12:37 PM by sil » Logged

ajohnson
Recruiters
Hero Member
*
Offline Offline

Posts: 1056


aka dynamik


View Profile WWW
« Reply #5 on: August 12, 2010, 03:30:08 PM »

So you're an exploit whore with OCD? Wink

I figured that was the route I was going to have to go. I was just wondering if there was an easier way to acquire and manage everything since that is a major PITA.

I <3 snapshots. I'm a VMware junkie, without a doubt!

I appreciate the response. Also, ISACA *said* they will be email results out today or tomorrow.
Logged

WIP: GCFA | www.infosiege.net | @infosiege

The day you stop learning is the day you start becoming obsolete.
hayabusa
Hero Member
*****
Offline Offline

Posts: 1630



View Profile
« Reply #6 on: August 12, 2010, 03:36:06 PM »

Kind of have to hit the main sites, and download to your heart's content, dynamik, archiving those sploits for rainy days.  I do the same, as time and resources permit.  Saves a whole lot of time and energy, in the end.  Make sure you understand what you're playing with, anytime you're using someone else's sploits from a site you're not used to, however, as I've seen a few people do serious damage because of malware, fronted as a sploit.  I've been called in after the fact, on quite a few occasions, to explain what someone (not working with me) had done to hork up someone's servers...  Nothing like knowing the competition isn't on the ball, though!  Tongue

It's just like having rainbow tables for windows password security, etc.  The more you have, even when you don't need them immediately, the better off you'll be, when you DO need them.
Logged

~ hayabusa ~ 

"All men can see these tactics whereby I conquer, but what none can see is the strategy out of which victory is evolved." - Sun Tzu, 'The Art of War'


OSCE, OSCP , GPEN, C|EH
Ketchup
Hero Member
*****
Offline Offline

Posts: 1021



View Profile
« Reply #7 on: August 13, 2010, 01:31:17 PM »


Shame on you!... Wink

mkdir /usr/work/exploits/{linux,bsd,solaris,windows}
mkdir /usr/work/exploits/bsd/{open,net,free}
mkdir /usr/worl/exploits/windows/{xp,vista,nt,9x,2003,2008}


You are absolutely correct.  I need more up to date archives.  I am going to try to make this a project.  I can't tell you how many times I have searched long and hard for some exploit code for a weird service.   Next time I needed to use the same exploit, I ended up searching again.   Smiley
Logged

~~~~~~~~~~~~~~
Ketchup
ajohnson
Recruiters
Hero Member
*
Offline Offline

Posts: 1056


aka dynamik


View Profile WWW
« Reply #8 on: August 16, 2010, 03:18:15 PM »

I just noticed that Exploit DB provides an Archive. That simplifies things a bit. I really should pay more attention to navigational menus...
Logged

WIP: GCFA | www.infosiege.net | @infosiege

The day you stop learning is the day you start becoming obsolete.
ziggy_567
Sr. Member
****
Offline Offline

Posts: 361


View Profile
« Reply #9 on: August 16, 2010, 03:46:12 PM »

If I'm not mistaken, the archive gets updated with an 'apt-get upgrade' in BT4. You'll also notice a nifty little script to search through your local copy of the archive in /pentest/exploits/exploitdb.

Logged

--
Ziggy


eCPPT - GSEC - GCIH - GCUX - RHCE - SCSecA - Security+ - Network+
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.069 seconds with 23 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Free Business and Tech Magazines and eBooks

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.