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
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Write a Caption, Win a Starbucks Card! Click Here
Latest Comment: Our Endpoint Protection system is a little outdated... 
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-2319
PUBLISHED: 2019-12-12
HLOS could corrupt CPZ page table memory for S1 managed VMs in Snapdragon Auto, Snapdragon Compute, Snapdragon Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon Mobile, Snapdragon Wired Infrastructure and Networking in MDM9205, QCS404, QCS605, SDA845, SDM670, SDM710, SDM84...
CVE-2019-2320
PUBLISHED: 2019-12-12
Possible out of bounds write in a MT SMS/SS scenario due to improper validation of array index in Snapdragon Auto, Snapdragon Compute, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon IoT, Snapdragon Mobile, Snapdragon Voice & Music, Snapdragon Wearables in APQ8009, APQ8017, APQ805...
CVE-2019-2321
PUBLISHED: 2019-12-12
Incorrect length used while validating the qsee log buffer sent from HLOS which could then lead to remap conflict in Snapdragon Auto, Snapdragon Compute, Snapdragon Connectivity, Snapdragon Consumer Electronics Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon IoT, Snapdra...
CVE-2019-2337
PUBLISHED: 2019-12-12
While Skipping unknown IES, EMM is reading the buffer even if the no of bytes to read are more than message length which may cause device to shutdown in Snapdragon Auto, Snapdragon Compute, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon Mobile, Snapdragon Wearables in APQ8053, APQ809...
CVE-2019-2338
PUBLISHED: 2019-12-12
Crafted image that has a valid signature from a non-QC entity can be loaded which can read/write memory that belongs to the secure world in Snapdragon Auto, Snapdragon Compute, Snapdragon Connectivity, Snapdragon Consumer IOT, Snapdragon Industrial IOT, Snapdragon Mobile, Snapdragon Wired Infrastruc...