
1 Budgeting
A common situation I’ve seen in my practice is: a new, very convenient tool (in our scenario – cloud) was purchased by an organization and given to the organization’s engineering team. The team is attending training to learn how the tool works. The tool has millions of capabilities and gives a lot of benefits to the business: speed of deployment, multiregion failover, easy setup, no more datacenter management, etc, etc. The problem that the engineering team faces, after some time of managing the cloud environment, is the right prioritization.
Business needs fast feature delivery and continuity. Businesses consider cybersecurity as an additional tax and are trying to avoid this “tax” as much as possible. In this situation, it is challenging to get budget approval for security tools. Engineers and security directors should have good communication and sales skills to be able to convince the management to allocate budget for new tools and processes. Usually the main triggers to get budget approval are: upcoming audit, failed audit, penetration testing or infrastructure breach.
Another challenge for the cyber security world is the rapid pace of technological development, especially in this AI era. The cybersecurity tools a company bought 3 years ago are out of date today. Engineers are coming to management and asking for a budget for new tools, but management does not understand why a new budget is required. In their minds, they already spent two million dollars on cybersecurity. This kind of tension is a never-ending story. Having respect and understanding between engineering and management in this budgeting question will lead to success. If you make it right, your business will not appear in news with the headline: “10 million customers’ social security numbers stolen”

2 People resistance
One of my clients was migrating their infrastructure to a cloud. To speed up the process, they gave cloud admin access to all tech departments: DevOps, Developers, QA. In a few years, they were dealing with the terrible results of this decision: cloud permissions were a mess, there were hundreds of leaked service account keys, dozens of employees who had left the company still had full access to their infrastructure, and offboarded vendors still had admin access to resources. When we started fixing these vulnerabilities, we ran into a number of problems:
- The first one was in ownership. Hundreds of identities and API keys did not have an owner. Some of them had an owner, but it was a nominal owner – he was assigned, but did not know the purpose of the identity and whether it should exist or not.
- The second problem was active identities. The only way to understand whether its use was authorized or hacked would be to deactivate the identity. This could unnecessarily break production.
- The third problem was human resistance. Developers were used to building applications quickly by provisioning vulnerabilities in the cloud access if that closed their task in Jira. They were reluctant to implement new security best practices because that required more time and effort to build each application.
Let’s concentrate on the third problem. Any security (I’m not talking about just cyber) is inconvenient. We should carry keyfobs, we should remember strong passwords, we should use surveillance cameras, fences, dogs, badges, and so on. Without cybersecurity, the workday is easy – we use the same simple password for all applications, we don’t bother with MFA, we click on any links sent by email, and we open any website from our corporate laptop. Cloud identity security is something that not too many people understand and even fewer people know how to protect. When we started hardening cloud IAM for that client, we got a terrible level of resistance. Developers were screaming at us, blaming us when new features took longer to release. Managers pushed the security team to reduce or even remove guardrails for convenience. More than 90% of our job wasn’t fixing vulnerabilities with technology, but convincing people that fixing the vulnerabilities was necessary. The security team can’t protect infrastructure while access vulnerabilities are used in business logic. Secure cloud access must be implemented from the first day of cloud migration so that human resistance does not compromise cloud security.
3 Pentests and purple-teaming
Compliance certification and cybersecurity audits require regular pentesting or purple teaming exercises. For cloud security teams, these exercises are stressful on one side and very informative on the other. The problems start when the results of these exercises are negative. To have positive results, the cloud access should be maintained at a low risk level on a daily basis. I have participated in a lot of these exercises, and the techniques used by the red teams are common: keep persistence, exfiltrate data, lower security controls, gain access to encryption keys, etc. In all these techniques the threat actor starts from Cloud IAM. He is looking for roles with too much access; trying to create IAM users, service accounts, or service principals; creating automation that recreates backdoors (even if they were removed); modifying existing identities’ permissions; changing org level guardrails; and removing resource level policies.
Once, after I had tuned cloud IAM for one of my customers, the red team had huge difficulties doing their job. Even though the red team got admin access (that was approved by the customer before the exercise), they weren’t able to do a lot of harm to the environment. AWS SCP did not allow any IAM changes to any identity except IaaC and break-glass. All the identities in the main AWS account had the guard-rails that did not allow the SCP, RCP, SSO, and self permissions changes, the break-glass accounts were hardened, etc. To be honest, I even felt a bit bad for the red team that day and proposed to create a separate environment for the next exercise where we would disable all the security controls, allowing the purple team to learn the most common cloud hacking techniques.
Keeping cloud access security controls up to date, maintaining them on a daily basis, monitoring cloud access risk score constantly, and setting right priorities is the key that will switch pentests and purple-teaming exercises from fire-drill mode to routine system checks leading to positive results.
4 The “leftovers from previous life”
The word “legacy” is something that everyone in the IT world will recognize and associate with the word “burden.” Days and weeks are spent reverse engineering and digging through ancient layers of code that were written by people who might already be retired or even have passed on. When we are talking about cloud access, we can’t really dismiss the access as “legacy,” because it is necessary for the legacy production applications to work. Because the “legacy” applications accumulate over time, the accesses they use do so as well. It might be hard to determine whether the access is still required. Potentially thousands of identities, service account keys, identity and resource level external trusts, and cross-account accesses created by many engineers who have worked on the project for the last two decades bring in huge risk when not monitored, not inventoried, or not maintained. Each identity should have an owner. The cloud access keys should be rotated at least once a year. The most dangerous part of this, in my opinion, is the cloud external trust. This trust is easy to hide, and not too many people understand how it works and how to remediate it; therefore this access can stay active and unattended for a long time. I have seen situations where the unauthorized external trust existed in the customer’s cloud infrastructure for more than 10 years. When I was performing the audit, the existence of this trust was a big surprise and raised a huge question – the infrastructure owners did not know whether the access was legit or not. Cloud access cleanup in this case can only be done the hard way – disable it and see if something breaks. If nothing breaks – good, otherwise revert it. But there may be situations where a pipeline executes once a year. If that pipeline breaks from the access cleanup, it may not be noticed for a long time. Then it might be hard to understand why some external vendor’s or customer’s platform can no longer communicate with yours anymore.
The former employee problem
The other problem is former employees who managed cloud access and were responsible for secrets’ vaults. Yes, legally they are mandated to return all the company assets and remove all the company related information the day they leave the company, but who knows… It is especially dangerous to fire this level of employee immediately without a transition period. Replacing these specialists requires a long and polite process: a new employee is hired, then full knowledge transfer is implemented; when the existing employee leaves, the new employee implements a full cloud access audit and removes anything that looks suspicious. Ideally it would be nice to rotate all the secrets too, but that is not the topic of this article.
The first problem that should be addressed in cloud access management is the ownership. Each identity should have an owner. This should not be a nominal owner that was assigned 500 identities just because he works in the company, but the real owner who knows what each identity is for, which permissions it requires, and what the identity’s lifecycle is.

5 Monitoring and alert flooding
Two of the most boring parts of managing cloud infrastructure, in my opinion, are monitoring and documentation. If we are talking about cloud access monitoring, the first thing is, of course, UBA (user behaviour analysis). If a user or a system has been accessing resource A for the last three years and suddenly accesses resource B,C, and D within the last 30 minutes, it must be alerted. This is a dynamic realtime or almost realtime monitoring that requires immediate reaction. The other type of cloud access monitoring is a more static monitoring: how many identities does the infrastructure have, how many of them are admin, how many are active, how many are dormant, how many do not have an owner, and how have all these changed over time. This is a situation where it is better to have a specialized tool instead of recreating the bicycle by writing in-house automation. As soon as the in-house automation writer leaves the company, somebody else will have to support the automation. The other benefit of using an external SaaS tool is that the team supporting it is constantly collecting and implementing the best practices and keeping the tool up to date with industry standards that change all the time.
You might hear the term “alert flooding.” Alerting is a critical part of any infrastructure, but the problem begins when there are so many alerts that nobody reacts to them. Of course, alert tuning helps here, but a trained AI model is the most efficient way to filter false positives, prioritize response, and implement a more useful alerting process. But even with AI’s help, alert tuning requires a human’s attention at least on a monthly basis. Cloud access also requires alerting: someone gave admin access to an identity = critical alert; someone created a service account key = medium alert; someone made a minor update to a policy in the sandbox environment = low priority alert.
The cloud access monitoring and alerting process is something that should not be minimized. Having full visibility of organizational cloud access metrics and having right priority alerts when risky cloud access changes happen is a crucial thing in protecting cloud environments – especially now when malicious AI processes can compromise the whole cloud infrastructure in minutes.
Conclusion
These three articles describe fifteen challenges that cloud identity security teams deal with every day. Not all of these challenges are mitigated properly in most organizations. Hacking cloud infrastructures always involves compromising IAM, and protecting this part of the cloud reduces risks and keeps the probability of data leaks to a minimum. If you think that your organization needs help with protecting your cloud’s IAM – let me know, I will always be happy to help.
Thank you for reading this.