Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
April 2013 Free Giveaway Sponsor - eLearnSecurity
Human Intelligence to Navigate the Security Data Deluge
February 2013 Free Giveaway Winner of SANS CyberCon Training
Interview: Bugcrowd Founders on Herding Ninjas for Crowdsourced Bug Bounties
Network Forensics: The Tree in the Forest
March 2013 Free Giveaway Sponsor - Mile2
Book Review: Violent Python
February 2013 Free Giveaway Sponsor - SANS
Holiday 2012 Free Giveaway Winner of Metasploit Pro by Rapid7
Course Review: SANS FOR408 Computer Forensic Investigations – Windows In-Depth
The Security Consulting Sugar High
Tutorial: Fun with SMB on the Command Line
Interview: Ilia Kolochenko, CEO of High-Tech Bridge
October 2012 Free Giveaway Winner of LearningGate Training
The Broken: Assessing Corporate Security in 2012 to Make a Better 2013
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 41 guests and 1 member online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Network Pen Testing
Pentesting. What to do after port scan?
EH-Net
May 25, 2013, 07:13:44 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Go back to The Ethical Hacker Network Online Magazine
Home Page
Home
Help
Calendar
Login
Register
EH-Net
>
Ethical Hacking Discussions and Related Certifications
>
Network Pen Testing
(Moderator:
don
) >
Pentesting. What to do after port scan?
Pages: [
1
]
2
Go Down
« previous
next »
Print
Author
Topic: Pentesting. What to do after port scan? (Read 16880 times)
0 Members and 1 Guest are viewing this topic.
Dissident85
Newbie
Offline
Posts: 16
Pentesting. What to do after port scan?
«
on:
May 05, 2008, 06:37:42 PM »
Hi all, I am attempting to do some pen testing for the first time. Ok so I have scaned the servers I want to test using nmap, and I now have a list of open ports and the service and version for each port. I know that I need to find an appropriate exploit. But that is where I am stuck. How do I know what one to use? I have been looking through metasploit but there are just so many.
Below are the resaults of my port scan I performed. Any advice???
Quote
windows server 2k
PORT STATE SERVICE VERSION
7/tcp open echo
9/tcp open discard?
13/tcp open daytime Microsoft Windows USA daytime
17/tcp open qotd Windows qotd
19/tcp open chargen
21/tcp open tcpwrapped
25/tcp open smtp Microsoft ESMTP 5.0.2195.6713
| SMTP: Responded to EHLO command
| ****** Hello [10.0.0.6]
| AUTH GSSAPI NTLM LOGIN
| AUTH=LOGIN
| TURN
| ATRN
| SIZE 2097152
| ETRN
| PIPELINING
| DSN
| ENHANCEDSTATUSCODES
| 8bitmime
| BINARYMIME
| CHUNKING
| VRFY
| Responded to HELP command
| This server supports the following commands:
|_ HELO EHLO STARTTLS RCPT DATA RSET MAIL QUIT HELP AUTH TURN ATRN ETRN BDAT VRFY
53/tcp open domain Microsoft DNS
80/tcp open http Microsoft IIS webserver 5.0
|_ HTML title:
135/tcp open msrpc Microsoft Windows RPC
139/tcp open netbios-ssn
443/tcp open ssl Microsoft IIS SSL
| SSLv2: server still supports SSLv2
| SSL2_RC4_128_WITH_MD5
| SSL2_DES_192_EDE3_CBC_WITH_MD5
| SSL2_RC2_CBC_128_CBC_WITH_MD5
| SSL2_DES_64_CBC_WITH_MD5
| SSL2_RC4_128_EXPORT40_WITH_MD5
|_ SSL2_RC2_CBC_128_CBC_WITH_MD5
445/tcp open microsoft-ds Microsoft Windows 2000 microsoft-ds
1025/tcp open msrpc Microsoft Windows RPC
1026/tcp open msrpc Microsoft Windows RPC
1029/tcp open msrpc Microsoft Windows RPC
3389/tcp open microsoft-rdp Microsoft Terminal Service
6101/tcp open VeritasBackupExec?
6106/tcp open msrpc Microsoft Windows RPC
10000/tcp open backupexec Veritas Backup Exec 9.0
Windows server 2003
PORT STATE SERVICE VERSION
21/tcp open ftp?
25/tcp open smtp Microsoft ESMTP 6.0.3790.3959
| SMTP: Responded to EHLO command
| **.*********.local Hello [10.0.0.15]
| TURN
| SIZE
| ETRN
| PIPELINING
| DSN
| ENHANCEDSTATUSCODES
| 8bitmime
| BINARYMIME
| CHUNKING
| VRFY
| X-EXPS GSSAPI NTLM LOGIN
| X-EXPS=LOGIN
| AUTH GSSAPI NTLM LOGIN
| AUTH=LOGIN
| X-LINK2STATE
| XEXCH50
| Responded to HELP command
| This server supports the following commands:
|_ HELO EHLO STARTTLS RCPT DATA RSET MAIL QUIT HELP AUTH TURN ETRN BDAT VRFY
80/tcp open http Microsoft IIS webserver 6.0
|_ HTML title: Site doesn't have a title.
443/tcp closed https
1723/tcp open pptp Microsoft (Firmware: 3790)
3389/tcp open microsoft-rdp Microsoft Terminal Service
Logged
BillV
Hero Member
Offline
Posts: 1892
Re: Pentesting. What to do after port scan?
«
Reply #1 on:
May 06, 2008, 07:36:49 AM »
Quote from: Loic on May 05, 2008, 06:37:42 PM
Hi all, I am attempting to do some pen testing for the first time.
Care to elaborate? What are you testing? Your own system(s)?
Logged
don
Editor-In-Chief
Administrator
Hero Member
Offline
Posts: 4169
Editor-In-Chief
Re: Pentesting. What to do after port scan?
«
Reply #2 on:
May 06, 2008, 10:32:46 AM »
A pretty standard thing to do after a port scan is a vulnerability scan. Try Nessus. You may want to look up some pen testing or ethical hacking methodologies before continuing. Search this forum for "methodology" to get a good start.
I would second BillV's questions and add another. Are these production servers? Even if you have full permission to test production servers, I would never touch them on my first ever attempt at a pen test. Try this out in a lab first. Try to mimic the OS, patch level and running services, etc. Then go through the methodology in your lab.
Hope this helps,
Don
Logged
CISSP, MCSE, CSTA, Security+ SME
Kev
Sr. Member
Offline
Posts: 428
Re: Pentesting. What to do after port scan?
«
Reply #3 on:
May 06, 2008, 12:51:48 PM »
Wow what a nice scan. You cant get in with that?
Logged
Dissident85
Newbie
Offline
Posts: 16
Re: Pentesting. What to do after port scan?
«
Reply #4 on:
May 06, 2008, 08:50:55 PM »
Quote from: BillV on May 06, 2008, 07:36:49 AM
Quote from: Loic on May 05, 2008, 06:37:42 PM
Hi all, I am attempting to do some pen testing for the first time.
Care to elaborate? What are you testing? Your own system(s)?
I am testing 2 servers at my work. a mail server and a web server... they are the 2 servers that are exposed to the internet.
Logged
Dissident85
Newbie
Offline
Posts: 16
Re: Pentesting. What to do after port scan?
«
Reply #5 on:
May 06, 2008, 08:56:11 PM »
Quote from: don on May 06, 2008, 10:32:46 AM
A pretty standard thing to do after a port scan is a vulnerability scan. Try Nessus. You may want to look up some pen testing or ethical hacking methodologies before continuing. Search this forum for "methodology" to get a good start.
I would second BillV's questions and add another. Are these production servers? Even if you have full permission to test production servers, I would never touch them on my first ever attempt at a pen test. Try this out in a lab first. Try to mimic the OS, patch level and running services, etc. Then go through the methodology in your lab.
Hope this helps,
Don
well i have full backups of the servers, perhaps i could take yesterdays backups and load them into vmware? then try to penetrate them?
as for a vonerability scan, i would use one of these tools
http://backtrack.offensive-security.com/index.php/Tools#Vulnerability_Identification
right?
Yes i have permision to perform these test. We are a small company and from what started as a job as a web developer has turned into web developer / IT Admin.
Logged
don
Editor-In-Chief
Administrator
Hero Member
Offline
Posts: 4169
Editor-In-Chief
Re: Pentesting. What to do after port scan?
«
Reply #6 on:
May 06, 2008, 08:57:16 PM »
Well, even if their intended purpose is different, they both are web servers, and one is even on IIS 5 which is bad news. Upgrading that would be my first recommendation.
Don
Logged
CISSP, MCSE, CSTA, Security+ SME
Dissident85
Newbie
Offline
Posts: 16
Re: Pentesting. What to do after port scan?
«
Reply #7 on:
May 06, 2008, 08:59:42 PM »
Quote from: Kev on May 06, 2008, 12:51:48 PM
Wow what a nice scan. You cant get in with that?
Yes i was also quite surprised with the results of that scan. nmap really is a wonderful tool.
well what i have been doing is trying to find exploits. on sites like milw0rm and using metasploit. but haven't had any luck.
i guess as don said i need to do a venerability scan... im thinking prob cause i missed that stop could be why i am having so much trouble getting in.
Logged
LSOChris
Guest
Re: Pentesting. What to do after port scan?
«
Reply #8 on:
May 06, 2008, 09:31:11 PM »
i'd be taking a look at the veritas services, no one ever updates that stuff :-P
Logged
BillV
Hero Member
Offline
Posts: 1892
Re: Pentesting. What to do after port scan?
«
Reply #9 on:
May 06, 2008, 09:48:47 PM »
Quote from: ChrisG on May 06, 2008, 09:31:11 PM
i'd be taking a look at the veritas services, no one ever updates that stuff :-P
Yeah, v9 is a good 3 versions behind
Logged
Dissident85
Newbie
Offline
Posts: 16
Re: Pentesting. What to do after port scan?
«
Reply #10 on:
May 06, 2008, 10:12:46 PM »
Quote from: ChrisG on May 06, 2008, 09:31:11 PM
i'd be taking a look at the veritas services, no one ever updates that stuff :-P
veritas services???
Edit: Sorry, just looked into it, i know what you are talking about...
By the way, dose anyone know how to convert a ".v2i" to a ".vmdk"
?
«
Last Edit: May 06, 2008, 10:21:53 PM by Loic
»
Logged
don
Editor-In-Chief
Administrator
Hero Member
Offline
Posts: 4169
Editor-In-Chief
Re: Pentesting. What to do after port scan?
«
Reply #11 on:
May 06, 2008, 10:19:02 PM »
Quote
10000/tcp open backupexec Veritas Backup Exec 9.0
Logged
CISSP, MCSE, CSTA, Security+ SME
Dissident85
Newbie
Offline
Posts: 16
Re: Pentesting. What to do after port scan?
«
Reply #12 on:
May 06, 2008, 10:30:41 PM »
ok, so i just did a search on securityfocus.com and miliw0rm.com and i couldn't any exploits for version, dose that mean that there are no public exploits for that version?
Logged
don
Editor-In-Chief
Administrator
Hero Member
Offline
Posts: 4169
Editor-In-Chief
Re: Pentesting. What to do after port scan?
«
Reply #13 on:
May 06, 2008, 10:42:50 PM »
You seem to be very stuck on getting an exploit. You're not even at that stage yet. Plus, there are plenty of other ways into a machine in addition to exploits.
Don
Logged
CISSP, MCSE, CSTA, Security+ SME
Kev
Sr. Member
Offline
Posts: 428
Re: Pentesting. What to do after port scan?
«
Reply #14 on:
May 07, 2008, 02:07:23 AM »
Very true Don. Why is it that some people think the only way to "get in" is to exploit? Its sweet when you get one but I always take issue with those that think if we could only code better there would be no more stealing of data. The majority of my "hacks" have been using techniques that don't involve a software exploit. Please don't think just because your system is patched that you are 100% safe.
Logged
Pages: [
1
]
2
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009s
=> Ethical Hacktivism
=> News Items and General Discussion About EH-Net
===> Greetings
=> Special Events
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> General Certification
===> Networking
===> OS
===> Security
=> Compliance, Regulations & Standards
=> Control Systems
=> Cyber Warfare
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
===> EnCE - EnCase® Certified Examiner
===> GCFA - GIAC Certified Forensics Analyst
=> Hardware
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Malware
===> Advisories
=> Mobile
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
===> CPTC - Certified Penetration Testing Consultant
===> CPTE - Certified Penetration Testing Engineer
===> CSTA - Certified Security Testing Associate
===> eCPPT - eLearnSecurity Certified Professional Penetration Tester
===> ECSA - EC-Council Certified Security Analyst
===> GPEN - GIAC Certified Penetration Tester
===> OSCP - Offensive Security Certified Professional
=> Physical Security
=> Programming
=> Social Engineering
=> Web Applications
=> Wireless
===> CWNP Certs
===> GAWN - GIAC Assessing Wireless Networks
===> OSWP - Offensive Security Wireless Professional
=> Other
-----------------------------
Columns
-----------------------------
=> Editor-In-Chief
=> Andress
=> Gates
=> Haddix
=> Hadnagy
=> Heffner
=> Hoffman
=> Linn
=> RichM
=> Murray
=> J. Peltier
=> Weidman
=> Wilson
-----------------------------
Features
-----------------------------
=> /root
=> Book Reviews
=> Opinions
=> Skillz
===> Examples
===> May 06 - Star Hacks, Episode V: The Empire Hacks Back
===> July 06 - Hack Bill!
===> Sept 06 - Netcat in the Hat
===> Nov 06 - Hitch-Hackers Guide to the Galaxy
===> Dec 06 - A Christmas (Hacking) Story
===> Feb 07 - Charlottes Web Site
===> April 07 - Microsoft Office Space
===> June 07 - Serenity Hack
===> Oct 07 - Worst. Ethical. Hacker. Challenge. Ever.
===> Dec 07 - Frosty the Snow Crash
===> March 2008 - It Happened One Friday
===> Oct 2008 - Scooby Doo and the Crypto Caper
===> Dec 08 - Santa Claus Is Hacking to Town
===> Feb 2009 - Brady Bunch Boondoggle
===> July 2009 - Prison Break
===> October 2009 - SSHliders
===> December 2009 - Miracle on Thirty-Hack Street
===> December 2010 - The Nightmare Before Charlie Browns Christmas
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
===> Tutorial Requests
Loading...
Exclusive Deal
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:
Great!
Better.
About the same.
Little worse.
FUBAR!
Recent Forum Topics
News Items and General Discussion About EH-Net
: Change is Coming to EH-Net!!
(30) by
don
Tools
: Symbolic Exploit Assistant project is looking for collaborators
(0) by
galapag0
Greetings
: Hi from the UK
(5) by
prats84
GCIH - GIAC Certified Incident Handler
: Passed my GCIH
(9) by
prats84
Network Pen Testing
: Want a challenge? Want a GXPN practice exam?
(0) by
ajohnson
GCIH - GIAC Certified Incident Handler
: GCIH Free Practice test attempt
(1) by
prats84
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.