Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 733
  • Last Modified:

Virus / User TS 2008 ProgramData folder

We use 2008 terminal server. We had a user somehow get a virus downloaded and running on his session. It installed itself in the C:\programdata folder of the terminal server. We cleaned it by running malwarebytes on the terminal server and deleting his profile.
Is there any was to lock this down so it can't happen again?
0
SysBUTLER
Asked:
SysBUTLER
  • 5
  • 3
2 Solutions
 
smckeown777Commented:
Well first off access to the ProgramData folder on a server is only allowed by an Admin user - therefore the existing user must be in that group - remove users on a TS from the administrator group is a starting point...

What AV have you on this server?
I normally enable a 'lockdown' policy for TS users - i.e. using GPO to stop access to the C drive in general for a start, limit what they can see/access etc...
0
 
SysBUTLERAuthor Commented:
Let me take a closer look. Thanks for the quick response. It may be tomorrow before I post back.
0
 
SysBUTLERAuthor Commented:
The user is not in the Admin group. I have been googling around and do not see any documentation anywhere that suggests locking down the programdata folder. It would seem the user would need some rights to this folder in order to run some legitimate apps and save user specific information about the apps they run. I am still looking and am going to experiment with denying write to the entire C: drive on TS and see what happens.

Have you ever used AppLocker?
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
smckeown777Commented:
Ok well when I said 'locking down' i wasn't referring to the ProgramData folder, I was talking in terms of 'locking down the server' such that the user doesn't have access to the C drive at all...

By default the ProgramData folder has Full Access for Admins, Read Only access for Users - so did you change those permissions by any chance?

As for denying access to the C drive I don't think that is possible(as you mentioned certain apps need access to parts of the system otherwise they will not work)

The way I do this for TS servers is I don't allow the user to 'see' the C drive, i.e. hide it using group policy...if they need access to a folder to save data then you can simply create a 'shared' folder on the C drive and just map a drive to allow them access - that way they still are able to work but can't actually get into the C drive itself...

No sorry never used Applocker so can't help with that one...

Last thing - the infection/virus - what was it? I mean was it an executable they ran and then installed itself? If so then its either a virus that doesn't need admin creds...or somehow the user was allowed to install it(using alternate creds??)

Are you using UAC(User Account Control) on the server as well? It is a big help for stopping these type of things...

You never said what AV you are using?
0
 
SysBUTLERAuthor Commented:
I am using forefront. I did not setup this terminal server so I don't yet know all the ins and outs of it.
The virus was PCDefenderPlus. A fake anti-virus program. Malwarebytes found and eliminated it.

Let me look around at the servers a bit more and post back. This is all good information!
0
 
SysBUTLERAuthor Commented:
I couldn't find anything that suggested I should lock down the ProgramData folder. It would seem to me the TS users would need to write to this folder. I am sure there is more than one way to accomplish what I want, but I went with AppLocker. It is an upgrade to SRP. I will award points anyway. Thanks for your help.
0
 
smckeown777Commented:
Ok grand, again I wasn't specifically saying you need to lock down the ProgramData folder(as you said its needed)

I was refering to locking down the server itself...standard practise with TS servers is to prevent the users from seeing the C drive at all, preventing them shutting down the server, access to Control panel...etc...all those things I was referring to...

Anyways good luck with Applocker, hope it does the job
0
 
SysBUTLERAuthor Commented:
I am sure there is more than one way to get this done, but this is what I believed to be the best solution for me.
0

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now