Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
Jan 2009 Free Giveaway Sponsor - Black Hat DC
Scooby Doo and the Crypto Caper - Answers and Winners
Daemon - A Contest Revealed
Hacking: The Art of Exploitation 2nd Edition
Nov 2008 Free Giveaway - Winners
Dec 2008 Free Giveaway Sponsor - SANS
Santa Claus is Hacking to Town
Plug-N-Play Network Hacking
Nov 2008 Free Giveaway Sponsor - CWNP
Daemon - A Contest Begins Now
It Happened One Friday - Answers and Winners
Daemon - A Contest
Scooby Doo and the Crypto Caper
MS Blue Hat Hackers Headline Chicago Security Con
The Pen Testing Perfect Storm Webcast Series with Skoudis, Wright, Johnson
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 19 guests and 1 member online
EH-Net Donations
Enter Amount:
$
CAD
USD
GBP
AUD
JPY
EUR
Google Ads
EH-Net News Feeds
Latest Additions
Book Recommendations
You are here:
Home
Forum
Ethical Hacking Discussions and Related Certifications
Other
Exploit Questions
Ethical Hacker Community Forums
January 07, 2009, 08:07:47 PM
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
: ChicagoCon 2-Day Ethical Hacking Conference with MS Blue Hats Oct 31 - Nov 1. Tickets Only $100!
www.chicagocon.com/content/view/103/51/
Home
Help
Calendar
Login
Register
Ethical Hacker Community Forums
>
Ethical Hacking Discussions and Related Certifications
>
Other
(Moderator:
don
) >
Exploit Questions
Pages: [
1
]
2
Go Down
« previous
next »
Print
Author
Topic: Exploit Questions (Read 5364 times)
0 Members and 1 Guest are viewing this topic.
tntcoda
Newbie
Offline
Posts: 14
Exploit Questions
«
on:
September 28, 2008, 07:23:05 AM »
Hi,
Ive done a limited amount of research on vulnerability analysis and exploit development, and I have a couple of querys about how relevant typical exploits like buffer overlows and format string attacks are today.
Being more specific, most modern operating systems ship with some kind of ASLR, which from what ive seen isnt at all easy to bypass. I would be interested if theres any papers on how it can actually be defeated? Plus theres things avaliable on top of this like stack protection, grsecurity and selinux locking things down further.
With this in mind, getting shellcode working in a modern OS seems 'near impossible'? Dont get me wrong 5 years ago it seemed incredibly dangerous and easy to do. But from what ive read it seems to be getting to the point where all you can do now is crash a program i.e DoS.
So am I correct in this line of thought? I suppose crashing a program can be considered just as serious, but being able to executing arbitrary code from an OS level vulneratbility or a running process seems to be fading away? Any other attack vectors relevant to these kind of vulnerabilities?
Thanks,
Jack
Logged
CEH, Linux+
$w33p3R
Newbie
Offline
Posts: 30
Re: Exploit Questions
«
Reply #1 on:
September 28, 2008, 09:06:23 AM »
Quote from: tntcoda on September 28, 2008, 07:23:05 AM
Being more specific, most modern operating systems ship with some kind of ASLR, which from what ive seen isnt at all easy to bypass. I would be interested if theres any papers on how it can actually be defeated? Plus theres things avaliable on top of this like stack protection, grsecurity and selinux locking things down further.
Jack,
I would really view it right the opposite. If you can find an OS fresh out of the box, you are most likely going to be able to exploit it. The reason being is it most likely has tons of patches that has yet to be applied. This even applies to OS's that have been in production for awhile.
Corporations get caught with their pants down when lazy Admin don't keep up with patches on their servers and workstations. New exploits are constantly being found. That is why hackers are constantly scanning systems. They are looking for version numbers and patch numbers so they can see if it might have a vulnerability that hasn't been patched yet.
Quote from: tntcoda on September 28, 2008, 07:23:05 AM
So am I correct in this line of thought? I suppose crashing a program can be considered just as serious, but being able to executing arbitrary code from an OS level vulneratbility or a running process seems to be fading away? Any other attack vectors relevant to these kind of vulnerabilities?
Jack, Windows 2003 Server is still one of the easiest OS's to get a reverse shell on, even though its been out for how many years? Here is a real world example:
I did a scan on my employers servers not long after being hired in IT. I noticed they were running service pack 1 when service pack 2 had been out for quite awhile. So here I go, I hit Google and find all the exploits I can find for SP1. I get the list and take it to the network administrator and say, "I can do this, this and this and take control of that server right now. Don't you think you need to get this patched?"
That is how easy it is to exploit a OS fresh out of the box or not.
«
Last Edit: September 28, 2008, 09:15:01 AM by $w33p3R
»
Logged
MCP, CEH
apollo
Jr. Member
Offline
Posts: 51
Re: Exploit Questions
«
Reply #2 on:
September 29, 2008, 05:03:33 AM »
All of these features are basically raising the security bar on security. With each thing, the amount of skill and effort it takes to get a working exploit rises. That's the basic point of all the security stuff we throw out there. Whether it's firewalls or service hardening or whatever, if there is a person motivated enough and skilled enough with a lot of free time on his/her hands, eventually they will either figure out how to get in or give up to find something more fun.
There was discussion at DEFCON of how to defeat some of these things. If you read this article
http://arstechnica.com/news.ars/post/20080811-the-sky-isnt-falling-a-look-at-a-new-vista-security-bypass.html
there is the discussion that talks what tntcoda said. The things that I read that seemed most important is that a portion of all of this depends on software developers doing the right thing. This is also implied with the grsecurity software here:
http://www.grsecurity.net/confighelp.php
.
In my opinion, we as security people can keep putting up barriers, but when we look at software development, even the folks that the developers frequently look up to such as Microsoft, are opting out of their own security measures (see the first article referenced). If we are running OS's with only the base services enabled and fully patched, I think that the bar is pretty high up there, but as soon as you start installing software on there, the attack vector just gets bigger. With Vista as an example, I am pretty confident that many people that got bothered by UAC just turned that puppy off and there goes another layer of protection. Knowing that IE has opted out of additional security features along with this, and your attack space has gotten larger.
In my opinion, if we want to make sure that the systems are security, it needs to be a multi-pronged approach. 1) it needs to be convenient for the user, 2) it needs to be built into the OS, 3) it needs to be enforced by the applications. Developers are going to need to start writing code that doesn't opt out of DEP (Data Execution Protection) and ASLR(Address Space Layout Randomization), but sometimes that's hard, and we're willing to compromise. We all compromise some, I am sure that I'm not the only one that's hit the "remind me later" button on Acrobat when I'm trying to read a PDF off of a site that I trust. The compromise is what really gets us in trouble i think.
Logged
unicityd
Newbie
Offline
Posts: 14
Re: Exploit Questions
«
Reply #3 on:
September 29, 2008, 11:44:38 AM »
Jack,
Many of the protections that are being shipped can be bypassed.
On Windows, the /GS protections aren't always used and can be bypassed (in some cases) even when they are. DEP is not fully supported on some processors and does not have to be enabled for all programs.
OpenBSD has a lot of features to prevent buffer overflow attacks and, as a result, there aren't a lot of OpenBSD exploits.
Linux systems vary. StackGuard (which the /GS protections are based on) can be bypassed. Stack randomization (boot-time or run-time) can be defeated also. ASLR is harder to bypass but it is possible. PaX can be defeated (even aside from the security flaw reported on Bugtraq). Non-exec stack makes exploitation harder, but the return-into-libc method was made specifically to work around this barrier.
I posted a list of papers on writing buffer overflows a couple of weeks ago. Many of the papers in that list deal specifically with defeating the various protections:
http://www.ethicalhacker.net/component/option,com_smf/Itemid,54/topic,2897.msg13502/#msg13502
The buffer overflow exploit is very much alive.
Regards.
Logged
tntcoda
Newbie
Offline
Posts: 14
Re: Exploit Questions
«
Reply #4 on:
September 30, 2008, 09:57:29 AM »
Thanks alot for all the info guys, makes alot of sense. Will have a read through the papers posted
Logged
CEH, Linux+
sgt_mjc
Full Member
Offline
Posts: 166
Re: Exploit Questions
«
Reply #5 on:
October 01, 2008, 09:12:56 AM »
Another example of an OS being hardened correctly is an NT box we have here. This thing has been resistant to every thing several of us have tried. When the box we set up, it had just a few services running and was configured in such a way that it didn't respond to an outside box. That is not to say that a person on the inside couldn't get to it. I haven't tried that yet and this gave me that idea. But it boils down to a competent admin keeping up with the latest patches and setting up in a secure manner from the get go.
One last point to ponder. Security seeks to make a target as unattractive as possible. Look at the target house a burglar may go after. He is going to look for old locks or open windows. Something that suggests an easy pick. But if you have newer locks, locked windows, and an alarm, he is going to look for something easier. That is not to say that he couldn't get into the house, but he runs a greater chance of being caught when the next door neighbor is an easier target. Some one will find a way to get in, the trick is to make it more trouble than it is worth.
Logged
Mike Conway
CompTia Security +
C|EH
ChrisG
EH-Net Columnist
Hero Member
Offline
Posts: 1048
Re: Exploit Questions
«
Reply #6 on:
October 01, 2008, 11:10:42 PM »
you never did say what ports were open on that NT box. its quite a stretch to say NT4 is secure.
Logged
...tests i took go here...
http://carnal0wnage.blogspot.com/
don
Editor-In-Chief
Administrator
Hero Member
Offline
Posts: 2434
Editor-In-Chief
Re: Exploit Questions
«
Reply #7 on:
October 01, 2008, 11:13:38 PM »
Sorry to hijack this thread, but this marks Chris' 1000th post on EH-Net.
Many & continued thanks, my friend.
Don
Logged
CISSP, MCSE, CEH, Security+ SME
ChrisG
EH-Net Columnist
Hero Member
Offline
Posts: 1048
Re: Exploit Questions
«
Reply #8 on:
October 01, 2008, 11:18:35 PM »
wow oct is shaping up to be a great month.
and consider the thread fully hijacked
Logged
...tests i took go here...
http://carnal0wnage.blogspot.com/
sgt_mjc
Full Member
Offline
Posts: 166
Re: Exploit Questions
«
Reply #9 on:
October 02, 2008, 11:31:47 AM »
17, 80, 139 are the ports that show on an nmap scan.
Logged
Mike Conway
CompTia Security +
C|EH
ChrisG
EH-Net Columnist
Hero Member
Offline
Posts: 1048
Re: Exploit Questions
«
Reply #10 on:
October 03, 2008, 11:34:26 PM »
DCOM exploit didnt work?
Logged
...tests i took go here...
http://carnal0wnage.blogspot.com/
sgt_mjc
Full Member
Offline
Posts: 166
Re: Exploit Questions
«
Reply #11 on:
October 07, 2008, 11:16:29 AM »
Nope
The thing doesn't respond to any requests to 17 or 80. Its freakin' rediculous.
Logged
Mike Conway
CompTia Security +
C|EH
ChrisG
EH-Net Columnist
Hero Member
Offline
Posts: 1048
Re: Exploit Questions
«
Reply #12 on:
October 07, 2008, 02:21:00 PM »
reboot it!!
Logged
...tests i took go here...
http://carnal0wnage.blogspot.com/
sgt_mjc
Full Member
Offline
Posts: 166
Re: Exploit Questions
«
Reply #13 on:
October 08, 2008, 08:37:07 AM »
lmao ChrisG,
We have tried everything against it and we get no where. Its quite frustrating.
Logged
Mike Conway
CompTia Security +
C|EH
ChrisG
EH-Net Columnist
Hero Member
Offline
Posts: 1048
Re: Exploit Questions
«
Reply #14 on:
October 08, 2008, 11:26:12 AM »
did you determine the service pack level?
also, if you've tried other exploits and they failed you need to reboot it so those services can start back up, NT is notorious for crashing services after failed exploit attempts.
Logged
...tests i took go here...
http://carnal0wnage.blogspot.com/
Pages: [
1
]
2
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Special Events
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009
=> News Items and General Discussion About EH-Net
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> Certification
===> The Charter Study Group - Pen Test
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
=====> CEH - Official Course Modules v4
=====> CEH - Official Course Modules v5
=====> CEH - Official Course Modules v6
===> CPTS - Certified Pen Testing Specialist
=====> CPTS - Official Course Modules v5
===> CPTE - Certified Pen Testing Expert
=====> CPTE - Official Course Modules v1
===> ECSA - EC-Council Certified Security Analyst
=====> ECSA - Official Course Modules v1.2
=====> ECSA / LPT - Official Course Modules v3
===> OSCP - Offensive Security Certified Professional
===> GPEN - GIAC Certified Penetration Tester
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
=====> CHFI - Official Course Modules v2
===> EnCE - EnCase® Certified Examiner
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Hardware
=> Malware
=> 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
=> Gates
=> Heffner
=> Hoffman
=> RichM
=> Murray
=> J. Peltier
=> 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
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
Loading...
Sponsors
Polls
How many security events including conferences and training do you attend a year:
1 - 2
3 - 4
5 - 6
7+
None - But want to
None - Choose not to
Support EH-Net
Support EH-Net by
Buying all of your
Amazon items using
the search bar above.
Try CBT Nuggets Free!
Recent Forum Topics
CEH - Certified Ethical Hacker
: CEH is a scam
(15) by
w007
Links to cool sites.
: Free Computer Engineering Classes From Stanford
(2) by
shednik
Book Reviews
: Need a book suggestion!
(1) by
BillV
Book Reviews
: [Article]-Mitnick - The Art Of Intrusion: Ch 1 - Hacking The Casinos For A Million Bu...
(4) by
ethicalhack3r
News Items and General Discussion About EH-Net
: [Article]-Jan 2009 Free Giveaway Sponsor - Black Hat DC
(0) by
don
News Items and General Discussion About EH-Net
: EH-Net Milestone - 2 Articles Cross 1 Million Page Views
(3) by
BillV
Other
: What kind of lab, machines you have for your security testing?
(12) by
charlottebandit
Wireless
: Wireless Pen Testing Cards
(5) by
charlottebandit
Oct 2008 - Scooby Doo and the Crypto Caper
: [Article]-Scooby Doo and the Crypto Caper - Answers and Winners
(1) by
vijay2
Oct 2008 - Scooby Doo and the Crypto Caper
: Skillz October 08 Winning Entry - Creative
(0) by
don
Oct 2008 - Scooby Doo and the Crypto Caper
: Skillz October 08 Winning Entry - Technical
(0) by
don
Malware
: Network Virus Problem
(9) by
RoleReversal
Wireless
: WUSB600N good usb ?
(2) by
nap191
News from the Outside World
: Is this acceptable?
(8) by
NickFnord
Other
: FBI code cracking challenge
(3) by
jimbob
Calendar Of Events
: RSA 2009
(0) by
don
Forensics
: Network Forensic tools/practice/techniques
(2) by
jimbob
Malware
: Autoplay when i try to open the drive.
(4) by
jimbob
Physical Security
: Magnetic stripe card spoofing
(4) by
jimbob
Malware
: THe website is Evil but what to do??
(1) by
jimbob
Other
: Insanity?
(3) by
jason
CEH - Certified Ethical Hacker
: Any Practice Environment for learning tool for CEH?
(15) by
don
Wireless
: a petri-dish bridge
(2) by
don
CEH - Certified Ethical Hacker
: TFTP Tranfer time out
(5) by
jason
Tools
: tool to trace users
(8) by
pseud0
Malware
: Malware Challenge 2008 Analysis
(0) by
blackazarro
Programming
: Python 3.0 Released
(0) by
don
Forensics
: SANS SIFT Forensic toolkit
(1) by
don
Links to cool sites.
: Omgili Hacking - Another Search Engine dedicated to Hacking Related Forums
(2) by
RoleReversal
Tools
: Insecure.org's 2006 Top 100 Security Tools List Released
(10) by
shednik
Malware
: Security Forecast for 2009
(4) by
shednik
Other
: Happy New Year!
(8) by
vijay2
CEH - Official Course Modules v6
: Community-built CEH Wiki
(2) by
yehg
Links to cool sites.
: 25C3 25th Chaos Communication Congress
(4) by
alan
Other
: Math Review
(3) by
don
Other
: will this get me anywhere?
(5) by
jason
Physical Security
: Cloning the e-passport
(0) by
jason
Dec 08 - Santa Claus Is Hacking to Town
: [Article]-Santa Claus is Hacking to Town
(10) by
vijay2
Vote For EH-Net
progenic.com
binarica.com
technorati fave
Privacy Notice
for TDCC & All Properties
© 2009 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.