Protect your network against elevation of privilege attacks

Daily Newsletters

Sign up to ZDNet UK's daily newsletter.

ANALYSIS
Among the attacks available to hackers, one of the most insidious is the elevation of privilege (EoP) attack. Through an EoP attack, an attacker tricks a system Windows 2000 into thinking that he has legitimate administrative privileges. With these faked privileges, the attacker can do anything a real administrator could do, including open files, change user accounts, or completely destroy the Active Directory implementation. This article will look at how EoP attacks work on Windows 2000 systems, and how you can protect your Windows servers. Elements of the attack On Windows 2000 systems, EoP attacks exploit the way the system uses security IDs (SIDs) to allocate privileges. Two key components of Windows 2000 are behind an EoP attack: access tokens and the SID History. The access token is basically a list of the user's SID and the SIDs of any groups of which the user may be a member. The SID History is an Active Directory attribute that tracks the changes of an object's SID as the object moves from one domain to another. When a user logs into the system, the user's access token will contain his or her present SID, the SIDs of any groups that he or she may belong to, and any SIDs that were previously associated with the user account through the SID History. Added together, these two elements determine whether the user can access the network and what level of access he or she will have. How an elevation of privilege attack works To pull off a SID-based EoP attack, the attacker must be able to determine the SID of another user, preferably either the Administrator account or an account with Administrator rights. Then the attacker must add that SID to his own SID History list. Doing so will grant that user the same privileges as the user from whom he has stolen the SID. As you can probably guess from the description of the attack, this is no small feat. It's very difficult for a hacker from the Internet to succeed in this kind of attack. The hacker would first have to access your network directly, either through a dial-up account or by hacking your VPN. Most attacks of this type are actually inside jobs performed by disgruntled current employees, rogue administrators, or curious users with too much free time on their hands. These attacks are also most common in large companies with multiple administrators of multiple domains across multiple locations. The size difference plays a big role in the nature of the attack. In a small company, there are fewer user objects with administrator rights from which the attacker could try to obtain a SID History. EoP attacks work in large environments because trust relationships exist within all of the forest domains of a large network. If you have a rogue administrator within a forest, it would be easy for that user to look up the SID for another administrator from another domain. The rogue administrator could then use an API tool, disk editor, or debugger to add the stolen SID to the SID History list of an account within his own domain. With the stolen SID added to the user's SID History, the rogue administrator would have administrative privileges in the domain that the stolen SID belongs to, along with his own domain. Reducing the risk You can do a few things to reduce the risk of an EoP attack. For example, your organisation could do thorough background screening on all administrators to ensure that they are highly trustworthy. Another step that you could take is to prevent the use of SID histories by avoiding running in Native mode or migrating users to new domains. However, these are only preventative measures. The only real way to prevent the SID-based EoP attack is to implement SID filtering. As you'll see, SID filtering is a fairly dramatic step that should be well thought out before implementation.

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

BrownieBoy

@Jack, > Works really well for thieves.... Nice attempt to deflect the argument by tossing in a point that's totally irrelevant, even it were...

13 hours ago by BrownieBoy on AMD Ultrathins to challenge Intel Ultrabooks
bootlegger

Make that 13 people now - I got refused today at Manchester airport. I thought I was up to date on this legislation - I knew of the EU ruling from...

16 hours ago by bootlegger on UK airport body scans will not be opt out
tinycg

Don't forget to check out apps like GoodReader or SlideShark either, they're indispensible for people on the go in presentation situations. Best...

18 hours ago by tinycg on Four top iPad apps for people on the move
TerryRK

Well it seems there is something a number of us agree on. Why is the Ubuntu Unity launcher so ugly? I thought perhaps it was something to do with...

23 hours ago by TerryRK on A tale of two distros: Ubuntu and Linux Mint
Freebies202

Duplicate comments are not made intentionally. Its very good to know that now you are keeping check on this problem because sometimes a commenter...

1 day ago by Freebies202 on Microsoft fixes blog comments, speeds up blogs with open source
kevinmchapman

"the very significant number of users" and "many (most) of us" - you have no evidence for these statements. It is a fact that most users are saying...

2 days ago by kevinmchapman on A tale of two distros: Ubuntu and Linux Mint
Marg Menzies Harrison

Another grammar faux pas is the improper use of "you". When sitting down down in a restaurant, for example, I get cringe when the waitress...

2 days ago by Marg Menzies Harrison via Facebook on 10 flagrant grammar mistakes that make you look stupid
zdnetukuser

And NOW, folks, for Canonical's next trick... Kubuntu is late. Here's a pencil. Draw your own conclusions. cf.:...

2 days ago by zdnetukuser on Linux Minterface
Moley

@kevinmchapman. The discussion here reflects the very significant number of users who really do like the traditional menu system and who wish to...

2 days ago by Moley on A tale of two distros: Ubuntu and Linux Mint
kevinmchapman

Er, no... It is an efficient means of finding the application/file/setting you need in one place. The icons are a simply a fallback for when you...

2 days ago by kevinmchapman on A tale of two distros: Ubuntu and Linux Mint
TerryRK

Isn't the provision of a text based search an admission by the developers that the mass of icons approach does not work? I don't need to use a...

2 days ago by TerryRK on A tale of two distros: Ubuntu and Linux Mint
kevinmchapman

"Unity and GNOME 3 both abandon the old text-based cascading menus in favour of a graphical icon-driven system." Point truly missed. Both use a...

2 days ago by kevinmchapman on A tale of two distros: Ubuntu and Linux Mint
TerryRK

whs001 - Thank you, I'm glad you liked the article. I absolutely agree with you on your first point. I should perhaps have made it clearer that...

2 days ago by TerryRK on A tale of two distros: Ubuntu and Linux Mint
Dennis Nilsson

If we allow corporate interest to dictate the way our government circumvents due process against foreign entities then we should accept the same...

2 days ago by Dennis Nilsson via Facebook on ACTA stumbles in Germany
GHar123

I totally dislike pirating of works, I fear that artists will be deterred from creating works if they think that they are going to get ripped off....

2 days ago by GHar123 on ACTA stumbles in Germany
JCB33

How dare film makers, artists or anybody that invests in creativity stop us pirating their works for free. I want to be able to walk into my local...

2 days ago by JCB33 on ACTA stumbles in Germany
Moley

@GrueMaster. I prefer horses for courses rather than one size fits all. I, and I suspect most other computer users, do not really wish to have...

2 days ago by Moley on A tale of two distros: Ubuntu and Linux Mint
greycynic

The product that scares me every time I have to use it is the Office 2007 version of Excel. The first bug that I found was applying the median...

2 days ago by greycynic on Ten flawed products that derail productivity
GrueMaster

Nice review and very informative. One thing I'd like to add (in reply to whs001's 1st question), the main reason to have the same interface from...

3 days ago by GrueMaster on A tale of two distros: Ubuntu and Linux Mint
Frederick Wrigley

I'be been using Mint 12 since the RC came out, and I am far more happy with the Cinnamon, the Mate, and, yes (with extensions), theGnome 3...

3 days ago by Frederick Wrigley via Facebook on A tale of two distros: Ubuntu and Linux Mint