Welcome, Register for free! or Login below:
EduGeek.net RSS Feeds Register FAQ Members Social Groups User Map Calendar Search Today's Posts Mark Forums Read

Windows Server 2000/2003 Post your questions relating to the joys of Windows Server 2000/2003 here.

Go Back   EduGeek.net Forums > Technical > Windows Server 2000/2003
Reply
 
LinkBack Thread Tools Search Thread
Sponsored Links
Old 24-11-2009, 02:49 PM   #1
 
dave20046's Avatar
 
Join Date: Jan 2009
Location: leicestershire
Posts: 59
uk
Thanks: 7
Thanked 2 Times in 1 Post
Rep Power: 3 dave20046 is on a distinguished road
Default Securing a Win2k3 Network

Right I'll ignore most of your sniggers at the title, but I've got an 'awkward' pupil just after some tips.
The kid's managed to successfully hack the network and change security rights on shared folders, how he's doing it I'm not entirely sure, he's either used a boot tool or somehow obtained an admin password. What he has managed to do is create local admin accounts on machines, I really reckon he's used a boot tool actually (the admin accounts he's set up are named 'adm' if it's of any significance).

Now firstly is there anyway of stopping him messing with the local admin passwords, I'm thinking the chances are slim. Secondly (mainly) how is he utilizing the local admin account to mess with the servers and how do I block him? I thought to do anything to files on the server he'd be prompted to enter network credentials upon connecting.

Help anyone?
  Reply With Quote
Old 24-11-2009, 02:52 PM   #2
 
dave20046's Avatar
 
Join Date: Jan 2009
Location: leicestershire
Posts: 59
uk
Thanks: 7
Thanked 2 Times in 1 Post
Rep Power: 3 dave20046 is on a distinguished road
Default

Sorry, forgot to add; the client machines are all XP.
Pupils have command prompt blocked and haven't many priveledges.
  Reply With Quote
Old 24-11-2009, 02:55 PM   #3
 
cookie_monster's Avatar
 
Join Date: May 2007
Location: Derbyshire
Posts: 3,477
uk uk england
Thanks: 202
Thanked 225 Times in 189 Posts
Rep Power: 54 cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of
Default

Well the first thing that you need to so is change the BIOS boot order and set a password so that the person can't boot your stations from any bootable media.

I'd probably also set this value to help stop local passwords being cracked "Do not store LAN Manager hash value on next password change"

Use restricted groups to stop local admins from being added to stations.

http://www.windowsecurity.com/articl...ed-Groups.html


Make sure that all of your users are only ordinary users NOT power users or local admins. Then I'd audit all users in the domain with administrator rights and change the passwords.
Also run the MBSA on servers and a few clients this will highlight any obvious problems.


Oh and I'd also be sitting the student down for a 'chat' it doesn't have to be nasty but they must be in breach of your AUP and could be suspended not to mention any seriouse breach of data should involve the police.

Last edited by cookie_monster; 24-11-2009 at 03:03 PM..
  Reply With Quote
2 Thanks to cookie_monster:
dave20046 (24-11-2009), sparkeh (24-11-2009)
Old 24-11-2009, 03:04 PM   #4
 
KWestos's Avatar
 
Join Date: Jan 2008
Posts: 384
uk
Thanks: 89
Thanked 31 Times in 27 Posts
Rep Power: 10 KWestos has a spectacular aura about KWestos has a spectacular aura about
Default

Put it on the school intranet that he wears his mam's knickers!
  Reply With Quote
4 Thanks to KWestos:
andyturpie (01-12-2009), bossman (24-11-2009), dave20046 (24-11-2009), Edu-IT (24-11-2009)
Old 24-11-2009, 03:09 PM   #5
 
Michael's Avatar
 
Join Date: Dec 2005
Location: Birmingham
Posts: 4,820
uk uk england
Thanks: 85
Thanked 681 Times in 519 Posts
Rep Power: 137 Michael ooh
Michael ooh Michael ooh Michael ooh Michael ooh Michael ooh Michael ooh
Default

As above the BIOS boot sequence configuration needs to be changed and passworded. Secondly the local administrator account password should be changed to something random too. By default XP leaves the administrator password blank. You can specify what the local adminstrator password should be in an answer file when Sysprepping machines.

On your domain, if you're using 'administrator', you should really rename this. You could also introduce Access-based Enumeration (ABE), so you can hide shares based on permissions.
  Reply With Quote
2 Thanks to Michael:
cookie_monster (24-11-2009), dave20046 (24-11-2009)
Old 24-11-2009, 03:16 PM   #6
 
cookie_monster's Avatar
 
Join Date: May 2007
Location: Derbyshire
Posts: 3,477
uk uk england
Thanks: 202
Thanked 225 Times in 189 Posts
Rep Power: 54 cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of
Default

Quote:
On your domain, if you're using 'administrator', you should really rename this
Good call. You can do this at the domain level and it will rename the local on your stations as well.

HOW TO: Rename the Administrator and Guest Account in Windows Server 2003
  Reply With Quote
3 Thanks to cookie_monster:
dave20046 (24-11-2009), Michael (24-11-2009), sparkeh (24-11-2009)
Old 24-11-2009, 03:22 PM   #7
 
dave20046's Avatar
 
Join Date: Jan 2009
Location: leicestershire
Posts: 59
uk
Thanks: 7
Thanked 2 Times in 1 Post
Rep Power: 3 dave20046 is on a distinguished road
Default

Quote:
Originally Posted by cookie_monster View Post
Well the first thing that you need to so is change the BIOS boot order and set a password so that the person can't boot your stations from any bootable media.

I'd probably also set this value to help stop local passwords being cracked "Do not store LAN Manager hash value on next password change"

Use restricted groups to stop local admins from being added to stations.

Using Restricted Groups


Make sure that all of your users are only ordinary users NOT power users or local admins. Then I'd audit all users in the domain with administrator rights and change the passwords.
Also run the MBSA on servers and a few clients this will highlight any obvious problems.


Oh and I'd also be sitting the student down for a 'chat' it doesn't have to be nasty but they must be in breach of your AUP and could be suspended not to mention any seriouse breach of data should involve the police.
Thanks for the above, I wasn't aware of the restricted groups setting I'll look into it and get it enforced. I'll nip round as many vulnerable stations as possible to alter the bios settings too (was hoping I could avoid that!) . Could you tell me where the 'do not store lan manager' value can be found?

I've had a chat with the pupil All I could really say was 'don't be distructive it's pointless' he told me the machines he'd added the extra user account to and refused to give me much more information. He reckoned he could get on remotely from home and he reckoned he was using tools that automatically cleared the logs. He also reckoned his mate who works for the MOD would be launching a dos attack at 15.05 today. It's just trying to determine the truth...

I'm keen to know how he's using the local admin account he's made to mess with the shared folders too.
  Reply With Quote
Old 24-11-2009, 03:27 PM   #8
 
Michael's Avatar
 
Join Date: Dec 2005
Location: Birmingham
Posts: 4,820
uk uk england
Thanks: 85
Thanked 681 Times in 519 Posts
Rep Power: 137 Michael ooh
Michael ooh Michael ooh Michael ooh Michael ooh Michael ooh Michael ooh
Default

Yeah and I reckon he has 4 arms too. Too busy doing things he shouldn't.
  Reply With Quote
Old 24-11-2009, 03:29 PM   #9
 
dave20046's Avatar
 
Join Date: Jan 2009
Location: leicestershire
Posts: 59
uk
Thanks: 7
Thanked 2 Times in 1 Post
Rep Power: 3 dave20046 is on a distinguished road
Default

Quote:
Originally Posted by Michael View Post
Yeah and I reckon he has 4 arms too. Too busy doing things he shouldn't.
Indeed it's frustrating, however I'm staying positive. I'm not a teacher I'm not allowed to discipline him, the teachers and head are well aware so it's up to them.

My main priority's getting stuff back on track and blocking him out, interesting episode too.

Thanks for your help michael, just renaming the admin now.

PS: I hadn't changed the admin account name previously as I thought it was pointless as the SID doesn't change for the account and they don't have the password. I take it I'm wrong just wondering if you know why though?

Last edited by dave20046; 24-11-2009 at 03:39 PM..
  Reply With Quote
Old 24-11-2009, 03:44 PM   #10
 
cookie_monster's Avatar
 
Join Date: May 2007
Location: Derbyshire
Posts: 3,477
uk uk england
Thanks: 202
Thanked 225 Times in 189 Posts
Rep Power: 54 cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of
Default

Take a look here for Do not store LAN Manager hash value on next password change, read the notes about 9x clients if you have any.

Network security: Do not store LAN Manager hash value on next password change

Quote:
PS: I hadn't changed the admin account name previously as I thought it was pointless as the SID doesn't change for the account and they don't have the password. I take it I'm wrong just wondering if you know why though?
The DA will still have the same SID but it's still an extra stumbling block, security in layers remember.
  Reply With Quote
Thanks to cookie_monster from:
dave20046 (24-11-2009)
Old 24-11-2009, 04:16 PM   #11
 
theriver's Avatar
 
Join Date: Apr 2006
Posts: 159
uk
Thanks: 8
Thanked 16 Times in 14 Posts
Rep Power: 11 theriver will become famous soon enough theriver will become famous soon enough
Default

Quote:
Originally Posted by dave20046 View Post
PS: I hadn't changed the admin account name previously as I thought it was pointless as the SID doesn't change for the account and they don't have the password. I take it I'm wrong just wondering if you know why though?
If you know the username, you know half the login details. Admittedly the smaller half (!), but every little helps . . . .

If network folders have been changed, it means that either the compromised local accounts have access to the network folders (unlikely?), his account has access to do that to the network (unlikely?) OR that he's compromised a network account that has the relevant access. Given that many of your staff will be using their fave football team as their password, that won't have been rocket surgery.

Who has access to modify those folders? Enforce a password change, and for added fun scan the logs for failed login attempts in the next few days and see if you can catch him red-handed :-)

Good luck with the MOD ;-)
  Reply With Quote
Old 24-11-2009, 04:20 PM   #12
 
dave20046's Avatar
 
Join Date: Jan 2009
Location: leicestershire
Posts: 59
uk
Thanks: 7
Thanked 2 Times in 1 Post
Rep Power: 3 dave20046 is on a distinguished road
Default

Quote:
Originally Posted by theriver View Post
If you know the username, you know half the login details. Admittedly the smaller half (!), but every little helps . . . .
True, I've applied that GPO now however it doesn't seem to have changed the username

Quote:
Originally Posted by theriver View Post

If network folders have been changed, it means that either the compromised local accounts have access to the network folders (unlikely?), his account has access to do that to the network (unlikely?) OR that he's compromised a network account that has the relevant access. Given that many of your staff will be using their fave football team as their password, that won't have been rocket surgery.

Who has access to modify those folders? Enforce a password change, and for added fun scan the logs for failed login attempts in the next few days and see if you can catch him red-handed :-)

Good luck with the MOD ;-)
What he's actually done to the network folders is removed rights, he stripped all the users of rights to their own my documents (folder redirected). Only an administrator could have done that...
  Reply With Quote
Old 24-11-2009, 04:27 PM   #13
 
cookie_monster's Avatar
 
Join Date: May 2007
Location: Derbyshire
Posts: 3,477
uk uk england
Thanks: 202
Thanked 225 Times in 189 Posts
Rep Power: 54 cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of
Default

Quote:
True, I've applied that GPO now however it doesn't seem to have changed the username
I made the change in the default domain policy, I'd be temped to wait until scheduled downtime to try it and remember that the stations might need a policy refresh or reboot.


Quote:
What he's actually done to the network folders is removed rights, he stripped all the users of rights to their own my documents (folder redirected). Only an administrator could have done that...
Again another task for the evening or hols but change all of the share permissions to 'change' rather than full control this stops users editing NTFS permissions remotely. I'd test this with folder redirection as I haven't tried it with that.

Last edited by cookie_monster; 24-11-2009 at 04:30 PM..
  Reply With Quote
Old 24-11-2009, 04:31 PM   #14
 
fagan's Avatar
 
Join Date: Apr 2009
Location: Liverpool
Posts: 16
uk uk england
Thanks: 1
Thanked 1 Time in 1 Post
Rep Power: 0 fagan is an unknown quantity at this point
Send a message via MSN to fagan
Default

We had this problem with kids adding local administrators accounts. It turned out that they had been bringing in the shortcut to computer managment in on a USB pen drive and running it. All as we done is set up software restricitons to stop them running lnk files. Was a pain as they also changed local admin passwords aswell as adding there own users.
  Reply With Quote
Old 24-11-2009, 04:44 PM   #15
 
cookie_monster's Avatar
 
Join Date: May 2007
Location: Derbyshire
Posts: 3,477
uk uk england
Thanks: 202
Thanked 225 Times in 189 Posts
Rep Power: 54 cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of cookie_monster has much to be proud of
Default

Quote:
Originally Posted by fagan View Post
We had this problem with kids adding local administrators accounts. It turned out that they had been bringing in the shortcut to computer managment in on a USB pen drive and running it. All as we done is set up software restricitons to stop them running lnk files. Was a pain as they also changed local admin passwords aswell as adding there own users.

They must have some form of admin rights already to be able to add users to the administrators group.
  Reply With Quote
Reply

EduGeek.net Forums > Technical > Windows Server 2000/2003

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pagefile win2k3 sparkeh Windows 2 19-12-2008 06:58 PM
timezone: vm guest OS on win2k3 contink Thin Client and Virtual Machines 7 04-10-2007 10:49 AM
RC1 on Win2k3 (R2) Domain Gatt Windows Vista 11 19-09-2006 09:56 PM
securing wireless network adamyoung Networks 22 01-02-2006 10:26 PM



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search Thread
Search Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:39 PM.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Copyright EduGeek.net




website uptime

© 2005 - 2009 EduGeek.net
SERVER: 4
no new posts