Active Directory & exponential complexity of domain recovery

Guido Grillenmeier, Chief Technologist, Semperis www.semperis.com

The cybersecurity landscape has drastically changed since the early days of Active Directory (AD).

A week doesn’t go by without an organisation’s on-premises Windows network being flattened by a ransomware or wiper attack. Indeed, January 2022 alone is a case in point.

On 9 January, doctors and nurses at Jackson Hospital in Florida, US were forced to track patient records on pen and paper for days after it shut down its computerised records system to avert a crisis-level ransomware attack.

Equally, payroll and staffing solutions specialist Kronos announced that it had recovered from a ransomware attack that left it unable to keep track of timekeeping which allows its customers to properly pay their employees.

Critically, these two incidents form only the very tip of the iceberg.

Accenture previously estimated that losses due to cybercrime could add up to $5.2 trillion between 2019 and 2024. Further, the International Data Corporation reports that 37% of organisations globally were the victim of a ransomware attack in 2021.

It is because of statistics such as these that Gartner identified the threat of new ransomware models as the single greatest emerging risk facing organisations in its latest Emerging Risks Monitor Report. Meanwhile, the European Union Agency for Cybersecurity (ENISA) also recently stated that we are witnessing the “golden era of ransomware” in its latest Threat Landscape report.

Given the intensity of the threat landscape today, the ability to recover your IT services quickly is key to your survival – and your Active Directory (AD) is a key component in this race against time! As such the recovery of your complete AD environment entirely from backup is no longer a nice thing to have – it is a business-critical requirement.

Domain recovery is a complex process

In years gone by, Microsoft has worked to improve Windows security substantially, adding features and capabilities to simplify AD object recovery and improve the behaviour of AD when running in a virtualised environment.

However, the fundamental problems of recovering an entire forest from backup haven’t changed. It is still an error prone, complex process that requires planning and practice for all but the most trivial AD deployments.

Recovering a domain entails many manual steps. These are described in Microsoft’s Active Directory Forest Recovery Guide, yet this is not just one simple article. It’s an extensive resource that directs to many other webpages that any individual would need to fully read and understand to be able to conduct a domain recovery with any degree of success.

A high-level overview of the steps involved in recovering an AD forest to a known-secure state can be summarised as follows:

1. Determine forest structure and available backups

2. Identify single DC for each domain with valid backup

3. Shut down all DCs in the forest

4. First recover Forest Root Domain

5. Then recover one DC of each child domain

6. Clean up and re-promote all other DCs in the forest

a. Ensure recovery of trust hierarchy and critical DNS resource records

b. Ensure recovery of parent domains prior to their child domains to maintain trust hierarchy

However, the reality of the situation is not so simple. Indeed, there are numerous sub steps that can be slotted in between those outlined.

Getting through the recovery process successfully requires coordination between AD engineers, recovery operations teams, and most likely virtualisation management teams as well. Everyone must execute their tasks flawlessly, in the right order, in probably the highest stress environment of their careers to date.

Further, the situation becomes increasingly complicated when the AD forest comprises multiple domains, creating a dependency chain which makes recovery even more difficult.

A company will always have to recover the main domain before they can recover any child domains. If you only have one domain, you are back online after you’ve recovered this – albeit after undertaking a complex recovery process. However, if you have an environment with many domains, or even subdomains, it becomes an administrative nightmare.

You cannot recover all domains in parallel. They must be recovered one at a time in a serial process that is lengthy, difficult and highly prone to error, creating a situation of exponential complexity in domain recovery.

The cost of ransomware and importance of backups

It is because of these difficulties that ransomware attacks can often cost organisations colossal sums.

A Sophos report reveals that the average cost to recover from a ransomware attack is $1.85 million. Yet this figure is not only attributed to the ransom demands involved – it also accounts for the downtime, people time, device costs, network costs and other lost opportunities associated with an attack.

It takes time and money to recover, especially with complex processes such as multi-domain recoveries involved. To avoid such a significant impact, firms therefore need to have appropriate and adequate recovery plans in place to get back online quickly in the event of an attack.

This begins with gaining a clear picture and full understanding of your AD forest structure so that you know where a recovery needs to begin should things head south.

Here, ensuring you have valid backups is critical.

All too often companies only realise they don’t have valid backups until it’s too late. To be completely safe, it is wise to regularly check backups and ensure that these are completely separated and disconnected from your environment.

Preparedness is critically important

For this reason, we need a proper backup of the AD domain controllers. But there are some equally significant considerations that need to be made here, too.

Companies may opt to turn to third party providers promising tools, but it is important to note that these also have their limitations.

Being able to back up AD domain controllers does not automatically mean that a tool can help you quickly recover your AD forest. Most of these solutions concentrating on OS-level backups might offer support in helping to recover individual servers and domain controllers, but they can’t coordinate the complex recovery process that is required to bring your AD forest back to life.

So, what do companies need to do?

There is simply no getting away from the fact that AD disaster recovery is a highly difficult undertaking. However, firms can prepare properly in a variety of ways.

Beyond having external backups, companies should look to practice a mock AD recovery process to provide some experience and insight into the challenges and process should an actual attack hit. In doing so, an action plan or playbook can be formulated, detailing the entire AD disaster recovery plan and clear responsibilities for executing it.

Equally, tools and solutions can be implemented that can help to prevent an AD disaster from happening in the first place, providing additional lines of defence which may stifle an attacker. Yet there is no 100% guarantee they will stop an attack. That’s why, regardless of how much you invest into prevention, you should still always anticipate an attack and prepare an adequate recovery plan.

This is more important now than ever before. AD didn’t used to be attacked all that often because it was difficult. However, today, you don’t need to be an expert to do so – with ransomware-as-a-service rampant, unsophisticated attackers are able to execute sophisticated attacks.

Further, there are always new vulnerabilities emerging. It’s only when Microsoft announces a new fix that these gaps are plugged, but before this is rolled out it is often the case that any new blind spot vulnerability has been leveraged by several hackers.

Therefore, more than ever companies need to prepare for it – if all hell breaks loose, you need a means of ensuring that your entire network isn’t lost.

To read more on this topic, Semperis’ AD disaster recovery white paper can be found here: https://www.semperis.com/resources/does-your-active-directory-disaster-recovery-plan-cover-cyberattacks/

Semperis is also announcing enhancements to its Active Directory Forest Recovery (ADFR) product to help organizations rapidly conduct post-attack forensics capabilities and recover Active Directory to a trusted, malware-free environment following a cyber disaster. More information can be found at (link to press release).

Guido Grillenmeier Chief Technologist Semperis

Guido Grillenmeier is Chief Technologist with Semperis. Based in Germany, Guido has been a Microsoft MVP for Directory Services for 12 years.

What is a User Journey

Erin Lanahan • 19th April 2024

User journey mapping is the compass guiding businesses to customer-centric success. By meticulously tracing the steps users take when interacting with products or services, businesses gain profound insights into user needs and behaviors. Understanding users’ emotions and preferences at each touchpoint enables the creation of tailored experiences that resonate deeply. Through strategic segmentation, persona-driven design,...

From Shadow IT to Shadow AI

Mark Molyneux • 16th April 2024

Mark Molyneux, EMEA CTO from Cohesity, explains the challenges this development brings with it and why, despite all the enthusiasm, companies should not repeat old mistakes from the early cloud era.

Fixing the Public Sector IT Debacle

Mark Grindey • 11th April 2024

Public sector IT services are no longer fit for purpose. Constant security breaches. Unacceptable downtime. Endemic over-spending. Delays in vital service innovation that would reduce costs and improve citizen experience.

Best of tech to meet at VivaTech in May

Viva Technology • 10th April 2024

A veritable crossroads for business and innovation, VivaTech once again promises to show why it has become an unmissable stop on the international business calendar. With its expanding global reach and emphasis on crucial themes like AI, sustainable tech, and mobility, VivaTech stands as the premier destination for decoding emerging trends and assessing their economic...

Enabling “Farm to Fork” efficiency between supermarkets & producers

Neil Baker • 03rd April 2024

Today, consumers across the UK are facing a cost of living crisis. As a result, many retailers and supermarkets are striving to keep their costs down, so that they can avoid passing these onto shoppers. Within this, one area that is increasingly under scrutiny for many organisations surrounds how to improve supply chain efficiency. This...

Addressing Regulatory Compliance in Government-Owned, Single-Use Devices

Nadav Avni • 26th March 2024

Corporate-owned single-use (COSU) devices, also known as dedicated devices, make work easier for businesses and many government agencies. They’re powerful smart devices that fulfil a single purpose. Think smart tablets used for inventory tracking, information kiosks, ATMs, or digital displays. But, in a government setting, these devices fall under strict regulatory compliance standards.

Advantages of Cloud-based CAD Solutions for Modern Designers

Marius Marcus • 22nd March 2024

Say goodbye to the days of clunky desktop software chaining us to specific desks. Instead, we’re stepping into a new era fueled by cloud CAD solutions. These game-changing tools not only offer designers unmatched flexibility but also foster collaboration and efficiency like never before!