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 40 guests online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Network Pen Testing
Pentesting Server
EH-Net
May 24, 2013, 01:46:49 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 Server
Pages:
1
[
2
]
Go Down
« previous
next »
Print
Author
Topic: Pentesting Server (Read 9081 times)
0 Members and 1 Guest are viewing this topic.
bamed
Newbie
Offline
Posts: 48
Re: Pentesting Server
«
Reply #15 on:
May 11, 2010, 09:13:10 AM »
Actually, getting a contract is not a bad idea. I would be cautious of doing anything with verbal permission alone. If anything does go wrong, you want your own back covered.
With that being said... any more progress?
Logged
chown -R bamed ./base
sil
Hero Member
Offline
Posts: 549
Re: Pentesting Server
«
Reply #16 on:
May 11, 2010, 09:22:13 AM »
Quote from: jonas on May 11, 2010, 08:19:47 AM
No, i've been there with the it-consultant in charge, which i did some work for setting up SMB networks.
"Fiddling" with production servers is up until now just information gathering
Im asking on this forum to learn, not get criticized.
Im just looking for constructive criticism to learn, thats all.
So again, getting back to the previous comments made by others and myself:
If you've been there AND HAVE done work for them, then why would you ask what kind of server are you hitting (is it Windows or is it a firewall?)
"Fiddling" with production servers doesn't seem like something a company would tolerate unless they don't mind potentially losing business. So nothing you can add makes much sense. Most companies allowing security testing to be done almost ALWAYS 1) ask for business references 2) look for insurance policies, etc., so unless the principals of the company you're testing are 1) insane 2) completely void of understanding risk 3) eye dee 10 tees it smells fishy as heck period.
If you're looking to learn is one thing. Looking to learn on a production server is outright stupidity and anyone allowing it should not be working on that server either. My PROFESSIONAL two cents. (Not that anyone's asked). Back to the learning curve. If you're truly just curious, stay away from potentially taking out a server as it seems (and I mean this constructively) you don't know enough to avoid causing potential harm to a production environment. I've performed quite a few pentests and have recurring companies on a quarterly basis. I can tell you firsthand the last thing you want to do is cause a potential outage.
For those stating: "mimic the network with VMWare" while it may be a theoretical approach, one can't know about the patch levels on a machine in order to mimic it. The patch levels, the configurations, the user account/group configurations, etc to make it a feasbile test. You'd be pentesting nothing more than your own VMWare image, not a mirror of a target.
Jonas, I suggest you focus on learning OUTSIDE of production servers. Since you seem to still be learning, explain to this 'company' that 'allowed' you to tinker with their servers that you don't want to potentially damage their business by possibly bringing down a production server. Be honest with them: "I'm learning and there is a risk by allowing me to tinker that I can bring down (DoS) your server inadvertently." They'll appreciate you more than finding out by you fiddling you cost them money.
Logged
http://www.infiltrated.net/mgz/puppylecter.jpg
bamed
Newbie
Offline
Posts: 48
Re: Pentesting Server
«
Reply #17 on:
May 11, 2010, 09:31:25 AM »
sil does have a good point. You really don't want to mess with production servers unless you really know what you're doing. I'm assuming from the description so far that this is a small business, so they are probably more likely to let someone fiddle with things simply because they don't know better. However, if something does go wrong, even if it wasn't your fault, say someone else ( a real malicious user), gets into the system, steals some info, loads a virus, or whatever. I'd say there's a pretty good chance you could take the blame whether it's your fault or not.
We're just trying to watch your back here. It's real easy for people starting out to start fiddling with things and find themselves up a creek full of fecal matter without an adequate means of propulsion.
So, at the very least, get written permission and some kind of liability release so they can't come after you if something goes wrong.
Logged
chown -R bamed ./base
chrisj
Hero Member
Offline
Posts: 1163
Re: Pentesting Server
«
Reply #18 on:
May 11, 2010, 10:41:00 AM »
Quote from: sil on May 11, 2010, 09:22:13 AM
so unless the principals of the company you're testing are 1) insane 2) completely void of understanding risk 3) eye dee 10 tees
There are more of those companies out there than you'd believe Sil. You can usually spot them by the fact that they don't have a legal department / 1 lawyer on staff.
I'm all for lab building and testing. But there is only so much a lab can teach you, unless you're lab is really really high end (including firewalls). Even then there are things you'll not understand like the current situation Jonas is in.
I agree, there are some things that are off. I applaud jonas' desire to learn, and his willing to try. AND THE FACT HE IS WILLING TO ASK QUESTIONS.
@jonas
since you've mentioned you've got contacts there. I think it wouldn't hurt to ask them about some of the things you're seeing. They know the network better and might be able to give you some information you'll need. You can also let them know that something is misconfiguration and leaking internal ip address.
Logged
OSWP, Sec+
jonas
Newbie
Offline
Posts: 46
Re: Pentesting Server
«
Reply #19 on:
May 11, 2010, 01:00:49 PM »
I appreciate the input, and understand the risk. It's just that when I'm asking a technical question I would like a straight answer, not an essay on wether or not i should do it, or if im doing it with "malicious" intent. However, i do understand you guys asking. That being said, this is a small company. Sil, can we just drop this "fishy" talk"? I said i did some work for him, he has over 50 customers, i never said I did work at that business. So please just leave it and try discussing IT, which is more worth everyone's while =)
Edit: thx for the wordlist bamed.
«
Last Edit: May 11, 2010, 01:13:05 PM by jonas
»
Logged
bamed
Newbie
Offline
Posts: 48
Re: Pentesting Server
«
Reply #20 on:
May 11, 2010, 01:08:40 PM »
Give the password lists at
http://www.renderlab.net/projects/WPA-tables/
a try. I know this page is about WPA, but the password lists they give are still pretty good ones.
Logged
chown -R bamed ./base
jonas
Newbie
Offline
Posts: 46
Re: Pentesting Server
«
Reply #21 on:
May 11, 2010, 02:07:46 PM »
Ok, so to save time and be a little nice to the service, i asked for the password for the SSH server, and put it in my wordlist. Using auxiliary/scanner/ssh/ssh_login in msf, in verbose mode, i can see that its trying all passwords, and when it hits the correct password i get an error msg:
[-] Auxiliary failed: NoMethodError undefined method `rindex' for nil:NilClass
[-] Call stack:
[-] /opt/metasploit3/msf3/lib/msf/core/framework.rb:242:in `session_event'
[-] /opt/metasploit3/msf3/lib/msf/core/framework.rb:262:in `on_session_open'
[-] /opt/metasploit3/msf3/lib/msf/core/event_dispatcher.rb:169:in `block in method_missing'
[-] /opt/metasploit3/msf3/lib/msf/core/event_dispatcher.rb:167:in `each'
[-] /opt/metasploit3/msf3/lib/msf/core/event_dispatcher.rb:167:in `method_missing'
[-] /opt/metasploit3/msf3/lib/msf/core/session_manager.rb:70:in `register'
[-] (eval):107:in `do_login'
[-] (eval):140:in `block in run_host'
[-] /opt/metasploit3/msf3/lib/msf/core/auxiliary/auth_brute.rb:65:in `call'
[-] /opt/metasploit3/msf3/lib/msf/core/auxiliary/auth_brute.rb:65:in `block (2 levels) in each_user_pass'
[-] /opt/metasploit3/msf3/lib/msf/core/auxiliary/auth_brute.rb:95:in `each_pass'
[-] /opt/metasploit3/msf3/lib/msf/core/auxiliary/auth_brute.rb:64:in `block in each_user_pass'
[-] /opt/metasploit3/msf3/lib/msf/core/auxiliary/auth_brute.rb:83:in `each_user'
[-] /opt/metasploit3/msf3/lib/msf/core/auxiliary/auth_brute.rb:63:in `each_user_pass'
[-] (eval):135:in `run_host'
[-] /opt/metasploit3/msf3/lib/msf/core/auxiliary/scanner.rb:92:in `block in run'
Which is really not a problem, as it only happens when it gets the correct password. But could anyone explain why i get this error?
Logged
ajohnson
Recruiters
Hero Member
Offline
Posts: 1060
aka dynamik
Re: Pentesting Server
«
Reply #22 on:
May 11, 2010, 03:25:56 PM »
You need to understand people are trying to protect you as well. You really should have a signed, written contract. You may find that the person who gave you permission to do this doesn't actually have the authority to do so. Or he passes the blame on to you if something goes wrong. You're also subject to the laws of countries you're in, the target's in, and any country the packets pass through (they may not go in a straight line). You could quickly find yourself in serious trouble and ruin your career. It's a point that's worth bringing up, even if you only want technical information.
P.S. Run Dir Buster against the web server. Maybe you'll find some interesting web apps.
Logged
WIP: GCFA |
www.infosiege.net
| @infosiege
The day you stop learning is the day you start becoming obsolete.
jonas
Newbie
Offline
Posts: 46
Re: Pentesting Server
«
Reply #23 on:
May 11, 2010, 04:41:33 PM »
I appreciate that you all think so well of me and want me all the best
hehe.
Thx for all the feedback, and it seems im done now anyways, even though i still dont get that error. But its a good error so no worries
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
: When your benjamin will be to your own car and truck clean up
(0) by
areluctes
Network Pen Testing
: Want a challenge? Want a GXPN practice exam?
(0) by
ajohnson
GCIH - GIAC Certified Incident Handler
: Passed my GCIH
(8) by
ajohnson
News Items and General Discussion About EH-Net
: Change is Coming to EH-Net!!
(29) by
ajohnson
GCIH - GIAC Certified Incident Handler
: GCIH Free Practice test attempt
(1) by
prats84
Greetings
: Hi from the UK
(4) by
MrTuxracer
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
Free Business and Tech Magazines and eBooks
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.