What's in YOUR Threat Model?
This is talk 3 of 5 in my Rock Talk Security Series:
- Everything Leaks
- Mission UnPossible
- What's in YOUR Threat Model?
- Magic Pixie Dust
- Trust Me Bro
So, the title of this talk... I was inspired by this tweet from 2017 by the grugq
I saw this tweet referenced in a talk by my friend Dan Tentler at Layer One in 2017, and the title of his slide was "Is this in your Threat Model?"
Which made me wonder: "What's in YOUR threat model?"
btw, this is actually an art installation in England.
So in Everything Leaks, we established that EVERYTHING leaks information. In Mission UnPossible, we established that everyone needs DoD Level Security, even your beloved nana. And now I'm going to tell you, I guarantee that each and every one of you do threat modeling already. Just like everybody poops, everybody does threat modeling. Except not everybody realizes that there's a term for it, or they don't even realize that they're doing it already. Threat modeling that is... everybody knows that they poop.
So in my last post, I told you that "DoD Level Security" was essentially just applying the risk equation, (vuln + threat - counter) * value = risk. Well, that's basically what threat modeling is. DoD Level Security and Threat Modeling are, in a way, the same thing.
So there are vendors out there who sell fancy threat modeling software and solutions, they offer expensive training, Microsoft has a big fat book and even a card game around that. Lots of people will tell you that in order to have a threat model, it has to be some big, complicated thing created by #SuperSerious cyber people, who have the right training.
That's not true. What is a model? It's a scaled down version of the real thing. Every Christmas I pull out a model train set and put it up around my family's Christmas tree. Hans Gruber, he loved building models as a boy (the scene from Die Hard (opens in a new tab)).
He said something, did you catch it? The exactness to detail. But surely, this model isn't just a scaled down version of the real thing? It's made of paper and plaster, not steel and concrete. There's no electricity. It's not decaying from the natural elements. But the detail.... the detail that MATTERS .... the detail that matters for the CONVERSATION that you're having. That's there. It's a way to take a big picture and hold it in your vision, all at once.
Okay, so we know that models are scaled down and simplified versions of the real thing. A model train is a small plastic train. A model bridge is a small plastic bridge. So is a model threat... a small plastic threat? Are we any closer to what "a threat model" actually IS? Can I go buy a model threat at the hobby store and assemble it at home?
Of course not. Think of a threat model more like a mathematical model. We have mathematical models that can predict the weather, they're close but not perfect.... because they're scaled down versions of the real thing. A mathematical model can be written down as an equation on a blackboard, or it can be programmed as a computer simulation. We have economic models, again, close but not perfect - and either written down as a short book or programmed as another simulation.
A threat model is anything you want it to be that communicates your "DoD Level Security". I have literally seen threat models that are nothing more than a Word document that says: Here are our vulnerabilities, here are our threats, here are our existing mitigations, and here's the value.
I have also seen threat models that are large, complicated network diagrams.
I told you that you all do threat modeling, but you just don't know it, right? Well, you all do risk assessment every day, right? Can you name some?
I, for example, I do not have a home security system. I could, I suppose, but what would it give me?
For most of you, your threat models are not Word documents or network diagrams. Your threat models are mental constructs, they're in your heads. I have actually known people to write down their personal threat models. I've written down some of mine before. But for most of us, they're just mental models, part of how we, as humans, assess risk.
I believe that there are only two main categories of crime:
- Crimes of opportunity and
- Targeted crimes
My mental threat model is that my home is "secure enough" against crimes of opportunity. And my mental threat model is that nobody is specifically holding some sort of grudge against me or my family that would compel them to conduct acts of violence against our home. I might need to reassess that now that my daughter is coming of age - adolescence can be a rough time, and dating can be tough... and sometimes you accidentally date the wrong person, who turns out to be a .... "real piece of work". So part of my home threat model should take into account the unknown actors who are in the lives of my family. A female friend of mine recently had to get a restraining order against someone. And now I have a young woman under my care. So maybe my threat model is out of date and I should re-evaluate. That's the thing about threat models - they should always be evolving.
So threat models are really just the same thing as applying DoD Level Security -- which really just boils down to evaluating your risk by thinking through the risk equation.
A threat model can be just in your head, it can be a Word document, a network diagram, or it could be something more sophisticated.
Let's talk about that "more sophisticated" angle.
A common approach that I've seen is to layer your threat model on top of your network diagram. Essentially, start with your network diagram, and then try to punch holes in it. Microsoft has a great tool for this.
And you know how Microsoft is, right? If they make something like this free, it's usually because it was something marketing didn't see the value in, so some nerd made it his or her pet project and released it for free to the internet with the Microsoft sticker. We've seen this from Microsoft time and time again.
But it is always a model -- a scaled down version of the real thing.
Tinfoil Hat.... Signal Proof Headwear. Different Email Addresses.