DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
What's in store for DevOps in 2023? Hear from the experts in our "DZone 2023 Preview: DevOps Edition" on Fri, Jan 27!
Save your seat
  1. DZone
  2. Software Design and Architecture
  3. Cloud Architecture
  4. How to Create a Threat Model for Cloud Infrastructure Security

How to Create a Threat Model for Cloud Infrastructure Security

Learn more about creating a threat model for cloud infrastructure security in this article where we dive deeper into threat modeling.

Pat Cable user avatar by
Pat Cable
·
Nov. 12, 18 · Tutorial
Like (3)
Save
Tweet
Share
8.46K Views

Join the DZone community and get the full member experience.

Join For Free

The practice of creating a threat model can help teams proactively understand and develop a strategy for managing the possible vulnerabilities their organization faces, instead of waiting until after an incident occurs. OWASP defines threat modeling as “a procedure for optimizing security by identifying objectives and vulnerabilities, and then defining countermeasures to prevent, or mitigate the effects of, threats to the system.”

SecOps teams can benefit from creating a threat model for cloud infrastructure and defining an approach to operationalizing, hardening, and automating security throughout the software development lifecycle. While it’s best to build security into the design of your systems at the outset, remember the motto:

"Threat modeling: the sooner the better, but never too late." —  OWASP

Let’s walk through how to get started.

Step 1: Get the Right Team in Place

A threat modeling exercise should involve a cross-disciplinary team, with a security team member serving as the lead. The security team, application developers, site reliability engineers, the ops team, and business owners might all be potential candidates for participating in the process.

Leveraging the expertise of multiple groups involved in the software development, testing, and delivery process will lead to a more holistic view of what you’re working on, what could go wrong, and how to reduce risk over the long run.

Step 2: Model Your System

Once your team is assembled, it’s time to figure out what the boundaries of the system are — is it a single microservice? Is it your web frontend? Be careful not to make the system boundary too big — as you start to widen the boundary, it gets harder to model.

OWASP recommends looking at the following factors:

  • The trust boundaries to and within the system
  • The actors who interact within and outside of the trust boundaries
  • Information flows within and to and from the trust boundaries
  • Information persistence within and out of trust boundaries
  • Potential threats and vulnerabilities to these trust boundaries
  • Threat agents that can exploit these vulnerabilities
  • The impact of exploitation of a vulnerability by a threat agent

Step 3: Consider Risk Mitigations

Now that you have a list of assumptions about your system, is there anything you can mitigate off the bat? Are there things that enforce system boundaries that, if not configured correctly, could affect your threat model?

For example, take a particularly close look at your cloud infrastructure control plane to start. In a recent study, Threat Stack found that 73 percent of companies have at least one critical security misconfiguration — maybe your security groups are wide open. “Critical” is defined as configuration lapses that enable an attacker to gain access directly to private services, the AWS console, or that could be used to mask criminal activity from monitoring technologies. The volume of high-profile breaches happening via open infrastructure ports is evidence that misconfigurations are continuing to negatively impact organizations.

Once your team has figured out what your system threat model is and has then refined this list to distinguish what’s most important and applicable to your business, it’s time to create a remediation plan.

Step 4: Make a Plan and Assign “Risk Owners”

The first step in creating a remediation plan is to rank the severity of each threat (see an example ranking methodology in our recent risk assessment blog post). From there, assign a team member to address these threats in order of severity, starting with the most severe. Having “risk owners” ensures that there’s accountability for addressing the threats your team has uncovered.

In as many cases as possible, try to operationalize or automate security into a process to prevent vulnerabilities from recurring in the future and to ensure that you’re using a repeatable, consistent approach across your organization to risk reduction and mitigation rather than in-the-moment, ad hoc tactics. Threat Stack, for example, has automated processes, such as role-based access control and public key authentication, to keep systems secure without sacrificing the efficiency of the team.

Continuously Monitor Your Cloud Infrastructure

The process of threat modeling is never truly “done.” It’s crucial to continuously monitor your cloud infrastructure and to assess new and existing risks on a regular basis. With increasingly sophisticated attacks to infrastructure security appearing daily, an up-to-date threat model can ensure that your organization’s security posture is as robust as possible.

security Infrastructure Cloud teams Software development

Published at DZone with permission of Pat Cable, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Debugging Threads and Asynchronous Code
  • How To Generate Code Coverage Report Using JaCoCo-Maven Plugin
  • How to Use MQTT in Java
  • Visual Network Mapping Your K8s Clusters To Assess Performance

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: