Skip to main content
Mallory
Malware4 associated actors2 associated CVEs

Certipy

Tracked since Jan 15, 2026 · Updated 28 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days2 mentions · peak 2 in a dayToday
Vulns2Associated
Actors4Associated
ATT&CK27Techniques
IOCs2Tracked
Capabilities
Credential theftPrivilege escalationReconnaissancePost exploitation
Platforms
Windows

Certipy is a Python-based, dual-use security tool for discovering and abusing Active Directory Certificate Services (AD CS). It supports legitimate security assessments as well as offensive post-exploitation activity against Windows Active Directory environments. Its functions include enumerating certificate services and certificate templates, identifying exploitable misconfigurations such as ESC1, requesting authentication certificates, performing certificate-based authentication, relaying authentication, and conducting shadow credential attacks. These capabilities can enable credential acquisition and privilege escalation, including access as highly privileged domain accounts. Certipy also supports exporting discovery information for analysis with BloodHound.

Certipy has been used by APT28, also known as Forest Blizzard and associated with Russia’s GRU Unit 26165, during post-compromise operations against Western logistics and technology organizations supporting Ukraine. UAT-8837 has deployed it for Active Directory discovery and abuse in intrusions targeting North American critical infrastructure. GOLD OGRE-associated Aur0ra ransomware operations have also used Certipy for authentication-certificate abuse. It is typically introduced after attackers obtain access to a victim environment; it is not inherently malware or a standalone initial-access payload.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Associated CVEs

Associated vulnerabilities

2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.

CVE-2021-42287via thecybersecguruExploited in the wildActive Directory Kerberos Domain Controller Impersonation (noPac component)The reported noPac fallback used CVE-2021-42278 and CVE-2021-42287 to request a ticket-granting ticket through the PaperCut server's domain computer account, impersonate the domain controller, and forge a high-privilege service ticket.View vulnerability →Source ↗
CVE-2021-42278via thecybersecguruExploited in the wildActive Directory sAMAccountName Spoofing (noPac)Where LSASS memory dumping failed, agents reportedly fell back to the noPac vulnerabilities, CVE-2021-42278 and CVE-2021-42287, using Rubeus or Certipy to obtain and forge high-privilege Kerberos tickets.View vulnerability →Source ↗
Threat actors

Associated threat actors

4 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
GOLD OGRE

Attaques sur certificats via Certipy.

via cyberveillecyberveille.ch
APT28

After dumping the NTDS.dit, GRU’s operators employed two key tools, ADExplorer and Certipy, to harvest and exfiltrate directory data. They also installed Python on compromised hosts to run Certipy.

via logpointlogpoint.com
UNC-PRNT

"Certipy identifies misconfigured certificate templates (ESC1). Certificate request submitted for Domain Admin."

via medium neonmaximamedium.com
UAT-8837

Certipy, a tool for Active Directory discovery and abuse

via the hacker newsthehackernews.com
MITRE ATT&CK

Techniques & procedures

27 distinct techniques documented for this family, organized by ATT&CK tactic.

Resource Development

1 technique
T1588.002ToolEvidence1

They unleashed hundreds of AI agents built on OpenAI’s Codex harness paired with a DeepSeek model, combined with publicly available offensive tools such as Mimikatz, Certipy, Rubeus, and Impacket.

Initial Access

1 technique
T1078Valid AccountsEvidence4

Finally, I authenticated using the issued certificate... Authentication succeeded, allowing me to impersonate the Domain Administrator without ever knowing the Administrator’s password.

Persistence

5 techniques
T1078Valid AccountsEvidence4

Finally, I authenticated using the issued certificate... Authentication succeeded, allowing me to impersonate the Domain Administrator without ever knowing the Administrator’s password.

T1098Account ManipulationEvidence3

Add Shadow Credentials Same as before, we’ll create shadow credentials using Certipy: certipy-ad shadow auto ... Adding shadow creds to james account | Modify the UPN ... we’ll set it to a DC machine account — in this case, LAB-DC.LAB.LOCAL for Schannel certificate-based authentication. certipy-ad account update ... -upn 'lab-dc$@lab.local'

T1136Create AccountEvidence1

By default, most Active Directory domains allow authenticated users to create up to ten computer accounts. The exploit takes advantage of this default configuration by creating a machine account that the attacker legitimately owns.

T1136.002Domain AccountEvidence2

By default, most Active Directory domains allow authenticated users to create up to ten computer accounts. The exploit takes advantage of this default configuration by creating a machine account that the attacker legitimately owns.

T1556Modify Authentication ProcessEvidence3

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

5 techniques
T1068Exploitation for Privilege EscalationEvidence2

Where memory dumping came up empty, the agent fell back to the noPac vulnerabilities, CVE-2021-42278 and CVE-2021-42287. | “Where memory dumping came up empty, the agent fell back to the noPac vulnerabilities, CVE-2021-42278 and CVE-2021-42287.”

T1078Valid AccountsEvidence4

Finally, I authenticated using the issued certificate... Authentication succeeded, allowing me to impersonate the Domain Administrator without ever knowing the Administrator’s password.

T1098Account ManipulationEvidence3

Add Shadow Credentials Same as before, we’ll create shadow credentials using Certipy: certipy-ad shadow auto ... Adding shadow creds to james account | Modify the UPN ... we’ll set it to a DC machine account — in this case, LAB-DC.LAB.LOCAL for Schannel certificate-based authentication. certipy-ad account update ... -upn 'lab-dc$@lab.local'

T1134Access Token ManipulationEvidence1

Since the UPN now matches that of the administrator, the certificate will be mapped to the administrator account during authentication, allowing us to impersonate them.

T1548Abuse Elevation Control MechanismEvidence3

If certificate templates are misconfigured, attackers can request certificates for other users, including Domain Administrators, leading to privilege escalation. In this lab, I exploited an ESC1 certificate template misconfiguration.

Stealth

2 techniques
T1078Valid AccountsEvidence4

Finally, I authenticated using the issued certificate... Authentication succeeded, allowing me to impersonate the Domain Administrator without ever knowing the Administrator’s password.

T1134Access Token ManipulationEvidence1

Since the UPN now matches that of the administrator, the certificate will be mapped to the administrator account during authentication, allowing us to impersonate them.

Defense Impairment

1 technique
T1556Modify Authentication ProcessEvidence3

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

10 techniques
T1003OS Credential DumpingEvidence3

This method relies on the ability to obtain the user’s NTLM hash using the PKINIT mechanism... Got NT hash for 'administrator@contoso.com'

T1003.006DCSyncEvidence1

Once operating as a Domain Controller, the attacker inherits one of the most sensitive privileges within Active Directory: directory replication. That privilege enables DCSync, a technique that requests password data directly through the Directory Replication Service Remote Protocol rather than reading the NTDS database from disk.

T1187Forced AuthenticationEvidence1

Instead of first validating the destination, the CA attempted to communicate with the supplied host using SMB and LDAP. That design decision created the opportunity for attackers to position themselves directly inside the enrollment workflow.

T1556Modify Authentication ProcessEvidence3

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.

T1557Adversary-in-the-MiddleEvidence2

«ESC8 (NTLM relay на HTTP enrollment endpoint) работает даже с непривилегированной учётной записью»

T1558Steal or Forge Kerberos TicketsEvidence3

Once that certificate has been issued, it can be used with Kerberos PKINIT authentication to obtain Domain Controller credentials, enabling DCSync attacks that expose the krbtgt account and effectively hand over control of the domain.

T1558.003KerberoastingEvidence1

“[The agent] exploited the S4U2self flaw to impersonate the domain controller, and forged a high-privilege service ticket.”

T1606.001Web CookiesEvidence3

If an attacker obtains the krbtgt secret, they can forge Kerberos tickets that are trusted by every Domain Controller in the forest until the account password is reset appropriately. | Under specific deployment conditions, the CA can be convinced to issue a certificate containing the identity of a legitimate Domain Controller even though the request originated from an attacker-controlled machine.

T1606.002SAML TokensEvidence2

It requested a ticket-granting ticket through the PaperCut server’s own domain computer account, exploited the S4U2self flaw to impersonate the domain controller, and forged a high-privilege service ticket.

T1649Steal or Forge Authentication CertificatesEvidence22

« Attaques sur certificats via Certipy » ; « T1649 — Steal or Forge Authentication Certificates (Credential Access) »

Discovery

5 techniques
T1018Remote System DiscoveryEvidence3

Step 1 — Enumerate AD CS First, I looked for vulnerable certificate templates using Certipy.

T1046Network Service DiscoveryEvidence1

The first step for threat actors after initial access is usually enumeration. Threat actors need to enumerate the certificate templates available for their compromised user as well as other AD attributes, in order to determine whether any of the ESC techniques is viable.

T1069.002Domain GroupsEvidence1

Python scripts ... ensure [tasks] have actually completed. These include tasks like administrator access, account verification, Active Directory collection, domain and network discovery.

T1087Account DiscoveryEvidence1

"BloodHound uses graph theory to reveal the hidden and often unintended relationships within an Active Directory or Azure environment. Attackers can use BloodHound to easily identify highly complex attack paths"

T1482Domain Trust DiscoveryEvidence3

Rather than inventing an entirely fake identity, the attacker returns carefully chosen information belonging to the real Domain Controller, including its objectSid and dNSHostName.

Lateral Movement

3 techniques
T1550Use Alternate Authentication MaterialEvidence2

Use the auth command to authenticate as administrator and grab the NT hash: certipy auth -pfx administrator.pfx -domain lab.local -dc-ip 10.129.228.236 ... Retrieved the Administrator NT hash

T1550.002Pass the HashEvidence1

Now using this hash, authenticate to Machine with evil-winrm... evil-winrm -i 10.10.11.41 -u management_svc -H a091c1832bcdd4677c28b5a6a1295584

T1550.003Pass the TicketEvidence1

Set RBCD on the DC ... the command modifies the msDS-AllowedToActOnBehalfOfOtherIdentity attribute on the DC’s computer object to include our new machine account.

Collection

2 techniques
T1557Adversary-in-the-MiddleEvidence2

«ESC8 (NTLM relay на HTTP enrollment endpoint) работает даже с непривилегированной учётной записью»

T1560Archive Collected DataEvidence1

It leverages endpoint process and filesystem data to spot the creation of files with specific names or extensions associated with Certipy's information gathering and exfiltration activities.

Indicators of compromise

Observables

2 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+4 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching2Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors4Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities2CVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping27Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.