DevOps.com

Where the world meets DevOps

  • Latest
    • Articles
    • Features
    • Most Read
    • News
    • News Releases
  • Topics
    • AI
    • Continuous Delivery
    • Continuous Testing
    • Cloud
    • Culture
    • DevSecOps
    • Enterprise DevOps
    • Leadership Suite
    • DevOps Practice
    • ROELBOB
    • DevOps Toolbox
  • Chat
  • Webinars
    • Upcoming
    • On-Demand Webinars
  • Library
  • Events
    • Virtual Summits
    • Conferences
  • Sponsored Communities
    • CloudBees
  • Related Sites
    • MediaOps
    • Container Journal
    • Security Boulevard
    • SweetCode.io
    • Digital Anarchist
    • DevOps TV on YouTube
    • DevOps Chat on SoundCloud
    • DevOps Connect
    • DevOps Dozen
  • Follow Us
    • Twitter
    • Google News
    • LinkedIn
    • Facebook
    • DevOps TV on YouTube
    • Email
MENUMENU
  • AI
    • IBM AI

      IBM Zones in on DevOps for AI

      Virtana

      Virtual Instruments Changes Name to Virtana to Drive AIOps

      AIOps for Mission Critical Workloads

      What is so Special About AIOps for Mission Critical Workloads?

      Continuous Optimization

      Continuous Optimization: An Idea Whose Time Has Come?

      Kong Employs Machine Learning to Extend Services Control

      Kong Employs Machine Learning to Extend Services Control

  • Cloud
    • CNCF Advances CloudEvents Specification

      CNCF Advances CloudEvents Specification

      From Pets to X-as-Code: Enabling Control and Predictability for ITOps at Scale

      From Pets to X-as-Code: Enabling Control and Predictability for ITOps at Scale

      Talend

      Talend Aligns With Microsoft on DevOps

      Building Hybrid and Multi-Cloud Architectures for Analytics and AI

      Building Hybrid and Multi-Cloud Architectures for Analytics and AI

      Kubernetes

      Kubernetes and Service Mesh With StackRox

  • Continuous Delivery
    • Dell Boomi Dives Into DevOps

      Dell Boomi Dives Into DevOps

      Implement an Effective CI/CD Pipeline

      How to Implement an Effective CI/CD Pipeline

      CloudBees continuous delivery

      CloudBees Advances Continuous Delivery

      OverOps

      OverOps Integrates AI Code Analyzer With CI/CD Platforms

      CircleCI Extends CI/CD Reach to Windows Platforms

      CircleCI Extends CI/CD Reach to Windows Platforms

  • Continuous Testing
    • IBN’s Success is Driven by Formulating the Right Test Validation Strategy

      IBN’s Success is Driven by Formulating the Right Test Validation Strategy

      Steps to Ensuring Validity of Your Business-Critical Data

      5 Steps to Ensuring Validity of Your Business-Critical Data

      Agile and DevOps Success Needs Continuous Testing

      Agile and DevOps Success Needs Continuous Testing

      How Continuous Testing Advances Your Business Goals

      How Continuous Testing Advances Your Business Goals

      CloudBees' Acquisition of Rollout: The CEOs' View

      CloudBees’ Acquisition of Rollout: The CEOs’ View

  • DevSecOps
    • Mobile App Security

      Why Mobile App Security is Like a Rubik’s Cube

      Kubernetes

      Kubernetes and Service Mesh With StackRox

      Applying Secrets Management to DevOps

      Applying Secrets Management to DevOps

      What Developers Must Know About Threat Modeling

      What Developers Must Know About Threat Modeling

      The New Era of Kubernetes, With StackRox

      The New Era of Kubernetes, With StackRox

  • Leadership Suite
    • Observability Strategy for Microservices

      Four Steps to Implement an Observability Strategy for Microservices

      Legacy Databases Are Holding Back Enterprise Digital Transformations

      Legacy Databases Are Holding Back Enterprise Digital Transformations

      Five Don’ts When Scaling DevOps

      Five Don’ts When Scaling DevOps

      Release Management Dead DevOps

      Is Release Management Dead in the DevOps World?

      business transformation

      Survey Suggests DevOps Drives Digital Business Transformation

  • Practices
    • Containers in Business Transformation

      The Role of Containers in Business Transformation

      Observability Strategy for Microservices

      Four Steps to Implement an Observability Strategy for Microservices

      From Pets to X-as-Code: Enabling Control and Predictability for ITOps at Scale

      From Pets to X-as-Code: Enabling Control and Predictability for ITOps at Scale

      Legacy Databases Are Holding Back Enterprise Digital Transformations

      Legacy Databases Are Holding Back Enterprise Digital Transformations

      How Monitoring and Observability Feed Each Other to Create a Holistic Approach to Visibility

      How Monitoring and Observability Feed Each Other to Create a Holistic Approach to Visibility

  • ROELBOB
    • naming-services

      Naming Services

      refactoring and decomposition

      Refactoring and Decomposition

      from-the-bookshelf

      From the Bookshelf

      best-practices-part-01

      Best Practices, Part 1

      too-big-to-fail

      Too Big To Fail

  • Toolbox
    • Continuous Optimization

      Continuous Optimization: An Idea Whose Time Has Come?

      Dell Boomi Dives Into DevOps

      Dell Boomi Dives Into DevOps

      Kong Employs Machine Learning to Extend Services Control

      Kong Employs Machine Learning to Extend Services Control

      Implement an Effective CI/CD Pipeline

      How to Implement an Effective CI/CD Pipeline

      Render

      Render Taps Manifold to Expand Cloud Services for Developers

  • More Topics
    • Application Performance Management/Monitoring
    • Culture
    • Enterprise DevOps

Home » Blogs » DevOps Practice » What Developers Must Know About Threat Modeling

What Developers Must Know About Threat Modeling

What Developers Must Know About Threat Modeling

Jeroen BoksBy Jeroen Boks on October 14, 2019 Leave a Comment

Threat modeling is a process that far few developers seem to pursue, but it is a process that helps you and your team to model all potential threats to your application. Essentially, threat modeling is your thinking through all of the potential threats against an application. Doing so is virtually as easy as putting together a list of threats in a structured manner that lets you assess any perceived risks, allowing you to formulate how you are going to respond to the threats.

Recent Posts By Jeroen Boks
  • Radical Transparency in DevOps and ITSM Helps Achieve Excellent Customer Experience
Jeroen Boks More from Jeroen Boks
Related Posts
  • Q&A: Speaking DevOps and Threat Modeling with the author of Threat Modeling: Designing for Security
  • Threat Modeling: The Why, How, When and Which Tools
  • Early Automation: A Key Requirement for DevSecOps Success
    Related Categories
  • Blogs
  • DevOps Practice
  • DevSecOps
  • Enterprise DevOps
    Related Topics
  • application security
  • development team
  • risk management
  • threat modeling
  • threat monitoring
Show more
Show less

Ultimately, through threat modeling, you are optimizing network security by identifying objectives and vulnerabilities and creating measures to prevent the effects of threats to the system. Through this definition, anything described as a threat has the potential to be malicious to your organization and data systems; for example, incidental occurrences like the failure of a storage device–which can compromise the integrity of the entire enterprise.

The reasons for threat monitoring may be pretty obvious, but any lack of progression here is quite common.

Threats are one of the significant factors that led companies to spend $89.1 billion on enterprise security solutions. Gartner predicts threats will reach $96.3 billion by the end of 2018. According to Raytheon’s 2018 Study on Global Megatrends in Cybersecurity, 36% of senior IT and cyber professionals identified malicious or criminal insiders as a top cyber threat. Even with that knowledge, many organizations lack insider threat policies and policy enforcement tools, and they struggle to align security and IT responsibilities to tackle the threat effectively.

Threat monitoring allows you the ability to determine which threats might exist for your application. Knowledge is power, and it’s always better to know beforehand what dangers might await you. Understanding these threats lets you decide whether you will accept the risk.

For a threat to exist, there must be a combination of the following where the combined likelihood and impact are significant enough in which to do something. A framework for understanding threat modeling, includes: asking what you are working on, what might go wrong and what to do about it, as well as if a job is well done.

According to the Open Web Application Security Project (OWASP), threat modeling is a process that lets you continually refine your processes based on what you have done so far: “Starting with all possible vulnerabilities is usually pointless, as most of them are not attackable by the threat agents, protected by a safeguard, or do not lead to a consequence. Therefore, it’s generally best to start with the factors that make a lot of difference.”

Those steps include assessment scope, identity threat agents, existing countermeasures, identifying vulnerabilities, prioritizing identified risks and identifying countermeasures to reduce the threat.

In the assessment scope, you’ve got to understand the price of what’s at stake. Identifying tangible assets, such as databases of information or sensitive files, is usually straightforward, and realizes the capabilities provided by the application.

Next, identify possible threats or attacks. A crucial part of the threat model is characterizing different groups of people who might be able to attack your application–this may include insiders and outsiders, performing both inadvertent mistakes and malicious attacks. During this phase of development, consider existing countermeasures that allow you to determine what possible exploitable vulnerabilities exist that must be addressed. Through your search, look for weaknesses and connect any attacks you’ve identified to the negative consequences you’ve identified.

When identified, risk management can be prioritized. For each threat, determine possible outcomes and the impact of those to understand how to mitigate these issues. Next, look for ways to reduce any future risks.

While many of the threats might appear to be security related, many others have more natural explanations. Threat assessments can include power outages or even a flooded server room. These and other factors can lead to severe threats to your organization.

When to Model the Threat?

Threat modeling is often best at the beginning of a project, but it’s better to conduct a threat modeling project halfway through a project or even at the end than not at all. Threat modeling at the end of a project can have benefits, such as understanding the architecture and how data flows through it. However, threat monitoring at the end of a project can lead to finding more work may be required to fix poor design decisions not caught at the beginning.

For those entering into threat modeling, conduct your first session on an existing project, letting you experiment with a threat modeling session so that you can familiarize yourself with everything required. This way, you’ll be better prepared to analyze all assets and flow of data to assess the risks. Once the process is pounded out, you’ll have a better chance of succeeding in your threat modeling of a new project. You’ll also be able to better prepare for threats that may exist in the design phase of the project. From here, over time, you’ll begin to take into account threats during the initial design of a new feature.

Approaching the Threat Model

Each method of approach depends on the organization and its goals. Large organizations usually have previously established processes for threat modeling. Smaller organizations new to threat modeling can begin by hiring in experience to initiate the task or seeking outside support from experts or those who can advise the program.

Next, you need to understand who the users are within the system–regular users, administrators, outsourced contractors and perhaps hackers with apps or other tools looking for vulnerabilities within your network. There are also other actors, including disgruntled former employees.

Defining the user actors is important since missing a group can mean you might be missing an entire category of threats. Also, consider the various types of hackers or groups of hackers in your models.

Data and Information Flows

At this point in the threat modeling process, track each of the various data flows running through the system. For each of these, you need to know where the data goes. What does it interact with or encounter along the way? Then look to identify where data can leak or where it might be exposed. More data components create more opportunities for a hacker to gain access to the information.

Individual data means the information flows differently based on the architecture and the specific situation. One example might include a request from a user’s browser where the cookie is sent through and interacts multiple components as it does.

For each data flow, search opportunities for any actors to gain hold of valuable information. If anything makes you frown, step back through the process and move that threat through until you can mitigate the frowning moment.

Threat List Complete

When the threat list is observed and complete, prioritize the list from very unlikely to improbable to not likely. No matter the probability of the risk, work through the risk as a real possibility. Do so to consider the real impact of the threat and what it may mean to the organization. Is the company going to crash and burn completely? Will every bit of data get pulled into a ransom situation? Place a number or priority of the impact, such as low, medium and high.

When you have your risk list, manage the risks by:

  1. Accepting: If the risk is quite low, accept the potential impact. It’s also possible you’ll find the potential negative user impact is more important. You can also reassess later.
  2. Transferring: Perhaps another team is responsible for managing a particular risk. If that team can pick up the defense easily, outsource it.
  3. Avoiding: Don’t do this. If you must, consider complete structural changes to your data flows to avoid altogether avoiding risk. This might mean architectural changes are required or killing a particular feature altogether so as not to avoid danger.
  4. Reducing: Take actions to lower the risk by lowering the likelihood or impact of the risk. You may need to take multiple steps to reduce the threat. No matter the action, effort is required to reduce the risk.

After threat modeling is complete, don’t stop. Keep working because threats and actors change. List all potential issues or risks that must be addressed and work them into your plan.

Finally, remember you should be careful with whom you share your threat modeling plan. You never know where that information might end up otherwise, or who might be a threat to your organization and its data.

One last note: The final result and usefulness of threat modeling depend almost entirely on the parameters established. Defining the values for the probability of a threat and impact may be subjective, but let your experience, input from colleagues and experts, and your gut guide you.

Filed Under: Blogs, DevOps Practice, DevSecOps, Enterprise DevOps Tagged With: application security, development team, risk management, threat modeling, threat monitoring

  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • More
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Tumblr (Opens in new window)

Like this:

Like Loading...
Sponsored Content
Featured eBook
Boost Business Agility with Hybrid Cloud and Containers

Boost Business Agility with Hybrid Cloud and Containers

IT and business are changing rapidly. Growth opportunities in new markets, evolving customer behaviors and preferences, increased competitive pressure, and new standards in regulatory compliance are causing organizations to adapt their operations and processes. Even so, rigid legacy IT infrastructure can keep you from adjusting to change and reduce the ... Read More
« Fear of Abandonment
Low-Code Meets DevOps: A Smart Way to Manage Modern App Delivery Demands »

Live from DevOps Enterprise Summit, Las Vegas, NV

Click Play to Watch the Digital Anarchist Live Coverage of DevOps Enterprise Summit-Oct 28-30.

Top Stories of the Week

  • View DevOps.com Privacy Policy

Latest from DevOps.com

CNCF Advances CloudEvents Specification
October 28, 2019 | Mike Vizard
DevOps Chat: CI/CD Velocity for Large Monolithic Services wi...