Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


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

Posted on 2007-03-27
Medium Priority
Last Modified: 2013-11-22
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.
Question by:lbeg
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 35

Accepted Solution

rakeshmiglani earned 2000 total points
ID: 18800611
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.
LVL 104

Expert Comment

ID: 18801141
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.


Author Comment

ID: 18801604
Sembee, would you agree with Rakesh? Are there any steps or details you'd like to add?
LVL 104

Expert Comment

ID: 18801773
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.


Author Comment

ID: 18831382
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.

Featured Post

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.

Question has a verified solution.

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

A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
The core idea of this article is to make you acquainted with the best way in which you can export Exchange mailbox to PST format.
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…

721 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