Jump to content

Recommended Posts

Posted

As i learnt on my Latest course, normal users ( in our case students ) have the ability to add 10 computer accounts to a Domain. i am the apprentice and do not want to fiddle too much, in case of breaking something and then being hunted through the building before experiencing a horrible painful death.

 

SO. :D i come to ask if anyone knows a simple solution to this security hole? Thanks.

  • Thanks 2
Posted

Although this is technically true, if your network is fairly secure anyway - there should be no option that they can access to join a domain anyway. They shouldn't be allowed to get into the rename computer dialogue or anything like that.

 

The only place this may be an issue is students bringing in laptops from home and joining them to the domain but there are a number of different solutions to this.

 

Tom

  • Thanks 1
Posted

Specifically this bit:

 

Allow authenticated users to create new computer accounts. This approach might be desirable in organizations where users can be largely trusted. However, if you only want to trust a limited group of users, such as developers, for example, to create new computer accounts, you can control this by using the Security Configuration Manager to either assign or deny this right to users. By default, authenticated users are assigned the Add workstations to domain user right on the Group Policy object on domain controllers. This enables them to create up to 10 computer accounts in the domain by using the Network Identification Wizard. The wizard requests information about the computer name, the domain or workgroup that the computer is joining, and the domain users that are to be added to the local groups for local computer access, and uses this information and the credentials of the authenticated user to create a new account in Active Directory.

 

Ben

  • Thanks 2
Posted (edited)

Hmm I've just checked our domain security pol(Administrative tools> Domain Security Policy > Local Policys > User Rights Assignment) and the default is indeed to allow users to create 10 computer accounts. This can be secured by configuring the policy option with users/groups that are to be permitted to create computer accounts.

 

It may also need changing within the Default Domain Controller Security Policy.

 

Think I'll have to take a closer look at the pols... I really wasn't expecting anything like that to be the default option argh

 

James

Edited by Jamman960
  • Thanks 1
Posted
By default, authenticated users are assigned the Add workstations to domain user right on the Group Policy object on domain controllers.

 

Wait, what? You mean that, by default, standard network users can add machines to a domain?

 

--

David Hicks

Posted
I thought this was a well known security issue in Server 2003, I've always known about it, and restrict my network by specifying the groups that are allowed to add machines to the domain in the default domain controllers policy.
Posted
Wait, what? You mean that, by default, standard network users can add machines to a domain?

 

--

David Hicks

 

 

Yep I remember reading an interview with an MS employee who worked on the AD design team. They just decided on a number out of the blue, he had a reason for it that I can't remember now but I remember laughing at it.

Surely it would be 0 by default with an option to enable it. BUT it's not a security flaw it was a 'thought' out design decision.

Posted
BUT it's not a security flaw it was a 'thought' out design decision.

 

OK, it's a design flaw then. Which ever way you look at it, it's a little bit daft.

Posted

Well, thanks all, and I'm glad I brought up an issue which other people now are aware of!

 

and who said Microsoft courses were useless! :doh:

Posted (edited)
OK, it's a design flaw then. Which ever way you look at it, it's a little bit daft.

 

 

I feel it is as well but as I say MS had a reason for it (I'll try to find the article) and this reason prevented them from changing it in 2003 and 2008 server (or did they finally change it in 2008).

 

I seem to remember the rational was that they didn't feel that adding a computer account presented an issue as their user account would still have policy and restrictions applied, they also couldn't move the computer account from the default computers container to receive software or station specific settings as they wouldn't have that right. I'm assuming that they weren't factoring in virus issues.

Edited by cookie_monster
Posted
Yep I remember reading an interview with an MS employee who worked on the AD design team. They just decided on a number out of the blue, he had a reason for it that I can't remember now but I remember laughing at it.

 

Hang on, sudden thought: does a user with a Windows XP Home or similar machine connecting to a network file share count as "joining" a domain?

 

--

David Hicks

Posted
Hang on, sudden thought: does a user with a Windows XP Home or similar machine connecting to a network file share count as "joining" a domain?

 

--

David Hicks

 

If they authenticate, then a CAL is probably required.

  • Thanks 1
Posted

Surely user would need to be local Admin on the PC to add it to domain.

 

The way I understood this setup was that although user is allowed to add a computer to the domain, the computer account would have to already have been created. Has anyone actually tested this?

  • Thanks 1
Posted
Hang on, sudden thought: does a user with a Windows XP Home or similar machine connecting to a network file share count as "joining" a domain?

 

--

David Hicks

 

 

I don't think XP Home is allowed by licence to access a domain so by doing it you would be breaking the licence terms anyway. (Don't quote me on that ;) you have to check the EULA)

Posted

This has been a 'feature' since Server 2003, so ironically I think 2000 Server (in this situation) is actually more secure by default. I agree the default value should be zero as I've never allowed staff or pupils to join the domain.

 

Windows XP Home cannot join a domain but only a workgroup, so there's no problem here. If you right click - My Computer > Properties > Computer Name (tab) you can compare the differences between Home and Pro.

You can still map network drives and access shares on a domain from XP Home, but you'd typically need to authenticate everytime; DOMAINNAME\USERNAME

Posted
This has been a 'feature' since Server 2003, so ironically I think 2000 Server (in this situation) is actually more secure by default. I agree the default value should be zero as I've never allowed staff or pupils to join the domain.

 

Windows XP Home cannot join a domain but only a workgroup, so there's no problem here. If you right click - My Computer > Properties > Computer Name (tab) you can compare the differences between Home and Pro.

You can still map network drives and access shares on a domain from XP Home, but you'd typically need to authenticate everytime; DOMAINNAME\USERNAME

 

 

It was an original Active Directory design decision and was present in Windows 2000

 

Windows 2000 grants the "Add workstations to domain" privilege to the Authenticated Users group by default. When this privilege is enabled, authenticated users can bypass the access control list (ACL) check for up to a predefined maximum value. To prevent misuse, the maximum number of machine accounts any authenticated user can join is 10 by default.

 

Domain Users Cannot Join Workstation or Server to a Domain

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...