2.3 Threat Modeling Part 3
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
Already have an account? Sign In »
2 hours 41 minutes
and welcome back to episode full off Cyber security architecture fundamentals.
Today we would complete
all section on track modeling
How to categorize treads using the strike model.
How to rank threats using the dread model
and to complete off
will just cover us little bit on other trip models, such as the Social Trap Models and Environmental Trip models.
And lastly, how do we document his threats
To be effective? Threats must be understood and communicated uniformly.
Today I will cover Strike, which is the model development Microsoft to help categorize the traits.
This is a fairly all model, but it's still a value. Today, he cares, is easily understood.
There are more advanced model, like the miter attack framework, which we would not be covering. But if you're interested, you could go look it up
and learn a little bit more.
So what is Strike
Well struck stands for spoofing, tempering, repudiation, information, disclosure, denial, service and elevation of privileges.
These are six ways we can categorize threats,
although there is 1/7 way by Lockett Martin when strike lm that talk about lateral movement. But that's out of scope for this session
Now I will go through a little bit about what each are,
but you just need to understand. These are six men areas where
threats can be categorized.
I will illustrate each of this
with examples in the following slights.
But let's take spoofing.
Spoofing can be done to a machine or a person. For example, if this phone a spoof a machine,
I can use an attack like the ns spoofing a. D. M s compromise. So I could fool you into thinking a euro well that you type in, for example, that the WW that google dot com
and I could just change the eyepiece and the two somewhere else. That is an example of spoofing
all spoofing a person could be taking over an account pretending of someone else.
Tampering could mean changing something so you could be redirecting network, which is tampering with the flow.
Or you could be modifying court or scripts or configuration,
and that could be
also an example off. Tempering
is to deny something that was done so you could claim not to have receive it. This could be either Elektronik off physical. So when you get a message, you can actually pretend that you didn't get it and ask for it to be re sent. Now that is an example. Off a repudiation tripped
information disclosure can take many forms.
The most direct way is, for example, a sequel injection attack, where someone managed to extra trait. Information. True, your website by entering a sequel statement accessing the database.
Now that could be a deliberate attempt,
but it could also be
too much information in your era message when your error message actually states the tables, the fields or even a simple s password. Incorrect
might be too much information because if you enter a password and someone say is possible incorrect, you at least can confirm that the user name is correct and tuhs help the attacker narrow his attempts.
Denial of service Most people associate deny off service with Adidas Attack where you get flooded
or a Solaris where someone just sends very slow traffic to look up your account.
you know, triggering a lockup attempt. For example, if you lock up a system by too many attempts, that is also a denial of service. As long as the user could not access the service that is classified as a denial of service.
The last one is elevation off privileges. This is what most Attackers tried to do. They get a foothold into your system and increase their lever access to the rest off the system. This can be done by corruption by sending invalid data, which is very common. Or it could be accidental by accidentally
making someone administrator.
Oh, by Miss Configuration.
Now, after you have categorized your threats,
we need to prioritize the treads.
You probably would have a long list of treads, and you probably will not have enough resources to put in all the controls to mitigate them.
So there needs to be a way to communicate the priorities and where to put your resources.
Now dread. It's a model created a Microsoft, but it's no longer used it. In fact, it's fairly dated like stride, and it's a very subjective approach. There are many other ways to do it, but I'll use this in the fundamentals class to give you an idea off how
one way to prioritize your tread could be
for this. Let me explain a little bit about dread. Dread stands for damage potential,
exploit ability, affected users and discover ability. These are various factors used to calculate the risks.
So how do we use this? I think it's best illustrated with an example.
So, for example, let's take a look at this.
We were asked the questions for damage potential. How big with the damage be?
Well, if you are a bank and this whatever treaded this could lead to reputation as well. It's financial and legal liability. Oh, we can give it a skull of a 2.10
and Reaper disability. How easy it is to reproduce. Well, if it's fully reproducible, we can give it a maximum score off 10
This refers to what's the effort taken to exploit this threat.
it's required to be on the same something that and have a compromised rotter well may not be as bad as a 10 but you could have malicious inside it so we can put it a seven
affected uses. We could say that this would be affecting all uses in the system or in the bank, so we will put it as 10
discover ability. Well, the Trent has ever been published
online, so anybody who could use Google. Confine it. So we put it a 10.
So with these numbers will just add them up. Every stem out and we get annoying, which means this is a very high ranking treads.
As you can see, this is not a very scientific way to do it. It's for a subjective task. A lot of it depends on the experience and the skill of the person ranking it.
There are many other ways to do Tread Rhys ranking, but this is just one example. The idea is, after you identify the tread, everybody needs to agree on a way to rank them
so that we can all agree
on where to put our resources.
go look in your organization, risk management and see How do they do? Rhys Ranking.
Adopt the one that's used by the organization, And if there isn't one, you can use this model to start with
to complete this model on track modeling, I'll just briefly touch on two other models, which could be useful.
One is the environmental trip Marlowe,
which might be used for when deciding location of a new data center. For example,
environmental trip models could be of quick flooding
power out H
telco out age and so on. So it's not relevant to some systems but might be very relevant to other systems. With location plays an important part,
the next one is social tread models. This is becoming increasingly important where social engineering seems to be the main attack vector. Two very key personnel's so social tread models help you list out the various targets in your organization and
attack vectors that could be used against them.
Here is an example
on hall to draw a social trap model.
You can identify the goals. What do people want to get?
The media is a female face to face
are even SMS
And what is the social engineer? Is he an individual? Is he walking as a group?
Who are the targets?
It's an individual in the department, Or is it the whole department?
And what are they trying to do to try and be a friend? Auditory Using fishing now, So
map out the targets, map out the individuals in organization, and this could result in customized awareness program for different groups of people in the organization.
Now that you have gone through the basics of Trent modeling. Let me finish off by reiterating hard to start.
First, get the architectural artifacts from the development team,
sculpt the model,
and you can do your data for diagrams or your or what straight modeling and used to free tools.
Since you managed to draw some off these diagrams out,
it's timeto organize them in a way that can be easily communicated,
regardless off the type of drawing theatrically some basic information in a trap model document.
Firstly, we need to just list the name, the owner description and the versions. Threat models do evolve over time and over it oration when more information is uncovered, the treads to change
next. It's good to list out the dependencies. What external systems are interfaces that results in the trap model? So these could be some of the assumptions you meet?
What is the entry point off the tread? Is it a page? What protocol is it? Is it an A P I or is it FTP
list out the entry points so that the mitigation controls can be better understood?
More importantly, the assets
try toe much details off the assets as possible, including the valuation and how you came up with the valuation formula.
And lastly, it's good to put out the counter measures, which are the mitigation controls that you like to put in
to end off. I would like you to try this exercise now. This is a typical diagram
off a home with fiber connections so you would have your users. You would have a switch or router, a firewall and maybe your phone to a while. It's a pee now, given if this is your environment,
try to create a trait model. Full this environment. All
think about your home environment and create a track model off your home.
This would be a good exercise to try to identify if you have sufficient controls in place to secure your home environment.
what Trent models that you create on your home environment?
And did you manage to identify additional controls that you need to secure it?
Do a few more of these for your friends and family,
and you'll get the hang of it to develop
good track models and mitigation controls.
The video lessons are very short, so to get further readings, these are some off the places where you can get additional reading materials
and to learn a little bit more about how some of these models were created.
So do take the time to download the materials, list that here and spend some time going through them.
So in summary,
I just want it to rate
that there is such a thing as too much security.
Doing a Trek model helps you identify your assets and apply the right level of controls.
Trap modeling also helps you articulate the threats and controls and communicate and better to the larger communities.
There are many types of tread models to choose the right one. First, your situation. It may be more than one,
and please make use of tools to help you create your trip models.
You can start with the free tools and as you progress up in your maturity, you might want to consider buying some commercial tools.
Well, this concludes the model on track modeling.
Next, we will start on the next bond. You, which is enterprise security areas in the first video on that will cover a risk. As such, a SW network security application, security and endpoint security
look forward to seeing you in the next video