Solved

Virus / User TS 2008 ProgramData folder

Posted on 2013-01-22
8
675 Views
Last Modified: 2013-02-03
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
Comment
Question by:SysBUTLER
  • 5
  • 3
8 Comments
 
LVL 24

Expert Comment

by:smckeown777
ID: 38807267
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
 

Author Comment

by:SysBUTLER
ID: 38807651
Let me take a closer look. Thanks for the quick response. It may be tomorrow before I post back.
0
 

Author Comment

by:SysBUTLER
ID: 38810328
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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
LVL 24

Assisted Solution

by:smckeown777
smckeown777 earned 500 total points
ID: 38810377
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
 

Author Comment

by:SysBUTLER
ID: 38810434
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
 

Accepted Solution

by:
SysBUTLER earned 0 total points
ID: 38831151
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
 
LVL 24

Expert Comment

by:smckeown777
ID: 38831178
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
 

Author Closing Comment

by:SysBUTLER
ID: 38848265
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Normally after a failure of Domain Controller, when promoting new DC the DC is renamed, we will discuss the options in Dcpromo to re-create the DC with the same name. Scenario: You are a small IT shop with two Domain Controllers (Domain Contr…
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question