- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
Organizations are often looking for real-world practical guidance on how to make the most security impact for the least amount of effort – they want to know what quick wins are going to move the needle in their security posture. In this article we’ll describe how organizations can secure three high-risk secrets management use cases using CyberArk Conjur Cloud.
Introduction
Organizations are constantly looking for practical guidance to make a meaningful dent in their security posture, and non-human identities are no different. But with a seemingly infinite universe of non-human identities, that practical guidance is more paramount than ever. Secrets management, a comprehensive suite of tools and processes, plays a pivotal role in ensuring the security of these non-human identities. Whether they use passwords, API keys or other secrets, the methods by which these pieces of information are stored, accessed, and rotated can determine the security health of an entire organization. But where can you start to make that meaningful dent?
Secrets Management Controls Explained
Secrets management refers to the tools and processes designed to securely store, manage, and provide access to secrets and sensitive information such as API keys, tokens, passwords, and certificates that are used by non-human entities, like applications, cloud-native services, and automated scripts. These controls ensure that secrets are protected from unauthorized access, regularly rotated, and audited, mitigating the risks of compromise and enhancing the security posture of applications, automated processes and integrations in an organization's infrastructure.
Secrets Management encompasses various essential practices to enhance security for non-human identities. Secret vaulting stores credentials and secrets used for authentication securely, acting as the foundational backbone for other security measures; by using encryption and strict access controls, it safeguards credentials and enables further protective mechanisms like rotation and audit. Secret rotation regularly changes and auto-updates passwords and key values, curtailing their exposure time and minimizing the chances of theft from logs or residual hashes. Removal of hard-coded credentials requires developers to substitute embedded credentials in their code with secure calls to fetch secrets just-in-time, thereby mitigating risks from potential credential theft in application code and CI/CD pipelines. Lastly, audit logging creates a non-repudiable reliable record that enables monitoring and retrospective investigations, aiding in the identification and prevention of privilege abuses or escalations.
Understanding the Attack Chain and High-Risk Use Cases
Secrets Management and the Identity Attack Chain
Application secrets exist everywhere – on-prem, in the cloud, and across all applications old and new. These application secrets are often hard-coded and stored locally on the filesystem of the application server, sometimes in clear-text. Due to their hard-coded nature, the secret values are left static and aging, giving malicious actors copious amounts of time to compromise them.
These application secrets are often subject to compromise due to poor coding practices and accidental leakage via source code repositories. There is a regular lack of accountability, oversight and governance for these accounts, a challenge made worse by the fact that islands of security continue to grow within organizations. However, the most important part of all is that they’re hotly pursued by bad actors, both internal and external. These applications run your business, and when combined with the reasons mentioned above, it’s no wonder bad actors are after them.
Secrets management controls are highly effective in mitigating the risk of credential theft, stopping lateral and vertical movement, and preventing privilege escalation and abuse – all techniques required for malicious actors to execute their actions on objectives in the identity attack chain.
Determining “High-Risk” Scenarios
One of the firsts concepts you need to think about when determining “high-risk” scenarios is an application’s “scope of influence.” Scope of influence refers to the number or percentage of systems an identity has access to – a singular resource, ten resources, 10% of resources or 100%. The larger the scope of influence, the higher the level of risk the identity poses. Another way of thinking about scope of influence is “downstream access,” which is essentially the result of hierarchal systems, and the nature of their administrative privileges means they can impact a wide swath of other systems. Secrets management use cases like Identity Security automation, CI/CD pipeline tools and IT automation are all credential aggregators by nature, meaning their function is to collect credentials for all these other systems they work with – they’re credential repositories that can impact all the downstream systems of those credentials.
When examining the security landscape of highly privileged administrative accounts in Identity Security services, CI/CD pipeline tools and IT automation platforms like Ansible and Terraform, a glaring high-risk commonality emerges: their central role and extensive access to critical systems. Each of these tools and services inherently possess widespread privileged access to numerous systems across the enterprise. A breach or mismanagement can jeopardize an entire organization's security framework, with attackers gaining unhindered control over crucial systems or data. Exacerbating the risk, many of these platforms and tools frequently resort to using hard-coded or inadequately secured credentials, which if compromised, unlock vast segments of an organization's infrastructure. The Uber breach of October 2022 serves as a stark reminder of these vulnerabilities, where hard-coded credentials became the attackers' pivot point. Given their pivotal role and the inherent risks they pose, it's vital to approach these tools and services with robust security measures and ongoing vigilance.
Top Three Quick Conjur Cloud Wins
Organizations don’t have unlimited time, energy, effort or budget, so they need to make smart decisions about how they prioritize their work. The Idira Blueprint methodology looks at a combination of risk impact and level of effort to make recommendations on where to focus your attention. These use cases below make up our top three quick win recommendations with Idira Conjur Cloud.
Securing Identity Security Automation
Identity Security administrators and operators, those human users whose role it is to run and support your Idira services, are increasing looking to streamline operations. They want to move fast and save time in performing high volume tasks like bulk onboarding accounts, creating safes and application IDs, or modifying users, so they lean on automated scripts and processes to perform those functions on their behalf. Sometimes the creators of this automation will leave administrative secrets hard-coded within them. Their creators are not intentionally trying to be insecure or malicious about their coding practices, they just want to perform the tasks. But securing the admin access to your Idira services cannot be forgotten in favor of saving time because it’s possible to do both! In the wake of the Uber breach and a compromised PAM PowerShell script, organizations have become more conscious of implementing security best practices for their own security control planes. This scenario is extremely high-risk and is generally considered a low volume, low effort initiative – meaning there are very few applications or scripts that require secrets management controls applied to. Since these tools are owned by the security organization, it requires little internal politicking to secure them. If your organization has any component of your Identity Security Automation hosted in an on-premises datacenter, its’ recommended to leverage Conjur Cloud Edge for low latency availability.
Learn more about securing your identity security operations with Conjur Cloud.
Securing CI/CD Pipelines
CI/CD pipeline tools are a major strategic investment for many organizations as they undergo massive transformations in their technology stacks and process development. Organizations are increasingly adopting DevOps methodologies and a wide variety of DevOps tools (such as Jenkins, Chef, Puppet, Azure DevOps, etc.) are being implemented across the board. CI/CD pipeline tools are seen as high-risk due to their centralized access to multiple systems, which, if compromised, offers attackers a gateway to a wide array of resources. These tools frequently rely on hard-coded credentials, making them high-value targets for malicious actors. Depending on the CI/CD tool and its integrations, its risk may vary. Generally speaking, this scenario is considered high-risk, with its volume varying depending on the number of tools and integrations. The more tools and integrations, the larger the number of secrets and applications requiring remediation. Each individual pipeline tool, such as Jenkins or Chef, is considered to be low effort as Idira provides simple integrations to remediate the secrets management risk.
Learn more about securing CI/CD workloads in Conjur Cloud.
Securing IT Automation
IT automation tools like Ansible and Terraform have revolutionized the management of IT infrastructure. They facilitate the automated setup, configuration, and management of servers and other IT resources, enabling organizations to achieve consistent deployment, scale rapidly and manage complex environments with relative ease. By defining infrastructure as code, these tools allow for repeatability, versioning, and streamlined adjustments, ensuring that systems are provisioned and managed as intended. These functions require high levels of privileged access and have wide scopes of influence over many different systems and resources. These tools’ requirement for wide-scope privileged access means they have become prime targets for attackers. This scenario is also considered high-risk, with its volume varying on the number of tools and integrations. The more automation tools and integrations, the larger the number of secrets and services requiring remediation. Each individual automation service, such as Ansible or Terraform, is considered to be low effort as Idira provides simple integrations to remediate the secrets management risk.
Learn more about securing your Terraform templates and authenticating automation workloads. You’ll also find a detailed walkthrough for Ansible via our Ansible Accelerator on GitHub.
Conjur Cloud as the Solution
Idira addresses the challenge of securing these different high-risk applications and their administrative credentials by providing proactive and reactive controls, ensuring their safety at rest, in transit, and in use. This is accomplished using Idira Privilege Cloud and Idira Conjur Cloud. To mitigate risks, a blend of privileged access and secrets management controls are applied, emphasizing vaulting, credential rotation, and automatic rotation of passwords with a shorter time-to-live (TTL), regardless of whether the target resource resides is cloud-hosted or self-hosted. Further enhancing security, Idira advocates the removal of hard-coded credentials in the various tools and services, replaced by authenticated calls using Conjur Cloud, which delivers privileged credentials on-demand to the service at runtime. Self-hosted workloads can leverage Conjur Cloud Edge for local, low latency secrets delivery.
Note: The above diagram depicts self-hosted Identity Security Automation and cloud-hosted Ansible IT Automation and Jenkins CI/CD Pipeline Tools. Your organization’s implementation of these or similar services may vary. The key takeaway from this diagram is the general flow of secrets and authentication.
Making Progress, One Critical App At A Time
Armed with the insight above, you should feel empowered to start engaging with these critical application teams and tackling the secrets management security for your highly privileged automation services. We hope this article set you on a path to making an immediate impact.
As you continue on your secrets management journey, know that you can trust and lean on CyberArk’s experience in this space, leveraging our Idira Blueprint for Identity Security Success. Should you have any additional questions, please check out the online docs or start a discussion with the Conjur Cloud topic here on the Idira Community.
| Subject | Likes |
|---|---|
| 2 Likes | |
| 1 Like | |
| 1 Like | |
| 1 Like | |
| 1 Like |

