<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Threat Modeling again. Drawing the diagram.</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/31/threat-modeling-again-drawing-the-diagram.aspx</link><description>In my last post , I listed off some of the elements that make up a threat model. Now that we have a common vocabulary that can be used to describe the names and types of the elements, let's see what we can do with it. For this series, I'm going to use</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Threat Modeling again. Drawing the diagram.</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/31/threat-modeling-again-drawing-the-diagram.aspx#4672496</link><pubDate>Fri, 31 Aug 2007 20:38:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4672496</guid><dc:creator>Stuart Ballard</dc:creator><description>&lt;p&gt;The fact that audio playback APIs are left so fuzzy leaves me wondering if there's a piece missing from this diagram that's still relevant to PlaySound itself. On what basis does PlaySound decide *which* API to use? Since that decision is presumably driven by some kind of external factor, it sounds like that piece of data is on the other side of a trust boundary. Could PlaySound be attacked by trying to persuade it to use a different playback API - which (for the purposes of this diagram) PlaySound treats as completely trusted...&lt;/p&gt;</description></item><item><title>re: Threat Modeling again. Drawing the diagram.</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/31/threat-modeling-again-drawing-the-diagram.aspx#4672592</link><pubDate>Fri, 31 Aug 2007 20:44:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4672592</guid><dc:creator>LarryOsterman</dc:creator><description>&lt;p&gt;Stuart, that's only if Playsound can be configured to use different playback APIs. &amp;nbsp;Since it doesn't (it currently only uses the waveOutXxx APIs), I didn't include it.&lt;/p&gt;
&lt;p&gt;In the future, PlaySound might be changed to use a different set of APIs, that's why I left it ambiguous.&lt;/p&gt;
</description></item><item><title>re: Threat Modeling again. Drawing the diagram.</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/31/threat-modeling-again-drawing-the-diagram.aspx#4672605</link><pubDate>Fri, 31 Aug 2007 20:45:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4672605</guid><dc:creator>LarryOsterman</dc:creator><description>&lt;p&gt;Btw, PlaySound treats the audio APIs as totally trusted is because they're running in-proc.&lt;/p&gt;
&lt;p&gt;In general, you treat code that run in the same process as you as being fully trusted - after all, there's nothing that this code could do that would compromise the machine/process.&lt;/p&gt;
</description></item><item><title>re: Threat Modeling again. Drawing the diagram.</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/31/threat-modeling-again-drawing-the-diagram.aspx#4672725</link><pubDate>Fri, 31 Aug 2007 20:55:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4672725</guid><dc:creator>Stuart Ballard</dc:creator><description>&lt;p&gt;Fair enough :) Am I right that if it *was* possible to configure which API was used, then the source of that configuration should appear on the diagram?&lt;/p&gt;</description></item><item><title>re: Threat Modeling again. Drawing the diagram.</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/31/threat-modeling-again-drawing-the-diagram.aspx#4673430</link><pubDate>Fri, 31 Aug 2007 21:37:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4673430</guid><dc:creator>LarryOsterman</dc:creator><description>&lt;p&gt;Stuart: Possibly. &amp;nbsp;It depends on the mechanism used to determine the output.&lt;/p&gt;
&lt;p&gt;For instance, consider what would happen if PlaySound was augmented to play WMA files (NOTE: 'm explicitly not saying that's going to happen, it's just an example that would involve using multiple render paths). &amp;nbsp;In that case, we'd rename &amp;quot;WAV file&amp;quot; in the diagram to &amp;quot;Audio file&amp;quot; and we'd add a new external interactor &amp;quot;Media Foundation Playback APIs&amp;quot; and have data flows going to that external interactor.&lt;/p&gt;
</description></item><item><title>re: Threat Modeling again. Drawing the diagram.</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/31/threat-modeling-again-drawing-the-diagram.aspx#4674736</link><pubDate>Fri, 31 Aug 2007 22:48:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4674736</guid><dc:creator>Daniele Muscetta</dc:creator><description>&lt;p&gt;&amp;quot;[...] Here's what it looks like (I drew this in Visio, obviously you could use any tool to draw it (I know one group that literally draws their diagrams on the whiteboard then takes a picture of it with a cell phone camera and then pastes the picture into a Word document)) [...]&amp;quot;&lt;/p&gt;
&lt;p&gt;I use to draw on black- or white- boards or paper a lot.&lt;/p&gt;
&lt;p&gt;I don't always take pictures of those, because most of the times they are not meant to be shared. But I certainly would if I had to share those diagrams. I remember at least one time when I really did that (take a picture of) a drawing a customer made on a blackboard, to &amp;quot;take note&amp;quot; of what he explained to me, so that I could take his explanation with me and do some background-thinking about his architecture....&lt;/p&gt;</description></item><item><title>re: Threat Modeling again. Drawing the diagram.</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/31/threat-modeling-again-drawing-the-diagram.aspx#4681523</link><pubDate>Sat, 01 Sep 2007 07:11:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4681523</guid><dc:creator>Dan</dc:creator><description>&lt;p&gt;I'm not a programmer, but couldn't help noticing that one block is missing: DRM. The article talks about trust and relations and this was not mentioned (i hope it would be in the next article in the series, maybe).&lt;/p&gt;
&lt;p&gt;I think ( I'm not sure, and don't have any links at hand, and I think random googling would be pointles due to credibility of the sources ) that *protected path is mandatory for HD playback on certified devices, including Vista ( or only Vista 64bit ? ) - proscribed by the consortium that invented HD-DVD or Bluray or both* (again, the text between the asterisks is from memory and very innacurate, but it was all over the web for quite some time and is often quoted.&lt;/p&gt;
&lt;p&gt;So, any thoughts on this? I realize Larry might be bound by NDAs and similar, and I wouldn't mind if he doesn't respond or deletes this post, but I would be happy if anyone sheds some light on this directly from the source. :)&lt;/p&gt;
&lt;p&gt;Dan&lt;/p&gt;</description></item><item><title>re: Threat Modeling again. Drawing the diagram.</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/31/threat-modeling-again-drawing-the-diagram.aspx#4714412</link><pubDate>Mon, 03 Sep 2007 05:41:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4714412</guid><dc:creator>orcmid</dc:creator><description>&lt;p&gt;&amp;quot;Btw, PlaySound treats the audio APIs as totally trusted is because they're running in-proc.&lt;/p&gt;
&lt;p&gt;In general, you treat code that run in the same process as you as being fully trusted - after all, there's nothing that this code could do that would compromise the machine/process.&amp;quot;&lt;/p&gt;
&lt;p&gt;I was originally concerned that there could be threats that involved contaminating PlaySound from the Audio Playback component (which might not be possible in the actual arrangement and I don't know what the assumption on acceptance of those components is).&lt;/p&gt;
&lt;p&gt;But the above remark left me even more confused. &amp;nbsp;I don't buy that as a generality. &amp;nbsp;What additional conditions occur in Playsound that makes that a safe observation.&lt;/p&gt;</description></item><item><title>re: Threat Modeling again. Drawing the diagram.</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/31/threat-modeling-again-drawing-the-diagram.aspx#4719685</link><pubDate>Mon, 03 Sep 2007 11:51:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4719685</guid><dc:creator>Girish</dc:creator><description>&lt;p&gt;&amp;quot;I know one group that literally draws their diagrams on the whiteboard then takes a picture of it with a cell phone camera and then pastes the picture into a Word document&amp;quot;.&lt;/p&gt;
&lt;p&gt;Larry, this is actually recommended in the much acclaimed book &amp;quot;Applying UML and Patterns&amp;quot; by Craig Larman. I think it makes sense, too - if you draw well enough on the board and the picture is good, it can be added to a document.&lt;/p&gt;</description></item><item><title>re: Threat Modeling again. Drawing the diagram.</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/31/threat-modeling-again-drawing-the-diagram.aspx#4724633</link><pubDate>Mon, 03 Sep 2007 17:16:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4724633</guid><dc:creator>LarryOsterman</dc:creator><description>&lt;p&gt;Dan: DRM? &amp;nbsp;Why would DRM matter? &amp;nbsp;There's no DRM involved in playing WAV files. &amp;nbsp;Heck, the audio engine threat model diagram doesn't include DRM either, because the DRM system doesn't functionally change the data flow for the audio system.&lt;/p&gt;
&lt;p&gt;Threat modeling is about modeling data flow through a system. &amp;nbsp;It's not about describing all the features and possible features of a system.&lt;/p&gt;
</description></item><item><title>Threat Modeling Again, STRIDE per Element</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/31/threat-modeling-again-drawing-the-diagram.aspx#4855019</link><pubDate>Mon, 10 Sep 2007 20:31:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4855019</guid><dc:creator>Larry Osterman's WebLog</dc:creator><description>&lt;p&gt;As I mentioned the other day , we had three huge big realizations as we've been doing more and more threat&lt;/p&gt;
</description></item><item><title>Threat Modeling Again, STRIDE per Element</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/31/threat-modeling-again-drawing-the-diagram.aspx#4855194</link><pubDate>Mon, 10 Sep 2007 20:54:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4855194</guid><dc:creator>Noticias externas</dc:creator><description>&lt;p&gt;As I mentioned the other day , we had three huge big realizations as we&amp;amp;#39;ve been doing more and more&lt;/p&gt;
</description></item><item><title>STRIDE chart</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/31/threat-modeling-again-drawing-the-diagram.aspx#4872734</link><pubDate>Wed, 12 Sep 2007 03:05:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4872734</guid><dc:creator>The Security Development Lifecycle</dc:creator><description>&lt;p&gt;Adam Shostack here. I've been meaning to talk more about what I actually do, which is help the teams&lt;/p&gt;
</description></item><item><title>Threat Modeling Again, Threat Modeling in Practice</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/31/threat-modeling-again-drawing-the-diagram.aspx#4987439</link><pubDate>Wed, 19 Sep 2007 01:48:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4987439</guid><dc:creator>Larry Osterman's WebLog</dc:creator><description>&lt;p&gt;I've been writing a LOT about threat modeling recently but one of the things I haven't talked about is&lt;/p&gt;
</description></item><item><title>Some final thoughts on Threat Modeling...</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/31/threat-modeling-again-drawing-the-diagram.aspx#5225273</link><pubDate>Mon, 01 Oct 2007 19:54:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5225273</guid><dc:creator>Larry Osterman's WebLog</dc:creator><description>&lt;p&gt;I want to wrap up the threat modeling posts with a summary and some comments on the entire process. Yeah,&lt;/p&gt;
</description></item><item><title>Some final thoughts on Threat Modeling...</title><link>http://blogs.msdn.com/larryosterman/archive/2007/08/31/threat-modeling-again-drawing-the-diagram.aspx#5225290</link><pubDate>Mon, 01 Oct 2007 19:55:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5225290</guid><dc:creator>Noticias externas</dc:creator><description>&lt;p&gt;I want to wrap up the threat modeling posts with a summary and some comments on the entire process. Yeah&lt;/p&gt;
</description></item></channel></rss>