Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Perimeter

8/17/2010
09:52 AM
Adrian Lane
Adrian Lane
Commentary
50%
50%

Database Threat Modeling And Strip Poker

Threat modeling used to be an arcane process handed down from one security expert to another. But it's the single most valuable skill I have learned in security. It involves looking at every system interface or function and trying to find different ways to break it.

Threat modeling used to be an arcane process handed down from one security expert to another. But it's the single most valuable skill I have learned in security. It involves looking at every system interface or function and trying to find different ways to break it.Sounds simple, but the essence of thinking like an attacker is elusive for most people who have not witnessed an expert practice this art firsthand. Once you have seen an talented attacker at work, it's as if a veil has been lifted, exposing a world of methods to compromise a system you never thought possible.

Threat modeling is just as applicable to database deployment as it is to code development -- where it is usually applied. A database is just another type of application, with highly advanced features and dozens of interfaces. Over and above what a vulnerability assessment can provide you, threat modeling can detect problems specific to your environment and applications that these precanned scans cannot. It spotlights your environment, forces you to look closely at base assumptions of system interactions, and hopefully gives you some idea on how best to thwart potential attacks.

But if you don't have a threat modeling expert on staff, how do you begin?

Adam Shostack and his team over at Microsoft created a card game called Elevation of Privilege. The goal is to teach nonsecurity professionals the basics of threat modeling so they can better understand security threats to their software or infrastructure. The game is based upon the STRIDE variant of threat modeling, which categorizes common threat types (spoofing, tampering, repudiation, information disclosure, denial of service, and elevation of privilege).

You play the game by drawing, in detail, your application environment. You illustrate the database, the OS it runs on, how applications use the database, all of the interfaces, external stored procedures, access control, key management, and how all of these features communicate. Then you deal a handful of cards to your team members. (You can download the card deck, or Microsoft gives away real shiny cards at its booth during the RSA conference).

Next, you go around the room trying to apply a threat card to your environment. The person who can legitimately apply the highest threat card takes the round. If nothing else, the cards help educate team members on the myriad of threat types attackers employ, but odds are your will learn about weaknesses.

This video introduction demonstrates the basics of game play, but be warned: It's off the charts with the excitement factor. Make sure you have taken your heart medications before watching, and consult your physician. Well, OK, maybe not. But what the video lacks in excitement, it makes up for in valuable information.

In some ways this game is a version of strip poker because you are looking to strip assumptions of trust between key functions. It's usually the trust relationships between components that attackers exploit, so you want to lay these assumptions bare to the team and see if they can be exploited.

Regardless, this is a useful method of teaching threat types, as well as introducing an informal process to looking for threats. It's similar to disaster-recovery planning scenarios -- but done for security. As you learn more, you'll probably want to do this when you roll out new applications. And keep in mind that there are other threat discovery models and techniques out there, but this one is approachable for anyone who has not done this type of analysis before.

Adrian Lane is an analyst/CTO with Securosis LLC, an independent security consulting practice. Special to Dark Reading. Adrian Lane is a Security Strategist and brings over 25 years of industry experience to the Securosis team, much of it at the executive level. Adrian specializes in database security, data security, and secure software development. With experience at Ingres, Oracle, and ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Oldest First  |  Newest First  |  Threaded View
Data Leak Week: Billions of Sensitive Files Exposed Online
Kelly Jackson Higgins, Executive Editor at Dark Reading,  12/10/2019
Intel Issues Fix for 'Plundervolt' SGX Flaw
Kelly Jackson Higgins, Executive Editor at Dark Reading,  12/11/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
The Year in Security: 2019
This Tech Digest provides a wrap up and overview of the year's top cybersecurity news stories. It was a year of new twists on old threats, with fears of another WannaCry-type worm and of a possible botnet army of Wi-Fi routers. But 2019 also underscored the risk of firmware and trusted security tools harboring dangerous holes that cybercriminals and nation-state hackers could readily abuse. Read more.
Flash Poll
Rethinking Enterprise Data Defense
Rethinking Enterprise Data Defense
Frustrated with recurring intrusions and breaches, cybersecurity professionals are questioning some of the industrys conventional wisdom. Heres a look at what theyre thinking about.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2019-5252
PUBLISHED: 2019-12-14
There is an improper authentication vulnerability in Huawei smartphones (Y9, Honor 8X, Honor 9 Lite, Honor 9i, Y6 Pro). The applock does not perform a sufficient authentication in a rare condition. Successful exploit could allow the attacker to use the application locked by applock in an instant.
CVE-2019-5235
PUBLISHED: 2019-12-14
Some Huawei smart phones have a null pointer dereference vulnerability. An attacker crafts specific packets and sends to the affected product to exploit this vulnerability. Successful exploitation may cause the affected phone to be abnormal.
CVE-2019-5264
PUBLISHED: 2019-12-13
There is an information disclosure vulnerability in certain Huawei smartphones (Mate 10;Mate 10 Pro;Honor V10;Changxiang 7S;P-smart;Changxiang 8 Plus;Y9 2018;Honor 9 Lite;Honor 9i;Mate 9). The software does not properly handle certain information of applications locked by applock in a rare condition...
CVE-2019-5277
PUBLISHED: 2019-12-13
Huawei CloudUSM-EUA V600R006C10;V600R019C00 have an information leak vulnerability. Due to improper configuration, the attacker may cause information leak by successful exploitation.
CVE-2019-5254
PUBLISHED: 2019-12-13
Certain Huawei products (AP2000;IPS Module;NGFW Module;NIP6300;NIP6600;NIP6800;S5700;SVN5600;SVN5800;SVN5800-C;SeMG9811;Secospace AntiDDoS8000;Secospace USG6300;Secospace USG6500;Secospace USG6600;USG6000V;eSpace U1981) have an out-of-bounds read vulnerability. An attacker who logs in to the board m...