November 26, 2026

Identity Security: How to Protect Accounts and Detect Attacks Early

Gernot Lepuschitz

By Gernot Lepuschitz

Chief Technology Officer

13 min read

Share this post

Firewalls cannot stop attackers who arrive with valid credentials. That is why identity security protects the identities themselves: the accounts of employees, service providers, machines and AI agents. This article explains what identity security covers, how Identity Security Posture Management (ISPM) and Identity Threat Detection and Response (ITDR) work together, and why both are only as effective as the identity data they rely on.

Key Takeaways

What Is Identity Security? The Definition

Identity security is the security discipline that protects digital identities and the systems that manage them against compromise and misuse. It covers three tasks: proactively closing weaknesses in the identity landscape, detecting attacks on identities and responding to them.

IBM describes identity security as a discipline that builds on identity and access management and extends it. The division of labour is clear: IAM decides who gets access. Identity security ensures that this access remains secure, even when credentials are stolen, permissions are assigned incorrectly or identity systems themselves come under attack.

Identity security protects all types of identities:

  • Human identities: employees, external service providers, partners, administrators

  • Machine identities: service accounts, API keys, certificates, cloud workloads

  • AI agents: software that accesses systems and data autonomously

  • Identity infrastructure: directory services such as Active Directory or Entra ID, identity providers, single sign-on

The two core building blocks of modern identity security are Identity Security Posture Management (ISPM) and Identity Threat Detection and Response (ITDR). ISPM is the prevention layer: it continuously checks whether accounts, permissions and configurations pose a risk. ITDR is the detection and response layer: Gartner introduced the term in 2022 for the collection of tools and best practices to defend identity systems.

Identity Security vs. Identity Management

The difference lies in the perspective. Identity management organises identities across their lifecycle: creating, changing, deactivating. Identity security asks where this organisation has gaps that an attacker could exploit, and what happens when they do.

The two are inseparable. Identity management with gaps creates exactly the risks that identity security later has to track down.

Why Is Identity Security So Important? Five Key Figures for CISOs

The perimeter has shifted. Attackers no longer need to get past a firewall when a valid login is enough. In its Global Threat Report 2025, CrowdStrike sums up this shift as "From Breaking in to Logging In".

Metric

Value

Source

Data breaches with credential abuse as the initial access vector

22%

Verizon DBIR 2025

Initial access without malware

79%

CrowdStrike Global Threat Report 2025

Average breakout time (from initial access to lateral movement)

48 minutes

CrowdStrike Global Threat Report 2025

Time to identify and contain breaches involving compromised credentials

246 days

IBM Cost of a Data Breach Report 2025

Cost of a data breach involving compromised credentials

USD 4.67 million

IBM Cost of a Data Breach Report 2025

Taken together, these figures tell an uncomfortable story. Attackers arrive with genuine credentials and without any malware that antivirus software could detect. On average, they move deeper into the network after 48 minutes. They are discovered, if at all, only after around eight months.

The Situation in the DACH Region

Identities are a preferred target here as well. According to the Bitkom study Wirtschaftsschutz 2025, theft, espionage and sabotage cost the German economy EUR 289.2 billion, 70% of which is attributable to cyberattacks. Among companies whose business data was stolen, 27% name credentials and passwords as the data taken.

In the reporting year of its Digital Defense Report 2024, Microsoft blocked 7,000 password attacks per second. According to the report, more than 99% of all identity attacks are password attacks.

Regulatory Pressure from NIS2

NIS2 makes identity security mandatory. Article 21(2) of the NIS2 Directive requires "access control policies" under point (i) and "the use of multi-factor authentication or continuous authentication solutions" under point (j). Implementing Regulation (EU) 2024/2690 specifies these obligations for certain providers of digital infrastructure and services, including for privileged accounts and system administration accounts. Our guide to the authorisation concept shows how to manage access rights in a verifiable way.

Where Identity Risks Come From: Four Causes

Identity-based attacks rarely succeed because of a single gap. Usually, structural weaknesses that have grown over years come together. We see four of them again and again in enterprise environments.

Identity Silos and Identity Sprawl

Every new system brings its own accounts: cloud applications, SaaS tools, OT environments, partner portals. One person can quickly exist ten or twenty times, each time with separate permissions. In the CyberArk Identity Security Landscape 2025 study, 70% of the 2,600 security decision-makers surveyed name identity silos as a root cause of cybersecurity risk in their organisation.

The risk: nobody has a complete overview of which identity has which access where. Attackers exploit exactly these gaps for lateral movement.

Invisible Machine Identities

Service accounts, API keys and AI agents grow faster than any workforce. According to the same CyberArk study, there are 82 machine identities for every human identity. 42% of them have privileged or sensitive access. Yet 88% of respondents define "privileged users" as humans only.

The risk: machine identities often have no owner, no expiry date and no MFA. They fall outside reviews and remain active for years.

Identity Infrastructure as a Target

Active Directory, Entra ID and identity providers are the control centres of access. Gartner warns that sophisticated attackers are deliberately targeting the IAM infrastructure itself. Whoever controls the identity provider can issue themselves any account.

The risk: many companies have invested in sign-in, for example in MFA, but hardly in protecting and monitoring the systems behind it.

Missing Identity Context in Detection

When 79% of initial access takes place without malware, an attack looks like normal work. A login at 11 p.m. from Vienna is either suspicious or perfectly normal, depending on who is signing in. Whether the person has just changed departments, is on holiday or has left the company is often unknown to the Security Operations Centre (SOC).

The risk: alerts are misjudged. Real attacks get lost in the noise, while harmless events tie up analysts.

Not a Detection Problem, but a Context Problem

The obvious response to identity-based attacks is yet another tool: one more dashboard, even more alerts. That falls short. Most companies do see suspicious events. They just cannot classify them correctly and quickly enough.

Every assessment in identity security rests on three questions:

  • Who is this identity? A person, service provider, service account or AI agent, and who is the owner?

  • What should it be allowed to do? Which role, which organisational unit, which permissions are justified by the business?

  • Is it still current? Has the person moved on, has the contract ended, is the account still needed?

ISPM can only flag an account as over-privileged if it is known which permissions the role actually needs. ITDR can only recognise a login as an anomaly if it is clear what is normal for this identity. Both disciplines read the same identity data. If this data is incomplete, contradictory or outdated, even the best tools work with false assumptions.

Accordingly, Gartner recommends that security leaders focus more on fundamental hygiene and system hardening and strengthen their identity fabric. Hygiene starts with data: a consolidated, well-maintained view of every identity, a Golden Record, is the context that ISPM and ITDR need.

Identity security is only as strong as the identity data it is built on.

Building Identity Security: The Framework in Six Steps

A robust identity security programme follows a fixed logic: first see, then harden, then detect and respond. The order matters, because each step lays the foundation for the next.

1. Create an identity inventory.
Capture all identities from all sources: HR system, directory services, cloud and SaaS applications, partner portals. Machine identities and AI agents are explicitly included, each with a responsible human owner.

2. Consolidate identity data.
Merge the accounts of each person and each system into one reliable identity. The HR system is the leading source for joiners, movers and leavers. The result is a single source of truth for identities.

3. Assess the attack surface (ISPM).
Check the identity landscape for the risk classes that, according to Gartner, preventive controls should address: misconfigurations, vulnerabilities and risk exposure. Typical findings include over-privileged accounts, orphaned accounts, missing MFA and weak passwords.

4. Harden.
Close the findings by risk: phishing-resistant MFA first for privileged and administrative accounts, least privilege through a clean authorisation concept, deactivating orphaned accounts, replacing standing privileges with time-limited rights.

5. Detect and stop attacks (ITDR).
Monitor identity providers, directory services and sign-ins for anomalies: impossible travel, unusual privilege escalation, token misuse. Define responses that take effect automatically, such as ending sessions, locking accounts or enforcing re-authentication.

6. Close the loop.
Every ITDR incident reveals a gap in prevention. Feed these insights back into ISPM and measure progress with a few key figures, such as the share of privileged accounts with MFA, the number of orphaned accounts and the time to deactivation after an employee leaves.

In projects, we often see steps 1 and 2 being skipped. An ISPM or ITDR tool then runs on uncleaned identity data and mainly produces false positives.

Consultation: How Robust Is Your Identity Foundation?

ISPM and ITDR depend on clean, up-to-date identity data. In a consultation, we work with you to analyse where your identity data resides today, where silos and orphaned accounts arise, and what an implementation of the Goldright Identity Manager would look like in your system landscape.

Best Practices: What Really Works in Identity Security

The following measures have the greatest impact on identity risk. General principles of identity management, such as role models and access reviews, are covered in detail in our pillar article on identity management.

Protect identity infrastructure like the crown jewels

Active Directory, Entra ID and identity providers belong in the highest protection class, with dedicated monitoring, separate admin accounts and their own recovery plans.

Prioritise phishing-resistant MFA

Simple push or SMS codes can be bypassed through social engineering. CrowdStrike recorded a 442% increase in voice phishing between the first and second half of 2024. FIDO2 keys and passkeys withstand such attacks much better.

Assign a human owner to every machine identity

Without an owner, there is no recertification, no rotation of secrets and no decision at offboarding.

Just-in-time instead of permanent admin rights

Privileges are granted for a specific task and time period and then revoked automatically. A stolen account without standing privileges is worth considerably less.

Use HR events as security signals

Departures, department changes or contract terminations must take effect within minutes, not weeks. The SOC should be aware of these events in order to assess anomalies correctly.

Make identity risk measurable

Report a small set of key figures to the executive board and supervisory bodies on a regular basis: orphaned accounts, privileged accounts without MFA, time to deactivation. This creates budget clarity and meets governance expectations under NIS2.

IAM vs. ISPM vs. ITDR: The Comparison

IAM, ISPM and ITDR do not compete; they cover different phases. The table shows which discipline answers which question and what data it needs.

Criterion

IAM

ISPM

ITDR

Key question

Who gets which access?

Where is our identity landscape vulnerable?

Is an identity being misused right now?

Approach

Manage and control

Prevent and harden

Detect and respond

Timing

Before and during access

Continuously, before an attack

During an attack

Typical capabilities

Provisioning, SSO, MFA, roles

Analysis of misconfigurations, over-privileging, orphaned accounts, MFA gaps

Anomaly detection, protection of AD and identity providers, automated response

Usually owned by

IT / IAM team

IAM team and security

SOC / security operations

Identity data required

Roles, organisational assignment, lifecycle

Target permissions per role, owners, account status

Normal behaviour, current role, HR status

Consequence of poor identity data

Wrong permissions from the start

False positives, overlooked risks

False alarms, missed attacks

The last row shows the common foundation: all three disciplines fail because of the same data errors. Our guide Improving Data Quality describes how to fix them systematically.

Practical Scenario: When the ITDR Tool Raises the Alarm

Note: Illustrative scenario with no reference to a specific customer.

An industrial company with around 3,000 employees and several sites in the DACH region introduces an ITDR tool. In the first few weeks, it generates hundreds of alerts per day. The SOC cannot assess most of them: is the login of the account "svc_backup02" at three in the morning normal? Who is responsible for it? Should the project manager who has been working in another department for two months still have access to the finance drive?

The cause lies not in the tool but in the data. Identities are spread across the HR system, two Active Directory domains and a dozen SaaS applications. Department changes reach the target systems with a delay of weeks. Service accounts have no owner.

The company therefore takes a step back:

  • Identity data from all sources is consolidated in a central identity manager, with the HR system as the leading source.

  • Every machine identity is assigned a responsible human owner and a purpose.

  • Role and organisational data flows into the SOC as context.

  • The history shows at any time who had which permissions and when.

The result: the SOC assesses alerts with context. Orphaned accounts become visible and are removed. Audit questions under NIS2 can be answered with data instead of spreadsheet research.

Pitfalls: What to Avoid in Identity Security

Tools before the data foundation

ISPM and ITDR running on uncleaned identity data mainly generate noise. Acceptance in the SOC drops before the benefits become visible.

Treating MFA as the end point

MFA is necessary but not sufficient. Attackers bypass it through adversary-in-the-middle attacks, MFA fatigue or token theft, as described in the Microsoft Digital Defense Report 2024.

Leaving out machine identities

Anyone who only looks at human accounts protects just a fraction of the attack surface.

Not monitoring identity infrastructure

A compromised identity provider undermines every downstream control.

Running identity security as a pure IT project

Without HR, business units and data owners, the information on who should be allowed to do what is missing.

One-off project instead of a continuous cycle

Identity landscapes change every day. Posture management and detection must work continuously, not on a quarterly cycle.

Identity Security Starts with Your Identity Foundation

Are you planning ISPM or ITDR, or looking to improve the results of your existing tools? In a consultation, we show you how to build a consolidated identity foundation with full history using the Goldright Identity Manager, and what the implementation would look like in your environment.

Conclusion: Identity Security Needs a Reliable Foundation

Identities have become the most important attack surface. Attackers log in with stolen credentials, move through the network without malware and remain undetected for months. Traditional perimeter security has no answer to this.

Identity security starts where attacks begin today. ISPM closes gaps before they are exploited: over-privileged, orphaned and unprotected accounts. ITDR detects attacks on identities and identity systems while they are in progress and stops them. Together, they form a cycle of prevention, detection and improvement.

Both disciplines, however, depend on the same prerequisite: reliable identity data. Anyone who does not know for certain who an identity is, what it should be allowed to do and whether it should still be active can neither prioritise risks correctly nor assess alerts accurately. That is why effective identity security does not start with the next tool, but with a consolidated single source of truth with full history for all identities, human and machine alike.

For CISOs and CTOs, this means that investments in ISPM and ITDR only deliver their full value on a clean identity foundation. The Goldright Identity Manager creates exactly this foundation. It connects HR data with IT systems, automates the lifecycle and makes it traceable at any time who had which access and when.

Frequently Asked Questions on Identity Security

Identity security is the security discipline that protects the digital identities of people, machines and AI agents, as well as the systems that manage them, against compromise and misuse. It combines prevention (ISPM) with detection and response (ITDR).
IAM controls who gets which access. Identity security ensures that this access remains secure, even when credentials are stolen or identity systems come under attack. Identity security builds on IAM and extends it.
ITDR is a term coined by Gartner in 2022 for tools and best practices that protect identity systems, detect compromise and enable response. Typical capabilities include anomaly detection for sign-ins, protection of Active Directory and identity providers, and automated countermeasures.
ISPM continuously assesses the security posture of the identity landscape. It identifies misconfigurations, over-privileged and orphaned accounts, missing MFA and weak passwords before attackers can exploit them.
ISPM works before an attack and reduces the attack surface. ITDR works during an attack and limits the damage. Insights from ITDR incidents should feed back into ISPM.
Attackers with valid credentials look like legitimate users. According to IBM, such attacks take an average of 246 days to identify and contain, longer than the average across all data breaches (241 days).
No. MFA prevents a large share of password-based attacks, but it can be bypassed through adversary-in-the-middle attacks, MFA fatigue or token theft. Phishing-resistant methods, monitoring of the identity infrastructure and ITDR are also required.
A major one: according to CyberArk, there are 82 machine identities for every human identity, and 42% of them have privileged or sensitive access. Service accounts, API keys and AI agents therefore need owners, lifecycle management and monitoring, just like human accounts.
Article 21(2) of the NIS2 Directive calls for access control policies (point i) and the use of multi-factor or continuous authentication solutions (point j). Organisations must implement these measures and be able to demonstrate them.
ISPM and ITDR assess accounts and events based on role, organisational assignment, ownership and status. If this data is outdated or inconsistent, the result is false alarms and overlooked risks. A consolidated identity foundation is therefore the prerequisite for effective identity security.