# ESC14 Certificate Identity Mapping

> Map a certificate to any AD account through altSecurityIdentities, then prove the logon.

ESC14 Certificate Identity Mapping is a paid AI agent skill on Agensi by NZ1Labs, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $4 (one-time purchase)
- Creator: [NZ1Labs](https://www.agensi.io/creators/nz1labs)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.0
- Last updated: 2026-11-28
- Security: scan passed (2026-11-28); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/esc14-certificate-identity-mapping
- Tags: security, active-directory, pentesting

## About this skill

A client-auth certificate with no UPN and no SID logs on as **nobody**. `altSecurityIdentities` is the attribute that fixes that, and this skill covers the three mapping forms, the exact LDAP write over a Kerberos cache, and the proof step that tells you it worked (`Got TGT`) versus the two failure modes that look like auth errors but are not.

Includes the SPN trap that costs people an hour — `kerberosLogin` needs the DC **FQDN**, and an IP gives you `KDC_ERR_S_PRINCIPAL_UNKNOWN`.

## Requires

- Python 3.10+
- impacket
- certipy
- write rights on the target object

## Known limitations

Requires write access to the target's altSecurityIdentities attribute and a certificate the KDC can parse.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the ESC14 Certificate Identity Mapping skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Does this need admin?

No — you need write access on the target object, which delegation often grants.

### Will it break existing mappings?

Only if you send a single-value REPLACE. The skill sends all values and re-reads.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
