Author: Veli-Pekka Vähälummukka, Program Director, Trivore
Do you remember Kalle from my earlier posts? That longtime veteran whose user accounts were copied for new employees “just to be safe, since they work.” Well, Kalle has now left the company. The cake was eaten, the flowers were given, and the laptop was returned to IT.
The login credentials, however, remained. They didn’t get to eat cake or receive flowers, but they’re still valid in some system where no one remembers anymore that Kalle ever had access.
Does this sound far-fetched? In early October, Denmark saw where this kind of situation can lead at its worst.
What happened in Denmark
Denmark’s central population register, the CPR, holds the names, addresses and national identity numbers of everyone who lives or has lived in the country. On 5 October, the Danish authorities confirmed that the records of about 8.8 million people had been taken: in practice the whole population, including people living abroad and the deceased. It is widely described as the largest data breach in the country’s history.
The breach happened in September and was discovered on 2 October. The attacker did not break in through the front door. They abused a small private company’s perfectly legal right to look up records in the register.
The attacker told the newspaper *Politiken* that he gained access using a password leaked by a former employee. According to the newspaper, the password was “123456” for at least three of the company’s accounts, including an administrator account. These details are based, for now, on information from the attacker and the press, not on an official investigation report. Even if the details were to be clarified, the pattern is familiar: an account without an owner and access without supervision.
The password wasn’t the only problem
Naturally, “123456” made headlines. It’s an easily mocked detail, and it makes for a good meme. But if we focus solely on the password, we miss the whole lesson.
Let’s ask it this way instead. Why did the former employee’s login even work? A weak password would have been completely harmless if the account had been closed on the day the employment ended.
In identity management we talk about the JML process: Joiner, Mover, Leaver. The joiner stage is usually in good shape, because a new employee will certainly complain if they cannot get to work. At the leaver stage, nobody complains. A departed employee does not call the service desk to report that their accounts still work. That is why the leaver stage is the one that gets forgotten in a manual process.
A forgotten account is like a key that was never returned. The lock is still the same, and nobody knows whose pocket the key is in now.
Your partner’s access is your access
The Danish case holds a second lesson, and perhaps a more serious one. The register was not breached through the authority’s own accounts. It was reached through a small company that had a legal right to run lookups.
Many organisations will recognise the pattern. System vendors, outsourced services, consultants and partners are given access to critical systems. The contract may have shifted the responsibility to the partner, but the risk does not shift anywhere. When the data leaks, the headline carries your organisation’s name.
A partner’s accounts raise the same questions as your own. Who on the partner’s side uses them? Who in our organisation owns this access and answers for whether it is still needed? How do we find out when the partner’s employee changes roles or leaves? Would we notice if the account suddenly started running thousands of lookups?
That last question is the crucial one in the Danish case. In ten days, the account ran about 14 million lookups. Nobody noticed anything until the invoice arrived, and that was almost two weeks later. Continuous monitoring and anomaly detection belong to the same Zero Trust onion I have written about before. When one layer fails, the next one should notice.
How to avoid your own CPR moment
The good news is that none of this requires rocket science. It is about basic things, done consistently, every time.
- Link the leaver process to HR data. When an employment relationship ends in the HR system, IAM automatically deactivates user accounts in all linked systems. No emails to IT, no ticket system, no relying on memory.
- Manage partners in the same system, on the basis of contracts.External users get an owner in your own organisation and an expiry date on their access rights. When the contract ends or the date passes, the access ends with it.
- Make it a regular practice to review access rights. These reviews reveal accounts that the automation system has overlooked for one reason or another. The supervisor and the account owner confirm that each permission is still necessary.
- Look for orphaned accounts. Accounts that haven’t been logged into for months or whose owners no longer work at the company are open gateways. It’s a good idea to identify and close them.
- Require multi-factor authentication from everyone with access to sensitive information—especially administrators and partners. A leaked password alone is not sufficient in such cases.
Technology is the tool, responsibility sits with management
It is easy to watch the Danish case from the sidelines and think that at least we do not use “123456”. Perhaps not. But can you say with certainty that every employee and every partner who left during the past year has had their accounts closed everywhere?
If the answer is “probably”, it is worth stopping to think. An IAM solution makes the leaver process automatic and auditable, but the tool alone is not enough. Someone has to be named as responsible for making sure the process works, partners included.
After Kalle’s farewell cake, his accounts need to leave with him. Then a former colleague remains a fond memory, not an open door.
The next post stays in Denmark. In those same weeks, the attackers did not settle for one forgotten key. They went straight for the key cabinet.
Veli-Pekka Vähälummukka serves as as and is responsible for identity management consulting for the company’s largest clients. He led Trivore as CEO from 2023 to 2025, prepared the company for its next phase of growth, and then moved to where identity management is ultimately resolved: solving customers’ everyday problems.
Before joining Trivore, he served as CEO at the IT service companies BLC Taito and Coreware, and prior to that, he held business development and management positions in the software product and consulting sectors.
His writing is rooted in practical experience: what happens in processes, HR data, and the lifecycle of access rights when the system is integrated into the organization’s day-to-day operations. In his own words, he is an experienced professional with a beginner’s mindset: curious and ready to learn something new every day.
TechCrunch: Hackers steal 8 million citizens’ records from a Danish government database
Bloomberg: Denmark Data Breach Exposes the Personal Data of 8.8 Million People
The Copenhagen Post: ‘123456’ Password Used in Massive Danish CPR Data Breach