Exchange Server 2003: virus requires a rebuild... any suggestions?

I'm using exchange server 2003 standard sp2 on windows server 2003 sp1 standard running on a dell pe2850.

Problem is the server had a/v file scanning pretty much turned off and no a/v on the store, although I've done a virus scan of the store and found nothing.

Excuse the sarcasm but the next obvious statement is this: I've recently been the proud recipient of a virus on the server. It is now sending emails out as a hijacked spam server, and rbl's are blacklisting like crazy.

As a proficient Technology Manager I know better but the guy at my previous post wasn't exactly proficient.

I don't expect to save this build and I know the exchange server has to be reinstalled and the private/public stores reattached, but does anyone have a tutorial or step-by-step to complete this process?

I've found some information on doing a reinstall with the /DisasterRecovery option, but is that the best or only option, or are there other, better solutions. Unfortunately although I can manage exchange servers, I've never degraded them to the point of requiring a rebuild and thereby never done a rebuild of this nature.

Any help would be much appreciated.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

if the server has been compromised then it is a good idea to rebuild it
the steps that i would follow in this case are
1) take backups of databases (offline and online)
2) stop and disable all the exchange services
3) disconnect the computer from the domain
4) format the box
5) install same OS and apply SP (same like before the rebuild)
6) server should have the same name as before
7) Join it to the domain
8) install exchange using the disasterrecovery switch
9) install anti-virus with the latest virus definations and scan the server
10) set the exclusions for exchange
11) restore the database
12) check services and application logs for errors
13) check mail flow

I would follow the above mentioned steps if the sever was a member server.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
First thing I would check is whether it is the Exchange server that is infected.
Trojans don't just appear on the server. Unless you have been careless to browse to dodgy sites from the server itself then the chances of infection are quite slim. You need to have actual access to the server to install anything. If a hacker has got access to the server then you have bigger things to worry about.

Furthermore, I don't scan the information store on any of my clients servers. I don't see the need or the point. There is AV scanning on the workstations and I use a gateway product to deal with the virus messages as it comes in. Therefore the fact that you were not scanning your store does not means it was infected.

Therefore before you go destroying the Exchange server I would be sure that it is that actual machine that is infected. If you only have one IP address then any infected workstation on your network would get the IP address blacklisted.

lbegAuthor Commented:
Sembee, would you agree with Rakesh? Are there any steps or details you'd like to add?
Depends where the compromise is.
You could be bringing the infection across with the data.

I always like to verify what machine is compromised before doing anything. The simplest way to do that is block port 25 on the firewall, turn up logging and see where the traffic is coming from. Most cases it is not the Exchange server.

lbegAuthor Commented:
Thanks but no thanks, I didn't ask for conceptual ideas on whether or not an exchange server needs antivirus.

Rakesh, I'm almost halfway done with your list. Thanks for the info.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Anti-Virus Apps

From novice to tech pro — start learning today.