Certify
- Capabilities
- ReconnaissancePrivilege escalationPost exploitation
- Platforms
- Windows
Certify is an open-source offensive security tool developed by SpecterOps to discover and exploit misconfigurations in Microsoft Active Directory Certificate Services (AD CS). It is a dual-use assessment and exploitation utility rather than a standalone malware family. It identifies vulnerable certificate templates and enrollment permissions and supports requesting authentication-capable certificates. In vulnerable configurations, certificate requests can specify another user's identity, enabling privileged-account impersonation and escalation to domain administrative access.
Certify operates in Windows Active Directory environments and is used by both security assessors and attackers. Its malicious use includes deployment by the Interlock ransomware group, an unidentified attacker that compromised an enterprise domain following Microsoft SharePoint exploitation, and operators involved in a BITSLOTH intrusion against a South American government foreign ministry. In these operations, Certify served as part of a broader post-compromise toolkit rather than an initial infection mechanism.
Techniques & procedures
14 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
These issued certificates can then be used with Rubeus to authenticate to Active Directory as this user, for as long as the certificate is valid.
Execution
1 technique
Execution
The only thing I had access to was entering commands into the PowerShell terminal... Use PowerShell to load the base64-encoded bytes and call on the entry point of the application.
Persistence
2 techniques
Persistence
These issued certificates can then be used with Rubeus to authenticate to Active Directory as this user, for as long as the certificate is valid.
If the certificate template lacks the required security extension (objectSid), and we control a user account, we can manipulate its attributes to request a certificate that gets mapped to a different identity, like a DA.
Privilege Escalation
3 techniques
Privilege Escalation
Post-compromise activity includes active reconnaissance, data collection, lateral movement, and the use of legitimate tools such as ConnectWise ScreenConnect, Volatility, and Certify for credential theft and privilege escalation.
These issued certificates can then be used with Rubeus to authenticate to Active Directory as this user, for as long as the certificate is valid.
Other tools found in the attack environment include Volatility... and Certify... These tools enable credential access, privilege escalation, and persistent footholds within compromised environments.
Stealth
4 techniques
Stealth
These issued certificates can then be used with Rubeus to authenticate to Active Directory as this user, for as long as the certificate is valid.
$EncodedAssemblyName = [System.Reflection.Assembly]::Load([Convert]::FromBase64String("EncodedValueGoesHere"))
This is a wonderfully easy way to get a binary that would not normally be allow-listed on the machine to run with all the functionality intact.
Enter: PowerShell Reflective Assembly Loading! What is PowerShell Reflective Assembly Loading? In short, this is a technique you can use to load .NET assemblies into memory using PowerShell.
Defense Impairment
2 techniques
Defense Impairment
So, if an attacker can specify an arbitrary SAN when requesting a certificate that enables domain authentication, and the CA creates and signs a certificate using the attacker-supplied SAN, the attacker can become any user in the domain!
If the certificate template lacks the required security extension (objectSid), and we control a user account, we can manipulate its attributes to request a certificate that gets mapped to a different identity, like a DA.
Credential Access
3 techniques
Credential Access
If the certificate template lacks the required security extension (objectSid), and we control a user account, we can manipulate its attributes to request a certificate that gets mapped to a different identity, like a DA.
Once the vulnerable certificate template has been identified, we can request a new certificate on behalf of a domain administrator using Certify.
Their research demonstrates how attackers—and defenders—can leverage the Certify tool, developed by SpecterOps, to discover and exploit vulnerable certificates within a network.
Discovery
2 techniques
Discovery
We start by finding certificate templates that are vulnerable to ESC9. For that, we can use Certipy and provide domain user credentials along with the domain controller IP.
That toolkit includes a PowerShell script designed to scoop up information about victims' Windows environments, such as... installed software... In addition to using custom malware, the ransomware slingers also deployed legitimate software... Volatility; and Certify...
Command and Control
1 technique
Command and Control
they found Interlock using an array of legitimate security tools during attacks, including ConnectWise ScreenConnect, incident response tool Volatility, offensive security product Certify, and more.
Observables
1 indicator attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.