Facebook Google Plus Twitter LinkedIn YouTube RSS Menu Search Resource - BlogResource - WebinarResource - ReportResource - Eventicons_066 icons_067icons_068icons_069icons_070

Tenable Blog

Subscribe
  • Twitter
  • Facebook
  • LinkedIn

Active Directory is Now in the Ransomware Crosshairs

Active Directory is Now in the Ransomware Crosshairs

A flurry of ransomware operators are now targeting Active Directory (AD) as a core step in the attack path. Understanding the details can help you ensure your AD environment is secure.

Over the past several months, a number of ransomware operators have concentrated their focus on Active Directory (AD) as a core step in their attack path. Starting with LockBit 2.0 in July 2021 and continuing with Conti and BlackMatter in September and October 2021, operators increasingly understand how easy it is to gain unrestrained access to a victim’s network - the literal keys to the kingdom - with domain privilege via AD. Unfortunately, too few organizations are adequately assessing AD for security and governance issues. This blog will dive into some of the most recent ransomware tactics leveraging AD to accelerate attacks and provide actions you should take to protect against these threats.

A deep-dive into AD tactics

While security teams are often overlooking this critical attack vector, the Cybersecurity and Infrastructure Security Agency (CISA), the Federal Bureau of Investigation (FBI), and the National Security Agency (NSA) are not. These three U.S. agencies have multiple joint-alerts related to ransomware attacks because of the rise in threat activity and sophistication - each advisory specifically identifies AD playing a key role to propagate attacks.

Conti 

Conti ransomware made headlines earlier this year after attacking hundreds of organizations, including many healthcare institutions, disrupting critical operations. Recently, Conti attackers are focusing more on unpatched vulnerabilities to gain privileges in AD. The joint CISA, FBI and NSA alert described the following:

“According to a recently leaked threat actor “playbook,” Conti actors also exploit vulnerabilities in unpatched assets, such as the following, to escalate privileges and move laterally across a victim’s network:

  • 2017 Microsoft Windows Server Message Block 1.0 server vulnerabilities;
  • "PrintNightmare" vulnerability (CVE-2021-34527) in Windows Print spooler service; and
  • "Zerologon" vulnerability (CVE-2020-1472) in Microsoft AD Domain Controller systems.”

BlackMatter 

BlackMatter is a new ransomware operator modeled after various DarkSide, REvil and LockBit playbook tactics. CISA, the FBI and the NSA also issued a joint alert that BlackMatter has been targeting multiple U.S. critical infrastructure entities, including two U.S. Food and Agriculture organizations. In this case, BlackMatter leverages AD to discover and enumerate hosts and shared folders. Per the joint alert:

“Using embedded, previously compromised credentials, BlackMatter leverages the Lightweight Directory Access Protocol (LDAP) and Server Message Block (SMB) protocol to access the Active Directory (AD) to discover all hosts on the network. BlackMatter then remotely encrypts the hosts and shared drives as they are found.”

LockBit 2.0 

While not mentioned in any recent CISA advisories, LockBit 2.0 has been prolific with activity spanning back to July 2021. The IBM operated Security Intelligence blog analyzed the new tactics used by LockBit operators, including how threat actors are leveraging AD to deploy the ransomware payload using Group Policy:

 “One of the most significant changes identified during the analysis was the implementation of a novel technique for deployment. The payload has the capability to automatically deploy itself to Microsoft Active Directory clients via Group Policy Objects (GPO). When executed on an Active Directory Domain Controller, LockBit 2.0 creates several GPOs to carry out the infection process. The Windows Defender configuration is altered to avoid detection. It refreshes network shares, stops certain services and kills processes. The LockBit executable is then copied into the client desktop directories and executed. PowerShell is used to apply the new GPOs to all domain-joined hosts in a specified organization unit (OU).”

Disrupt ransomware attack paths at multiple points

Now that we understand the tactics used against AD, it’s critical that security defenders focus their attention on multiple steps in the attack path.

Initial entry point considerations

An attacker must enter into an organization initially, before they can consider moving laterally to their target. As we have seen with multiple ransomware operators, including Ryuk and REvil, the entry point does not need to be the result of a phishing attack. Rather, an increasing number of high profile attacks are leveraging known issues in devices, operating systems and software that don’t require any user interaction. There are two primary tactics that an attacker can leverage to breach devices, operating systems, and software: exploit a vulnerability or a misconfiguration. 

Knowing that even a small organization has many vulnerabilities and misconfigurations that need to be secured, defenders must make calculated efforts to see all potential exposures in their attack surface and address the most important security issues immediately. This is where prioritization is essential, as it is impossible to secure every vulnerability and misconfiguration.

Entry point exploitation

Once the attacker has a foothold on the entry point, there are a few tactics that they engage to obtain credentials, move laterally, and gather information about the network. The main tactic is to gain local administrative privilege over the compromised device. Local privileges allow the attacker to install malicious software and also mine locally cached credentials. 

Malicious software that is installed on a device is typically used to enumerate the network and AD. This level of enumeration only requires read access to the network and AD, which is why it is essential to ensure that both network devices and software, as well as AD, are secured before enumeration occurs.

Obtaining cached credentials could give the attacker immediate domain privileges, depending on whether a privileged user from the domain has logged into the device. If this is the case, the attacker only needs to impersonate this account to create backdoors, copy the desired data, and deploy ransomware to the entire network. This is why it is so important to ensure that a tiered model is in place to negate administrators from logging onto workstations, which would cache their credentials for easy access to attackers. 

If the attacker does not obtain credentials that have privileges, the attacker will use the credentials to attempt to move laterally to other devices, using the same exploitation tactics on each and every device they compromise. To help stop attackers from moving laterally, technologies like LAPS from Microsoft and a solid password policy need to be implemented.

If the attacker has not achieved domain privileges, but has enumerated AD, they still have an opportunity to attack domain accounts in hopes of compromising an account that has domain privileges. 

Take action today

AD should be secured and maintained 24/7. Some commonly attacked user and computer configurations can be detected with a simple Active Directory Starter Scan in Nessus, Tenable.io or Tenable.sc. This scan gives you a high-level view of your AD security and will indicate any potential misconfigurations.

While the AD Starter Scan is a great start, you should also address other common security issues in AD as soon as possible, such as:

  • Securing privileged users and the associated attributes 
  • Verifying privileged groups and the members
  • Reviewing and securing ADirectory and SYSVOL permissions
  • Checking all trust relationships are correct
  • Patching any known vulnerabilities 

Learn more: 

Related Articles

Are You Vulnerable to the Latest Exploits?

Enter your email to receive the latest cyber exposure alerts in your inbox.

Try for Free Buy Now
Tenable.io FREE FOR 30 DAYS

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Sign up now.

Tenable.io BUY

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

65 assets

Choose Your Subscription Option:

Buy Now
Try for Free Buy Now

Try Nessus Professional Free

FREE FOR 7 DAYS

Nessus® is the most comprehensive vulnerability scanner on the market today. Nessus Professional will help automate the vulnerability scanning process, save time in your compliance cycles and allow you to engage your IT team.

Buy Nessus Professional

Nessus® is the most comprehensive vulnerability scanner on the market today. Nessus Professional will help automate the vulnerability scanning process, save time in your compliance cycles and allow you to engage your IT team.

Buy a multi-year license and save. Add Advanced Support for access to phone, community and chat support 24 hours a day, 365 days a year. Full details here.

Try for Free Buy Now

Try Tenable.io Web Application Scanning

FREE FOR 30 DAYS

Enjoy full access to our latest web application scanning offering designed for modern applications as part of the Tenable.io platform. Safely scan your entire online portfolio for vulnerabilities with a high degree of accuracy without heavy manual effort or disruption to critical web applications. Sign up now.

Buy Tenable.io Web Application Scanning

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

5 FQDNs

$3,578

Buy Now

Try for Free Contact Sales

Try Tenable.io Container Security

FREE FOR 30 DAYS

Enjoy full access to the only container security offering integrated into a vulnerability management platform. Monitor container images for vulnerabilities, malware and policy violations. Integrate with continuous integration and continuous deployment (CI/CD) systems to support DevOps practices, strengthen security and support enterprise policy compliance.

Buy Tenable.io Container Security

Tenable.io Container Security seamlessly and securely enables DevOps processes by providing visibility into the security of container images – including vulnerabilities, malware and policy violations – through integration with the build process.

Try for Free Contact Sales

Try Tenable Lumin

FREE FOR 30 DAYS

Visualize and explore your Cyber Exposure, track risk reduction over time and benchmark against your peers with Tenable Lumin.

Buy Tenable Lumin

Contact a Sales Representative to see how Lumin can help you gain insight across your entire organization and manage cyber risk.