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 62 guests online
EH-Net News Feeds
Latest Additions
 
Advertisement

You are here: Home arrow Forum arrow Ethical Hacking Discussions and Related Certificationsarrow Network Pen Testingarrow Automated scans
EH-Net
May 25, 2012, 07:25:49 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Advertise on EH-Net!! - Reasonable Rates, Highly Targeted Audience.
 
   Home   Help Calendar Login Register  
Pages: [1] 2   Go Down
  Print  
Author Topic: Automated scans  (Read 6332 times)
0 Members and 5 Guests are viewing this topic.
orca
Newbie
*
Offline Offline

Posts: 6


View Profile
« on: March 12, 2010, 08:00:27 AM »

Hi. I have been reading the forum for some time, but I have a question of my own now. What I am hoping to achieve is an automated network scan that I can send on a USB stick for managers etc to use when they are visiting branch locations. What I would like to have is an application (or a script/application combo).  What this should do is take the IP from the host (local IP on the connected network), us this to determine the local ip/subnet, and then do a scan of the network. The result is the saved on the USB stick for me to look when they get back (or might use an send-mail function). Anybody knows about such a tool, or a tool that can be scripted to do something like that?
Logged
aweSEC
Hero Member
*****
Offline Offline

Posts: 1100


View Profile
« Reply #1 on: March 12, 2010, 08:07:52 AM »

Eventually nessus will suit your needs. It has a big database with many known vulnerabilities and can scan for them. Many plugins are available as well.

Core Impact would be another great tool for scanning etc., and has a great report functionality. As it is quite pricey it might not be what you are looking for though.

You should note though, that automated tools can't accomplish to what can be done when doing a manual pentest. How 'deep' should the test go? What exactly would you like to get from the results (e.g. expectations)?

Nice that you finally registered and came out from a read-only status.
Logged
orca
Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #2 on: March 12, 2010, 08:15:02 AM »

I was thinking of Nessus or even Nmap. I might have been a bit unclear in my request I guess. Since the persons who is going to use this are a rather technically challenged the tool/script need to be able to automatically determine the IP/subnet on the host it is running from, and generate an log for this. I will then review this log a a later point to determine if I should investigate the site further.
I could do the scan over the WAN, but my understanding is that a local scan will give me even more information.
Logged
hayabusa
Hero Member
*****
Offline Offline

Posts: 1304



View Profile
« Reply #3 on: March 12, 2010, 08:20:46 AM »

Welcome, orca.

Yeah, it's going to depend on exactly what data you want to gather, and how.  Using a tool like a USB switchblade or something might be another option, in conjunction with, or addition to, nessus or nmap.  There could be other, much more detailed options, as well.  It's ultimately going to depend on exactly what types of info you want to gather / scan for, log, etc.
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'


OSCP , GPEN, C|EH
orca
Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #4 on: March 12, 2010, 08:33:09 AM »

What I would like to see is the types of devices on the local LAN (hopefully so that I can discover rough AP's etc). So if it possible top combine it with netstumbler or something similar it would be great. Then a "light" vulnerability scan of the hosts as well. Basically I would like it to do as much as possible while being automatic. I work for a range of stores, and one of my headaches is how to get a good control over a lot of locations geographically spread over a large area.
Logged
xXxKrisxXx
Sr. Member
****
Offline Offline

Posts: 491



View Profile
« Reply #5 on: March 12, 2010, 10:52:25 AM »

Just wanted to shoot a couple links over that may be of use.

Giskismet sounds like it might be a neat tool for outputting kismet results in a file to a usb stick. Check out:

http://blog.securityactive.co.uk/2009/07/17/wardriving-with-kismet-newcore-and-backtrack-4/

Heres just some quick links:

Output with Nmap:
http://nmap.org/book/man-output.html

Reports with Nessus: (Page 38)
http://www.nessus.org/documentation/NessusClient_4.0_User_Guide.pdf

Cheers,

kris
« Last Edit: March 12, 2010, 10:59:11 AM by xXxKrisxXx » Logged

OSCP, OWSP, eCPPT
orca
Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #6 on: March 12, 2010, 11:18:02 AM »

Just wanted to shoot a couple links over that may be of use.

Giskismet sounds like it might be a neat tool for outputting kismet results in a file to a usb stick. Check out:

http://blog.securityactive.co.uk/2009/07/17/wardriving-with-kismet-newcore-and-backtrack-4/

Heres just some quick links:

Output with Nmap:
http://nmap.org/book/man-output.html

Reports with Nessus: (Page 38)
http://www.nessus.org/documentation/NessusClient_4.0_User_Guide.pdf

Cheers,

kris
Thanks. I know about the output options, my main concern is how to automate the process of starting the scans etc without the user having to input the subnet that I need to scan. The persons I want to do this are management people without any technical knowledge, but they happen to visit a lot of our stores, and is such in a good position to physically  do the scan. But I doubt that they will be able to input the necessary info to start the scan unless it done automatically.
A switchblade was mentioned, that might do the trick. does anybody have a good suggestion for one? 
Logged
j0rDy
Hero Member
*****
Offline Offline

Posts: 578


View Profile
« Reply #7 on: March 13, 2010, 03:46:39 AM »

the new nessus has great report features! the fact that the complete suite is now webbased makes it easier to learn the application then before! check it out and show management a nice vulnerability assessment report. i bet you will get budget for the professional feed in no time!

install BT4 on a usb stick, install nessus and perform the scan from here, good luck!
Logged

ISC2 Associate, CEH, OSCP, OSWP

earning my stripes appears to be a road i must travel alone...with a little help of EH.net
hayabusa
Hero Member
*****
Offline Offline

Posts: 1304



View Profile
« Reply #8 on: March 13, 2010, 08:58:38 AM »

Hey j0rDy!

On the BT4 suggestion, I was thinking the same thing, and ALMOST suggested it, except that, as the original post noted, they want a way to automatically get an IP on the network.  IF DHCP isn't there, and if they're not working in a NAT'd VM or anything, they won't have a way to 'automatically' give BT an address, and any managers he referred to, if less than technical folks, would have a difficult time with it.  You could put a script on there which asked them for an IP, but they'd still have to manually get it from someone.  If they truly want an automated way, they might need to script up some things for a USB switchblade or something, so that it can utilize and existing host, or grab it's IP, at a minimum, before starting it's work.
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'


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

Posts: 1006



View Profile
« Reply #9 on: March 13, 2010, 12:18:48 PM »

If I was trying to scan remote sites, I would just do it remotely.   I would deploy the necessary software over a VPN and just scan myself.   There are too many things that would go wrong with an automated solution, in my opinion. 
Logged

~~~~~~~~~~~~~~
Ketchup
hayabusa
Hero Member
*****
Offline Offline

Posts: 1304



View Profile
« Reply #10 on: March 13, 2010, 02:53:16 PM »

I'd agree.  Was simply giving some info in relation to what was asked for...  Smiley
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'


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

Posts: 1006



View Profile
« Reply #11 on: March 13, 2010, 06:20:54 PM »

I hear you.   I've been watching this thread for a while, trying to put myself in orca's shoes.   I just couldn't come up with a reason I would want to put so much effort into automating so many tools.   When I started outlining the script that would accomplish this in my head, there were just too many vectors to consider.
Logged

~~~~~~~~~~~~~~
Ketchup
hayabusa
Hero Member
*****
Offline Offline

Posts: 1304



View Profile
« Reply #12 on: March 13, 2010, 10:20:35 PM »

Yeah... if his sole intention was running an nmap scan or something, then it wouldn't be so bad.  Bud to do a full sweep and testing against a subnet, via script, is going to be a lot of work.  A switchblad could do the job, but if they want any depth from it, there's going to be a lot of prep work to get it to where they want, for a heavy gather job.

Dunno.  orca, let us know what you end up doing, although I think Ketchup and I both are on the same page, that you're in for a lot more work than you might want to get into, for this...
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'


OSCP , GPEN, C|EH
j0rDy
Hero Member
*****
Offline Offline

Posts: 578


View Profile
« Reply #13 on: March 14, 2010, 06:31:53 AM »

Hey j0rDy!

On the BT4 suggestion, I was thinking the same thing, and ALMOST suggested it, except that, as the original post noted, they want a way to automatically get an IP on the network.  IF DHCP isn't there, and if they're not working in a NAT'd VM or anything, they won't have a way to 'automatically' give BT an address, and any managers he referred to, if less than technical folks, would have a difficult time with it.  You could put a script on there which asked them for an IP, but they'd still have to manually get it from someone.  If they truly want an automated way, they might need to script up some things for a USB switchblade or something, so that it can utilize and existing host, or grab it's IP, at a minimum, before starting it's work.

and again, you are right Cheesy. depending on how the workstations get their ip address assigned it should be possible with the method you addressed. i should have added the "use the BT4 stick on an active workstation" to the steps.

automating such scans will in my opinion not give you the results you want. there will always be a human factor to make sure you get the preferred width and depth of the scan. please let us know how this turned out!
Logged

ISC2 Associate, CEH, OSCP, OSWP

earning my stripes appears to be a road i must travel alone...with a little help of EH.net
orca
Newbie
*
Offline Offline

Posts: 6


View Profile
« Reply #14 on: March 15, 2010, 12:56:04 PM »

Thanks for all the suggestions. On of the reasons that I ant to do the scan locally is that I want to catch any unwanted equipment that is deployed there without a default-gw, I will not catch those if I scan remotely. I guess an nmap scan would do in most cases. I will try to look into the switchblade option.


regards
Orca
Logged
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.388 seconds with 22 queries.
 

gk_static-ad_feb2012.jpg
Global Knowledge: Build Security Skills to Protect & Defend

els_130x200fixed2.gif
eLearnSecurity Student Course Now Live!
5% Off with Code
ELS-EH-5

SANS Deals 4 EH-Netters
$150 OFF Any SANS Course in Any Format!
Coupon Code: EHN_Connect Including SANS Security West 2012 & SANSFIRE 2012
Recent Forum Topics

cbtnuggets_logo_125.jpg
Try CBT Nuggets Free!

Vote For EH-Net

Add to Technorati Favorites
technorati fave

 
         
Advertisement

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