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
Newest First  |  Oldest First  |  Threaded View
I 'Hacked' My Accounts Using My Mobile Number: Here's What I Learned
Nicole Sette, Director in the Cyber Risk practice of Kroll, a division of Duff & Phelps,  11/19/2019
DevSecOps: The Answer to the Cloud Security Skills Gap
Lamont Orange, Chief Information Security Officer at Netskope,  11/15/2019
Attackers' Costs Increasing as Businesses Focus on Security
Robert Lemos, Contributing Writer,  11/15/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
Navigating the Deluge of Security Data
In this Tech Digest, Dark Reading shares the experiences of some top security practitioners as they navigate volumes of security data. We examine some examples of how enterprises can cull this data to find the clues they need.
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-13157
PUBLISHED: 2019-11-22
nsGreen.dll in Naver Vaccine 2.1.4 allows remote attackers to overwrite arbitary files via directory traversal sequences in a filename within nsz archive.
CVE-2012-2079
PUBLISHED: 2019-11-22
A cross-site request forgery (CSRF) vulnerability in the Activity module 6.x-1.x for Drupal.
CVE-2019-11325
PUBLISHED: 2019-11-21
An issue was discovered in Symfony before 4.2.12 and 4.3.x before 4.3.8. The VarExport component incorrectly escapes strings, allowing some specially crafted ones to escalate to execution of arbitrary PHP code. This is related to symfony/var-exporter.
CVE-2019-18887
PUBLISHED: 2019-11-21
An issue was discovered in Symfony 2.8.0 through 2.8.50, 3.4.0 through 3.4.34, 4.2.0 through 4.2.11, and 4.3.0 through 4.3.7. The UriSigner was subject to timing attacks. This is related to symfony/http-kernel.
CVE-2019-18888
PUBLISHED: 2019-11-21
An issue was discovered in Symfony 2.8.0 through 2.8.50, 3.4.0 through 3.4.34, 4.2.0 through 4.2.11, and 4.3.0 through 4.3.7. If an application passes unvalidated user input as the file for which MIME type validation should occur, then arbitrary arguments are passed to the underlying file command. T...