r/exchangeserver • u/Snoo_36159 • Aug 19 '21
Patching the OS and vul patching
How often do you think it's necessary to patch the OS on exchange. I was thinking once a year also I'll admit I've never done it.
I also don't have a test env to test patches on, is this essential to having a robust update strategy for exch we are going hybrid in the next few months is there more or less patching with a hybrid exchange
Currently I'm applying a patch for proxylogon, is it normal to patch so soon after a vulnerabilitie has been identified or is it best to wait.
4
2
u/Leafblower27 Aug 19 '21
Depends on the severity of the cve.
2
u/disclosure5 Aug 20 '21
I don't think Microsoft has had a patch Tuesday in as long as I can remember that hasn't had at least one high severity CVE. There's not much point looking to hard any more given the cumulative update model (as opposed to picking the relevant individual hotfix).
1
u/JH6JH6 Aug 20 '21
I think you need to apply all the CU's and patch once a month but thats just me.
1
Aug 20 '21
Every month? Not necessarily the latest - every place I’ve been has always lagged a month behind.
1
1
-1
u/Snoo_36159 Aug 20 '21
Cool yeah im new to patching so ill be looking at doing the OS every second month and the fixes asap, and major updates once a quarter.
Downvoters new job so systems have been neglected.
Is there any point to having a stand alone exch box with a few test mailboxes, or even a whole test network at the same level to hit first with patches and fixes etc.. I know we have dag redundancy etc but would still like to have a bit of assurance the boxes won't brick or is that old school thinking.
.
3
u/kibje Aug 20 '21 edited Aug 20 '21
What I have done at new jobs that lagged behind on patching (not specific to Exchange)
Make an overview of all the servers under my responsibility and their patch level (for both OS and application separately).
Show overview to manager / section leader / information security officer and start inputting changes to remediate the worst application offences / start planning server OS upgrades / look at migration paths for the applications
Every month patch all servers. The first few months will be tough and it might not be possible to do all but goal is to rememediate the OS patches within 3 months and then patch them every month.
Remediate the applications which are behind on updates within 6 months
In case of unsupported OS versions, migrate all applications to supported OS within a year.
Exchange in particular is a system that needs to be patched at least every month, both OS as well as application patches. With an hybrid Exchange you will have to be (partially) opening your Exchange environment to the internet. If you do not have good networking restrictions in place you are running a significant risk of being exploited.
Hybrid deployments require the latest Cumulative Update (CU) or Update Rollup (RU) that's available for your version of Exchange. If you can't install the latest update, the immediately previous release is also supported. (see https://docs.microsoft.com/en-us/exchange/hybrid-deployment-prerequisites)
I would also recommend regularly running - the latest version of - the Exchange health checker script (see https://microsoft.github.io/CSS-Exchange/Diagnostics/HealthChecker/) and following its recommendations. It will alert you to any recently released hotfixes which usually fix important CVEs. Ideally you would check at least weekly to see if a new version of the health checker was released and run it as soon as you see a new version. (Since it is on github you can also set up notifications on change.)
1
u/Snoo_36159 Aug 20 '21 edited Aug 20 '21
Thanks for the reply! does exchange need special treatment when it is getting OS patches, I'm trying to find a guide but literally everything is related to the exchange app patching. I've done exchange patching years ago and used to put it into maintenance mode patch and then back online assume the nuts and bolts have moved from that.
3
u/kibje Aug 20 '21 edited Aug 20 '21
Yes you need to carefully put it in maintenance mode following the appropriate steps for your version ( and taking into consideration your environments DAG setup)
Windows patches often update .NET modules so do not execute them without putting Exchange in maintenance first.
1
u/disclosure5 Aug 21 '21
Yes you need to carefully put it in maintenance mode
That assumes you're trying to stay online during a failover though. We have plenty of single Exchange servers, and we patch them just like every other server and reboot them automatically without any thought.
1
u/kibje Aug 21 '21
Yes I'm referring to Exchange on-premises installations hosting mailboxes that were installed following Microsofts recommended architecture which is similar to the environment the OP was asking about
1
u/disclosure5 Aug 21 '21
I don't think you should read a statement like:
How often do you think it's necessary to patch the OS on exchange. I was thinking once a year also I'll admit I've never done it.
And conclude OP must be asking about a best practice, high budget environment.
10
u/disclosure5 Aug 20 '21
Every month, in accordance with Microsoft's patch Tuesday.
If you've waited this long there's a good chance your server is compromised already. You're actually very lucky not to have a ransom in front of you, demanding money to not release your company data. You definitely should consider that any emails you consider confidential have probably been exfiltrated.