From peter.amey at praxis-his.com Tue Jan 2 09:18:15 2007 From: peter.amey at praxis-his.com (Peter Amey) Date: Tue, 2 Jan 2007 14:18:15 -0000 Subject: [SC-L] Compilers Message-ID: <4BF0455B353E524FBEA15C3A490F7DFE8C31EF@EVS01.praxis.local> [snip] > Isn't the whole basis of Spark a matter of adding proof > statements in the comments ? I don't think the general > compiler marketplace would go for that built-in to compilers. > After all: > > 1. The Praxis implementation can be used with multiple compilers > > 2. The compiler market is so immature that some people are still > using C, C++ and Java. > > But for the high-integrity market, Spark seems to fit the bill. > -- > Larry Kilgallen We think so! However, like everything else, it is how you use things that matter most. What SPARK allows is very effective secure coding (what this list is all about). There is an entry on this subject on the Build Security In website: https://buildsecurityin.us-cert.gov/daisy/bsi/articles/knowledge/sdlc/61 3.html. regards Peter From ljknews at mac.com Tue Jan 2 09:20:12 2007 From: ljknews at mac.com (ljknews) Date: Tue, 2 Jan 2007 09:20:12 -0500 Subject: [SC-L] Compilers In-Reply-To: <4BF0455B353E524FBEA15C3A490F7DFE8C31EF@EVS01.praxis.local> References: <4BF0455B353E524FBEA15C3A490F7DFE8C31EF@EVS01.praxis.local> Message-ID: At 2:18 PM +0000 1/2/07, Peter Amey wrote: > [snip] > >> Isn't the whole basis of Spark a matter of adding proof >> statements in the comments ? I don't think the general >> compiler marketplace would go for that built-in to compilers. >> After all: >> >> 1. The Praxis implementation can be used with multiple compilers >> >> 2. The compiler market is so immature that some people are still >> using C, C++ and Java. >> >> But for the high-integrity market, Spark seems to fit the bill. >> -- >> Larry Kilgallen > > We think so! However, like everything else, it is how you use things > that matter most. How you use things may be an "essential" aspect, but so is the nature of "things". Achieving the same quality by toggling the machine code into the front panel is only possible on a theoretical basis, and getting the same results with a long strand of limp spaghetti is just impossible. -- Larry Kilgallen From wietse at porcupine.org Tue Jan 2 10:02:24 2007 From: wietse at porcupine.org (Wietse Venema) Date: Tue, 2 Jan 2007 10:02:24 -0500 (EST) Subject: [SC-L] temporary directories In-Reply-To: <87tzzd749x.fsf@mid.deneb.enyo.de> "from Florian Weimer at Dec 30, 2006 05:11:06 pm" Message-ID: <20070102150224.334F5BC093@spike.porcupine.org> Florian Weimer: > > I gather you are saying that the innards of Unix will force creation > > of an unwanted directory entry on the Ada implementation of the required > > null name support for .CREATE . The Ada implementation > > could rely on exclusive access to the file (surely Unix has that, right?) > > You can create files in a way that fails if the file already exists, > using the O_EXCL flag. (Rumors have it that this won't work reliably > over NFS, though, but I don't see why.) With NFS over UDP under heavy load, operations can succeed and return an error result anyway. When the server's reply is lost, the client retransmits the request. That is no problem with idempotent operations such as read or write that can be repeated an arbitrary number of times without changing the state of files. However, with non-idempotent operations such as mkdir, create, link, remove or rename, a retransmitted operation will fail (file exists, file not found). To remedy these false errors, the server maintains a cache of recent RPC replies to skip repeated operations; this RPC reply cache is finite and non-persistent across reboot. Application programmers can program around many but not all of these false errors. In particular there is no workaround for false failure of open(..O_CREAT|O_EXCL..). With the deployment of NFS over TCP these errors are less likely to happen. Wietse From James.McGovern at thehartford.com Tue Jan 2 10:21:08 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Tue, 2 Jan 2007 10:21:08 -0500 Subject: [SC-L] Compilers In-Reply-To: Message-ID: <773F863A6009244B87E6E866AFC7DB46019CA1A3@AD1HFDEXC309.ad1.prod> I think my perspective is not just about overlap in terms of an abstract syntax tree but more in terms of usability. Security warnings should appear inline with other types of warnings from a developers perspective. When the information is presented separately, it will be an opportunity to ignore. It is harder to ignore compiler output. Likewise, one of the lifecycle oriented things I have seen in several shops is that source code gets moved through environments and gets recompiled. So if I check in code to the integration environment, the build "tool" will extract and compile. Likewise, when code gets promoted to say QA environment, the code is extracted again and recompiled. This allows for build tools that emit metrics and track warnings in a centralized place to take advantage of security considerations as well. Of course, some shops when they promote code move binaries which invalidates the above. -----Original Message----- From: Temin, Aaron L. [mailto:atemin at mitre.org] Sent: Thursday, December 21, 2006 1:38 PM To: McGovern, James F (HTSC, IT); Secure Coding Subject: RE: [SC-L] Compilers It would be worth knowing more about the basis you use for drawing the conclusion, but if it's just the overlap between compilers and static analyzers represented by the abstract syntax tree, I don't think that's enough to warrant building one into the other (it might argue for having a shared parser, but I don't think parsers are hard enough to build to make that worthwhile). I would also suggest that looking for security weaknesses fits more into the unit testing part of development rather than the compiling part. As for "standalone," I think Jtest is built as an Eclipse plug-in; I don't know if you'd consider that standalone or not, but at least the developer doens't have to start up another shell to run it. Also, depending on the customer's organization, it might not be the developer who is running the security static analysis. I was talking with an organization that was thinking of having the security group run the static analysis, as part of the acceptance phase of an iteration. - Aaron _____ From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org] On Behalf Of McGovern, James F (HTSC, IT) Sent: Thursday, December 21, 2006 10:31 AM To: Secure Coding Subject: [SC-L] Compilers I have been noodling the problem space of secure coding after attending a wonderful class taught by Ken Van Wyk. I have been casually checking out Fortify, Ounce Labs, etc and have a thought that this stuff should really be part of the compiler and not a standalone product. Understanding that folks do start companies to make up deficiencies in what large vendors ignore, how far off base in my thinking am I? ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070102/82c91a16/attachment.html From James.McGovern at thehartford.com Tue Jan 2 09:46:20 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Tue, 2 Jan 2007 09:46:20 -0500 Subject: [SC-L] Building Security In vs Auditing In-Reply-To: <45941379.6000103@ida.org> Message-ID: <773F863A6009244B87E6E866AFC7DB4602790F77@AD1HFDEXC309.ad1.prod> I read a recent press release in which a security vendor (names removed to both protect the innocent along with the fact that it doesn't matter for this discussion ) partnered with a prominent outsourcing firm. The press release was carefully worded but if you read into what wasn't said, it was in my opinion encouraging something that folks here tend to fight against. The outsourcing firm would use this tool in an auditing capacity for whatever client asked for another service but it would not become part of the general software development lifecycle for all projects. - It didn't mention any notion of all developers within the outsourcing firm having tools on their desktop to audit as they develop - It didn't mention any notion of training all developers within the outsourcing firm on secure coding practices - It did hint that one time periodic audits from a metrics perspective would be useful to clients that wanted this new service but didn't say how developers would be able to iterate on the code and reduce bugs. I would think that any offering that removes developers from the feedback loop while developing code and instead focusing on management-oriented (non-developer metrics) is generally a bad idea. - It didn't mention even how many folks from their security practice were to receive training in secure coding practices - Should we think of security as an extra "service" or something that should be incorporated into the SDLC in a consistent sustainable manner? I am far offbase and drunk too much of Ken Van Wyk's Kool-aid from his wonderful training course by thinking that this type of initiative does more harm than good? ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* From peter.amey at praxis-his.com Tue Jan 2 13:29:44 2007 From: peter.amey at praxis-his.com (Peter Amey) Date: Tue, 2 Jan 2007 18:29:44 -0000 Subject: [SC-L] Compilers Message-ID: <4BF0455B353E524FBEA15C3A490F7DFE8C32D6@EVS01.praxis.local> > -----Original Message----- > From: sc-l-bounces at securecoding.org > [mailto:sc-l-bounces at securecoding.org] On Behalf Of ljknews > Sent: 02 January 2007 14:20 > To: Secure Coding > Subject: Re: [SC-L] Compilers > > At 2:18 PM +0000 1/2/07, Peter Amey wrote: > > [snip] > > > > > > We think so! However, like everything else, it is how you > use things > > that matter most. > > How you use things may be an "essential" aspect, but so is > the nature of "things". Achieving the same quality by > toggling the machine code into the front panel is only > possible on a theoretical basis, and getting the same results > with a long strand of limp spaghetti is just impossible. Larry, I don't think I was intending to disagree with you! The right languages /allow/ demonstrable secure coding. Conversely, without them, secure coding is reduced to a fairly weak coding standard level. Peter P.S. Please watch for the unfortunate word wrap in the URL of my original post. The broken link still works but goes to thw wrong place! From ljknews at mac.com Tue Jan 2 13:17:16 2007 From: ljknews at mac.com (ljknews) Date: Tue, 2 Jan 2007 13:17:16 -0500 Subject: [SC-L] Building Security In vs Auditing In-Reply-To: <773F863A6009244B87E6E866AFC7DB4602790F77@AD1HFDEXC309.ad1.prod> References: <773F863A6009244B87E6E866AFC7DB4602790F77@AD1HFDEXC309.ad1.prod> Message-ID: At 9:46 AM -0500 1/2/07, McGovern, James F (HTSC, IT) wrote: > I read a recent press release in which a security vendor (names removed > to both protect the innocent along with the fact that it doesn't matter > for this discussion ) partnered with a prominent outsourcing firm. The > press release was carefully worded but if you read into what wasn't said, > it was in my opinion encouraging something that folks here tend to fight > against. The outsourcing firm would use this tool in an auditing capacity > for whatever client asked for another service but it would not become > part of the general software development lifecycle for all projects. > > - It didn't mention any notion of all developers within the outsourcing > firm having tools on their desktop to audit as they develop >From the information supplied, it is not clear that the tool is something appropriate for the development environment. I develop a tool that could be used in a (certain) development environment, but that would only tell how the development environment was secured, having no effect on the degree to which the outsourced code was secure. > - It didn't mention any notion of training all developers within the > outsourcing firm on secure coding practices >From the information supplied, it is not clear that the security vendor is one that would be involved in training anyone. Limitations on a joint press release (one that names another company) are subject to severe negotiations. Even if the security firm _was_ going to do what you suggest, I can see a PR flack at the outsourcing firm resisting any public suggestion that any of their staff needed further training on any aspect of data processing. -- Larry Kilgallen From gem at cigital.com Tue Jan 2 13:35:10 2007 From: gem at cigital.com (Gary McGraw) Date: Tue, 2 Jan 2007 13:35:10 -0500 Subject: [SC-L] Building Security In vs Auditing Message-ID: <3F5AB9CDDAD2CC4A80D0FCDCF2755DFB7E8305@va-mail.cigital.com> Hi all, Very good questions. I think a service like the one you describe would be useful mostly as a way of identifying the depth of the problem. Simply wielding a tool as a consultant does nothing to train the guys creating bugs not to do so in the future...and so the market will correct that over time in an efficient way. But the fact remains that many potential customers and users of static analysis tools have no idea how much of a mess they have. An outsourcing approach could help with that. They'll find out they need em. I believe so strongly in the "do anything to get started" thing that I also endorse the use of (really amazingly silly) application security testing tools. I call these badnessometers (see chapter 1 of "software security"...and ken's slides for that matter). But knowing that your web code sucks is better than remaining completely clueless. In the end, tool integration *into dev* is the key to success with static analysis. Many of our customers are having huge enterprise-wide success because they are learning to use, feed, tune, and train dev about these tools. The best are recycling the things they learn about their code back into training (and into better rules to enforce). gem company www.cigital.com podcast www.cigital.com/silverbullet book www.swsec.com. -----Original Message----- From: McGovern, James F (HTSC, IT) [mailto:James.McGovern at thehartford.com] Sent: Tue Jan 02 12:23:50 2007 To: sc-l at securecoding.org Subject: [SC-L] Building Security In vs Auditing I read a recent press release in which a security vendor (names removed to both protect the innocent along with the fact that it doesn't matter for this discussion ) partnered with a prominent outsourcing firm. The press release was carefully worded but if you read into what wasn't said, it was in my opinion encouraging something that folks here tend to fight against. The outsourcing firm would use this tool in an auditing capacity for whatever client asked for another service but it would not become part of the general software development lifecycle for all projects. - It didn't mention any notion of all developers within the outsourcing firm having tools on their desktop to audit as they develop - It didn't mention any notion of training all developers within the outsourcing firm on secure coding practices - It did hint that one time periodic audits from a metrics perspective would be useful to clients that wanted this new service but didn't say how developers would be able to iterate on the code and reduce bugs. I would think that any offering that removes developers from the feedback loop while developing code and instead focusing on management-oriented (non-developer metrics) is generally a bad idea. - It didn't mention even how many folks from their security practice were to receive training in secure coding practices - Should we think of security as an extra "service" or something that should be incorporated into the SDLC in a consistent sustainable manner? I am far offbase and drunk too much of Ken Van Wyk's Kool-aid from his wonderful training course by thinking that this type of initiative does more harm than good? ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* _______________________________________________ Secure Coding mailing list (SC-L) SC-L at securecoding.org List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l List charter available at - http://www.securecoding.org/list/charter.php SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) as a free, non-commercial service to the software security community. _______________________________________________ ---------------------------------------------------------------------------- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- From leichter_jerrold at emc.com Tue Jan 2 17:39:49 2007 From: leichter_jerrold at emc.com (Leichter, Jerry) Date: Tue, 2 Jan 2007 17:39:49 -0500 (EST) Subject: [SC-L] Compilers In-Reply-To: <4BF0455B353E524FBEA15C3A490F7DFE8C32D6@EVS01.praxis.local> References: <4BF0455B353E524FBEA15C3A490F7DFE8C32D6@EVS01.praxis.local> Message-ID: | ...P.S. Please watch for the unfortunate word wrap in the URL of my | original post. The broken link still works but goes to thw wrong place! Now, *there's* an interesting hazard! One can imagine some interesting scenarios where this could be more than "unfortunate". At the least, it could be (yet another) way to hide the true target of a link. -- Jerry From dwheeler at ida.org Wed Jan 3 10:51:25 2007 From: dwheeler at ida.org (David A. Wheeler) Date: Wed, 03 Jan 2007 10:51:25 -0500 Subject: [SC-L] temporary directories In-Reply-To: References: Message-ID: <459BD0FD.40006@ida.org> "Robert C. Seacord" wrote: > I've seen advice here and there to use the mkdtemp() function to create > temporary directories, for example: ... > - David Wheeler's Secure Programming for Linux and Unix HOWTO at > http://www.dwheeler.com/secure-programs/Secure-Programs-HOWTO.html > mentions it may not be a good idea if tmp cleaners are in use (but this > sort of suggests maybe it is ok if they are not.) (I also mention later on that there are issues with NFS. But anyway...) > The mkdtemp() function generates a uniquely-named temporary directory > from template. This function appears to work exactly like mktemp() > works for files, except of course mktemp() has been widely discredited > because of possible TOCTOU conditions and problems generating unique, > unpredictable names. > > So my question is, why is mkdtemp() considered safe? Isn't it also > susceptible to race conditions? Is there a reason why these race > conditions are not at issue in this case? Or is it only considered safe > because there is no alternative? mkdtemp() is safe from TOCTOU issues because the check-if-exists and creation-of-object operations are atomic. Under normal Unix/Linux semantics you can't create a directory of a given name if the given name already exists. (I guess there could be a kernel out there that gets this wrong, but I don't know of any.) open() is also safe if you use O_EXCL and O_CREAT, together, for the same reason: it forces checking and creation to be atomic. One problem is that many languages do NOT give you access directly to open(), but are only implemented using C's "fopen()" call... and fopen() has no standard way to implement exclusive creation. I wish that the C standard body would update the C library and add an "exclusive create" capability for fopen(), so that languages that build on fopen() can do so. This doesn't work on at least old versions of NFS reliably, unfortunately. I believe that's been fixed, but I have not verified that. --- David A. Wheeler From rcs at cert.org Wed Jan 3 14:33:43 2007 From: rcs at cert.org (Robert C. Seacord) Date: Wed, 03 Jan 2007 09:33:43 -1000 Subject: [SC-L] temporary directories In-Reply-To: <459BD0FD.40006@ida.org> References: <459BD0FD.40006@ida.org> Message-ID: <459C0517.4020404@cert.org> David, Thanks for the explanation of mkdtemp(). I got confused reading the man page because I wasn't expecting the function to return char *, but I guess that makes sense. > I wish that the C standard body would update the C library and add > an "exclusive create" capability for fopen(), so that languages > that build on fopen() can do so. > Have you looked at TR 24731-1? The latest revision is n119 at http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1199.pdf Section 6.5.2.1 defines the fopen_s function. I am planning on submitting a DR against this TR to add an exclusive create capability. There are also some new tmpfile_s() and tmpnam_s() functions although I have some issues with these as well. > This doesn't work on at least old versions of NFS reliably, > unfortunately. I believe that's been fixed, but I have not > verified that. > I also believe that it was fixed (in Version 3). rCs From James.McGovern at thehartford.com Wed Jan 3 18:15:19 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Wed, 3 Jan 2007 18:15:19 -0500 Subject: [SC-L] Hiring Security Architects Message-ID: <773F863A6009244B87E6E866AFC7DB46019CA1E0@AD1HFDEXC309.ad1.prod> We have had open job postings for security architects for a long time with zero hits and I would love to understand how other enterprises are hiring practitioners. Would love your thoughts on the following: * Are large enterprises sticking with consulting firms to gain expertise in implementing secure coding practices when they can't find full-time salaried individuals? * Any thoughts on the capabilities of large consulting firms such as Accenture, Cognizant, DiamondCluster or TCS in terms of secure coding practices or is this still in the domain of "boutique" firms? * Has anyone ran across a job posting from any large Fortune 100 enterprise for a security architect / engineer that was particularly good that I should consider plaigarizing? * Maybe the miss is in terms of compensation. What should an enterprise expect to pay in the marketplace for someone truly knowledgable in secure coding practices? * If I wanted to get a college graduate and allow them to grow into this position, are their particular universities that have received generous donations of static code analysis software so as to "educate" a younger workforce? If not, what would it take for us to collectively "ask" some of the vendors in this space to do so? ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070103/4e442e14/attachment.html From James.McGovern at thehartford.com Wed Jan 3 18:25:45 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Wed, 3 Jan 2007 18:25:45 -0500 Subject: [SC-L] Building Security In vs Auditing In-Reply-To: <3F5AB9CDDAD2CC4A80D0FCDCF2755DFB7E8305@va-mail.cigital.com> Message-ID: <773F863A6009244B87E6E866AFC7DB46019CA1E2@AD1HFDEXC309.ad1.prod> Gary, I would love a little refinement of the benefits to badnessometers. Let's say I get a tool to tell me something I already suspect is wrong, what percentage of the population are better than they expected? The reason why I ask this question is that in our culture if I have a sense something is wrong, it usually isn't that difficult to find metrics as to why it is bad and therefore may have the perception of crying wolf as there are lots of bad things in all IT systems. Sometimes, going from good to great is a better approach than fixing bad and going to good. Is it better to do such a badness test by doing a POC with one of the tool vendors in this space or do I get additional lift by going with a consulting firm in this regard (other than an opportunity to be smoozed regarding subsequent engagements and reused powerpoints and collateral from other gigs)? What would it take to get some industry analyst coverage in this space? Lots of folks may be of the belief that it is a waste of time bothering but I would love to at least know if any of the firms here have at least made the effort. -----Original Message----- From: Gary McGraw [mailto:gem at cigital.com] Sent: Tuesday, January 02, 2007 1:35 PM To: McGovern, James F (HTSC, IT); sc-l at securecoding.org Subject: RE: [SC-L] Building Security In vs Auditing Hi all, Very good questions. I think a service like the one you describe would be useful mostly as a way of identifying the depth of the problem. Simply wielding a tool as a consultant does nothing to train the guys creating bugs not to do so in the future...and so the market will correct that over time in an efficient way. But the fact remains that many potential customers and users of static analysis tools have no idea how much of a mess they have. An outsourcing approach could help with that. They'll find out they need em. I believe so strongly in the "do anything to get started" thing that I also endorse the use of (really amazingly silly) application security testing tools. I call these badnessometers (see chapter 1 of "software security"...and ken's slides for that matter). But knowing that your web code sucks is better than remaining completely clueless. In the end, tool integration *into dev* is the key to success with static analysis. Many of our customers are having huge enterprise-wide success because they are learning to use, feed, tune, and train dev about these tools. The best are recycling the things they learn about their code back into training (and into better rules to enforce). gem company www.cigital.com podcast www.cigital.com/silverbullet book www.swsec.com. ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* From ljknews at mac.com Wed Jan 3 22:44:19 2007 From: ljknews at mac.com (ljknews) Date: Wed, 3 Jan 2007 22:44:19 -0500 Subject: [SC-L] Hiring Security Architects In-Reply-To: <773F863A6009244B87E6E866AFC7DB46019CA1E0@AD1HFDEXC309.ad1.prod> References: <773F863A6009244B87E6E866AFC7DB46019CA1E0@AD1HFDEXC309.ad1.prod> Message-ID: At 6:15 PM -0500 1/3/07, McGovern, James F (HTSC, IT) wrote: > We have had open job postings for security architects for a long time > with zero hits and I would love to understand how other enterprises are > hiring practitioners. You might consider consulting your tool vendor. Praxis does work on a consulting basis with Spark Inspector, but they might also have some insights on where to find people who understand the methodology. But if your goal is to prop up existing code, you might have a much harder row to hoe. Presuming a totally knowledgeable potential pool of workers, they are going to know enough to avoid volunteering for an assignment which is essentially "do the impossible". -- Larry Kilgallen From paco at cigital.com Thu Jan 4 09:32:45 2007 From: paco at cigital.com (Paco Hope) Date: Thu, 4 Jan 2007 09:32:45 -0500 Subject: [SC-L] Building Security In vs Auditing Message-ID: <16B5EF53FB343546B0760F04BD44EA2DEC875C@va-mail.cigital.com> > Gary, I would love a little refinement of the benefits to badnessometers. > Let's say I get a tool to tell me something I already suspect is wrong, > what percentage of the population are better than they expected? I won't speak for Gary, but working a few doors down I have seen a few of the same things he has. Occasionally developers internally run free tools and surrepetitiously fix problems that the tools find (this happens in some cultures where management is particularly antagonistic towards security as a first class concern). In those unusual instances, I could see the results of a badnessometer coming out better than expected. Management would perceive that such things had never been run, and would be pleasantly surprised to learn that the sky might not be falling. Other than that, few people run a tool for the first time and see results better than they expected. Tools codify all manner of stuff that your developers almost certainly do not know how to check for (and if they do, they probably don't have time). > Is it better to do such a badness test by doing a POC with one of the > tool vendors in this space or do I get additional lift by going with > a consulting firm in this regard? I'm a consultant, take that as implied bias. But, I think you do get lift, and here's my analogy. Consider yourself a handy guy around the house who is going to do something moderately complicated, like redo a whole bathroom. You can buy all the tools and read all the books on how to do it for a lot less money than hiring a contractor to do the whole thing. There's some pretty specialized tools in plumbing, though, and they're tools you probably haven't used more than once or twice. Do you gain some extra insight into the use of those tools by hiring someone experienced to assist on the complicated parts? I think so. That someone experienced will come in, help you wield the unfamiliar tool, show you some things that he has experienced, and get you through the difficult parts. Then you, being the handy guy you are, are left to finish the bathroom, doing things you know how to do well. I think this analogy holds with a lot of the tools in security. You learn a lot by getting the experience someone brings, assuming you get a good someone. We, for example, have run a bunch of tools on a lot of different code bases. We know which rules tend to be alarmist and which ones are really important if they fire. Tool vendors won't give you that objectivity on their own tool, and some of the sales engineers don't have the insight into their own tool to know which warnings are just noise and which warnings are a big deal. A consultant can help you have a bake-off between tools, whereas a tool vendor typically lacks that objectivity. Paco ---------------------------------------------------------------------------- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- From goertzel_karen at bah.com Thu Jan 4 10:11:50 2007 From: goertzel_karen at bah.com (Goertzel, Karen) Date: Thu, 4 Jan 2007 10:11:50 -0500 Subject: [SC-L] New year's resolutions In-Reply-To: Message-ID: <184D5FFC5203644FB4F8864B0EE445B40157C6F6@MCLNEXVS06.resource.ds.bah.com> In case you hadn't seen what amounts to a mini-manifesto for 2007: http://blog.wired.com/monkeybites/2007/01/new_years_resol.html -- Karen Mercedes Goertzel, CISSP Booz Allen Hamilton 703.902.6981 goertzel_karen at bah.com From crispin at novell.com Thu Jan 4 15:24:58 2007 From: crispin at novell.com (Crispin Cowan) Date: Thu, 04 Jan 2007 12:24:58 -0800 Subject: [SC-L] Compilers In-Reply-To: <87hcvemhzu.fsf@mid.deneb.enyo.de> References: <773F863A6009244B87E6E866AFC7DB46019CA177@AD1HFDEXC309.ad1.prod> <4590614F.5040108@novell.com> <87hcvemhzu.fsf@mid.deneb.enyo.de> Message-ID: <459D629A.7020402@novell.com> Florian Weimer wrote: > * Crispin Cowan: > >> ljknews wrote: >> >>> 2. The compiler market is so immature that some people are still >>> using C, C++ and Java. >>> >> I'm with you on the C and C++ argument, but what is immature about Java? >> I thought Java was a huge step forward, because for the first time, a >> statically typesafe language was widely popular. >> > Java is not statically typesafe, see the beloved ArrayStoreException > (and other cases, depending what you mean by "statically typesafe"). > So every language that supports arrays is not statically type safe? How else can a language guarantee array bounds checking without having to resort to array bounds checking in cases where the indicies are dynamically computed? What language does better on array bounds typing? Back in the day, classic Pascal had very static array types: an array of a specific size was a type, and you could not mix them. So if you wanted to create a procedure that processed an array of things, the type of the procedure was bound to the *fixed* size of the list of things. Statically type safe, but not very useful. And then you discover the hard way that the generated code most often didn't even enforce array bounds checking :( The Hermes programming language (fairly arcane, back in the early 1990s) dodged this bullet by *not* supporting arrays. Instead it had "collections": a pile of tuples that could be indexed by value of any field(s) in the tuple you want. Essentially a relational table. You ask the collection for an item with a matching field value, and it either gives it to you, or it throws an exception. So it seems to me that "record not found" is the bottom line in array bounds checking. It is pretty fundamentally a dynamic error condition. Static type checking cannot prove it will never happen, and so it will always involve a dynamic check of some kind. Crispin -- Crispin Cowan, Ph.D. http://crispincowan.com/~crispin/ Director of Software Engineering, Novell http://novell.com Hacking is exploiting the gap between "intent" and "implementation" From fw at deneb.enyo.de Thu Jan 4 16:45:38 2007 From: fw at deneb.enyo.de (Florian Weimer) Date: Thu, 04 Jan 2007 22:45:38 +0100 Subject: [SC-L] Compilers In-Reply-To: <459D629A.7020402@novell.com> (Crispin Cowan's message of "Thu, 04 Jan 2007 12:24:58 -0800") References: <773F863A6009244B87E6E866AFC7DB46019CA177@AD1HFDEXC309.ad1.prod> <4590614F.5040108@novell.com> <87hcvemhzu.fsf@mid.deneb.enyo.de> <459D629A.7020402@novell.com> Message-ID: <87ps9uv531.fsf@mid.deneb.enyo.de> * Crispin Cowan: >>> I'm with you on the C and C++ argument, but what is immature about Java? >>> I thought Java was a huge step forward, because for the first time, a >>> statically typesafe language was widely popular. >>> >> Java is not statically typesafe, see the beloved ArrayStoreException >> (and other cases, depending what you mean by "statically typesafe"). >> > So every language that supports arrays is not statically type safe? No, the Java case is a bit peculiar because of the array subtyping rules. If B extends A, a B[] is also an A[], but you cannot actually store As into such an A[]. This is enforced by a run-time check (which raises ArrayStoreException, which is not triggered by an out-of-bounds array access), and I think it means that Java is not statically typesafe by any reasonable definition (or, at least, its arrays aren't). > What language does better on array bounds typing? This wasn't my point, but: There has been some work in this area (particularly in respect dependent types), IIRC. But such type systems tend to be undecidable in general, and type inference is both a must and pretty difficult. I'm not sure if this is a significant issue as far as secure coding is concerned because in many systems, you can restrict the code which relies heavily on bounds checking (typically some sort of parser) to a module, and if a failure occurs, you discard the PDU that trigger it. The parser itself can be constructed using a statically verifiable domain-specific language, or if the protocol is rather baroque, using tools like SPARK, to minimize PDU drops due to coding errors. And in the case of Java, null pointer exceptions seem to be a far greater threat to reliability than array bounds checks. From leichter_jerrold at emc.com Thu Jan 4 17:28:03 2007 From: leichter_jerrold at emc.com (Leichter, Jerry) Date: Thu, 4 Jan 2007 17:28:03 -0500 (EST) Subject: [SC-L] Compilers In-Reply-To: <459D629A.7020402@novell.com> References: <773F863A6009244B87E6E866AFC7DB46019CA177@AD1HFDEXC309.ad1.prod> <4590614F.5040108@novell.com> <87hcvemhzu.fsf@mid.deneb.enyo.de> <459D629A.7020402@novell.com> Message-ID: | Florian Weimer wrote: | > * Crispin Cowan: | > | >> ljknews wrote: | >> | >>> 2. The compiler market is so immature that some people are still | >>> using C, C++ and Java. | >>> | >> I'm with you on the C and C++ argument, but what is immature about Java? | >> I thought Java was a huge step forward, because for the first time, a | >> statically typesafe language was widely popular. | >> | > Java is not statically typesafe, see the beloved ArrayStoreException | > (and other cases, depending what you mean by "statically typesafe"). | > | So every language that supports arrays is not statically type safe? How | else can a language guarantee array bounds checking without having to | resort to array bounds checking in cases where the indicies are | dynamically computed?... That was a bad example. Java isn't statically typesafe because one can write programs that cast objects. The casts are checked - at runtime. The most obvious place this shows up is in containers. Until Java 1.5, containers held instances of Object. If you were handed a Set of Circle's, when you pulled out one instances from the Set, you got an Object. It was up to you to cast it to a Circle. If some inserted a Cube into the class, your cast would fail with an exception. (You could also explicitly test if you wanted.) Parameterized types in Java 1.5 help to some degree, in that the compiler effectively checks that only Circle's are ever inserted into your Set, but the model used is very limited, the old constructs remain - in fact, a constraint was that new and old code interoperate, so if some code got at your set as just a Set, they could put any Object into it - and there are still plenty of places where you can lose static type safety. It's *possible* to write Java code that uses types conservatively and never does a cast that could fail at run time. Then again, you *can* write C code like that. But the compiler won't help you. And there are all kinds of common Java coding patterns that rely on the dynamic type system, and can't be written in a purely static type style. -- Jerry From James.McGovern at thehartford.com Fri Jan 5 17:16:52 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Fri, 5 Jan 2007 17:16:52 -0500 Subject: [SC-L] Building Security In vs Auditing In-Reply-To: <16B5EF53FB343546B0760F04BD44EA2DEC875C@va-mail.cigital.com> Message-ID: <773F863A6009244B87E6E866AFC7DB46019CA209@AD1HFDEXC309.ad1.prod> Thanks for your response but I am not sure that it got at the essence of my thinking, so let me ask some additional questions. 1. I haven't gotten a sense that a bakeoff matters. For example, if I wanted to write a simple JSP application, it really doesn't matter if I use Tomcat, Jetty, Resin or BEA from a functionality perspective while they may each have stuff that others don't, at the end of the day they are all good enough. So is there really that much difference in comparing say Fortify to OunceLabs or whatever other tools in this space exist vs simply choosing which ever one wants to cut me the best deal (e.g. site license for $99 a year :-) ? 2. Continuing with your plumber analogy, usually you either are referred by someone who had a particular experience with a vendor or you simply choose whoever is available from the Yellow Pages that will show up when you want them to and will charge what you think the best value is. My circle doesn't include the first and I would like to become smarter about the second in that should I choose someone knowledgable from Accenture, TCS, Cognizant or other firms I am familiar with or would I be doing myself a huge disservice and should instead focus on a boutique. -----Original Message----- From: Paco Hope [mailto:paco at cigital.com] Sent: Thursday, January 04, 2007 9:33 AM To: McGovern, James F (HTSC, IT); sc-l at securecoding.org Subject: RE: [SC-L] Building Security In vs Auditing > Gary, I would love a little refinement of the benefits to badnessometers. > Let's say I get a tool to tell me something I already suspect is wrong, > what percentage of the population are better than they expected? I won't speak for Gary, but working a few doors down I have seen a few of the same things he has. Occasionally developers internally run free tools and surrepetitiously fix problems that the tools find (this happens in some cultures where management is particularly antagonistic towards security as a first class concern). In those unusual instances, I could see the results of a badnessometer coming out better than expected. Management would perceive that such things had never been run, and would be pleasantly surprised to learn that the sky might not be falling. Other than that, few people run a tool for the first time and see results better than they expected. Tools codify all manner of stuff that your developers almost certainly do not know how to check for (and if they do, they probably don't have time). > Is it better to do such a badness test by doing a POC with one of the > tool vendors in this space or do I get additional lift by going with > a consulting firm in this regard? I'm a consultant, take that as implied bias. But, I think you do get lift, and here's my analogy. Consider yourself a handy guy around the house who is going to do something moderately complicated, like redo a whole bathroom. You can buy all the tools and read all the books on how to do it for a lot less money than hiring a contractor to do the whole thing. There's some pretty specialized tools in plumbing, though, and they're tools you probably haven't used more than once or twice. Do you gain some extra insight into the use of those tools by hiring someone experienced to assist on the complicated parts? I think so. That someone experienced will come in, help you wield the unfamiliar tool, show you some things that he has experienced, and get you through the difficult parts. Then you, being the handy guy you are, are left to finish the bathroom, doing things you know how to do well. I think this analogy holds with a lot of the tools in security. You learn a lot by getting the experience someone brings, assuming you get a good someone. We, for example, have run a bunch of tools on a lot of different code bases. We know which rules tend to be alarmist and which ones are really important if they fire. Tool vendors won't give you that objectivity on their own tool, and some of the sales engineers don't have the insight into their own tool to know which warnings are just noise and which warnings are a big deal. A consultant can help you have a bake-off between tools, whereas a tool vendor typically lacks that objectivity. Paco ---------------------------------------------------------------------------- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* From gunnar at arctecgroup.net Sat Jan 6 11:27:50 2007 From: gunnar at arctecgroup.net (Gunnar Peterson) Date: Sat, 06 Jan 2007 10:27:50 -0600 Subject: [SC-L] Building Security In vs Auditing In-Reply-To: <773F863A6009244B87E6E866AFC7DB46019CA209@AD1HFDEXC309.ad1.prod> Message-ID: > 1. I haven't gotten a sense that a bakeoff matters. For example, if I wanted > to write a simple JSP application, it really doesn't matter if I use Tomcat, > Jetty, Resin or BEA from a functionality perspective while they may each have > stuff that others don't, at the end of the day they are all good enough. So is > there really that much difference in comparing say Fortify to OunceLabs or > whatever other tools in this space exist vs simply choosing which ever one > wants to cut me the best deal (e.g. site license for $99 a year :-) ? > I recommend that companies do a bakeoff to determine 1. ease of integration with dev process - everyone's dev/build process is slightly different 2. signal to noise ratio - is the tool finding high priority/high impact bugs? 3. remediation guidance - finding is great, fixing is better, how actionable and relevant is the remediation guidance? 4. extensibility - say you have a particular interface, like mq series for example, which has homegrown authN and authZ foo that you want to use the static analysis to determine if it is used correctly. How easy is it build/check/enfore these rules? 5. roles - how easy is it to separate out roles/reports/functionaility like developer, ant jockey, and auditor? 6. software architecture span - your high risk/high priority apps are probably multi-tier w/ lots of integration points, how much visibility to how many integration points and tiers does the static analysis tool allow you to see? How easy is it to correlate across tiers and interfaces? -gp From bugtraq at cgisecurity.net Sun Jan 7 14:48:48 2007 From: bugtraq at cgisecurity.net (bugtraq at cgisecurity.net) Date: Sun, 7 Jan 2007 14:48:48 -0500 (EST) Subject: [SC-L] QASEC Announcement: Writing Software Security Test Cases Message-ID: <20070107194848.35560.qmail@cgisecurity.net> I've Just released an article about how the Quality Assurance phase of the development cycle can incorporate security testing into a standard test plan, and make it part of the regular testing cycle. Writing Software Security Test Cases: Putting security test cases into your test plan http://www.qasec.com/cycle/securitytestcases.shtml - Robert admin_ at _cgisecurity_com http://www.cgisecurity.com/ http://www.qasec.com/ http://www.webappsec.org/ From jms at bughunter.ca Mon Jan 8 10:13:07 2007 From: jms at bughunter.ca (J. M. Seitz) Date: Mon, 8 Jan 2007 07:13:07 -0800 Subject: [SC-L] QASEC Announcement: Writing Software Security Test Cases In-Reply-To: <20070107194848.35560.qmail@cgisecurity.net> Message-ID: <012001c73337$8111be30$8119fea9@jseitz> This is great, and something I have incorporated into our own cycle previously, as carving out a spot on our team as the "security engineer" didn't seem to work. But by creating a process for including security testing, abuse cases, etc. I was able to incorporate security without a big hit to the team. This sold management on the fact that it can be a simple and seamless process and soon became adopted. The other half of it is that you have to be the person on the team who always is thinking in terms of the corner cases, the worst case scenarios, the one who aggravates the development team the most. I still find that at times you have to raise concerns and show vulnerabilities by actually writing the POC exploits. An example of this would be a portable encrypted filesystem that was used to protect data the application used. No one understood that no matter how long the password was, nor the 256 "bank level" encryption, the filesystem was still insecure in it's _implementation_! By writing an exploit using DLL injection, some exported function hooking and by outputting the password into a plaintext file, the eyes of many were opened. Little did anyone know that part of developing a secure application you have to do it not only in the code, but it it's build process, deployment, etc. But once again the next time a major flaw comes into light, you find yourself in the wee hours of the morning writing a POC to prove just how bad it is. The question to the list is: Can we ever get away from costly exploit development? Has anyone developed techniques in reporting and disclosure that allowed them to avoid a massive caffeine addiction? JS -----Original Message----- From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org] On Behalf Of bugtraq at cgisecurity.net Sent: Sunday, January 07, 2007 11:49 AM To: sc-l at securecoding.org Subject: [SC-L] QASEC Announcement: Writing Software Security Test Cases I've Just released an article about how the Quality Assurance phase of the development cycle can incorporate security testing into a standard test plan, and make it part of the regular testing cycle. Writing Software Security Test Cases: Putting security test cases into your test plan http://www.qasec.com/cycle/securitytestcases.shtml - Robert admin_ at _cgisecurity_com http://www.cgisecurity.com/ http://www.qasec.com/ http://www.webappsec.org/ _______________________________________________ Secure Coding mailing list (SC-L) SC-L at securecoding.org List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l List charter available at - http://www.securecoding.org/list/charter.php SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) as a free, non-commercial service to the software security community. _______________________________________________ From jsteven at cigital.com Mon Jan 8 10:08:34 2007 From: jsteven at cigital.com (John Steven) Date: Mon, 8 Jan 2007 10:08:34 -0500 Subject: [SC-L] Code Analysis Tool Bakeoff In-Reply-To: References: Message-ID: I think Gunnar hit a lot of the important points. Bake offs do provide interesting data. I have a few slide decks which I've created to help companies with this problem, and would be happy to provide them to anyone willing to email me side-channel. Of the items Gunnar listed, I find that baking off tools helps organizations understand where they're going to have to apply horsepower and money. For instance, companies that purchase Coverity's Prevent seem to have little trouble getting penetration into their dev. teams, even beyond initial pilot. Model tuning provides breeze-easy ability to keep 'mostly effective' rules in play and still reduce false positives. However, with that ease of adoption and developer-driven results interpretation, orgs. buy some inflexibility in terms of later extensibility. Java support, now only in beta, lacks sorely and the mechanisms by which one writes custom checkers poses a stiff learning curve. Whereas, when one adopts Fortify's sourceAnalyzer, developer penetration will be _the_ problem unless the piloting team bakes a lot of rule tuning into the product's configuration and results pruning into the usable model prior to role out. However, later customization seems easiest of any of the tools I'm familiar with. Language and rules coverage seems, at the macro-level, consistently the most robust. In contrast, it takes real experience to illuminate each tool's difference in the accuracy department. Only a bakeoff that contains _your_ organization's code can help cut through the fog of what each vendor's account manager will promise. The reason seems to be that the way a lot of these tools behave relative to each other (especially Prexis, K7, and Source Analyzer) depends greatly on minute details of how they implemented rules. However, at the end of the day, their technologies remain shockingly similar (at least as compared to products from Coverity, Secure Software, or Microsoft's internal Prefix). For instance, in one bake off, we found that (with particular open source C code) Fortify's tool found more unique instances of overflows on stack-based, locally declared buffers, with offending locally declared length-specifiers. However, Klocwork's tool was profoundly more accurate in cases in which the overflow had similar properties but represented an 'off by one' error within a buffer declared as a fixed length array. Discussing tradeoffs in tool implementation at this level leads bakers down a bevy of rabbit holes. Looking at them to the extent Cigital does, for deep understanding of our clients' code and how _exactly_ the tool is helping/hurting us isn't _your_ goal. But, by collecting data on 7 figures of your own code base, you can start to see what trends in your programmers' coding practices play to which tools. This, can in fact, help you make a better tool choice. ---- John Steven Technical Director; Principal, Software Security Group Direct: (703) 404-5726 Cell: (703) 727-4034 Key fingerprint = 4772 F7F3 1019 4668 62AD 94B0 AE7F http://www.cigital.com Software Confidence. Achieved. On Jan 6, 2007, at 11:27 AM, Gunnar Peterson wrote: >> 1. I haven't gotten a sense that a bakeoff matters. For example, >> if I wanted >> to write a simple JSP application, it really doesn't matter if I >> use Tomcat, >> Jetty, Resin or BEA from a functionality perspective while they >> may each have >> stuff that others don't, at the end of the day they are all good >> enough. So is >> there really that much difference in comparing say Fortify to >> OunceLabs or >> whatever other tools in this space exist vs simply choosing which >> ever one >> wants to cut me the best deal (e.g. site license for $99 a year :-) ? >> > > I recommend that companies do a bakeoff to determine > > 1. ease of integration with dev process - everyone's dev/build > process is > slightly different > > 2. signal to noise ratio - is the tool finding high priority/high > impact > bugs? > > 3. remediation guidance - finding is great, fixing is better, how > actionable and relevant is the remediation guidance? > > 4. extensibility - say you have a particular interface, like mq > series for > example, which has homegrown authN and authZ foo that you want to > use the > static analysis to determine if it is used correctly. How easy is it > build/check/enfore these rules? > > 5. roles - how easy is it to separate out roles/reports/ > functionaility like > developer, ant jockey, and auditor? > > 6. software architecture span - your high risk/high priority apps are > probably multi-tier w/ lots of integration points, how much > visibility to > how many integration points and tiers does the static analysis tool > allow > you to see? How easy is it to correlate across tiers and interfaces? > ---------------------------------------------------------------------------- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- From James.McGovern at thehartford.com Mon Jan 8 11:58:14 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Mon, 8 Jan 2007 11:58:14 -0500 Subject: [SC-L] Magazines In-Reply-To: Message-ID: <773F863A6009244B87E6E866AFC7DB46019CA216@AD1HFDEXC309.ad1.prod> I learned through the grapevine that folks from Network Computing will be doing an upcoming article and comparison of tools in the secure coding space. If you are a vendor, it would be wise to make sure your marketing folks are participating. The funny thing is that I wouldn't expect it to appear in such a publication. Having in the past written for Java Developers Journal, I wouldn't be against pitching the writing of a similar story if vendors here would be game as well. ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070108/a79eccca/attachment.html From bugtraq at cgisecurity.net Mon Jan 8 12:06:14 2007 From: bugtraq at cgisecurity.net (bugtraq at cgisecurity.net) Date: Mon, 8 Jan 2007 12:06:14 -0500 (EST) Subject: [SC-L] QASEC Announcement: Writing Software Security Test Cases In-Reply-To: <012001c73337$8111be30$8119fea9@jseitz> Message-ID: <20070108170614.67000.qmail@cgisecurity.net> > This is great, and something I have incorporated into our own cycle > previously, as carving out a spot on our team as the "security engineer" > didn't seem to work. But by creating a process for including security > testing, abuse cases, etc. I was able to incorporate security without a big > hit to the team. This sold management on the fact that it can be a simple > and seamless process and soon became adopted. The other half of it is that > you have to be the person on the team who always is thinking in terms of the > corner cases, the worst case scenarios, the one who aggravates the > development team the most. The fact of proving to management that this isn't an expensive decision is something that I think will start to catch on. By making this part of the process if an issue is discovered you have already scoped out that additional time needed to research and address the issue. QA has always aggravated development this isn't new :) Regards, - Robert http://www.cgisecurity.com/ http://www.qasec.com/ From dana at vulscan.com Thu Jan 11 11:57:03 2007 From: dana at vulscan.com (Dana Epp) Date: Thu, 11 Jan 2007 08:57:03 -0800 Subject: [SC-L] Secure software education. Does it start with our tools? Message-ID: <9AE3FC06F0A89A43A4D6F667955082C4083BA2@sbsmain.Vulscan.local> Hey guys, Last month I blogged (http://silverstr.ufies.org/blog/archives/000989.html) about my disappointment with the fact that the new service pack for Visual Studio 2005, on Vista, suggests with a specific dialog box that you run the IDE as Administrator. (http://msdn2.microsoft.com/en-us/vstudio/aa972193.aspx). The actual dialog box is alarming and misleading, because it really gives poor advice and the false impression that developers HAVE to be building software as Administrator. Am I being selfish in believing that this is the LAST thing we want to do when trying to educate developers to not write code with administrative privileges? I know you can simply uncheck the thing and move on, (as recommended by Michael Howard at http://blogs.msdn.com/michael_howard/archive/2007/01/04/my-take-on-visual-studio-2005-sp1-and-windows-vista.aspx), but the reality is that this guidance isn't helping us as we try to educate developers to write software requiring less privileges, when the tools we use suggest that it doesn't adhere to that! For years we have been trying to educate developers to run with least privilege so they can build safer software in a more restricted environment. Particularly important in a Windows environment where quite a few attack vectors would be significantly lessened if the software would have simply required less privileges at design time. I fear that when developers see such guidance they will simply run all their tools in an elevated context, or worse yet turn off things like UAC altogether so they can go about their "daily business". Now, I am pretty sure that a lot of us on this list have been building software in least privilege environments for years. But what does this say to those that don't know any better when they see such dialog boxes when they start their tools? Microsoft has even written a Vista "Issue list" for when you run Visual Studio as a Standard User. (http://msdn2.microsoft.com/en-us/vstudio/aa972193.aspx). There are plenty of examples there where the work around is "Run Visual Studio with elevated administrator permissions" when it doesn't have to be. So its clear they know this is an issue. Am I wrong for being disappointed in Microsoft's approach at this stage of the game? We aren't talking about an old IDE written for Windows95. This was built FOR and ON Vista. With Microsoft's great strides in their SDLC process to date, should we be expecting them to lead the charge in educating developers to run as Standard Users? What are your thoughts on this? --- Regards, Dana Epp [Microsoft Security MVP] Blog: http://silverstr.ufies.org/blog/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070111/41a59efe/attachment.html From ljknews at mac.com Thu Jan 11 12:48:46 2007 From: ljknews at mac.com (ljknews) Date: Thu, 11 Jan 2007 12:48:46 -0500 Subject: [SC-L] Secure software education. Does it start with our tools? In-Reply-To: <9AE3FC06F0A89A43A4D6F667955082C4083BA2@sbsmain.Vulscan.local> References: <9AE3FC06F0A89A43A4D6F667955082C4083BA2@sbsmain.Vulscan.local> Message-ID: At 8:57 AM -0800 1/11/07, Dana Epp wrote: > Am I wrong for being disappointed in Microsoft's approach at this stage >of the game? We aren't talking about an old IDE written for Windows95. >This was built FOR and ON Vista. With Microsoft's great strides in their >SDLC process to date, should we be expecting them to lead the charge in >educating developers to run as Standard Users? What are your thoughts on >this? It appears your optimism about the prospects for change was unwarranted. -- Larry Kilgallen From gem at cigital.com Sat Jan 13 14:37:36 2007 From: gem at cigital.com (Gary McGraw) Date: Sat, 13 Jan 2007 14:37:36 -0500 Subject: [SC-L] Darkreading: Vista meets DRM Message-ID: <3F5AB9CDDAD2CC4A80D0FCDCF2755DFB7FC07A@va-mail.cigital.com> Hi all, We all know that making security tradeoffs is one of the hardest parts of designing a system. This holds true for software ranging from the smallest application to, well, vista. My latest darkreading column questions where the security boundary should be drawn. This gets particularly hairy when it comes to digital rights management and the kinds of demands made by huge content providers. http://www.darkreading.com/document.asp?doc_id=114587&WT.svl=column1_1 gem company www.cigital.com podcast www.cigital.com/silverbullet book www.swsec.com ---------------------------------------------------------------------------- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- From ge at linuxbox.org Mon Jan 15 18:19:31 2007 From: ge at linuxbox.org (Gadi Evron) Date: Mon, 15 Jan 2007 17:19:31 -0600 (CST) Subject: [SC-L] fuzzing the corporate world Message-ID: After a couple of folks said they liked it, I figured it is on-topic enough to send it here. This is my lecture from CCC, I hope you like it (I swear in it.. it's defcon-like, be warned PG-13). It basically describes fuzzing and how it can be/is implemented in the corporate world/as part of the development process/as certification/as testing... etc. and how a fuzzer can be built to fit what the corporate world is looking for. This is not a technical lecture in any way - so skip it if that's what you are looking for. We do cover the basics of black box testing with fuzzing, though. :) http://media.hojann.net/23C3/23C3-1758-en-fuzzing_corporate_world.m4v http://fsmpi.uni-bayreuth.de/~pw/23c3/23C3-1758-en-fuzzing_corporate_world.m4v >From the talk description: http://events.ccc.de/congress/2006/Fahrplan/events/1758.en.html (an updated PDF of the presentation should be there soon) Fuzzing in the corporate world The use of fuzzing in the corporate world over the years and recent implementation of fuzzing tools into the development cycle and as a requirement before purchase ---- We will discuss fuzzing uses by software vendors and in the corporate world, for security auditing ("fuzzing before release") and third party testing ("fuzzing before purchase"). We will look at what contributed to this change in the use of fuzzing tools from home-grown hacking tools to commercial products, as well as how these organizations implement fuzzing into their development cycle. ---- Fuzzing has been used for a long time in the hacker scene. Mostly, these tools have been home-grown. In the recent year, several commercial fuzzing tools appeared. These in turn are now utilized by organizations in the development cycle under the moto of "fuzzing before release", or "find the vulnerability before hackers do". Another interesting and somewhat unexpected development in the field is that end-clients are the largest consumers of advanced fuzzing technology, performing tests on software before purchase. Further, some large telcos and financial institutions now demand for products to be certified (even if not by an official seal) by fuzzing products which they authorize. Is fuzzing finally a solution to reduce vulnerabilities in products rather than just later discover them? How is it used by these corporations and third-party organizations? Some methodologies as well as examples will be presented, and we will also try to look into what the future holds. Gadi. From ken at krvw.com Tue Jan 16 10:08:18 2007 From: ken at krvw.com (Kenneth Van Wyk) Date: Tue, 16 Jan 2007 10:08:18 -0500 Subject: [SC-L] Administrivia: Anyone up for a 2nd annual SC-L BoF at S3? Message-ID: Hi SC-Lers, As many of you are no doubt aware, this year's S3 conference (http:// www.s-3con.com) is coming up in a couple months. At last year's conference in La Jolla, we had a small but fun "SC-L BoF" at a nearby brewpub. Any SC-L folks here care to do the same again at this year's event in San Mateo? I'm happy to coordinate things. Please reply off list if you care to join in. If there is sufficient interest, I'll post an update here as we get closer to the dates. Cheers, Ken ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://krvw.com/pipermail/sc-l/attachments/20070116/e698a49c/attachment.bin From bugtraq at cgisecurity.net Tue Jan 16 11:55:54 2007 From: bugtraq at cgisecurity.net (bugtraq at cgisecurity.net) Date: Tue, 16 Jan 2007 11:55:54 -0500 (EST) Subject: [SC-L] Announcement: The Cross-site Request Forgery FAQ Message-ID: <20070116165554.92566.qmail@cgisecurity.net> The Cross-site Request Forgery FAQ has been released to address some of the common questions and misconceptions regarding this commonly misunderstood web flaw. URL: The Cross-site Request Forgery FAQ http://www.cgisecurity.com/articles/csrf-faq.shtml Regards, - Robert admin_ at _cgisecurity_com http://www.cgisecurity.com/ http://www.qasec.com/ http://www.webappsec.org/ From fw at deneb.enyo.de Thu Jan 18 14:17:23 2007 From: fw at deneb.enyo.de (Florian Weimer) Date: Thu, 18 Jan 2007 20:17:23 +0100 Subject: [SC-L] Announcement: The Cross-site Request Forgery FAQ In-Reply-To: <20070116165554.92566.qmail@cgisecurity.net> (bugtraq@cgisecurity.net's message of "Tue, 16 Jan 2007 11:55:54 -0500 (EST)") References: <20070116165554.92566.qmail@cgisecurity.net> Message-ID: <87tzyogn5o.fsf@mid.deneb.enyo.de> > URL: The Cross-site Request Forgery FAQ > http://www.cgisecurity.com/articles/csrf-faq.shtml Regarding, "Who discovered CSRF?", the attack is mentioned in section 4.3.5 of RFC 2109, which dates back February 1997. Of course, the suggested remedies look rather strange today. You characterisation of cross-site scripting attacks ("Cross-Site Scripting exploits the trust that a user has for the website or application.") is somewhat misleading, unless one reads "client" for "user". From bugtraq at cgisecurity.net Thu Jan 18 14:13:20 2007 From: bugtraq at cgisecurity.net (bugtraq at cgisecurity.net) Date: Thu, 18 Jan 2007 14:13:20 -0500 (EST) Subject: [SC-L] Announcement: The Cross-site Request Forgery FAQ In-Reply-To: <87tzyogn5o.fsf@mid.deneb.enyo.de> Message-ID: <20070118191320.10880.qmail@cgisecurity.net> > > URL: The Cross-site Request Forgery FAQ > > http://www.cgisecurity.com/articles/csrf-faq.shtml > > Regarding, "Who discovered CSRF?", the attack is mentioned in section > 4.3.5 of RFC 2109, which dates back February 1997. Of course, the > suggested remedies look rather strange today. I hadn't seen that I'll add a brief note about that. > > You characterisation of cross-site scripting attacks ("Cross-Site > Scripting exploits the trust that a user has for the website or > application.") is somewhat misleading, unless one reads "client" for > "user". Yes that wording is much better. Updated thanks for pointing it out. - Robert From ken at krvw.com Fri Jan 19 08:46:21 2007 From: ken at krvw.com (Kenneth Van Wyk) Date: Fri, 19 Jan 2007 08:46:21 -0500 Subject: [SC-L] Source Code Specialist Fortify to Buy Secure Software Message-ID: <725EC7E7-860B-4717-8D83-1836E6C3FF87@krvw.com> SC-Lers, The static source code analysis product space is about to get a little smaller, with Fortify's announcement of its acquisition of Secure Software. http://www.eweek.com/article2/0,1895,2085461,00.asp Cheers, Ken ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070119/a3ce5da7/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://krvw.com/pipermail/sc-l/attachments/20070119/a3ce5da7/attachment.bin From ken at krvw.com Mon Jan 22 10:15:53 2007 From: ken at krvw.com (Kenneth Van Wyk) Date: Mon, 22 Jan 2007 10:15:53 -0500 Subject: [SC-L] Adapting Penetration Testing for Software Development Purposes Message-ID: <67E62E6C-8AA4-453D-9272-AD428C08B3D9@krvw.com> Greetings SC-L folk, FYI, there's been a wave of new content added to the DHS-funded software security portal, Build Security In (home URL is http:// BuildSecurityIn.us-cert.gov). Most recently, a couple of articles about penetration testing and tools were added (see https://buildsecurityin.us-cert.gov/daisy/bsi/articles/best-practices/ penetration/655.html?branch=1&language=1). (Full disclosure: I'm the author of the pen testing articles, but don't let that stop you from grabbing them. ;-) All of the articles on the BSI portal are free. Cheers, Ken ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070122/62054803/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://krvw.com/pipermail/sc-l/attachments/20070122/62054803/attachment.bin From ken at krvw.com Mon Jan 22 13:23:49 2007 From: ken at krvw.com (Kenneth Van Wyk) Date: Mon, 22 Jan 2007 13:23:49 -0500 Subject: [SC-L] Vulnerability tallies surged in 2006 | The Register Message-ID: <91AE4941-4AB8-4D15-B37C-46E40C68B707@krvw.com> FYI, CERT/CC reported 8064 software vulnerabilities in 2006, for a 35% increase over 2005. See http://www.theregister.co.uk/2007/01/21/2006_vulns_tally/ The article further states, "The greatest factor in the skyrocketing number of vulnerabilities is that certain types of flaws in community and commercial Web applications have become much easier to find, said Art Manion, vulnerability team lead for the CERT Coordination Center. 'The best we can figure, most of the growth is due to fairly easy-to- discover vulnerabilities in Web applications," Manion said. "They are easy to find, easy to create, and easy to deploy.'" Cheers, Ken ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070122/3011786b/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://krvw.com/pipermail/sc-l/attachments/20070122/3011786b/attachment.bin From ken at krvw.com Mon Jan 22 13:52:34 2007 From: ken at krvw.com (Kenneth Van Wyk) Date: Mon, 22 Jan 2007 13:52:34 -0500 Subject: [SC-L] Dark Reading - Discovery and management - Security Startups Make Debut - Security News Analysis Message-ID: <270CB489-9CD1-46A6-85D5-45A97868CF6C@krvw.com> Ok, last software security news item for today, I promise. :-) This article (see http://www.darkreading.com/document.asp?doc_id=115110&WT.svl=news1_1) is about a couple of new startup companies. One of them in particular, Veracode, may be of some interest here. The article says, "Veracode, founded by Chris Wysopal and other former executives of @stake, is now offering patented binary-code analysis of software for enterprises that want to analyze their software's security on a regular basis. The ASP will also offer security reviews of enterprise products and security analysis of third-party apps for software developers." The article also provides some counterpoints, including some from Gary McGraw, that are worth reading. Among other things, Gary says, "However, if you want real security analysis you have to go past the binary, past the source code, and actually consider the design." Opinions on binary vs. source code (and design!) analysis, anyone? Cheers, Ken ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070122/6b347892/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://krvw.com/pipermail/sc-l/attachments/20070122/6b347892/attachment.bin From gem at cigital.com Mon Jan 22 15:36:17 2007 From: gem at cigital.com (Gary McGraw) Date: Mon, 22 Jan 2007 15:36:17 -0500 Subject: [SC-L] Dark Reading - Discovery and management - Security StartupsMake Debut - Security News Analysis Message-ID: <3F5AB9CDDAD2CC4A80D0FCDCF2755DFB7FC217@va-mail.cigital.com> On page 107 of "Software Security" www.swsec.com , I talk about this very issue in a bit more depth. I have attached a pdf snapshot of that page from the book. I think the idea of binary analysis is a great one for many reasons (see Exploiting Software for a ton of examples), and I am glad that Veracode has come out of stealth mode. However, this should be treated as an arrow in our quiver, not as the ultimate weapon. I think the best part of the business model these guys are pursuing is the idea of holding COTS vendors accountable by outting them to their more dilligent customers. gem company www.cigital.com podcast www.cigital.com/silverbullet book www.swsec.com _____ From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org] On Behalf Of Kenneth Van Wyk Sent: Monday, January 22, 2007 1:53 PM To: Secure Coding Subject: [SC-L] Dark Reading - Discovery and management - Security StartupsMake Debut - Security News Analysis Ok, last software security news item for today, I promise. :-) This article (see http://www.darkreading.com/document.asp?doc_id=115110&WT.svl=news1_1) is about a couple of new startup companies. One of them in particular, Veracode, may be of some interest here. The article says, "Veracode, founded by Chris Wysopal and other former executives of @stake, is now offering patented binary-code analysis of software for enterprises that want to analyze their software's security on a regular basis. The ASP will also offer security reviews of enterprise products and security analysis of third-party apps for software developers." The article also provides some counterpoints, including some from Gary McGraw, that are worth reading. Among other things, Gary says, "However, if you want real security analysis you have to go past the binary, past the source code, and actually consider the design." Opinions on binary vs. source code (and design!) analysis, anyone? Cheers, Ken ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com ---------------------------------------------------------------------------- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070122/6c446c43/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: binary-analysis.pdf Type: application/octet-stream Size: 69649 bytes Desc: binary-analysis.pdf Url : http://krvw.com/pipermail/sc-l/attachments/20070122/6c446c43/attachment-0001.obj From gem at cigital.com Mon Jan 22 15:43:02 2007 From: gem at cigital.com (Gary McGraw) Date: Mon, 22 Jan 2007 15:43:02 -0500 Subject: [SC-L] Silverbullet: Fortify TAB Message-ID: <3F5AB9CDDAD2CC4A80D0FCDCF2755DFB7FC218@va-mail.cigital.com> Hi all, I am pleased to announce the tenth (!) episode of the "Silver Bullet Security Podcast with Gary McGraw" was released today. We tried something different in this episode by doing a group interview with the entire Fortify Technical Advisory Board. This was a super opportunity to cover software security from many different angles...which is precisely what I did. On the 'cast are the pontifacatory stylings of: * Bill Pugh, Professor at University of Maryland, static analysis for finding bugs * Li Gong, GM at Microsoft, MSN in China * Marcus Ranum, CSO of Tenable Network Security, security products trainer * Avi Rubin, Professor at Johns Hopkins, electronic voting security * Fred Schneider, Professor at Cornell, trustworthy computing * Greg Morrisett, Professor at Harvard, dependant type theory * Matt Bishop, Professor at UC Davis, computer security * Dave Wagner, Professor at Berkeley, software security and electronic voting To listen, hit http://www.cigital.com/silverbullet/show-010/ Also note that during the same TAB meeting, reporters from ZDNet stopped in and did an interview that resulted in this very software security o centric blog entry: http://blogs.zdnet.com/BTL/?p=4280 gem company www.cigital.com podcast www.cigital.com/silverbullet book www.swsec.com ---------------------------------------------------------------------------- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- From ljknews at mac.com Mon Jan 22 15:38:04 2007 From: ljknews at mac.com (ljknews) Date: Mon, 22 Jan 2007 15:38:04 -0500 Subject: [SC-L] Dark Reading - Discovery and management - Security Startups Make Debut - Security News Analysis In-Reply-To: <270CB489-9CD1-46A6-85D5-45A97868CF6C@krvw.com> References: <270CB489-9CD1-46A6-85D5-45A97868CF6C@krvw.com> Message-ID: At 1:52 PM -0500 1/22/07, Kenneth Van Wyk wrote: > Content-Type: multipart/signed; protocol="application/pgp-signature"; > micalg=pgp-sha1; boundary="Apple-Mail-12-58709954" > Content-Transfer-Encoding: 7bit > > Ok, last software security news item for today, I promise. :-) This >article (see > >http://www.darkreading.com/document.asp?doc_id=115110&WT.svl=news1_1) >is about a couple of new startup companies. One of them in particular, >Veracode, may be of some interest here. The article says, "Veracode, >founded by Chris Wysopal and other former executives of @stake, is now >offering patented binary-code analysis of software for enterprises that >want to analyze their software's security on a regular basis. The ASP will >also offer security reviews of enterprise products and security analysis >of third-party apps for software developers." > > The article also provides some counterpoints, including some from Gary >McGraw, that are worth reading. Among other things, Gary says, "However, >if you want real security analysis you have to go past the binary, past >the source code, and actually consider the design." > > Opinions on binary vs. source code (and design!) analysis, anyone? Analyzing source code is independent of machine architecture. My guess is that if a company actually is capable of analyzing binary code they only do it for the highest volume instruction sets. My guess is that attackers will go after machines they feel are less protected. Efforts which merely change attacker behavior are a waste of time. -- Larry Kilgallen From weld at vulnwatch.org Mon Jan 22 17:08:47 2007 From: weld at vulnwatch.org (Chris Wysopal) Date: Mon, 22 Jan 2007 17:08:47 -0500 (EST) Subject: [SC-L] Dark Reading - Discovery and management - Security Startups Make Debut - Security News Analysis In-Reply-To: <270CB489-9CD1-46A6-85D5-45A97868CF6C@krvw.com> References: <270CB489-9CD1-46A6-85D5-45A97868CF6C@krvw.com> Message-ID: Well since I am mentioned in the excerpt I will wade in. I don't think binary analysis and source analysis are all that different. Both approaches convert to an intermediate representation and then run checkers on a model. Source code analyzers use compiler technology to get to the IR and binary analyzers use decompiler technology. I would like to point out that the binary doesn't need to be machine code, it can be java byte code or .Net's MSIL. Findbugs and FxCop operate on binaries so the approach is not all new. The big benefit I see to using binary analysis on machine code is modern development teams don't write a whole program from scratch. They often link in a lot of binary code in the form of static and dynamic libraries. These are either in house shared components, 3rd party libraries, or libraries from platform providers. This code can have vulnerabilities themselves or cause vulnerabilities in the way they interact with the code the development team has written. Now some may be asking what happens when you find a vulnerability through binary analysis? How do you fix it? The answer is to use debug symbols to find the source file and line number associated with the binary offset of the problem. Yes, you may not have the symbols for a binary component you link but once you know where and what the problem is you can often work around it in your code. I think binary analysis gives you more information to use to secure software. Of course design reviews are important for many programs. Static analysis is just one piece to the SDLC. Good software requires good design and good quality assurance. Same goes for secure software. It requires secure design and secure testing. That is where I see binary analysis fitting in. -Chris On Mon, 22 Jan 2007, Kenneth Van Wyk wrote: > Ok, last software security news item for today, I promise. :-) This > article (see > http://www.darkreading.com/document.asp?doc_id=115110&WT.svl=news1_1) > is about a couple of new startup companies. One of them in > particular, Veracode, may be of some interest here. The article > says, "Veracode, founded by Chris Wysopal and other former executives > of @stake, is now offering patented binary-code analysis of software > for enterprises that want to analyze their software's security on a > regular basis. The ASP will also offer security reviews of enterprise > products and security analysis of third-party apps for software > developers." > > The article also provides some counterpoints, including some from > Gary McGraw, that are worth reading. Among other things, Gary says, > "However, if you want real security analysis you have to go past the > binary, past the source code, and actually consider the design." > > Opinions on binary vs. source code (and design!) analysis, anyone? > > Cheers, > > Ken > ----- > Kenneth R. van Wyk > SC-L Moderator > KRvW Associates, LLC > http://www.KRvW.com > > > > > From BlueBoar at thievco.com Mon Jan 22 18:10:33 2007 From: BlueBoar at thievco.com (Blue Boar) Date: Mon, 22 Jan 2007 15:10:33 -0800 Subject: [SC-L] Dark Reading - Discovery and management - Security Startups Make Debut - Security News Analysis In-Reply-To: References: <270CB489-9CD1-46A6-85D5-45A97868CF6C@krvw.com> Message-ID: <45B54469.6010707@thievco.com> ljknews wrote: > Analyzing source code is independent of machine architecture. > > My guess is that if a company actually is capable of analyzing > binary code they only do it for the highest volume instruction > sets. > > My guess is that attackers will go after machines they feel are > less protected. > > Efforts which merely change attacker behavior are a waste of time. Nope. If I'm running x86 boxes, I'd be more than happy to have to attackers move to SPARC. Besides, once a bug is found in the x86 binary, the problem gets fixed in the source and/or compiler. BB From ljknews at mac.com Mon Jan 22 18:14:51 2007 From: ljknews at mac.com (ljknews) Date: Mon, 22 Jan 2007 18:14:51 -0500 Subject: [SC-L] Dark Reading - Discovery and management - Security Startups Make Debut - Security News Analysis In-Reply-To: <45B54469.6010707@thievco.com> References: <270CB489-9CD1-46A6-85D5-45A97868CF6C@krvw.com> <45B54469.6010707@thievco.com> Message-ID: At 3:10 PM -0800 1/22/07, Blue Boar wrote: > ljknews wrote: >> Analyzing source code is independent of machine architecture. >> >> My guess is that if a company actually is capable of analyzing >> binary code they only do it for the highest volume instruction >> sets. >> >> My guess is that attackers will go after machines they feel are >> less protected. >> >> Efforts which merely change attacker behavior are a waste of time. > > Nope. If I'm running x86 boxes, I'd be more than happy to have to > attackers move to SPARC. Those of us _not_ running X86 do not feel that way. -- Larry Kilgallen From list-procurare at secureconsulting.net Mon Jan 22 20:47:10 2007 From: list-procurare at secureconsulting.net (Benjamin Tomhave) Date: Mon, 22 Jan 2007 20:47:10 -0500 Subject: [SC-L] Vulnerability tallies surged in 2006 | The Register In-Reply-To: <91AE4941-4AB8-4D15-B37C-46E40C68B707@krvw.com> Message-ID: <003b01c73e90$65cd13e0$0a01a8c0@zippy> This is completely unsurprising. Apparently nobody told the agile dev community that they still need to follow all the secure coding practices preached at the traditional dev folks for eons. XSS, redirects, and SQL injection attacks are not revolutionary, are not all that interesting, and are so common-place that it makes one wonder where these developers have been the last 5-10 years. Solution to date: throw out traditional design review, move to agile security testing. Why? Because there seems rarely to be a design to review, and certainly no time to do it in. Overall, it's important that agile apps be built on an underlying publishing framework so that inherited vulns can be found and fixed across the board by focusing on a single platform. Next challenge: new year, new technology fads. Web 2.0 is another code word for "that's so last year". Time to play catch-up, and January isn't over yet! *sigh* Oh, and speaking of Web 2.0, who's protecting the customer and their data? Better yet, who owns which data? With mashups being the buzz word du jour, you may think your data is on SiteA, when in fact it's spread across SiteB, SiteC, and SiteD. Wheee. One bit of good news: agile dev has often meant, in my experience, rapid resolution of discovered vulns. Since you don't have the full SDLC (or comparable) process to follow, or even a formalized patch mgmt process, it's often just a matter of finding bugs (through targeted "hyper-testing" - think flash-bang), sending them to the devies, waiting 10-30 minutes, and watching the vuln disappear like magic. Am curious how change mgmt works on that, though... ;) cheers, -ben --- Benjamin Tomhave, CISSP, NSA-IAM, NSA-IEM falcon at secureconsulting.net Web: http://falcon.secureconsulting.net/ LI: http://www.linkedin.com/pub/0/622/964 Blog: http://www.secureconsulting.net/ "We must scrupulously guard the civil rights and civil liberties of all citizens, whatever their background. We must remember that any oppression, any injustice, any hatred is a wedge designed to attack our civilization." -President Franklin Delano Roosevelt _____ From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org] On Behalf Of Kenneth Van Wyk Sent: Monday, January 22, 2007 1:24 PM To: Secure Coding Subject: [SC-L] Vulnerability tallies surged in 2006 | The Register FYI, CERT/CC reported 8064 software vulnerabilities in 2006, for a 35% increase over 2005. See http://www.theregister.co.uk/2007/01/21/2006_vulns_tally/ The article further states, "The greatest factor in the skyrocketing number of vulnerabilities is that certain types of flaws in community and commercial Web applications have become much easier to find, said Art Manion, vulnerability team lead for the CERT Coordination Center. 'The best we can figure, most of the growth is due to fairly easy-to-discover vulnerabilities in Web applications," Manion said. "They are easy to find, easy to create, and easy to deploy.'" Cheers, Ken ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070122/ee5be3b6/attachment-0001.html From Kevin.Wall at qwest.com Mon Jan 22 23:57:39 2007 From: Kevin.Wall at qwest.com (Wall, Kevin) Date: Mon, 22 Jan 2007 22:57:39 -0600 Subject: [SC-L] Vulnerability tallies surged in 2006 | The Register References: <003b01c73e90$65cd13e0$0a01a8c0@zippy> Message-ID: Benjamin Tomhave wrote... > This is completely unsurprising. Apparently nobody told the agile > dev community that they still need to follow all the secure coding > practices preached at the traditional dev folks for eons. XSS, > redirects, and SQL injection attacks are not revolutionary, are not > all that interesting, and are so common-place that it makes one wonder > where these developers have been the last 5-10 years. > > Solution to date: throw out traditional design review, move to agile > security testing. Why? Because there seems rarely to be a design > to review, and certainly no time to do it in. Overall, it's important > that agile apps be built on an underlying publishing framework so > that inherited vulns can be found and fixed across the board by > focusing on a single platform. I think many in the security community have had similar thoughts for years. IIRC, I think Gary McGraw even made a prediction at one point that agile development methods would be the worst setback to information security in years, or something to that affect. (At least I think it was Gary. If not, my bad memory is at fault. Or perhaps I should say... my bad...memory?) Agile development is good at things when their users have some idea of how they'd like to see the system work, so it usually works fairly well for things like laying out screens, workflow, etc. as well as many business applications which are presently being done manually. However, generally these users are clueless when it comes to security. If the developers were using a more traditional SDLC and their users were writing up business requirements, the typical requirement (ones I have actually seen) are things like "The user must login" and "The system must be secure". That's about as sophisticated as they get. If your have developers are know a lot of security, then they _might_ make it work, but the agile development methods, which emphasizing working closely with your users, doesn't work well for security matters because most users don't even know what to ask for. IMO, another reason why agile development fails miserably to result in secure programs is because security cuts across the grain of the entire application. While you can have a trusted kernel or whatever be a logically isolated component, much of security has to be DESIGNED IN, FROM THE START. Because all it takes is a single incorrectly functioning piece to ruin your entire security. Most agile development teams that I've seen here think that they can leave security issues to the end that then put in in that special "security module". One problem is that security must be anywhere that untrusted input can come from which is usually quite a few places. In that sense, trying to add in security to an application developed using agile methods is similar to attempting to add concurrency / multi-threading to an application after-the-fact. Sure, you _can_ do it, but what it results in is a system with a few course grained locks and very little concurrency. Concurrency cuts across various aspects, just like security does. That's why I don't see it as a particularly good fit for agile development. (OTOH, I think it should be a great fit with Aspect Oriented Programming, but that's another topic.) And while I'm on a roll (at least in the ego of my own mind ;-) one other place that I think is a rotten match for agile development. If the software you are developing is supposed to be a reusable class library, I don't find agile development a particularly good fit. Publish the interfaces of a reusable class library for the first release and then go ahead and just try to refactor those interfaces after you have a 1/2 dozen clients using release 1.0. If they don't skin you alive, they certainly won't be your clients for your next release. But enough rambling. -kevin --- Kevin W. Wall Qwest Information Technology, Inc. Kevin.Wall at qwest.com Phone: 614.215.4788 "The reason you have people breaking into your software all over the place is because your software sucks..." -- Former whitehouse cybersecurity advisor, Richard Clarke, at eWeek Security Summit This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. From weld at vulnwatch.org Tue Jan 23 09:30:26 2007 From: weld at vulnwatch.org (Chris Wysopal) Date: Tue, 23 Jan 2007 09:30:26 -0500 (EST) Subject: [SC-L] Adapting Penetration Testing for Software Development Purposes In-Reply-To: <67E62E6C-8AA4-453D-9272-AD428C08B3D9@krvw.com> References: <67E62E6C-8AA4-453D-9272-AD428C08B3D9@krvw.com> Message-ID: Ken, I enjoyed reading your this article. My book "The Art of Software Security Testing" is based on the concept of using penetration techniques as part of the development lifecycle and is specifically targetted at QA professionals. One of my co-authors Elfriede Dustin has written 5 QA books and assured that the book was accessible to that audience. There are some free chapters of the book available: Chapter 3: The Secure Software Development Lifecycle http://www.devsource.com/article2/0,1895,2055988,00.asp Charter 4: Risk-Based Security Testing: Prioritizing Security Testing with Threat Modeling http://www.prnewswire.com/mnr/veracode/26386/docs/Wysopal_Rev-Chapter%2004.pdf Chapter 5: Shades of Analysis: White, Gray, and Black Box Testing http://computerworld.com/action/article.do?command=viewArticleBasic&taxonomyName=security&articleId=9006870&taxonomyId=17&intsrc=kc_feat Cheers, Chris On Mon, 22 Jan 2007, Kenneth Van Wyk wrote: > Greetings SC-L folk, > > FYI, there's been a wave of new content added to the DHS-funded > software security portal, Build Security In (home URL is http:// > BuildSecurityIn.us-cert.gov). Most recently, a couple of articles > about penetration testing and tools were added (see > https://buildsecurityin.us-cert.gov/daisy/bsi/articles/best-practices/ > penetration/655.html?branch=1&language=1). > > (Full disclosure: I'm the author of the pen testing articles, but > don't let that stop you from grabbing them. ;-) > > All of the articles on the BSI portal are free. > > Cheers, > > Ken > ----- > Kenneth R. van Wyk > SC-L Moderator > KRvW Associates, LLC > http://www.KRvW.com > > > > > From peter.werner at gmail.com Tue Jan 23 21:56:49 2007 From: peter.werner at gmail.com (pete werner) Date: Wed, 24 Jan 2007 13:56:49 +1100 Subject: [SC-L] Vulnerability tallies surged in 2006 | The Register In-Reply-To: <91AE4941-4AB8-4D15-B37C-46E40C68B707@krvw.com> References: <91AE4941-4AB8-4D15-B37C-46E40C68B707@krvw.com> Message-ID: <6378f48a0701231856y1ccf7dfam2f4e4b6022e154d@mail.gmail.com> This strikes me as largely meaningless, bordering on good news. More bugs found = more bugs fixed = more secure software. I dont really think you can compare the numbers from 2001 and 2006 though. There's way more people looking for bugs now than there were in 2001. Maybe there were more bugs around in 2001 as secure coding practises still weren't well known, and security was nowhere as mainstream as it is now, so your average developer was less aware of secure coding practises and techniques. Also, nowadays people rush to disclose vulnerabilites, no matter how minor they may be. There were plenty of vulnerabilites discovered in 2001 that weren't publicly disclosed, and some that probably still remain undisclosed. I would be interested to see what conclusions you can actually draw from these figures (really). On 1/23/07, Kenneth Van Wyk wrote: > > FYI, CERT/CC reported 8064 software vulnerabilities in 2006, for a 35% > increase over 2005. > > See > http://www.theregister.co.uk/2007/01/21/2006_vulns_tally/ > > The article further states, "The greatest factor in the skyrocketing number > of vulnerabilities is that certain types of flaws in community and > commercial Web applications have become much easier to find, said Art > Manion, vulnerability team lead for the CERT Coordination Center. > > 'The best we can figure, most of the growth is due to fairly > easy-to-discover vulnerabilities in Web applications," Manion said. "They > are easy to find, easy to create, and easy to deploy.'" > > Cheers, > > Ken > ----- > Kenneth R. van Wyk > SC-L Moderator > KRvW Associates, LLC > http://www.KRvW.com > > > > > > _______________________________________________ > Secure Coding mailing list (SC-L) SC-L at securecoding.org > List information, subscriptions, etc - > http://krvw.com/mailman/listinfo/sc-l > List charter available at - > http://www.securecoding.org/list/charter.php > SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) > as a free, non-commercial service to the software security community. > _______________________________________________ > > > > From dinis at ddplus.net Wed Jan 24 05:54:38 2007 From: dinis at ddplus.net (Dinis Cruz) Date: Wed, 24 Jan 2007 10:54:38 +0000 Subject: [SC-L] Vulnerability tallies surged in 2006 | The Register In-Reply-To: <6378f48a0701231856y1ccf7dfam2f4e4b6022e154d@mail.gmail.com> References: <91AE4941-4AB8-4D15-B37C-46E40C68B707@krvw.com> <6378f48a0701231856y1ccf7dfam2f4e4b6022e154d@mail.gmail.com> Message-ID: <701fd6b60701240254m445c9005ia7bba84cb0e65296@mail.gmail.com> You also are not taking into account the number of vulnerabilities that are discovered by security consultants under NDA which are never published. I have lost the count on the number of vulnerabilities (at the time zero-days) that I have discovered in commercial software and where never published (and in some cases even patched or communicated to their clients/users). And when talking to my peers, I would estimate that if these vulnerabilities discovered under NDAs where reported, the number below would be much, much, much bigger. Maybe one day when companies are forced (by law) to disclose the vulnerabilities that they know exist in their products (maybe in a format similar to http://research.eeye.com/html/advisories/upcoming/), we will have a good picture of what is really going on. Dinis Cruz Chief OWASP Evangelist http://www.owasp.org On 1/24/07, pete werner wrote: > > This strikes me as largely meaningless, bordering on good news. More > bugs found = more bugs fixed = more secure software. > > I dont really think you can compare the numbers from 2001 and 2006 > though. There's way more people looking for bugs now than there were > in 2001. Maybe there were more bugs around in 2001 as secure coding > practises still weren't well known, and security was nowhere as > mainstream as it is now, so your average developer was less aware of > secure coding practises and techniques. > > Also, nowadays people rush to disclose vulnerabilites, no matter how > minor they may be. There were plenty of vulnerabilites discovered in > 2001 that weren't publicly disclosed, and some that probably still > remain undisclosed. > > I would be interested to see what conclusions you can actually draw > from these figures (really). > > On 1/23/07, Kenneth Van Wyk wrote: > > > > FYI, CERT/CC reported 8064 software vulnerabilities in 2006, for a 35% > > increase over 2005. > > > > See > > http://www.theregister.co.uk/2007/01/21/2006_vulns_tally/ > > > > The article further states, "The greatest factor in the skyrocketing > number > > of vulnerabilities is that certain types of flaws in community and > > commercial Web applications have become much easier to find, said Art > > Manion, vulnerability team lead for the CERT Coordination Center. > > > > 'The best we can figure, most of the growth is due to fairly > > easy-to-discover vulnerabilities in Web applications," Manion said. > "They > > are easy to find, easy to create, and easy to deploy.'" > > > > Cheers, > > > > Ken > > ----- > > Kenneth R. van Wyk > > SC-L Moderator > > KRvW Associates, LLC > > http://www.KRvW.com > > > > > > > > > > > > _______________________________________________ > > Secure Coding mailing list (SC-L) SC-L at securecoding.org > > List information, subscriptions, etc - > > http://krvw.com/mailman/listinfo/sc-l > > List charter available at - > > http://www.securecoding.org/list/charter.php > > SC-L is hosted and moderated by KRvW Associates, LLC ( > http://www.KRvW.com) > > as a free, non-commercial service to the software security community. > > _______________________________________________ > > > > > > > > > _______________________________________________ > Secure Coding mailing list (SC-L) SC-L at securecoding.org > List information, subscriptions, etc - > http://krvw.com/mailman/listinfo/sc-l > List charter available at - http://www.securecoding.org/list/charter.php > SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) > as a free, non-commercial service to the software security community. > _______________________________________________ > -- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070124/262d7366/attachment.html From avis at bll.co.il Thu Jan 25 02:05:52 2007 From: avis at bll.co.il (Avi Shvartz) Date: Thu, 25 Jan 2007 09:05:52 +0200 Subject: [SC-L] WEB2.0 Security Issues Message-ID: Hello list, Lately I read some articles that cover WEB2.0 from various aspects (social, technical etc.). What I am missing is a reference to security & privacy issues related to WEB2.0. I would like to hear opinions what are the new security & privacy concerns that WEB2.0 Creates and if possible, links to relevant resources Thanks, Avi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070125/3cfdf573/attachment.html From mouse at Rodents.Montreal.QC.CA Thu Jan 25 15:45:15 2007 From: mouse at Rodents.Montreal.QC.CA (der Mouse) Date: Thu, 25 Jan 2007 15:45:15 -0500 (EST) Subject: [SC-L] Dark Reading - Discovery and management - Security Startups Make Debut - Security News Analysis In-Reply-To: References: <270CB489-9CD1-46A6-85D5-45A97868CF6C@krvw.com> Message-ID: <200701252054.PAA23191@Sparkle.Rodents.Montreal.QC.CA> >> Opinions on binary vs. source code (and design!) analysis, anyone? > Analyzing source code is independent of machine architecture. Only if the code is (supposed to be) architecture-independent. If the code is deliberately architecture-dependent, static analysis needs to know that, and know which the salient properties of its target architecture(s) is(are), in order to do a proper job. > Efforts which merely change attacker behavior are a waste of time. I disagree. It depends on the effort required to provoke the change, the change in attacker behaviour, and the tradeoffs involved in the threat model. To pick a historic example, fixing the "rlogin -l -froot" bug "merely" changed attacker behaviour to password guessing, but in most environments it was nevertheless a win. /~\ The ASCII der Mouse \ / Ribbon Campaign X Against HTML mouse at rodents.montreal.qc.ca / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B From crispin at novell.com Thu Jan 25 01:20:34 2007 From: crispin at novell.com (Crispin Cowan) Date: Thu, 25 Jan 2007 17:20:34 +1100 Subject: [SC-L] Dark Reading - Discovery and management - Security Startups Make Debut - Security News Analysis In-Reply-To: References: <270CB489-9CD1-46A6-85D5-45A97868CF6C@krvw.com> Message-ID: <45B84C32.2080907@novell.com> ljknews wrote: > My guess is that if a company actually is capable of analyzing > binary code they only do it for the highest volume instruction > sets. > They certainly will focus on larger markets first. If you want them to focus on *your* market, make it worth their while :) SUSE Linux does a lot for the Z series mainframe market because they are willing to pay for it. The market for, say, Motorola 88000 CPUs is relatively sparse :) > My guess is that attackers will go after machines they feel are > less protected. > I fully disagree with that. There are 2 kinds of attackers: 1. Bottom feeders. These people troll for very common vulnerabilities with scanners and worms, trying to build botnets. There are *plenty* of people with unprotected x86 machines, so that is what they target, regardless of any optional technology add-ons people develop for that platform. 2. Targeted attackers. These people are professionals, and they are going after a specific target. They don't select targets on the basis of vulnerability, they select the target for external reasons having nothing to do with the defenses deployed. In between would be criminals of opportunity who seek targets that are both valuable and soft. But that is really just a more sophisticated variant of #1. As a defender, you need to care about the strength of your defense in proportion to the value of your assets. If your assets are not particularly valuable, then only deploy the basic defenses to shed the ankle biters in class 1. If your assets are more valuable, then deploy more thorough/expensive defenses until the cost of the defenses exceeds the calculated risk to your assets. Crispin -- Crispin Cowan, Ph.D. http://crispincowan.com/~crispin/ Director of Software Engineering, Novell http://novell.com Hacking is exploiting the gap between "intent" and "implementation" From ljknews at mac.com Sat Jan 27 21:17:09 2007 From: ljknews at mac.com (ljknews) Date: Sat, 27 Jan 2007 21:17:09 -0500 Subject: [SC-L] Dark Reading - Discovery and management - Security Startups Make Debut - Security News Analysis In-Reply-To: <45B84C32.2080907@novell.com> References: <270CB489-9CD1-46A6-85D5-45A97868CF6C@krvw.com> <45B84C32.2080907@novell.com> Message-ID: At 5:20 PM +1100 1/25/07, Crispin Cowan wrote: > ljknews wrote: >> My guess is that if a company actually is capable of analyzing >> binary code they only do it for the highest volume instruction >> sets. >> > They certainly will focus on larger markets first. If you want them to > focus on *your* market, make it worth their while :) So I should pay to have them check the work of my vendors ? Or I would convince my vendors to pay them ? Sorry, my business is not that large a fraction of my vendors' customer base. -- Larry Kilgallen From list-procurare at secureconsulting.net Mon Jan 29 00:21:02 2007 From: list-procurare at secureconsulting.net (Benjamin Tomhave) Date: Mon, 29 Jan 2007 00:21:02 -0500 Subject: [SC-L] WEB2.0 Security Issues In-Reply-To: Message-ID: <006701c74365$44a6d2d0$0a01a8c0@zippy> Avi, This is an excellent question, which I've been mulling over the past few weeks... after taking a few days, here are my thoughts and concerns with Web 2.0... ------------------------------------- Web 2.0 vs. Privacy & Security Permalink: http://www.secureconsulting.net/2007/01/web_20_vs_privacy_security_1.html I've been thinking a lot lately about the impact of Web 2.0 on information security. I've read Tim O'Reilly's seminal "What Is Web 2.0" article that defines this new trend. I've attended Dion Hinchcliffe's Web 2.0 training. I've read (most of) The Long Tail and The World Is Flat. I get it. I understand this new surge in the Internet economy. I see myriad opportunities for monetization for anything that can be sold effectively online, for ad revenue, for social networking, and for further redefining the customer relationship experience. In the end, I do not see how any of this changes the fundamental issues within Privacy and Security. It does, however, potentially make things worse. Here's my take on some of these fundamental issues: * The Web 2.0 Paradox: Consumers are encouraged to push all their data to the intarweb, blindly trusting that corporations will handle that PII, etc., properly. Yet, the corporations do not have a fully vested interest in actually spending much money to protect that data. Corporations encourage this behavior because the more consumers push their data out, the more reason they have to visit the recipient sites, resulting in more uniqs and increased ad revenue. However, at the same time, these same corporations are declaring caveat emptor. They expect consumers to read and understand all shrinkwrap licenses/agreements (written by corps, for corps), and they also expect consumers to backup their own data. As technologists we think "yeah, so, I know how to deal with this, and kids growing up with this should, too." Ok, I agree, but to a certain point. We still have an intermediary generation that has not grown up with this technology, but likes to avail itself of new technology. There are limits to what education, training, and awareness can do for them. * Dumbing Down the Consumer: I'll be the first to admit that kids these days understand and use technology in ways that I find amazing. However, I also do not believe that these kids understand the security concerns inherent in these advances. Studies are starting to show that kids understand privacy issues (see here). But what about security? It's unclear that there is a commensurate expectation that corporations will properly protect and handle PII. At any rate, one of the goals of Web 2.0 seems to be lowering the bar for technical savvy in order to participate in this ever-expanding world. For corporations, this is a Good Thing (tm). The less savvy a user has to be to leverage a site, the broader the audience that can be reached, meaning the easier it becomes (in theory) to monetize the offering. But, in providing these easier interfaces (albeit with potentially greater end-user control), we are effectively decreasing the technical competency of the user pool, increasing the likelihood that people won't fully understand what they're up against, they won't appreciate the inherent security and privacy concerns, and they will blindly trust that corporations will behave properly, even if they have no fiscal motivation to do so. In essence, the average IQ of the Internet population decreases with the ubiquity of access and increasing simplicity of site navigation. * Dumbing Down the Developer: In addition to making the interface easier for the consumer, we're also seeing tools developed that make coding and creation a much easier prospect. Which is all good and fine, if people know what they're doing. But there is an inherent danger in having a decreasing number of corporatized people creating tools for the mass development world. Do we really trust these tools? Do we know what they really do? Salon.com had an article about this in September titled Why Johnny can't code. Also, what happens if the tool everyone is using has introduced a flaw in all the apps/sites that it was used to create? Now we see the platform extended beyond the OS to the development tool, and face potentially the same types of problems that malcode has represented for decades. * Legislative/Regulatory Catch-up (or About Face?): Especially in the U.S., legislation and regulations are still behind the curve in protecting consumers from data mishandling. The EU is definitely tracking on this better. For example, Germany has a law that states that all PII is owned by the consumer, not the corporation. This includes billing records. As such, if a consumer cancels service and requests that their data be deleted, the corporation is legally obligated to remove all that information, including from archives/backups. This law exemplifies the Web 2.0 mantra that the consumer owns the experience. We need more laws like this. * Data Security: The full gamut of traditional concerns apply, but are of even greater importance. While corporations may not have a legal or regulatory driver to protect consumer data, their reputations are increasingly at stake based on what they do with the data entrusted to them. As such, access management, data privacy protection, backups, business continuity, and application security (including secure coding) should be top concerns. The sooner companies realize, understand, and accept that security threats are a direct influence on the bottom line, the sooner the Web 2.0 giant can be aligned with sound security practices. The sooner we can make a coherent financial argument to executives on this correlation between the bottom line and corporate success, the more successful we will be in getting security best practices integrated into development and operational environments. This issue perhaps sounds remarkably familiar (it is). The twist, however, is that Web 2.0 puts an increased focus on the consumer-driven experience. Betray the consumer and you may lose your business altogether. This reality is closer today than it was 7 years ago when the bubble burst. * The Externality Game: Bruce Schneier has spoken numerous times about security as an externality. If the corporation doesn't feel pain in mismanaging data or trust placed with them, then what's their motivation in conforming to good practices? Ultimately, the solution is a combination of consumers taking control of the fate of corporations and government placing legislation with significant financial penalties in place to protect those consumers. Fortunately, Web 2.0 provides a new, unique method for consumers to flex their might in influencing other consumers to boycott or avoid badly behaving corporations. However, corporations still aren't fully motivated or required to disclose their bad behavior, meaning consumers can't always be well-informed. Tools like seller rating systems go part of the way toward remedying some of this concern, and now it's just a matter of new mashups being developed to extend this further. * Chasing the Data: One of the key tenets of Web 2.0 is the concept of mashups - a 3rd party site that pulls together information and/or services from 2 or more sites into one dynamic interface. I think we'll continue to see the growth of this approach in the coming years. It opens up one big headache for consumers: where's the data actually being stored? If I visit a mashup site, the potential exists that data I share through that site may not actually be saved on that site, but could in fact be saved at a combination of the 2+ sites that are being mashed up. Just because I have an agreement that I understand with the mashed site does not necessarily mean the same thing for the original sites that are being pulled into the mashup (or vice versa - liking agreements on source sites does not equate to liking the mashup site's agreement). This may also introduce issues of downstream liability. And then there are the potential issues with aggregation. What if mash-up siteA is leverage siteB and siteC that are actually owned by the same mega-corp? The consumer may not want mega-corp to have their aggregate data, yet will be unwittingly sending it over. * Who Owns the Layers: Just a brief point here, without getting into corporate politicking. Have you noticed the return of the telecom monopoly? AT&T and Verizon come to mind, as does the whole Net Neutrality battle. One company may own your experience at Layers 1-3. Corporations providing these great "free" Web 2.0 services own Layers 6-7. P2P and file sharing protocols are being attacked by the ever-popular targets RIAA, MPAA, and their crutch the DMCA. To quote a friend, "The only thing we're free to do is establish sessions and close them, everything else has somebody's paws on it." This is perhaps the great irony of Web 2.0. It looks and feels like FOSS, until you start looking closely and realize that the whole thing is owned end-to-end by corporations. Unless a law comes along that stipulates that the consumer owns their data at all times and in all places, then corporations are going to assume otherwise. * Universal IDs: One of the hot new things is OpenID and how the consumer now can have a universal ID which they control. All good and fine, but this OpenID also lowers the bar for consumer profiling. And, with the beauty of the information age, this also means that we can profile in an extremely granular way. But where do we stop? For example, what's to stop Law Enforcement from creating their own mashup (for their use only, of course), using an OpenID to track individuals, perhaps to the point of seeking so-called "terrorists"? Maybe this sounds ok on the surface, until we imagine the abuses, such as China has pursued for decades in suppressing free speech. If a consumer speaks out on their blog against the current government, what threshold will need to be crossed before the government identifies them as an agitator? This is not to say that there aren't potential benefits, particularly in terms of unlocking the long tail to market better to consumers. It just provides the start of the slippery slope argument. We need keep in mind the need to balance civil liberties against universal trackability. Why does privacy need to be an illusion? (*Note: A special thanks to my friend Bob Alberti of Sanction, Inc., for proof-reading and providing input on this posting.) --- Benjamin Tomhave, CISSP, NSA-IAM, NSA-IEM falcon at secureconsulting.net Web: http://falcon.secureconsulting.net/ LI: http://www.linkedin.com/pub/0/622/964 Blog: http://www.secureconsulting.net/ Photos: http://photos.secureconsulting.net/ "We must scrupulously guard the civil rights and civil liberties of all citizens, whatever their background. We must remember that any oppression, any injustice, any hatred is a wedge designed to attack our civilization." -President Franklin Delano Roosevelt ________________________________ From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org] On Behalf Of Avi Shvartz Sent: Thursday, January 25, 2007 2:06 AM To: sc-l at securecoding.org Subject: [SC-L] WEB2.0 Security Issues Hello list, Lately I read some articles that cover WEB2.0 from various aspects (social, technical etc.). What I am missing is a reference to security & privacy issues related to WEB2.0. I would like to hear opinions what are the new security & privacy concerns that WEB2.0 Creates and if possible, links to relevant resources Thanks, Avi From ken at krvw.com Tue Jan 30 05:24:40 2007 From: ken at krvw.com (Kenneth Van Wyk) Date: Tue, 30 Jan 2007 05:24:40 -0500 Subject: [SC-L] Dr. Dobb's | The Truth About Software Security | January 20, 2007 Message-ID: <3E104CC5-EDF8-4EFD-89B2-AD1BAA8FCD6F@krvw.com> FYI, there's an interesting article on ddj.com about a Symantec's new "Veracode" binary code analysis service. http://www.ddj.com/dept/security/196902326 Among other things, the article says, "Veracode clients send a compiled version of the software they want analyzed over the Internet and within 72 hours receive a Web-based report explaining--and prioritizing--its security flaws." Any SC-Lers have any first-hand experience with Veracode that they're willing to share here? Opinions? Cheers, Ken ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070130/6a7ffe07/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://krvw.com/pipermail/sc-l/attachments/20070130/6a7ffe07/attachment.bin From ljknews at mac.com Tue Jan 30 08:11:32 2007 From: ljknews at mac.com (ljknews) Date: Tue, 30 Jan 2007 08:11:32 -0500 Subject: [SC-L] Dr. Dobb's | The Truth About Software Security | January 20, 2007 In-Reply-To: <3E104CC5-EDF8-4EFD-89B2-AD1BAA8FCD6F@krvw.com> References: <3E104CC5-EDF8-4EFD-89B2-AD1BAA8FCD6F@krvw.com> Message-ID: At 5:24 AM -0500 1/30/07, Kenneth Van Wyk wrote: > Any SC-Lers have any first-hand experience with Veracode that they're > willing to share here? In particular, www.veracode.com says very little about what ISPs they will process. It also implies their analysis is centered around "the Common Weakness Enumeration (CWE) from MITRE and the Common Vulnerability Scoring System (CVSS) from FIRST". That might mean they are centered on Internet issues. -- Larry Kilgallen From mshines at purdue.edu Tue Jan 30 09:17:36 2007 From: mshines at purdue.edu (Michael S Hines) Date: Tue, 30 Jan 2007 09:17:36 -0500 Subject: [SC-L] Dr. Dobb's | The Truth About Software Security | January 20, 2007 In-Reply-To: <3E104CC5-EDF8-4EFD-89B2-AD1BAA8FCD6F@krvw.com> References: <3E104CC5-EDF8-4EFD-89B2-AD1BAA8FCD6F@krvw.com> Message-ID: <004a01c74479$64774c60$4ea7d280@central.purdue.lcl> One examining only source code will miss any errors or problems that may be introduced by the compiler or linker. As Symantec says - working with the object code is working at the level the attackers work. Of course one would have to verify the object code made public is the same object code that was analyzed/verified. Otherwise you could get the case where the code was advertised as 'checked' and it still have a vulnerability. Of course that could happen anyway - as the process probabily isn't perfect (thought much better than nothing). Not all compilers or linkers are perfect either. There is only one way to get it right, yet so many ways to get it wrong. Mike Hines ----------------------------- Michael S Hines mshines at purdue.edu _____ From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org] On Behalf Of Kenneth Van Wyk Sent: Tuesday, January 30, 2007 5:25 AM To: Secure Coding Subject: [SC-L] Dr. Dobb's | The Truth About Software Security | January 20,2007 FYI, there's an interesting article on ddj.com about a Symantec's new "Veracode" binary code analysis service. http://www.ddj.com/dept/security/196902326 Among other things, the article says, "Veracode clients send a compiled version of the software they want analyzed over the Internet and within 72 hours receive a Web-based report explaining--and prioritizing--its security flaws." Any SC-Lers have any first-hand experience with Veracode that they're willing to share here? Opinions? Cheers, Ken ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070130/9c829811/attachment.html From ge at linuxbox.org Tue Jan 30 10:53:09 2007 From: ge at linuxbox.org (Gadi Evron) Date: Tue, 30 Jan 2007 09:53:09 -0600 (CST) Subject: [SC-L] Dr. Dobb's | The Truth About Software Security | January 20, 2007 In-Reply-To: <004a01c74479$64774c60$4ea7d280@central.purdue.lcl> Message-ID: On Tue, 30 Jan 2007, Michael S Hines wrote: > One examining only source code will miss any errors or problems that may be > introduced by the compiler or linker. As Symantec says - working with the > object code is working at the level the attackers work. > > Of course one would have to verify the object code made public is the same > object code that was analyzed/verified. Otherwise you could get the case > where the code was advertised as 'checked' and it still have a > vulnerability. Of course that could happen anyway - as the process > probabily isn't perfect (thought much better than nothing). > > Not all compilers or linkers are perfect either. > > There is only one way to get it right, yet so many ways to get it wrong. One question which would be very interesting is whether this is just static analysis (which of course leads to other questions) or if this is done while the binary is running. Gadi. > > Mike Hines > > ----------------------------- > Michael S Hines > mshines at purdue.edu > > > _____ > > From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org] > On Behalf Of Kenneth Van Wyk > Sent: Tuesday, January 30, 2007 5:25 AM > To: Secure Coding > Subject: [SC-L] Dr. Dobb's | The Truth About Software Security | January > 20,2007 > > > FYI, there's an interesting article on ddj.com about a Symantec's new > "Veracode" binary code analysis service. > > http://www.ddj.com/dept/security/196902326 > > Among other things, the article says, "Veracode clients send a compiled > version of the software they want analyzed over the Internet and within 72 > hours receive a Web-based report explaining--and prioritizing--its security > flaws." > > > Any SC-Lers have any first-hand experience with Veracode that they're > willing to share here? Opinions? > > > Cheers, > > > Ken > > ----- > Kenneth R. van Wyk > SC-L Moderator > KRvW Associates, LLC > http://www.KRvW.com > > > > > From mouse at Rodents.Montreal.QC.CA Tue Jan 30 11:24:13 2007 From: mouse at Rodents.Montreal.QC.CA (der Mouse) Date: Tue, 30 Jan 2007 11:24:13 -0500 (EST) Subject: [SC-L] Dr. Dobb's | The Truth About Software Security | January 20, 2007 In-Reply-To: <004a01c74479$64774c60$4ea7d280@central.purdue.lcl> References: <3E104CC5-EDF8-4EFD-89B2-AD1BAA8FCD6F@krvw.com> <004a01c74479$64774c60$4ea7d280@central.purdue.lcl> Message-ID: <200701301629.LAA18425@Sparkle.Rodents.Montreal.QC.CA> > One examining only source code will miss any errors or problems that > may be introduced by the compiler or linker. As Symantec says - > working with the object code is working at the level the attackers > work. Some attackers, at least. I have no doubt there are plenty of attackers looking over source code hunting for logic bugs. I would say that anyone who thinks that either source-level analysis or binary-level analysis is the One True Answer is either talking about a severely restricted subset or is deluded. (Or, perhaps, is just trying to delude others. :-) Anything that finds bugs helps, whether it's eyeballs and brains, binary analysis tools, source-level analysis tools, magic 8-balls, whatever - if it finds bugs, it's good. /~\ The ASCII der Mouse \ / Ribbon Campaign X Against HTML mouse at rodents.montreal.qc.ca / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B From weld at vulnwatch.org Tue Jan 30 12:03:23 2007 From: weld at vulnwatch.org (Chris Wysopal) Date: Tue, 30 Jan 2007 12:03:23 -0500 (EST) Subject: [SC-L] Dr. Dobb's | The Truth About Software Security | January 20, 2007 In-Reply-To: <3E104CC5-EDF8-4EFD-89B2-AD1BAA8FCD6F@krvw.com> References: <3E104CC5-EDF8-4EFD-89B2-AD1BAA8FCD6F@krvw.com> Message-ID: Since I work at Veracode I won't pontificate on our service since I am biased but I want to correct something in your posting. Veracode is a separate company from Symantec. The technology was developed at @stake and after Symantec acquired @stake the technology was purchased by a new company, Veracode. -Chris On Tue, 30 Jan 2007, Kenneth Van Wyk wrote: > FYI, there's an interesting article on ddj.com about a Symantec's new > "Veracode" binary code analysis service. > > http://www.ddj.com/dept/security/196902326 > > Among other things, the article says, "Veracode clients send a > compiled version of the software they want analyzed over the Internet > and within 72 hours receive a Web-based report explaining--and > prioritizing--its security flaws." > > Any SC-Lers have any first-hand experience with Veracode that they're > willing to share here? Opinions? > > Cheers, > > Ken > ----- > Kenneth R. van Wyk > SC-L Moderator > KRvW Associates, LLC > http://www.KRvW.com > > > > > From ktriv3di at msn.com Tue Jan 30 11:43:06 2007 From: ktriv3di at msn.com (KT) Date: Tue, 30 Jan 2007 08:43:06 -0800 Subject: [SC-L] Good Magazines and Books References: <701fd6b60612141627s17fe9d16padd367d56a78b087@mail.gmail.com> Message-ID: List, What are some of the magazines the users of this list subscribe to? Any great technical software security / Information securoty books lately? I have been busy lately and havn't been able to keep up. The last good book I read was writing secure code 2 Thanks in advaance!! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070130/511734ff/attachment.html From mudge at uidzero.org Tue Jan 30 17:08:03 2007 From: mudge at uidzero.org (mudge) Date: Tue, 30 Jan 2007 17:08:03 -0500 Subject: [SC-L] Dr. Dobb's | The Truth About Software Security | January 20, 2007 In-Reply-To: References: <3E104CC5-EDF8-4EFD-89B2-AD1BAA8FCD6F@krvw.com> Message-ID: <2AB3DF64-5F96-45B4-A64E-55A3FBE5C2ED@uidzero.org> On Jan 30, 2007, at 12:03 PM, Chris Wysopal wrote: > Since I work at Veracode I won't pontificate on our service since I am > biased but I want to correct something in your posting. Veracode is a > separate company from Symantec. The technology was developed at > @stake > and after Symantec acquired @stake the technology was purchased by > a new company, Veracode. > > -Chris > The initial work on the code was started at the L0pht, development continued at @stake where the intellectual property was transfered (sold) into @stake (due to the unique intellectual property agreements that had been cut during the intial creation of @stake w/ the l0pht), which resulted in Symantec acquiring it with the @stake acquisition. Not that it really matters at this point :) Just nit-picking :) .mudge From secureCoding2dave at davearonson.com Tue Jan 30 16:02:31 2007 From: secureCoding2dave at davearonson.com (SC-L Subscriber Dave Aronson) Date: Tue, 30 Jan 2007 21:02:31 +0000 Subject: [SC-L] Good Magazines and Books Message-ID: KT [mailto:ktriv3di at msn.com] writes (to TWO LISTS, PLEASE DON'T DO THAT): > What are some of the magazines the users of this list subscribe to? My top three, at least in this field would be: ACM Queue Information Security Software Development Please note that the second list has BEEN REMOVED, so as to at least dampen the combinatorial explosion of replies to replies to replies ad infinitum. -Dave -- Dave Aronson "Specialization is for insects." -Heinlein Work: http://www.davearonson.com/ Play: http://www.davearonson.net/ From gem at cigital.com Wed Jan 31 08:58:41 2007 From: gem at cigital.com (Gary McGraw) Date: Wed, 31 Jan 2007 08:58:41 -0500 Subject: [SC-L] FW: Good Magazines and Books Message-ID: <3F5AB9CDDAD2CC4A80D0FCDCF2755DFB7E8600@va-mail.cigital.com> Let's try that again... -----Original Message----- From: Gary McGraw Sent: Wed Jan 31 07:22:57 2007 To: 'SC-L Subscriber Dave Aronson' Subject: Re: [SC-L] Good Magazines and Books I believe the number one magazine is: IEEE security & privacy - especially the BSI series Followed in a distant way by IEEE software - with issues on software security every once in a while Information Security gem company www.cigital.com podcast www.cigital.com/silverbullet book www.swsec.com. -----Original Message----- From: SC-L Subscriber Dave Aronson [mailto:secureCoding2dave at davearonson.com] Sent: Wed Jan 31 01:11:04 2007 To: Secure Coding Subject: Re: [SC-L] Good Magazines and Books KT [mailto:ktriv3di at msn.com] writes (to TWO LISTS, PLEASE DON'T DO THAT): > What are some of the magazines the users of this list subscribe to? My top three, at least in this field would be: ACM Queue Information Security Software Development Please note that the second list has BEEN REMOVED, so as to at least dampen the combinatorial explosion of replies to replies to replies ad infinitum. -Dave -- Dave Aronson "Specialization is for insects." -Heinlein Work: http://www.davearonson.com/ Play: http://www.davearonson.net/ _______________________________________________ Secure Coding mailing list (SC-L) SC-L at securecoding.org List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l List charter available at - http://www.securecoding.org/list/charter.php SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) as a free, non-commercial service to the software security community. _______________________________________________ ---------------------------------------------------------------------------- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- From jepstein at webmethods.com Wed Jan 31 11:39:14 2007 From: jepstein at webmethods.com (Jeremy Epstein) Date: Wed, 31 Jan 2007 11:39:14 -0500 Subject: [SC-L] FW: Good Magazines and Books Message-ID: Having lurked on this list for a while, I'll chime in. The answer depends on what you're trying to learn. If your goal is latest thinking, concepts, etc., I agree with GEM that IEEE S&P is best. If you want to know about the latest products, what's going on in the market, try Information Security magazine (infosecuritymag.techtarget.com). If you want to know what CSOs are worrying about (not just computer/network security, but also physical security, personnel security, etc.) see CSO Magazine (www.csoonline.com). I'm sure there are other "bests" depending on what your goal is. So the answer is: it depends. As for books (the second part of the question), again, it depends on what you're interested in. As a selection, I like Ross Anderson's "Security Engineering" as a basic text that covers a bit of everything, and Matt Bishop's text is encyclopedic. Of course GEM's books are excellent choices for understanding software aspects of security. Chris Wysopal's new testing book is excellent. And Ken van Wyk has a great handbook on secure coding practices. [Kudos to GEM, Chris, and Ken for not flogging their own books - since I don't have a book, I'll feel free to flog theirs.] There are many other great books, but you've got to narrow the topic a bit! --Jeremy From everhart at gce.com Wed Jan 31 21:26:48 2007 From: everhart at gce.com (Glenn and Mary Everhart) Date: Wed, 31 Jan 2007 21:26:48 -0500 Subject: [SC-L] Could mandates on disclosing software effects benefit security? Message-ID: <45C14FE8.4090401@gce.com> Hi, all... As I think about what trust is needed for computer operation, it seems at the moment we all play blind man's bluff... That is, we are given software from various points and asked to "just trust" the provider sight unseen, and with no simple way to find what the software should be doing. Now, on the other hand, if a software package being installed or used had a specification of what exactly it writes and why it writes it, a user might reasonably hope to allow or disallow some of the writing, and might hope to be able to detect when some part of his machine's state was being altered where it should not be. In such a case, noticing and blocking viral or Trojan behavior becomes relatively easy, and a vendor tempted to add backdoors or worms or adware would have to include that within his list of what was done. Ideally such a list could be enforced during installs so that undisclosed actions would simply not take place, and fraudulent explanations might be subject of civil and criminal liability. (I would presume too that disclosing un-obfuscated source code would be an acceptable, if not as good, way to disclose effects.) There would be some vendors who would scream that they could not hide their secrets with such requirements, but I have seen plenty of cases where license keys and the like have been successfully managed even in systems open in this way. Automated behavior detecting systems have implemented some of this kind of checking for a long time, at least as far back as my own "Safety" package's "paranoid mode" (1993) and probably much further, and in numerous Linux and Windows monitoring systems today. Their problem is that they attempt to gather information about what actions are "normal" by watching installations or operation, and as Sony showed last year, even companies often thought of as ethical sometimes have software that does things to your computer you may not authorize and should know about. Question is: would it make sense to lobby for disclosure requirements of all writes software does, to whatever, and reasons for them, as conditions to make it fit for sale? Perhaps likewise to be a (or the?) defense against claims the software is doing things to others' machines without authoriation? Certainly such lists would require more of everyone installing software, at least in principle (I imagine permission interpreters would alleviate most work), but they would also make it possible for the first time to give trust in an informed way. With reports of 25% of the net being infected with malware, it could be high time for something to allow trust not to be as promiscuously given as in the past. Glenn C. Everhart (Everhart at gce.com home) From bugtraq at cgisecurity.net Thu Feb 1 01:10:13 2007 From: bugtraq at cgisecurity.net (bugtraq at cgisecurity.net) Date: Thu, 1 Feb 2007 01:10:13 -0500 (EST) Subject: [SC-L] Could mandates on disclosing software effects benefit In-Reply-To: <45C14FE8.4090401@gce.com> Message-ID: <20070201061013.10027.qmail@cgisecurity.net> > Question is: would it make sense to lobby for disclosure requirements of all > writes software does, to whatever, and reasons for them, as conditions to make > it fit for sale? Perhaps likewise to be a (or the?) defense against claims the > software is doing things to others' machines without authoriation? > > Certainly such lists would require more of everyone installing software, at > least in principle (I imagine permission interpreters would alleviate most > work), but they would also make it possible for the first time to give trust in > an informed way. > People see Microsoft in the news all the time for having vulnerabilities and it isn't stopping them from making money. Regarding websites, myspace and other large online companies have also been bitten and aren't being negative affected. I think creation of federal guidelines requiring security in the development cycle would be a much more practical way to force people to implement appropriate baseline security measures. To some extent policies such as SOX are starting this process regarding certain types of data or environments. In the majority of causes without the threat of preventing business, you're not going to get people to do anything unless they absolutely need to. Regards, - Robert http://www.cgisecurity.com/ http://www.webappsec.org/ http://www.qasec.com/ From KClark-Fisher at computer.org Thu Feb 1 12:01:40 2007 From: KClark-Fisher at computer.org (KClark-Fisher at computer.org) Date: Thu, 1 Feb 2007 09:01:40 -0800 Subject: [SC-L] free wine + IEEE S&P at RSA + free wine! Message-ID: Hi sc-ler, I know that many of you follow the Building Security In department in IEEE Security & Privacy magazine, now edited by John Steven and Gunnar Peterson (and started several years ago by Silver Bullet Security Podcast host Gary McGraw). I'm interested in your feedback on the department (and the podcast too for that matter). What do you like? What do you want to see? Is S&P meeting the needs of the software security community on this list? If you're going to RSA, make sure to attend the IEEE S&P hosted panel Rootkits: Beyond Good and Evil on Tuesday, Feb 6th at 1:30 pm. The panel is moderated by Gary McGraw and features panelists Greg Hoglund, Jamie Butler (esteemed authors of Rootkits), Bill Arbaugh (UMd prof), and Ivan Arce (Core Security). We'd love to see you there! Come learn about rootkits, the ultimate tool in the attacker's arsenal (and Sony's arsenal too). Most important, afterward we're hosting a meet-and-greet reception with free wine and appetizers. This is your chance to schmooze with the panelists and talk software security. Hope to see you there! Kathy +++++++++++++++++ Kathleen Clark-Fisher Associate Editor, IEEE Security & Privacy 10662 Los Vaqueros Circle Los Alamitos, CA 90720 714.821.8380 x 3146 kclark-fisher at computer.org www.computer.org/security From everhart at gce.com Thu Feb 1 21:50:27 2007 From: everhart at gce.com (Glenn and Mary Everhart) Date: Thu, 01 Feb 2007 21:50:27 -0500 Subject: [SC-L] Could mandates on disclosing software effects benefit In-Reply-To: <20070201061013.10027.qmail@cgisecurity.net> References: <20070201061013.10027.qmail@cgisecurity.net> Message-ID: <45C2A6F3.9050209@gce.com> bugtraq at cgisecurity.net wrote: >> Question is: would it make sense to lobby for disclosure requirements of all >> writes software does, to whatever, and reasons for them, as conditions to make >> it fit for sale? Perhaps likewise to be a (or the?) defense against claims the >> software is doing things to others' machines without authoriation? >> >> Certainly such lists would require more of everyone installing software, at >> least in principle (I imagine permission interpreters would alleviate most >> work), but they would also make it possible for the first time to give trust in >> an informed way. >> > > People see Microsoft in the news all the time for having vulnerabilities and it isn't stopping > them from making money. Regarding websites, myspace and other large online companies have also > been bitten and aren't being negative affected. > > I think creation of federal guidelines requiring security in the development cycle would be a much more > practical way to force people to implement appropriate baseline security measures. To some extent > policies such as SOX are starting this process regarding certain types of data or environments. > > In the majority of causes without the threat of preventing business, you're not going to get people to do anything unless they > absolutely need to. > > Regards, > > - Robert > http://www.cgisecurity.com/ > http://www.webappsec.org/ > http://www.qasec.com/ > > > > Enforcing "security" in development would however be so nebulous as to be unenforceable. On the other hand, disclosure of where anything was writing to the state of your machine can be done, and reasons given, regardless what attacks might exist. It is not a DIRECT security measure, but it could be effective if it were generally done. It does not mean any software must be secure, and does not directly assault the ridiculously unfair common "license agreement" conditions software vendors get away with. It would however mean a vendor must tell you what his program is going to do to your machine and why. If applied to Windows, it would mean a Windows license would entitle you to info about what every registry setting did, what was run at start or autonomously later, about most every now-hidden side effect of system calls (if they change machine state), and so on. It would not mean that every format would need to be disclosed, so if for example a registry entry were written with a license key in it, it would be necessary to say the entry had a key written to it, but the algorithm and data used to compute this would not need to be disclosed. You as machine owner could tell if you wanted to allow that operation or not. On the other hand most every piece of malware that changes machine state somehow would be writing something and infected code might be expected to be doing detectable writes somewhere that uninfected code did not. I will submit that the bulk of kernel expertise at this point appears to be in the hands of malware folks, and absent some changes of environment like this, connected computing outside of MAYBE non-programmable appliances is going to be impossible. "Getting security designs used" has been tried repeatedly, has never worked in the "popular" systems. A few OSs exist that do better and there is some good research, but as long as people are not in the habit of demanding to know what software X is doing, and they just run it and hope it won't damage their systems too much, their machines will continue to be owned. What I suggest is admittedly a libertarian kind of solution, in that it allows most anything to be out there, provided everybody is told exactly what it it. If people want the software equivalent of eating ground glass for themselves, as long as they are told what will happen, it is up to them. Evolution swings into action... On the other hand it does not try to mandate perfect software, and since the skill to write perfect software is darn rare and expensive, it does not demand people stop using what they can get. Requiring design considerations is in effect a kind of Prohibition (and will feed crime enterprises just the same). Requiring only some disclosure means more labels or pamphlets need to be produced (they are cheap to disseminate in the networked age!) but lets software be built by whoever tries. If it were possible to get decent security quality labels on software I would suggest those too. If we started with modification disclosure, it might be possible to evolve in that direction. Then the cost of protecting oneself would drop. But let's start with something that might be doable and that can be done technically by most everyone. Glenn Everhart From gem at cigital.com Fri Feb 2 11:32:17 2007 From: gem at cigital.com (Gary McGraw) Date: Fri, 2 Feb 2007 11:32:17 -0500 Subject: [SC-L] Anotated Bibliography from Software Security (take 2) Message-ID: <3F5AB9CDDAD2CC4A80D0FCDCF2755DFB7FC3B3@va-mail.cigital.com> Ken rejected my first attempt at pass by value, so here's pass by reference instead! See the email below for an explanation. http://www.swsec.com/book/annotated-biblio-from-SS.pdf -----Original Message----- From: Gary McGraw Sent: Friday, February 02, 2007 12:56 AM Hi all, I got to thinking about the "what should I read" question while trying to avoid working on my next book. It turns out that I built just such a list with a huge number of references when I was writing "Software Security." The list also includes my unmitigated opinion about each paper or book. The relevant part for the thread we were on is the list of the top 5 things you should read in the field. Anyway, without further ado and completely free of charge, here is Chapter 13 from "Software Security: Building Security In"...my annotated bibliography. [see URL above.] Hope this helps. gem company www.cigital.com podcast www.cigital.com/silverbullet book www.swsec.com ---------------------------------------------------------------------------- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- From ktriv3di at msn.com Fri Feb 2 16:13:40 2007 From: ktriv3di at msn.com (KT) Date: Fri, 2 Feb 2007 13:13:40 -0800 Subject: [SC-L] Meeting at RSA next week? References: Message-ID: How many of the list members are going to RSA? Any plans to get together for some coffee? From bugtraq at cgisecurity.net Fri Feb 2 19:50:06 2007 From: bugtraq at cgisecurity.net (bugtraq at cgisecurity.net) Date: Fri, 2 Feb 2007 19:50:06 -0500 (EST) Subject: [SC-L] Meeting at RSA next week? In-Reply-To: Message-ID: <20070203005006.19935.qmail@cgisecurity.net> I'll be there. - Robert http://www.cgisecurity.com/ http://www.webappsec.org/ > > How many of the list members are going to RSA? Any plans to get together for > some coffee? > > _______________________________________________ > Secure Coding mailing list (SC-L) SC-L at securecoding.org > List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l > List charter available at - http://www.securecoding.org/list/charter.php > SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) > as a free, non-commercial service to the software security community. > _______________________________________________ > From gem at cigital.com Fri Feb 2 20:22:30 2007 From: gem at cigital.com (Gary McGraw) Date: Fri, 2 Feb 2007 20:22:30 -0500 Subject: [SC-L] Meeting at RSA next week? Message-ID: <3F5AB9CDDAD2CC4A80D0FCDCF2755DFB7E8696@va-mail.cigital.com> I'll be there. I have two panels. Come to the ieee s&p reception after the rootkits panel. gem company www.cigital.com podcast www.cigital.com/silverbullet book www.swsec.com -----Original Message----- From: KT [mailto:ktriv3di at msn.com] Sent: Fri Feb 02 20:04:40 2007 To: Secure Coding Subject: [SC-L] Meeting at RSA next week? How many of the list members are going to RSA? Any plans to get together for some coffee? _______________________________________________ Secure Coding mailing list (SC-L) SC-L at securecoding.org List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l List charter available at - http://www.securecoding.org/list/charter.php SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) as a free, non-commercial service to the software security community. _______________________________________________ ---------------------------------------------------------------------------- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- From brian at fortifysoftware.com Fri Feb 2 23:20:51 2007 From: brian at fortifysoftware.com (Brian Chess) Date: Fri, 02 Feb 2007 20:20:51 -0800 Subject: [SC-L] Silverbullet: Fortify TAB In-Reply-To: Message-ID: We just posted the transcript from the Sliver Bullet podcast with the Fortify TAB: http://www.fortify.com/silverbullet Audio still available on the Silver Bullet site: http://www.cigital.com/silverbullet/show-010/ Brian --------------------- From: Reply-To: Date: Mon, 22 Jan 2007 18:57:28 -0800 To: Conversation: SC-L Digest, Vol 3, Issue 17 Subject: SC-L Digest, Vol 3, Issue 17 Date: Mon, 22 Jan 2007 15:43:02 -0500 From: "Gary McGraw" Subject: [SC-L] Silverbullet: Fortify TAB To: Message-ID: <3F5AB9CDDAD2CC4A80D0FCDCF2755DFB7FC218 at va-mail.cigital.com> Content-Type: text/plain; charset="us-ascii" Hi all, I am pleased to announce the tenth (!) episode of the "Silver Bullet Security Podcast with Gary McGraw" was released today. We tried something different in this episode by doing a group interview with the entire Fortify Technical Advisory Board. This was a super opportunity to cover software security from many different angles...which is precisely what I did. On the 'cast are the pontifacatory stylings of: * Bill Pugh, Professor at University of Maryland, static analysis for finding bugs * Li Gong, GM at Microsoft, MSN in China * Marcus Ranum, CSO of Tenable Network Security, security products trainer * Avi Rubin, Professor at Johns Hopkins, electronic voting security * Fred Schneider, Professor at Cornell, trustworthy computing * Greg Morrisett, Professor at Harvard, dependant type theory * Matt Bishop, Professor at UC Davis, computer security * Dave Wagner, Professor at Berkeley, software security and electronic voting To listen, hit http://www.cigital.com/silverbullet/show-010/ Also note that during the same TAB meeting, reporters from ZDNet stopped in and did an interview that resulted in this very software security o centric blog entry: http://blogs.zdnet.com/BTL/?p=4280 gem company www.cigital.com podcast www.cigital.com/silverbullet book www.swsec.com From Frank.Piessens at cs.kuleuven.be Fri Feb 9 04:12:09 2007 From: Frank.Piessens at cs.kuleuven.be (Frank Piessens) Date: Fri, 9 Feb 2007 10:12:09 +0100 Subject: [SC-L] OWASP Appsec Europe 2007: deadline for refereed papers extended! Message-ID: <923B6BA0-24C3-4F62-A740-8EA272367236@cs.kuleuven.be> [Forwarded from webappsec list...KRvW] Final Call For Papers Refereed Papers Track at OWASP AppSec Europe 2007 Conference Date: 16-17 May 2007 Location: Milan, Italy http://www.owasp.org/index.php/6th_OWASP_AppSec_Conference_-_Italy_2007 The Open Web Application Security Project (OWASP, http://www.owasp.org) is dedicated to finding and fighting the causes of insecure software. OWASP has dozens of projects and over 50 chapters worldwide focused on application security. Our high quality tools and documentation are used everywhere, including the freely available book-length "Guide to Secure Web Applications and Services", the leading web application penetration testing tool called "WebScarab", and an advanced web application security training application called "WebGoat". The OWASP Foundation, a not-for-profit charitable organization, ensures the ongoing availability and support for this work. The OWASP AppSec conferences (http://www.owasp.org/index.php/Category:OWASP_AppSec_Conference) bring together application security experts, researchers and practitioners from all over the world. Industry and academia can meet to discuss open problems and new solutions in application security. The conferences offer tutorials, keynotes, and invited presentations. As in 2006, the OWASP AppSec Europe 2007 conference will feature a refereed papers track. The goal of the refereed papers track is twofold: 1) to give academic researchers in web application security the opportunity to share their research results with practitioners, and 2) to give industry people the possibility to share experiences with the OWASP community. Hence both research papers as well as experience papers pertaining to all aspects of web application security are solicited. Papers should describe new ideas, new implementations, or experiences related to web application security. Topics of interest include, but are not limited to: - Web application security - Threat modeling of web applications - Vulnerability analysis of web applications (code review, pentest, static analysis, scanning) - Countermeasures for web application vulnerabilities - Secure coding techniques - Static and dynamic analysis of web application technologies - Platform or language (e.g. Java, .NET) security features that help secure web applications - Open source framework features that help secure web applications - How to use databases securely in web applications - Experiences or new ideas on Secure Development Lifecycles (SDLC) - Experiences using web application security scanning or code analysis tools - Access control in web applications - Trusted computing solutions for web applications - Non-repudiation in web applications - Web services security - AJAX security - Security of Service Oriented Architectures It is explicitly allowed to submit papers that have already been published, but in a publication channel with a different audience. In particular, papers that have already been presented at academic conferences are welcomed, and will be refereed on how interesting and valuable they are to an OWASP audience. Authors are encouraged to motivate in the paper why they consider the paper relevant for the OWASP audience. For accepted papers, and where allowed by possibly existing copyrights on the paper, the papers will be published in a proceedings distributed as a technical report from the Katholieke Universiteit Leuven, Belgium. Important dates: (NOTE: deadline has been extended to Mar 1!) Submission deadline (Draft Paper): Mar 1, 2007 Notification of acceptance: Mar 30, 2007 Final version due: April 15, 2007 Conference: 16-17 May Instructions for authors: Submissions should be at most 12 pages long in the Springer LNCS Style for Proceedings and Other Multiauthor Volumes. Templates for preparing papers in this style for LaTeX, Word, and other word processors can be downloaded from: http://www.springer.com/sgw/cda/frontpage/ 0,11855,5-164-2-72376-0,00.html All submissions should be sent in Adobe Portable Document Format (pdf) to Frank Piessens at Frank.Piessens_at_cs.kuleuven.be. Programme Committee: Sebastien Deleersnyder, Ascure Lieven Desmet, Katholieke Universiteit Leuven Martin Johns, University of Hamburg Benjamin Livshits, Microsoft Research Andr? Mari?n, Ubizen Mattia Monga, Universit? degli Studi di Milano, Italy Johan Peeters, secappdev.org Frank Piessens, Katholieke Universiteit Leuven (chair) Erik Poll, Radboud Universiteit Nijmegen Maarten Rits, SAP Research Labs Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm ------------------------------------------------------------------------ ---- Join us on IRC: irc.freenode.net #webappsec The Web Security Mailing List: http://www.webappsec.org/lists/ websecurity/ The Web Security Mailing List Archives: http://www.webappsec.org/ lists/websecurity/archive/ http://www.webappsec.org/rss/websecurity.rss [RSS Feed] -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://krvw.com/pipermail/sc-l/attachments/20070209/c2c8752c/attachment.bin From dinis at ddplus.net Mon Feb 12 16:23:09 2007 From: dinis at ddplus.net (Dinis Cruz) Date: Mon, 12 Feb 2007 21:23:09 +0000 Subject: [SC-L] Show #21 - The One With Cruz Control ... In-Reply-To: <701fd6b60702111404i5f43dae4p6a6f467694c4d7f1@mail.gmail.com> References: <701fd6b60702111404i5f43dae4p6a6f467694c4d7f1@mail.gmail.com> Message-ID: <701fd6b60702121323h6fe4647eu6b0cbf80ab7863a6@mail.gmail.com> (posted with permission from the moderator) Hi, last week I did an audio interview with David from Uk's Next Generation User Group (http://www.nxtgenug.net) about OWASP and my work as a security consultant. You can listen to the Podcast here: http://www.nxtgenug.net/Podcasts.aspx?PodcastID=21 Or read the transcript here: http://www.nxtgenug.net/Interview.aspx?InterviewID=146 Btw, NxtGenUg is a great bunch of guys, so for the ones of you in the UK (and interested in .NET), you should participate in their events. As always, feedback is very welcomed Dinis Cruz Chief OWASP Evangelist, Are you a member yet? http://www.owasp.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070212/ce1392fd/attachment.html From crispin at novell.com Tue Feb 13 01:16:26 2007 From: crispin at novell.com (Crispin Cowan) Date: Mon, 12 Feb 2007 22:16:26 -0800 Subject: [SC-L] NDSS: Network and Distributed Systems Security Message-ID: <45D157BA.8050107@novell.com> This is the call for participation for the annual Network and Distributed System Security conference, starting in two weeks February 28th to March 2nd in San Diego http://www.isoc.org/isoc/conferences/ndss/07/ NDSS is a traditional scholarly academic security conference with a peer reviewed track of papers http://www.isoc.org/isoc/conferences/ndss/07/program.shtml However, this year we have made a special effort to make NDSS more relevant to security practitioners by adding an invited talks track focused on security threats by some leading practitioners. Our invited talks schedule is: * Keynote: Vernor Vinge, professor emeritus of computer science at UCSD, founder of the science fiction cyberpunk genre, quadruple Hugo award winner for the novels "A Fire Upon the Deep" and "A Deepness in the Sky", and the stories "Fast Times at Fairmont High" and "The Cookie Monster", and notable futurologist for the notion of the technological singularity. Of particular interest to me as a security geek is that software security is a key element of "Deepness in the Sky", and it is *correct* :) * H1kari of ToorCon speaking on "Breaking Wireless and Mac OS-X Encryption with FPGAs" * John Viega, McAfee Chief Security Architect on "Malware in the Real World" * Tom Liston, speaking on work with Ed Skoudis, on "Virtual Machine Security Issues" * Jim Hoagland, speaking on work with Oliver Friedrichs on "A Network Attack Surface Analysis of RTM Windows Vista" * Panel "Red Teaming and Hacking Games: How Much Do They Really Help?", moderated by Crispin Cowan, with panelists: o John Viega, Kenshoto/Defcon CtF organizer o Rodney Thayer, member of a winning Kenshoto/Defcon CtF team o Giovanni Vigna, professor UCSB, leader of 2005 Defcon CtF winning team o Dennis W. Mattison, member of organizing team for ToorCon RootWars CtF game o Rizzo, member of the GhettoHackers, who dominated Defcon CtF for 4 years, and then revolutionized the game with a new set of rules & infrastructure in 2001 We hope for a lively exchange of views in the "hall track" between academic security researchers and industrial security practitioners. Come share your skills and frighten a professor :) Crispin -- Crispin Cowan, Ph.D. http://crispincowan.com/~crispin/ Director of Software Engineering, Novell http://novell.com Hacking is exploiting the gap between "intent" and "implementation" From jgrembi at gmail.com Wed Feb 14 16:11:33 2007 From: jgrembi at gmail.com (Jason Grembi) Date: Wed, 14 Feb 2007 16:11:33 -0500 Subject: [SC-L] differences between Threat Analysis and Threat Modeling Message-ID: <930b20350702141311r62952e26q2c32111fda731d20@mail.gmail.com> Hi Ken, I am currently researching the differences between Threat Analysis and Threat Modeling. I thought your readers on the mailing list may give me a clearer distinction. How I understand it is that *both* identify security threats, determine risk, and create the right countermeasures by analyzing various types of documentation about the system and looking for vulnerabilities and/or areas of weakness. *Threat Analysis* ? is more *informal* way of 'eyeballing' system architecture and application design. *Threat Modeling* [Microsoft SDL] ? more *formal*, every requirement is modeled and scrutinized. Any additional help you or your readers can provide would be appreciated. Thanks Jason Grembi Web Developer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070214/c2a37207/attachment.html From shollatz at d.umn.edu Wed Feb 14 17:28:36 2007 From: shollatz at d.umn.edu (scott hollatz) Date: Wed, 14 Feb 2007 16:28:36 -0600 (CST) Subject: [SC-L] differences between Threat Analysis and Threat Modeling In-Reply-To: <930b20350702141311r62952e26q2c32111fda731d20@mail.gmail.com> References: <930b20350702141311r62952e26q2c32111fda731d20@mail.gmail.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Hi Ken, > > I am currently researching the differences between Threat Analysis and > Threat Modeling. > > I thought your readers on the mailing list may give me a clearer > distinction. > > > > How I understand it is that *both* identify security threats, determine > risk, and create the right countermeasures by analyzing various types of > documentation about the system and looking for vulnerabilities and/or areas > of weakness. > > > > *Threat Analysis* ? is more *informal* way of 'eyeballing' system > architecture and application design. > *Threat Modeling* [Microsoft SDL] ? more *formal*, every requirement is > modeled and scrutinized. > > Any additional help you or your readers can provide would be appreciated. I come from a mathematical modeling background, so my opinion may be skewed a little, but: analysis leads to a model which can be used in analysis - -- scott hollatz net shollatz at d.UMn.eDu information technology systems and services tel +1 218 726 8851 university of minnesota duluth mn usa fax +1 218 726 7674 -- "Asn aD ta zlAp em uT zt33rg" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (SunOS) iD8DBQFF040Z4og1WWfEVRsRAvd2AJ9P0pjcpsbgO0SWphxvL2PRTAaEYwCfeo6Z AqFy9OLNnUbd5DOYRcwKaws= =RyHS -----END PGP SIGNATURE----- From list-procurare at secureconsulting.net Wed Feb 14 21:30:59 2007 From: list-procurare at secureconsulting.net (Benjamin Tomhave) Date: Wed, 14 Feb 2007 21:30:59 -0500 Subject: [SC-L] differences between Threat Analysis and Threat Modeling In-Reply-To: <930b20350702141311r62952e26q2c32111fda731d20@mail.gmail.com> Message-ID: <005f01c750a9$545a07f0$0a01a8c0@zippy> Jason, I differentiate between the two like this: Threat Analysis looks at specific threats (e.g., msblaster, zotob, latest exploit of ). Threat Modeling looks at classes of threats (e.g., network-distributed malware, OS vulnerabilities of Type). Threat analysis is used as a component to various assessment techniques (vulnerability scanning, code review, etc.). The aggregation of data from multiple threat analyses within a define class of threat can then be used to develop a model of that threat. Threat modeling can then be used to look at the overall security and resilience of a system, instead of focusing on the minutae of every individual threat. Ergo, foci on anti-virus, OS hardening, patch management, etc. Practices developed in response to the modeling of classes of threats, the models for which were developed from analysis of the threats that resulted in their classification. Or something like that... cheers, -ben --- Benjamin Tomhave, CISSP, NSA-IAM, NSA-IEM falcon at secureconsulting.net Web: http://falcon.secureconsulting.net/ LI: http://www.linkedin.com/profile?viewProfile= &key=1539292 Blog: http://www.secureconsulting.net/ Photos: http://photos.secureconsulting.net/ "We must scrupulously guard the civil rights and civil liberties of all citizens, whatever their background. We must remember that any oppression, any injustice, any hatred is a wedge designed to attack our civilization." -President Franklin Delano Roosevelt _____ From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org] On Behalf Of Jason Grembi Sent: Wednesday, February 14, 2007 4:12 PM To: sc-l at securecoding.org Subject: [SC-L] differences between Threat Analysis and Threat Modeling Hi Ken, I am currently researching the differences between Threat Analysis and Threat Modeling. I thought your readers on the mailing list may give me a clearer distinction. How I understand it is that both identify security threats, determine risk, and create the right countermeasures by analyzing various types of documentation about the system and looking for vulnerabilities and/or areas of weakness. Threat Analysis - is more informal way of 'eyeballing' system architecture and application design. Threat Modeling [Microsoft SDL] - more formal, every requirement is modeled and scrutinized. Any additional help you or your readers can provide would be appreciated. Thanks Jason Grembi Web Developer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070214/9ee0c48c/attachment.html From gem at cigital.com Thu Feb 15 17:18:29 2007 From: gem at cigital.com (Gary McGraw) Date: Thu, 15 Feb 2007 17:18:29 -0500 Subject: [SC-L] Silver Bullet 11: Dorothy Denning Message-ID: <83B3489DF1064F4E90218770D953D36105693B@va-mail.cigital.com> Hi sc-lers, We've all been involved in the controversies surrounding disclosure, whether talking to malicious hackers is a good or bad idea, and whether security technology can be evil. One of the first people to ponder these things was Dorothy Denning. I'm pleased to have interviewed Dorothy for the eleventh episode of Silver Bullet. The resuling podcast is here: http://www.cigital.com/silverbullet/ Dorothy was once dubbed the "clipper chick" for her activities with the NSA and the government crypto plan (back during the crypto wars). And dhe made a name for herself in computer security way back before it was cool. gem company www.cigital.com podcast www.cigital.com/silverbullet book www.swsec.com ---------------------------------------------------------------------------- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- From ken at krvw.com Thu Feb 22 16:02:51 2007 From: ken at krvw.com (Kenneth Van Wyk) Date: Thu, 22 Feb 2007 16:02:51 -0500 Subject: [SC-L] Anyone here attending the 6th Semi-Annual Software Assurance Forum Message-ID: <81B3E7B7-7CD9-4DE6-B871-13AB4275A181@krvw.com> Anyone else here attending the 6th Semi-Annual Software Assurance Forum in Fairfax, Virginia on 8-9 March? Any interest in an after- event informal SC-L BoF and beer chat? Let me know and I'll gladly coordinate. (We already have several people "signed up" for the SC-L BoF at S3 in April. If you sent me an email, I'll be sending you the details as the event draws near.) Cheers, Ken ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://krvw.com/pipermail/sc-l/attachments/20070222/3d550d46/attachment.bin From goertzel_karen at bah.com Thu Feb 22 17:11:20 2007 From: goertzel_karen at bah.com (Goertzel, Karen) Date: Thu, 22 Feb 2007 17:11:20 -0500 Subject: [SC-L] Anyone here attending the 6th Semi-Annual Software AssuranceForum In-Reply-To: <81B3E7B7-7CD9-4DE6-B871-13AB4275A181@krvw.com> Message-ID: <184D5FFC5203644FB4F8864B0EE445B401713CFF@MCLNEXVS06.resource.ds.bah.com> I'll be there, and presenting. I'd be interested in a BoF (but not a BOF). -- Karen Mercedes Goertzel, CISSP Booz Allen Hamilton 703.902.6981 goertzel_karen at bah.com > -----Original Message----- > From: sc-l-bounces at securecoding.org > [mailto:sc-l-bounces at securecoding.org] On Behalf Of Kenneth Van Wyk > Sent: Thursday, February 22, 2007 4:03 PM > To: Secure Coding > Subject: [SC-L] Anyone here attending the 6th Semi-Annual > Software AssuranceForum > > Anyone else here attending the 6th Semi-Annual Software Assurance > Forum in Fairfax, Virginia on 8-9 March? Any interest in an after- > event informal SC-L BoF and beer chat? Let me know and I'll gladly > coordinate. > > (We already have several people "signed up" for the SC-L BoF > at S3 in > April. If you sent me an email, I'll be sending you the details as > the event draws near.) > > Cheers, > > Ken > ----- > Kenneth R. van Wyk > SC-L Moderator > KRvW Associates, LLC > http://www.KRvW.com > > > > > From paco at cigital.com Thu Feb 22 19:50:16 2007 From: paco at cigital.com (Paco Hope) Date: Thu, 22 Feb 2007 19:50:16 -0500 Subject: [SC-L] differences between Threat Analysis and Threat Modeling In-Reply-To: <930b20350702141311r62952e26q2c32111fda731d20@mail.gmail.com> Message-ID: On 2/14/07 4:11 PM, "Jason Grembi" wrote: > > Threat Analysis ? is more informal way of 'eyeballing' system architecture and > application design. > Threat Modeling [Microsoft SDL] ? more formal, every requirement is modeled > and scrutinized. This is not how I would define the two terms. The outcome is totally different from the two processes. "Modeling" means "to create a model." Although some would argue that it implies analyzing the model, I would say that the two are separable and not necessarily the same. That is, I can create a model without analyzing it, and I can analyze threats without modeling them. If you agree with that, then the words "informal" and "formal" (from your starting definitions above) devolve into "without a model" and "with a model," but I don't think that's a good definition for "formality." You can be very formal without using a model, per se. Threat modeling is creating a threat model. The model encompasses entities that are important, such as components, interfaces, communications channels, systems, and (of course) threats. What goes into the model and how it is arranged is a function of the project being modelled. The model needs to indicate how the threats interact with the other entities in the model. Again, this can be at any level of specificity that makes sense in context. Finally, I don't think "requirements" are modeled in a threat model (as stated above), but rather the components of the system, whatever they may be. Threat analysis is the process of determining the threats to a system, what they can do, and how they can do it. If you make a model first, that's probably really helpful. We always do. The outcome of the analysis, however, is some description of the threat situation. I'm being intentionally general here. You might be performing threat analysis to simply enumerate threats (how many are there?). You might be doing threat analysis for common attack patterns that can be leveraged by multiple threats. You might be analyzing threats to determine the effectiveness of a specific mitigation (e.g., "by addressing this attack pattern, we mitigate the risk posed by these threats on these components...") Presumably, though, your analysis seeks to answer one or more questions. A model does not answer question as much as it facilitiates the organized asking of questions. You mention Microsoft's SDL. As recently as last November, Microsoft offered the following pithy (but not particularly actionable) advice on "STRIDE," their threat modeling method: http://msdn.microsoft.com/msdnmag/issues/06/11/ThreatModeling/default.aspx > To follow STRIDE, you decompose your system into relevant components, analyze > each component for susceptibility to the threats, and mitigate the threats. They go on to say, just a sentence later: > If you do this threats to each component SC-L, So my trusty rss aggregator (NewsFire) found an interesting blog for me this morning, and I thought I'd share it here. The blog is from Free Software Magazine and it's titled, "The seven sins of programmers". On the surface, it has nothing whatsoever to do with software security -- the word "security" is never even mentioned in passing -- but I believe there are some worthy security lessons to be gleamed from it. http://www.freesoftwaremagazine.com/blog/seven_sins Cheers, Ken ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070223/18823dc7/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://krvw.com/pipermail/sc-l/attachments/20070223/18823dc7/attachment.bin From gunnar at arctecgroup.net Fri Feb 23 10:29:52 2007 From: gunnar at arctecgroup.net (Gunnar Peterson) Date: Fri, 23 Feb 2007 09:29:52 -0600 Subject: [SC-L] The seven sins of programmers | Free Software Magazine In-Reply-To: Message-ID: Along these same lines, I submit ?the Four Coders of the Apocalypse? by Dave Thomas and Andy Hunt. One of the major areas we need to work is adoption. Programmers are not all created equal, this presentation shows four types of programmers, and describes what drives them and ideas on dealing with the different types. Excellent bit of software development archaelogy, if you need tips on communicating software security designs, rationale, etc. I would argue that through the work of Gary McGraw, Ken van Wyk, Michael Howard, OWASP, Build Security portal, and many other resources that we are awash in good ideas/tools/templates. What we really need is adoption. Adoption is predicated on understanding the programmer?s mindsets. The Four Coders of the Apocalypse are The Lifer (someone else will take care of things, knows everything about one topic, all solutions involve that topic, ?it can?t be done?) The White Rabbit (no time to do it right, ?I can?t talk now?) The Racehorse (run forward wearing blinkers, never change existing code) The Beautiful Dreamer (programming as an end in itself) http://www.pragmaticprogrammer.com/talks/4coders/4coders.htm -gp On 2/23/07 7:02 AM, "Kenneth Van Wyk" wrote: > SC-L, > > So my trusty rss aggregator (NewsFire) found an interesting blog for me this > morning, and I thought I'd share it here.? The blog is from Free Software > Magazine and it's titled, "The seven sins of programmers".? On the surface, it > has nothing whatsoever to do with software security -- the word "security" is > never even mentioned in passing -- but I believe there are some worthy > security lessons to be?gleamed from it. > > http://www.freesoftwaremagazine.com/blog/seven_sins > > Cheers, > > Ken > > ----- > Kenneth R. van Wyk > SC-L Moderator > KRvW Associates, LLC > http://www.KRvW.com > > > > > > > > _______________________________________________ > Secure Coding mailing list (SC-L) SC-L at securecoding.org > List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l > List charter available at - http://www.securecoding.org/list/charter.php > SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) > as a free, non-commercial service to the software security community. > _______________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070223/befd02fe/attachment-0001.html From matteo.meucci at gmail.com Sat Feb 24 12:49:06 2007 From: matteo.meucci at gmail.com (Matteo Meucci) Date: Sat, 24 Feb 2007 18:49:06 +0100 Subject: [SC-L] New release: "OWASP TESTING GUIDE 2007" Message-ID: ANNOUNCING THE "OWASP TESTING GUIDE" The OWASP Testing Guide includes a "best practice" penetration testing framework which users can implement in their own organizations and a "low level" penetration testing guide that describes techniques for testing most common web application and web service security issues. Download the Guide Now: - http://www.owasp.org/index.php/OWASP_Testing_Project (PDF and DOC) View the Project Overview Slides: - http://www.owasp.org/index.php/Image:OWASP_Testing_Guide_Presentation.zip Join the Project Mailing List: - http://lists.owasp.org/mailman/listinfo/owasp-testing PROJECT HISTORY I would like to thank you all for the great effort in creating the new OWASP Testing Guide v2. The new version is a complete rewrite that subsumes the previous version and includes the "OWASP Web Application Penetration Checklist", Version 1.1 dated 2004. The project, as part of the OWASP Autumn of Code, started on October 1st 2006 reviewing all the old documentation. The first month we made a call to action to collect all the best security experts on application security asking them to collaborate in writing the Testing Guide. We set up a 'dream team' of 39 authors and 20 reviewers: after 3 months of hard work and great team work we realized the v2 Release Candidate 1 (RC1) by the 10th of January 2007. From that date to the 10th of February we received numerous great comments: more than 20 articles have been reviewed. On the 10th of February we published the official version 2: a 272 pages high quality document, with 46 controls divided into 8 categories. JOIN US We need help to... *** Continuously Improve the Guide. The Guide is a "live" document: we always need your feedback! Please join our testing mailing list and share your ideas with us. The next step is to begin working on the new version: one issue that will be improved is the client side testing. *** Promote the Testing Guide We would like to have some more media coverage on the guide, so please, if you know somebody in there put them in touch. If you have the chance, you can write an article about the Testing Guide and the new OWASP Projects. Also you can pick up the OWASP Testing Guide presentations and talk about it in local conferences and Chapter meetings. *** Translate the Guide into your Local Language If you'd like to translate the Testing Guide in your local language, please contact us. *** Add 'Quotes' to the Guide. If you've used the guide and can share your experience, we'd love to hear from you. You can add your quote to the OWASP wiki here: http://www.owasp.org/index.php/Testing_Guide_Quotes Thanks, Mat -- Matteo Meucci OWASP-Italy Chair, CISSP, CISA http://www.owasp.org/index.php/Italy OWASP Testing Guide lead http://www.owasp.org/index.php/Testing_Guide From ken at krvw.com Tue Feb 27 03:06:22 2007 From: ken at krvw.com (Kenneth Van Wyk) Date: Tue, 27 Feb 2007 03:06:22 -0500 Subject: [SC-L] Dark Reading - Desktop Security - Here Comes the (Web) Fuzz - Security News Analysis Message-ID: <9CAB3413-6E61-4D3B-8290-78E6E3569559@krvw.com> Here's an interesting article from Dark Reading about web fuzzers. Web fuzzing seems to be gaining some traction these days as a popular means of testing web apps and web services. http://www.darkreading.com/document.asp? doc_id=118162&f_src=darkreading_section_296 Any good/bad experiences and opinions to be shared here on SC-L regarding fuzzing as a means of testing web apps/services? I have to say I'm unconvinced, but agree that they should be one part--and a small one at that--of a robust testing regimen. Cheers, Ken P.S. I'm over in Belgium right now for SecAppDev (http:// www.secappdev.org). HD Moore wowed the class here with a demo of Metasploit 3.0. For those of you that haven't looked at this (soon to be released, but available in beta now) tool, you really should check it out. Although it's geared at the IT Security pen testing audience, I do believe that it has broader applicability as a framework for constructing one-off exploits against applications. ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070227/91e89a82/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://krvw.com/pipermail/sc-l/attachments/20070227/91e89a82/attachment.bin From ken at krvw.com Tue Feb 27 04:02:37 2007 From: ken at krvw.com (Kenneth Van Wyk) Date: Tue, 27 Feb 2007 04:02:37 -0500 Subject: [SC-L] Dark Reading - Desktop Security - Here Comes the (Web) Fuzz - Security News Analysis In-Reply-To: References: <9CAB3413-6E61-4D3B-8290-78E6E3569559@krvw.com> Message-ID: <17914A64-1375-4F69-8645-3745E1A65BDA@krvw.com> On Feb 27, 2007, at 3:33 AM, Steven M. Christey wrote: > Given the complex manipulations that can work in XSS attacks (see > RSnake's > cheat sheet) as well as directory traversal, combined with the sheer > number of potential inputs in web applications, multipied by all the > variations in encodings, I wouldn't be surprised if they were > effective in > finding those kinds of implementation bugs, even in well-designed > software. Although successfully diagnosing some XSS without live > verification smells like a hard problem akin to the Ptacek/Newsham > "vantage point" issues in IDS. > > With the track record of non-web fuzzers and PROTOS style test > suites, why > do you think web app fuzzing is less likely to succeed? It's not so much that I don't think fuzzing is useful, it's that I don't see "one size fits all" fuzzing _products_ being useful. To me, it gets to an issue of informed vs. uninformed (or "white box" vs. "black box" if you prefer) testing. While they're both useful and should both be exercised, I believe (though I have no hard statistics to validate) that issues of coverage/state are always going to doom uninformed testing to being less effective than informed testing. For a fuzzer to be really meaningful, I believe that a "smart fuzzing" approach is going to be the best bet, and that makes it hard for a "one size fits all" product solution to be feasible. To do smart fuzzing, a lot of setup time is necessary in establishing an appropriate test harness and cases that fully exercise the files, network interface data, user data, etc., that the software is expecting. Perhaps I'm totally off base, and I invite any product folks here to chime in and correct my misconceptions. Cheers, Ken ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://krvw.com/pipermail/sc-l/attachments/20070227/7085953c/attachment.bin From michaelslists at gmail.com Tue Feb 27 04:54:41 2007 From: michaelslists at gmail.com (Michael Silk) Date: Tue, 27 Feb 2007 20:54:41 +1100 Subject: [SC-L] Dark Reading - Desktop Security - Here Comes the (Web) Fuzz - Security News Analysis In-Reply-To: <9CAB3413-6E61-4D3B-8290-78E6E3569559@krvw.com> References: <9CAB3413-6E61-4D3B-8290-78E6E3569559@krvw.com> Message-ID: <5e01c29a0702270154r76b1eal934392e136ad1ad4@mail.gmail.com> On 2/27/07, Kenneth Van Wyk wrote: > > Here's an interesting article from Dark Reading about web fuzzers. Web > fuzzing seems to be gaining some traction these days as a popular means of > testing web apps and web services. > > http://www.darkreading.com/document.asp?doc_id=118162&f_src=darkreading_section_296 > > Any good/bad experiences and opinions to be shared here on SC-L regarding > fuzzing as a means of testing web apps/services? I have to say I'm > unconvinced, but agree that they should be one part--and a small one at > that--of a robust testing regimen. unconvinced of what? what fuzzing is useful? or that it's the best security testing method ever? or you remain unconvinced that fuzzing in web apps is > fuzzing in os apps? fuzzing has obvious advantages. that's all anyone should care about. > Cheers, > > Ken -- mike From gem at cigital.com Tue Feb 27 06:22:34 2007 From: gem at cigital.com (Gary McGraw) Date: Tue, 27 Feb 2007 06:22:34 -0500 Subject: [SC-L] Dark Reading - Desktop Security - Here Comes the (Web)Fuzz - Security News Analysis Message-ID: <83B3489DF1064F4E90218770D953D36107B718@va-mail.cigital.com> Just for the record, the testing literature (non-security) supports ken's point of view. Possibly the most amusing thing about all of this discussion about black box versus white box is that this is only one of many many divisions in testing. Others include partition testing, fault injection, and mutation testing. We really have a long way to go with security testing to catch up. gem company www.cigital.com podcast www.cigital.com/silverbullet book www.swsec.com -----Original Message----- From: Kenneth Van Wyk [mailto:ken at krvw.com] Sent: Tue Feb 27 04:07:07 2007 To: Secure Coding Subject: Re: [SC-L] Dark Reading - Desktop Security - Here Comes the (Web)Fuzz - Security News Analysis On Feb 27, 2007, at 3:33 AM, Steven M. Christey wrote: > Given the complex manipulations that can work in XSS attacks (see > RSnake's > cheat sheet) as well as directory traversal, combined with the sheer > number of potential inputs in web applications, multipied by all the > variations in encodings, I wouldn't be surprised if they were > effective in > finding those kinds of implementation bugs, even in well-designed > software. Although successfully diagnosing some XSS without live > verification smells like a hard problem akin to the Ptacek/Newsham > "vantage point" issues in IDS. > > With the track record of non-web fuzzers and PROTOS style test > suites, why > do you think web app fuzzing is less likely to succeed? It's not so much that I don't think fuzzing is useful, it's that I don't see "one size fits all" fuzzing _products_ being useful. To me, it gets to an issue of informed vs. uninformed (or "white box" vs. "black box" if you prefer) testing. While they're both useful and should both be exercised, I believe (though I have no hard statistics to validate) that issues of coverage/state are always going to doom uninformed testing to being less effective than informed testing. For a fuzzer to be really meaningful, I believe that a "smart fuzzing" approach is going to be the best bet, and that makes it hard for a "one size fits all" product solution to be feasible. To do smart fuzzing, a lot of setup time is necessary in establishing an appropriate test harness and cases that fully exercise the files, network interface data, user data, etc., that the software is expecting. Perhaps I'm totally off base, and I invite any product folks here to chime in and correct my misconceptions. Cheers, Ken ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com ---------------------------------------------------------------------------- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- From ken at krvw.com Tue Feb 27 09:09:48 2007 From: ken at krvw.com (Kenneth Van Wyk) Date: Tue, 27 Feb 2007 09:09:48 -0500 Subject: [SC-L] Dark Reading - Desktop Security - Here Comes the (Web) Fuzz - Security News Analysis In-Reply-To: <5e01c29a0702270154r76b1eal934392e136ad1ad4@mail.gmail.com> References: <9CAB3413-6E61-4D3B-8290-78E6E3569559@krvw.com> <5e01c29a0702270154r76b1eal934392e136ad1ad4@mail.gmail.com> Message-ID: On Feb 27, 2007, at 4:54 AM, Michael Silk wrote: > unconvinced of what? what fuzzing is useful? or that it's the best > security testing method ever? or you remain unconvinced that fuzzing > in web apps is > fuzzing in os apps? > > fuzzing has obvious advantages. that's all anyone should care about. No, not that it's useful or not. As I said in my other reply, my real wariness is of the "one size fits all" product solutions. It seems to me that the best fuzzing tools are in fact frameworks for building customized fuzzing tests. OWASP's jbrofuzz (in beta release currently) is an example of what I mean here. It gives the tester the means for identifying fields to fuzz and how to fuzz them (say, integer size testing), and then you press the fuzz button and it generates all the tests. That's useful, meaningful, and valuable, IMHO. But it's not a "fire and forget" general purpose tool that can test any web app. Beyond that, to me it's an issue of coverage. As was any uninformed testing, it's bound to miss things, which is to be expected. (E.g., a state tree that contains a format string vulnerability that doesn't execute because the testing never triggered that particular state -- hence my comments about test coverage/state earlier.) So, my impression is that fuzzing is useful (in Howard/Lipner's SDL book, they say that some 25% of the bugs they find during testing come out during fuzzing), but that it should only be a small, say 10-20%, part of a testing regimen. Cheers, Ken ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://krvw.com/pipermail/sc-l/attachments/20070227/af0f7df5/attachment.bin From jms at bughunter.ca Tue Feb 27 10:32:25 2007 From: jms at bughunter.ca (J. M. Seitz) Date: Tue, 27 Feb 2007 07:32:25 -0800 Subject: [SC-L] Dark Reading - Desktop Security - Here Comes the (Web) Fuzz- Security News Analysis In-Reply-To: <9CAB3413-6E61-4D3B-8290-78E6E3569559@krvw.com> Message-ID: <003101c75a84$7d4e12c0$4d07a8c0@jseitz> In my personal experience with web app testing, I have found that web fuzzers are not nearly as useful as fuzzers used for applications, and more specifically I have found numerous bugs doing direct API fuzzing. In the case of testing web applications I find that using something like SpiDynamics tool is great for a first pass as a black box test, but to really get an idea of how bad the vulnerability is, the extent, etc. manual testing is an absolute must. I know that most people on this list don't necessarily believe in fuzzing as a good security test, and I can hear Gary groaning already, but I think that fuzzing tools are becoming more and more intelligent, and you are soon going to see some extremely powerful tools in this arena. Check out the paper on genetic algorithms and fuzzing from BlackHat as well as the tool from Jared DeMott at Applied Security. As for Metasploit, its a very sweet tool, as well as a very useful framework for learning and developing exploits, particularly the tricky IE+ActiveX heap nastiness that requires a little kung fu and a lot of coffee. JS _____ From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org] On Behalf Of Kenneth Van Wyk Sent: Tuesday, February 27, 2007 12:06 AM To: Secure Coding Subject: [SC-L] Dark Reading - Desktop Security - Here Comes the (Web) Fuzz- Security News Analysis Here's an interesting article from Dark Reading about web fuzzers. Web fuzzing seems to be gaining some traction these days as a popular means of testing web apps and web services. http://www.darkreading.com/document.asp?doc_id=118162 &f_src=darkreading_section_296 Any good/bad experiences and opinions to be shared here on SC-L regarding fuzzing as a means of testing web apps/services? I have to say I'm unconvinced, but agree that they should be one part--and a small one at that--of a robust testing regimen. Cheers, Ken P.S. I'm over in Belgium right now for SecAppDev (http://www.secappdev.org). HD Moore wowed the class here with a demo of Metasploit 3.0. For those of you that haven't looked at this (soon to be released, but available in beta now) tool, you really should check it out. Although it's geared at the IT Security pen testing audience, I do believe that it has broader applicability as a framework for constructing one-off exploits against applications. ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070227/557591c5/attachment-0001.html From gem at cigital.com Tue Feb 27 14:24:09 2007 From: gem at cigital.com (Gary McGraw) Date: Tue, 27 Feb 2007 14:24:09 -0500 Subject: [SC-L] Disclosure: vulnerability pimps? or super heroes? Message-ID: <83B3489DF1064F4E90218770D953D36108DF0D@va-mail.cigital.com> Hi all, The neverending debate over disclosure continued at RSA this year with a panel featuring Chris Wysopl and others rehashing old ground. There are points on both sides, with radicals on one side (say marcus ranum) calling the disclosure people "vulnerability pimps" and radicals on the other saying that computer security would make no progress at all without disclosure. I've always sought some kind of middle ground when it comes to disclosure. The idea is to minimize risk to users of the broken system while at the samne time learning something about security and making sure the system gets fixed. Disclosure is the subject of my latest Darkreading column: http://www.darkreading.com/document.asp?doc_id=118174 What do you think? Should we talk about exploits? Should we out vendors? Is there a line to be drawn anywhere? gem company www.cigital.com podcast www.cigital.com/silverbullet book www.swsec.com ---------------------------------------------------------------------------- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- From jms at bughunter.ca Tue Feb 27 17:42:49 2007 From: jms at bughunter.ca (J. M. Seitz) Date: Tue, 27 Feb 2007 14:42:49 -0800 Subject: [SC-L] Disclosure: vulnerability pimps? or super heroes? In-Reply-To: <83B3489DF1064F4E90218770D953D36108DF0D@va-mail.cigital.com> Message-ID: <009201c75ac0$9c17e1e0$4d07a8c0@jseitz> Always a great debate, I somewhat agree with Marcus, there are plenty of "pimps" out there looking for fame, and there are definitely a lot of them (us) that are working behind the scenes, taking the time to help the vendors and to stay somewhat out of the limelight. The ying-yang is very fitting. On a related note, does anyone have an example where Company A was disclosing vulnerabilities about competing Company B's product and got into trouble over it? Is this something that could be litigated? JS -----Original Message----- From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org] On Behalf Of Gary McGraw Sent: Tuesday, February 27, 2007 11:24 AM To: SC-L at securecoding.org Subject: [SC-L] Disclosure: vulnerability pimps? or super heroes? Hi all, The neverending debate over disclosure continued at RSA this year with a panel featuring Chris Wysopl and others rehashing old ground. There are points on both sides, with radicals on one side (say marcus ranum) calling the disclosure people "vulnerability pimps" and radicals on the other saying that computer security would make no progress at all without disclosure. I've always sought some kind of middle ground when it comes to disclosure. The idea is to minimize risk to users of the broken system while at the samne time learning something about security and making sure the system gets fixed. Disclosure is the subject of my latest Darkreading column: http://www.darkreading.com/document.asp?doc_id=118174 What do you think? Should we talk about exploits? Should we out vendors? Is there a line to be drawn anywhere? gem company www.cigital.com podcast www.cigital.com/silverbullet book www.swsec.com ---------------------------------------------------------------------------- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- _______________________________________________ Secure Coding mailing list (SC-L) SC-L at securecoding.org List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l List charter available at - http://www.securecoding.org/list/charter.php SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) as a free, non-commercial service to the software security community. _______________________________________________ From BlueBoar at thievco.com Tue Feb 27 18:32:06 2007 From: BlueBoar at thievco.com (Blue Boar) Date: Tue, 27 Feb 2007 15:32:06 -0800 Subject: [SC-L] Disclosure: vulnerability pimps? or super heroes? In-Reply-To: <009201c75ac0$9c17e1e0$4d07a8c0@jseitz> References: <009201c75ac0$9c17e1e0$4d07a8c0@jseitz> Message-ID: <45E4BF76.9070601@thievco.com> J. M. Seitz wrote: > On a related note, does anyone have an example where Company A was > disclosing vulnerabilities about competing Company B's product and got into > trouble over it? Is this something that could be litigated? In fact, Tom Ptacek found a hole in one of Marcus' products while working for a competitor. I suspect Tom reported it properly, though. This research pissed MJR off to no end, which he made clear at one Black Hat talk he gave, with Tom standing at the back of the room. I suspect this was a key point in MJR's life when his code got touched in an inappropriate way, and has led to his current level of curmudgeonry. Or, for a more contemporary example, witness Symantec researchers looking for holes in just about everything. I fail to see any merit for a legitimate lawsuit. Of course, in the US, you can sue whomever you please. BB From michaelslists at gmail.com Tue Feb 27 18:18:33 2007 From: michaelslists at gmail.com (Michael Silk) Date: Wed, 28 Feb 2007 10:18:33 +1100 Subject: [SC-L] Disclosure: vulnerability pimps? or super heroes? In-Reply-To: <83B3489DF1064F4E90218770D953D36108DF0D@va-mail.cigital.com> References: <83B3489DF1064F4E90218770D953D36108DF0D@va-mail.cigital.com> Message-ID: <5e01c29a0702271518i352b3918l7998e812794a5063@mail.gmail.com> On 2/28/07, Gary McGraw wrote: > > Hi all, > > The neverending debate over disclosure continued at RSA this year with a > panel featuring Chris Wysopl and others rehashing old ground. There are > points on both sides, with radicals on one side (say marcus ranum) > calling the disclosure people "vulnerability pimps" and radicals on the > other saying that computer security would make no progress at all > without disclosure. > > I've always sought some kind of middle ground when it comes to > disclosure. The idea is to minimize risk to users of the broken system > while at the samne time learning something about security and making > sure the system gets fixed. I think havning extremists is a good thing. Forces people to re-evaluate their position and actually do things, instead of having a disucssion about it. Without that there would be middle grounders sitting around wondering about the best approach. With the extremists these middlegrounders have to react, or at least companies do. Which is only good. Disclosure is the subject of my latest Darkreading column: > http://www.darkreading.com/document.asp?doc_id=118174 > > What do you think? Should we talk about exploits? Should we out > vendors? Is there a line to be drawn anywhere? I think if you find an exploit do what you personally want. If I had time to research them, I'd probably be pimping them out for as much as I could; why not? I can decide. I found it. Same to you, with what you found. The only line will come if some authority in some country makes it illegal to sell them. And obviously there would be incredible difficulties in isolating that, IMHO. gem > > company www.cigital.com > podcast www.cigital.com/silverbullet > book www.swsec.com -- mike (s1, s2, s3) ; -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070228/5d32d73d/attachment.html From gem at cigital.com Thu Mar 1 11:53:33 2007 From: gem at cigital.com (Gary McGraw) Date: Thu, 1 Mar 2007 11:53:33 -0500 Subject: [SC-L] new blog: Justice League Message-ID: <83B3489DF1064F4E90218770D953D36108E222@va-mail.cigital.com> Hi sc-lers, Last week we started a blog at Cigital called "Justice League" that will be populated by regular postings from Cigital Principals (John Steven, Craig Miller, Sammy Migues, Scott Matsumoto, and Pravir Chandra) http://www.cigital.com/justiceleague/ Our blog is positioned as an ecclectic collection of opinions about software security and software quality. The first few postings include opinionated articles on SOX, Pen Testing, SOA, and enterprise software security programs. We hope you'll find it valuable and consider subscribing via RSS. Thanks for your interest in software security. I'm encouraged by the progress we're making as a field. gem company www.cigital.com podcast www.cigital.com/silverbullet blog www.cigital.com/justiceleague book www.swsec.com ---------------------------------------------------------------------------- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- From dinis at ddplus.net Sat Mar 3 16:29:55 2007 From: dinis at ddplus.net (Dinis Cruz) Date: Sat, 3 Mar 2007 21:29:55 +0000 Subject: [SC-L] [WEB SECURITY] Wordpress website hacked, wordpress backdoored In-Reply-To: <20070303182951.26837.qmail@cgisecurity.net> References: <20070303182951.26837.qmail@cgisecurity.net> Message-ID: <701fd6b60703031329w514121c8gd0b0c23458e55169@mail.gmail.com> nice, the business model is evolving. But this is still a very 'inefficient' attack since: a) the final binaries were the ones infected (very easy to detect (imagine if the infected code was actually from 'real' SVN source code and made from a 'trusted' developer)) b) by the speed this was detected the exploit (and the blog page didn't give a lot of details about it) must have been a very 'HEY I AM A BACKDOOR!!!!' kind of code. A real exploit would be one that (using a .NET example) used a type confusion attack to insert a buffer overflow on a remotely accessible method (which would be inserted in day X and only used a couple months later). but it's evolving..... Can everybody that writes code and has a Browser window open under the same user account (even if non admin) raise their hand? ... nice so many hands (including mine).... guess what, if your browser is 0wned, so will be your code.. And OWASP uses WordPress (although Mike tells me that we were not affected) for our blogs (blogs.owasp.org), nice :) I am still waiting for the day that we will be maliciously hacked for commercial reasons since that will be another step in the evolution of the malicious guy's business model Dinis in San Jose ---------- Forwarded message ---------- From: bugtraq at cgisecurity.net Date: Mar 3, 2007 6:29 PM Subject: [WEB SECURITY] Wordpress website hacked, wordpress backdoored To: websecurity at webappsec.org The Wordpress development team has posted an announcement that the download server had been hacked, and wordpress 2.1.1 had a backdoor included in it allowing for remote code execution. URL: http://wordpress.org/development/2007/03/upgrade-212/ - Robert http://www.cgisecurity.com/ Web Security news, and more http://www.cgisecurity.com/index.rss [Subscribe to Security news] ---------------------------------------------------------------------------- Join us on IRC: irc.freenode.net #webappsec Have a question? Search The Web Security Mailing List Archives: http://www.webappsec.org/lists/websecurity/ Subscribe via RSS: http://www.webappsec.org/rss/websecurity.rss [RSS Feed] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070303/b17f9926/attachment.html From bugtraq at cgisecurity.net Sat Mar 3 19:07:22 2007 From: bugtraq at cgisecurity.net (bugtraq at cgisecurity.net) Date: Sat, 3 Mar 2007 19:07:22 -0500 (EST) Subject: [SC-L] [WEB SECURITY] Wordpress website hacked, wordpress backdoored In-Reply-To: <701fd6b60703031329w514121c8gd0b0c23458e55169@mail.gmail.com> Message-ID: <20070304000722.49726.qmail@cgisecurity.net> > a) the final binaries were the ones infected (very easy to detect (imagine > if the infected code was actually from 'real' SVN source code and made from > a 'trusted' developer)) > b) by the speed this was detected the exploit (and the blog page didn't > give a lot of details about it) must have been a very 'HEY I AM A > BACKDOOR!!!!' kind of code. A real exploit would be one that (using a .NET The original mailing list post by Ivan Fratric is at http://msgs.securepoint.com/cgi-bin/get/bugtraq0703/28.html for those curious of the code differences. Given the brazen addition of multiple functions (instead of modifying an existing one to make it vulnerable) we're probably not looking at the highest caliber of attacker here. > And OWASP uses WordPress (although Mike tells me that we were not affected) > for our blogs Thanks for sharing about what OWASP runs. Not sure how this ties into the thread though. Again hats off to Ivan Fratric for spotting this before it became a much larger issue. Regards, - Robert http://www.cgisecurity.com/ Application Security news and more http://www.cgisecurity.com/index.rss [RSS Feed] > ---------------------------------------------------------------------------- > Join us on IRC: irc.freenode.net #webappsec > > Have a question? Search The Web Security Mailing List Archives: > http://www.webappsec.org/lists/websecurity/ > > Subscribe via RSS: > http://www.webappsec.org/rss/websecurity.rss [RSS Feed] > From coley at linus.mitre.org Mon Mar 5 14:36:01 2007 From: coley at linus.mitre.org (Steven M. Christey) Date: Mon, 5 Mar 2007 14:36:01 -0500 (EST) Subject: [SC-L] Disclosure: vulnerability pimps? or super heroes? In-Reply-To: <009201c75ac0$9c17e1e0$4d07a8c0@jseitz> References: <009201c75ac0$9c17e1e0$4d07a8c0@jseitz> Message-ID: On Tue, 27 Feb 2007, J. M. Seitz wrote: > Always a great debate, I somewhat agree with Marcus, there are plenty of > "pimps" out there looking for fame, and there are definitely a lot of them > (us) that are working behind the scenes, taking the time to help the vendors > and to stay somewhat out of the limelight. Do the people who write the books to avoid the vulns, sell the tools, and give talks at conferences stay out of the limelight as well? What about all those podcasts? They should be discounted too, since they're clearly pimping something. They must have ulterior motives. Don't get me started on those rabble-rousers who complain about voting machine security. Not that I don't have issues with how disclosure happens sometimes, but the anti-researcher sentiment that castigates them based on "looking for fame" by people who are themselves "famous" strikes me as a bit hypocritical. Why do we know that Marcus designed the White House's first firewall? 'cause he told us, that's why. We're very lucky that assumed fame-hunters like Cesar Cerrudo and David Maynor have decided that they won't bother telling the vendor about vulns they find because of all the trouble it gets them into. It's quite unfortunate that Litchfield has almost single-handedly dared to question Oracle's claim that it's unbreakable. Perhaps we would prefer that these pimpers stop giving us disclosure timelines that show that they notified vendors about issues months or YEARS before the vendors actually got around to fixing them. We can go back to security through obscurity, the old fashioned way, by lawsuits and threats. Like what happened at Black Hat last week, but with less press. Basically, I have an issue with the criticism of this aspect of researcher "pimpage" when it's usually the pot calling the kettle black, when most of us are getting paid one way or another for this work, and there's a pervasive inability to recognize that many such researchers feel forced to disclose when the vendor still does nothing. And many researchers aren't in it for the fame, which is the assumption that the pimpage argument is based on. Sorry, must be a case of the Mondays combined with this building up over a year or two. The vuln researchers are the only parts of this business who get no respect. - Steve From dinis at ddplus.net Mon Mar 5 19:13:22 2007 From: dinis at ddplus.net (Dinis Cruz) Date: Tue, 6 Mar 2007 00:13:22 +0000 Subject: [SC-L] Blog posts on Ideas for a Partial Trust Managed Code World Message-ID: <701fd6b60703051613p39ea1dd1v36167d7670d4a1d4@mail.gmail.com> The posts linked bellow are a variation of an email that I sent to 4 senior technical Microsoft employees (two from .NET Security and two from the MS Office security) before I had a lunch meeting with them last Friday (2nd March 2007) As with all my previous meetings/lunches with Microsoft employees, it was an interesting intellectual discussion but with no tangible results or actionable actions since they (and Microsoft) don't believe that Partial Trust Managed Code is a valid solution/approach. I also think that I need to speak with their bosses, but unfortunately their bosses are not talking to me - On Microsoft's lack of Partial Trust Managed Code (PTMC) focus and ideas for the future- In this post I start by doing a quick analysis for the current 'head in the sand' response, and defend that in order for the changes to have real impact we will need impovements in 6 areas: Technological, Political, Strategical, Economical, Social and Educational - 'Security Awareness Modes' & the 'day Microsoft changes'- Here I introduce an interesting concept of 4 Awareness Modes which I think are good ways to describe company's awareness to the security issues that they face. The 4 modes are: 'Blissful ignorance', 'The Patching Dance', 'The SDL Dream and 'The Alignment' - Roadmap to a Partial Trust Managed Code world- here I propose a time-line for the migration from the current 'all unmanaged/Full Trust world' And before you shot-down this ideas (which are not short term btw), please propose solutions for protecting our assets from malicious code executed under our (and the applications) run-time environments. The bottom line is, that currently (and it seems in the future) our main security defense mechanism is our ability to prevent malicious code from being executed in our environments (and if you think this is easy to prevent, just make a quick list of all the applications and plug-ins (containing external code) that are currently running in your desktop, servers and web environments) Dinis Cruz Chief OWASP Evangelist http://www.owasp.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070306/8730e2ec/attachment.html From smoore.sc at securityglobal.net Mon Mar 5 20:24:17 2007 From: smoore.sc at securityglobal.net (Stuart Moore) Date: Mon, 05 Mar 2007 20:24:17 -0500 Subject: [SC-L] Disclosure: vulnerability pimps? or super heroes? In-Reply-To: References: <009201c75ac0$9c17e1e0$4d07a8c0@jseitz> Message-ID: <45ECC2C1.8030907@securityglobal.net> Though I share Steve's sentiments on the anti-researcher bias, and I agree with Gary's yin-yang conclusion, I really hate the question itself. The disclosure question itself *presumes* that the current state of the industry (defective products) is economically efficient. The premise absolves vendors *and* customers of any role or responsibility in improving efficiency [I'm of the opinion that organic security would be economically beneficial]. The question presumes that The Issue with vulnerabilities is either squelching the researchers (the researcher as pimp view) or promoting detailed disclosures (the researcher as super hero view). I am much more interested in why vendors make defective products and why customers accept this level of quality, and lots of related questions. So, in reference to Gary's "breaking story," why was the Gary McGraw automaton not able to deal with the icy walk? Is the severe structural damage and hours of surgical correction more cost effective than what any anti-ice protections would have cost? Those are the Good Questions. Asking whether the disclosure of the icy exploit is good or bad is the Wrong Question. Stuart -- Stuart Moore SecurityTracker.com Steven M. Christey wrote: > On Tue, 27 Feb 2007, J. M. Seitz wrote: > >> Always a great debate, I somewhat agree with Marcus, there are plenty of >> "pimps" out there looking for fame, and there are definitely a lot of them >> (us) that are working behind the scenes, taking the time to help the vendors >> and to stay somewhat out of the limelight. > > Do the people who write the books to avoid the vulns, sell the tools, and > give talks at conferences stay out of the limelight as well? What about > all those podcasts? They should be discounted too, since they're clearly > pimping something. They must have ulterior motives. Don't get me started > on those rabble-rousers who complain about voting machine security. > > Not that I don't have issues with how disclosure happens sometimes, but > the anti-researcher sentiment that castigates them based on "looking for > fame" by people who are themselves "famous" strikes me as a bit > hypocritical. Why do we know that Marcus designed the White House's first > firewall? 'cause he told us, that's why. > > We're very lucky that assumed fame-hunters like Cesar Cerrudo and David > Maynor have decided that they won't bother telling the vendor about vulns > they find because of all the trouble it gets them into. It's quite > unfortunate that Litchfield has almost single-handedly dared to question > Oracle's claim that it's unbreakable. Perhaps we would prefer that these > pimpers stop giving us disclosure timelines that show that they notified > vendors about issues months or YEARS before the vendors actually got > around to fixing them. We can go back to security through obscurity, the > old fashioned way, by lawsuits and threats. Like what happened at Black > Hat last week, but with less press. > > Basically, I have an issue with the criticism of this aspect of researcher > "pimpage" when it's usually the pot calling the kettle black, when most of > us are getting paid one way or another for this work, and there's a > pervasive inability to recognize that many such researchers feel forced to > disclose when the vendor still does nothing. And many researchers aren't > in it for the fame, which is the assumption that the pimpage argument is > based on. > > Sorry, must be a case of the Mondays combined with this building up over a > year or two. The vuln researchers are the only parts of this business who > get no respect. > > - Steve From gem at cigital.com Mon Mar 5 21:30:15 2007 From: gem at cigital.com (Gary McGraw) Date: Mon, 5 Mar 2007 21:30:15 -0500 Subject: [SC-L] Disclosure: vulnerability pimps? or super heroes? Message-ID: <83B3489DF1064F4E90218770D953D36107B803@va-mail.cigital.com> Right. And while you're calculating costs, don't forget to factor in the costs of all of the opiates that the McGraw automaton is now faced with eating as he wiles away his "patching time" on the orange chair. The break was severe indeed. I think some vendors have come around to the economics argument. In every case, those vendors with extreme reputation exposure have attempted to move past penetrate and patch. Microsoft, for one, is trying hard, but (to use my broken leg analogy) they had a sever case of osteoporosis and must take lots of calcium to build up bone mass. The financial vertical, led by the credit card consortiums is likewise making good progress. Other vendors with less brand exposure (or outright apathy from users) are slower on the uptake. Ultimately, the economic decision will rule the day. gem P.S. I would rush out and buy some ice remover, but the weather has warmed up and I am currently immobile. company www.cigital.com podcast www.cigital.com/silverbullet blog www.cigital.com/justiceleague book www.swsec.com -----Original Message----- From: Stuart Moore [mailto:smoore.sc at securityglobal.net] Sent: Mon Mar 05 21:18:03 2007 To: SC-L at securecoding.org Cc: Steven M. Christey Subject: Re: [SC-L] Disclosure: vulnerability pimps? or super heroes? Though I share Steve's sentiments on the anti-researcher bias, and I agree with Gary's yin-yang conclusion, I really hate the question itself. The disclosure question itself *presumes* that the current state of the industry (defective products) is economically efficient. The premise absolves vendors *and* customers of any role or responsibility in improving efficiency [I'm of the opinion that organic security would be economically beneficial]. The question presumes that The Issue with vulnerabilities is either squelching the researchers (the researcher as pimp view) or promoting detailed disclosures (the researcher as super hero view). I am much more interested in why vendors make defective products and why customers accept this level of quality, and lots of related questions. So, in reference to Gary's "breaking story," why was the Gary McGraw automaton not able to deal with the icy walk? Is the severe structural damage and hours of surgical correction more cost effective than what any anti-ice protections would have cost? Those are the Good Questions. Asking whether the disclosure of the icy exploit is good or bad is the Wrong Question. Stuart -- Stuart Moore SecurityTracker.com Steven M. Christey wrote: > On Tue, 27 Feb 2007, J. M. Seitz wrote: > >> Always a great debate, I somewhat agree with Marcus, there are plenty of >> "pimps" out there looking for fame, and there are definitely a lot of them >> (us) that are working behind the scenes, taking the time to help the vendors >> and to stay somewhat out of the limelight. > > Do the people who write the books to avoid the vulns, sell the tools, and > give talks at conferences stay out of the limelight as well? What about > all those podcasts? They should be discounted too, since they're clearly > pimping something. They must have ulterior motives. Don't get me started > on those rabble-rousers who complain about voting machine security. > > Not that I don't have issues with how disclosure happens sometimes, but > the anti-researcher sentiment that castigates them based on "looking for > fame" by people who are themselves "famous" strikes me as a bit > hypocritical. Why do we know that Marcus designed the White House's first > firewall? 'cause he told us, that's why. > > We're very lucky that assumed fame-hunters like Cesar Cerrudo and David > Maynor have decided that they won't bother telling the vendor about vulns > they find because of all the trouble it gets them into. It's quite > unfortunate that Litchfield has almost single-handedly dared to question > Oracle's claim that it's unbreakable. Perhaps we would prefer that these > pimpers stop giving us disclosure timelines that show that they notified > vendors about issues months or YEARS before the vendors actually got > around to fixing them. We can go back to security through obscurity, the > old fashioned way, by lawsuits and threats. Like what happened at Black > Hat last week, but with less press. > > Basically, I have an issue with the criticism of this aspect of researcher > "pimpage" when it's usually the pot calling the kettle black, when most of > us are getting paid one way or another for this work, and there's a > pervasive inability to recognize that many such researchers feel forced to > disclose when the vendor still does nothing. And many researchers aren't > in it for the fame, which is the assumption that the pimpage argument is > based on. > > Sorry, must be a case of the Mondays combined with this building up over a > year or two. The vuln researchers are the only parts of this business who > get no respect. > > - Steve _______________________________________________ Secure Coding mailing list (SC-L) SC-L at securecoding.org List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l List charter available at - http://www.securecoding.org/list/charter.php SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) as a free, non-commercial service to the software security community. _______________________________________________ ---------------------------------------------------------------------------- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- From ken at krvw.com Tue Mar 6 07:00:15 2007 From: ken at krvw.com (Kenneth Van Wyk) Date: Tue, 6 Mar 2007 07:00:15 -0500 Subject: [SC-L] Disclosure: vulnerability pimps? or super heroes? In-Reply-To: <83B3489DF1064F4E90218770D953D36107B803@va-mail.cigital.com> References: <83B3489DF1064F4E90218770D953D36107B803@va-mail.cigital.com> Message-ID: On Mar 5, 2007, at 9:30 PM, Gary McGraw wrote: > I think some vendors have come around to the economics argument. In > every case, those vendors with extreme reputation exposure have > attempted to move past penetrate and patch. Microsoft, for one, is > trying hard, but (to use my broken leg analogy) they had a sever > case of osteoporosis and must take lots of calcium to build up bone > mass. The financial vertical, led by the credit card consortiums > is likewise making good progress. Other vendors with less brand > exposure (or outright apathy from users) are slower on the uptake. Having spent several years on the incident handling side of this argument at CMU's CERT/CC, US. Dept. of Defense, etc., I thought I'd chime in here as well. It's encouraging to me to see that many vendors now recognize the reputation exposure and economics argument. I know that in my years at CERT (1989-1993), we were more than once threatened by uncooperative vendors, saying that they would sue us if we published information about their product's vulnerabilities. We spent years developing those vendor relationships and building up some level of mutual trust. It's not always an easy path. In the "full disclosure" years, it's been my observation that many vendors get forced into publishing patches when the "vulnerability pimps" (as Marcus calls them) call them out in public. Without a doubt, that's lead many vendors to respond more quickly and more publicly than they otherwise might have. At the same time, (and to try to bring this thread back to *software security*) I'm concerned about the software security ramifications of being bullied into patching something too quickly. While a simple strcpy-->strncpy (or similar) src edit takes just moments, and shouldn't impact the functionality and reliability of any software, patches are rarely that simple. When software producers are forced to develop patches in unnaturally rushed situations, bigger problems (IMHO) will inevitably be introduced. So, I applaud the public disclosure model from the standpoint of consumer advocacy. But, I'm convinced that we need to find a process that better balances the needs of the consumer against the secure software engineering needs. Some patches can't reasonably be produced in the amount of time that the "vulnerability pimps" give the vendors. Cheers, Ken ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://krvw.com/pipermail/sc-l/attachments/20070306/ab956dc4/attachment-0001.bin From ed.reed at aesec.com Tue Mar 6 07:52:30 2007 From: ed.reed at aesec.com (Ed Reed) Date: Tue, 06 Mar 2007 07:52:30 -0500 Subject: [SC-L] Economics of Software Vulnerabilities Message-ID: <45ED640E.8080705@aesec.com> For a long time I thought that software product liability would eventually be forced onto developers in response to their long-term failure to take responsibility for their shoddy code. I was mistaken. The pool of producers (i.e., the software industry) is probably too small for such blunt economic policy to work. Keep in mind that economics does have a tendency to balance out risk and reward, and to fairly allocate liability. But it takes time. We're only about 50 years into the life of the software industry, and we're just starting to see regulatory notice that computers even exist. It appears, now, that producers will not be regulated, but rather users and consumers. SOX, HIPAA, BASEL II, etc. are all about regulating already well-established business practices that just happen to be incorporating more software into their operations. But as with other "serious" security policy formulations - the technology is irrelevant. The policies, whether SOX or Multi-level Security, are intended to protect information of vital importance to the organization. If technical controls are adequate to enforce them - fine. If not, that in no way absolves the enterprise of the need to provide adequate controls. The computer software industry has lost its way. It appears to be satisfied with prodding and encouraging software developers to develop some modicum of shame for the shoddy quality of their output. Feed the beast, and support rampant featurism - its what's made so many people rich, after all. In the long run, though, featurism without quality is not sustainable. That is certainly true, and I applaud efforts to encourage developers to rise up from their primordial ooze and embrace the next steps in sane programming (we HAVE largely stamped out self-modifying code, but strcpy() is still a problem...) But that's not security. It's just reducing irresponsible defects. For computer security to have any meaning, someone, some where, has to say what is supposed to happen and what is not supposed to happen with regard to access to information and resources of the system. In other words, there has to be a security policy. If there's no way to articulate how the security policy can be enforced by a system, i.e., no security model, then there's no real way to even have a discussion about whether a system, much less individual components of the system, contribute to or get in the way of enforcing the security policy. What's most disappointing to me is the near-total lack of discussion about security policies and models in the whole computer security field, today. We're at about the 19th century level of sophistication of the practice of medicine - we have a germ theory ("bugs make you sick"), but we're still trying to get the doctors and nurses to wash their hands between surgery ("Doctor! It HURTS when I do that!" "Then stop DOING that!"). Better languages, better language skills, and better transparency (disclosure) are all areas of important improvement. The question I raise is this - will we return to a serious discussion about whether and how computers can be used to secure the vital information of enterprises before our industry reaches its first century (say, by 2055)? Ought a computer be able to be expected to apply controls adequate to "bet your life on", or not? If so, when will that discussion get started again? It seems like the analytical approaches that brought us Bell-LaPadula and similar models are considered off-topic, today, but I haven't seen anything replace them as the basis for a rational computer security discussion. If engineering is the practice of applying the logic and proofs provided by science to real world situations, software engineering and computer science seem simply to have closed their eyes to the question of system security and internal controls. Perhaps economics will reinvigorate the discussion in the coming decades. Ed Reed From BlueBoar at thievco.com Tue Mar 6 10:26:00 2007 From: BlueBoar at thievco.com (Blue Boar) Date: Tue, 06 Mar 2007 07:26:00 -0800 Subject: [SC-L] Disclosure: vulnerability pimps? or super heroes? In-Reply-To: References: <83B3489DF1064F4E90218770D953D36107B803@va-mail.cigital.com> Message-ID: <45ED8808.1080507@thievco.com> Kenneth Van Wyk wrote: > So, I applaud the public disclosure model from the standpoint of > consumer advocacy. But, I'm convinced that we need to find a process > that better balances the needs of the consumer against the secure > software engineering needs. Some patches can't reasonably be produced > in the amount of time that the "vulnerability pimps" give the vendors. >From the outside, it looks like the vast majority of the patches take as long as the vendor feels like taking. With a small percentage of vulnerabilities being released with no vendor warning at all. It's relatively unusual that I see bulletins where the researcher releases saying that the vendor took too long, so they are releasing now. But that's just going from memory, I haven't done a proper survey or anything. BB From coley at linus.mitre.org Tue Mar 6 13:40:30 2007 From: coley at linus.mitre.org (Steven M. Christey) Date: Tue, 6 Mar 2007 13:40:30 -0500 (EST) Subject: [SC-L] Disclosure: vulnerability pimps? or super heroes? In-Reply-To: References: <83B3489DF1064F4E90218770D953D36107B803@va-mail.cigital.com> Message-ID: On Tue, 6 Mar 2007, Kenneth Van Wyk wrote: > While a simple strcpy-->strncpy (or similar) src edit takes just > moments, and shouldn't impact the functionality and reliability of any > software, patches are rarely that simple. Agreed, but this needs to change. The threat environment has provably worsened, so that it can be incredibly damaging to an organization if they rely on software that takes months to fix. From my outsider (non-developer's) point of view, the development lifecycle needs to be able to handle emergency situations. The so-called "pimps" are unintentionally highlighting this problem; what happens when 0-days become more the norm and the time-to-patch hasn't changed? > consumer advocacy. But, I'm convinced that we need to find a process > that better balances the needs of the consumer against the secure > software engineering needs. This assumes that there is widespread interest in helping the consumer, which some researchers simply do not have, and certainly not the genuinely malicious parties. Not that I've given up on "responsible disclosure" but there will be a community of people who won't follow any recommendations that are put out, and hobbyists/independent researchers are also left out. In some ways, I view the current state of affairs as a symptom - when software gets strong enough that someone has to spend a lot of time/resources to find a vulnerability and code an exploit, people won't be so willing to just toss it out to the public willy-nilly. It's just too easy to "grep and gripe" for vulns in typical software. Last year, a 14 year old researcher gave us vuln DB's a headache by finding about 500 vulnerabilities in the course of a few months, using blatantly obvious 10-minute tests on demo versions of software that went for $100 to $500 a pop. That was one of the biggest unreported news stories of the year, as far as I'm concerned. Such blatantly insecure software should not be that widespread. He's not disclosing to the public anymore, just to his own private group, and I don't think I prefer it that way. Interestingly, he was only interested in the "challenge," not the fame. - Steve From coley at linus.mitre.org Tue Mar 6 23:50:13 2007 From: coley at linus.mitre.org (Steven M. Christey) Date: Tue, 6 Mar 2007 23:50:13 -0500 (EST) Subject: [SC-L] Disclosure: vulnerability pimps? or super heroes? In-Reply-To: <45ED8808.1080507@thievco.com> References: <83B3489DF1064F4E90218770D953D36107B803@va-mail.cigital.com> <45ED8808.1080507@thievco.com> Message-ID: Based on my general impressions in day-to-day operations for CVE (around 150 new vulns a week on average), maybe 40-60% of disclosures happen without any apparent attempt at vendor coordination, another 10-20% with a communication breakdown (including "they didn't answer in 2 days"), and the rest coordinated. A bit of a guess there, though. The only remotely relevant survey that I can think of was by me and Barbara Pease, 6 years ago in 2001, and we were reduced to qualitative analysis because data collection turned out to be too expensive, and this was focused on vendor acknowledgement (which holds steady at 50% no matter what the year). But disclosure timelines are thankfully more prevalent these days, so an updated study would be more illuminating. I'm looking forward to Richard Forno's study of vuln researchers whenever it comes out. For obligatory SC-L content: this is one reason why I think vendor development/maintenance processes need to be prepared for non-coordinated disclosures. - Steve From koved at us.ibm.com Wed Mar 7 09:00:56 2007 From: koved at us.ibm.com (Larry Koved) Date: Wed, 7 Mar 2007 09:00:56 -0500 Subject: [SC-L] IEEE Workshop: Web 2.0 Security & Privacy Message-ID: This is a workshop that may be of interest to subscribers of this mailing list. http://www.ieee-security.org/TC/SP2007/cfp-W2SP.html Workshop Call for Position Papers W2SP 2007: Web 2.0 Security and Privacy 2007 Sponsored by the IEEE Technical Committee on Security and Privacy Held in conjunction with the 2007 IEEE Symposium on Security and Privacy Thursday, May 24, The Claremont Resort, Oakland, California The goal of this one day workshop is to bring together researchers and practitioners from academia and industry to focus on understanding Web 2.0 security and privacy issues, and establishing new collaborations in these areas. Web 2.0 is about connecting people and amplifying the power of working together. The goal of connecting people is bringing together a broad range of technologies and social forces. We have witnessed a rapid proliferation of social computing web sites and content. This mixing of technology and social interaction is also occurring in the context of a wave of technologies supporting rapid development of these interpersonal interactions. Many of these new web technologies rely on the composition of content and services from multiple sources. On one end of the technology spectrum we have simple services such as blogs and wikis. However there are far more complex technology composition (mash-up) examples. The content composition trend is likely to continue. The lure is the promise of inexpensive and easy ways to compose software service and content. However, there are issues with respect to management of identities, reputation, privacy, anonymity, transient and long term relationships, and composition of function and content, both on the server side and inside the web browser. While the security and privacy issues are not new (many of these issues already exist with portal servers and browsers), the security issue is increasingly becoming acute as the technologies are adopted and adapted to appeal to a wider developer audience. Some of these technologies deliberately bypass existing security mechanisms. This workshop is intended to discuss the limitations of the current technologies and explore alternatives. The scope of W2SP 2007 includes, but is not limited to: -- Identity, privacy, reputation and anonymity -- End-to-end security architectures -- Security of content composition -- Security and privacy policy definition and modeling of content composition -- Provenance and governance -- Usable security and privacy models -- Static and dynamic analysis for security -- Security as a service Workshop Co-Chairs: oakland07-workshop at ieee-security.org Larry Koved, IBM T. J. Watson Research Center Dan Wallach, Rice University Program committee: Drew Dean (Yahoo) Simone Fischer-Hubner (Karlstad University) Larry Koved (IBM) Shriram Krishnamurthi (Brown University) John C. Mitchell (Stanford University) Alex Russell (DojoToolkit.org) Dan Wallach (Rice University) Helen Wang (Microsoft) Due to space limitations of the workshop venue registration is limited to 40 participants. While not required, potential workshop participants should submit a 1-2 page position statement on topics relevant to Web 2.0 security and privacy issues. This will help the workshop organizers organize the day around topics of common interest, and choose panels / papers to be presented. Should the workshop be oversubscribed, the program committee will strive to select participants in a way that is balanced between academia and industry, as well as across topics. The program committee will also select workshop position statements to appear on the workshop web site. Important dates: Position statement submission deadline: March 23, 2007 Workshop acceptance notification date: March 30, 2007 Workshop date: Thursday May 24, 2007 Workshop position statement submission web site: http://continue.cs.brown.edu/servlets/w2sp07/continue.ss Workshop registration will only be available via the 2007 IEEE Symposium on Security and Privacy conference web site. Larry Koved IBM T.J. Watson Research Center -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070307/d50788de/attachment.html From ken at krvw.com Wed Mar 7 11:44:15 2007 From: ken at krvw.com (Kenneth Van Wyk) Date: Wed, 7 Mar 2007 11:44:15 -0500 Subject: [SC-L] Nokia Lets Users Update Phone Software Directly (Phone Scoop) Message-ID: SC-L, Ok, so we all have various opinions about security patching practices in software -- mostly bad, I'm confident. But, in today's environment, patching still seems to be a necessary evil. But for the most part, mobile devices have been pretty much left out in the code. That's starting to change, but slowly. Here's a story about Nokia's recent announcement to enable their phone users to update the software on their own phones. Of course, apart from the legitimate security updating aspects of this sort of feature, I wonder if they've carefully thought through the misuse cases... Time will tell. In any case, FYI -- here's a URL to the article. Happy reading. http://www.phonescoop.com/news/item.php?n=2105 Cheers, Ken ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070307/87bea35a/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2454 bytes Desc: not available Url : http://krvw.com/pipermail/sc-l/attachments/20070307/87bea35a/attachment-0001.bin From ken at krvw.com Thu Mar 8 10:23:08 2007 From: ken at krvw.com (Kenneth Van Wyk) Date: Thu, 8 Mar 2007 10:23:08 -0500 Subject: [SC-L] =?iso-8859-1?q?STSC_CrossTalk_-_Secure_Coding_Standards_-_?= =?iso-8859-1?q?Mar=A02007?= Message-ID: <56667C00-1520-49CF-9698-F9A7AC7872B8@krvw.com> Greetings SC-Lers, Sitting here in the DHS Software Assurance forum today, I browsed a copy of the CrossTalk journal, "The Journal of Defense Software Engineering". This month's issue is focused on software security, and there are numerous articles in it that are likely to be of general interest to some of you. The journal has an RSS feed (http:// www.stsc.hill.af.mil/crosstalk/CrossTalk.rss) and all the articles are available for free on-line. This article by James Moore and Robert Seacord, http://www.stsc.hill.af.mil/crosstalk/2007/03/0703MooreSeacord.html, caught my eye in particular. Check it out. Neat stuff, for free. Cheers, Ken P.S. Some of you had reported problems with your emailers in reading my previously PGP-signed postings. I'm now experimenting with signing via S/MIME and a free X.509 certificate from Thawte. Those of you who reported the PGP problems to me (you know who you are), is this any better? Please reply off-list. ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070308/8c69f881/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2454 bytes Desc: not available Url : http://krvw.com/pipermail/sc-l/attachments/20070308/8c69f881/attachment.bin From James.McGovern at thehartford.com Thu Mar 8 11:08:43 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Thu, 8 Mar 2007 11:08:43 -0500 Subject: [SC-L] What defines an InfoSec Professional? In-Reply-To: <56667C00-1520-49CF-9698-F9A7AC7872B8@krvw.com> Message-ID: <773F863A6009244B87E6E866AFC7DB46019CA4F9@AD1HFDEXC309.ad1.prod> If you have two individuals, one of which has been practicing secure coding practices and encouraging others to do so for years while another individual was involved with firewalls, intrusion detection, information security policies and so on, are they both information security professionals or just the later? ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070308/c76f95d8/attachment.html From James.McGovern at thehartford.com Thu Mar 8 11:16:53 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Thu, 8 Mar 2007 11:16:53 -0500 Subject: [SC-L] Information Protection Policies In-Reply-To: <3F5AB9CDDAD2CC4A80D0FCDCF2755DFB7433DE@va-mail.cigital.com> Message-ID: <773F863A6009244B87E6E866AFC7DB46019CA4FB@AD1HFDEXC309.ad1.prod> Hopefully lots of the consultants on this list have been wildly successful in getting Fortune enterprises to embrace secure coding practices. I am curious to learn of those who have also been successful in getting these same Fortune enterprises to incorporate the notion of secure coding practices into an information protection policy and whether there are any publicly available examples. ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* From gunnar at arctecgroup.net Thu Mar 8 12:13:00 2007 From: gunnar at arctecgroup.net (Gunnar Peterson) Date: 08 Mar 2007 11:13:00 -0600 Subject: [SC-L] What defines an InfoSec Professional? Message-ID: <3256197210.862881@authsmtp.visi.com> actually just the former. Robert Garigue characterized firewalls, nids, et al as good network hygiene. The equivalent of a dentist telling you to brush your teeth. An infosec pro needs much more depth than that. The model is charlemagne http://1raindrop.typepad.com/1_raindrop/2007/02/thinking_about_.html -gp -----Original Message----- From: "McGovern, James F (HTSC, IT)" Date: Thursday, Mar 8, 2007 10:27 am Subject: [SC-L] What defines an InfoSec Professional? If you have two individuals, one of which has been practicing secure coding= practices and encouraging others to do so for years while another individu= al was involved with firewalls, intrusion detection, information security p= olicies and so on, are they both information security professionals or just= the later? ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* From Brian.A.Shea at bankofamerica.com Thu Mar 8 14:07:28 2007 From: Brian.A.Shea at bankofamerica.com (Shea, Brian A) Date: Thu, 08 Mar 2007 11:07:28 -0800 Subject: [SC-L] What defines an InfoSec Professional? In-Reply-To: <3256197210.862881@authsmtp.visi.com> Message-ID: The right answer is both IMO. You need the thinkers, integrators, and operators to do it right. The term Security Professional at its basic level simply denotes someone who works to make things secure. You can't be secure with only application security any more than you can be secure with only firewalls or NIDs. The entire ecosystem and lifecycle must be risk managed and that is accomplished by security professionals. Each professional may have a specialty due to the breadth of topics covered by Security (let's not forget our Physical Security either), but all would be expected to act as professionals. Professionals in this definition being people who are certified and expected to operate within specified standards of quality and behavior much like CISSP, CPA, MD, etc. -----Original Message----- From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org] On Behalf Of Gunnar Peterson Sent: Thursday, March 08, 2007 9:13 AM To: James.McGovern at thehartford.com Cc: SC-L at securecoding.org Subject: Re: [SC-L] What defines an InfoSec Professional? actually just the former. Robert Garigue characterized firewalls, nids, et al as good network hygiene. The equivalent of a dentist telling you to brush your teeth. An infosec pro needs much more depth than that. The model is charlemagne http://1raindrop.typepad.com/1_raindrop/2007/02/thinking_about_.html -gp -----Original Message----- From: "McGovern, James F (HTSC, IT)" Date: Thursday, Mar 8, 2007 10:27 am Subject: [SC-L] What defines an InfoSec Professional? If you have two individuals, one of which has been practicing secure coding= practices and encouraging others to do so for years while another individu= al was involved with firewalls, intrusion detection, information security p= olicies and so on, are they both information security professionals or just= the later? ************************************************************************ * This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************ * _______________________________________________ Secure Coding mailing list (SC-L) SC-L at securecoding.org List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l List charter available at - http://www.securecoding.org/list/charter.php SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) as a free, non-commercial service to the software security community. _______________________________________________ From ken at krvw.com Thu Mar 8 16:17:27 2007 From: ken at krvw.com (Kenneth Van Wyk) Date: Thu, 8 Mar 2007 16:17:27 -0500 Subject: [SC-L] =?windows-1252?q?Justice_League_=BB_Blog_Archive_=BB_Cigit?= =?windows-1252?q?al=92s_Touchpoints_versus_Microsoft=92s_SDL_=5BCigital?= =?windows-1252?q?=5D?= Message-ID: SC-L, I'm often asked by folks to compare and contrast some of the various published software security practices, from Microsoft's SDL and OWASP's CLASP through Cigital's "Touchpoint" processes. My own view is that they all offer value and are all worthy of consideration. In his most recent "Justice League" blog entry, Gary McGraw offers his own (obviously biased, as Cigital's CTO) comparison between their own approaches and Microsoft's SDL. You can read what he has to say at: http://www.cigital.com/justiceleague/2007/03/08/cigitals-touchpoints- versus-microsofts-sdl/ After recently reading Michael Howard and Steve Lipner's SDL book, I found a lot that I liked -- notably their discussions about testing. I admit that it largely changed my opinion about the value of (smart) fuzzing, for example. But how about others' experiences? I've found a lot of people feel comfortable with Microsoft's STRIDE / DREAD approaches because they're relatively light weight and an easy first step to take. Anyone here care to offer their own opinions and experiences? Cheers, Ken ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070308/0ec475f8/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2454 bytes Desc: not available Url : http://krvw.com/pipermail/sc-l/attachments/20070308/0ec475f8/attachment.bin From James.McGovern at thehartford.com Thu Mar 8 16:37:50 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Thu, 8 Mar 2007 16:37:50 -0500 Subject: [SC-L] What defines an InfoSec Professional? In-Reply-To: Message-ID: <773F863A6009244B87E6E866AFC7DB46019CA50A@AD1HFDEXC309.ad1.prod> Traditionally InfoSec folks defined themselves as being knowledgable in firewalls, policies, etc. Lately, many enterprises are starting to recognize the importance of security within the software development lifecycle where even some have acknowledged that software is a common problem space for those things traditionally thought of as infrastructure. The harder part is not in terms of recognizing the trend but in terms of folks from the old world acknowledging folks from the new world (software development) also as security professionals. I haven't seen many folks make this transition. I do suspect that some of it is tied to the romance of certifications such as CISSP whereby the exams that prove you are a security professional talk all about physical security and network security but really don't address software development in any meaningful way. Would be intriguing for folks here that blog to discuss ways for folks to transition / acknowledge respect not as just software developers with a specialization in security but in being true security professionals and treat them like peers all working on one common goal. -----Original Message----- From: Shea, Brian A [mailto:Brian.A.Shea at bankofamerica.com] Sent: Thursday, March 08, 2007 2:07 PM To: Gunnar Peterson; McGovern, James F (HTSC, IT) Cc: SC-L at securecoding.org Subject: RE: [SC-L] What defines an InfoSec Professional? The right answer is both IMO. You need the thinkers, integrators, and operators to do it right. The term Security Professional at its basic level simply denotes someone who works to make things secure. You can't be secure with only application security any more than you can be secure with only firewalls or NIDs. The entire ecosystem and lifecycle must be risk managed and that is accomplished by security professionals. Each professional may have a specialty due to the breadth of topics covered by Security (let's not forget our Physical Security either), but all would be expected to act as professionals. Professionals in this definition being people who are certified and expected to operate within specified standards of quality and behavior much like CISSP, CPA, MD, etc. ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* From michaelslists at gmail.com Thu Mar 8 16:59:11 2007 From: michaelslists at gmail.com (Michael Silk) Date: Fri, 9 Mar 2007 08:59:11 +1100 Subject: [SC-L] What defines an InfoSec Professional? In-Reply-To: <773F863A6009244B87E6E866AFC7DB46019CA50A@AD1HFDEXC309.ad1.prod> References: <773F863A6009244B87E6E866AFC7DB46019CA50A@AD1HFDEXC309.ad1.prod> Message-ID: <5e01c29a0703081359q4ded97bdob4041840ecfef2ba@mail.gmail.com> On 3/9/07, McGovern, James F (HTSC, IT) wrote: > > Traditionally InfoSec folks defined themselves as being knowledgable in > firewalls, policies, etc. Lately, many enterprises are starting to recognize > the importance of security within the software development lifecycle where > even some have acknowledged that software is a common problem space for > those things traditionally thought of as infrastructure. > > The harder part is not in terms of recognizing the trend but in terms of > folks from the old world acknowledging folks from the new world (software > development) also as security professionals. I haven't seen many folks make > this transition. I do suspect that some of it is tied to the romance of > certifications such as CISSP whereby the exams that prove you are a security > professional talk all about physical security and network security but > really don't address software development in any meaningful way. > > Would be intriguing for folks here that blog to discuss ways for folks to > transition / acknowledge respect not as just software developers with a > specialization in security but in being true security professionals and > treat them like peers all working on one common goal. i hear you on this one. australia, at least melbourne, still doesn't seem to have any idea of software/application security professionals. almost all jobs that have 'security' in them, then go on to talk about all the firewalls you must know how to configure. *sigh*. then there is the pen-testing side. there's should be a new field, "security design" that accompanies application architect, etc. then you have professional guidance of the security issues when building for app. -----Original Message----- > From: Shea, Brian A [mailto:Brian.A.Shea at bankofamerica.com] > Sent: Thursday, March 08, 2007 2:07 PM > To: Gunnar Peterson; McGovern, James F (HTSC, IT) > Cc: SC-L at securecoding.org > Subject: RE: [SC-L] What defines an InfoSec Professional? > > > The right answer is both IMO. You need the thinkers, integrators, and > operators to do it right. The term Security Professional at its basic > level simply denotes someone who works to make things secure. > > You can't be secure with only application security any more than you can > be secure with only firewalls or NIDs. The entire ecosystem and > lifecycle must be risk managed and that is accomplished by security > professionals. Each professional may have a specialty due to the > breadth of topics covered by Security (let's not forget our Physical > Security either), but all would be expected to act as professionals. > Professionals in this definition being people who are certified and > expected to operate within specified standards of quality and behavior > much like CISSP, CPA, MD, etc. > > > ************************************************************************* > This communication, including attachments, is > for the exclusive use of addressee and may contain proprietary, > confidential and/or privileged information. If you are not the intended > recipient, any use, copying, disclosure, dissemination or distribution is > strictly prohibited. If you are not the intended recipient, please notify > the sender immediately by return e-mail, delete this communication and > destroy all copies. > ************************************************************************* > > > _______________________________________________ > Secure Coding mailing list (SC-L) SC-L at securecoding.org > List information, subscriptions, etc - > http://krvw.com/mailman/listinfo/sc-l > List charter available at - http://www.securecoding.org/list/charter.php > SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) > as a free, non-commercial service to the software security community. > _______________________________________________ > -- mike 00110001 <3 00110111 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070309/cb7dacb4/attachment-0001.html From Greg.Beeley at LightSys.org Thu Mar 8 18:23:34 2007 From: Greg.Beeley at LightSys.org (Greg Beeley) Date: Thu, 08 Mar 2007 18:23:34 -0500 Subject: [SC-L] What defines an InfoSec Professional? In-Reply-To: <773F863A6009244B87E6E866AFC7DB46019CA50A@AD1HFDEXC309.ad1.prod> References: <773F863A6009244B87E6E866AFC7DB46019CA50A@AD1HFDEXC309.ad1.prod> Message-ID: <45F09AF6.4000608@LightSys.org> > [...] I do suspect that some of it is tied to the romance of > certifications such as CISSP whereby the exams that prove you are a > security professional talk all about physical security and network > security but really don't address software development in any meaningful > way. [...] That's interesting. While I have not taken the CISSP, I have studied it a bit, and software & app development security is supposed to be one of the 10 domains that the test covers. Perhaps one of the issues here is that if you are in operations work (network security, etc.), there are more aspects of the CISSP that are relevant to your daily work. In software development, there is usually just the one - app development sec - that the developer thinks about, unless the code has inherent security functionality, in which case access control, architecture/models, and cryptography can be important too. I agree that the software developer is a key part of the security big picture. In fact one of the reasons that firewalls have become so popular today is because of software bugs in host OS's and services... But software dev is unique in several ways that mean that it may be hard for the CISSP to cover it in a balanced manner. Teaching an IT person about fire and lightning protection, or about routers or firewalls, about ACL's, or even about risk management, does not have a steep learning curve. But learning the basics needed to really understand even high-level concepts regarding software security & high-assurance development practices is a much higher learning curve endeavor, in my view, for the typical IT person. A few questions, then -- should all developers be/become security professionals? Even the most innocent "pet project" application can end up having worldwide security implications, given the way apps can be rapidly popularized these days. What qualifications should a developer meet, to be a "security professional"? Should there be something like the Common Criteria EAL's, but somewhat less formal, to encourage broader use in labeling projects and code, esp. in the open-source world? - Greg 08-Mar-2007 From gunnar at arctecgroup.net Thu Mar 8 19:22:43 2007 From: gunnar at arctecgroup.net (Gunnar Peterson) Date: Thu, 08 Mar 2007 18:22:43 -0600 Subject: [SC-L] What defines an InfoSec Professional? In-Reply-To: Message-ID: What Garigue was trying to say is that deploying a firewall on a network is not security's mandate; it is _part of_ running a network. Basic hygiene. Brushing your teeth is part of having teeth. Deploying anti-virus on a windows desktop is not security; it is _part of_ operating a desktop. This is an important distinction, because it captures why so much security spend is targeted at the wrong issues. Security evolved out of operations, and today we all still live with this historical baggage. If you want to operate a network or a desktop in an enterprise, you have certain security responsibilities defined by information security policy...perhaps even backed up mechanisms, good for you, but these have little to do with information security, much like going to a dentist that just told you to brush your teeth and gave you a tooth brush would have extremely limited value....yet this is what we get from information security groups across this great cyberland of ours. I would point you to the fallacy of keeping up with the Jones' explored in detail at the Justice League http://www.cigital.com/justiceleague/2007/02/22/keeping-up-with-the-jones-se curity-initiatives/ Security groups that help businesses make risk tradeoffs based on functionality, time, and cost add value (you know just like software development does). "Amateurs study cryptography; professionals study economics." -- Allan Schiffman -gp On 3/8/07 1:07 PM, "Shea, Brian A" wrote: > The right answer is both IMO. You need the thinkers, integrators, and > operators to do it right. The term Security Professional at its basic > level simply denotes someone who works to make things secure. > > You can't be secure with only application security any more than you can > be secure with only firewalls or NIDs. The entire ecosystem and > lifecycle must be risk managed and that is accomplished by security > professionals. Each professional may have a specialty due to the > breadth of topics covered by Security (let's not forget our Physical > Security either), but all would be expected to act as professionals. > Professionals in this definition being people who are certified and > expected to operate within specified standards of quality and behavior > much like CISSP, CPA, MD, etc. > > -----Original Message----- > From: sc-l-bounces at securecoding.org > [mailto:sc-l-bounces at securecoding.org] On Behalf Of Gunnar Peterson > Sent: Thursday, March 08, 2007 9:13 AM > To: James.McGovern at thehartford.com > Cc: SC-L at securecoding.org > Subject: Re: [SC-L] What defines an InfoSec Professional? > > actually just the former. Robert Garigue characterized firewalls, nids, > et al as good network hygiene. The equivalent of a dentist telling you > to brush your teeth. An infosec pro needs much more depth than that. The > model is charlemagne > > http://1raindrop.typepad.com/1_raindrop/2007/02/thinking_about_.html > > -gp > -----Original Message----- > From: "McGovern, James F (HTSC, IT)" > Date: Thursday, Mar 8, 2007 10:27 am > Subject: [SC-L] What defines an InfoSec Professional? > > If you have two individuals, one of which has been practicing secure > coding= > practices and encouraging others to do so for years while another > individu= al was involved with firewalls, intrusion detection, > information security p= olicies and so on, are they both information > security professionals or just= > the later? > > > ************************************************************************ > * This communication, including attachments, is > for the exclusive use of addressee and may contain proprietary, > confidential and/or privileged information. If you are not the intended > recipient, any use, copying, disclosure, dissemination or distribution > is strictly prohibited. If you are not the intended recipient, please > notify the sender immediately by return e-mail, delete this > communication and destroy all copies. > ************************************************************************ > * > > > > _______________________________________________ > Secure Coding mailing list (SC-L) SC-L at securecoding.org > List information, subscriptions, etc - > http://krvw.com/mailman/listinfo/sc-l > List charter available at - http://www.securecoding.org/list/charter.php > SC-L is hosted and moderated by KRvW Associates, LLC > (http://www.KRvW.com) > as a free, non-commercial service to the software security community. > _______________________________________________ From coley at linus.mitre.org Thu Mar 8 21:57:53 2007 From: coley at linus.mitre.org (Steven M. Christey) Date: Thu, 8 Mar 2007 21:57:53 -0500 (EST) Subject: [SC-L] What defines an InfoSec Professional? In-Reply-To: <45F09AF6.4000608@LightSys.org> References: <773F863A6009244B87E6E866AFC7DB46019CA50A@AD1HFDEXC309.ad1.prod> <45F09AF6.4000608@LightSys.org> Message-ID: On Thu, 8 Mar 2007, Greg Beeley wrote: > Perhaps one of the issues here is that if you are in operations work > (network security, etc.), there are more aspects of the CISSP that are > relevant to your daily work. In software development, there is usually > just the one - app development sec - that the developer thinks about, > unless the code has inherent security functionality, in which case > access control, architecture/models, and cryptography can be important > too. Secure development certification will hopefully come to the marketplace in droves in the next year or two. One organization is not-so-privately-but-technically-not-yet-publicly preparing to roll something out in the coming months, and hopefully that will inspire others. Insert obligatory cert disclaimer here, but geez it's badly needed to raise the bar even a hair. > developer meet, to be a "security professional"? Should there be > something like the Common Criteria EAL's, but somewhat less formal, > to encourage broader use in labeling projects and code, esp. in the > open-source world? Dave Litchfield and I have *very* casually investigated forming a CC-like concept of Vulnerability Assessment Assurance Levels (VAAL) which is intended to reflect the depth of a vuln researcher's analysis as some crude but semi-repeatable measure of assurance. i've also done some thinking about vulnerability complexity, and I assume I've mentioned my vulnerability theory work on this list since I never shut up about it. Such concepts could be turned around to reflect the depth of understanding that a developer has - e.g. they know enough to try to strip out -- But this is just another way to accomplish your attack. BTW very nice paper! Regards, Stefano > Thanks, > Brian -- ...oOOo...oOOo.... Stefano Di Paola Software & Security Engineer Web: www.wisec.it .................. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Questa =?ISO-8859-1?Q?=E8?= una parte del messaggio firmata digitalmente Url : http://krvw.com/pipermail/sc-l/attachments/20070403/706dee87/attachment.bin From gem at cigital.com Wed Apr 4 10:00:30 2007 From: gem at cigital.com (Gary McGraw) Date: Wed, 4 Apr 2007 10:00:30 -0400 Subject: [SC-L] Darkreading: compliance Message-ID: <83B3489DF1064F4E90218770D953D36113F06A@va-mail.cigital.com> Hi all, Another big momentum machine for software security (and data security) is PCI compliance. There is a challenge, though, and that is figuring out where the credit card data that you want to protect are. We've found in our practice at cigital that the data are literally scattered all over the enterprise. Because of this, hair-brained solutions like application firewalls (something called out in the PCI standards) often don't help. I think PCI compliance is doing for data security and data risk what SOX did for software security and sofware risk. They both help with problem awareness. To answer your question directly, we see lots of large enterprises working hard on PCI these days. gem company www.cigital.com podcast www.cigital.com/silverbullet blog www.cigital.com/justiceleague book www.swsec.com. -----Original Message----- From: McGovern, James F (HTSC, IT) [mailto:James.McGovern at thehartford.com] Sent: Mon Apr 02 11:15:49 2007 To: SC-L at securecoding.org Subject: [SC-L] Darkreading: compliance SoX has done a wonderful job of getting enterprises to embrace the notion of holistic identity and access management which wasn't occuring prior to it. It would be interesting to hear from folks here what other enterprise initiatives do you think that should be on the radar of large enterprises. ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* _______________________________________________ Secure Coding mailing list (SC-L) SC-L at securecoding.org List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l List charter available at - http://www.securecoding.org/list/charter.php SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) as a free, non-commercial service to the software security community. _______________________________________________ ---------------------------------------------------------------------------- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- From James.McGovern at thehartford.com Wed Apr 4 10:11:13 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Wed, 4 Apr 2007 10:11:13 -0400 Subject: [SC-L] Darkreading: compliance In-Reply-To: <83B3489DF1064F4E90218770D953D36113F06A@va-mail.cigital.com> Message-ID: <773F863A6009244B87E6E866AFC7DB460399986D@AD1HFDEXC309.ad1.prod> Gary, may I suggest an alternative response to application firewalls and the notion that it is hair-brained? Of course this is true but this list is missing a major opportunity to finally calculate an ROI model. If you ask yourself, what types of firewalls are pervasively deployed, you would find that application-firewalls aren't. This would then mean that folks would either need to replace their existing firewall (very risky that no one would ever consider), add multiple firewalls which introduce operational complexity, etc. You are probably aware that Cisco Pix, Checkpoint, etc aren't app-level which says that incumbent vendors aren't the solution. Likewise, you are probably aware that for other than common protocols, you probably will have to pay big bucks to vendors to develop custom plugins to their closed source offerings and the procurement cycle times around this are lengthy at best. For many shops, having another type of firewall could cost millions whereas putting tools in the hands of developers may actually be cheaper. We as a community may be better served by encouraging application firewalls and letting the financial model for complying work in our favor... -----Original Message----- From: Gary McGraw [mailto:gem at cigital.com] Sent: Wednesday, April 04, 2007 10:01 AM To: McGovern, James F (HTSC, IT); SC-L at securecoding.org Subject: RE: [SC-L] Darkreading: compliance Hi all, Another big momentum machine for software security (and data security) is PCI compliance. There is a challenge, though, and that is figuring out where the credit card data that you want to protect are. We've found in our practice at cigital that the data are literally scattered all over the enterprise. Because of this, hair-brained solutions like application firewalls (something called out in the PCI standards) often don't help. I think PCI compliance is doing for data security and data risk what SOX did for software security and sofware risk. They both help with problem awareness. To answer your question directly, we see lots of large enterprises working hard on PCI these days. gem company www.cigital.com podcast www.cigital.com/silverbullet blog www.cigital.com/justiceleague book www.swsec.com. ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* From James.McGovern at thehartford.com Wed Apr 4 11:10:35 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Wed, 4 Apr 2007 11:10:35 -0400 Subject: [SC-L] Foundations of Security: What Every Programmer Needs to Know In-Reply-To: Message-ID: <773F863A6009244B87E6E866AFC7DB4603999873@AD1HFDEXC309.ad1.prod> http://www.bookpool.com/sm/1590597842 Any thoughts positive and negative on this book? ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* From jms at bughunter.ca Wed Apr 4 11:38:38 2007 From: jms at bughunter.ca (J. M. Seitz) Date: Wed, 4 Apr 2007 08:38:38 -0700 Subject: [SC-L] Darkreading: compliance In-Reply-To: <773F863A6009244B87E6E866AFC7DB460399986D@AD1HFDEXC309.ad1.prod> Message-ID: <005f01c776cf$517a35e0$4d07a8c0@jseitz> > For many shops, having another type of firewall could cost > millions whereas putting tools in the hands of developers may > actually be cheaper. We as a community may be better served > by encouraging application firewalls and letting the > financial model for complying work in our favor... I definitely agree, and I strongly disagree with Gary that application firewalls are "hair brained" solutions. It's always my feeling, and I try to put this into practice in my current role, is that security is a multi-layer approach. From secure coding practice in development, proper QA cycle and regression testing, deployment security touchpoints, and finally adding the extra layer on the top is putting application layer firewalls in place, which if we ever have a 0-day style vulnerability it's very quick to throw in a rule to protect it, and begin working on a patch. Now I know that your consulting business relies on you promoting "security from the inside" but are you saying that application firewalls are pointless and we should stop using them? Or are you saying that it's rediculous that we ever got to the point where applications are so insecure that we need a transaction-per-transaction inspection mechanism to make sure the bad guys aren't getting us? You may want to clarify this a little bit for us sec-newbs.... JS From gem at cigital.com Wed Apr 4 11:39:10 2007 From: gem at cigital.com (Gary McGraw) Date: Wed, 4 Apr 2007 11:39:10 -0400 Subject: [SC-L] Foundations of Security: What Every Programmer Needs to Know Message-ID: <83B3489DF1064F4E90218770D953D36113F08A@va-mail.cigital.com> It was written by a PhD from stanford who worked with dan boneh. He now works for google. The book has lots of hands on examples which makes it powerful. I think it's worth buying and reading. I have a copy on my desk now. gem company www.cigital.com podcast www.cigital.com/silverbullet blog www.cigital.com/justiceleague book www.swsec.com -----Original Message----- From: McGovern, James F (HTSC, IT) [mailto:James.McGovern at thehartford.com] Sent: Wed Apr 04 11:32:31 2007 To: sc-l at securecoding.org Subject: [SC-L] Foundations of Security: What Every Programmer Needs to Know http://www.bookpool.com/sm/1590597842 Any thoughts positive and negative on this book? ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* _______________________________________________ Secure Coding mailing list (SC-L) SC-L at securecoding.org List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l List charter available at - http://www.securecoding.org/list/charter.php SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) as a free, non-commercial service to the software security community. _______________________________________________ ---------------------------------------------------------------------------- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- From James.McGovern at thehartford.com Wed Apr 4 11:56:51 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Wed, 4 Apr 2007 11:56:51 -0400 Subject: [SC-L] FW: Need Sec Forum speakers-let us know by Wed. if interested Message-ID: <773F863A6009244B87E6E866AFC7DB4603999879@AD1HFDEXC309.ad1.prod> Awhile back, I mentioned the Technology forum in NYC and they are seeking speakers. Of course there are some constraints to whom may sign up. A "sponsor" may serve on a panel but otherwise, the speakers need to be from end-customer enterprises and not from software vendors or consulting firms. If you know of folks that can speak on their successes, they should definetely be encouraged to participate. NOTE: There is strong demand for Secure Coding Practices... -----Original Message----- From: Victoria Adams-TechForum [mailto:vadams at techforum.com] Sent: Monday, April 02, 2007 5:10 PM To: McGovern, James F (HTSC, IT) Subject: Need Sec Forum speakers-let us know by Wed. if interested TechForum members: Need speakers for panels-please let us know by Wednesday afternoon ------------------------------------------------------------------------ Dear Members of Technology Managers Forum : Based on your votes, we've narrowed down the topics for the May 17th Security Forum and are now looking for TF member speakers for the panels, or your recommendations for a colleague at your company. Please take a look at the topics below and let us know which ones, if any, you would be willing and able to speak on. We would like to hear back from you by Wednesday afternoon if possible. Also, let us know if you have anyone to recommend from your firm. Here are the top ranked topics (we will distill the topics into 4 panels eventually). Please let us know which topics you would be able to speak on--your first and second choice. If you have been on a panel very recently, we definitely still want you to volunteer, but we may ask you to be backup for a panel since we also like to give new members a chance to participate. (One note: "Human Engineering: Is Information Security a Social Problem?" was the top-ranked topic, but we thought we'd address this question within the context of every panel). 1: Secure Coding Practices & Strategic Applications: Which Comes First? 2:Enterprise Security and Individual Privacy: When Two Worlds Collide 3: The Forensic Edge: Will Security Event Monitoring Pay for Itself? 4: Risk Management: Is Information Security the Whole Sandwich? 5:Encryption: For some of the data, all of the time 6: Friendly Fire: Protecting the Network from its Own Endpoints 7: Secure Voice & Video: Miles to Go Before We Sleep 8: Security Is as Security Does: Dealing with the Insider Threat ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070404/c2b0929a/attachment.html From dinis at ddplus.net Wed Apr 4 13:38:53 2007 From: dinis at ddplus.net (Dinis Cruz) Date: Wed, 4 Apr 2007 18:38:53 +0100 Subject: [SC-L] Darkreading: compliance In-Reply-To: <005f01c776cf$517a35e0$4d07a8c0@jseitz> References: <773F863A6009244B87E6E866AFC7DB460399986D@AD1HFDEXC309.ad1.prod> <005f01c776cf$517a35e0$4d07a8c0@jseitz> Message-ID: <701fd6b60704041038u58a15faap5b5f0f88e1f2d799@mail.gmail.com> On 4/4/07, J. M. Seitz wrote: > > From secure coding practice in development, proper QA cycle and > regression testing, deployment security touchpoints, and finally adding > the > extra layer on the top is putting application layer firewalls in place, > which if we ever have a 0-day style vulnerability it's very quick to throw > in a rule to protect it, and begin working on a patch. Absolutely, for me the best use of WAFs is to use them to fix or mitigate known (to the web application owner) vulnerabilities. This is the place where you get maximum ROI from it. Trying to use WAFs across the board on all pages and fields works ok for simple web applications and for simple things (like detecting SQL error messages going to the user), but give it a complex app, and you will have massive and complex rules. They are also usually quite brutal in their responses since they don't allow dynamic content manipulation, they only allow binary decisions (aka 'when an attack is detect redirect to page xyz') And why don't the WAFs promote this use case more? Every time I have a 5h discussion with them (last couple OWASP conferences :) ) they tell me that their clients don't ask for it (which is not true since one of my clients (major financial institution) uses a WAF do 'mitigate' known vulnerabilities on a COTS). I think the real reason is that the current WAFs (with some uses of ModSecurity being an exception) don't have access to the state of the application (i.e. the business layer and data layer) so there are tons of vulnerabilities that they can't mitigate against. Basically in order to mitigate a vulnerability the current WAFs needs that the application gives them clues of what are valid and non-malicious requests (something that is easy on technical vulnerabilities (aka SQL Injection) but very hard for 'Business Logic Vulnerabilities' (should this user be accessing this data or making this transaction?') This is why I jokingly said ' currently WAFs don't protect against layer 7 attacks, they only protect from Layer 7 1/2 attacks :) Dinis Cruz Chief OWASP Evangelist http://www.owasp.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070404/d66dd6cc/attachment.html From bugtraq at cgisecurity.net Wed Apr 4 15:11:12 2007 From: bugtraq at cgisecurity.net (bugtraq at cgisecurity.net) Date: Wed, 4 Apr 2007 15:11:12 -0400 (EDT) Subject: [SC-L] Darkreading: compliance In-Reply-To: <773F863A6009244B87E6E866AFC7DB460399986D@AD1HFDEXC309.ad1.prod> Message-ID: <20070404191112.36620.qmail@cgisecurity.net> > Gary, may I suggest an alternative response to application firewalls and the notion that it is hair-brained? Of course this is true but this list is missing a major opportunity to finally calculate an ROI model. If you ask yourself, what types of firewalls are pervasively deployed, you would find that application-firewalls aren't. This would then mean that folks would either need to replace their existing firewall (very risky that no one would ever consider), add multiple firewalls which introduce operational complexity, etc. > > For many shops, having another type of firewall could cost millions whereas putting tools in the hands of developers may actually be cheaper. We as a community may be better served by encouraging application firewalls and letting the financial model for complying work in our favor... > I think that appfirewalls have value depending on your expectation and situation. If you have a small website that doesn't change much then there may be value. If you are in a serious need to pass PCI or some compliance requirement quickly, an app firewall may buy you some time to address the problem correctly in development. If you have code pushes every 2 weeks with new content being added on a large website you need to understand that you'll need to hire an appfirewall person to constantly tweak rules plus the cost of the licenses. App firewalls are IDS/IPS's and should be treated as such except that the specifics are slightly different because it sits on the web layer which is considerably more complicated and dynamic. I'm an advocate of fixing the problem in the SDLC however one of the things that people fail to consider is SDLC integration with an existing process and large code base takes months, sometimes years to get right. Until it is properly integrated you're left with the decision of fixing vulns one at a time (as they come up) or/and placing additional filtering in place to reduce risk. Regards, - Robert Auger http://www.cgisecurity.com/ Application security news and more http://www.webappsec.org/ The Web Application Security Consortium http://www.qasec.com/ Software Security Testing From EB41704 at jp.ibm.com Thu Apr 5 22:32:33 2007 From: EB41704 at jp.ibm.com (Frederik De Keukelaere) Date: Fri, 6 Apr 2007 11:32:33 +0900 Subject: [SC-L] JavaScript Hijacking In-Reply-To: <1175617811.7199.68.camel@laptop> Message-ID: Hi Brian, Hi Stefano, > Ok I see the difference. > You are taking advantage of a pure json CSRF with a evil script which > contains a modified version of the Object prototype. > And when the callback function is executed you use a XMLHttpRequest in > order to send the information extracted by the instantiated object. In the beginning of the paper there was a comment that the code that was presented was designed for use in Firefox but could be ported to IE or other browsers. However, since IE does not seem to have the setter methods (correct me if I am wrong), I did not quite find a way to achieve this in IE. We tried several things such as replacing Array and Object constructor as well as as overriding eval, neither of which worked. Do you have any suggestions about how to port this attack to IE? Btw, thanks for the papers. Kind Regards, Fred --- Frederik De Keukelaere, Ph.D. Post-Doc Researcher IBM Research, Tokyo Research Laboratory -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070406/b9ac46c2/attachment.html From brian at fortifysoftware.com Mon Apr 9 00:31:04 2007 From: brian at fortifysoftware.com (Brian Chess) Date: Sun, 08 Apr 2007 21:31:04 -0700 Subject: [SC-L] SC-L Digest, Vol 3, Issue 73 In-Reply-To: Message-ID: Hi Frederik, You're right that IE does not have the setter methods. You're also right that hijacking the Object() or Array() constructor method would be enough to pull off the attack. The bad (good?) news is that IE doesn't call those methods unless an object is explicitly created with the "new" keyword. We got this wrong when we looked at it initially, which is why we said the code could be ported to IE. We're going to go back and fix that in the paper. Of course, any JavaScript data transport format that explicitly calls a function is vulnerable in all browsers. Over the last week or two I've been learning that people are moving data around using a lot more than just JSON, though JSON is the clear front-runner. Brian > > Message: 1 > Date: Fri, 6 Apr 2007 11:32:33 +0900 > From: Frederik De Keukelaere > Subject: Re: [SC-L] JavaScript Hijacking > To: sc-l at securecoding.org > Message-ID: > > Content-Type: text/plain; charset="us-ascii" > > Hi Brian, Hi Stefano, > > > >> Ok I see the difference. >> You are taking advantage of a pure json CSRF with a evil script which >> contains a modified version of the Object prototype. >> And when the callback function is executed you use a XMLHttpRequest in >> order to send the information extracted by the instantiated object. > > In the beginning of the paper there was a comment that the code that was > presented was designed for use in Firefox but could be ported to IE or > other browsers. However, since IE does not seem to have the setter methods > (correct me if I am wrong), I did not quite find a way to achieve this in > IE. > We tried several things such as replacing Array and Object constructor as > well as as overriding eval, neither of which worked. Do you have any > suggestions about how to port this attack to IE? > > Btw, thanks for the papers. > > Kind Regards, > > Fred > > --- > Frederik De Keukelaere, Ph.D. > Post-Doc Researcher > IBM Research, Tokyo Research Laboratory > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://krvw.com/pipermail/sc-l/attachments/20070406/b9ac46c2/attachment-0001.h > tml > > ------------------------------ > > _______________________________________________ > SC-L mailing list > SC-L at securecoding.org > http://krvw.com/mailman/listinfo/sc-l > > > End of SC-L Digest, Vol 3, Issue 73 > *********************************** From EB41704 at jp.ibm.com Mon Apr 9 00:45:39 2007 From: EB41704 at jp.ibm.com (Frederik De Keukelaere) Date: Mon, 9 Apr 2007 13:45:39 +0900 Subject: [SC-L] SC-L Digest, Vol 3, Issue 73 In-Reply-To: Message-ID: Brian Chess wrote on 2007/04/09 13:31:04: > Hi Frederik, Hi Brian, > You're right that IE does not have the setter methods. You're also right > that hijacking the Object() or Array() constructor method would be enough to > pull off the attack. The bad (good?) news is that IE doesn't call those > methods unless an object is explicitly created with the "new" keyword. We > got this wrong when we looked at it initially, which is why we said the code > could be ported to IE. We're going to go back and fix that in the paper. Thanks for your reply. Since there is much more to JavaScript than that I originally anticipated, I thought we missed something in our experiments. > Of course, any JavaScript data transport format that explicitly calls a > function is vulnerable in all browsers. Over the last week or two I've been > learning that people are moving data around using a lot more than just JSON, > though JSON is the clear front-runner. Would you mind sharing the different data formats you came across for exchanging data in mashups/Web 2.0? Considering the challenges you recently discovered, it might be good to have such an overview to look at it from a security point of view. > Brian Frederik --- Frederik De Keukelaere, Ph.D. Post-Doc Researcher IBM Research, Tokyo Research Laboratory -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070409/a94d1b5a/attachment.html From ken at krvw.com Mon Apr 9 11:12:07 2007 From: ken at krvw.com (Kenneth Van Wyk) Date: Mon, 9 Apr 2007 11:12:07 -0400 Subject: [SC-L] Stakes are High for Vista Security Message-ID: <3C6751CE-D8C1-40F4-8F0F-480C7CF8215C@krvw.com> I hope that some of you will find my April column over on eSecurityPlanet interesting. It can be found (for free) at the link below. If not, just press the old delete key. http://www.esecurityplanet.com/article.php/11162_3670486_2 Cheers, Ken ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2454 bytes Desc: not available Url : http://krvw.com/pipermail/sc-l/attachments/20070409/24a25027/attachment.bin From ken at krvw.com Mon Apr 9 12:08:14 2007 From: ken at krvw.com (Kenneth Van Wyk) Date: Mon, 9 Apr 2007 12:08:14 -0400 Subject: [SC-L] Stakes are High for Vista Security In-Reply-To: <3C6751CE-D8C1-40F4-8F0F-480C7CF8215C@krvw.com> References: <3C6751CE-D8C1-40F4-8F0F-480C7CF8215C@krvw.com> Message-ID: <54379376-107A-4840-AC3D-2948B42A0B3E@krvw.com> On Apr 9, 2007, at 11:12 AM, Kenneth Van Wyk wrote: > http://www.esecurityplanet.com/article.php/11162_3670486_2 Sorry folks -- I inadvertently posted the URL to page 2 of the column. Page 1 is at http://www.esecurityplanet.com/article.php/3670486 Sorry for the inconvenience (and the list clutter). Mea culpa++ Cheers, Ken van Wyk -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2454 bytes Desc: not available Url : http://krvw.com/pipermail/sc-l/attachments/20070409/fa71f1fd/attachment.bin From daswani at cs.stanford.edu Tue Apr 10 10:28:11 2007 From: daswani at cs.stanford.edu (Neil Daswani) Date: Tue, 10 Apr 2007 07:28:11 -0700 Subject: [SC-L] Foundations of Security: What Every Programmer Needs to Know Message-ID: For those of you that might be potentially interested in the book, following are some pointers to where you can get more information about it: * The preface and Vint Cerf's foreword for the book are available under the "Book Extras" section at: http://www.apress.com/book/bookDisplay.html?bID=10225 * An excerpt from Chapter 3 of the book (on "Secure Design Principles") is available at: http://www.developer.com/java/data/article.php/3667601 * If you are an instructor or an IT professional responsible for training, I have provided slides and source code that you are free to use for your own courses and needs at the book's web site (http://www.learnsecurity.com/ntk) free of charge. If you might be potentially interested in using the book in classes or buying copies for your organization, I would be more than happy to have the publisher provide you with a free evaluation copy of the book-- just send me a quick email with your contact information. Please feel free to let me know if you have any questions or feedback, and I look forward to continue helping disseminate knowledge about secure coding practices. Sincerely, Neil Daswani, PhD http://www.neildaswani.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070410/c2c3cb06/attachment.html From gem at cigital.com Fri Apr 13 17:32:32 2007 From: gem at cigital.com (Gary McGraw) Date: Fri, 13 Apr 2007 17:32:32 -0400 Subject: [SC-L] Silver Bullet: Ross Anderson Message-ID: <83B3489DF1064F4E90218770D953D36113F19F@va-mail.cigital.com> Hi all, A faithful reader of sc-l (and a long time silver bullet listener) suggested that I interview Ross Anderson for an episode. By popular demand, here's Ross: http://www.cigital.com/silverbullet/show-013/ This episode will appear in an upcoming issue of IEEE Security & Privacy magazine. S&P co-sponsors Silver Bullet along with Cigital. As usual, there is some talk about software security in this episode. Your feedback is welcome! gem company www.cigital.com blog www.cigital.com/justiceleague book www.swsec.com Sent from my treo. ---------------------------------------------------------------------------- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- From ed.reed at aesec.com Thu Apr 19 09:14:45 2007 From: ed.reed at aesec.com (Ed Reed) Date: Thu, 19 Apr 2007 09:14:45 -0400 Subject: [SC-L] State Department break-in last summer Message-ID: <46276B45.5020604@aesec.com> http://news.yahoo.com/s/ap/20070419/ap_on_hi_te/hackers_state_department This article describes a Trojan horse attack introduced via MS Office (Word) documents that provided remote access by adversaries to compromised systems. It doesn't say if the exploit - "design flaw" - was intentionally introduced (a product of deliberate subversion) or not. While the article may provide "comfort" to the "defense in depth" crowd (the State department THINKS the issue was discovered immediately - but then again, after they were made aware of it - so they knew what to watch for - they found numerous other compromised systems, so I wonder how many haven't (yet) been caught). This isn't terribly surprising, but it brings to mind a new insight (for me, anyway) into the issue that government and commercial customers are facing. We've (Aesec) been saying that subversion (deliberately introduced design and implementation defects into a customer's IT supply chain) is the preferred avenue of attack of professional adversaries, and I agree that it is. We've (Aesec) also noted that the commercial security industry is largely focused, instead, on discovering and patching software defects that can be easily discovered (via fuzzing and testing) and exploited to gain access to systems. Both those two avenues can lead to serious security breeches. But it's not necessary to plant an operative into a vendor's shop in a position to introduce flaws into software to gain advantage. Simply knowing enough about the internal design and implementation of the system is likely to provide the adversary with the knowledge and opportunity to discover paths of attack that can be researched at their leisure, held until needed as what would be considered a private "zero day exploit". So at one end of the spectrum of malicious attacks are pure opportunists (including amateurs and script kiddies) using defects discovered through fuzzing interfaces and related black box testing techniques. At the other end of the scale are paid professional operatives infiltrating vendor development and delivery supply chains to introduce defects intentionally. And in the middle are those with "gray box" knowledge of products involved, who are in a better position than the public to identify attack vectors worth investigating. This middle ground would seem to significantly increase the threat - there are many more jobs in vendor organizations (and their supply and support chains) that provide privileged insight to product design, development, implementation and delivery than there are with direct code modification roles in the product. So I think you'd have to assume that the pool of unreported zero day exploits may be much larger than generally expected. Just a thought. This doesn't reduce the challenge or need to deal with subversion by the professional adversary - it just expands my appreciation for the size of the threat customers face. Ed State Department got mail _ and hackers By TED BRIDIS, Associated Press Writer/Wed Apr 18, 8:29 PM ET/ A break-in targeting State Department computers worldwide last summer occurred after a department employee in Asia opened a mysterious e-mail that quietly allowed hackers inside the U.S. government's network. *In the first public account revealing details about the intrusion and the government's hurried behind-the-scenes response, a senior State Department official described an elaborate ploy by sophisticated international hackers. They used a secret break-in technique that exploited a design flaw in Microsoft software.* Consumers using the same software remained vulnerable until months afterward. Donald R. Reid, the senior security coordinator for the Bureau of Diplomatic Security, also confirmed that a limited amount of U.S. government data was stolen by the hackers until tripwires severed all the State Department's Internet connections throughout eastern Asia. The shut-off left U.S. government offices without Internet access in the tense weeks preceding missile tests by North Korea. Reid was scheduled to testify Thursday at a cybersecurity hearing for a House Homeland Security subcommittee. He was expected to tell lawmakers an employee in the State Department's Bureau of East Asian and Pacific Affairs --- which coordinates diplomacy in countries including China, the Koreas and Japan --- opened a rigged e-mail message in late May giving hackers access to the government's network. *The chairman of the Homeland Security Committee, Rep. Bennie Thompson (news, bio, voting record), D-Miss., said hackers are no longer considered harmless, bored teenagers. "These are experienced, sophisticated people who are trying to exploit our vulnerabilities and gain access to our information," Thompson said.* Reid was not expected to disclose the identities or nationalities of the hackers believed to be responsible for the break-ins or to disclose whether U.S. authorities believe a foreign government was responsible. The department struggled with the break-ins between May and early July. *The panel's chairman, Rep. James R. Langevin, D-R.I., called cybersecurity an often-overlooked line of defense. "Since much of our critical infrastructure is dependent on computers and networks and is interconnected and interdependent, a cyberattack could disrupt major services and cripple economic activity," Langevin said.* The mysterious State Department e-mail appeared to be legitimate and included a Microsoft Word document with material from a congressional speech related to Asian diplomacy, Reid said. By opening the document, the employee activated hidden software commands establishing what Reid described as backdoor communications with the hackers. *The technique exploited a previously unknown design flaw in Microsoft's Office software, Reid said. *State Department officials worked with the Homeland Security Department and even the FBI to urge Microsoft to develop quickly a protective software patch, but the company did not offer the patch until Aug. 8 --- *roughly eight weeks after the break-in.* Microsoft said it works as quickly as possible to provide customers with security updates. "If we release a security update that is not adequately tested, we could potentially put customers at risk, especially as the release of an update can lead to reverse-engineering the fix and lead to broader attacks," said Microsoft's senior security strategist, Phil Reitinger. "Updates must be able to be deployed by customers with confidence." At the time, Microsoft described the software flaw as "a newly discovered, privately reported vulnerability" but did not suggest any connection to the U.S. government break-in. It urged consumers to apply the update immediately. It also recommended that consumers not open or save Microsoft Office files they receive from sources they don't trust or files they receive unexpectedly from trusted sources. *The State Department detected its first break-in immediately, Reid said, and worked to block suspected communications with the hackers. But during its investigation, it discovered new break-ins at its Washington headquarters and other offices in eastern Asia, Reid said.* *At first, the hackers did not immediately appear to try stealing any U.S. government data. Authorities quietly monitored the hackers' activity, then tripwires severed Internet connections in the region after a limited amount of data was detected being stolen, Reid said.* Reid also complained the State Department's efforts to deal quietly with the break-in were disrupted by news reports. The Associated Press was first to reveal the intrusions. "We were successful here until a newspaper article telegraphed what we were dealing with," Reid said. Copyright ? 2007 The Associated Press. All rights reserved. The information contained in the AP News report may not be published, broadcast, rewritten or redistributed without the prior written authority of The Associated Press. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070419/31c20d0b/attachment.html From brian at fortifysoftware.com Thu Apr 19 14:47:41 2007 From: brian at fortifysoftware.com (Brian Chess) Date: Thu, 19 Apr 2007 11:47:41 -0700 Subject: [SC-L] JavaScript Hijacking In-Reply-To: Message-ID: Frederik De Keukelaere writes: > Would you mind sharing the different data formats you came across for > exchanging data in mashups/Web 2.0? Considering the challenges you > recently discovered, it might be good to have such an overview to look at > it from a security point of view. Oops, sorry for taking so long to respond. In addition to JSON, I've seen two other uses of JavaScript as a data transport format. 1) JavaScript arrays Example: [ "a", "b", "c" ] Technically speaking, this is a subset of JSON, but in these systems there is no notion of an object, only an array. These systems are more vulnerable than systems using JSON because they're guaranteed to always use array syntax. 2) Function calls Example: addRecord("a", "b", "c"); This format is even easier to hijack, just define the named function. This is the worst of the bunch from a confidentiality standpoint. Regards, Brian From nick at virus-l.demon.co.uk Thu Apr 19 21:11:04 2007 From: nick at virus-l.demon.co.uk (Nick FitzGerald) Date: Fri, 20 Apr 2007 13:11:04 +1200 Subject: [SC-L] State Department break-in last summer In-Reply-To: References: Message-ID: <4628BBE8.29151.A6C9A016@nick.virus-l.demon.co.uk> Ed Reed wrote: > http://news.yahoo.com/s/ap/20070419/ap_on_hi_te/hackers_state_department > > This article describes a Trojan horse attack introduced via MS Office > (Word) documents that provided remote access by adversaries to > compromised systems. It doesn't say if the exploit - "design flaw" - > was intentionally introduced (a product of deliberate subversion) or > not. ... Well, odds are not, given the source of the software in question (and, no, I don't mean that I think MS has much better security screening of its employees... 8-) ). > ... While the article may provide "comfort" to the "defense in depth" > crowd (the State department THINKS the issue was discovered immediately > - but then again, after they were made aware of it - so they knew what > to watch for - they found numerous other compromised systems, so I > wonder how many haven't (yet) been caught). Indeed... > This isn't terribly surprising, but it brings to mind a new insight (for > me, anyway) into the issue that government and commercial customers are > facing. > > We've (Aesec) been saying that subversion (deliberately introduced > design and implementation defects into a customer's IT supply chain) is > the preferred avenue of attack of professional adversaries, and I agree > that it is. > > We've (Aesec) also noted that the commercial security industry is > largely focused, instead, on discovering and patching software defects > that can be easily discovered (via fuzzing and testing) and exploited to > gain access to systems. > > Both those two avenues can lead to serious security breeches. > > But it's not necessary to plant an operative into a vendor's shop in a > position to introduce flaws into software to gain advantage. Simply > knowing enough about the internal design and implementation of the > system is likely to provide the adversary with the knowledge and > opportunity to discover paths of attack that can be researched at their > leisure, held until needed as what would be considered a private "zero > day exploit". > > So at one end of the spectrum of malicious attacks are pure opportunists > (including amateurs and script kiddies) using defects discovered through > fuzzing interfaces and related black box testing techniques. At the > other end of the scale are paid professional operatives infiltrating > vendor development and delivery supply chains to introduce defects > intentionally. And in the middle are those with "gray box" knowledge of > products involved, who are in a better position than the public to > identify attack vectors worth investigating. > > This middle ground would seem to significantly increase the threat - > there are many more jobs in vendor organizations (and their supply and > support chains) that provide privileged insight to product design, > development, implementation and delivery than there are with direct code > modification roles in the product. So I think you'd have to assume that > the pool of unreported zero day exploits may be much larger than > generally expected. I agree with all this, but... You -- and all journalistic and other commentaries I've seen/heard on the increasingly common use of these targetted Office exploits -- miss one very important option, I think; the attacker has access to (partial) source of the closed, supposedly closely-held, proprietary software in question. Recall the rumours and stories from a few years back of the MS source- code thefts? From memory, reputedly (most of) Win2K, some of WinXP (?) and (parts of) Office were stolen. Parts of these thefts were clearly confirmed with (parts of) Windows OS source becoming downloadable from various "underground" sources sometime later. Further, and more speculative, was the suggestion that the reputed (earlier) MS break-in (as opposed to the third-party licensee from which the OS source code was reputedly "clearly" obtained) was a Russian or Chinese hacker/hacking group. Some say that there were multiple break-ins at MS around that time and that both Russian and Chinese groups were involved. Nowadays most of the publicly discussed/disclosed targetted Office exploits have been attributed to Chinese-based "attackers". Also of some interest might be the fact that it seems (at least to me) if there are version specificities in the exploits used in these targetted attacks, these more commonly restrict the applicability of the exploit to the older Office product versions. Now, this may be indicative of overall improvements in MS code standards due to SDLC (are newer versions of Office distilled through SDLC?) and compiler "security" improvements, but it might also be indicative of the "attackers" (or, at least those they buy their exploits from) having access to the reputed/rumoured stolen Office source which, if it ever was stolen, would be code of older versions of Office and thus be more likely to have changed, and thus not exhibit the same vulnerabilities, in newer versions. > Just a thought. Ditto... Regards, Nick FitzGerald From fw at deneb.enyo.de Fri Apr 20 15:41:48 2007 From: fw at deneb.enyo.de (Florian Weimer) Date: Fri, 20 Apr 2007 21:41:48 +0200 Subject: [SC-L] State Department break-in last summer In-Reply-To: <4628BBE8.29151.A6C9A016@nick.virus-l.demon.co.uk> (Nick FitzGerald's message of "Fri, 20 Apr 2007 13:11:04 +1200") References: <4628BBE8.29151.A6C9A016@nick.virus-l.demon.co.uk> Message-ID: <87fy6ug7er.fsf@mid.deneb.enyo.de> * Nick FitzGerald: > You -- and all journalistic and other commentaries I've seen/heard on > the increasingly common use of these targetted Office exploits -- miss > one very important option, I think; the attacker has access to > (partial) source of the closed, supposedly closely-held, proprietary > software in question. I would expect that various universities have got access to the source code as well, and several companies. The times when you couldn't get source code for proprietary, off-the-shelf software are over. Welcome to the new world order! 8-) From gem at cigital.com Fri Apr 20 16:16:33 2007 From: gem at cigital.com (Gary McGraw) Date: Fri, 20 Apr 2007 16:16:33 -0400 Subject: [SC-L] How big is the market? Message-ID: <83B3489DF1064F4E90218770D953D3611972D8@va-mail.cigital.com> Hi sc-lers, At s3con this week I gave a keynote about the state of the practice in software security. Some of what I said is captured in my darkreading column this month: http://www.darkreading.com/document.asp?doc_id=122253&WT.svl=column1_1 There are a couple of things worth noting. First of all, the article has some numbers in it that show how the market is growing. I believe we attained a $200-275 million level in 2006. Things look like they are continuing to grow as well. Second, this article discusses a few ways for a corporation to get started with software security, from the kinds of full blown initiatives that we recommend at Cigital to easier baby steps with badness-ometers like SPI Dynamics and Watchfire. Please do what you can to spread the word about this article so that people outside of our specialty get a feeling for what is happening. Software security is growing, and the growth is strong and consistent. gem company www.cigital.com podcast www.cigital.com/silverbullet blog www.cigital.com/justiceleague book www.swsec.com From dwheeler at ida.org Mon Apr 23 12:08:42 2007 From: dwheeler at ida.org (David A. Wheeler) Date: Mon, 23 Apr 2007 12:08:42 -0400 Subject: [SC-L] Source code hiding doesn't work (was: Re: State Department break-in last summer) Message-ID: <462CDA0A.3040806@ida.org> Florian Weimer said: >The times when you couldn't get source code for proprietary, >off-the-shelf software are over. Welcome to the new world order! 8-) Amen, and please let me add a few additional comments, because I'm afraid a lot of people "outside" don't really understand why this "hiding of source code" is a waste of time from a security vulnerability point-of-view. Here are my thoughts on the topic, which I hope some other people will agree on. This notion - that merely "hiding the source code" really prevents vulnerabilities from being discovered - is (I believe) nonsense: * Attackers typically don't need to examine source OR binary. Just sending data to the program, and seeing what it sends back, is often revealing enough to find a vulnerability. This is why "fuzz" testing, and sending malicious data to websites, work so well. Add in tools to observe in detail what happens with various inputs & outputs, and/or user documentation, and the attacker simply has tons of data to work with... they don't NEED more. * If attackers want to examine something using static analysis, examining the binary is often enough. There are tools that can examine binaries for patterns. * If attackers want to examine source, they can reconstruct it "enough" from binaries (using decompilers) to use source-based approaches. Yes, the resulting source code would be hideous to maintain, but an attacker doesn't NEED to maintain it. An attacker just needs to attack the program, which is much easier (only one vulnerability needs to be found, etc.). * If they don't want to bother decompiling, they can often buy the source code, get a license for it, or steal it from those who have it. Lots of vendors make source available. Note that you can typically buy the binary (or access the website), and you can often buy and decompile the binary, so there's typically no barrier for the first methods. Now, there ARE reasons in some cases to hide source code. I believe hiding the source code is all about restricting the ability to MAINTAIN a program to a privileged organization, in order to (1) collect payment for use as a proprietary program and (2) make it harder for others to develop competing products (because they'll have to redo a lot of that work). For _financial_ purposes, such hiding is sensible if you're selling a closed-source (proprietary) program. As long as you're clear about THAT being the rationale for hiding source code, you're at least being level-headed. But don't confuse that economic rationale with providing any _security_ benefits against vulnerabilities in the program. I believe the latter is nonsense. Hiding the source code to prevent the revelation of vulnerabilities is just another form of security by obscurity, and I believe that security by obscurity is a horrifically bad basis for security. Not because it can't work - in theory it can - but because it's notoriously difficult to TRULY obscure something, and you don't normally know when you've been compromised (so when you've been had, you still think you're safe). It's so hard to PRACTICALLY implement all the secrecy required in many cases that security-by-obscurity is often impractical. That's REALLY obvious for software. If you were REALLY serious about security through obscurity (hiding information about a system in order to protect it from serious adversaries), you'll need to do the following: * Ensure that only a VERY few can get the source code. Locked rooms, no Internet connectivity for machines with the source code, a few people with extensive background checks, no USBs or writable CDs. * Ensure that only a VERY few people can get the executable files. Think ROMs with black goo on them, etc. Obviously, you can't sell binaries to more than a few people, and only after extensive background checks of the one running the program (!). * Ensure that only a VERY few people can send data and receive data back from the program. Think running in a closed facility, with personnel you trust controlling the inputs and outputs. Preferably with monitoring systems. Can you enforce all these requirements using a traditional COTS product, either closed or open source? Don't make me laugh. You can't set up a website or sell an executable file - never mind distribute the source code - while still retaining the necessary amount of obscurity for "security by obscurity" to have a PRAYER of succeeding. I think this is why so many people still try to do "security by obscurity", even though it keeps failing so spectacularly in typical software projects. In some other fields you can hide the necessary information pretty easily, so people with those mindsets try to apply the approach to software. But to work in software, the amount of obscurity required is typically impractical; they're mislead into thinking that merely hiding the source code is all there is to it, and it's not. Can COTS programs, be they proprietary or open source software, be made secure? Yes. But "security through obscurity" approaches are completely doomed to failure for COTS, because it's economically insane to try to develop COTS products while still retaining the amount of obscurity necessary for "security by obscurity" to work. Instead, you need to concentrate on techniques that actually produce secure software (design to reduce trust, multi-person review, etc.). In theory this COULD work for in-house software (military software, that sort of thing). But you have to REALLY hide it, which is really hard to accomplish. And one sale of the device "outside" the organization, or one insider who releases the information, could suddenly cause horrifica vulnerabilities, without anyone realizing it. Better to avoid having the vulnerabilities in the first place. The trick is to get others to understand that. --- David A. Wheeler From James.McGovern at thehartford.com Mon Apr 23 12:25:22 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Mon, 23 Apr 2007 12:25:22 -0400 Subject: [SC-L] Silver Bullet: Ross Anderson In-Reply-To: <83B3489DF1064F4E90218770D953D36113F19F@va-mail.cigital.com> Message-ID: <773F863A6009244B87E6E866AFC7DB4603999938@AD1HFDEXC309.ad1.prod> Would it be possible for upcoming episodes to have an individual who is directly employed by a Fortune enterprise whose primary business model isn't technology? Way too many software vendors, consultants and folks from academia. -----Original Message----- From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org]On Behalf Of Gary McGraw Sent: Friday, April 13, 2007 5:33 PM To: Mailing List, Secure Coding Cc: Clark-Fisher, Kathy; Anderson,Ross Subject: [SC-L] Silver Bullet: Ross Anderson Hi all, A faithful reader of sc-l (and a long time silver bullet listener) suggested that I interview Ross Anderson for an episode. By popular demand, here's Ross: http://www.cigital.com/silverbullet/show-013/ This episode will appear in an upcoming issue of IEEE Security & Privacy magazine. S&P co-sponsors Silver Bullet along with Cigital. As usual, there is some talk about software security in this episode. Your feedback is welcome! gem company www.cigital.com blog www.cigital.com/justiceleague book www.swsec.com Sent from my treo. ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* From James.McGovern at thehartford.com Mon Apr 23 12:29:43 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Mon, 23 Apr 2007 12:29:43 -0400 Subject: [SC-L] How big is the market? In-Reply-To: <83B3489DF1064F4E90218770D953D3611972D8@va-mail.cigital.com> Message-ID: <773F863A6009244B87E6E866AFC7DB4603999939@AD1HFDEXC309.ad1.prod> One thing that I can say is that vendors sometimes are doing themselves a disservice in terms of getting software security to grow even faster. Currently anything that has the word "security" in it automatically gets redirected to information protection types in large enterprises who usually are degrees away from those who actually write source code. A method should be to reach out to the development community via publications such as Java Developers Journal and similar forums. -----Original Message----- From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org]On Behalf Of Gary McGraw Sent: Friday, April 20, 2007 4:17 PM To: SC-L at securecoding.org Subject: [SC-L] How big is the market? Hi sc-lers, At s3con this week I gave a keynote about the state of the practice in software security. Some of what I said is captured in my darkreading column this month: http://www.darkreading.com/document.asp?doc_id=122253&WT.svl=column1_1 There are a couple of things worth noting. First of all, the article has some numbers in it that show how the market is growing. I believe we attained a $200-275 million level in 2006. Things look like they are continuing to grow as well. Second, this article discusses a few ways for a corporation to get started with software security, from the kinds of full blown initiatives that we recommend at Cigital to easier baby steps with badness-ometers like SPI Dynamics and Watchfire. Please do what you can to spread the word about this article so that people outside of our specialty get a feeling for what is happening. Software security is growing, and the growth is strong and consistent. gem company www.cigital.com podcast www.cigital.com/silverbullet blog www.cigital.com/justiceleague book www.swsec.com _______________________________________________ Secure Coding mailing list (SC-L) SC-L at securecoding.org List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l List charter available at - http://www.securecoding.org/list/charter.php SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) as a free, non-commercial service to the software security community. _______________________________________________ ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* From gem at cigital.com Tue Apr 24 10:50:19 2007 From: gem at cigital.com (Gary McGraw) Date: Tue, 24 Apr 2007 10:50:19 -0400 Subject: [SC-L] How big is the market? Message-ID: <83B3489DF1064F4E90218770D953D361197370@va-mail.cigital.com> I'm sorry James, but I have to respectfully disagree about the vendor thing. Perhaps the tools vendors target the "information protection" people, but at Cigital we sell services to software execs (in huge companies) who are way up the food chain. Software security is small, and we need to emphasize the growth and get people interested. This goes for everyone who reads this list. To continue our impressive growth as a field, we need to continue to build. I do agree with you that people need to write more for developers (but I hope they pick better places than JDJ to publish in). Toward that end, check out the "Building Security In" department in IEEE Security & Privacy magazine . Also check out Brian Chess's new book "Secure Programming with Static Analysis" when it comes out in June. However, for the most part, it's critical to understand that workaday developers can't wrangle enough budget to tackle software security. BTW, I posted a reprise to the darkreading column on justice league today: http://www.cigital.com/justiceleague/ http://www.darkreading.com/document.asp?doc_id=122253&WT.svl=column1_1 All told, I am very optimistic about our field, but don't think we can rest on our laurels at all yet. gem company www.cigital.com podcast www.cigital.com/silverbullet blog www.cigital.com/justiceleague book www.swsec.com -----Original Message----- From: McGovern, James F (HTSC, IT) [mailto:James.McGovern at thehartford.com] Sent: Monday, April 23, 2007 12:30 PM To: Gary McGraw Cc: SC-L at securecoding.org Subject: RE: [SC-L] How big is the market? One thing that I can say is that vendors sometimes are doing themselves a disservice in terms of getting software security to grow even faster. Currently anything that has the word "security" in it automatically gets redirected to information protection types in large enterprises who usually are degrees away from those who actually write source code. A method should be to reach out to the development community via publications such as Java Developers Journal and similar forums. -----Original Message----- From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org]On Behalf Of Gary McGraw Sent: Friday, April 20, 2007 4:17 PM To: SC-L at securecoding.org Subject: [SC-L] How big is the market? Hi sc-lers, At s3con this week I gave a keynote about the state of the practice in software security. Some of what I said is captured in my darkreading column this month: http://www.darkreading.com/document.asp?doc_id=122253&WT.svl=column1_1 There are a couple of things worth noting. First of all, the article has some numbers in it that show how the market is growing. I believe we attained a $200-275 million level in 2006. Things look like they are continuing to grow as well. Second, this article discusses a few ways for a corporation to get started with software security, from the kinds of full blown initiatives that we recommend at Cigital to easier baby steps with badness-ometers like SPI Dynamics and Watchfire. Please do what you can to spread the word about this article so that people outside of our specialty get a feeling for what is happening. Software security is growing, and the growth is strong and consistent. gem company www.cigital.com podcast www.cigital.com/silverbullet blog www.cigital.com/justiceleague book www.swsec.com _______________________________________________ Secure Coding mailing list (SC-L) SC-L at securecoding.org List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l List charter available at - http://www.securecoding.org/list/charter.php SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) as a free, non-commercial service to the software security community. _______________________________________________ ************************************************************************ * This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************ * From gem at cigital.com Tue Apr 24 11:00:32 2007 From: gem at cigital.com (Gary McGraw) Date: Tue, 24 Apr 2007 11:00:32 -0400 Subject: [SC-L] Silver Bullet: Ross Anderson Message-ID: <83B3489DF1064F4E90218770D953D361197374@va-mail.cigital.com> Hi James, Put in such a positive fashion, how could I disagree?! Here's the list of victims so far. I think you'll find as many commercial people on this list as academics: 1. Avi Rubin 2. Dan Geer 3. Marcus Ranum 4. Dana Epp 5. Ed Felten 6. Michael Howard 7. John Stewart 8. Brian Chess 9. Bruce Schneier 10. Fortify TAB 11. Dorothy Denning 12. Becky Bace 13. Ross Anderson All of the mp3's can be found here: http://www.cigital.com/silverbullet/ What you won't find is consumers of security technology or software security services. That's because Silver Bullet is mostly about security thought leaders. I have been thinking about doing a "business" version of silver bullet focused more around Cigital customers (including the kinds of people you are asking for). Maybe I'll give that a shot soon. It'll probably be called something else though... gem company www.cigital.com blog www.cigital.com/justiceleague book www.swsec.com -----Original Message----- From: McGovern, James F (HTSC, IT) [mailto:James.McGovern at thehartford.com] Sent: Monday, April 23, 2007 12:25 PM To: Gary McGraw; Mailing List, Secure Coding Cc: Clark-Fisher, Kathy; Anderson,Ross Subject: RE: [SC-L] Silver Bullet: Ross Anderson Would it be possible for upcoming episodes to have an individual who is directly employed by a Fortune enterprise whose primary business model isn't technology? Way too many software vendors, consultants and folks from academia. -----Original Message----- From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org]On Behalf Of Gary McGraw Sent: Friday, April 13, 2007 5:33 PM To: Mailing List, Secure Coding Cc: Clark-Fisher, Kathy; Anderson,Ross Subject: [SC-L] Silver Bullet: Ross Anderson Hi all, A faithful reader of sc-l (and a long time silver bullet listener) suggested that I interview Ross Anderson for an episode. By popular demand, here's Ross: http://www.cigital.com/silverbullet/show-013/ This episode will appear in an upcoming issue of IEEE Security & Privacy magazine. S&P co-sponsors Silver Bullet along with Cigital. As usual, there is some talk about software security in this episode. Your feedback is welcome! gem company www.cigital.com blog www.cigital.com/justiceleague book www.swsec.com Sent from my treo. ************************************************************************ * This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************ * From James.McGovern at thehartford.com Tue Apr 24 11:17:20 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Tue, 24 Apr 2007 11:17:20 -0400 Subject: [SC-L] How big is the market? In-Reply-To: <83B3489DF1064F4E90218770D953D361197370@va-mail.cigital.com> Message-ID: <773F863A6009244B87E6E866AFC7DB460399994A@AD1HFDEXC309.ad1.prod> Gary, I do at some level agree in terms of quality of publication. My perspective though is from an large enterprise perspective whose primary business model isn't about technology and the magazines that folks do read especially in the development community. A quick informal survey tells me that absolutely zero of my peers read IEEE (note I am a subscriber). Part of the problem may be the fact that us enterprise folks are bombarded with free magazines and cannot justify spending money to subscribe to ones such as the IEEE. I am merely suggesting some diversification for folks that don't pay for magazines. -----Original Message----- From: Gary McGraw [mailto:gem at cigital.com] Sent: Tuesday, April 24, 2007 10:50 AM To: McGovern, James F (HTSC, IT) Cc: SC-L at securecoding.org Subject: RE: [SC-L] How big is the market? I'm sorry James, but I have to respectfully disagree about the vendor thing. Perhaps the tools vendors target the "information protection" people, but at Cigital we sell services to software execs (in huge companies) who are way up the food chain. Software security is small, and we need to emphasize the growth and get people interested. This goes for everyone who reads this list. To continue our impressive growth as a field, we need to continue to build. I do agree with you that people need to write more for developers (but I hope they pick better places than JDJ to publish in). Toward that end, check out the "Building Security In" department in IEEE Security & Privacy magazine . Also check out Brian Chess's new book "Secure Programming with Static Analysis" when it comes out in June. However, for the most part, it's critical to understand that workaday developers can't wrangle enough budget to tackle software security. BTW, I posted a reprise to the darkreading column on justice league today: http://www.cigital.com/justiceleague/ http://www.darkreading.com/document.asp?doc_id=122253&WT.svl=column1_1 All told, I am very optimistic about our field, but don't think we can rest on our laurels at all yet. gem company www.cigital.com podcast www.cigital.com/silverbullet blog www.cigital.com/justiceleague book www.swsec.com ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* From gem at cigital.com Tue Apr 24 11:23:51 2007 From: gem at cigital.com (Gary McGraw) Date: Tue, 24 Apr 2007 11:23:51 -0400 Subject: [SC-L] How big is the market? Message-ID: <83B3489DF1064F4E90218770D953D36119737B@va-mail.cigital.com> Got it. I like dr. dobbs OK. Do you see that one around? It has software security content every once in a while. What others do you think would be a good target? What do the rest of you guys think? gem company www.cigital.com podcast www.cigital.com/silverbullet blog www.cigital.com/justiceleague book www.swsec.com -----Original Message----- From: McGovern, James F (HTSC, IT) [mailto:James.McGovern at thehartford.com] Sent: Tuesday, April 24, 2007 11:17 AM To: Gary McGraw Cc: SC-L at securecoding.org Subject: RE: [SC-L] How big is the market? Gary, I do at some level agree in terms of quality of publication. My perspective though is from an large enterprise perspective whose primary business model isn't about technology and the magazines that folks do read especially in the development community. A quick informal survey tells me that absolutely zero of my peers read IEEE (note I am a subscriber). Part of the problem may be the fact that us enterprise folks are bombarded with free magazines and cannot justify spending money to subscribe to ones such as the IEEE. I am merely suggesting some diversification for folks that don't pay for magazines. -----Original Message----- From: Gary McGraw [mailto:gem at cigital.com] Sent: Tuesday, April 24, 2007 10:50 AM To: McGovern, James F (HTSC, IT) Cc: SC-L at securecoding.org Subject: RE: [SC-L] How big is the market? I'm sorry James, but I have to respectfully disagree about the vendor thing. Perhaps the tools vendors target the "information protection" people, but at Cigital we sell services to software execs (in huge companies) who are way up the food chain. Software security is small, and we need to emphasize the growth and get people interested. This goes for everyone who reads this list. To continue our impressive growth as a field, we need to continue to build. I do agree with you that people need to write more for developers (but I hope they pick better places than JDJ to publish in). Toward that end, check out the "Building Security In" department in IEEE Security & Privacy magazine . Also check out Brian Chess's new book "Secure Programming with Static Analysis" when it comes out in June. However, for the most part, it's critical to understand that workaday developers can't wrangle enough budget to tackle software security. BTW, I posted a reprise to the darkreading column on justice league today: http://www.cigital.com/justiceleague/ http://www.darkreading.com/document.asp?doc_id=122253&WT.svl=column1_1 All told, I am very optimistic about our field, but don't think we can rest on our laurels at all yet. gem company www.cigital.com podcast www.cigital.com/silverbullet blog www.cigital.com/justiceleague book www.swsec.com ************************************************************************ * This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************ * From James.McGovern at thehartford.com Tue Apr 24 11:48:25 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Tue, 24 Apr 2007 11:48:25 -0400 Subject: [SC-L] How big is the market? In-Reply-To: <83B3489DF1064F4E90218770D953D36119737B@va-mail.cigital.com> Message-ID: <773F863A6009244B87E6E866AFC7DB4603999953@AD1HFDEXC309.ad1.prod> I just conducted a super-official study of what my peers are reading by walking a total of five aisles within a very large building. Here are a list of magazines on folks desk: - Infoworld - Java Developers Journal - Insurance & Technology - DMReview - Intelligent Enterprise - CIO - Insurance Networking News Likewise, I asked several folks as to whether they subscribe to Dr. Dobbs and the answer was zero. Interestingly enough, I also checked with other folks and there seems to be more memberships in our architecture group with the ACM over IEEE. -----Original Message----- From: Gary McGraw [mailto:gem at cigital.com] Sent: Tuesday, April 24, 2007 11:24 AM To: McGovern, James F (HTSC, IT) Cc: SC-L at securecoding.org Subject: RE: [SC-L] How big is the market? Got it. I like dr. dobbs OK. Do you see that one around? It has software security content every once in a while. What others do you think would be a good target? What do the rest of you guys think? gem company www.cigital.com podcast www.cigital.com/silverbullet blog www.cigital.com/justiceleague book www.swsec.com -----Original Message----- From: McGovern, James F (HTSC, IT) [mailto:James.McGovern at thehartford.com] Sent: Tuesday, April 24, 2007 11:17 AM To: Gary McGraw Cc: SC-L at securecoding.org Subject: RE: [SC-L] How big is the market? Gary, I do at some level agree in terms of quality of publication. My perspective though is from an large enterprise perspective whose primary business model isn't about technology and the magazines that folks do read especially in the development community. A quick informal survey tells me that absolutely zero of my peers read IEEE (note I am a subscriber). Part of the problem may be the fact that us enterprise folks are bombarded with free magazines and cannot justify spending money to subscribe to ones such as the IEEE. I am merely suggesting some diversification for folks that don't pay for magazines. -----Original Message----- From: Gary McGraw [mailto:gem at cigital.com] Sent: Tuesday, April 24, 2007 10:50 AM To: McGovern, James F (HTSC, IT) Cc: SC-L at securecoding.org Subject: RE: [SC-L] How big is the market? I'm sorry James, but I have to respectfully disagree about the vendor thing. Perhaps the tools vendors target the "information protection" people, but at Cigital we sell services to software execs (in huge companies) who are way up the food chain. Software security is small, and we need to emphasize the growth and get people interested. This goes for everyone who reads this list. To continue our impressive growth as a field, we need to continue to build. I do agree with you that people need to write more for developers (but I hope they pick better places than JDJ to publish in). Toward that end, check out the "Building Security In" department in IEEE Security & Privacy magazine . Also check out Brian Chess's new book "Secure Programming with Static Analysis" when it comes out in June. However, for the most part, it's critical to understand that workaday developers can't wrangle enough budget to tackle software security. BTW, I posted a reprise to the darkreading column on justice league today: http://www.cigital.com/justiceleague/ http://www.darkreading.com/document.asp?doc_id=122253&WT.svl=column1_1 All told, I am very optimistic about our field, but don't think we can rest on our laurels at all yet. gem company www.cigital.com podcast www.cigital.com/silverbullet blog www.cigital.com/justiceleague book www.swsec.com ************************************************************************ * This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************ * From secureCoding2dave at davearonson.com Tue Apr 24 13:06:54 2007 From: secureCoding2dave at davearonson.com (SC-L Subscriber Dave Aronson) Date: Tue, 24 Apr 2007 17:06:54 +0000 Subject: [SC-L] How big is the market? Message-ID: McGovern, James F \(HTSC, IT\) [mailto:James.McGovern at thehartford.com] writes: > I just conducted a super-official study of what my peers are reading by > walking a total of five aisles within a very large building. Here are a > list of magazines on folks desk: > > - Infoworld > - Java Developers Journal > - Insurance & Technology > - DMReview > - Intelligent Enterprise > - CIO > - Insurance Networking News I'd also suggest Software Development, and maybe Information Security. -Dave -- Dave Aronson "Specialization is for insects." -Heinlein Work: http://www.davearonson.com/ Play: http://www.davearonson.net/ From James.McGovern at thehartford.com Tue Apr 24 14:27:45 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Tue, 24 Apr 2007 14:27:45 -0400 Subject: [SC-L] NYC Security In-Reply-To: <773F863A6009244B87E6E866AFC7DB4603999953@AD1HFDEXC309.ad1.prod> Message-ID: <773F863A6009244B87E6E866AFC7DB460399995F@AD1HFDEXC309.ad1.prod> FYI. Awhile back I mentioned the Technology Managers Forum in which I am a participant. The agenda is finalized and secure coding practices was the number one topic: http://www.techforum.com/sf2007_1/index.html For product vendors and consulting firms that want access to key decision makers, this would be a great opportunity to get a booth. Anyway, hope to run across folks from this list here. Nothing is better than face-to-face conversations... ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* From James.McGovern at thehartford.com Tue Apr 24 16:26:37 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Tue, 24 Apr 2007 16:26:37 -0400 Subject: [SC-L] Magazines In-Reply-To: <773F863A6009244B87E6E866AFC7DB4603999953@AD1HFDEXC309.ad1.prod> Message-ID: <773F863A6009244B87E6E866AFC7DB4603999963@AD1HFDEXC309.ad1.prod> FYI. Other magazines read within a large enterprise: - MSDN Magazine - SC Magazine - Oracle's Profit Magazine ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* From gunnar at arctecgroup.net Tue Apr 24 17:45:31 2007 From: gunnar at arctecgroup.net (Gunnar Peterson) Date: Tue, 24 Apr 2007 16:45:31 -0500 Subject: [SC-L] MetriCon 2.0 CFP Message-ID: Last year's conference, MetriCon 1.0 featured a software security metrics track ( http://securitymetrics.org/content/Wiki.jsp?page=Metricon1.0), including: * A Metric for Evaluating Static Analysis Tools - Chess & Tsipenyuk, Fortify * An Attack Surface Metric - Manadhata & Wing, Carnegie-Mellon * "Good enough" Metrics - Epstein, WebMethods * Software Security Patterns and Risk - Heyman & Huygens, U of Leuven * Code Metrics - Chandra, Secure Software -gp Second Workshop on Security Metrics (MetriCon 2.0) ? Call for Papers MetriCon 2.0 CFP August 7, 2007 Boston, MA Overview Do you cringe at the subjectivity applied to security in every manner? If so, MetriCon 2.0 may be your antidote to change security from an artistic "matter of opinion" into an objective, quantifiable science. The time for adjectives and adverbs has gone; the time for hard facts and data has come. MetriCon 2.0 is intended as a forum for lively, practical discussion in the area of security metrics. It is a forum for quantifiable approaches and results to problems afflicting information security today, with a bias towards practical, specific implementations. Topics and presentations will be selected for their potential to stimulate discussion in the Workshop. MetriCon 2.0 will be a one-day event, Tuesday, August 7, 2007, co-located with the 16th USENIX Security Symposium in Boston, MA, USA (http://www.usenix.org/events/sec07/). Beginning first thing in the morning, with meals taken in the meeting room, and extending into the evening. Attendance will be by invitation and limited to 60 participants. All participants will be expected to "come with findings" and be willing to address the group in some fashion, formally or not. Preference given to the authors of position papers/presentations who have actual work in progress. Each presenter will have 10-15 minutes to present his or her idea, followed by 15-20 minutes of discussion with the workshop participants. Panels and groups of related presentations may be proposed to present different approaches to selected topics, and will be steered by what sorts of proposals come in response to this Call. Goals and Topics The goal of the workshop is to stimulate discussion of and thinking about security metrics and to do so in ways that lead to realistic, early results of lasting value. Potential attendees are invited to submit position papers to be shared with all. Such position papers are expected to address security metrics in one of the following categories: Benchmarking Empirical Studies Metrics Definitions Financial Planning Security/Risk Modeling Tools, Technologies, Tips, and Tricks Visualization Practical implementations, real world case studies, and detailed models will be preferred over broader models or general ideas. How to Participate Submit a short position paper or description of work done/ongoing. Your submission must be no longer than five(5) paragraphs or presentation slides. Author names and affiliations should appear first in/on the submission. Submissions may be in PDF, PowerPoint, HTML, or plaintext email and must be submitted to MetriCon AT securitymetrics.org. Presenters will be notified of acceptance by June 22, 2007 and expected to provide materials for distribution by July 22, 2007. All slides and position papers will be made available to participants at the workshop. No formal proceedings are intended. Plagiarism constitutes dishonesty. The organizers of this Workshop as well as USENIX prohibit these practices and will take appropriate action if dishonesty of this sort is found. Submission of recent, previously published work as well as simultaneous submissions to multiple venues is acceptable but please so indicate in your proposal. Location MetriCon 2.0 will be co-located with the 16th USENIX Security Symposium (Security ?07). (http://www.usenix.org/events/sec07/) Cost $200 all-inclusive of meeting space, materials preparation, and meals for the day. Important Dates Requests to participate: by May 11, 2007 Notification of acceptance: by June 22, 2007 Materials for distribution: by July 22, 2007 Workshop Organizers Fred Cohen, Fred Cohen & Associates Jeremy Epstein, webMethods Dan Geer, Geer Risk Services Andrew Jaquith, Yankee Group Elizabeth Nichols, ClearPoint Metrics, Co-Chair Gunnar Peterson, Arctec Group, Co-Chair Russell Cameron Thomas, Meritology From jepstein at webmethods.com Tue Apr 24 20:07:33 2007 From: jepstein at webmethods.com (Jeremy Epstein) Date: Tue, 24 Apr 2007 20:07:33 -0400 Subject: [SC-L] Catching up, and some retrospective thoughts Message-ID: I've just caught up with 6 weeks of backlogged messages in this group, and wanted to offer some thoughts on topics that have been hashed out, but haven't seen these points made. (1) SOX is a waste, as several people said, because it's just a way to give auditors more ways to demand irrelevant things on checklists - but not to pay attention to actual security. I've had customers demand that I support AES because their auditors says "SOX requires it", while meanwhile having unchanged default passwords. Another customer demanded that we support 6144 bit RSA keys (no, that's not a typo) because "SOX requires it". Neither customer asked anything about software security - just about the check boxes on the auditor's list. Ask people to go *read* SOX, and they'll be surprised what it actually says (or more accurately, doesn't say). (2) PCI, by contrast, is dramatically better, because it's got actual things you can measure, and some of them have some relevance to software security. However, it's having an effect that I think was unintended by the folks who wrote it (or at least the ones I met at a recent conference) - merchants are pushing the requirements down to all of their suppliers, regardless of whether they're applicable. So, for example, we have to certify that we treat all credit card information in the required way - even though we don't ever get credit card numbers. [This is a requirement that might make sense for a merchant to push to an outsourced processor, but not to a software supplier. Can you certify that Windows or Linux handles credit card numbers correctly?] (3) Vendors do what their customers ask for. If my customers ask for better security, we'll put our engineering resources into improving security - just as Microsoft has done. If our customers ask for more whizbang cool GUIs, that's where we'll put our effort. We *know* that the products aren't as secure as they could be (and perhaps should be) - but as a business, we respond to our customers. I hear what customers are asking for, and when it comes to enterprise software, the top three priorities are features, more features, and yet more features. And we actually have a metric for whether we're investing in the right places: how often do we lose deals because of missing features (security or otherwise) vs. security assurance (i.e., software security). [Of course there are other reasons for losing deals too, like price, long term vision, company reputation, etc., but I'm focusing on the software ones.] When the balance of where we lose deals changes, we change our investments. As always, my opinions, which don't necessarily represent the views of my employer, or Alberto Gonzales or anyone else tapping my phone. --Jeremy Jeremy Epstein Senior Director, Product Security & Performance P 703.460.5852 | C 703.989.8907 | F 703.460.2599 | W 202.456.1111 AIM jeremyepstein | Skype jjepstein www.webMethods.com From gunnar at arctecgroup.net Tue Apr 24 20:44:32 2007 From: gunnar at arctecgroup.net (Gunnar Peterson) Date: Tue, 24 Apr 2007 19:44:32 -0500 Subject: [SC-L] MetriCon 2.0 CFP In-Reply-To: <83B3489DF1064F4E90218770D953D36113F279@va-mail.cigital.com> Message-ID: Book is here "Security Metrics: Replacing Fear, Uncertainty, and Doubt" by Andrew Jaquith http://www.amazon.com/Security-Metrics-Replacing-Uncertainty-Doubt/dp/032134 9989 I am halfway through and it is excellent so far, will post a review soon. Not sure how the security industry as we know it will get by without fud. -gp On 4/24/07 7:32 PM, "Gary McGraw" wrote: > Plus, check out Andrew Jaquith's excellent book: > > -----Original Message----- > From: Gunnar Peterson [mailto:gunnar at arctecgroup.net] > Sent: Tue Apr 24 20:14:53 2007 > To: Secure Mailing List > Subject: [SC-L] MetriCon 2.0 CFP > > Last year's conference, MetriCon 1.0 featured a software security metrics > track ( http://securitymetrics.org/content/Wiki.jsp?page=Metricon1.0), > including: > > * A Metric for Evaluating Static Analysis Tools - Chess & Tsipenyuk, Fortify > * An Attack Surface Metric - Manadhata & Wing, Carnegie-Mellon > * "Good enough" Metrics - Epstein, WebMethods > * Software Security Patterns and Risk - Heyman & Huygens, U of Leuven > * Code Metrics - Chandra, Secure Software > > -gp > > Second Workshop on Security Metrics (MetriCon 2.0) < Call for Papers > MetriCon 2.0 CFP > > August 7, 2007 Boston, MA > > Overview > > Do you cringe at the subjectivity applied to security in every manner? If > so, MetriCon 2.0 may be your antidote to change security from an artistic > "matter of opinion" into an objective, quantifiable science. The time for > adjectives and adverbs has gone; the time for hard facts and data has come. > > MetriCon 2.0 is intended as a forum for lively, practical discussion in the > area of security metrics. It is a forum for quantifiable approaches and > results to problems afflicting information security today, with a bias > towards practical, specific implementations. Topics and presentations will > be selected for their potential to stimulate discussion in the Workshop. > > MetriCon 2.0 will be a one-day event, Tuesday, August 7, 2007, co-located > with the 16th USENIX Security Symposium in Boston, MA, USA > (http://www.usenix.org/events/sec07/). Beginning first thing in the morning, > with meals taken in the meeting room, and extending into the evening. > Attendance will be by invitation and limited to 60 participants. All > participants will be expected to "come with findings" and be willing to > address the group in some fashion, formally or not. Preference given to the > authors of position papers/presentations who have actual work in progress. > > Each presenter will have 10-15 minutes to present his or her idea, followed > by 15-20 minutes of discussion with the workshop participants. Panels and > groups of related presentations may be proposed to present different > approaches to selected topics, and will be steered by what sorts of > proposals come in response to this Call. > > > Goals and Topics > > The goal of the workshop is to stimulate discussion of and thinking about > security metrics and to do so in ways that lead to realistic, early results > of lasting value. Potential attendees are invited to submit position papers > to be shared with all. Such position papers are expected to address security > metrics in one of the following categories: > > Benchmarking > Empirical Studies > Metrics Definitions > Financial Planning > Security/Risk Modeling > Tools, Technologies, Tips, and Tricks > Visualization > Practical implementations, real world case studies, and detailed models will > be preferred over broader models or general ideas. > > How to Participate > > Submit a short position paper or description of work done/ongoing. Your > submission must be no longer than five(5) paragraphs or presentation slides. > Author names and affiliations should appear first in/on the submission. > Submissions may be in PDF, PowerPoint, HTML, or plaintext email and must be > submitted to MetriCon AT securitymetrics.org. > > Presenters will be notified of acceptance by June 22, 2007 and expected to > provide materials for distribution by July 22, 2007. All slides and position > papers will be made available to participants at the workshop. No formal > proceedings are intended. Plagiarism constitutes dishonesty. The organizers > of this Workshop as well as USENIX prohibit these practices and will take > appropriate action if dishonesty of this sort is found. Submission of > recent, previously published work as well as simultaneous submissions to > multiple venues is acceptable but please so indicate in your proposal. > > Location > > MetriCon 2.0 will be co-located with the 16th USENIX Security Symposium > (Security ?07). (http://www.usenix.org/events/sec07/) > Cost > > $200 all-inclusive of meeting space, materials preparation, and meals for > the day. > Important Dates > > Requests to participate: by May 11, 2007 > Notification of acceptance: by June 22, 2007 > Materials for distribution: by July 22, 2007 > Workshop Organizers > > Fred Cohen, Fred Cohen & Associates > Jeremy Epstein, webMethods > Dan Geer, Geer Risk Services > Andrew Jaquith, Yankee Group > Elizabeth Nichols, ClearPoint Metrics, Co-Chair > Gunnar Peterson, Arctec Group, Co-Chair > Russell Cameron Thomas, Meritology > > > > _______________________________________________ > Secure Coding mailing list (SC-L) SC-L at securecoding.org > List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l > List charter available at - http://www.securecoding.org/list/charter.php > SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) > as a free, non-commercial service to the software security community. > _______________________________________________ > > -- Gunnar Peterson, Managing Principal, Arctec Group http://www.arctecgroup.net SOA, Web Services and XML Security & Web Application Security Training Schedule of Public Classes May 7 Washington/Baltimore (WSSC Conference) May 15 Milan (OWASP App Sec Conference) July 17-19 Washington/Baltimore Details and registration info on Arctec Group and Aspect Security classes http://www.aspectsecurity.com/public_training.htm Blog: http://1raindrop.typepad.com From gem at cigital.com Tue Apr 24 20:32:19 2007 From: gem at cigital.com (Gary McGraw) Date: Tue, 24 Apr 2007 20:32:19 -0400 Subject: [SC-L] MetriCon 2.0 CFP Message-ID: <83B3489DF1064F4E90218770D953D36113F279@va-mail.cigital.com> Plus, check out Andrew Jaquith's excellent book: -----Original Message----- From: Gunnar Peterson [mailto:gunnar at arctecgroup.net] Sent: Tue Apr 24 20:14:53 2007 To: Secure Mailing List Subject: [SC-L] MetriCon 2.0 CFP Last year's conference, MetriCon 1.0 featured a software security metrics track ( http://securitymetrics.org/content/Wiki.jsp?page=Metricon1.0), including: * A Metric for Evaluating Static Analysis Tools - Chess & Tsipenyuk, Fortify * An Attack Surface Metric - Manadhata & Wing, Carnegie-Mellon * "Good enough" Metrics - Epstein, WebMethods * Software Security Patterns and Risk - Heyman & Huygens, U of Leuven * Code Metrics - Chandra, Secure Software -gp Second Workshop on Security Metrics (MetriCon 2.0) < Call for Papers MetriCon 2.0 CFP August 7, 2007 Boston, MA Overview Do you cringe at the subjectivity applied to security in every manner? If so, MetriCon 2.0 may be your antidote to change security from an artistic "matter of opinion" into an objective, quantifiable science. The time for adjectives and adverbs has gone; the time for hard facts and data has come. MetriCon 2.0 is intended as a forum for lively, practical discussion in the area of security metrics. It is a forum for quantifiable approaches and results to problems afflicting information security today, with a bias towards practical, specific implementations. Topics and presentations will be selected for their potential to stimulate discussion in the Workshop. MetriCon 2.0 will be a one-day event, Tuesday, August 7, 2007, co-located with the 16th USENIX Security Symposium in Boston, MA, USA (http://www.usenix.org/events/sec07/). Beginning first thing in the morning, with meals taken in the meeting room, and extending into the evening. Attendance will be by invitation and limited to 60 participants. All participants will be expected to "come with findings" and be willing to address the group in some fashion, formally or not. Preference given to the authors of position papers/presentations who have actual work in progress. Each presenter will have 10-15 minutes to present his or her idea, followed by 15-20 minutes of discussion with the workshop participants. Panels and groups of related presentations may be proposed to present different approaches to selected topics, and will be steered by what sorts of proposals come in response to this Call. Goals and Topics The goal of the workshop is to stimulate discussion of and thinking about security metrics and to do so in ways that lead to realistic, early results of lasting value. Potential attendees are invited to submit position papers to be shared with all. Such position papers are expected to address security metrics in one of the following categories: Benchmarking Empirical Studies Metrics Definitions Financial Planning Security/Risk Modeling Tools, Technologies, Tips, and Tricks Visualization Practical implementations, real world case studies, and detailed models will be preferred over broader models or general ideas. How to Participate Submit a short position paper or description of work done/ongoing. Your submission must be no longer than five(5) paragraphs or presentation slides. Author names and affiliations should appear first in/on the submission. Submissions may be in PDF, PowerPoint, HTML, or plaintext email and must be submitted to MetriCon AT securitymetrics.org. Presenters will be notified of acceptance by June 22, 2007 and expected to provide materials for distribution by July 22, 2007. All slides and position papers will be made available to participants at the workshop. No formal proceedings are intended. Plagiarism constitutes dishonesty. The organizers of this Workshop as well as USENIX prohibit these practices and will take appropriate action if dishonesty of this sort is found. Submission of recent, previously published work as well as simultaneous submissions to multiple venues is acceptable but please so indicate in your proposal. Location MetriCon 2.0 will be co-located with the 16th USENIX Security Symposium (Security ?07). (http://www.usenix.org/events/sec07/) Cost $200 all-inclusive of meeting space, materials preparation, and meals for the day. Important Dates Requests to participate: by May 11, 2007 Notification of acceptance: by June 22, 2007 Materials for distribution: by July 22, 2007 Workshop Organizers Fred Cohen, Fred Cohen & Associates Jeremy Epstein, webMethods Dan Geer, Geer Risk Services Andrew Jaquith, Yankee Group Elizabeth Nichols, ClearPoint Metrics, Co-Chair Gunnar Peterson, Arctec Group, Co-Chair Russell Cameron Thomas, Meritology _______________________________________________ Secure Coding mailing list (SC-L) SC-L at securecoding.org List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l List charter available at - http://www.securecoding.org/list/charter.php SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) as a free, non-commercial service to the software security community. _______________________________________________ From arian.evans at anachronic.com Tue Apr 24 22:14:59 2007 From: arian.evans at anachronic.com (Arian J. Evans) Date: Tue, 24 Apr 2007 19:14:59 -0700 Subject: [SC-L] Catching up, and some retrospective thoughts In-Reply-To: References: Message-ID: comments: On 4/24/07, Jeremy Epstein wrote: > > I've just caught up with 6 weeks of backlogged messages in this group, better than me, I fell off all the lists when I moved last year. Pardon list duplicity: (1) SOX is a waste, as several people said, because it's just a way to > give auditors more ways to demand irrelevant things on checklists - but > not to pay attention to actual security. I've had customers demand that [...] usual "non-contextual nonsense audit security" requirements removed So yeah, this happens all the time. I used to work with several software companies that store the key with the encrypted message, same host, same DB, all because of the requirement to "encrypt sensitive data". e.g.-like firewall log management products and such. zero value. check. (2) PCI, by contrast, is dramatically better, because it's got actual > things you can measure, and some of them have some relevance to software > security. However, it's having an effect that I think was unintended by > the folks who wrote it (or at least the ones I met at a recent > conference) - merchants are pushing the requirements down to all of > their suppliers, regardless of whether they're applicable. [...] To look the proverbial gift horse in the mouth, there's another pattern I've seen from several PCI assessors: they are requiring some form of software security "testing". There seems to be a lot of general confusion about what webappsec in PCI is today and/or means. (It means nothing that I know of, outside some random training/awareness req). The problem is there is absolutely no definition on what this means. WHS for example has two bitbuckets for simiilar attacks: XSS and Content Spoofing. Watchfire added a third, "Phishing", which is an overlap of the two above (their developer didn't want to admit to me his XSS checks were lame, so made up /random title). Then you have HTTP Response Splitting, which I think has next to zero attack surface. We stick close to PCI vuln defs so tend to ignore it, but for some vendors that is a HIGH severity issue. (!?) So (a) what is being measured is equivocal, and (b) what is being held up as priority to be fixed is pretty borked at the moment too. The really important stuff, like Authentication and Authorization issues, seem entirely ignored in favor of bit-fiddling like XSS since basic XSS is generally easier to test for w/out context (e.g.-scanner jocky -->Click/scan). > (3) Vendors do what their customers ask for. If my customers ask for > better security, we'll put our engineering resources into improving > security - just as Microsoft has done. > [...] Cynically speaking: has it paid off for MS? Vista? Is security driving resounding success there? Do we need more time to tell? SQL Server 2005 is nice, but I don't know anyone adopting it because of "security". OTOH: there are folks waving the security banner and getting a positive response from it from their clients and prospects, I believe monetary. They come in a couple of flavors: 1. Touting Security whilst doing something about it: - http://www.discoveryproductions.com/ (apology to all the folks I know I'm leaving out, not sure who all I am allowed re: NDAs to mention) 2. Touting security, making completely false claims, without actually implementing or measuring it (there is no price to pay for doing this today, I mean, hey: what is "software security" anyway?): [url removed] (gives you a nice "uber-secure" message when you log in, unfortunately thanks to their litigious nature vulns are neither disclosed nor fixed) [url removed] (similar story, website used to have a picture of a "safe" on product page, at least they took that down, but left all the client-side config parameters in the app) I chickened out and remove both URLs before sending. Nobody probably cares about the specific companies, except those companies, who have gotten testy with me before. 3. People using security verification as a weapon; this is at least the fifth time I have seen this in my career (direct observation, not all the implied vuln research battles): http://forums.aspdotnetstorefront.com/showthread.php?t=6257 I'm going to fire up a blog on all the fun stuff, forensic and like I saw at FishNet, and now that I have visibility into 500+ web-sites, should be some useful measurement stats to provide for folks. I don't think anyone else out there has as many production sites to evaluate at one time, so ideas on what to mine for data welcome. If someone wants a measurement bar (e.g.-we are X,Y compared to like software in our industry for security) this is probably something to discuss how to provide too. At least, I see some *hows* that are all crippled by the sensitivity of the information (at least, the perceived ability to correlate to clients). But worth exploring I think for you ISVs... Thanks, cheers, -- Arian Evans solipsistic software security sophist "I spend most of my money on motorcycles, martinis, and mistresses. The rest of it I squander." -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070424/fca51dfb/attachment-0001.html From jgrembi at gmail.com Tue Apr 24 23:48:38 2007 From: jgrembi at gmail.com (Jason Grembi) Date: Tue, 24 Apr 2007 23:48:38 -0400 Subject: [SC-L] SC-L Digest, Vol 3, Issue 81 In-Reply-To: References: Message-ID: <930b20350704242048x28402065n154122bcbbf2c96d@mail.gmail.com> Gary/James As an application developer, who has turned into a secure developer (thanks Ken at Secure University), I can attest that not a whole lot of 'decision makers' understand what they're up against (vulnerability speaking). Most my time is spent training and explaining; then I use tools to verify my lectures. Once the 'decision makers' see the results these tools produce, they usually green light the use of tools and time spent in design/development. In my experience, security issues, so far, have came from the ground up (programmers) because people at the top have a hard time understanding the how-to's. It's going to take a few more years for security factors to rank up there with quality but the industry is moving that way. Keep the movement going, these emails and silverbullet podcasts do help. Jason Grembi Web Developer On 4/24/07, sc-l-request at securecoding.org wrote: > > Send SC-L mailing list submissions to > sc-l at securecoding.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://krvw.com/mailman/listinfo/sc-l > or, via email, send a message with subject or body 'help' to > sc-l-request at securecoding.org > > You can reach the person managing the list at > sc-l-owner at securecoding.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of SC-L digest..." > > > Today's Topics: > > 1. Re: How big is the market? (McGovern, James F (HTSC, IT)) > 2. Re: How big is the market? (Gary McGraw) > 3. Re: How big is the market? (McGovern, James F (HTSC, IT)) > 4. Re: How big is the market? (SC-L Subscriber Dave Aronson) > 5. NYC Security (McGovern, James F (HTSC, IT)) > 6. Magazines (McGovern, James F (HTSC, IT)) > 7. MetriCon 2.0 CFP (Gunnar Peterson) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 24 Apr 2007 11:17:20 -0400 > From: "McGovern, James F \(HTSC, IT\)" > > Subject: Re: [SC-L] How big is the market? > To: "Gary McGraw" > Cc: SC-L at securecoding.org > Message-ID: > <773F863A6009244B87E6E866AFC7DB460399994A at AD1HFDEXC309.ad1.prod> > Content-Type: text/plain; charset="iso-8859-1" > > Gary, I do at some level agree in terms of quality of publication. My > perspective though is from an large enterprise perspective whose primary > business model isn't about technology and the magazines that folks do read > especially in the development community. A quick informal survey tells me > that absolutely zero of my peers read IEEE (note I am a subscriber). > > Part of the problem may be the fact that us enterprise folks are bombarded > with free magazines and cannot justify spending money to subscribe to ones > such as the IEEE. I am merely suggesting some diversification for folks that > don't pay for magazines. > > -----Original Message----- > From: Gary McGraw [mailto:gem at cigital.com] > Sent: Tuesday, April 24, 2007 10:50 AM > To: McGovern, James F (HTSC, IT) > Cc: SC-L at securecoding.org > Subject: RE: [SC-L] How big is the market? > > > I'm sorry James, but I have to respectfully disagree about the vendor > thing. Perhaps the tools vendors target the "information protection" > people, but at Cigital we sell services to software execs (in huge > companies) who are way up the food chain. > > Software security is small, and we need to emphasize the growth and get > people interested. This goes for everyone who reads this list. To > continue our impressive growth as a field, we need to continue to build. > > I do agree with you that people need to write more for developers (but I > hope they pick better places than JDJ to publish in). Toward that end, > check out the "Building Security In" department in IEEE Security & > Privacy magazine . Also > check out Brian Chess's new book "Secure Programming with Static > Analysis" when it comes out in June. However, for the most part, it's > critical to understand that workaday developers can't wrangle enough > budget to tackle software security. > > BTW, I posted a reprise to the darkreading column on justice league > today: > http://www.cigital.com/justiceleague/ > http://www.darkreading.com/document.asp?doc_id=122253&WT.svl=column1_1 > > All told, I am very optimistic about our field, but don't think we can > rest on our laurels at all yet. > > gem > > company www.cigital.com > podcast www.cigital.com/silverbullet > blog www.cigital.com/justiceleague > book www.swsec.com > > > ************************************************************************* > This communication, including attachments, is > for the exclusive use of addressee and may contain proprietary, > confidential and/or privileged information. If you are not the intended > recipient, any use, copying, disclosure, dissemination or distribution is > strictly prohibited. If you are not the intended recipient, please notify > the sender immediately by return e-mail, delete this communication and > destroy all copies. > ************************************************************************* > > > > > ------------------------------ > > Message: 2 > Date: Tue, 24 Apr 2007 11:23:51 -0400 > From: Gary McGraw > Subject: Re: [SC-L] How big is the market? > To: "McGovern, James F \(HTSC, IT\)" > Cc: SC-L at securecoding.org > Message-ID: > <83B3489DF1064F4E90218770D953D36119737B at va-mail.cigital.com> > Content-Type: text/plain; charset="us-ascii" > > Got it. I like dr. dobbs OK. Do you see that one around? It has > software security content every once in a while. What others do you > think would be a good target? > > What do the rest of you guys think? > > gem > > company www.cigital.com > podcast www.cigital.com/silverbullet > blog www.cigital.com/justiceleague > book www.swsec.com > > > > -----Original Message----- > From: McGovern, James F (HTSC, IT) > [mailto:James.McGovern at thehartford.com] > Sent: Tuesday, April 24, 2007 11:17 AM > To: Gary McGraw > Cc: SC-L at securecoding.org > Subject: RE: [SC-L] How big is the market? > > Gary, I do at some level agree in terms of quality of publication. My > perspective though is from an large enterprise perspective whose primary > business model isn't about technology and the magazines that folks do > read especially in the development community. A quick informal survey > tells me that absolutely zero of my peers read IEEE (note I am a > subscriber). > > Part of the problem may be the fact that us enterprise folks are > bombarded with free magazines and cannot justify spending money to > subscribe to ones such as the IEEE. I am merely suggesting some > diversification for folks that don't pay for magazines. > > -----Original Message----- > From: Gary McGraw [mailto:gem at cigital.com] > Sent: Tuesday, April 24, 2007 10:50 AM > To: McGovern, James F (HTSC, IT) > Cc: SC-L at securecoding.org > Subject: RE: [SC-L] How big is the market? > > > I'm sorry James, but I have to respectfully disagree about the vendor > thing. Perhaps the tools vendors target the "information protection" > people, but at Cigital we sell services to software execs (in huge > companies) who are way up the food chain. > > Software security is small, and we need to emphasize the growth and get > people interested. This goes for everyone who reads this list. To > continue our impressive growth as a field, we need to continue to build. > > I do agree with you that people need to write more for developers (but I > hope they pick better places than JDJ to publish in). Toward that end, > check out the "Building Security In" department in IEEE Security & > Privacy magazine . Also > check out Brian Chess's new book "Secure Programming with Static > Analysis" when it comes out in June. However, for the most part, it's > critical to understand that workaday developers can't wrangle enough > budget to tackle software security. > > BTW, I posted a reprise to the darkreading column on justice league > today: > http://www.cigital.com/justiceleague/ > http://www.darkreading.com/document.asp?doc_id=122253&WT.svl=column1_1 > > All told, I am very optimistic about our field, but don't think we can > rest on our laurels at all yet. > > gem > > company www.cigital.com > podcast www.cigital.com/silverbullet > blog www.cigital.com/justiceleague > book www.swsec.com > > > ************************************************************************ > * > This communication, including attachments, is > for the exclusive use of addressee and may contain proprietary, > confidential and/or privileged information. If you are not the intended > recipient, any use, copying, disclosure, dissemination or distribution > is > strictly prohibited. If you are not the intended recipient, please > notify > the sender immediately by return e-mail, delete this communication and > destroy all copies. > ************************************************************************ > * > > > > > > ------------------------------ > > Message: 3 > Date: Tue, 24 Apr 2007 11:48:25 -0400 > From: "McGovern, James F \(HTSC, IT\)" > > Subject: Re: [SC-L] How big is the market? > To: "Gary McGraw" > Cc: SC-L at securecoding.org > Message-ID: > <773F863A6009244B87E6E866AFC7DB4603999953 at AD1HFDEXC309.ad1.prod> > Content-Type: text/plain; charset="iso-8859-1" > > I just conducted a super-official study of what my peers are reading by > walking a total of five aisles within a very large building. Here are a list > of magazines on folks desk: > > - Infoworld > - Java Developers Journal > - Insurance & Technology > - DMReview > - Intelligent Enterprise > - CIO > - Insurance Networking News > > Likewise, I asked several folks as to whether they subscribe to Dr. Dobbs > and the answer was zero. Interestingly enough, I also checked with other > folks and there seems to be more memberships in our architecture group with > the ACM over IEEE. > > -----Original Message----- > From: Gary McGraw [mailto:gem at cigital.com] > Sent: Tuesday, April 24, 2007 11:24 AM > To: McGovern, James F (HTSC, IT) > Cc: SC-L at securecoding.org > Subject: RE: [SC-L] How big is the market? > > > Got it. I like dr. dobbs OK. Do you see that one around? It has > software security content every once in a while. What others do you > think would be a good target? > > What do the rest of you guys think? > > gem > > company www.cigital.com > podcast www.cigital.com/silverbullet > blog www.cigital.com/justiceleague > book www.swsec.com > > > > -----Original Message----- > From: McGovern, James F (HTSC, IT) > [mailto:James.McGovern at thehartford.com] > Sent: Tuesday, April 24, 2007 11:17 AM > To: Gary McGraw > Cc: SC-L at securecoding.org > Subject: RE: [SC-L] How big is the market? > > Gary, I do at some level agree in terms of quality of publication. My > perspective though is from an large enterprise perspective whose primary > business model isn't about technology and the magazines that folks do > read especially in the development community. A quick informal survey > tells me that absolutely zero of my peers read IEEE (note I am a > subscriber). > > Part of the problem may be the fact that us enterprise folks are > bombarded with free magazines and cannot justify spending money to > subscribe to ones such as the IEEE. I am merely suggesting some > diversification for folks that don't pay for magazines. > > -----Original Message----- > From: Gary McGraw [mailto:gem at cigital.com] > Sent: Tuesday, April 24, 2007 10:50 AM > To: McGovern, James F (HTSC, IT) > Cc: SC-L at securecoding.org > Subject: RE: [SC-L] How big is the market? > > > I'm sorry James, but I have to respectfully disagree about the vendor > thing. Perhaps the tools vendors target the "information protection" > people, but at Cigital we sell services to software execs (in huge > companies) who are way up the food chain. > > Software security is small, and we need to emphasize the growth and get > people interested. This goes for everyone who reads this list. To > continue our impressive growth as a field, we need to continue to build. > > I do agree with you that people need to write more for developers (but I > hope they pick better places than JDJ to publish in). Toward that end, > check out the "Building Security In" department in IEEE Security & > Privacy magazine . Also > check out Brian Chess's new book "Secure Programming with Static > Analysis" when it comes out in June. However, for the most part, it's > critical to understand that workaday developers can't wrangle enough > budget to tackle software security. > > BTW, I posted a reprise to the darkreading column on justice league > today: > http://www.cigital.com/justiceleague/ > http://www.darkreading.com/document.asp?doc_id=122253&WT.svl=column1_1 > > All told, I am very optimistic about our field, but don't think we can > rest on our laurels at all yet. > > gem > > company www.cigital.com > podcast www.cigital.com/silverbullet > blog www.cigital.com/justiceleague > book www.swsec.com > > > ************************************************************************ > * > This communication, including attachments, is > for the exclusive use of addressee and may contain proprietary, > confidential and/or privileged information. If you are not the intended > recipient, any use, copying, disclosure, dissemination or distribution > is > strictly prohibited. If you are not the intended recipient, please > notify > the sender immediately by return e-mail, delete this communication and > destroy all copies. > ************************************************************************ > * > > > > > > ------------------------------ > > Message: 4 > Date: Tue, 24 Apr 2007 17:06:54 +0000 > From: "SC-L Subscriber Dave Aronson" > > Subject: Re: [SC-L] How big is the market? > To: SC-L at securecoding.org > Message-ID: > Content-Type: text/plain; charset="us-ascii" > > McGovern, James F \(HTSC, IT\) [mailto:James.McGovern at thehartford.com] > writes: > > > I just conducted a super-official study of what my peers are reading by > > walking a total of five aisles within a very large building. Here are a > > list of magazines on folks desk: > > > > - Infoworld > > - Java Developers Journal > > - Insurance & Technology > > - DMReview > > - Intelligent Enterprise > > - CIO > > - Insurance Networking News > > I'd also suggest Software Development, and maybe Information Security. > > -Dave > > -- > Dave Aronson > "Specialization is for insects." -Heinlein > Work: http://www.davearonson.com/ > Play: http://www.davearonson.net/ > > > > > ------------------------------ > > Message: 5 > Date: Tue, 24 Apr 2007 14:27:45 -0400 > From: "McGovern, James F \(HTSC, IT\)" > > Subject: [SC-L] NYC Security > Cc: SC-L at securecoding.org > Message-ID: > <773F863A6009244B87E6E866AFC7DB460399995F at AD1HFDEXC309.ad1.prod> > Content-Type: text/plain; charset="iso-8859-1" > > FYI. Awhile back I mentioned the Technology Managers Forum in which I am a > participant. The agenda is finalized and secure coding practices was the > number one topic: http://www.techforum.com/sf2007_1/index.html For product > vendors and consulting firms that want access to key decision makers, this > would be a great opportunity to get a booth. > > Anyway, hope to run across folks from this list here. Nothing is better > than face-to-face conversations... > > > ************************************************************************* > This communication, including attachments, is > for the exclusive use of addressee and may contain proprietary, > confidential and/or privileged information. If you are not the intended > recipient, any use, copying, disclosure, dissemination or distribution is > strictly prohibited. If you are not the intended recipient, please notify > the sender immediately by return e-mail, delete this communication and > destroy all copies. > ************************************************************************* > > > > > ------------------------------ > > Message: 6 > Date: Tue, 24 Apr 2007 16:26:37 -0400 > From: "McGovern, James F \(HTSC, IT\)" > > Subject: [SC-L] Magazines > Cc: SC-L at securecoding.org > Message-ID: > <773F863A6009244B87E6E866AFC7DB4603999963 at AD1HFDEXC309.ad1.prod> > Content-Type: text/plain; charset="iso-8859-1" > > FYI. Other magazines read within a large enterprise: > > - MSDN Magazine > - SC Magazine > - Oracle's Profit Magazine > > > ************************************************************************* > This communication, including attachments, is > for the exclusive use of addressee and may contain proprietary, > confidential and/or privileged information. If you are not the intended > recipient, any use, copying, disclosure, dissemination or distribution is > strictly prohibited. If you are not the intended recipient, please notify > the sender immediately by return e-mail, delete this communication and > destroy all copies. > ************************************************************************* > > > > > ------------------------------ > > Message: 7 > Date: Tue, 24 Apr 2007 16:45:31 -0500 > From: Gunnar Peterson > Subject: [SC-L] MetriCon 2.0 CFP > To: Secure Mailing List > Message-ID: > Content-Type: text/plain; charset="ISO-8859-1" > > Last year's conference, MetriCon 1.0 featured a software security metrics > track ( http://securitymetrics.org/content/Wiki.jsp?page=Metricon1.0), > including: > > * A Metric for Evaluating Static Analysis Tools - Chess & Tsipenyuk, > Fortify > * An Attack Surface Metric - Manadhata & Wing, Carnegie-Mellon > * "Good enough" Metrics - Epstein, WebMethods > * Software Security Patterns and Risk - Heyman & Huygens, U of Leuven > * Code Metrics - Chandra, Secure Software > > -gp > > Second Workshop on Security Metrics (MetriCon 2.0) ? Call for Papers > MetriCon 2.0 CFP > > August 7, 2007 Boston, MA > > Overview > > Do you cringe at the subjectivity applied to security in every manner? If > so, MetriCon 2.0 may be your antidote to change security from an artistic > "matter of opinion" into an objective, quantifiable science. The time for > adjectives and adverbs has gone; the time for hard facts and data has > come. > > MetriCon 2.0 is intended as a forum for lively, practical discussion in > the > area of security metrics. It is a forum for quantifiable approaches and > results to problems afflicting information security today, with a bias > towards practical, specific implementations. Topics and presentations will > be selected for their potential to stimulate discussion in the Workshop. > > MetriCon 2.0 will be a one-day event, Tuesday, August 7, 2007, co-located > with the 16th USENIX Security Symposium in Boston, MA, USA > (http://www.usenix.org/events/sec07/). Beginning first thing in the > morning, > with meals taken in the meeting room, and extending into the evening. > Attendance will be by invitation and limited to 60 participants. All > participants will be expected to "come with findings" and be willing to > address the group in some fashion, formally or not. Preference given to > the > authors of position papers/presentations who have actual work in progress. > > Each presenter will have 10-15 minutes to present his or her idea, > followed > by 15-20 minutes of discussion with the workshop participants. Panels and > groups of related presentations may be proposed to present different > approaches to selected topics, and will be steered by what sorts of > proposals come in response to this Call. > > > Goals and Topics > > The goal of the workshop is to stimulate discussion of and thinking about > security metrics and to do so in ways that lead to realistic, early > results > of lasting value. Potential attendees are invited to submit position > papers > to be shared with all. Such position papers are expected to address > security > metrics in one of the following categories: > > Benchmarking > Empirical Studies > Metrics Definitions > Financial Planning > Security/Risk Modeling > Tools, Technologies, Tips, and Tricks > Visualization > Practical implementations, real world case studies, and detailed models > will > be preferred over broader models or general ideas. > > How to Participate > > Submit a short position paper or description of work done/ongoing. Your > submission must be no longer than five(5) paragraphs or presentation > slides. > Author names and affiliations should appear first in/on the submission. > Submissions may be in PDF, PowerPoint, HTML, or plaintext email and must > be > submitted to MetriCon AT securitymetrics.org. > > Presenters will be notified of acceptance by June 22, 2007 and expected to > provide materials for distribution by July 22, 2007. All slides and > position > papers will be made available to participants at the workshop. No formal > proceedings are intended. Plagiarism constitutes dishonesty. The > organizers > of this Workshop as well as USENIX prohibit these practices and will take > appropriate action if dishonesty of this sort is found. Submission of > recent, previously published work as well as simultaneous submissions to > multiple venues is acceptable but please so indicate in your proposal. > > Location > > MetriCon 2.0 will be co-located with the 16th USENIX Security Symposium > (Security ?07). (http://www.usenix.org/events/sec07/) > Cost > > $200 all-inclusive of meeting space, materials preparation, and meals for > the day. > Important Dates > > Requests to participate: by May 11, 2007 > Notification of acceptance: by June 22, 2007 > Materials for distribution: by July 22, 2007 > Workshop Organizers > > Fred Cohen, Fred Cohen & Associates > Jeremy Epstein, webMethods > Dan Geer, Geer Risk Services > Andrew Jaquith, Yankee Group > Elizabeth Nichols, ClearPoint Metrics, Co-Chair > Gunnar Peterson, Arctec Group, Co-Chair > Russell Cameron Thomas, Meritology > > > > > > ------------------------------ > > _______________________________________________ > SC-L mailing list > SC-L at securecoding.org > http://krvw.com/mailman/listinfo/sc-l > > > End of SC-L Digest, Vol 3, Issue 81 > *********************************** > -- THE INFORMATION CONTAINED IN THIS MESSAGE AND ANY ATTACHMENT MAY BE PRIVILEGED, CONFIDENTIAL, PROPRIETARY OR OTHERWISE PROTECTED FROM DISCLOSURE. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, copying or use of this message and any attachment is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and permanently delete it from your computer and destroy any printout thereof. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070424/43ac9da4/attachment-0001.html From ge at linuxbox.org Wed Apr 25 07:14:16 2007 From: ge at linuxbox.org (Gadi Evron) Date: Wed, 25 Apr 2007 06:14:16 -0500 (CDT) Subject: [SC-L] MetriCon 2.0 CFP In-Reply-To: Message-ID: On Tue, 24 Apr 2007, Gunnar Peterson wrote: > Book is here > > "Security Metrics: Replacing Fear, Uncertainty, and Doubt" by Andrew Jaquith I thought it was about ROSI all over again? Having been to and spoken at several CISO conferences, I stayed away from this book up to now. > http://www.amazon.com/Security-Metrics-Replacing-Uncertainty-Doubt/dp/032134 > 9989 > > I am halfway through and it is excellent so far, will post a review soon. > Not sure how the security industry as we know it will get by without fud. Pretty good! Thank you very much. The problem of teaching security practitioners on how to "speak" without FUD, even if they don't see it as FUD, is just as great. Gadi. > > -gp > > On 4/24/07 7:32 PM, "Gary McGraw" wrote: > > > Plus, check out Andrew Jaquith's excellent book: > > > > -----Original Message----- > > From: Gunnar Peterson [mailto:gunnar at arctecgroup.net] > > Sent: Tue Apr 24 20:14:53 2007 > > To: Secure Mailing List > > Subject: [SC-L] MetriCon 2.0 CFP > > > > Last year's conference, MetriCon 1.0 featured a software security metrics > > track ( http://securitymetrics.org/content/Wiki.jsp?page=Metricon1.0), > > including: > > > > * A Metric for Evaluating Static Analysis Tools - Chess & Tsipenyuk, Fortify > > * An Attack Surface Metric - Manadhata & Wing, Carnegie-Mellon > > * "Good enough" Metrics - Epstein, WebMethods > > * Software Security Patterns and Risk - Heyman & Huygens, U of Leuven > > * Code Metrics - Chandra, Secure Software > > > > -gp > > > > Second Workshop on Security Metrics (MetriCon 2.0) < Call for Papers > > MetriCon 2.0 CFP > > > > August 7, 2007 Boston, MA > > > > Overview > > > > Do you cringe at the subjectivity applied to security in every manner? If > > so, MetriCon 2.0 may be your antidote to change security from an artistic > > "matter of opinion" into an objective, quantifiable science. The time for > > adjectives and adverbs has gone; the time for hard facts and data has come. > > > > MetriCon 2.0 is intended as a forum for lively, practical discussion in the > > area of security metrics. It is a forum for quantifiable approaches and > > results to problems afflicting information security today, with a bias > > towards practical, specific implementations. Topics and presentations will > > be selected for their potential to stimulate discussion in the Workshop. > > > > MetriCon 2.0 will be a one-day event, Tuesday, August 7, 2007, co-located > > with the 16th USENIX Security Symposium in Boston, MA, USA > > (http://www.usenix.org/events/sec07/). Beginning first thing in the morning, > > with meals taken in the meeting room, and extending into the evening. > > Attendance will be by invitation and limited to 60 participants. All > > participants will be expected to "come with findings" and be willing to > > address the group in some fashion, formally or not. Preference given to the > > authors of position papers/presentations who have actual work in progress. > > > > Each presenter will have 10-15 minutes to present his or her idea, followed > > by 15-20 minutes of discussion with the workshop participants. Panels and > > groups of related presentations may be proposed to present different > > approaches to selected topics, and will be steered by what sorts of > > proposals come in response to this Call. > > > > > > Goals and Topics > > > > The goal of the workshop is to stimulate discussion of and thinking about > > security metrics and to do so in ways that lead to realistic, early results > > of lasting value. Potential attendees are invited to submit position papers > > to be shared with all. Such position papers are expected to address security > > metrics in one of the following categories: > > > > Benchmarking > > Empirical Studies > > Metrics Definitions > > Financial Planning > > Security/Risk Modeling > > Tools, Technologies, Tips, and Tricks > > Visualization > > Practical implementations, real world case studies, and detailed models will > > be preferred over broader models or general ideas. > > > > How to Participate > > > > Submit a short position paper or description of work done/ongoing. Your > > submission must be no longer than five(5) paragraphs or presentation slides. > > Author names and affiliations should appear first in/on the submission. > > Submissions may be in PDF, PowerPoint, HTML, or plaintext email and must be > > submitted to MetriCon AT securitymetrics.org. > > > > Presenters will be notified of acceptance by June 22, 2007 and expected to > > provide materials for distribution by July 22, 2007. All slides and position > > papers will be made available to participants at the workshop. No formal > > proceedings are intended. Plagiarism constitutes dishonesty. The organizers > > of this Workshop as well as USENIX prohibit these practices and will take > > appropriate action if dishonesty of this sort is found. Submission of > > recent, previously published work as well as simultaneous submissions to > > multiple venues is acceptable but please so indicate in your proposal. > > > > Location > > > > MetriCon 2.0 will be co-located with the 16th USENIX Security Symposium > > (Security ?07). (http://www.usenix.org/events/sec07/) > > Cost > > > > $200 all-inclusive of meeting space, materials preparation, and meals for > > the day. > > Important Dates > > > > Requests to participate: by May 11, 2007 > > Notification of acceptance: by June 22, 2007 > > Materials for distribution: by July 22, 2007 > > Workshop Organizers > > > > Fred Cohen, Fred Cohen & Associates > > Jeremy Epstein, webMethods > > Dan Geer, Geer Risk Services > > Andrew Jaquith, Yankee Group > > Elizabeth Nichols, ClearPoint Metrics, Co-Chair > > Gunnar Peterson, Arctec Group, Co-Chair > > Russell Cameron Thomas, Meritology > > > > > > > > _______________________________________________ > > Secure Coding mailing list (SC-L) SC-L at securecoding.org > > List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l > > List charter available at - http://www.securecoding.org/list/charter.php > > SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) > > as a free, non-commercial service to the software security community. > > _______________________________________________ > > > > > > -- > Gunnar Peterson, Managing Principal, Arctec Group > http://www.arctecgroup.net > > SOA, Web Services and XML Security & Web Application Security Training > > Schedule of Public Classes > May 7 Washington/Baltimore (WSSC Conference) > May 15 Milan (OWASP App Sec Conference) > July 17-19 Washington/Baltimore > > Details and registration info on Arctec Group and Aspect Security classes > http://www.aspectsecurity.com/public_training.htm > > Blog: http://1raindrop.typepad.com > > > > _______________________________________________ > Secure Coding mailing list (SC-L) SC-L at securecoding.org > List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l > List charter available at - http://www.securecoding.org/list/charter.php > SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) > as a free, non-commercial service to the software security community. > _______________________________________________ > From lists at ticm.com Wed Apr 25 06:30:12 2007 From: lists at ticm.com (Bret Watson) Date: Wed, 25 Apr 2007 18:30:12 +0800 Subject: [SC-L] MetriCon 2.0 CFP In-Reply-To: <83B3489DF1064F4E90218770D953D36113F279@va-mail.cigital.com > References: <83B3489DF1064F4E90218770D953D36113F279@va-mail.cigital.com> Message-ID: <5pqpkn$26l9pn@iinet-mail.icp-qv1-irony10.iinet.net.au> You know its a little off topic - but I'd kill for a set of metrics around the effectiveness/efficiency of a SOC :) Anyone got any ideas? The usual "events per person" type metrics are backwards (good security means less events so lower "efficiency" Thanks Bret From gunnar at arctecgroup.net Wed Apr 25 07:45:09 2007 From: gunnar at arctecgroup.net (Gunnar Peterson) Date: Wed, 25 Apr 2007 06:45:09 -0500 Subject: [SC-L] MetriCon 2.0 CFP In-Reply-To: Message-ID: > I thought it was about ROSI all over again? Having been to and spoken at > several CISO conferences, I stayed away from this book up to now. > Actually, Andy hits that in the preface "Mercifully, the ROI fad has gone the way of the Macarena" Instead the book (and conference) are about - how to measure security, how to analyze the data, and how to tell a story -gp >> http://www.amazon.com/Security-Metrics-Replacing-Uncertainty-Doubt/dp/032134 >> 9989 >> >> I am halfway through and it is excellent so far, will post a review soon. >> Not sure how the security industry as we know it will get by without fud. > > Pretty good! Thank you very much. The problem of teaching security > practitioners on how to "speak" without FUD, even if they don't see it as > FUD, is just as great. > > Gadi. > >> >> -gp >> >> On 4/24/07 7:32 PM, "Gary McGraw" wrote: >> >>> Plus, check out Andrew Jaquith's excellent book: >>> >>> -----Original Message----- >>> From: Gunnar Peterson [mailto:gunnar at arctecgroup.net] >>> Sent: Tue Apr 24 20:14:53 2007 >>> To: Secure Mailing List >>> Subject: [SC-L] MetriCon 2.0 CFP >>> >>> Last year's conference, MetriCon 1.0 featured a software security metrics >>> track ( http://securitymetrics.org/content/Wiki.jsp?page=Metricon1.0), >>> including: >>> >>> * A Metric for Evaluating Static Analysis Tools - Chess & Tsipenyuk, Fortify >>> * An Attack Surface Metric - Manadhata & Wing, Carnegie-Mellon >>> * "Good enough" Metrics - Epstein, WebMethods >>> * Software Security Patterns and Risk - Heyman & Huygens, U of Leuven >>> * Code Metrics - Chandra, Secure Software >>> >>> -gp >>> >>> Second Workshop on Security Metrics (MetriCon 2.0) < Call for Papers >>> MetriCon 2.0 CFP >>> >>> August 7, 2007 Boston, MA >>> >>> Overview >>> >>> Do you cringe at the subjectivity applied to security in every manner? If >>> so, MetriCon 2.0 may be your antidote to change security from an artistic >>> "matter of opinion" into an objective, quantifiable science. The time for >>> adjectives and adverbs has gone; the time for hard facts and data has come. >>> >>> MetriCon 2.0 is intended as a forum for lively, practical discussion in the >>> area of security metrics. It is a forum for quantifiable approaches and >>> results to problems afflicting information security today, with a bias >>> towards practical, specific implementations. Topics and presentations will >>> be selected for their potential to stimulate discussion in the Workshop. >>> >>> MetriCon 2.0 will be a one-day event, Tuesday, August 7, 2007, co-located >>> with the 16th USENIX Security Symposium in Boston, MA, USA >>> (http://www.usenix.org/events/sec07/). Beginning first thing in the morning, >>> with meals taken in the meeting room, and extending into the evening. >>> Attendance will be by invitation and limited to 60 participants. All >>> participants will be expected to "come with findings" and be willing to >>> address the group in some fashion, formally or not. Preference given to the >>> authors of position papers/presentations who have actual work in progress. >>> >>> Each presenter will have 10-15 minutes to present his or her idea, followed >>> by 15-20 minutes of discussion with the workshop participants. Panels and >>> groups of related presentations may be proposed to present different >>> approaches to selected topics, and will be steered by what sorts of >>> proposals come in response to this Call. >>> >>> >>> Goals and Topics >>> >>> The goal of the workshop is to stimulate discussion of and thinking about >>> security metrics and to do so in ways that lead to realistic, early results >>> of lasting value. Potential attendees are invited to submit position papers >>> to be shared with all. Such position papers are expected to address security >>> metrics in one of the following categories: >>> >>> Benchmarking >>> Empirical Studies >>> Metrics Definitions >>> Financial Planning >>> Security/Risk Modeling >>> Tools, Technologies, Tips, and Tricks >>> Visualization >>> Practical implementations, real world case studies, and detailed models will >>> be preferred over broader models or general ideas. >>> >>> How to Participate >>> >>> Submit a short position paper or description of work done/ongoing. Your >>> submission must be no longer than five(5) paragraphs or presentation slides. >>> Author names and affiliations should appear first in/on the submission. >>> Submissions may be in PDF, PowerPoint, HTML, or plaintext email and must be >>> submitted to MetriCon AT securitymetrics.org. >>> >>> Presenters will be notified of acceptance by June 22, 2007 and expected to >>> provide materials for distribution by July 22, 2007. All slides and position >>> papers will be made available to participants at the workshop. No formal >>> proceedings are intended. Plagiarism constitutes dishonesty. The organizers >>> of this Workshop as well as USENIX prohibit these practices and will take >>> appropriate action if dishonesty of this sort is found. Submission of >>> recent, previously published work as well as simultaneous submissions to >>> multiple venues is acceptable but please so indicate in your proposal. >>> >>> Location >>> >>> MetriCon 2.0 will be co-located with the 16th USENIX Security Symposium >>> (Security ?07). (http://www.usenix.org/events/sec07/) >>> Cost >>> >>> $200 all-inclusive of meeting space, materials preparation, and meals for >>> the day. >>> Important Dates >>> >>> Requests to participate: by May 11, 2007 >>> Notification of acceptance: by June 22, 2007 >>> Materials for distribution: by July 22, 2007 >>> Workshop Organizers >>> >>> Fred Cohen, Fred Cohen & Associates >>> Jeremy Epstein, webMethods >>> Dan Geer, Geer Risk Services >>> Andrew Jaquith, Yankee Group >>> Elizabeth Nichols, ClearPoint Metrics, Co-Chair >>> Gunnar Peterson, Arctec Group, Co-Chair >>> Russell Cameron Thomas, Meritology >>> >>> >>> >>> _______________________________________________ >>> Secure Coding mailing list (SC-L) SC-L at securecoding.org >>> List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l >>> List charter available at - http://www.securecoding.org/list/charter.php >>> SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) >>> as a free, non-commercial service to the software security community. >>> _______________________________________________ >>> >>> >> >> -- >> Gunnar Peterson, Managing Principal, Arctec Group >> http://www.arctecgroup.net >> >> SOA, Web Services and XML Security & Web Application Security Training >> >> Schedule of Public Classes >> May 7 Washington/Baltimore (WSSC Conference) >> May 15 Milan (OWASP App Sec Conference) >> July 17-19 Washington/Baltimore >> >> Details and registration info on Arctec Group and Aspect Security classes >> http://www.aspectsecurity.com/public_training.htm >> >> Blog: http://1raindrop.typepad.com >> >> >> >> _______________________________________________ >> Secure Coding mailing list (SC-L) SC-L at securecoding.org >> List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l >> List charter available at - http://www.securecoding.org/list/charter.php >> SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) >> as a free, non-commercial service to the software security community. >> _______________________________________________ >> > -- Gunnar Peterson, Managing Principal, Arctec Group http://www.arctecgroup.net SOA, Web Services and XML Security & Web Application Security Training Schedule of Public Classes May 7 Washington/Baltimore (WSSC Conference) May 15 Milan (OWASP App Sec Conference) July 17-19 Washington/Baltimore Details and registration info on Arctec Group and Aspect Security classes http://www.aspectsecurity.com/public_training.htm Blog: http://1raindrop.typepad.com From dave.wichers at owasp.org Fri Apr 27 13:39:38 2007 From: dave.wichers at owasp.org (Dave Wichers) Date: Fri, 27 Apr 2007 13:39:38 -0400 Subject: [SC-L] Final Announcement: 6th OWASP AppSec Conference - May 15-17 2007 - Milan, Italy Message-ID: <03b001c788f3$07e5a730$17b0f590$@wichers@owasp.org> Dear OWASP Colleague, The agenda for the 6th Application Security Conference May 15-17 in Milan has been set, the dinner location determined, and all the details are coming together. Please check out the updated details at: http://www.owasp.org/index.php/6th_OWASP_AppSec_Conference_-_Italy_2007. HOTEL REMINDER: The room block at the Marriott is being held through the end of April, so please BOOK SOON if you want to get into the hotel at the conference rate. This conference will include: - Training (On May 15th) Three 1-day application security courses are being offered the day prior to the conference - Main Conference (May 16-17) This year's conference will include daily keynotes, presentations, refereed papers, lots of OWASP projects, and two panels to encourage discussion amongst the attendees. - Evening Social Event (May 16) - This year's social event will be at Ristorante Why Not? REGISTRATION DETAILS: As a non-profit charitable organization, OWASP has been able to keep the cost to 450 Euro's per seat. For OWASP Members it's only 400 Euros. Note: Payment for the conference will actually have to be in US dollars as OWASP currently has no mechanism for accepting Euro's for payment with our current registration system. Registration is available at: http://guest.cvent.com/EVENTS/Register/IdentityConfirmation.aspx?e=4abc935c- a7f8-47e1-83a0-23a2c36faf26 PLEASE NOTE THAT ALL TICKETS ARE NON-REFUNDABLE TO REDUCE ADMINISTRATION COSTS TRAINING COURSES (May 15): These classes will be held at the Marriott. Each class is 650 Euros for conference attendees (and includes lunch). - FOUNDATIONS OF APPLICATION SECURITY - WEB SERVICES AND XML SECURITY - ADVANCED .NET SECURITY More details on these training courses are available at: http://www.owasp.org/index.php/6th_OWASP_AppSec_Conference_-_Italy_2007/Trai ning ACCOMMODATIONS: Information about local accommodations, including reduced rate rooms is available at: http://www.owasp.org/index.php/6th_OWASP_AppSec_Conference_-_Italy_2007#Acco modations If you know others that would be interested in attending the 6th OWASP AppSec Conference, please forward them this email and let them know about this opportunity. Please contact me with any questions. Looking forward to seeing you all there! Thanks, Dave Dave Wichers, OWASP Conferences Chair The OWASP Foundation http://www.owasp.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070427/d7f1aed4/attachment.html From announcements at webappsec.org Mon May 7 18:50:04 2007 From: announcements at webappsec.org (announcements at webappsec.org) Date: Mon, 7 May 2007 18:50:04 -0400 (EDT) Subject: [SC-L] WASC Announcement: Distributed Open Proxy Honeypot Project Data Released Message-ID: <20070507225004.68520.qmail@cgisecurity.net> The Web Application Security Consortium (WASC) is pleased to announce the inital release of data collected by the Distributed Open Proxy Honeypot Project. This first release of information is for data gathered from January - April, 2007. During this timeframe, we had 7 internationally placed honeypot sensors deployed and sending their data back to our central logging host. What did we see? Here are some brief highlights - - SQL Injection Attacks - Brute Force Attacks - OS Command Injection - Web Defacement Attempts - Google-Abuses (Google-Hacking and Proxying for BannerAd/Click Fraud) - Information Leakage We have created a PDF document here - http://www.webappsec.org/projects/honeypots/Threat_Report_05072007.pdf . The attacks are mapped to the WASC Threat Classification categories. There are some high-level statistics shown, however they are very crude as this was not the focus of this phase of the project. We understand that the data presented is a bit raw, however we wanted to release this information so that the public may have a chance to review it and provide feedback. Our initial goal was to identify the types of current attacks that are using open proxy servers. In our future deployments, we will attempt to refine the data analysis processes to extract out trend data and high level concepts. In the near future, we will be updating both the VMware honeypot sensors themselves and will also use a newer version of the centralize logging host (ModSecurity Console). We are also planning to release more frequent information in the form of diary entries on the project webpage as new attacks/trends are identified. While the initial deployment was a success, we still need participants who are willing to participate by deploying our VMware honeypot sensor on their network. If you are interested in participating, please send an email to Ryan Barnett at - RCBarnett_ at _gmail.com. URL: http://www.webappsec.org/projects/honeypots/ Regards, -- Ryan C. Barnett Web Application Security Consortium (WASC) Member Distributed Open Proxy Honeypot Project Lead From robin at kallisti.net.nz Tue May 8 06:09:26 2007 From: robin at kallisti.net.nz (Robin Sheat) Date: Tue, 8 May 2007 22:09:26 +1200 Subject: [SC-L] Best practices for encrypting client-side data Message-ID: <200705082209.35541.robin@kallisti.net.nz> I'm no security professional, just a programmer with a healthy interest in it, most of what I've gleaned has come from lists such as this, and the various securityfocus ones. A little while ago I was asked to implement something that I didn't have much of a low-level idea of, so I hope here is an appropriate place to ask. Basically, I needed to encrypt the on-disk format of some data that is accessed as a seekable file (it's actually a Lucene index, but the details aren't too relevant). The use case for this is to ensure the data is kept private, even if the disk or computer the data is on is taken (it's a network-aware client app, so they log in to the program using a username and password). What I did was take the user's password to create a key (Java follows): paramSpec = new PBEParameterSpec(salt, iteration); PBEKeySpec keySpec = new PBEKeySpec(password.toCharArray()); SecretKeyFactory kf = SecretKeyFactory.getInstance("PBEWithMD5AndDES"); key = kf.generateSecret(keySpec); this key is then used to initialise a cipher. The IV for the cipher is created by the Java crypto system, and that is then written to the head of the stream. Following that is an encrypted 'magic number', and the encrypted data. Note that this happens when the file is closed, in the interim it is buffered in RAM (due to the need to be able to seek anywhere within the file while writing). Decryption follows an (obviously) similar process, the key is generated as above, the IV is read from the head of the stream and used to start the cipher going, the magic number is checked to ensure it is what it should be (so I know that decryption is happening correctly), and then the stream is read and decrypted into memory. There are some maybe-issues I'm aware of, but I'm not confident in my ability to tell how significant they are, I'd appreciate any suggestions or comments. * Buffering in RAM is an issue as it could get swapped out etc. I'd like to know of any recommendations for creating a seekable, encrypted file. * The salt is currently hard-coded. It should be regenerated for every encryption operation in order to make it that much harder (question: should it be a different salt used for every file encrypted by a user, or one salt across all files by that user? Does it matter?) * Is it wise to use the user's password directly, or should that perhaps be used to encrypt a key, and that key used to encrypt the files? This would certainly make changing the password easier, but if that key is ever compromised, it's a bigger issue. * The Java crypto system looks like black-magic. I haven't seen many things that talk about how to use it well. How do I know I'm not using it in some vulnerable fashion? * Is it OK to have the IV exposed like that, or should it be kept hidden somehow? The impression I have is that it's OK for it to be known, so long as it changes every time the file is written. I know this is a bit off the vulnerability theme that this list often takes, but I hope it's considered relevant enough to dig up some input. Cheers, -- Robin JabberID: Hostes alienigeni me abduxerunt. Qui annus est? PGP Key 0xA99CEB6D = 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://krvw.com/pipermail/sc-l/attachments/20070508/d4ac14c3/attachment.bin From BlueBoar at thievco.com Tue May 8 13:04:53 2007 From: BlueBoar at thievco.com (Blue Boar) Date: Tue, 08 May 2007 10:04:53 -0700 Subject: [SC-L] Best practices for encrypting client-side data In-Reply-To: <200705082209.35541.robin@kallisti.net.nz> References: <200705082209.35541.robin@kallisti.net.nz> Message-ID: <4640ADB5.5000404@thievco.com> Robin Sheat wrote: > Basically, I needed to encrypt the on-disk format of some data that is > accessed as a seekable file (it's actually a Lucene index, but the details > aren't too relevant). The use case for this is to ensure the data is kept > private, even if the disk or computer the data is on is taken (it's a > network-aware client app, so they log in to the program using a username and > password). You go on to describe (I think) crypto operations that take place completely on the client site. What is the relationship between the encrypted data and server client->server communications? > * The salt is currently hard-coded. It should be regenerated for every > encryption operation in order to make it that much harder (question: should > it be a different salt used for every file encrypted by a user, or one salt > across all files by that user? Does it matter?) You should have a random salt every time you generate a hash or key. > * Is it wise to use the user's password directly, or should that perhaps be > used to encrypt a key, and that key used to encrypt the files? This would > certainly make changing the password easier, but if that key is ever > compromised, it's a bigger issue. You can get a little extra security with an encrypted keyfile for certain attack scenarios if done properly. With your design, if I have only the encrypted file, I can start brute-forcing passwords immediately. Might not be practical, depending on how big the salt is, and whether I got that too. If there's an encrypted keyfile, I have to steal that too, plus I still have the exact same amount of brute forcing to do. So, the decisions depends on whether stealing the encrypted data almost always allows me to steal the keyfile, or if you can do something significant;y better, like having the user store the keyfile on a USB drive or the remote server or something. In order to not have created an irrevocable encryption key, every time the user changes their password, you should create a new encryption key and re-encrypt the data with that key, rendering the old stolen keyfile useless. > > * The Java crypto system looks like black-magic. I haven't seen many things > that talk about how to use it well. How do I know I'm not using it in some > vulnerable fashion? I can't help you there. I know nothing about Java's implementation details, nor can I tell if you've created a stream cipher that can be decrypted by XORing with itself or something else silly. Ryan From ljknews at mac.com Tue May 8 10:11:05 2007 From: ljknews at mac.com (ljknews) Date: Tue, 8 May 2007 10:11:05 -0400 Subject: [SC-L] Best practices for encrypting client-side data In-Reply-To: <200705082209.35541.robin@kallisti.net.nz> References: <200705082209.35541.robin@kallisti.net.nz> Message-ID: At 10:09 PM +1200 5/8/07, Robin Sheat wrote: > Content-Type: multipart/signed; boundary="nextPart6783111.ysaAiqc79P"; > protocol="application/pgp-signature"; micalg=pgp-sha1 > Content-Transfer-Encoding: 7bit > > I'm no security professional, just a programmer with a healthy interest in it, > most of what I've gleaned has come from lists such as this, and the various > securityfocus ones. > > A little while ago I was asked to implement something that I didn't have much > of a low-level idea of, so I hope here is an appropriate place to ask. > > Basically, I needed to encrypt the on-disk format of some data that is > accessed as a seekable file (it's actually a Lucene index, but the details > aren't too relevant). The use case for this is to ensure the data is kept > private, even if the disk or computer the data is on is taken (it's a > network-aware client app, so they log in to the program using a username and > password). There should be concern that the computer might be temporarily stolen to install a keyboard sniffer and then returned for long enough to scarf up the password. What protections do you have to prevent the user from choosing the same password for some _other_ system ? The smart thief will obtain the user password before stealing the box. I would suggest two factor authentication, requiring some smart card (with built-in keypad, to prevent intercept of the pin) that actually provides the decryption. Make the user keep the smart card with them, such as by requiring it for entrance to the cafeteria or rest room. Obviously other smart card features are in order, such as going dead after N bad tries at the pin, and a duress code. -- Larry Kilgallen From secureCoding2dave at davearonson.com Tue May 8 11:00:12 2007 From: secureCoding2dave at davearonson.com (SC-L Subscriber Dave Aronson) Date: Tue, 08 May 2007 15:00:12 +0000 Subject: [SC-L] Best practices for encrypting client-side data Message-ID: Robin Sheat [mailto:robin at kallisti.net.nz] wonders: > What I did was take the user's password to create a key What happens when the user changes his password? I didn't quite follow it all, but it looks to me like that means that all of a user's data has to be decrypted and re-encrypted. You didn't tell us how much data that is, so I'm going to ass-u-me that it *could* be a lot. Perhaps you could base the encryption on more stable data, such as the user name combined with when the user joined. This could be used to encrypt the data directly, or, as you proposed, to encrypt the actual key. How difficult would it be for the attacker to figure out whose data something is, and when they joined, or whatever else you base your encryption on, AND the fact that that's how you encrypt? If finding that out would be pretty much trivial, there goes all your protection, under the above scheme. Also, just how secure do you need it to be? Don't waste a thousand-dollar lock on a fifty-dollar bicycle. Is this data actually a tempting target for attackers who are clueful and resourceful (in both the senses of "clever" and "able to spend a lot")? -Dave -- Dave Aronson "Specialization is for insects." -Heinlein Work: http://www.davearonson.com/ Play: http://www.davearonson.net/ From robin at kallisti.net.nz Wed May 9 19:47:00 2007 From: robin at kallisti.net.nz (Robin Sheat) Date: Thu, 10 May 2007 11:47:00 +1200 Subject: [SC-L] Best practices for encrypting client-side data In-Reply-To: <4640ADB5.5000404@thievco.com> References: <200705082209.35541.robin@kallisti.net.nz> <4640ADB5.5000404@thievco.com> Message-ID: <200705101147.05946.robin@kallisti.net.nz> On Wednesday 09 May 2007 05:04:53 you wrote: > You go on to describe (I think) crypto operations that take place > completely on the client site. What is the relationship between the > encrypted data and server client->server communications? For the purposes of this, there isn't. It was just to illustrate the point that a password is required and is checked by another component of the system. All the crypto (that I'm interested in here) is completely client-side. > > * The salt is currently hard-coded. It should be regenerated for every > > encryption operation in order to make it that much harder (question: > > should it be a different salt used for every file encrypted by a user, or > > one salt across all files by that user? Does it matter?) > You should have a random salt every time you generate a hash or key. Y'know, thinking about it more, I don't think that a salt would help at all in this situation. I'm not storing a hash of the password anywhere, the data is encrypted with the hash of the password, and to decrypt, the hash is regenerated from the user-supplied password. ...actually, I take that back. It would mean that each file (the data is composed of multiple smallish files) would have a different key, so if the attacker found the key to one, but not the password, they couldn't get to the other files. A small gain, but a gain nonetheless. -- Robin JabberID: Hostes alienigeni me abduxerunt. Qui annus est? PGP Key 0xA99CEB6D = 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://krvw.com/pipermail/sc-l/attachments/20070510/96253057/attachment.bin From robin at kallisti.net.nz Wed May 9 19:56:34 2007 From: robin at kallisti.net.nz (Robin Sheat) Date: Thu, 10 May 2007 11:56:34 +1200 Subject: [SC-L] Best practices for encrypting client-side data In-Reply-To: References: Message-ID: <200705101156.35741.robin@kallisti.net.nz> On Wednesday 09 May 2007 03:00:12 SC-L Subscriber Dave Aronson wrote: > What happens when the user changes his password? ?I didn't quite follow it > all, but it looks to me like that means that all of a user's data has to be > decrypted and re-encrypted. ?You didn't tell us how much data that is, so > I'm going to ass-u-me that it *could* be a lot. Probably not so much that re-encrypting would be a problem. I'm not exactly sure how much, it depends totally on how much the end-users use this part of the system. I would expect 10s of Mb, maybe into the 100s. > Perhaps you could base the encryption on more stable data, such as the user > name combined with when the user joined. ?This could be used to encrypt the > data directly, or, as you proposed, to encrypt the actual key. ?How My issue with that is that it's non-revocable by the user. Should bad-guy-Mallory manage to get that information somehow, the user can't do anything to protect their future data. If Mallory steals their password, then the user can change it, meaning that Mallory has to put the hard-yards in to get access back again. > Also, just how secure do you need it to be? ?Don't waste a thousand-dollar > lock on a fifty-dollar bicycle. ?Is this data actually a tempting target > for attackers who are clueful and resourceful (in both the senses of > "clever" and "able to spend a lot")? I think the primary attack scenario is to prevent someone leaving a laptop somewhere, someone else picking it up and saying "ohh, interesting data! Lets sell it to their competitor", but in the interests of 'doing it properly', I expect there won't be much more expense on our part to put a more complete and secure solution in than that. Perhaps so that if the well-funded competitor gets the disk, they can't break it quickly and easily. I'm leaving things like planting keyboard sniffers out of the equation. If they can do that, they have the user's password and can log into the system and see all the data anyway and would have no need to try to defeat the encryption. -- Robin JabberID: Hostes alienigeni me abduxerunt. Qui annus est? PGP Key 0xA99CEB6D = 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://krvw.com/pipermail/sc-l/attachments/20070510/04a7dd76/attachment.bin From robin at kallisti.net.nz Wed May 9 20:01:14 2007 From: robin at kallisti.net.nz (Robin Sheat) Date: Thu, 10 May 2007 12:01:14 +1200 Subject: [SC-L] Best practices for encrypting client-side data In-Reply-To: References: <200705082209.35541.robin@kallisti.net.nz> Message-ID: <200705101201.15354.robin@kallisti.net.nz> On Wednesday 09 May 2007 02:11:05 ljknews wrote: > I would suggest two factor authentication, requiring some smart card > (with built-in keypad, to prevent intercept of the pin) that actually > provides the decryption. ?Make the user keep the smart card with them, > such as by requiring it for entrance to the cafeteria or rest room. That's not possible in this case. Mostly because it would involve more investment on our part than the customers would be willing to pay for. However, I'm interested in generalising the ideas in this thread to go beyond my particular situation; "if you were storing data in an application on a laptop, how would you keep it as safe as is feasible?" Especially in the case of non-tech-savvy end users and machines out of our control, so we can't do things like install truecrypt. -- Robin JabberID: Hostes alienigeni me abduxerunt. Qui annus est? PGP Key 0xA99CEB6D = 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://krvw.com/pipermail/sc-l/attachments/20070510/d009489b/attachment.bin From ljknews at mac.com Thu May 10 07:01:14 2007 From: ljknews at mac.com (ljknews) Date: Thu, 10 May 2007 07:01:14 -0400 Subject: [SC-L] Best practices for encrypting client-side data In-Reply-To: <200705101201.15354.robin@kallisti.net.nz> References: <200705082209.35541.robin@kallisti.net.nz> <200705101201.15354.robin@kallisti.net.nz> Message-ID: At 12:01 PM +1200 5/10/07, Robin Sheat wrote: > Content-Type: multipart/signed; boundary="nextPart1622971.NJ1973Q3ia"; > protocol="application/pgp-signature"; micalg=pgp-sha1 > Content-Transfer-Encoding: 7bit > > On Wednesday 09 May 2007 02:11:05 ljknews wrote: >> I would suggest two factor authentication, requiring some smart card >> (with built-in keypad, to prevent intercept of the pin) that actually >> provides the decryption. Make the user keep the smart card with them, >> such as by requiring it for entrance to the cafeteria or rest room. > That's not possible in this case. Mostly because it would involve more > investment on our part than the customers would be willing to pay for. > > However, I'm interested in generalising the ideas in this thread to go beyond > my particular situation; "if you were storing data in an application on a > laptop, how would you keep it as safe as is feasible?" The tension between "as safe as is feasible" and "not willing to pay for" is not susceptible to generalization. -- Larry Kilgallen From gem at cigital.com Fri May 11 11:17:52 2007 From: gem at cigital.com (Gary McGraw) Date: Fri, 11 May 2007 11:17:52 -0400 Subject: [SC-L] Darkreading: Secure Coding Certification Message-ID: <41945506397C0C4886A8C5BFF089B5CA9BDC84EE@va-mailhub.cigital.com> Hi all, As readers of the list know, SANS recently announced a certification scheme for secure programming. Many vendors and consultants jumped on the bandwagon. I'm not so sure the bandwagon is going anywhere. I explain why in my latest darkreading column: http://www.darkreading.com/document.asp?doc_id=123606 What do you think? Can we test someone's software security knowledge with a multiple choice test? Anybody seen the body of knowledge behind the test? gem company www.cigital.com podcast www.cigital.com/silverbullet blog www.cigital.com/justiceleague book www.swsec.com From yo at secappdev.org Sat May 12 06:11:11 2007 From: yo at secappdev.org (Johan Peeters) Date: Sat, 12 May 2007 12:11:11 +0200 Subject: [SC-L] Darkreading: Secure Coding Certification In-Reply-To: <41945506397C0C4886A8C5BFF089B5CA9BDC84EE@va-mailhub.cigital.com> References: <41945506397C0C4886A8C5BFF089B5CA9BDC84EE@va-mailhub.cigital.com> Message-ID: <25b6e5cf0705120311s571c6b11p2ddb9ca0d0c76fb8@mail.gmail.com> I agree that multiple choice alone is inadequate to test the true breadth and depth of someone's security knowledge. Having contributed a few questions to the SANS pool, I take issue with Gary's article when it implies that you can pass the GSSP test while clueless. There is indeed a body of knowledge that is being tested. SANS has been soliciting comments on the document. kr, Yo On 5/11/07, Gary McGraw wrote: > Hi all, > > As readers of the list know, SANS recently announced a certification scheme for secure programming. Many vendors and consultants jumped on the bandwagon. I'm not so sure the bandwagon is going anywhere. I explain why in my latest darkreading column: > > http://www.darkreading.com/document.asp?doc_id=123606 > > What do you think? Can we test someone's software security knowledge with a multiple choice test? Anybody seen the body of knowledge behind the test? > > gem > > company www.cigital.com > podcast www.cigital.com/silverbullet > blog www.cigital.com/justiceleague > book www.swsec.com > > _______________________________________________ > Secure Coding mailing list (SC-L) SC-L at securecoding.org > List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l > List charter available at - http://www.securecoding.org/list/charter.php > SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) > as a free, non-commercial service to the software security community. > _______________________________________________ > -- Johan Peeters http://johanpeeters.com From ljknews at mac.com Sat May 12 08:04:24 2007 From: ljknews at mac.com (ljknews) Date: Sat, 12 May 2007 08:04:24 -0400 Subject: [SC-L] Darkreading: Secure Coding Certification In-Reply-To: <41945506397C0C4886A8C5BFF089B5CA9BDC84EE@va-mailhub.cigital.com> References: <41945506397C0C4886A8C5BFF089B5CA9BDC84EE@va-mailhub.cigital.com> Message-ID: At 11:17 AM -0400 5/11/07, Gary McGraw wrote: > As readers of the list know, SANS recently announced a certification > scheme for secure programming. Many vendors and consultants jumped > on the bandwagon. I'm not so sure the bandwagon is going anywhere. > I explain why in my latest darkreading column: > > http://www.darkreading.com/document.asp?doc_id=123606 Well that page shows up as blank in my browser and shows 637 HTML errors on http://validator.w3.org, > What do you think? Can we test someone's software security knowledge with > a multiple choice test? Anybody seen the body of knowledge behind the test? but based on biases I see on this list, I tend to believe that those who make such a certification scheme would bias it toward: Programming done in C and derivative languages (C++, Java, etc.) Programming relying on TCP/IP neither of which is relevant to my endeavors. -- Larry Kilgallen From Greg.Beeley at LightSys.org Sat May 12 14:43:43 2007 From: Greg.Beeley at LightSys.org (Greg Beeley) Date: Sat, 12 May 2007 14:43:43 -0400 Subject: [SC-L] Darkreading: Secure Coding Certification In-Reply-To: <25b6e5cf0705120311s571c6b11p2ddb9ca0d0c76fb8@mail.gmail.com> References: <41945506397C0C4886A8C5BFF089B5CA9BDC84EE@va-mailhub.cigital.com> <25b6e5cf0705120311s571c6b11p2ddb9ca0d0c76fb8@mail.gmail.com> Message-ID: <46460ADF.6090006@LightSys.org> > I agree that multiple choice alone is inadequate to test the true > breadth and depth of someone's security knowledge. Having contributed > a few questions to the SANS pool, I take issue with Gary's article > when it implies that you can pass the GSSP test while clueless. > > There is indeed a body of knowledge that is being tested. SANS has > been soliciting comments on the document. Having taught this type of material before at the university and vocational levels, I think there are three main aspects which are important to someone's capability to code "securely": 1 - Knowledge of pitfalls, countermeasures, and good practices; 2 - The right mindset; and 3 - Experience carrying it out (there are also the surrounding business issues, like project management and planning, risk assessment and how well-vetted the software must be given the cost/risk scenario, but I'll just stick to the coder for now). I have not reviewed the GSSP (practice exams, etc.), but I am guessing that it goes after the "low hanging fruit" of covering (1) above, which is testable most easily with an exam. It's much better than nothing, and the knowledge is very important, but this test does not necessarily mean that a particular coder will be a better "secure coder". There's a lot more to this than just a body of knowledge. For example, you could give any auto mechanic a test that they could pass if they know what the risks are in leaving a bolt loose, or a fuel system clamp unsecured, or not replacing an O-ring when a connection is open (or, if they can figure out those risks during the exam, esp. a multiple-choice one). But that does not mean that the mechanic will actually follow through with those things, or that, in practice, the mechanic will actually be more prone to even notice... So, although I think the GSSP is an important first step, I tend to agree with Gary. In my university-level teaching of software security, I would never even begin to consider evaluating my students merely via multiple choice exams. Not with this subject matter. Greg. From fw at deneb.enyo.de Sun May 13 04:44:19 2007 From: fw at deneb.enyo.de (Florian Weimer) Date: Sun, 13 May 2007 10:44:19 +0200 Subject: [SC-L] Darkreading: Secure Coding Certification In-Reply-To: <25b6e5cf0705120311s571c6b11p2ddb9ca0d0c76fb8@mail.gmail.com> (Johan Peeters's message of "Sat, 12 May 2007 12:11:11 +0200") References: <41945506397C0C4886A8C5BFF089B5CA9BDC84EE@va-mailhub.cigital.com> <25b6e5cf0705120311s571c6b11p2ddb9ca0d0c76fb8@mail.gmail.com> Message-ID: <87ps552jvg.fsf@mid.deneb.enyo.de> * Johan Peeters: > I agree that multiple choice alone is inadequate to test the true > breadth and depth of someone's security knowledge. Having contributed > a few questions to the SANS pool, I take issue with Gary's article > when it implies that you can pass the GSSP test while clueless. But I guess you can fail it because your views are too refined (and you take too long to make your choices). After all, there are different schools of thought when it comes to secure coding and its methodologies. For instance, summing up buffer overflows or directory traversals under "input validation" is somewhat debatable. From James.McGovern at thehartford.com Mon May 14 09:55:07 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Mon, 14 May 2007 09:55:07 -0400 Subject: [SC-L] Darkreading: Secure Coding Certification In-Reply-To: <41945506397C0C4886A8C5BFF089B5CA9BDC84EE@va-mailhub.cigital.com> Message-ID: <773F863A6009244B87E6E866AFC7DB4603999A53@AD1HFDEXC309.ad1.prod> Gary, I think this test will miss for other reasons including but not limited to: 1. ONLY consultants and vendors have jumped on the bandwagon. Other IT professionals such as those who work in large enterprises have no motivation to pursue. 2. The target price for the exams will be an impediment as many folks who can't get reimbursed for taking them will not bother. 3. It needs to be more language agnostic. Folks who code in Smalltalk, Ruby or scripting languages should not be treated as second class citizens 4. I would not measure "experience" but desire to pursue knowledge. Experience over time can get static. How many of us know a COBOL programmer who has had one years of experience twenty times. -----Original Message----- From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org]On Behalf Of Gary McGraw Sent: Friday, May 11, 2007 11:18 AM To: SC-L at securecoding.org Subject: [SC-L] Darkreading: Secure Coding Certification Hi all, As readers of the list know, SANS recently announced a certification scheme for secure programming. Many vendors and consultants jumped on the bandwagon. I'm not so sure the bandwagon is going anywhere. I explain why in my latest darkreading column: http://www.darkreading.com/document.asp?doc_id=123606 What do you think? Can we test someone's software security knowledge with a multiple choice test? Anybody seen the body of knowledge behind the test? gem company www.cigital.com podcast www.cigital.com/silverbullet blog www.cigital.com/justiceleague book www.swsec.com _______________________________________________ Secure Coding mailing list (SC-L) SC-L at securecoding.org List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l List charter available at - http://www.securecoding.org/list/charter.php SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) as a free, non-commercial service to the software security community. _______________________________________________ ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* From Greg.Beeley at LightSys.org Mon May 14 11:35:19 2007 From: Greg.Beeley at LightSys.org (Greg Beeley) Date: Mon, 14 May 2007 11:35:19 -0400 Subject: [SC-L] Darkreading: Secure Coding Certification In-Reply-To: <773F863A6009244B87E6E866AFC7DB4603999A53@AD1HFDEXC309.ad1.prod> References: <773F863A6009244B87E6E866AFC7DB4603999A53@AD1HFDEXC309.ad1.prod> Message-ID: <464881B7.5060607@LightSys.org> > 1. ONLY consultants and vendors have jumped on the bandwagon. Other IT > professionals such as those who work in large enterprises have no > motivation to pursue. > > 2. The target price for the exams will be an impediment as many folks who > can't get reimbursed for taking them will not bother. Agreed. There might be some value to a software development outsourcing company, but that will limit coverage. I definitely know that the pricing issue would prevent me from taking the exam, but I'm in nonprofit/charity work; I am not representative of most of the industry.... > 3. It needs to be more language agnostic. Folks who code in Smalltalk, > Ruby or scripting languages should not be treated as second class citizens Agreed in concept to the "no second-class citizens" idea. But I think the test needs to have a language-specific element to it. Every language and environment has unique pitfalls and security considerations. A developer who knows to avoid memory management, buffer, and integer issues in C may have no clue about nul-poisoning in a web scripting language's counted (as opposed to zero-terminated) strings. > 4. I would not measure "experience" but desire to pursue knowledge. > Experience over time can get static. How many of us know a COBOL > programmer who has had one years of experience twenty times. To me, the "experience" qualification isn't so much "how many years of coding", but how much has the person actually practiced "secure coding"? An experienced secure coder is much more able to recognize, at a glance, issues in the code and in the design, as compared to someone who has been recently trained at a secure coding "boot camp". But I do agree with you that experience in terms of time is a somewhat rough metric. Greg. From coley at linus.mitre.org Mon May 14 13:14:56 2007 From: coley at linus.mitre.org (Steven M. Christey) Date: Mon, 14 May 2007 13:14:56 -0400 (EDT) Subject: [SC-L] Darkreading: Secure Coding Certification In-Reply-To: <41945506397C0C4886A8C5BFF089B5CA9BDC84EE@va-mailhub.cigital.com> References: <41945506397C0C4886A8C5BFF089B5CA9BDC84EE@va-mailhub.cigital.com> Message-ID: On Fri, 11 May 2007, Gary McGraw wrote: > What do you think? Can we test someone's software security knowledge > with a multiple choice test? Anybody seen the body of knowledge behind > the test? I've participated heavily in the development of the test by contributing questions, giving guidance on subject areas, and identifying some of the language-independent, general knowledge categories. While multiple choice isn't perfect, SANS is consulting with a professional organization that has experience in making multiple choice certification-related tests for a variety of industries. They have given us extensive guidance on how to write solid questions. There are multiple checks and balances along the way to improve the quality of the questions. The "blueprints" as provided on the site give guidance to what kinds of questions are asked in the first place. Essay answers or program analysis projects might be able to give a more well-rounded understanding of what a developer does, but that would be subject to too much variation by the people evaluating the test results, not to mention being quite untenable on the scale that this effort is likely to reach. People will try to force this initial exam into being something much more comprehensive and authoeitative than it's intended to be, and there might be some bumps along the way, but - how can the industry afford NOT to try to test secure development skills? This is the first step of many. - Steve From coley at linus.mitre.org Mon May 14 13:17:38 2007 From: coley at linus.mitre.org (Steven M. Christey) Date: Mon, 14 May 2007 13:17:38 -0400 (EDT) Subject: [SC-L] Darkreading: Secure Coding Certification In-Reply-To: References: <41945506397C0C4886A8C5BFF089B5CA9BDC84EE@va-mailhub.cigital.com> Message-ID: On Sat, 12 May 2007, ljknews wrote: > but based on biases I see on this list, I tend to believe that those > who make such a certification scheme would bias it toward: > > Programming done in C and derivative languages (C++, Java, etc.) > > Programming relying on TCP/IP > > neither of which is relevant to my endeavors. The test is intended to cover the language areas and programming idioms that are most likely to be taught at the university level and used by programmers with only a couple years' experience. - Steve From coley at linus.mitre.org Mon May 14 13:24:15 2007 From: coley at linus.mitre.org (Steven M. Christey) Date: Mon, 14 May 2007 13:24:15 -0400 (EDT) Subject: [SC-L] Darkreading: Secure Coding Certification In-Reply-To: <773F863A6009244B87E6E866AFC7DB4603999A53@AD1HFDEXC309.ad1.prod> References: <773F863A6009244B87E6E866AFC7DB4603999A53@AD1HFDEXC309.ad1.prod> Message-ID: On Mon, 14 May 2007, McGovern, James F (HTSC, IT) wrote: > 1. ONLY consultants and vendors have jumped on the bandwagon. Other IT > professionals such as those who work in large enterprises have no > motivation to pursue. "Only" vendors have jumped on the bandwagon? The software developers are the ones we WANT jumping on the bandwagon. But it's not just those two. The initial announcement of these exams featured representatives from several large US government organizations who said "they need this." Other major US organizations need this and want this, but they aren't saying so publicly. SANS did a survey of over 300 organizations that included a lot of software consumers. > 3. It needs to be more language agnostic. Folks who code in Smalltalk, > Ruby or scripting languages should not be treated as second class > citizens The current tests are designed to handle specific skills in specific, prominent languages. Other tests might come out as a result of demand. > 4. I would not measure "experience" but desire to pursue knowledge. This would be great, but I'm not sure how you could actually test it. - Steve From ljknews at mac.com Mon May 14 13:49:11 2007 From: ljknews at mac.com (ljknews) Date: Mon, 14 May 2007 13:49:11 -0400 Subject: [SC-L] Darkreading: Secure Coding Certification In-Reply-To: <464881B7.5060607@LightSys.org> References: <773F863A6009244B87E6E866AFC7DB4603999A53@AD1HFDEXC309.ad1.prod> <464881B7.5060607@LightSys.org> Message-ID: At 11:35 AM -0400 5/14/07, Greg Beeley wrote: > Agreed in concept to the "no second-class citizens" idea. But I think > the test needs to have a language-specific element to it. Every language > and environment has unique pitfalls and security considerations. A > developer who knows to avoid memory management, buffer, and integer issues > in C may have no clue about nul-poisoning in a web scripting language's > counted (as opposed to zero-terminated) strings. And they may have no need for that. -- Larry Kilgallen From ljknews at mac.com Mon May 14 13:51:48 2007 From: ljknews at mac.com (ljknews) Date: Mon, 14 May 2007 13:51:48 -0400 Subject: [SC-L] Darkreading: Secure Coding Certification In-Reply-To: References: <773F863A6009244B87E6E866AFC7DB4603999A53@AD1HFDEXC309.ad1.prod> Message-ID: At 1:24 PM -0400 5/14/07, Steven M. Christey wrote: > The current tests are designed to handle specific skills in specific, > prominent languages. Other tests might come out as a result of demand. So what are those languages ? Presumably not HTML. At 8:04 AM -0400 5/12/07, ljknews wrote: > At 11:17 AM -0400 5/11/07, Gary McGraw wrote: > >> As readers of the list know, SANS recently announced a certification >> scheme for secure programming. Many vendors and consultants jumped >> on the bandwagon. I'm not so sure the bandwagon is going anywhere. >> I explain why in my latest darkreading column: >> >> http://www.darkreading.com/document.asp?doc_id=123606 > > Well that page shows up as blank in my browser and shows 637 HTML errors > on http://validator.w3.org, -- Larry Kilgallen From joe at joeteff.com Mon May 14 22:46:09 2007 From: joe at joeteff.com (Joe Teff) Date: Mon, 14 May 2007 21:46:09 -0500 Subject: [SC-L] Darkreading: Secure Coding Certification In-Reply-To: <87ps552jvg.fsf@mid.deneb.enyo.de> References: <41945506397C0C4886A8C5BFF089B5CA9BDC84EE@va-mailhub.cigital.com> <25b6e5cf0705120311s571c6b11p2ddb9ca0d0c76fb8@mail.gmail.com> <87ps552jvg.fsf@mid.deneb.enyo.de> Message-ID: Best practices vs mitigating risk. Enumerating best practices is much easier and will most likely be the test's theme. White list validation is the answer to everything except the difficult choices developers have to make and often get wrong. Too many times, the white list has to include those pesky little characters that cause all the problems. White listing a phone number, amount, or zip code is easy. White listing people's names, addresses, or comments isn't as easy especially when business requirements or contractual/legal obligations rear their ugly head. How mamy times have you seen prepared statements, stored procedures, or magic quotes be the answer to SQL Injection, yet most want to consider those very same data stores as trusted. How many applications do you know where the only entry/exit point (past,present,future) of the data is that single application? How do you test the ability for developers to make the best decisions in imperfect situations? -----Original Message----- From: Florian Weimer To: "Johan Peeters" Cc: "SC-L at securecoding.org" Date: Sun, 13 May 2007 10:44:19 +0200 Subject: Re: [SC-L] Darkreading: Secure Coding Certification > * Johan Peeters: > > > I agree that multiple choice alone is inadequate to test the true > > breadth and depth of someone's security knowledge. Having contributed > > a few questions to the SANS pool, I take issue with Gary's article > > when it implies that you can pass the GSSP test while clueless. > > But I guess you can fail it because your views are too refined (and > you take too long to make your choices). After all, there are > different schools of thought when it comes to secure coding and its > methodologies. For instance, summing up buffer overflows or directory > traversals under "input validation" is somewhat debatable. > _______________________________________________ > Secure Coding mailing list (SC-L) SC-L at securecoding.org > List information, subscriptions, etc - > http://krvw.com/mailman/listinfo/sc-l > List charter available at - > http://www.securecoding.org/list/charter.php > SC-L is hosted and moderated by KRvW Associates, LLC > (http://www.KRvW.com) > as a free, non-commercial service to the software security community. > _______________________________________________ From gem at cigital.com Tue May 15 09:05:02 2007 From: gem at cigital.com (Gary McGraw) Date: Tue, 15 May 2007 09:05:02 -0400 Subject: [SC-L] Darkreading: Secure Coding Certification In-Reply-To: <25b6e5cf0705120311s571c6b11p2ddb9ca0d0c76fb8@mail.gmail.com> Message-ID: <41945506397C0C4886A8C5BFF089B5CA9BDC8747@va-mailhub.cigital.com> Hi Yo (and everyone else), I'm afraid that the current test focuses all of its attention on BUGS (in C/C++ and Java). While we certainly need to erradicate simple security bugs, there is much more to software security than the bug parade. Plus when you look into the material, the multiple choice format makes determining the correct answer impossible at times. I would rather move away from learning about bugs to learning about defensive programming to avoid bugs in the first place. The SANS material focuses entirely on the negative as far as I can tell. Here's a bug, there's a bug, everywhere a bug bug. Better than nothing? Maybe. SANS is very good an soliciting everyone's opinion, piling it all up in a nice package, and then charging users for the result. SANS is a for profit entity, not a university or a non-profit. Please don't forget that. As much as I would love to see a way to determine whether a random coder has security clue, I'm afraid all we will get out of this effort is perhaps a bit more awareness. gem company www.cigital.com podcast www.cigital.com/silverbullet blog www.cigital.com/justiceleague book www.swsec.com -----Original Message----- From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org] On Behalf Of Johan Peeters Sent: Saturday, May 12, 2007 6:11 AM To: SC-L at securecoding.org Subject: Re: [SC-L] Darkreading: Secure Coding Certification I agree that multiple choice alone is inadequate to test the true breadth and depth of someone's security knowledge. Having contributed a few questions to the SANS pool, I take issue with Gary's article when it implies that you can pass the GSSP test while clueless. There is indeed a body of knowledge that is being tested. SANS has been soliciting comments on the document. kr, Yo On 5/11/07, Gary McGraw wrote: > Hi all, > > As readers of the list know, SANS recently announced a certification scheme for secure programming. Many vendors and consultants jumped on the bandwagon. I'm not so sure the bandwagon is going anywhere. I explain why in my latest darkreading column: > > http://www.darkreading.com/document.asp?doc_id=123606 > > What do you think? Can we test someone's software security knowledge with a multiple choice test? Anybody seen the body of knowledge behind the test? > > gem > > company www.cigital.com > podcast www.cigital.com/silverbullet > blog www.cigital.com/justiceleague > book www.swsec.com > > _______________________________________________ > Secure Coding mailing list (SC-L) SC-L at securecoding.org > List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l > List charter available at - http://www.securecoding.org/list/charter.php > SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) > as a free, non-commercial service to the software security community. > _______________________________________________ > -- Johan Peeters http://johanpeeters.com _______________________________________________ Secure Coding mailing list (SC-L) SC-L at securecoding.org List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l List charter available at - http://www.securecoding.org/list/charter.php SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) as a free, non-commercial service to the software security community. _______________________________________________ From gem at cigital.com Tue May 15 09:52:00 2007 From: gem at cigital.com (Gary McGraw) Date: Tue, 15 May 2007 09:52:00 -0400 Subject: [SC-L] FW: Darkreading: Secure Coding Certification Message-ID: <41945506397C0C4886A8C5BFF089B5CA9BDC8772@va-mailhub.cigital.com> I meant to send this to the list. -----Original Message----- From: Gary McGraw Sent: Tuesday, May 15, 2007 9:09 AM To: 'ljknews' Subject: RE: [SC-L] Darkreading: Secure Coding Certification Oops. Sorry about that. I just checked the URL for the darkreading article again. Looks the same to me: http://www.darkreading.com/document.asp?doc_id=123606 Please note that a nice little thread has developed over there as well (the hazards of a net existence). http://www.darkreading.com/boards/messages.asp?thread_id=155877&msg_id=144925&t=true There is a huge body of knowledge and of best practices that has developed over the last decade of work in software security. I tried to describe it all in detail in my boko "Software Security," so get a copy of that if you're interested. We have moved well past a collection of data about common bugs. gem company www.cigital.com podcast www.cigital.com/silverbullet blog www.cigital.com/justiceleague book www.swsec.com -----Original Message----- From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org] On Behalf Of ljknews Sent: Saturday, May 12, 2007 8:04 AM To: SC-L at securecoding.org Subject: Re: [SC-L] Darkreading: Secure Coding Certification At 11:17 AM -0400 5/11/07, Gary McGraw wrote: > As readers of the list know, SANS recently announced a certification > scheme for secure programming. Many vendors and consultants jumped > on the bandwagon. I'm not so sure the bandwagon is going anywhere. > I explain why in my latest darkreading column: > > http://www.darkreading.com/document.asp?doc_id=123606 Well that page shows up as blank in my browser and shows 637 HTML errors on http://validator.w3.org, > What do you think? Can we test someone's software security knowledge with > a multiple choice test? Anybody seen the body of knowledge behind the test? but based on biases I see on this list, I tend to believe that those who make such a certification scheme would bias it toward: Programming done in C and derivative languages (C++, Java, etc.) Programming relying on TCP/IP neither of which is relevant to my endeavors. -- Larry Kilgallen _______________________________________________ Secure Coding mailing list (SC-L) SC-L at securecoding.org List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l List charter available at - http://www.securecoding.org/list/charter.php SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) as a free, non-commercial service to the software security community. _______________________________________________ From Greg.Beeley at LightSys.org Tue May 15 11:43:23 2007 From: Greg.Beeley at LightSys.org (Greg Beeley) Date: Tue, 15 May 2007 11:43:23 -0400 Subject: [SC-L] Darkreading: Secure Coding Certification In-Reply-To: References: <41945506397C0C4886A8C5BFF089B5CA9BDC84EE@va-mailhub.cigital.com> <25b6e5cf0705120311s571c6b11p2ddb9ca0d0c76fb8@mail.gmail.com> <87ps552jvg.fsf@mid.deneb.enyo.de> Message-ID: <4649D51B.8000405@LightSys.org> > [...] White list validation is the answer to everything except the > difficult choices developers have to make and often get wrong. > [...] > (past,present,future) of the data is that single application? How do you > test the ability for developers to make the best decisions in imperfect > situations? I generally teach the developer to both whitelist where the data enters the application from the user, AND to escape/encode when building a string that combines both data (of any origin) and control elements (such as a SQL statement, HTML document, file and pathname, zero-terminated string, etc.). The first is always done based on the nature of the data (requirements). The second is done based on the control boundaries and characters with special meanings (quotes, html special characters, nul terminators, directory slashes, "..", etc.) While both are important ("defense in depth"), in my opinion, the latter is as important, if not more important, than the first. This is for several reasons: 1) as you said, often a character used for a control boundary or which has special meaning is needed in the input data in order for the application to work; 2) when I read code, I want to be able to tell at a glance that it has a good chance of being secure, so countermeasures should preferably be done close to where they matter; 3) internal changes to the path of data through a program are not at all uncommon. Basing your input-validation (at the point where the data enters the application) on the issues that might be present in the totality of the data's path through the application is something that is very unmaintainable. And what happens when someone decides after- the-fact "we need to allow an apostrophe in that field", and the developers have to remember that the field in question eventually ends up going into a SQL statement between a pair of quotes?; and 4) Trusted data can become untrusted in a hurry! For instance, I've seen a fair bit of PHP code, and the quality varies quite a bit, as we all know. If there isn't very consistent use of escaping / encoding / etc. when building HTML, SQL, cookies, filenames, etc., I worry. And that is regardless of how much the application tends to "validate the input data". I am concerned when an application only uses escaping / encoding / etc. when the developer thinks it must be necessary, based on the apparent origin of the data. Sure, there is a performance tradeoff for more generous use of escaping/encoding/etc., but in my opinion it is very much worth it. (there is a price to be paid for performance, and if performance is a top requirement, the project managers need to factor in the security implications of tradeoffs like this one). When I teach this stuff, I tell folks, "don't just code so that it is secure, but instead code so that others can see relatively easily that it is secure". Greg. From pmeunier at cerias.net Tue May 15 13:02:52 2007 From: pmeunier at cerias.net (pmeunier) Date: Tue, 15 May 2007 13:02:52 -0400 Subject: [SC-L] Darkreading: Secure Coding Certification In-Reply-To: <41945506397C0C4886A8C5BFF089B5CA9BDC8747@va-mailhub.cigital.com> References: <41945506397C0C4886A8C5BFF089B5CA9BDC8747@va-mailhub.cigital.com> Message-ID: <4649E7BC.4040706@cerias.net> I think this discussion ignores the common human failing of ignoring recommendations and advice on things to do for safety and security, unless one has already suffered the consequences, or if the consequences are obviously incoming. This is why there had to be a law on the wearing of seatbelts (the needed car analogy ;), and in part why exploits have to be created to "prove" to reluctant vendors that something really is an issue. People tend to "think positively" (try to ignore possible bad consequences) and not bother with things that "won't happen to them". This is why a white list approach to software development, presenting only what you should do, is insufficient by itself. People need to know why they should adopt recommended practices, and sometimes that isn't enough still. In the case of seatbelts, just telling people why wasn't enough; it had to be legislated. People learn from mistakes, and from bugs. In addition, the capability to find bugs and know how serious they are and why is valuable, for example in code reviews and in deciding what to do about the alerts that code scanning software generates. It's true that bug finding is only a small part of the secure programming landscape. However, it's a good place to start and I think it's a good thing to test. As I look at the exam blueprints for the GSSP, I see not only low-level bugs, but also design-level subject matter, such as privacy and encryption, identification, authentication, and session management. The Java/J2EE bluprints in particular contains higher-level issues. So, whereas there are no high-level design or architecture-related questions, I think that's just fine because that's not the aim of the GSSP. Of course, the actual questions may be bad -- I don't know. Having used multiple choice questions for years on secure programming, I think they are apropriate tools for some of the knowledge. The grades I give are based 50% on labs and 50% on exams, which are mostly multiple choice. There is also at least one "real code" question where students have to explain what is going on, and what should have been done instead. This combination seems to provide a good assessment of the learning outcomes. Unfortunately I haven't tracked how well the students did after they graduated -- that would be interesting. In conclusion, I think dismissing this effort is too harsh, and I disagree with much of the criticism voiced so far. I haven't yet, but I intend to write a few questions for the exam, because I think it's a worthwhile thing to do. I won't begrudge SANS for being able to make a profit with it. I think they deserve it for demonstrating leadership and having the initiative of creating the certification (and no, I don't have links to them or get paid by them -- although there's a small reward for exam questions). Regards, Pascal Meunier Gary McGraw wrote: > Hi Yo (and everyone else), > > I'm afraid that the current test focuses all of its attention on BUGS (in C/C++ and Java). While we certainly need to erradicate simple security bugs, there is much more to software security than the bug parade. Plus when you look into the material, the multiple choice format makes determining the correct answer impossible at times. > > I would rather move away from learning about bugs to learning about defensive programming to avoid bugs in the first place. The SANS material focuses entirely on the negative as far as I can tell. Here's a bug, there's a bug, everywhere a bug bug. Better than nothing? Maybe. > > SANS is very good an soliciting everyone's opinion, piling it all up in a nice package, and then charging users for the result. SANS is a for profit entity, not a university or a non-profit. Please don't forget that. > > As much as I would love to see a way to determine whether a random coder has security clue, I'm afraid all we will get out of this effort is perhaps a bit more awareness. > > gem > > company www.cigital.com > podcast www.cigital.com/silverbullet > blog www.cigital.com/justiceleague > book www.swsec.com > > > -----Original Message----- > From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org] On Behalf Of Johan Peeters > Sent: Saturday, May 12, 2007 6:11 AM > To: SC-L at securecoding.org > Subject: Re: [SC-L] Darkreading: Secure Coding Certification > > I agree that multiple choice alone is inadequate to test the true > breadth and depth of someone's security knowledge. Having contributed > a few questions to the SANS pool, I take issue with Gary's article > when it implies that you can pass the GSSP test while clueless. > > There is indeed a body of knowledge that is being tested. SANS has > been soliciting comments on the document. > > kr, > > Yo > > On 5/11/07, Gary McGraw wrote: >> Hi all, >> >> As readers of the list know, SANS recently announced a certification scheme for secure programming. Many vendors and consultants jumped on the bandwagon. I'm not so sure the bandwagon is going anywhere. I explain why in my latest darkreading column: >> >> http://www.darkreading.com/document.asp?doc_id=123606 >> >> What do you think? Can we test someone's software security knowledge with a multiple choice test? Anybody seen the body of knowledge behind the test? >> >> gem >> >> company www.cigital.com >> podcast www.cigital.com/silverbullet >> blog www.cigital.com/justiceleague >> book www.swsec.com >> >> _______________________________________________ >> Secure Coding mailing list (SC-L) SC-L at securecoding.org >> List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l >> List charter available at - http://www.securecoding.org/list/charter.php >> SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) >> as a free, non-commercial service to the software security community. >> _______________________________________________ >> > > > -- > Johan Peeters > http://johanpeeters.com > _______________________________________________ > Secure Coding mailing list (SC-L) SC-L at securecoding.org > List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l > List charter available at - http://www.securecoding.org/list/charter.php > SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) > as a free, non-commercial service to the software security community. > _______________________________________________ > > _______________________________________________ > Secure Coding mailing list (SC-L) SC-L at securecoding.org > List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l > List charter available at - http://www.securecoding.org/list/charter.php > SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) > as a free, non-commercial service to the software security community. > _______________________________________________ > > From arian.evans at anachronic.com Tue May 15 17:04:15 2007 From: arian.evans at anachronic.com (Arian J. Evans) Date: Tue, 15 May 2007 14:04:15 -0700 Subject: [SC-L] Darkreading: Secure Coding Certification (starting point) Message-ID: 1. This is a great first step. While it sounds so 2003: I still deal with developers all the time that simply have no idea what to do or where to begin for *very basic* issues. Input validation. Output encoding. Or try to solve by doing crazy wild wrong things ("dangerous-string" blacklists, case-changes for case-sensitive language injection (xhtml/js) etc). 2. Most of the world is still not getting the "bug parade". >50%. You (Gary) may see a biased sample of more edjumacated folks by reading SC-L and working with a client sample that may be in the upper bounds of secure software knowledge. 3. Focusing on weak implementation practices ("bugs") is just fine. That's what most developers do. Implement. 4. Design and Pattern weaknesses are definitely essential. But that's not what most developers do. 5. SANS could and should have some separate, additional certifications: + "Non-dangerous requirements-gathering for Product Evangelists" + "Strong Software Design Principles for Business Owners" + "Strong Software Design Patterns for Software Architects/Lead Developers" + "How to describe mis-use case and dangerous omissions for people writing functional specifications" Those are all separate pieces of knowledge that, depending on the size of the organization, may all be separate people. Certainly most of the developers I've worked with over the years would find the above in the "WTF does this have to do with me?" category, and I can't say I blame them. And of course SANS makes money. Everything Allen Paller does is really good about getting lots of free community effort to generate data sets and/or tools they can charge other folks a lot of money for (CIS, SANS, SSI, Dshield, etc.). Sounds pretty smart to me. And I'd sure rather have someone following CIS guidelines or using SANS course-ware content than *nothing at all*. Cheers -- Arian Evans solipsistic software security sophist "I love deadlines. I like the whooshing sound they make as they fly by." - Douglas Adams On 5/15/07, Gary McGraw wrote: > > Hi Yo (and everyone else), > > I'm afraid that the current test focuses all of its attention on BUGS (in > C/C++ and Java). While we certainly need to erradicate simple security > bugs, there is much more to software security than the bug parade. Plus > when you look into the material, the multiple choice format makes > determining the correct answer impossible at times. > > I would rather move away from learning about bugs to learning about > defensive programming to avoid bugs in the first place. The SANS material > focuses entirely on the negative as far as I can tell. Here's a bug, > there's a bug, everywhere a bug bug. Better than nothing? Maybe. > > SANS is very good an soliciting everyone's opinion, piling it all up in a > nice package, and then charging users for the result. SANS is a for profit > entity, not a university or a non-profit. Please don't forget that. > > As much as I would love to see a way to determine whether a random coder > has security clue, I'm afraid all we will get out of this effort is perhaps > a bit more awareness. > > gem > > company www.cigital.com > podcast www.cigital.com/silverbullet > blog www.cigital.com/justiceleague > book www.swsec.com > > > -----Original Message----- > From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org] > On Behalf Of Johan Peeters > Sent: Saturday, May 12, 2007 6:11 AM > To: SC-L at securecoding.org > Subject: Re: [SC-L] Darkreading: Secure Coding Certification > > I agree that multiple choice alone is inadequate to test the true > breadth and depth of someone's security knowledge. Having contributed > a few questions to the SANS pool, I take issue with Gary's article > when it implies that you can pass the GSSP test while clueless. > > There is indeed a body of knowledge that is being tested. SANS has > been soliciting comments on the document. > > kr, > > Yo > > On 5/11/07, Gary McGraw wrote: > > Hi all, > > > > As readers of the list know, SANS recently announced a certification > scheme for secure programming. Many vendors and consultants jumped on the > bandwagon. I'm not so sure the bandwagon is going anywhere. I explain why > in my latest darkreading column: > > > > http://www.darkreading.com/document.asp?doc_id=123606 > > > > What do you think? Can we test someone's software security knowledge > with a multiple choice test? Anybody seen the body of knowledge behind the > test? > > > > gem > > > > company www.cigital.com > > podcast www.cigital.com/silverbullet > > blog www.cigital.com/justiceleague > > book www.swsec.com > > > > _______________________________________________ > > Secure Coding mailing list (SC-L) SC-L at securecoding.org > > List information, subscriptions, etc - > http://krvw.com/mailman/listinfo/sc-l > > List charter available at - http://www.securecoding.org/list/charter.php > > SC-L is hosted and moderated by KRvW Associates, LLC ( > http://www.KRvW.com) > > as a free, non-commercial service to the software security community. > > _______________________________________________ > > > > > -- > Johan Peeters > http://johanpeeters.com > _______________________________________________ > Secure Coding mailing list (SC-L) SC-L at securecoding.org > List information, subscriptions, etc - > http://krvw.com/mailman/listinfo/sc-l > List charter available at - http://www.securecoding.org/list/charter.php > SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) > as a free, non-commercial service to the software security community. > _______________________________________________ > > _______________________________________________ > Secure Coding mailing list (SC-L) SC-L at securecoding.org > List information, subscriptions, etc - > http://krvw.com/mailman/listinfo/sc-l > List charter available at - http://www.securecoding.org/list/charter.php > SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) > as a free, non-commercial service to the software security community. > _______________________________________________ > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070515/6c0f3c4c/attachment.html From Jason.Bennett at thales-esecurity.com Wed May 16 04:02:32 2007 From: Jason.Bennett at thales-esecurity.com (Bennett, Jason) Date: Wed, 16 May 2007 09:02:32 +0100 Subject: [SC-L] Darkreading: Secure Coding Certification Message-ID: Lots of interesting points have been made about the SANS test in particular and multiple choice certifications in general. I think that this, and no I haven't seen the questions so I could be wide of the mark, are a pragmatic step in the right direction. I agree that while this sort of exam can be passed by someone who is almost clueless, or I think more accurately can remember facts but wouldn't be able to apply them to real world situations, experience is not the be all and end all - if this was the case we wouldn't still be seeing the same old mistakes being made time and time again! So until we have a better way of measuring knowledge, and I'm not convinced that will ever happen, this seems at least to be a good idea but certainly not ideal. Hopeful it will raise awareness of the subject and maybe even get people into the idea constant improvement throughout their career. In conclusion I think the original article made some good points but it is a bit harsh on what can realistically be achieved at this point it time. The certification should be seen a part of and not a substitute for what can only be learnt through experience, guidance and the one that always seems to be forgotten, keeping up with what is happening in the area of developing secure code. Consider the environment before printing this mail. "Thales e-Security Limited is incorporated in England and Wales with company registration number 2518805. Its registered office is located at 2 Dashwood Lang Road, The Bourne Business Park, Addlestone, Nr. Weybridge, Surrey KT15 2NX. The information contained in this e-mail is confidential. It may also be privileged. It is only intended for the stated addressee(s) and access to it by any other person is unauthorised. If you are not an addressee or the intended addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this e-mail. Such unauthorised use may be unlawful. If you have received this e-mail in error please delete it (and all copies) from your system, please also inform us immediately on +44 (0)1844 201800 or email postmaster at thales-esecurity.com. Commercial matters detailed or referred to in this e-mail are subject to a written contract signed for and on behalf of Thales e-Security Limited". From James.McGovern at thehartford.com Wed May 16 14:26:02 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Wed, 16 May 2007 14:26:02 -0400 Subject: [SC-L] Darkreading: Secure Coding Certification In-Reply-To: <4649D51B.8000405@LightSys.org> Message-ID: <773F863A6009244B87E6E866AFC7DB4603999AA2@AD1HFDEXC309.ad1.prod> Maybe the test shouldn't focus on code at all? If we can agree that many flaws are found at design time even before code is written (Yes, most folks still use waterfall approaches but that is a different debate) then why can't questions occur at this level? If we follow the trend of IT at large, we would understand that lots of "coding" is going outside of the United States but architecture and design for the most part is still onshore, it has the potential for a bigger impact, access to more capital and therefore should come first. ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* From coley at linus.mitre.org Wed May 16 15:18:04 2007 From: coley at linus.mitre.org (Steven M. Christey) Date: Wed, 16 May 2007 15:18:04 -0400 (EDT) Subject: [SC-L] Darkreading: Secure Coding Certification In-Reply-To: <773F863A6009244B87E6E866AFC7DB4603999AA2@AD1HFDEXC309.ad1.prod> References: <773F863A6009244B87E6E866AFC7DB4603999AA2@AD1HFDEXC309.ad1.prod> Message-ID: > Maybe the test shouldn't focus on code at all? If we can agree that many > flaws are found at design time even before code is written (Yes, most > folks still use waterfall approaches but that is a different debate) > then why can't questions occur at this level? It was decided early on that this test would have a heavy emphasis on coding, since programmers who've just entered the workplace (the target examinees) are not likely to be heavily involved in design. While this decision was not unanimous, many of the core contributors agreed with this philosophy. Obviously this leaves a few gaps with respect to secure software development, which I'm sure will be addressed by someone somewhere, sometime. - Steve From arian.evans at anachronic.com Wed May 16 16:04:52 2007 From: arian.evans at anachronic.com (Arian J. Evans) Date: Wed, 16 May 2007 13:04:52 -0700 Subject: [SC-L] Darkreading: Secure Coding Certification In-Reply-To: <773F863A6009244B87E6E866AFC7DB4603999AA2@AD1HFDEXC309.ad1.prod> References: <4649D51B.8000405@LightSys.org> <773F863A6009244B87E6E866AFC7DB4603999AA2@AD1HFDEXC309.ad1.prod> Message-ID: I don't understand this thread. These are different sets of issues. Often, they are different sets of people. Organizational size is a factor. A three-man startup is going to have a lot of hat overlap, where a monolithic enterprise is going to have broad distribution of hats. The spirit of this thread seems to have a well-meaning but misguided swaping of "ANDs" and "ORs". The arm-chair quarterbacking of a very useful, overdue effort, is a bit silly. We need these efforts. As I mentioned previously, we need multiple tests: + "How to write and implement code that isn't weak to bit-fiddling" (e.g. don't concatenate strings, strongly type data, encode output safe for user agent, don't use LIKE queries with weak authorization models, blah blah; this is how you make XSS and SQLi and BoF/HoFs go away.) --> Check. That's the first thing thing SANS (err, SSI) is addressing. We still need: + "Non-dangerous requirements-gathering for Product Evangelists/Owners" (no, the customer does not really want that) + "Strong Software Design Principles for Business Owners" (weak secrets often reduce short-term costs, customer service, etc., but...) + "Strong Software Design Patterns for Software Architects/Lead Developers" (yeah, your authorization model is Borked man. What were you drinking? In fact, why do you even have "roles" in your application? Might as well just use "Trust".) + "How to describe mis-use case and dangerous omissions for people writing functional specifications" (So Rob should run Rob's reports. Should Rob be able to run Sally's report(s)?? yes|no ) These are all different actions... often taken by different actors. At minimum it is while a given actor is performing different tasks. I'd love to see SSI collect a body of knowledge and make tests for all of these. I see no reason to debate "ORs" in here. chow Arian Evans On 5/16/07, McGovern, James F (HTSC, IT) wrote: > > Maybe the test shouldn't focus on code at all? If we can agree that many > flaws are found at design time even before code is written (Yes, most folks > still use waterfall approaches but that is a different debate) then why > can't questions occur at this level? > > If we follow the trend of IT at large, we would understand that lots of > "coding" is going outside of the United States but architecture and design > for the most part is still onshore, it has the potential for a bigger > impact, access to more capital and therefore should come first. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070516/b8de9d15/attachment.html From gem at cigital.com Wed May 16 16:25:56 2007 From: gem at cigital.com (Gary McGraw) Date: Wed, 16 May 2007 16:25:56 -0400 Subject: [SC-L] Darkreading: Secure Coding Certification Message-ID: <41945506397C0C4886A8C5BFF089B5CA9BDD1E2B@va-mailhub.cigital.com> Hi all, I like this idea. There is plenty of non-code material to master in our field. I think a bunch of it is covered in detail in "Software Security"...but I am biased. I would like to see coverage of common attack patterns, coverage of risk analysis basics, and coverage of both positive and negative design patterns. gem P.S. I plan to respond soon to previous posts. Too much time on airplanes lately. company www.cigital.com podcast www.cigital.com/silverbullet blog www.cigital.com/justiceleague book www.swsec.com Sent from my treo. -----Original Message----- From: McGovern, James F (HTSC, IT) [mailto:James.McGovern at thehartford.com] Sent: Wednesday, May 16, 2007 03:08 PM Eastern Standard Time To: SC-L at securecoding.org Subject: [SC-L] Darkreading: Secure Coding Certification Maybe the test shouldn't focus on code at all? If we can agree that many flaws are found at design time even before code is written (Yes, most folks still use waterfall approaches but that is a different debate) then why can't questions occur at this level? If we follow the trend of IT at large, we would understand that lots of "coding" is going outside of the United States but architecture and design for the most part is still onshore, it has the potential for a bigger impact, access to more capital and therefore should come first. ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* _______________________________________________ Secure Coding mailing list (SC-L) SC-L at securecoding.org List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l List charter available at - http://www.securecoding.org/list/charter.php SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) as a free, non-commercial service to the software security community. _______________________________________________ From James.McGovern at thehartford.com Wed May 16 16:30:29 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Wed, 16 May 2007 16:30:29 -0400 Subject: [SC-L] Darkreading: Secure Coding Certification In-Reply-To: <41945506397C0C4886A8C5BFF089B5CA9BDD1E2B@va-mailhub.cigital.com> Message-ID: <773F863A6009244B87E6E866AFC7DB4603999AA6@AD1HFDEXC309.ad1.prod> As someone who has read your books, I am in full agreement that we should use much of the material contained to create an exam around design. Instead of making it a "later" thing, what would it take for folks on this list to have some sense of urgency and blast SANS to do it sooner? If any members here will also be in attendance at the TechForum in NYC (http://www.techforum.com/sf2007_1/index.html) would love to hook up for lunch. -----Original Message----- From: Gary McGraw [mailto:gem at cigital.com] Sent: Wednesday, May 16, 2007 4:26 PM To: McGovern, James F (HTSC, IT); 'SC-L at securecoding.org' Subject: RE: [SC-L] Darkreading: Secure Coding Certification Hi all, I like this idea. There is plenty of non-code material to master in our field. I think a bunch of it is covered in detail in "Software Security"...but I am biased. I would like to see coverage of common attack patterns, coverage of risk analysis basics, and coverage of both positive and negative design patterns. gem P.S. I plan to respond soon to previous posts. Too much time on airplanes lately. company www.cigital.com podcast www.cigital.com/silverbullet blog www.cigital.com/justiceleague book www.swsec.com Sent from my treo. -----Original Message----- From: McGovern, James F (HTSC, IT) [mailto:James.McGovern at thehartford.com] Sent: Wednesday, May 16, 2007 03:08 PM Eastern Standard Time To: SC-L at securecoding.org Subject: [SC-L] Darkreading: Secure Coding Certification Maybe the test shouldn't focus on code at all? If we can agree that many flaws are found at design time even before code is written (Yes, most folks still use waterfall approaches but that is a different debate) then why can't questions occur at this level? If we follow the trend of IT at large, we would understand that lots of "coding" is going outside of the United States but architecture and design for the most part is still onshore, it has the potential for a bigger impact, access to more capital and therefore should come first. ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* _______________________________________________ Secure Coding mailing list (SC-L) SC-L at securecoding.org List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l List charter available at - http://www.securecoding.org/list/charter.php SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) as a free, non-commercial service to the software security community. _______________________________________________ From James.McGovern at thehartford.com Mon May 21 15:52:45 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Mon, 21 May 2007 15:52:45 -0400 Subject: [SC-L] Darkreading: Secure Coding Certification In-Reply-To: Message-ID: <773F863A6009244B87E6E866AFC7DB4603999ADA@AD1HFDEXC309.ad1.prod> I agree. The two that I feel should be next in terms of developing certifications around are: - How to describe misuse case and dangerous ommissions for people writing functional specifications: This is highly applicable in outsourcing environments including the Federal Government - Strong Software Design Patterns for Software Architects/Lead Developers: This is where if security were properly addressed, would be pretty cheap to handle and have a better ROI than dealing with it at coding time. http://www.theimf.com/events_detail.aspx?ID=164 -----Original Message----- From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org]On Behalf Of Arian J. Evans Sent: Wednesday, May 16, 2007 4:05 PM To: SC-L at securecoding.org Subject: Re: [SC-L] Darkreading: Secure Coding Certification I don't understand this thread. These are different sets of issues. Often, they are different sets of people. Organizational size is a factor. A three-man startup is going to have a lot of hat overlap, where a monolithic enterprise is going to have broad distribution of hats. The spirit of this thread seems to have a well-meaning but misguided swaping of "ANDs" and "ORs". The arm-chair quarterbacking of a very useful, overdue effort, is a bit silly. We need these efforts. As I mentioned previously, we need multiple tests: + "How to write and implement code that isn't weak to bit-fiddling" (e.g. don't concatenate strings, strongly type data, encode output safe for user agent, don't use LIKE queries with weak authorization models, blah blah; this is how you make XSS and SQLi and BoF/HoFs go away.) --> Check. That's the first thing thing SANS (err, SSI) is addressing. We still need: + "Non-dangerous requirements-gathering for Product Evangelists/Owners" (no, the customer does not really want that) + "Strong Software Design Principles for Business Owners" (weak secrets often reduce short-term costs, customer service, etc., but...) + "Strong Software Design Patterns for Software Architects/Lead Developers" (yeah, your authorization model is Borked man. What were you drinking? In fact, why do you even have "roles" in your application? Might as well just use "Trust".) + "How to describe mis-use case and dangerous omissions for people writing functional specifications" (So Rob should run Rob's reports. Should Rob be able to run Sally's report(s)?? yes|no ) These are all different actions... often taken by different actors. At minimum it is while a given actor is performing different tasks. I'd love to see SSI collect a body of knowledge and make tests for all of these. I see no reason to debate "ORs" in here. chow Arian Evans ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070521/7c13f129/attachment.html From James.McGovern at thehartford.com Tue May 22 09:47:34 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Tue, 22 May 2007 09:47:34 -0400 Subject: [SC-L] Tools: Evaluation Criteria In-Reply-To: <773F863A6009244B87E6E866AFC7DB4603999ADA@AD1HFDEXC309.ad1.prod> Message-ID: <773F863A6009244B87E6E866AFC7DB4603999AE3@AD1HFDEXC309.ad1.prod> We will shortly be starting an evaluation of tools to assist in the secure coding practices initiative and have been wildly successful in finding lots of consultants who can assist us in evaluating but absolutely zero in terms of finding RFI/RFPs of others who have travelled this path before us. Would especially love to understand stretch goals that we should be looking for beyond simple stuff like finding buffer overflows in C, OWASP checklists, etc. In my travels, it "feels" as if folks are simply choosing tools in this space because they are the market leader, incumbent vendor or simply asking an industry analyst but none seem to have any "deep" criteria. I guess at some level, choosing any tool will move the needle, but investments really should be longer term. ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070522/09ed2672/attachment.html From peter.amey at praxis-his.com Tue May 22 11:00:41 2007 From: peter.amey at praxis-his.com (Peter Amey) Date: Tue, 22 May 2007 16:00:41 +0100 Subject: [SC-L] Tools: Evaluation Criteria Message-ID: <4BF0455B353E524FBEA15C3A490F7DFEE5F12D@EVS01.praxis.local> ________________________________ From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org] On Behalf Of McGovern, James F (HTSC, IT) Sent: 22 May 2007 14:48 To: SC-L at securecoding.org Subject: [SC-L] Tools: Evaluation Criteria We will shortly be starting an evaluation of tools to assist in the secure coding practices initiative and have been wildly successful in finding lots of consultants who can assist us in evaluating but absolutely zero in terms of finding RFI/RFPs of others who have travelled this path before us. Would especially love to understand stretch goals that we should be looking for beyond simple stuff like finding buffer overflows in C, OWASP checklists, etc. [PNA] For some "stretch goals ", take a look at www.sparkada.com and some of the published papers there, especially one on a project called Tokeneer. (Caveat: I am commercially involved in the SPARK tools. In my travels, it "feels" as if folks are simply choosing tools in this space because they are the market leader, incumbent vendor or simply asking an industry analyst but none seem to have any "deep" criteria. I guess at some level, choosing any tool will move the needle, but investments really should be longer term. [PNA] Agreed Peter -------------------------------------------------------- Peter Amey BSc ACGI CEng CITP MRAes FBCS CTO (Software Engineering) direct: +44 (0) 1225 823761 mobile: +44 (0) 7774 148336 peter.amey at praxis-his.com Praxis High Integrity Systems Ltd 20 Manvers St, Bath, BA1 1PX, UK t: +44 (0)1225 466991 f: +44 (0)1225 469006 w: www.praxis-his.com -------------------------------------------------------- This email is confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, be advised that you have received this email in error and that any use, disclosure, copying or distribution or any action taken or omitted to be taken in reliance on it is strictly prohibited. If you have received this email in error please contact the sender. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Praxis. Although this email and any attachments are believed to be free of any virus or other defect, no responsibility is accepted by Praxis or any of its associated companies for any loss or damage arising in any way from the receipt or use thereof. The IT Department at Praxis can be contacted at it.support at praxis-his.com. Praxis High Integrity Systems Ltd: Company Number: 3302507, registered in England and Wales Registered Address: 20 Manvers Street, Bath. BA1 1PX VAT Registered in Great Britain: 682635707 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070522/429cf6c9/attachment.html From coley at linus.mitre.org Tue May 22 12:52:46 2007 From: coley at linus.mitre.org (Steven M. Christey) Date: Tue, 22 May 2007 12:52:46 -0400 (EDT) Subject: [SC-L] Tools: Evaluation Criteria In-Reply-To: <773F863A6009244B87E6E866AFC7DB4603999AE3@AD1HFDEXC309.ad1.prod> References: <773F863A6009244B87E6E866AFC7DB4603999AE3@AD1HFDEXC309.ad1.prod> Message-ID: On Tue, 22 May 2007, McGovern, James F (HTSC, IT) wrote: > We will shortly be starting an evaluation of tools to assist in the > secure coding practices initiative and have been wildly successful in > finding lots of consultants who can assist us in evaluating but > absolutely zero in terms of finding RFI/RFPs of others who have > travelled this path before us. Would especially love to understand > stretch goals that we should be looking for beyond simple stuff like > finding buffer overflows in C, OWASP checklists, etc. semi-spam: With over 600 nodes in draft 6, the Common Weakness Enumeration (CWE) at http://cwe.mitre.org is the most comprehensive list of vulnerability issues out there, and it's not just implementation bugs. That might help you find other areas you want to test. In addition, many code analysis tool vendors are participating in CWE. > In my travels, it "feels" as if folks are simply choosing tools in this > space because they are the market leader, incumbent vendor or simply > asking an industry analyst but none seem to have any "deep" criteria. I > guess at some level, choosing any tool will move the needle, but > investments really should be longer term. Preliminary CWE analyses have shown a lot less overlap across the tools than expected, so even baased on vulnerabilities tested, this is an important consideration. You might also want to check out the SAMATE project (samate.nist.gov), which is working towards evaluation and understanding of tools, although it's a multi-year program. Finally, Network Computing did a tool comparison: http://www.networkcomputing.com/article/printFullArticle.jhtml?articleID=198900460 - Steve From gem at cigital.com Tue May 22 14:41:24 2007 From: gem at cigital.com (Gary McGraw) Date: Tue, 22 May 2007 14:41:24 -0400 Subject: [SC-L] Silver Bullet: Peter Neumann Message-ID: <41945506397C0C4886A8C5BFF089B5CA9BDC9015@va-mailhub.cigital.com> Hi all, The Silver Bullet Security Podcast episode 14 just went live today. This one features an interview with Peter Neumann, software quality pundit and moderator of comp.RISKS. We had fun with this one. http://www.cigital.com/silverbullet/show-014/ Peter and I discuss (among other things) the difference between software security a la Multics and software security today. Plenty of good stuff in this one for software security types. gem company www.cigital.com blog www.cigital.com/justiceleague book www.swsec.com From ken at krvw.com Wed May 23 09:01:14 2007 From: ken at krvw.com (Kenneth Van Wyk) Date: Wed, 23 May 2007 09:01:14 -0400 Subject: [SC-L] 1 Raindrop: Common Attack Pattern Enumeration and Classification (CAPEC) Message-ID: <6D39EE47-547D-4C44-BA00-7DAC481ABEC5@krvw.com> SC-L, Saw this via Gunnar Peterson's blog (http://1raindrop.typepad.com/ 1_raindrop/2007/05/common_attack_p.html)... Check out Mitre's first draft of CAPEC, the Common Attack Pattern Enumeration and Classification database (http://capec.mitre.org). It complements the existing CVE (http://cve.mitre.org) and CWE (http://cwe.mitre.org) efforts by presenting the attack patterns used to exploit the various vulnerabilities. Great stuff that should be of interest to our readers here at SC-L, though the site itself does require Javascript to work -- boo hiss! :-) Cheers, Ken ----- Kenneth R. van Wyk KRvW Associates, LLC http://www.KRvW.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2454 bytes Desc: not available Url : http://krvw.com/pipermail/sc-l/attachments/20070523/758a7f7d/attachment.bin From James.McGovern at thehartford.com Wed May 23 09:47:58 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Wed, 23 May 2007 09:47:58 -0400 Subject: [SC-L] Tools: Evaluation Criteria In-Reply-To: Message-ID: <773F863A6009244B87E6E866AFC7DB4603999AF8@AD1HFDEXC309.ad1.prod> I think my thinking was a little different. I would also expect criteria that shows how it integrates into the entire lifecycle. For example, scanning source code that is already extracted is a little different than scanning a PVCS repository. Likewise, taking a list of vulnerabilities and understanding who created them, connecting to the identity stored in version control and then having the ability to feed tools such as JIRA, PVCS Tracker, etc would be powerful. Good to see that folks are expanding the criteria in terms of what it scans for, but criteria as to how it integrates is also equally useful. -----Original Message----- From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org]On Behalf Of Steven M. Christey Sent: Tuesday, May 22, 2007 12:53 PM To: McGovern, James F (HTSC, IT) Cc: SC-L at securecoding.org Subject: Re: [SC-L] Tools: Evaluation Criteria On Tue, 22 May 2007, McGovern, James F (HTSC, IT) wrote: > We will shortly be starting an evaluation of tools to assist in the > secure coding practices initiative and have been wildly successful in > finding lots of consultants who can assist us in evaluating but > absolutely zero in terms of finding RFI/RFPs of others who have > travelled this path before us. Would especially love to understand > stretch goals that we should be looking for beyond simple stuff like > finding buffer overflows in C, OWASP checklists, etc. semi-spam: With over 600 nodes in draft 6, the Common Weakness Enumeration (CWE) at http://cwe.mitre.org is the most comprehensive list of vulnerability issues out there, and it's not just implementation bugs. That might help you find other areas you want to test. In addition, many code analysis tool vendors are participating in CWE. > In my travels, it "feels" as if folks are simply choosing tools in this > space because they are the market leader, incumbent vendor or simply > asking an industry analyst but none seem to have any "deep" criteria. I > guess at some level, choosing any tool will move the needle, but > investments really should be longer term. Preliminary CWE analyses have shown a lot less overlap across the tools than expected, so even baased on vulnerabilities tested, this is an important consideration. You might also want to check out the SAMATE project (samate.nist.gov), which is working towards evaluation and understanding of tools, although it's a multi-year program. Finally, Network Computing did a tool comparison: http://www.networkcomputing.com/article/printFullArticle.jhtml?articleID=198900460 - Steve _______________________________________________ Secure Coding mailing list (SC-L) SC-L at securecoding.org List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l List charter available at - http://www.securecoding.org/list/charter.php SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) as a free, non-commercial service to the software security community. _______________________________________________ ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* From peter.amey at praxis-his.com Wed May 23 11:27:09 2007 From: peter.amey at praxis-his.com (Peter Amey) Date: Wed, 23 May 2007 16:27:09 +0100 Subject: [SC-L] Tools: Evaluation Criteria Message-ID: <4BF0455B353E524FBEA15C3A490F7DFEE5F442@EVS01.praxis.local> [snip] > > Good to see that folks are expanding the criteria in terms of > what it scans for, but criteria as to how it integrates is > also equally useful. > On the contrary I find the idea of evaluating tools by "what they scan for" very disturbing. It shows a continuing belief that software engineering involves building things then "scanning" them for defects. We /must/ move to tools and methods that help us construct correct programs rather than looking for defects in them afterwards. Let me give you an example from my previous aeronautical career. The DeHavilland Comet was the world's first transatlantic jet airliner. All went well until after a year of two of service there were a series of catastrophic airframe failures in flight, all with total loss of those on board. ISTR that there were 3 crashes in all. The design defect that caused the disasters was a combination of square cabin windows and hull pressurisation on each flight. The square windows caused amplified stress at each window corner which, with the cyclic stress changes from pressurisation caused metal fatigue failures and hull loss. Metal fatigue was little understood at the time. Now for the lessons. The aero industry quickly learned about metal fatigue and stress raisers and used that information to design fuselages that did not suffer from the Comet's defects. That is why your airliner window is oval not square. There have been very, very few Comet-style failures since (and they are usually associated with corrosion or poor maintenance). So, the problem was analysed, understood, disseminated and hence eliminated. In the software world we seem to content to build "window squareness detection tools". Some will find 70% of square windows but miss others and produce false alarms in yet other cases. Buffer overflows are the square windows of secure software: we shouldn't be /scanning/ for them but using languages and tools that /prevent/ their introduction. Regards Peter -------------------------------------------------------- Peter Amey BSc ACGI CEng CITP MRAes FBCS CTO (Software Engineering) direct: +44 (0) 1225 823761 mobile: +44 (0) 7774 148336 peter.amey at praxis-his.com Praxis High Integrity Systems Ltd 20 Manvers St, Bath, BA1 1PX, UK t: +44 (0)1225 466991 f: +44 (0)1225 469006 w: www.praxis-his.com -------------------------------------------------------- This email is confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, be advised that you have received this email in error and that any use, disclosure, copying or distribution or any action taken or omitted to be taken in reliance on it is strictly prohibited. If you have received this email in error please contact the sender. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Praxis. Although this email and any attachments are believed to be free of any virus or other defect, no responsibility is accepted by Praxis or any of its associated companies for any loss or damage arising in any way from the receipt or use thereof. The IT Department at Praxis can be contacted at it.support at praxis-his.com. Praxis High Integrity Systems Ltd: Company Number: 3302507, registered in England and Wales Registered Address: 20 Manvers Street, Bath. BA1 1PX VAT Registered in Great Britain: 682635707 From James.McGovern at thehartford.com Wed May 23 12:34:23 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Wed, 23 May 2007 12:34:23 -0400 Subject: [SC-L] Tools: Evaluation Criteria In-Reply-To: <4BF0455B353E524FBEA15C3A490F7DFEE5F442@EVS01.praxis.local> Message-ID: <773F863A6009244B87E6E866AFC7DB4603999B01@AD1HFDEXC309.ad1.prod> Peter, I think I agree with your comments at some level but disagree at another. Your comment about using languages and tools is spot on yet the reason no one is actually approaching it from this fashion is that you can't make money off it. For example, if we all jumped in and make the GNU C compiler better and even worked with code generation products that subscribe to say MDA, then how would most folks here profit? Maybe folks are still building square windows because we haven't realized how software fails and can describe it in terms of a pattern. The only pattern-oriented book I have ran across in my travels is the Core Security Patterns put out by the folks at Sun. Do you think we should stop talking solely about code and start talking about how vulnerabilities are repeatedly introduced and describe using patterns notation? It is also important to realize that the folks with decision-making authority in terms of procuring tools usually aren't from an engineering background. Nowadays, many decision-makers may not have even written a single line of code in their lifetime and use process as a substitute for competence. While process weenies don't necessary understand coding, they do usually understand the notion of auditing which these tools cater to. If one can produce a metric, scorecard or other terms attractive to modern IT executives, it is certainly more attractive than engineering practices they don't understand. Audit-oriented thinking also allows folks to put clauses into contracts when enterprises procure software from third-parties and can mandate scans by multiple tools that produce a score below say X while what you are proposing is a lot harder and requires more trust when third parties are involved. -----Original Message----- From: Peter Amey [mailto:peter.amey at praxis-his.com] Sent: Wednesday, May 23, 2007 11:27 AM To: McGovern, James F (HTSC, IT) Cc: SC-L at securecoding.org Subject: RE: [SC-L] Tools: Evaluation Criteria [snip] > > Good to see that folks are expanding the criteria in terms of > what it scans for, but criteria as to how it integrates is > also equally useful. > On the contrary I find the idea of evaluating tools by "what they scan for" very disturbing. It shows a continuing belief that software engineering involves building things then "scanning" them for defects. We /must/ move to tools and methods that help us construct correct programs rather than looking for defects in them afterwards. Let me give you an example from my previous aeronautical career. The DeHavilland Comet was the world's first transatlantic jet airliner. All went well until after a year of two of service there were a series of catastrophic airframe failures in flight, all with total loss of those on board. ISTR that there were 3 crashes in all. The design defect that caused the disasters was a combination of square cabin windows and hull pressurisation on each flight. The square windows caused amplified stress at each window corner which, with the cyclic stress changes from pressurisation caused metal fatigue failures and hull loss. Metal fatigue was little understood at the time. Now for the lessons. The aero industry quickly learned about metal fatigue and stress raisers and used that information to design fuselages that did not suffer from the Comet's defects. That is why your airliner window is oval not square. There have been very, very few Comet-style failures since (and they are usually associated with corrosion or poor maintenance). So, the problem was analysed, understood, disseminated and hence eliminated. In the software world we seem to content to build "window squareness detection tools". Some will find 70% of square windows but miss others and produce false alarms in yet other cases. Buffer overflows are the square windows of secure software: we shouldn't be /scanning/ for them but using languages and tools that /prevent/ their introduction. Regards Peter -------------------------------------------------------- Peter Amey BSc ACGI CEng CITP MRAes FBCS CTO (Software Engineering) direct: +44 (0) 1225 823761 mobile: +44 (0) 7774 148336 peter.amey at praxis-his.com Praxis High Integrity Systems Ltd 20 Manvers St, Bath, BA1 1PX, UK t: +44 (0)1225 466991 f: +44 (0)1225 469006 w: www.praxis-his.com -------------------------------------------------------- This email is confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, be advised that you have received this email in error and that any use, disclosure, copying or distribution or any action taken or omitted to be taken in reliance on it is strictly prohibited. If you have received this email in error please contact the sender. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Praxis. Although this email and any attachments are believed to be free of any virus or other defect, no responsibility is accepted by Praxis or any of its associated companies for any loss or damage arising in any way from the receipt or use thereof. The IT Department at Praxis can be contacted at it.support at praxis-his.com. Praxis High Integrity Systems Ltd: Company Number: 3302507, registered in England and Wales Registered Address: 20 Manvers Street, Bath. BA1 1PX VAT Registered in Great Britain: 682635707 ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* From jsteven at cigital.com Wed May 23 14:38:34 2007 From: jsteven at cigital.com (John Steven) Date: Wed, 23 May 2007 14:38:34 -0400 Subject: [SC-L] Technology-specific Security Standards Message-ID: All, My last two posts to Cigital's blog covered whether or not to build your security standards specific to a technology-stack and code-centric or to be more general about them: http://www.cigital.com/justiceleague/2007/05/18/security-guidance-and-its-%e 2%80%9cspecificity-knob%e2%80%9d/ And http://www.cigital.com/justiceleague/2007/05/21/how-to-write-good-security-g uidance/ Dave posted a comment on the topic, which I'm quoting here: ----- Your point about the ?perishability? of such prescriptive checklists does make the adoption of such a program fairly high maintenance. Nothing wrong with that, but expectations should be set early that this would not be a fire and forget type of program, but rather an ongoing investment. ----- I agree, specifying guidance at this level does take a lot more effort; you get what you pay for eh? I responded in turn with a comment of my own. I've seen some organizations control this cost effectively and still get value: See: http://www.cigital.com/justiceleague/2007/05/18/security-guidance-and-its-%e 2%80%9cspecificity-knob%e2%80%9d/#comment-1048 Some people think my stand controversial... What do you guys think? ---- John Steven Technical Director; Principal, Software Security Group Direct: (703) 404-5726 Cell: (703) 727-4034 Key fingerprint = 4772 F7F3 1019 4668 62AD 94B0 AE7F EEF4 62D5 F908 Blog: http://www.cigital.com/justiceleague Papers: http://www.cigital.com/papers/jsteven http://www.cigital.com Software Confidence. Achieved. From ljknews at mac.com Wed May 23 14:58:31 2007 From: ljknews at mac.com (ljknews) Date: Wed, 23 May 2007 14:58:31 -0400 Subject: [SC-L] Tools: Evaluation Criteria In-Reply-To: <773F863A6009244B87E6E866AFC7DB4603999B01@AD1HFDEXC309.ad1.prod> References: <773F863A6009244B87E6E866AFC7DB4603999B01@AD1HFDEXC309.ad1.prod> Message-ID: At 12:34 PM -0400 5/23/07, McGovern, James F (HTSC, IT) wrote: > If one can produce a metric, scorecard or other terms attractive to > modern IT executives, it is certainly more attractive than engineering > practices they don't understand. A good metric would be what development process was used in development. "Relying exclusively on component reuse" might seem attractive to the accountants, but more thorough analysis would say it is not the solution to all problems. > Audit-oriented thinking also allows folks to put clauses into contracts > when enterprises procure software from third-parties and can mandate scans > by multiple tools that produce a score below say X Racing sailboat rigging gets periodic X-ray (or magnetic flux, I forget) scanning to find developing cracks. I presume the same is true for some types of aircraft. Certainly it is better to find the _cause_ of fatigue since it is possible to have a defect not caught by the scan. > while what you are proposing is a lot harder and requires more trust > when third parties are involved. How is trust involved ? Are you saying that vendors would lie about the kind of software development methodology they can use ? -- Larry Kilgallen From list-procurare at secureconsulting.net Wed May 23 19:57:15 2007 From: list-procurare at secureconsulting.net (Benjamin Tomhave) Date: Wed, 23 May 2007 19:57:15 -0400 Subject: [SC-L] Technology-specific Security Standards In-Reply-To: References: Message-ID: <001601c79d96$16bbf360$0a01a8c0@zippy> In my experience, a tiered approach is useful. The higher up you are in the policy framework, the more general and time-enduring the content should be. The farther you progress down the framework to a more detailed level, the more perishable the content will be, out of necessity. The reason that we've adopted specific guidance bound at the technical level is because implementers need it. They're not security experts (usually) and do not necessarily grok security the same way a seasoned (salty?) security person might. A couple colleagues and I actually chatted about this around the same time that the original message here is timestamped, in the context of application security standards. The approach we're planning to adopt is to provide good, minimally-specific guidance in our formal standards documents (e.g. "implement input validation") and the produce living implementation guides (possibly in a wiki form) that can be referenced in relation to the standards. We'll see how this works in reality, but it seems to be a nice mix in theory between provide specific requirements without getting so far into the weeds that it will require constant rewriting as the underlying technologies change. fwiw. -ben --- Benjamin Tomhave, MS, CISSP, NSA-IAM, NSA-IEM falcon at secureconsulting.net Web: http://falcon.secureconsulting.net/ LI: http://www.linkedin.com/in/btomhave Blog: http://www.secureconsulting.net/ Photos: http://photos.secureconsulting.net/ "We must scrupulously guard the civil rights and civil liberties of all citizens, whatever their background. We must remember that any oppression, any injustice, any hatred is a wedge designed to attack our civilization." -President Franklin Delano Roosevelt > -----Original Message----- > From: sc-l-bounces at securecoding.org > [mailto:sc-l-bounces at securecoding.org] On Behalf Of John Steven > Sent: Wednesday, May 23, 2007 2:39 PM > To: SC-L at securecoding.org > Subject: [SC-L] Technology-specific Security Standards > > All, > > My last two posts to Cigital's blog covered whether or not to > build your security standards specific to a technology-stack > and code-centric or to be more general about them: > > http://www.cigital.com/justiceleague/2007/05/18/security-guida > nce-and-its-%e > 2%80%9cspecificity-knob%e2%80%9d/ > > And > > http://www.cigital.com/justiceleague/2007/05/21/how-to-write-g > ood-security-g > uidance/ > > Dave posted a comment on the topic, which I'm quoting here: > ----- > Your point about the ?perishability? of such prescriptive > checklists does make the adoption of such a program fairly > high maintenance. Nothing wrong with that, but expectations > should be set early that this would not be a fire and forget > type of program, but rather an ongoing investment. > ----- > > I agree, specifying guidance at this level does take a lot > more effort; you get what you pay for eh? I responded in turn > with a comment of my own. I've seen some organizations > control this cost effectively and still get value: > > See: > http://www.cigital.com/justiceleague/2007/05/18/security-guida > nce-and-its-%e > 2%80%9cspecificity-knob%e2%80%9d/#comment-1048 > > Some people think my stand controversial... > > What do you guys think? > > ---- > John Steven > Technical Director; Principal, Software Security Group > Direct: (703) 404-5726 Cell: (703) 727-4034 Key fingerprint = > 4772 F7F3 1019 4668 62AD 94B0 AE7F EEF4 62D5 F908 > > Blog: http://www.cigital.com/justiceleague > Papers: http://www.cigital.com/papers/jsteven > > http://www.cigital.com > Software Confidence. Achieved. > > > _______________________________________________ > Secure Coding mailing list (SC-L) SC-L at securecoding.org List > information, subscriptions, etc - > http://krvw.com/mailman/listinfo/sc-l > List charter available at - > http://www.securecoding.org/list/charter.php > SC-L is hosted and moderated by KRvW Associates, LLC > (http://www.KRvW.com) as a free, non-commercial service to > the software security community. > _______________________________________________ > From Kevin.Wall at qwest.com Thu May 24 07:45:14 2007 From: Kevin.Wall at qwest.com (Wall, Kevin) Date: Thu, 24 May 2007 06:45:14 -0500 Subject: [SC-L] Tools: Evaluation Criteria References: <773F863A6009244B87E6E866AFC7DB4603999B01@AD1HFDEXC309.ad1.prod> Message-ID: James McGovern wrote... > Maybe folks are still building square windows because we haven't > realized how software fails and can describe it in terms of a pattern. > The only pattern-oriented book I have ran across in my travels is the > Core Security Patterns put out by the folks at Sun. Do you think we > should stop talking solely about code and start talking about how > vulnerabilities are repeatedly introduced and describe using patterns > notation? You might want to check out securitypatterns.org, and more specifically, http://www.securitypatterns.org/patterns.html which mentions a few other books. I think there are a few other books by Markus Schumacher, one of which was based on his doctoral dissertation that is not shown there. As to your question, should we stop talking _SOLEY_ about code? Probably, yes. But I think the reason we don't is two-fold -- the first is that most of us view that as the easy-part, the low-hanging fruit so-to-speak. The second is that the development community for the most part, still doesn't seem to be applying the securing CODING principles, so many of us think it would be premature to move on to try to teach them secure design principles, developing security reqts with abuse cases, etc., threat modeling, etc. From a personal POV, I think that's something that a small team of security specialists can handle. (At least it mostly works here. Security evaluations are mandatory shortly after the design is complete.) But we can't possibly do manual code inspections with a small security team, so we try to instruct (alas, w/out too much success) developers secure coding practices to avoid the problems at that level in the first place. -kevin --- Kevin W. Wall Qwest Information Technology, Inc. Kevin.Wall at qwest.com Phone: 614.215.4788 "The reason you have people breaking into your software all over the place is because your software sucks..." -- Former whitehouse cybersecurity advisor, Richard Clarke, at eWeek Security Summit This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. From gunnar at arctecgroup.net Thu May 24 08:58:34 2007 From: gunnar at arctecgroup.net (Gunnar Peterson) Date: Thu, 24 May 2007 07:58:34 -0500 Subject: [SC-L] Tools: Evaluation Criteria In-Reply-To: Message-ID: I recommend "Security Design Patterns" by Bob Blakley and Craig Heath http://www.opengroup.org/publications/catalog/g031.htm Like any good patterns work, it makes a number of implicit actions, explicit and gives you a way to see how they fit together and when you may choose certain paths. For example section 8.8 on secure proxy patterns, is the best treatment on the subject I have seen. It discusses seven distinct approaches to secure proxies (delegation, impersonation, and so on), it was written in the days before federation and user centric identity, so it would be nice to update it with that. -gp On 5/24/07 6:45 AM, "Wall, Kevin" wrote: > James McGovern wrote... > >> Maybe folks are still building square windows because we haven't >> realized how software fails and can describe it in terms of a pattern. >> The only pattern-oriented book I have ran across in my travels is the >> Core Security Patterns put out by the folks at Sun. Do you think we >> should stop talking solely about code and start talking about how >> vulnerabilities are repeatedly introduced and describe using patterns >> notation? > > You might want to check out securitypatterns.org, and more specifically, > http://www.securitypatterns.org/patterns.html > which mentions a few other books. > > I think there are a few other books by Markus Schumacher, one of which > was based on his doctoral dissertation that is not shown there. > > As to your question, should we stop talking _SOLEY_ about code? Probably, > yes. But I think the reason we don't is two-fold -- the first is that most > of us view that as the easy-part, the low-hanging fruit so-to-speak. The > second is that the development community for the most part, still doesn't > seem to be applying the securing CODING principles, so many of us think > it would be premature to move on to try to teach them secure design > principles, developing security reqts with abuse cases, etc., threat modeling, > etc. From a personal POV, I think that's something that a small team of > security specialists can handle. (At least it mostly works here. Security > evaluations are mandatory shortly after the design is complete.) But we > can't possibly do manual code inspections with a small security team, > so we try to instruct (alas, w/out too much success) developers secure > coding practices to avoid the problems at that level in the first place. > > -kevin > --- > Kevin W. Wall Qwest Information Technology, Inc. > Kevin.Wall at qwest.com Phone: 614.215.4788 > "The reason you have people breaking into your software all > over the place is because your software sucks..." > -- Former whitehouse cybersecurity advisor, Richard Clarke, > at eWeek Security Summit > > > This communication is the property of Qwest and may contain confidential or > privileged information. Unauthorized use of this communication is strictly > prohibited and may be unlawful. If you have received this communication > in error, please immediately notify the sender by reply e-mail and destroy > all copies of the communication and any attachments. > > _______________________________________________ > Secure Coding mailing list (SC-L) SC-L at securecoding.org > List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l > List charter available at - http://www.securecoding.org/list/charter.php > SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) > as a free, non-commercial service to the software security community. > _______________________________________________ > -- Gunnar Peterson, Managing Principal, Arctec Group http://www.arctecgroup.net SOA, Web Services and XML Security & Web Application Security Training Schedule of Public Classes May 15 Milan (OWASP App Sec Conference) June 4-5 Helsinki, Finland (FISA and OWASP) July 17-19 Washington/Baltimore Blog: http://1raindrop.typepad.com From peter.amey at praxis-his.com Thu May 24 10:32:08 2007 From: peter.amey at praxis-his.com (Peter Amey) Date: Thu, 24 May 2007 15:32:08 +0100 Subject: [SC-L] Tools: Evaluation Criteria Message-ID: <4BF0455B353E524FBEA15C3A490F7DFEEACB0B@EVS01.praxis.local> > -----Original Message----- > From: sc-l-bounces at securecoding.org > [mailto:sc-l-bounces at securecoding.org] On Behalf Of Wall, Kevin > Sent: 24 May 2007 12:45 > To: McGovern, James F (HTSC, IT) > Cc: SC-L at securecoding.org > Subject: Re: [SC-L] Tools: Evaluation Criteria > > James McGovern wrote... > > > Maybe folks are still building square windows because we haven't > > realized how software fails and can describe it in terms of > a pattern. > > The only pattern-oriented book I have ran across in my > travels is the > > Core Security Patterns put out by the folks at Sun. Do you think we > > should stop talking solely about code and start talking about how > > vulnerabilities are repeatedly introduced and describe > using patterns > > notation? > [snip I am very happy to accept that we may not understand /all/ or even /most/ of the ways software fails but we do know an awful lot. Buffer overflows, numeric overflows and division by zero have been wee understood for years. The first was limited by various versions of Pascal ages ago. Yet we are still clinging to techniques that hope we can spot a buffer overflow "pattern" after construction (and hopefully before an exploiter!). There is a nice symmetry about my aeronautical analogy. The Comet disasters occurred just over 50 years after the Wright brothers first flew; and we are still fiddling around with buffer overflows just over 50 years after Colossus (at the Bletchley Park crypto centre of Enigma fame) signalled the start of the computer age. That's all, back to the asylum! Peter This email is confidential and intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient, be advised that you have received this email in error and that any use, disclosure, copying or distribution or any action taken or omitted to be taken in reliance on it is strictly prohibited. If you have received this email in error please contact the sender. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Praxis. Although this email and any attachments are believed to be free of any virus or other defect, no responsibility is accepted by Praxis or any of its associated companies for any loss or damage arising in any way from the receipt or use thereof. The IT Department at Praxis can be contacted at it.support at praxis-his.com. Praxis High Integrity Systems Ltd: Company Number: 3302507, registered in England and Wales Registered Address: 20 Manvers Street, Bath. BA1 1PX VAT Registered in Great Britain: 682635707 From ken at krvw.com Fri May 25 08:52:10 2007 From: ken at krvw.com (Kenneth Van Wyk) Date: Fri, 25 May 2007 08:52:10 -0400 Subject: [SC-L] Administrivia: Moderator on hiatus Message-ID: <468499D9-4B8B-4244-8C73-CE5C0852AE20@krvw.com> SC-L, After an insane travel schedule over the last several months, the moderator is taking some much-needed time to relax on the beach while sipping boat drinks. I'll be checking the SC-L queue over the next week at least once daily, but if you submit something, please be a bit patient. It'll go out, but might take a little while. Sorry for the inconvenience. Cheers, Ken ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2454 bytes Desc: not available Url : http://krvw.com/pipermail/sc-l/attachments/20070525/3812de1b/attachment.bin From rcs at cert.org Fri May 25 11:04:44 2007 From: rcs at cert.org (Robert C. Seacord) Date: Fri, 25 May 2007 11:04:44 -0400 Subject: [SC-L] CFP: CERT Software, System and Information Security Cluster (HICSS-41) Message-ID: <4656FB0C.1090507@cert.org> CALL FOR PAPERS CERT Software, System and Information Security Cluster Hawaii International Conference on System Sciences (HICSS-41) January 7-10, 2008 Waikoloa, Hawaii SCOPE The CERT Software, System and Information Security (CSSIS) Cluster is a composition of two related minitracks from the Software Technology and Internet and the Digital Economy tracks. This Cluster focuses on the security issues facing software developers and implementation strategies. The description of minitracks covered follows: THE CERT SOFTWARE APPLICATION SECURITY (CSAS) MINITRACK This minitrack focuses on the research and automation techniques required to develop secure software systems that do not compromise other system properties such as performance or reliability. Current security engineering methods are demonstrably inadequate as software vulnerabilities are currently being discovered at the rate of over 4,000 per year. These vulnerabilities are caused by software designs and implementations that do not adequately protect systems and by development practices that do not focus sufficiently on eliminating implementation defects that result in security flaws. An opportunity exists for systematic improvement that can lead to secure software applications and implementations. THE CYBER THREATS, EMERGING RISKS, AND SYSTEMIC CONCERNS (CTERSC) MINITRACK This minitrack addresses issues related to detecting, mitigating and preventing the threat of computer-based attacks and operational failures. Papers that address improving the security of computer-reliant organizations from these threats through technical, organizational, or behavioral change are encouraged. These may include simulation studies, case-based research, empirical studies, and other applications of quantitative and qualitative methods. Contributions that rely on a perspective that is systemic and holistic are especially appreciated. The following topics are appropriate for research papers in the CSISS Cluster: * Static analysis tools and techniques for detecting security flaws and software vulnerabilities in source or binary code. * Dynamic analysis tools for detecting security flaws and software vulnerabilities in source or binary code. * Model checking tools for detecting security flaws and software vulnerabilities in software systems. * Software architectures and designs for securing against denial-of-service attacks and other software exploits. * Coding practices for improved security and secure library implementations. * Computational security engineering. * Other tools and techniques for reducing or eliminating vulnerabilities during the development and maintenance. * Identifying modes of misuse * Applications of access policies * Analysis of known and unknown modes of attack * Separating anomalous from routine behavior * Detecting and mitigating insider threats * Modeling risks and approaches to mitigation * Teaching and training security and business managers about the risks of cyber-attacks * The economics of information security * Creating channels and techniques to share confidential information * Modeling and theory building of security issues * Unifying security and safety models PAPER REVIEW AND PROCEEDINGS PUBLICATION Papers in each of the HICSS tracks frequently make significant contributions to the application of information systems technology. All papers submitted to HICSS are independently reviewed in a double-blind process by three individuals who are selected for their respective expertise and active involvement in the field of research for the paper(s) under consideration. Acceptance rates vary from year to year, but have averaged approximately 50% during the past few years. There may be lower rates in mature fields and slightly higher rates when a new area of research is specifically nurtured in its infancy. After a HICSS conference many papers are revised or extended and republished in various journals, transactions and monographs, or may appear as chapters in books. All accepted papers become part of the Proceedings of the Hawai'i International Conference on System Sciences that are published and distributed by the IEEE Computer Society and carried on the IEEE Digital Library, Xplore. Each year's papers are published on a CD-Rom distributed at each conference as part of the conference registration material. Prior to the conference Minitrack Chairs nominate candidates for a Best Paper Award (noted in the conference program). Judging for these awards is conducted by panel of judges in each Track, with winners announced on the last day of the conference. INSTRUCTIONS FOR PAPER SUBMISSION * HICSS papers must contain original material not previously published nor currently submitted elsewhere. * It is recommended that authors contact the Minitrack Chair(s) by email for guidance regarding appropriate content. * HICSS will conduct double-blind reviews of each submitted paper. * Submit full paper according to detailed author instructions to be found on the HICSS web site (http://www.hicss.hawaii.edu/hicss_41/cfp_41.htm) by June 15. IMPORTANT 2007 DATES Abstracts are required for submission to this Cluster, or its minitracks. Please submit abstracts to the Cluster chairs by June 1st at cssis at cert.org. Please contact the Cluster Chairs for further guidance and indication of appropriate content at any time. * June 1 Authors should submit an abstract of their paper by this date to the Cluster Chairs (cssis at cert.org). * June 15 Authors submit full papers by this date, following Author Instructions found on the HICSS web site. All papers will be submitted in double column publication format and limited to 10 pages including diagrams and references. HICSS papers undergo a double-blind review (June15 ? August15). Submit full paper according to detailed author instructions to be found on the HICSS web site (http://www.hicss.hawaii.edu/hicss_41/cfp_41.htm). * August 15 Acceptance notices are sent to Authors. At this time, at least one author of an accepted paper should begin fiscal and travel arrangements to attend the conference to present the paper. * September 15 Authors submit Final Version of papers following submission instructions posted on the HICSS web site. At least one author of each paper should register by this date with specific plans to attend the conference. * October 2 Papers without at least one registered author will be pulled from the publication process; authors will be notified. * December 1 Deadline to guarantee your hotel reservation at conference rate. Conference rate will be granted after this date, only if rooms are available. * December 15 There will be no refund for cancellation of registration after this date. CO-CHAIRS OF THE CSSIS CLUSTER Guido Schryen (RWTH Aachen University) Jason A. Rafail (CERT/CC) Address email to the Cluster Chairs to cssis at cert.org. CO-CHAIRS OF THE CSAS MINITRACK Jason A. Rafail (CERT/CC) Robert C. Seacord (CERT/CC) Dan Plakosh (CERT/CC) CO-CHAIRS of the CTERSC Minitrack Guido Schryen (RWTH Aachen University) Jose J. Gonzalez (Agder University College) Eliot H. Rich (University at Albany, State University of New York) PROGRAM COMMITTEE MEMBERS Julia Allen SEI, CMU Yue Chen University of Southern California Felix Freiling University of Mannheim Jose J. Gonzalez Agder University College Fred Long University of Wales, Aberystwyth Pascal Meunier Purdue University David Riley University of Wisconsin - La Crosse David Spooner Rensselaer Polytechnic Institute John Steven Cigital Kenneth Van Wyk KRvW Associates, LLC Carol Woody CERT, SEI, CMU -- Robert C. Seacord Senior Vulnerability Analyst CERT/CC Work: 412-268-7608 FAX: 412-268-6989 -- Robert C. Seacord Senior Vulnerability Analyst CERT/CC Work: 412-268-7608 FAX: 412-268-6989 From ken at krvw.com Mon Jun 4 09:44:39 2007 From: ken at krvw.com (Kenneth Van Wyk) Date: Mon, 4 Jun 2007 09:44:39 -0400 Subject: [SC-L] Administrivia: Moderator is in, and SC-L BoF in Spain? Message-ID: SC-Lers, FYI, back from a few days in the sun. It was a quiet week in any case here on SC-L, but I am indeed back at the moderator's (virtual) desk now. Anyone here attending the FIRST conference in Sevilla, Spain later this month? Any interest in an SC-L BoF session? I'll be there all week and would be happy to meet with any SC-L folks who'll be there. Drop me a line and say hi. First Rioja Crianza and jambon Iberia is on me. Cheers, Ken ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2454 bytes Desc: not available Url : http://krvw.com/pipermail/sc-l/attachments/20070604/278b456a/attachment.bin From ken at krvw.com Tue Jun 5 22:09:58 2007 From: ken at krvw.com (Kenneth Van Wyk) Date: Tue, 5 Jun 2007 22:09:58 -0400 Subject: [SC-L] Who's To Blame For Insecure Software? Maybe You Message-ID: Some interesting (IMHO) stats coming out of Gartner security summit. One that jumped off the page at me was that 57% of the attendees believe that independent security "research labs" are providing a useful and valuable service. Whether you agree or not, the article below is an interesting read. http://www.informationweek.com/security/showArticle.jhtml? articleID=199901402&pgno=1&queryText= Cheers, Ken P.S. I'm surprised to say that I've so far had no takers on my question yesterday -- what is the next technology hurdle for us to clear? Perhaps everyone is off enjoying their summer breaks like I was last week... ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2454 bytes Desc: not available Url : http://krvw.com/pipermail/sc-l/attachments/20070605/acd5114f/attachment.bin From ken at krvw.com Wed Jun 6 06:05:26 2007 From: ken at krvw.com (Kenneth Van Wyk) Date: Wed, 6 Jun 2007 06:05:26 -0400 Subject: [SC-L] What's the next tech problem to be solved in software security? Message-ID: Hi SC-L, [Hmmm, this didn't make it out to the list as I'd expected, so here's a 2nd try. Apologies for any duplicates. KRvW] At the SC-L BoF sessions held to date (which admittedly is not exactly a huge number, but I'm doing my best to see them continue), I like to ask those that attend what we can be doing to make SC-L more useful and meaningful to the subscribers. Of course, as with all mailing lists, SC-L will always be what its members make of it. However, at one recent SC-L BoF session, it was suggested that I pose periodic questions/issues for comment and discussion. As last week was particularly quiet here with my hiatus and all, this seems like a good opportunity to give that a go, so... What do you think is the _next_ technological problem for the software security community to solve? PLEASE, let's NOT go down the rat hole of senior management buy-in, use [this language], etc. (In fact, be warned that I will /dev/null any responses in this thread that go there.) So, what technology could/would make life easier for a secure software developer? Better source code analysis? High(er) level languages to help automate design reviews? Better security testing tools? To any of these, *better* in what ways, specifically? Any takers? Cheers, Ken ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2454 bytes Desc: not available Url : http://krvw.com/pipermail/sc-l/attachments/20070606/f4106b3d/attachment.bin From michaelslists at gmail.com Wed Jun 6 06:35:02 2007 From: michaelslists at gmail.com (Michael Silk) Date: Wed, 6 Jun 2007 20:35:02 +1000 Subject: [SC-L] What's the next tech problem to be solved in software security? In-Reply-To: References: Message-ID: <5e01c29a0706060335h1c729358m9c4f8ecbd603a06e@mail.gmail.com> you've got a few questions there ... i'll answer the first one. i might copy the suggestion from someone [i can't remember who at the moment] who suggested the next step in programming in-general is more parallel programs [in order to increase speed]. this is obviously complicated and will create new security problems. but i mean (it hardly needs to be said), we have enough trouble with the problems we already have. On 6/6/07, Kenneth Van Wyk wrote: > Hi SC-L, > > [Hmmm, this didn't make it out to the list as I'd expected, so here's > a 2nd try. Apologies for any duplicates. KRvW] > > At the SC-L BoF sessions held to date (which admittedly is not > exactly a huge number, but I'm doing my best to see them continue), I > like to ask those that attend what we can be doing to make SC-L more > useful and meaningful to the subscribers. Of course, as with all > mailing lists, SC-L will always be what its members make of it. > However, at one recent SC-L BoF session, it was suggested that I pose > periodic questions/issues for comment and discussion. As last week > was particularly quiet here with my hiatus and all, this seems like a > good opportunity to give that a go, so... > > What do you think is the _next_ technological problem for the > software security community to solve? PLEASE, let's NOT go down the > rat hole of senior management buy-in, use [this language], etc. (In > fact, be warned that I will /dev/null any responses in this thread > that go there.) So, what technology could/would make life easier for > a secure software developer? Better source code analysis? High(er) > level languages to help automate design reviews? Better security > testing tools? To any of these, *better* in what ways, specifically? > > Any takers? > > Cheers, > > Ken > ----- > Kenneth R. van Wyk > SC-L Moderator > KRvW Associates, LLC > http://www.KRvW.com > > > _______________________________________________ > Secure Coding mailing list (SC-L) SC-L at securecoding.org > List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l > List charter available at - http://www.securecoding.org/list/charter.php > SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) > as a free, non-commercial service to the software security community. > _______________________________________________ > > > -- mike 68 65 6c 6c 6f 20 74 6f 20 79 6f 75 2c 20 68 65 78 20 64 65 63 6f 64 65 72 2e From wietse at porcupine.org Wed Jun 6 10:01:48 2007 From: wietse at porcupine.org (Wietse Venema) Date: Wed, 6 Jun 2007 10:01:48 -0400 (EDT) Subject: [SC-L] What's the next tech problem to be solved in software security? In-Reply-To: "from Kenneth Van Wyk at Jun 6, 2007 06:05:26 am" Message-ID: <20070606140148.C78DB1F3E96@spike.porcupine.org> Kenneth Van Wyk: > What do you think is the _next_ technological problem for the > software security community to solve? PLEASE, let's NOT go down the > rat hole of senior management buy-in, use [this language], etc. (In > fact, be warned that I will /dev/null any responses in this thread > that go there.) So, what technology could/would make life easier for > a secure software developer? Better source code analysis? High(er) > level languages to help automate design reviews? Better security > testing tools? To any of these, *better* in what ways, specifically? I've often said that programming should be a million times more difficult, so that fewer people will be able to write code. However, that is not the direction where things evolve. Instead, more and more people, with less and less experience, will be "programming" computer systems. The challenge is to provide environments that allow less experienced people to "program" computer systems without introducing gaping holes or other unexpected behavior. An example is the popular PHP language. Writing code is comparatively easy, but writing secure code is comparatively hard. I'm working on the second part, but I don't expect miracles. The solution is likely to be a completely different programming model. The spreadsheet is approaching its 30th birthday. That is too long ago. Wietse From ken at krvw.com Wed Jun 6 10:21:48 2007 From: ken at krvw.com (Kenneth Van Wyk) Date: Wed, 6 Jun 2007 10:21:48 -0400 Subject: [SC-L] IBM to catch Watchfire security technology | Tech News on ZDNet Message-ID: <235ACFD8-214B-4EF0-9EAD-FD429B19E763@krvw.com> FYI, yet another acquisition in the security world... This time it's IBM buying up Watchfire (makers of AppScan). http://news.zdnet.com/2100-1009_22-6188999.html? part=rss&tag=feed&subj=zdnet Kind of reminds me of something Chef Jacques Pepin said in an interview with Terry Gross on NPR's "Fresh Air" some time back (IIRC). He said when he was growing up, leftover food never went to waste. They always took yesterday's leftovers and made something completely new with it the next day -- NEVER simply re-heating it to serve the same thing again, which always ends up being bland. By the time the "last" of the real food was gone, nobody remembered what the original recipe even was. That kept them interested in the food even as it went through several transformations. Not sure why this comes to mind now... ;-\ Cheers, Ken ----- Kenneth R. van Wyk KRvW Associates, LLC http://www.KRvW.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2454 bytes Desc: not available Url : http://krvw.com/pipermail/sc-l/attachments/20070606/ec06c0f6/attachment.bin From mshines at purdue.edu Wed Jun 6 10:25:04 2007 From: mshines at purdue.edu (Michael S Hines) Date: Wed, 6 Jun 2007 10:25:04 -0400 Subject: [SC-L] FW: What's the next tech problem to be solved in softwaresecurity? Message-ID: <003801c7a846$7a1b3910$4ea7d280@central.purdue.lcl> Product integration - why have an editor, separate source code analizer, separate 'lint' product, compiler, linker, object code analyzer, Fuzz testing tools, etc... apart from marketing and revenue stream - it doesn't help the developer any. Who tests the products that test the code? Mike H. ----------------------------- Michael S Hines mshines at purdue.edu From mshines at purdue.edu Wed Jun 6 10:30:34 2007 From: mshines at purdue.edu (Michael S Hines) Date: Wed, 6 Jun 2007 10:30:34 -0400 Subject: [SC-L] What's the next tech problem to be solved in softwaresecurity? In-Reply-To: <20070606140148.C78DB1F3E96@spike.porcupine.org> References: "from Kenneth VanWyk at Jun 6, 2007 06:05:26 am" <20070606140148.C78DB1F3E96@spike.porcupine.org> Message-ID: <004301c7a847$3e9476d0$4ea7d280@central.purdue.lcl> Distributed/parallel computing on multi-core processors. We already have dual-core with quad-core on the near horizon. How will we develop software to use this new computing technology. In addition to code working properly, you now have the added complexity of code running over itself - the timing and synchronization issues. It's not new - cluster computing has been around for a while and parallel computing has been around for a while - but it hasn't been in desktop level machines until recently - which brings the issues of parallel computing to a whole new and large arena of developers and users. We're going to have difficulty getting it to work right, let alone securely. Mike H. ----------------------------- Michael S Hines mshines at purdue.edu From James.McGovern at thehartford.com Wed Jun 6 11:21:18 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Wed, 6 Jun 2007 11:21:18 -0400 Subject: [SC-L] Perspectives on Code Scanning In-Reply-To: <235ACFD8-214B-4EF0-9EAD-FD429B19E763@krvw.com> Message-ID: <773F863A6009244B87E6E866AFC7DB4603999BAA@AD1HFDEXC309.ad1.prod> I really hope that this email doesn't generate a ton of offline emails and hope that folks will talk publicly. It has been my latest thinking that the value of tools in this space are not really targeted at developers but should be targeted at executives who care about overall quality and security folks who care about risk. While developers are the ones to remediate, the accountability for secure coding resides elsewhere. It would seem to be that tools that developers plug into their IDE should be free since the value proposition should reside elsewhere. Many of these tools provide "audit" functionality and allow enterprises to gain a view into their portfolio that they previously had zero clue about and this is where the value should reside. If there is even an iota of agreement, wouldn't it be in the best interest of folks here to get vendors to ignore developer specific licensing and instead focus on enterprise concerns? ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* From michaelslists at gmail.com Wed Jun 6 18:59:37 2007 From: michaelslists at gmail.com (Michael Silk) Date: Thu, 7 Jun 2007 08:59:37 +1000 Subject: [SC-L] Perspectives on Code Scanning In-Reply-To: <773F863A6009244B87E6E866AFC7DB4603999BAA@AD1HFDEXC309.ad1.prod> References: <235ACFD8-214B-4EF0-9EAD-FD429B19E763@krvw.com> <773F863A6009244B87E6E866AFC7DB4603999BAA@AD1HFDEXC309.ad1.prod> Message-ID: <5e01c29a0706061559y432c0a2gbb524c97210b7b7e@mail.gmail.com> On 6/7/07, McGovern, James F (HTSC, IT) wrote: > I really hope that this email doesn't generate a ton of offline emails and hope that folks will > talk publicly. It has been my latest thinking that the value of tools in this space are not really > targeted at developers but should be targeted at executives who care about overall quality > and security folks who care about risk. While developers are the ones to remediate, the > accountability for secure coding resides elsewhere. and that's the problem. the accountability for insecure coding should reside with the developers. it's their fault [mostly]. > It would seem to be that tools that developers plug into their IDE should be free since the > value proposition should reside elsewhere. Many of these tools provide "audit" functionality > and allow enterprises to gain a view into their portfolio that they previously had zero clue > about and this is where the value should reside. > > If there is even an iota of agreement, wouldn't it be in the best interest of folks here to get > vendors to ignore developer specific licensing and instead focus on enterprise concerns? > > > ************************************************************************* > This communication, including attachments, is > for the exclusive use of addressee and may contain proprietary, > confidential and/or privileged information. If you are not the intended > recipient, any use, copying, disclosure, dissemination or distribution is > strictly prohibited. If you are not the intended recipient, please notify > the sender immediately by return e-mail, delete this communication and > destroy all copies. > ************************************************************************* > > > _______________________________________________ > Secure Coding mailing list (SC-L) SC-L at securecoding.org > List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l > List charter available at - http://www.securecoding.org/list/charter.php > SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) > as a free, non-commercial service to the software security community. > _______________________________________________ > -- mike 68 65 6c 6c 6f 20 74 6f 20 79 6f 75 2c 20 68 65 78 20 64 65 63 6f 64 65 72 2e From coley at linus.mitre.org Thu Jun 7 01:36:20 2007 From: coley at linus.mitre.org (Steven M. Christey) Date: Thu, 7 Jun 2007 01:36:20 -0400 (EDT) Subject: [SC-L] Perspectives on Code Scanning In-Reply-To: <5e01c29a0706061559y432c0a2gbb524c97210b7b7e@mail.gmail.com> References: <235ACFD8-214B-4EF0-9EAD-FD429B19E763@krvw.com> <773F863A6009244B87E6E866AFC7DB4603999BAA@AD1HFDEXC309.ad1.prod> <5e01c29a0706061559y432c0a2gbb524c97210b7b7e@mail.gmail.com> Message-ID: On Thu, 7 Jun 2007, Michael Silk wrote: > and that's the problem. the accountability for insecure coding should > reside with the developers. it's their fault [mostly]. The customers have most of the power, but the security community has collectively failed to educate customers on how to ask for more secure software. There are pockets of success, but a whole lot more could be done. >From a developer-focused perspective, we need to deal with (1) ensuring that developers KNOW how to produce secure code (or interpret tool results), but then (2) actually produce the secure code within given deadlines. I know that (2) is a common topic on this list, but deadlines won't change until customers force the issue, which currently requires weaning them from featuritis, which has such low prospects of success that it's starting to depress me, so I'll stop and we've talked about this before anyway. > > It would seem to be that tools that developers plug into their IDE > > should be free since the value proposition should reside elsewhere. I personally love this sentiment, but that's not how the current market is working, and I'm not sure how it would shift to that point. There might be lessons from the anti-virus community's long history (nowadays mostly covering the same stuff usin a subscription model, but they still compete on speed more than quality of information to the end user). I don't know what the vuln scanning tool indusry is up to these days (Nessus, Retina, etc.) but I do know that management-friendly reporting was the bane of that technology's existence for years. - Steve From jgrembi at gmail.com Thu Jun 7 00:42:45 2007 From: jgrembi at gmail.com (Jason Grembi) Date: Thu, 7 Jun 2007 00:42:45 -0400 Subject: [SC-L] SC-L Digest, Vol 3, Issue 102 In-Reply-To: References: Message-ID: <930b20350706062142g449ddfdev15d9029aa95c4270@mail.gmail.com> Hi Ken, welcome back from your sunny vacation. I wanted to reply to your 'invitation' on my thoughts for the next big thing: One technological problem I have with secure programming is testing. I cannot seem to stay on top of the latest methods of attacks and yet ask for more billable time whenever a new one pops-up. For example, I thought my application was safe from XSS until I ran into JavaScript Hijacking after the testing phase (thanks Brian Chess). It seems like our testing abilities are still up to the sophistication of the human element. I would like to see a push for more compliance testing from tools that will scan code (including jar files) for the latest attacks and certify that baseline. That way, I can take a lot of my dependence from the human element and use more automation to drive my testing techniques. The current generation of security tools doesn't give me the warm and fuzzies yet. Jason Grembi Web Developer On 6/6/07, sc-l-request at securecoding.org wrote: > > Send SC-L mailing list submissions to > sc-l at securecoding.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://krvw.com/mailman/listinfo/sc-l > or, via email, send a message with subject or body 'help' to > sc-l-request at securecoding.org > > You can reach the person managing the list at > sc-l-owner at securecoding.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of SC-L digest..." > > > Today's Topics: > > 1. Who's To Blame For Insecure Software? Maybe You (Kenneth Van Wyk) > 2. What's the next tech problem to be solved in software > security? (Kenneth Van Wyk) > 3. Re: What's the next tech problem to be solved in software > security? (Michael Silk) > 4. Re: What's the next tech problem to be solved in software > security? (Wietse Venema) > 5. IBM to catch Watchfire security technology | Tech News on > ZDNet (Kenneth Van Wyk) > 6. FW: What's the next tech problem to be solved in > softwaresecurity? (Michael S Hines) > 7. Re: What's the next tech problem to be solved in > softwaresecurity? (Michael S Hines) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 5 Jun 2007 22:09:58 -0400 > From: Kenneth Van Wyk > Subject: [SC-L] Who's To Blame For Insecure Software? Maybe You > To: Secure Coding > Message-ID: > Content-Type: text/plain; charset="us-ascii" > > Some interesting (IMHO) stats coming out of Gartner security summit. > One that jumped off the page at me was that 57% of the attendees > believe that independent security "research labs" are providing a > useful and valuable service. Whether you agree or not, the article > below is an interesting read. > > http://www.informationweek.com/security/showArticle.jhtml? > articleID=199901402&pgno=1&queryText= > > Cheers, > > Ken > > P.S. I'm surprised to say that I've so far had no takers on my > question yesterday -- what is the next technology hurdle for us to > clear? Perhaps everyone is off enjoying their summer breaks like I > was last week... > ----- > Kenneth R. van Wyk > SC-L Moderator > KRvW Associates, LLC > http://www.KRvW.com > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: smime.p7s > Type: application/pkcs7-signature > Size: 2454 bytes > Desc: not available > Url : > http://krvw.com/pipermail/sc-l/attachments/20070605/acd5114f/attachment-0001.bin > > ------------------------------ > > Message: 2 > Date: Wed, 6 Jun 2007 06:05:26 -0400 > From: Kenneth Van Wyk > Subject: [SC-L] What's the next tech problem to be solved in software > security? > To: Secure Coding > Message-ID: > Content-Type: text/plain; charset="us-ascii" > > Hi SC-L, > > [Hmmm, this didn't make it out to the list as I'd expected, so here's > a 2nd try. Apologies for any duplicates. KRvW] > > At the SC-L BoF sessions held to date (which admittedly is not > exactly a huge number, but I'm doing my best to see them continue), I > like to ask those that attend what we can be doing to make SC-L more > useful and meaningful to the subscribers. Of course, as with all > mailing lists, SC-L will always be what its members make of it. > However, at one recent SC-L BoF session, it was suggested that I pose > periodic questions/issues for comment and discussion. As last week > was particularly quiet here with my hiatus and all, this seems like a > good opportunity to give that a go, so... > > What do you think is the _next_ technological problem for the > software security community to solve? PLEASE, let's NOT go down the > rat hole of senior management buy-in, use [this language], etc. (In > fact, be warned that I will /dev/null any responses in this thread > that go there.) So, what technology could/would make life easier for > a secure software developer? Better source code analysis? High(er) > level languages to help automate design reviews? Better security > testing tools? To any of these, *better* in what ways, specifically? > > Any takers? > > Cheers, > > Ken > ----- > Kenneth R. van Wyk > SC-L Moderator > KRvW Associates, LLC > http://www.KRvW.com > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: smime.p7s > Type: application/pkcs7-signature > Size: 2454 bytes > Desc: not available > Url : > http://krvw.com/pipermail/sc-l/attachments/20070606/f4106b3d/attachment-0001.bin > > ------------------------------ > > Message: 3 > Date: Wed, 6 Jun 2007 20:35:02 +1000 > From: "Michael Silk" > Subject: Re: [SC-L] What's the next tech problem to be solved in > software security? > To: "Kenneth Van Wyk" > Cc: Secure Coding > Message-ID: > <5e01c29a0706060335h1c729358m9c4f8ecbd603a06e at mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > you've got a few questions there ... i'll answer the first one. > > i might copy the suggestion from someone [i can't remember who at the > moment] who suggested the next step in programming in-general is more > parallel programs [in order to increase speed]. this is obviously > complicated and will create new security problems. > > but i mean (it hardly needs to be said), we have enough trouble with > the problems we already have. > > > On 6/6/07, Kenneth Van Wyk wrote: > > Hi SC-L, > > > > [Hmmm, this didn't make it out to the list as I'd expected, so here's > > a 2nd try. Apologies for any duplicates. KRvW] > > > > At the SC-L BoF sessions held to date (which admittedly is not > > exactly a huge number, but I'm doing my best to see them continue), I > > like to ask those that attend what we can be doing to make SC-L more > > useful and meaningful to the subscribers. Of course, as with all > > mailing lists, SC-L will always be what its members make of it. > > However, at one recent SC-L BoF session, it was suggested that I pose > > periodic questions/issues for comment and discussion. As last week > > was particularly quiet here with my hiatus and all, this seems like a > > good opportunity to give that a go, so... > > > > What do you think is the _next_ technological problem for the > > software security community to solve? PLEASE, let's NOT go down the > > rat hole of senior management buy-in, use [this language], etc. (In > > fact, be warned that I will /dev/null any responses in this thread > > that go there.) So, what technology could/would make life easier for > > a secure software developer? Better source code analysis? High(er) > > level languages to help automate design reviews? Better security > > testing tools? To any of these, *better* in what ways, specifically? > > > > Any takers? > > > > Cheers, > > > > Ken > > ----- > > Kenneth R. van Wyk > > SC-L Moderator > > KRvW Associates, LLC > > http://www.KRvW.com > > > > > > _______________________________________________ > > Secure Coding mailing list (SC-L) SC-L at securecoding.org > > List information, subscriptions, etc - > http://krvw.com/mailman/listinfo/sc-l > > List charter available at - http://www.securecoding.org/list/charter.php > > SC-L is hosted and moderated by KRvW Associates, LLC ( > http://www.KRvW.com) > > as a free, non-commercial service to the software security community. > > _______________________________________________ > > > > > > > > > -- > mike > 68 65 6c 6c 6f 20 74 6f 20 79 6f 75 2c > 20 68 65 78 20 64 65 63 6f 64 65 72 2e > > > ------------------------------ > > Message: 4 > Date: Wed, 6 Jun 2007 10:01:48 -0400 (EDT) > From: wietse at porcupine.org (Wietse Venema) > Subject: Re: [SC-L] What's the next tech problem to be solved in > software security? > To: Secure Coding > Message-ID: <20070606140148.C78DB1F3E96 at spike.porcupine.org> > Content-Type: text/plain; charset=US-ASCII > > Kenneth Van Wyk: > > What do you think is the _next_ technological problem for the > > software security community to solve? PLEASE, let's NOT go down the > > rat hole of senior management buy-in, use [this language], etc. (In > > fact, be warned that I will /dev/null any responses in this thread > > that go there.) So, what technology could/would make life easier for > > a secure software developer? Better source code analysis? High(er) > > level languages to help automate design reviews? Better security > > testing tools? To any of these, *better* in what ways, specifically? > > I've often said that programming should be a million times more > difficult, so that fewer people will be able to write code. > > However, that is not the direction where things evolve. Instead, > more and more people, with less and less experience, will be > "programming" computer systems. > > The challenge is to provide environments that allow less experienced > people to "program" computer systems without introducing gaping > holes or other unexpected behavior. > > An example is the popular PHP language. Writing code is comparatively > easy, but writing secure code is comparatively hard. I'm working on > the second part, but I don't expect miracles. > > The solution is likely to be a completely different programming > model. The spreadsheet is approaching its 30th birthday. That > is too long ago. > > Wietse > > > ------------------------------ > > Message: 5 > Date: Wed, 6 Jun 2007 10:21:48 -0400 > From: Kenneth Van Wyk > Subject: [SC-L] IBM to catch Watchfire security technology | Tech News > on ZDNet > To: Secure Coding > Message-ID: <235ACFD8-214B-4EF0-9EAD-FD429B19E763 at krvw.com> > Content-Type: text/plain; charset="us-ascii" > > FYI, yet another acquisition in the security world... This time it's > IBM buying up Watchfire (makers of AppScan). > > http://news.zdnet.com/2100-1009_22-6188999.html? > part=rss&tag=feed&subj=zdnet > > Kind of reminds me of something Chef Jacques Pepin said in an > interview with Terry Gross on NPR's "Fresh Air" some time back > (IIRC). He said when he was growing up, leftover food never went to > waste. They always took yesterday's leftovers and made something > completely new with it the next day -- NEVER simply re-heating it to > serve the same thing again, which always ends up being bland. By the > time the "last" of the real food was gone, nobody remembered what the > original recipe even was. That kept them interested in the food even > as it went through several transformations. > > Not sure why this comes to mind now... ;-\ > > Cheers, > > Ken > ----- > Kenneth R. van Wyk > KRvW Associates, LLC > http://www.KRvW.com > > > > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: smime.p7s > Type: application/pkcs7-signature > Size: 2454 bytes > Desc: not available > Url : > http://krvw.com/pipermail/sc-l/attachments/20070606/ec06c0f6/attachment-0001.bin > > ------------------------------ > > Message: 6 > Date: Wed, 6 Jun 2007 10:25:04 -0400 > From: "Michael S Hines" > Subject: [SC-L] FW: What's the next tech problem to be solved in > softwaresecurity? > To: > Message-ID: <003801c7a846$7a1b3910$4ea7d280 at central.purdue.lcl> > > Product integration - why have an editor, separate source code analizer, > separate 'lint' product, compiler, linker, object code analyzer, Fuzz > testing tools, etc... apart from marketing and revenue stream - it > doesn't help the developer any. > > Who tests the products that test the code? > > Mike H. > ----------------------------- > Michael S Hines > mshines at purdue.edu > > > > > > ------------------------------ > > Message: 7 > Date: Wed, 6 Jun 2007 10:30:34 -0400 > From: "Michael S Hines" > Subject: Re: [SC-L] What's the next tech problem to be solved in > softwaresecurity? > To: "'Secure Coding'" > Message-ID: <004301c7a847$3e9476d0$4ea7d280 at central.purdue.lcl> > > Distributed/parallel computing on multi-core processors. We already have > dual-core with quad-core on the near horizon. How will we develop > software > to use this new computing technology. In addition to code working > properly, > you now have the added complexity of code running over itself - the timing > and synchronization issues. > > It's not new - cluster computing has been around for a while and parallel > computing has been around for a while - but it hasn't been in desktop > level > machines until recently - which brings the issues of parallel computing to > a > whole new and large arena of developers and users. > > We're going to have difficulty getting it to work right, let alone > securely. > > > Mike H. > > > ----------------------------- > Michael S Hines > mshines at purdue.edu > > > > > ------------------------------ > > _______________________________________________ > SC-L mailing list > SC-L at securecoding.org > http://krvw.com/mailman/listinfo/sc-l > > > End of SC-L Digest, Vol 3, Issue 102 > ************************************ > -- THE INFORMATION CONTAINED IN THIS MESSAGE AND ANY ATTACHMENT MAY BE PRIVILEGED, CONFIDENTIAL, PROPRIETARY OR OTHERWISE PROTECTED FROM DISCLOSURE. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, copying or use of this message and any attachment is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and permanently delete it from your computer and destroy any printout thereof. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070607/c16c3f16/attachment-0001.html From secureCoding2dave at davearonson.com Thu Jun 7 08:52:39 2007 From: secureCoding2dave at davearonson.com (SC-L Subscriber Dave Aronson) Date: Thu, 07 Jun 2007 12:52:39 +0000 Subject: [SC-L] FW: What's the next tech problem to be solved in softwaresecurity? Message-ID: Michael S Hines [mailto:mshines at purdue.edu] writes: > Product integration - why have an editor, separate source code analizer, > separate 'lint' product, compiler, linker, object code analyzer, Fuzz > testing tools, etc... apart from marketing and revenue stream - it > doesn't help the developer any. It may. IME, "all-in-one" products usually integrate the pieces well. On the other claw, they don't tend to do most, if any, of the pieces well. On the third hand, "integration" doesn't have to mean they're no longer "separate". They can "play nicely together" if they adhere to relevant standards for interoperability. Witness how you can develop a lot of software without leaving Emacs, or Eclipse. However, I don't think that's all that relevant to software security in particular, as opposed to software development in general. -Dave -- Dave Aronson "Specialization is for insects." -Heinlein Work: http://www.davearonson.com/ Play: http://www.davearonson.net/ From secureCoding2dave at davearonson.com Thu Jun 7 08:59:12 2007 From: secureCoding2dave at davearonson.com (SC-L Subscriber Dave Aronson) Date: Thu, 07 Jun 2007 12:59:12 +0000 Subject: [SC-L] Perspectives on Code Scanning Message-ID: McGovern, James F \(HTSC, IT\) [mailto:James.McGovern at thehartford.com] writes: > the value of tools in this space are not really targeted at developers > but should be targeted at executives who care about overall quality and > security folks who care about risk. While developers are the ones to > remediate, the accountability for secure coding resides elsewhere. Sort of. There are multiple levels of accountability. As has been said here many times: the developers should be held accountable for producing secure software, but the management must give them the time and tools to do so, and management usually places far higher priority on things like ease of use and especially on time to market. > It would seem to be that tools that developers plug into their IDE should > be free since the value proposition should reside elsewhere. Many of these > tools provide "audit" functionality and allow enterprises to gain a view > into their portfolio that they previously had zero clue about and this is > where the value should reside. Heh. Yeah, I'd like to see some executive dashboard saying things like whose code currently generates the most warnings, especially if those warnings are from security analysis tools. B-) Of course, most executives won't bother looking at something that "techy", let alone understand the significance. B-( > If there is even an iota of agreement, wouldn't it be in the best interest > of folks here to get vendors to ignore developer specific licensing and > instead focus on enterprise concerns? Unfortunately, that often means that ANY license at all for it will be horrendously expensive, so that small shops are totally cut out. -Dave -- Dave Aronson "Specialization is for insects." -Heinlein Work: http://www.davearonson.com/ Play: http://www.davearonson.net/ From James.McGovern at thehartford.com Thu Jun 7 09:08:16 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Thu, 7 Jun 2007 09:08:16 -0400 Subject: [SC-L] Perspectives on Code Scanning In-Reply-To: <5e01c29a0706061559y432c0a2gbb524c97210b7b7e@mail.gmail.com> Message-ID: <773F863A6009244B87E6E866AFC7DB4603999BBC@AD1HFDEXC309.ad1.prod> While developers create the problems, I don't believe it is their fault. If you were to analyze the SDLC of a Fortune enterprise or even software vendor they all have a common problem in that the reward systems for developers are all about features and time to market where security is always a last minute thought and prioritized last. Developers in an outsourcing context would probably get it handed to them if they were to spend additional time writing secure code if the client didn't ask for it. I believe this is a management problem and that management needs tools to help them understand how big of a problem they create for others. Developers should be cut a break and be given tools to do their jobs properly and there shouldn't be expense incurred to do so. -----Original Message----- From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org]On Behalf Of Michael Silk Sent: Wednesday, June 06, 2007 7:00 PM To: McGovern, James F (HTSC, IT) Cc: Secure Coding Subject: Re: [SC-L] Perspectives on Code Scanning On 6/7/07, McGovern, James F (HTSC, IT) wrote: > I really hope that this email doesn't generate a ton of offline emails and hope that folks will > talk publicly. It has been my latest thinking that the value of tools in this space are not really > targeted at developers but should be targeted at executives who care about overall quality > and security folks who care about risk. While developers are the ones to remediate, the > accountability for secure coding resides elsewhere. and that's the problem. the accountability for insecure coding should reside with the developers. it's their fault [mostly]. > It would seem to be that tools that developers plug into their IDE should be free since the > value proposition should reside elsewhere. Many of these tools provide "audit" functionality > and allow enterprises to gain a view into their portfolio that they previously had zero clue > about and this is where the value should reside. > > If there is even an iota of agreement, wouldn't it be in the best interest of folks here to get > vendors to ignore developer specific licensing and instead focus on enterprise concerns? > > > ************************************************************************* > This communication, including attachments, is > for the exclusive use of addressee and may contain proprietary, > confidential and/or privileged information. If you are not the intended > recipient, any use, copying, disclosure, dissemination or distribution is > strictly prohibited. If you are not the intended recipient, please notify > the sender immediately by return e-mail, delete this communication and > destroy all copies. > ************************************************************************* > > > _______________________________________________ > Secure Coding mailing list (SC-L) SC-L at securecoding.org > List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l > List charter available at - http://www.securecoding.org/list/charter.php > SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) > as a free, non-commercial service to the software security community. > _______________________________________________ > -- mike 68 65 6c 6c 6f 20 74 6f 20 79 6f 75 2c 20 68 65 78 20 64 65 63 6f 64 65 72 2e _______________________________________________ Secure Coding mailing list (SC-L) SC-L at securecoding.org List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l List charter available at - http://www.securecoding.org/list/charter.php SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) as a free, non-commercial service to the software security community. _______________________________________________ From mshines at purdue.edu Thu Jun 7 09:13:19 2007 From: mshines at purdue.edu (Michael S Hines) Date: Thu, 7 Jun 2007 09:13:19 -0400 Subject: [SC-L] Perspectives on Code Scanning In-Reply-To: References: <235ACFD8-214B-4EF0-9EAD-FD429B19E763@krvw.com><773F863A6009244B87E6E866AFC7DB4603999BAA@AD1HFDEXC309.ad1.prod><5e01c29a0706061559y432c0a2gbb524c97210b7b7e@mail.gmail.com> Message-ID: <004f01c7a905$9e4b15c0$4ea7d280@central.purdue.lcl> > and that's the problem. the accountability for insecure coding should > reside with the developers. it's their fault [mostly]. The customers have most of the power, but the security community has collectively failed to educate customers on how to ask for more secure software. There are pockets of success, but a whole lot more could be done. --- the software should work and be secure (co-requirements). The user community has been educated to accept CTL-ALT-DEL and wait as an acceptable method of computing (and when things are really haywire - resintall the OS and loose all your work). We've got a long way to go for them to expect software to also be secure, since they now accept that it doesn't work right as SOP. Mike Hines mshines at purdue.edu From mouse at Rodents.Montreal.QC.CA Thu Jun 7 11:07:06 2007 From: mouse at Rodents.Montreal.QC.CA (der Mouse) Date: Thu, 7 Jun 2007 11:07:06 -0400 (EDT) Subject: [SC-L] Perspectives on Code Scanning In-Reply-To: <004f01c7a905$9e4b15c0$4ea7d280@central.purdue.lcl> References: <235ACFD8-214B-4EF0-9EAD-FD429B19E763@krvw.com><773F863A6009244B87E6E866AFC7DB4603999BAA@AD1HFDEXC309.ad1.prod><5e01c29a0706061559y432c0a2gbb524c97210b7b7e@mail.gmail.com> <004f01c7a905$9e4b15c0$4ea7d280@central.purdue.lcl> Message-ID: <200706071512.LAA29505@Sparkle.Rodents.Montreal.QC.CA> > --- the software should work and be secure (co-requirements). And already we have trouble, because this immediately raises not only the question "what does `work' mean?" but also "secure against what?". And answering that correctly requires input from the customer. Which we (TINW) won't have until customers recognize a need for security and get enough clue to know what they want to be secure against. And we all know how likely customers are to have clue (of just about any sort). (Actually, there are markets where the customer usually is clued. Oddly enough, they also tend to be markets wherein software isn't security Swiss cheese. :-) /~\ The ASCII der Mouse \ / Ribbon Campaign X Against HTML mouse at rodents.montreal.qc.ca / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B From Brian.A.Shea at bankofamerica.com Thu Jun 7 11:55:17 2007 From: Brian.A.Shea at bankofamerica.com (Shea, Brian A) Date: Thu, 07 Jun 2007 08:55:17 -0700 Subject: [SC-L] Perspectives on Code Scanning In-Reply-To: <200706071512.LAA29505@Sparkle.Rodents.Montreal.QC.CA> Message-ID: " And answering that correctly requires input from the customer. Which we (TINW) won't have until customers recognize a need for security and get enough clue to know what they want to be secure against." I can't exactly agree with this as there is a distinction (or should be IMO) between security features and security of the code. If you are asserting that the customer must tell you how many security features to implement based on their requirements. I'll agree 100%. Stuff like, "I don't need 3 types of military grade encryption added, I'm just doing recipe sorting." That kind of stuff. However if you are waiting around for the customer to request software that isn't subject to buffer overflows or can't be hijacked by input validation I think you are missing the point. That level of security comes out of the quality of the dev team, process, and company producing the software, not out of customer requirements. Customer expect this level of security implicitly just like they expect their toasters won't burst into flames every time they try to toast a bagel. They have learned to accept less by the craptastic quality of code from many vendors for many years, but would happily revert to the initial expectation of "I just want it to work and not provide additional risk to my organization". It remains (weakly) arguable that IF the customer really wanted secure software they'd have stronger legal agreements with suppliers that allow recourse and compensation for failed security, but that brings in yet another of the often technically clueless, Lawyers. I do believe that the focal point of getting change from where we stand now is at the feet of the customer, because it starts out as an economic problem first. If you pay more to get secure code or pay to buy weak security but fast to market code, then you somewhat get what you paid for. Vendors will produce the lowest quality for the highest price if the market lets them. PS - speaking of lawyers... :) The views expressed here are my own, not those of my company ... etc etc. -----Original Message----- From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org] On Behalf Of der Mouse Sent: Thursday, June 07, 2007 8:07 AM To: SC-L at securecoding.org Subject: Re: [SC-L] Perspectives on Code Scanning > --- the software should work and be secure (co-requirements). And already we have trouble, because this immediately raises not only the question "what does `work' mean?" but also "secure against what?". And answering that correctly requires input from the customer. Which we (TINW) won't have until customers recognize a need for security and get enough clue to know what they want to be secure against. And we all know how likely customers are to have clue (of just about any sort). (Actually, there are markets where the customer usually is clued. Oddly enough, they also tend to be markets wherein software isn't security Swiss cheese. :-) /~\ The ASCII der Mouse \ / Ribbon Campaign X Against HTML mouse at rodents.montreal.qc.ca / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B _______________________________________________ Secure Coding mailing list (SC-L) SC-L at securecoding.org List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l List charter available at - http://www.securecoding.org/list/charter.php SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) as a free, non-commercial service to the software security community. _______________________________________________ From mouse at Rodents.Montreal.QC.CA Thu Jun 7 13:03:21 2007 From: mouse at Rodents.Montreal.QC.CA (der Mouse) Date: Thu, 7 Jun 2007 13:03:21 -0400 (EDT) Subject: [SC-L] Perspectives on Code Scanning In-Reply-To: References: Message-ID: <200706071724.NAA01294@Sparkle.Rodents.Montreal.QC.CA> >> And answering that ["secure against what?"] correctly requires input >> from the customer. Which we (TINW) won't have until customers >> recognize a need for security and get enough clue to know what they >> want to be secure against. > If you are asserting that the customer must tell you how many > security features to implement based on their requirements. I'll > agree 100%. Stuff like, "I don't need 3 types of military grade > encryption added, I'm just doing recipe sorting." That kind of > stuff. Well, I was thinking more like, "needs to withstand potentially hostile user input on this input channel, but not on that one". As a simple example, a webserver usually needs to withstand potentially hostile input from the network, but not from its config file. (If it *can* handle a hostile config file without crashing, great. But if there's a choice to be made, I'd put the brain cycles into hardening the network interface before the config-file interface.) /~\ The ASCII der Mouse \ / Ribbon Campaign X Against HTML mouse at rodents.montreal.qc.ca / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B From arian.evans at anachronic.com Thu Jun 7 16:20:41 2007 From: arian.evans at anachronic.com (Arian J. Evans) Date: Thu, 7 Jun 2007 13:20:41 -0700 Subject: [SC-L] Perspectives on Code Scanning In-Reply-To: <773F863A6009244B87E6E866AFC7DB4603999BAA@AD1HFDEXC309.ad1.prod> References: <235ACFD8-214B-4EF0-9EAD-FD429B19E763@krvw.com> <773F863A6009244B87E6E866AFC7DB4603999BAA@AD1HFDEXC309.ad1.prod> Message-ID: On 6/6/07, McGovern, James F (HTSC, IT) wrote: > > I really hope that this email doesn't generate a ton of offline emails and > hope that folks will talk publicly. It has been my latest thinking that the > value of tools in this space are not really targeted at developers but > should be targeted at executives who care about overall quality and security > folks who care about risk. While developers are the ones to remediate, the > accountability for secure coding resides elsewhere. Nice email James. These conversations are always enlightening. The responses tend to illuminate who has what experience types, between (a) university software experience, (b) government software-project experience, and (c) enterprise software experience. That makes a lot of difference in these discussions. Most enterprise /and/ small ISV developers I know, the good ones, either take pride in their quality of code and self-manage security issues, or are fast and productive and don't give a crap. And why should they give a crap? It's not their problem domain. The armchair software-security pundits: "Shame on you. You didn't properly transcode these Hebrew and Latin code pages to avoid XSS attacks, dummy." The fast effective developer: "I delivered your functional specifications to the letter, on time, and the transcoding engine is FAST. What's the problem here?" It would seem to be that tools that developers plug into their IDE should be > free since the value proposition should reside elsewhere. Many of these > tools provide "audit" functionality and allow enterprises to gain a view > into their portfolio that they previously had zero clue about and this is > where the value should reside. So of tools that plug into the IDE, let's distinguish between *source-code* and *run-time* "scanners". Source scanners I suspect will die a slow death, because sooner or later they are going to integrate into the IDE and per-seat value will plummet. They will be a "given feature" of IDEs. Sooner or later the IDE vendors will either buy & integrate, or come out with their own tools. Take Compuware, the quality is pretty low, but if I were a betting man I would bet that the bar gets set at "low-quality included-functionality" rather than set at "$50k per-seat amazing quality source code analzyer". I believe this is different from run-time or human design analysis, largely because of different business case. For example: I have some clients that really like their Fortify tools, but they really don't like all the time and critical development resources it takes to use them, and how expensive they are. Cool tools, sexy technology, but they are hard to align with the business case and business goals for software development on multiple levels. Run-time analysis is different. Run-time "scanner" IDE-plugins as a concept is laughable, at best. Seriously -- who thinks that run-time scanners for developers is a viable idea? Run-time analysis's strengths are different too. It is easier at run-time to discover and analyze fundamental design flaws (note: I did not say "find them all", but definitely "find indication of them"), and to identify emergent behaviors. At best IDE plugins can perform some form of unit testing, but beyond verification of basic data-typing and IFOF/IFOE type issues, meh, not very useful. Not to mentioned entirely outside of the IDE problem-domain. Conclusion: two sets of problems, source analysis, and run-time analysis. I think there is a good-enough bar for source analysis that will get set fairly low and wind up baked into IDEs... similar to the Viz Studio /GS switch. I've already seen a pretty effective one that will probably wind up in one of the next releases of Visual Studio. It's actually better than some of the commercial offerings today, and baked in. Spot on James. Human source analysis for Design Pattern issues, I think, this will always be needed. Same for run-time analysis. Different problem-domains they solve for though. If there is even an iota of agreement, wouldn't it be in the best interest > of folks here to get vendors to ignore developer specific licensing and > instead focus on enterprise concerns? So some marketing guy one day grokked "there are only n-number of security people per organization that scan run scanners, but there are Multiplier(n * 33.5) number of developers per organization....wow! We could sell all those developers scanners!!! Ka-Ching." That sort of thinking is pretty cool, leads to some cool sales growth graphs and profitability projections. Need board-room meeting material, fits perfectly into that circular-arrow graph everyone has with "TCO" and "Lifecycle Management" and "ROI" and how it all loops together and saves everyone big bags of money after they spend up front. This circular "lifecycle-management" graph is labeled Security in the SDLC and shows how you can buy a lot of developer/IDE-scanners and have even the cheapest developers scan their code up front, and you'll save big in the long run by avoiding those expensive security audits, compliance issues, and having your smart (expensive) developers have to go back and fix all those holes. Ka-Ching. I haven't heard the business plans of any of the source-code-scanner vendors in a year or two...but back then, I didn't hear one that aligned with any enterprise software development or business plan reality that I have experienced. My thinking here could be off. I thought WAFs were a ridiculous idea but I'm starting to see very effective use-cases for them, despite the ridiculous claims and hyperbole that come from the WAF-vendor marketing nonsense. Anyway, I think you are spot on James, and I think if you look at Gartner's recent punditry you'll find some similar notions expressed. Chow, -- Arian Evans software security stuff -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070607/1f260607/attachment.html From gem at cigital.com Thu Jun 7 16:08:27 2007 From: gem at cigital.com (Gary McGraw) Date: Thu, 7 Jun 2007 16:08:27 -0400 Subject: [SC-L] JSON of Ajax -or- Little Web 2.0 bugs versus big Web 2.0 flaws: darkreading Message-ID: <41945506397C0C4886A8C5BFF089B5CAA11CCA76@va-mailhub.cigital.com> Hi sc-l, This month's installment of my darkreading.com column focuses some much needed attention on the bug/flaw distinction that I think we need to pay more attention to. In particular, many of you will recall the discussion of Javascript hijacking that Brian Chess posted to this list in March. I found that work an interesting generalization of the Gmail/JSON problem. However, I think that instead of focusing so much attention on the particulars of Javascript transport we need to focus on ***trust boundaries***. Read all about it here: http://www.darkreading.com/document.asp?doc_id=125931 Please crosspost responses here and to the darkreading website. I am interested in your opinion of the current "bug parade" problem we have in software security. gem company www.cigital.com podcast www.cigital.com/silverbullet blog www.cigital.com/justiceleague book www.swsec.com From James.McGovern at thehartford.com Thu Jun 7 17:08:26 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Thu, 7 Jun 2007 17:08:26 -0400 Subject: [SC-L] Perspectives on Code Scanning In-Reply-To: Message-ID: <773F863A6009244B87E6E866AFC7DB4603999BC6@AD1HFDEXC309.ad1.prod> It was bothering me for a long time that I didn't find evidence of any enterprise of size wanting to even purchase "seats" for source code scanning by developers yet I find tons of evidence that folks want to have deeper audits and have the tools in the hands of a few. One cannot ignore the importance of the thud factor when the report comes out especially in organizations that are led by process weenies who aren't really technical. I do believe that enterprises would entertain tools that enabled secure design and figure out a way to apply security patterns such as what is outlined in the Core Security Patterns book. Tools that could somehow automate architecture/design reviews would be of immense value as well. One interesting thought I have is that more developers may care about secure coding if there were statistics that compared American developers to those employed in other countries. Right now, outsourcing is an unpopular topic where folks respond based on how they feel. Imagine the press if folks could factually prove that folks in other countries increase security defects... -----Original Message----- From: arian.evans at gmail.com [mailto:arian.evans at gmail.com]On Behalf Of Arian J. Evans Sent: Thursday, June 07, 2007 4:21 PM To: McGovern, James F (HTSC, IT); Secure Coding Subject: Re: [SC-L] Perspectives on Code Scanning On 6/6/07, McGovern, James F (HTSC, IT) < James.McGovern at thehartford.com> wrote: I really hope that this email doesn't generate a ton of offline emails and hope that folks will talk publicly. It has been my latest thinking that the value of tools in this space are not really targeted at developers but should be targeted at executives who care about overall quality and security folks who care about risk. While developers are the ones to remediate, the accountability for secure coding resides elsewhere. Nice email James. These conversations are always enlightening. The responses tend to illuminate who has what experience types, between (a) university software experience, (b) government software-project experience, and (c) enterprise software experience. That makes a lot of difference in these discussions. Most enterprise /and/ small ISV developers I know, the good ones, either take pride in their quality of code and self-manage security issues, or are fast and productive and don't give a crap. And why should they give a crap? It's not their problem domain. The armchair software-security pundits: "Shame on you. You didn't properly transcode these Hebrew and Latin code pages to avoid XSS attacks, dummy." The fast effective developer: "I delivered your functional specifications to the letter, on time, and the transcoding engine is FAST. What's the problem here?" It would seem to be that tools that developers plug into their IDE should be free since the value proposition should reside elsewhere. Many of these tools provide "audit" functionality and allow enterprises to gain a view into their portfolio that they previously had zero clue about and this is where the value should reside. So of tools that plug into the IDE, let's distinguish between *source-code* and *run-time* "scanners". Source scanners I suspect will die a slow death, because sooner or later they are going to integrate into the IDE and per-seat value will plummet. They will be a "given feature" of IDEs. Sooner or later the IDE vendors will either buy & integrate, or come out with their own tools. Take Compuware, the quality is pretty low, but if I were a betting man I would bet that the bar gets set at "low-quality included-functionality" rather than set at "$50k per-seat amazing quality source code analzyer". I believe this is different from run-time or human design analysis, largely because of different business case. For example: I have some clients that really like their Fortify tools, but they really don't like all the time and critical development resources it takes to use them, and how expensive they are. Cool tools, sexy technology, but they are hard to align with the business case and business goals for software development on multiple levels. Run-time analysis is different. Run-time "scanner" IDE-plugins as a concept is laughable, at best. Seriously -- who thinks that run-time scanners for developers is a viable idea? Run-time analysis's strengths are different too. It is easier at run-time to discover and analyze fundamental design flaws (note: I did not say "find them all", but definitely "find indication of them"), and to identify emergent behaviors. At best IDE plugins can perform some form of unit testing, but beyond verification of basic data-typing and IFOF/IFOE type issues, meh, not very useful. Not to mentioned entirely outside of the IDE problem-domain. Conclusion: two sets of problems, source analysis, and run-time analysis. I think there is a good-enough bar for source analysis that will get set fairly low and wind up baked into IDEs... similar to the Viz Studio /GS switch. I've already seen a pretty effective one that will probably wind up in one of the next releases of Visual Studio. It's actually better than some of the commercial offerings today, and baked in. Spot on James. Human source analysis for Design Pattern issues, I think, this will always be needed. Same for run-time analysis. Different problem-domains they solve for though. If there is even an iota of agreement, wouldn't it be in the best interest of folks here to get vendors to ignore developer specific licensing and instead focus on enterprise concerns? So some marketing guy one day grokked "there are only n-number of security people per organization that scan run scanners, but there are Multiplier(n * 33.5) number of developers per organization....wow! We could sell all those developers scanners!!! Ka-Ching." That sort of thinking is pretty cool, leads to some cool sales growth graphs and profitability projections. Need board-room meeting material, fits perfectly into that circular-arrow graph everyone has with "TCO" and "Lifecycle Management" and "ROI" and how it all loops together and saves everyone big bags of money after they spend up front. This circular "lifecycle-management" graph is labeled Security in the SDLC and shows how you can buy a lot of developer/IDE-scanners and have even the cheapest developers scan their code up front, and you'll save big in the long run by avoiding those expensive security audits, compliance issues, and having your smart (expensive) developers have to go back and fix all those holes. Ka-Ching. I haven't heard the business plans of any of the source-code-scanner vendors in a year or two...but back then, I didn't hear one that aligned with any enterprise software development or business plan reality that I have experienced. My thinking here could be off. I thought WAFs were a ridiculous idea but I'm starting to see very effective use-cases for them, despite the ridiculous claims and hyperbole that come from the WAF-vendor marketing nonsense. Anyway, I think you are spot on James, and I think if you look at Gartner's recent punditry you'll find some similar notions expressed. Chow, -- Arian Evans software security stuff ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070607/d6777e5e/attachment-0001.html From gunnar at arctecgroup.net Thu Jun 7 18:44:37 2007 From: gunnar at arctecgroup.net (Gunnar Peterson) Date: Thu, 07 Jun 2007 17:44:37 -0500 Subject: [SC-L] Perspectives on Code Scanning In-Reply-To: <5e01c29a0706061559y432c0a2gbb524c97210b7b7e@mail.gmail.com> Message-ID: > and that's the problem. the accountability for insecure coding should > reside with the developers. it's their fault [mostly]. I find it fascinating that an industry like security, that has delivered a grand total of TWO working mechanisms[1] over several decades of effort, is so willing to throw others under the bus. Methinks they doth protesteth too much and all that... Instead it would be more productive for security to roll up their collective sleeves and help build better tools and services. 1. Get proactively involved in the SDL, tomorrow if not sooner: http://www.cigital.com/justiceleague/2007/05/24/sdlc-on-the-shoulders-of-gia nts/ 2. Make sure that involvement is pragmatic, and helps the enterprise make the hard decisions to improve things instead of standard IT Security CYA: http://1raindrop.typepad.com/1_raindrop/2007/06/cost_effective_.html -gp 1. "one being the reference monitor and the other crypto" blaine burnham From michaelslists at gmail.com Thu Jun 7 18:49:43 2007 From: michaelslists at gmail.com (Michael Silk) Date: Fri, 8 Jun 2007 08:49:43 +1000 Subject: [SC-L] Perspectives on Code Scanning In-Reply-To: References: <5e01c29a0706061559y432c0a2gbb524c97210b7b7e@mail.gmail.com> Message-ID: <5e01c29a0706071549y934a4cw8b340a16d52b97d6@mail.gmail.com> On 6/8/07, Gunnar Peterson wrote: > > and that's the problem. the accountability for insecure coding should > > reside with the developers. it's their fault [mostly]. > > I find it fascinating that an industry like security, that has delivered a > grand total of TWO working mechanisms[1] over several decades of effort, is > so willing to throw others under the bus. Methinks they doth protesteth too > much and all that... what? i'm a programmer. i'm not laying the blame 'elsewhere' or throwing someone else under the bus. it's pretty obvious, though, that 'secure' programming should be part of the general knowledge and practice that we do. just like we should all understand algorithms and linked lists and how to use an array, we should know how to do it securely. pretty basic stuff. > Instead it would be more productive for security to roll up their collective > sleeves and help build better tools and services. yeah well that's what you've been doing and it's nice and profitable, of course, but it isn't really helping a whole lot if it requires so many external 'things'. customer education, customer care, management care, cost to business, and so on. i mean yes, you have a profitable industry, so well done. but there are better ways to solve the problem. > 1. Get proactively involved in the SDL, tomorrow if not sooner: > http://www.cigital.com/justiceleague/2007/05/24/sdlc-on-the-shoulders-of-gia > nts/ > > 2. Make sure that involvement is pragmatic, and helps the enterprise make > the hard decisions to improve things instead of standard IT Security CYA: > http://1raindrop.typepad.com/1_raindrop/2007/06/cost_effective_.html > > -gp > > 1. "one being the reference monitor and the other crypto" blaine burnham > > > -- mike 68 65 6c 6c 6f 20 74 6f 20 79 6f 75 2c 20 68 65 78 20 64 65 63 6f 64 65 72 2e From coley at linus.mitre.org Thu Jun 7 20:23:56 2007 From: coley at linus.mitre.org (Steven M. Christey) Date: Thu, 7 Jun 2007 20:23:56 -0400 (EDT) Subject: [SC-L] What's the next tech problem to be solved in software security? In-Reply-To: <20070606140148.C78DB1F3E96@spike.porcupine.org> References: <20070606140148.C78DB1F3E96@spike.porcupine.org> Message-ID: On Wed, 6 Jun 2007, Wietse Venema wrote: > more and more people, with less and less experience, will be > "programming" computer systems. > > The challenge is to provide environments that allow less experienced > people to "program" computer systems without introducing gaping > holes or other unexpected behavior. I completely agree with this. This is a grand challenge for software security, so maybe it's not the NEXT problem. There's a lot of tentative work in this area - safe strings in C, SafeInt, StackGuard/FormatGuard/etc., non-executable data segments, security patterns, and so on. But these are "bolt-on" methods on top of the same old languages or technologies, and some of these require developer awareness. I know there's been some work in "secure languages" but I'm not up-to-date on it. More modern languages advertise security but aren't necessarily catch-alls. I remember one developer telling me how his application used Ruby on Rails, so he was confident he was secure, but it didn't stop his app from having an obvious XSS in core functionality. > An example is the popular PHP language. Writing code is comparatively > easy, but writing secure code is comparatively hard. I'm working on > the second part, but I don't expect miracles. PHP is an excellent example, because it's clearly lowered the bar for programming and has many features that are outright dangerous, where it's understandable how the careless/clueless programmer could have introduced the issue. Web programming in general, come to think of it. - Steve From bugtraq at cgisecurity.net Thu Jun 7 21:10:05 2007 From: bugtraq at cgisecurity.net (bugtraq at cgisecurity.net) Date: Thu, 7 Jun 2007 21:10:05 -0400 (EDT) Subject: [SC-L] What's the next tech problem to be solved in software In-Reply-To: Message-ID: <20070608011005.52210.qmail@cgisecurity.net> > > > On Wed, 6 Jun 2007, Wietse Venema wrote: > > > more and more people, with less and less experience, will be > > "programming" computer systems. > > > > The challenge is to provide environments that allow less experienced > > people to "program" computer systems without introducing gaping > > holes or other unexpected behavior. > > I completely agree with this. This is a grand challenge for software > security, so maybe it's not the NEXT problem. There's a lot of tentative > work in this area - safe strings in C, SafeInt, > StackGuard/FormatGuard/etc., non-executable data segments, security > patterns, and so on. But these are "bolt-on" methods on top of the same > old languages or technologies, and some of these require developer > awareness. I know there's been some work in "secure languages" but I'm > not up-to-date on it. You may find this interesting as this is a subject I feel strongly about myself. http://www.qasec.com/cycle/securityframeworks.shtml - Robert http://www.cgisecurity.com/ http://www.qasec.com/ From livshits at cs.stanford.edu Thu Jun 7 21:44:51 2007 From: livshits at cs.stanford.edu (Benjamin Livshits) Date: Thu, 7 Jun 2007 18:44:51 -0700 Subject: [SC-L] What's the next tech problem to be solved in software security? In-Reply-To: References: <20070606140148.C78DB1F3E96@spike.porcupine.org> Message-ID: <83c013520706071844i75af0556jc507ee1dfe62635d@mail.gmail.com> I've recently been working on providing better secure programming defaults. There's a great opportunity for doing so for applications written on top of frameworks/libraries. See our paper " Towards Security by Construction for Web 2.0 Applications" at a recent W2SP workshop. -Ben On 6/7/07, Steven M. Christey wrote: > > On Wed, 6 Jun 2007, Wietse Venema wrote: > > > more and more people, with less and less experience, will be > > "programming" computer systems. > > > > The challenge is to provide environments that allow less experienced > > people to "program" computer systems without introducing gaping > > holes or other unexpected behavior. > > I completely agree with this. This is a grand challenge for software > security, so maybe it's not the NEXT problem. There's a lot of tentative > work in this area - safe strings in C, SafeInt, > StackGuard/FormatGuard/etc., non-executable data segments, security > patterns, and so on. But these are "bolt-on" methods on top of the same > old languages or technologies, and some of these require developer > awareness. I know there's been some work in "secure languages" but I'm > not up-to-date on it. > > More modern languages advertise security but aren't necessarily > catch-alls. I remember one developer telling me how his application used > Ruby on Rails, so he was confident he was secure, but it didn't stop his > app from having an obvious XSS in core functionality. > > > An example is the popular PHP language. Writing code is comparatively > > easy, but writing secure code is comparatively hard. I'm working on > > the second part, but I don't expect miracles. > > PHP is an excellent example, because it's clearly lowered the bar for > programming and has many features that are outright dangerous, where it's > understandable how the careless/clueless programmer could have introduced > the issue. Web programming in general, come to think of it. > > - Steve > _______________________________________________ > Secure Coding mailing list (SC-L) SC-L at securecoding.org > List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l > List charter available at - http://www.securecoding.org/list/charter.php > SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) > as a free, non-commercial service to the software security community. > _______________________________________________ > -- Thanks, -Ben From stephen at twisteddelight.org Fri Jun 8 03:53:43 2007 From: stephen at twisteddelight.org (Stephen de Vries) Date: Fri, 8 Jun 2007 09:53:43 +0200 Subject: [SC-L] What's the next tech problem to be solved in software security? In-Reply-To: References: <20070606140148.C78DB1F3E96@spike.porcupine.org> Message-ID: On 8 Jun 2007, at 02:23, Steven M. Christey wrote: > > More modern languages advertise security but aren't necessarily > catch-alls. At the same time, the improvements in security made by managed code (e.g. the JRE and .NET runtimes) for example, should not be understated. The fact that apps written in these languages are not susceptible to buffer overflow issues is a HUGE improvement. And for this particular vulnerability these languages are effectively catch- alls. (As long as all your code is managed and the runtime implementation itself doesn't contain BO's). The fine grained access control model of the Java runtime (I guess .NET has the same thing?) is also a big win. This is not an add on framework, but is built right into the language. As Ben and Robert have pointed out, we're likely to see similar improvements when developers make more use of frameworks for implementing application tiers. It's a lot harder to introduce XSS issues when using modern MVC frameworks (e.g. .NET's, JSF, WebWork) than cobling a view layer together using JSPs and servlets. It would still be possible for developers to introduce vulnerabilities when using these frameworks, but it's a lot more difficult. > I remember one developer telling me how his application used > Ruby on Rails, so he was confident he was secure, but it didn't > stop his > app from having an obvious XSS in core functionality. It's ironic that RoR is well known for it's policy of preferring sensible defaults instead of extensive configuration, yet you have to explicitly perform HTML encoding of data included in a web page. > PHP is an excellent example, because it's clearly lowered the bar for > programming and has many features that are outright dangerous, > where it's > understandable how the careless/clueless programmer could have > introduced > the issue. Web programming in general, come to think of it. There are also examples of languages/frameworks that get it right, such as JBoss Seam where both SQL injection and XSS are difficult to introduce by default. It's easier to build secure applications when the building blocks themselves provide security by default. Developers will adopt frameworks because they make programming easier - if these frameworks also prevent common security vulnerabilities then that's a big win for more secure applications. Where security pro's can help out is in pointing out poor security defaults in frameworks and getting the owners to change them. Change once, benefit everywhere. regards, Stephen "the glass is half full" de Vries From thesp0nge at gmail.com Fri Jun 8 05:39:40 2007 From: thesp0nge at gmail.com (Paolo Perego) Date: Fri, 8 Jun 2007 11:39:40 +0200 Subject: [SC-L] Perspectives on Code Scanning In-Reply-To: <773F863A6009244B87E6E866AFC7DB4603999BAA@AD1HFDEXC309.ad1.prod> References: <235ACFD8-214B-4EF0-9EAD-FD429B19E763@krvw.com> <773F863A6009244B87E6E866AFC7DB4603999BAA@AD1HFDEXC309.ad1.prod> Message-ID: On 6/6/07, McGovern, James F (HTSC, IT) wrote: > I really hope that this email doesn't generate a ton of offline emails and hope that folks will talk publicly. It has been my latest thinking that the value of tools in this space are not really targeted at developers but should be targeted at executives who care about overall quality and security folks who care about risk. While developers are the ones to remediate, the accountability for secure coding resides elsewhere. Hi there, I found this thread very interesting. It's true that developers are the ones who remediate to code insecurity and executives care about how much effort has to be spent over closing branches. Indeed I think the two categories needs a tool approaching the same problem (tell if a code follows security best practices or not) showing results in 2 "different" languages. Developers need how to know how to fix their code. Executives need to know how much these fixes cost, who will attend them and in how many time fixes will be committed. *imho* vendor has to follow developer licensing... since developer do knows ho to write code but he has to be helped in writing it in a secure way. Safe coding is a concern for both developers than executives. My 2 euro cents Ciao ciao thesp0nge -- Owasp Orizon leader orizon.sourceforge.net From ljknews at mac.com Fri Jun 8 08:51:50 2007 From: ljknews at mac.com (ljknews) Date: Fri, 8 Jun 2007 08:51:50 -0400 Subject: [SC-L] What's the next tech problem to be solved in software security? In-Reply-To: References: <20070606140148.C78DB1F3E96@spike.porcupine.org> Message-ID: At 9:53 AM +0200 6/8/07, Stephen de Vries wrote: > On 8 Jun 2007, at 02:23, Steven M. Christey wrote: >> >> More modern languages advertise security but aren't necessarily >> catch-alls. > > At the same time, the improvements in security made by managed code > (e.g. the JRE and .NET runtimes) for example, should not be > understated. The fact that apps written in these languages are not > susceptible to buffer overflow issues is a HUGE improvement. An improvement only for those who have previously chosen lowest common denominator languages. Immunity from buffer overflows has been around for 30 years. The fact that some set of developers choose to ignore the languages that provide it does not make the next environment that provides it an improvement for the industry. -- Larry Kilgallen From leichter_jerrold at emc.com Fri Jun 8 11:03:12 2007 From: leichter_jerrold at emc.com (Leichter, Jerry) Date: Fri, 8 Jun 2007 11:03:12 -0400 (EDT) Subject: [SC-L] What's the next tech problem to be solved in software security? In-Reply-To: References: <20070606140148.C78DB1F3E96@spike.porcupine.org> Message-ID: On Thu, 7 Jun 2007, Steven M. Christey wrote: | On Wed, 6 Jun 2007, Wietse Venema wrote: | | > more and more people, with less and less experience, will be | > "programming" computer systems. | > | > The challenge is to provide environments that allow less experienced | > people to "program" computer systems without introducing gaping | > holes or other unexpected behavior. | | I completely agree with this. This is a grand challenge for software | security, so maybe it's not the NEXT problem. There's a lot of | tentative work in this area - safe strings in C, SafeInt, | StackGuard/FormatGuard/etc., non-executable data segments, security | patterns, and so on. But these are "bolt-on" methods on top of the | same old languages or technologies, and some of these require | developer awareness. I know there's been some work in "secure | languages" but I'm not up-to-date on it. | | More modern languages advertise security but aren't necessarily | catch-alls. I remember one developer telling me how his application | used Ruby on Rails, so he was confident he was secure, but it didn't | stop his app from having an obvious XSS in core functionality. | | > An example is the popular PHP language. Writing code is comparatively | > easy, but writing secure code is comparatively hard. I'm working on | > the second part, but I don't expect miracles. | | PHP is an excellent example, because it's clearly lowered the bar for | programming and has many features that are outright dangerous, where | it's understandable how the careless/clueless programmer could have | introduced the issue. Web programming in general, come to think of | it. I think this all misses the essential point. Safe strings, stack guards, non-executable data segments - these are all solutions to yesterday's problems. Yes, they are still important; yes, the solutions aren't yet complete. But the emerging problems are exemplified by your comment about XSS. The real issue that we still have not internalized is that the "field of operations" has changed dramatically. We still think of a "program" as something that runs on some box somewhere. The "programming model" is the hardware and software inside that box. "Security" is about making sure that that box does what it's supposed to do - no more and no less. Everything that crosses the boundary of that box is "just I/O". But increasingly that boundary is dissolving. Yes, much of the Web 2.0 rhetoric is overblown, but much of what it's selling you - the applications that live in the network, the storage that lives in the network, etc. - is already here to one degree or another. An XSS attack cannot even be described within the confines of a single box. It's an attack against a distributed "program" running on a distribute "machine" consisting of at least three different "boxes", each doing exactly what it was designed to do. Nothing we do to the hardware in the individual boxes only will make the slightest difference at this higher level of abstraction. Nothing we do in programming languages that only deal with a single box will help. We don't today even have any formalisms for describing these distributed programs - much less safe ways for building them. So I would say that the grand challenge today is to move on. Start thinking about how to secure the global network - not the wires, not the individual boxes, not the API's, but the emergent properties of the whole thing. This will require very different thinking. Some things are clear: We gained safety within the individual boxes only by giving up some freedom. Self-modifying code? No thanks. Unstructured control flow? We can do better. Everything is just bits? No, everything has a type. And so on. Meanwhile, on the network side, what do we have? Untyped byte streams; mobile code; anything-goes paste-ups; no effective, enforced distinction between between code and data; glorification of any hacky means at all that gets something out there *yesterday*. The techniques we are applying with increasing success inside the box today - hardware enforcement of executability constraints and stack overflows; type-safe, memory-safe languages; static analysis; and so on - are ideas that go back 30 years. What's making them practical today is (a) years of refinement on the basic ideas; (b) much faster hardware. I can't recall any really new idea in this area in a *long* time. When it comes to these new problems, we're not much further along than we were in the early 1960's for traditional programming. We don't have any real models for the computation process, so no starting point for defining safe subsets. We don't even know what "safe" means for a global computation: At least for a program I've run on my box, I can in principle write down what I expect it to do and not do. For a "program" using resources on my box and a bunch of other boxes, many belonging to parties I know nothing about and who generally don't know each other either - who even in principle can write down the correctness properties? The only thing we as field have to offer in this situation is interface specs - which capture way too little. -- Jerry From James.McGovern at thehartford.com Fri Jun 8 13:01:15 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Fri, 8 Jun 2007 13:01:15 -0400 Subject: [SC-L] Perspectives on Code Scanning In-Reply-To: Message-ID: <773F863A6009244B87E6E866AFC7DB4603999BD0@AD1HFDEXC309.ad1.prod> In a previous thread someone appropriately commented that perspectives in this space differ depending upon whether you are a software vendor, government customer or enterprise. I do not disagree that developers need to know how to fix their code. What I am saying is that tools to assist developers in writing better could should be free. Your quote "*imho* vendor has to follow developer licensing" is where I think it will harm the goals of secure coding at large. Consider the trend within the industry that tools for software development are essentially becoming free. No one pays for IDEs (rare exceptions) when things like Eclipse and Visual Studio have free versions. Enterprise folks however will pay lots of money for tools in the auditing space that help them to quantify risk. The ability to scan large multiple code bases is a different product/problem than scanning while writing code in an IDE. I am saying that more money could be had if folks focus on the first and not the later. Vendors who get it twisted by focusing on the number of developers are dillusional and should ask themselves why aren't but a select few of any enterprise pervasively deploying tools to developers. Give away the developer tools in the same way Microsoft does and you will accelerate your potential sales from the bottom up. Not all sales within places are driven top down... -----Original Message----- From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org]On Behalf Of Paolo Perego Sent: Friday, June 08, 2007 5:40 AM To: McGovern, James F (HTSC, IT) Cc: Secure Coding Subject: Re: [SC-L] Perspectives on Code Scanning Hi there, I found this thread very interesting. It's true that developers are the ones who remediate to code insecurity and executives care about how much effort has to be spent over closing branches. Indeed I think the two categories needs a tool approaching the same problem (tell if a code follows security best practices or not) showing results in 2 "different" languages. Developers need how to know how to fix their code. Executives need to know how much these fixes cost, who will attend them and in how many time fixes will be committed. *imho* vendor has to follow developer licensing... since developer do knows ho to write code but he has to be helped in writing it in a secure way. Safe coding is a concern for both developers than executives. My 2 euro cents Ciao ciao thesp0nge -- Owasp Orizon leader orizon.sourceforge.net _______________________________________________ Secure Coding mailing list (SC-L) SC-L at securecoding.org List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l List charter available at - http://www.securecoding.org/list/charter.php SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) as a free, non-commercial service to the software security community. _______________________________________________ ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* From mouse at Rodents.Montreal.QC.CA Sat Jun 9 08:33:18 2007 From: mouse at Rodents.Montreal.QC.CA (der Mouse) Date: Sat, 9 Jun 2007 08:33:18 -0400 (EDT) Subject: [SC-L] What's the next tech problem to be solved in software security? In-Reply-To: References: <20070606140148.C78DB1F3E96@spike.porcupine.org> Message-ID: <200706091235.IAA04305@Sparkle.Rodents.Montreal.QC.CA> > Immunity from buffer overflows has been around for 30 years. The > fact that some set of developers choose to ignore the languages that > provide it does not make the next environment that provides it an > improvement for the industry. I'd disagree - if it means a significant increase in people actually using such environments (languages, whatever), then it's an improvement for the industry, even if it's no theoretical advance. /~\ The ASCII der Mouse \ / Ribbon Campaign X Against HTML mouse at rodents.montreal.qc.ca / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B From ljknews at mac.com Sat Jun 9 11:12:24 2007 From: ljknews at mac.com (ljknews) Date: Sat, 9 Jun 2007 11:12:24 -0400 Subject: [SC-L] What's the next tech problem to be solved in software security? In-Reply-To: <200706091235.IAA04305@Sparkle.Rodents.Montreal.QC.CA> References: <20070606140148.C78DB1F3E96@spike.porcupine.org> <200706091235.IAA04305@Sparkle.Rodents.Montreal.QC.CA> Message-ID: At 8:33 AM -0400 6/9/07, der Mouse wrote: >> Immunity from buffer overflows has been around for 30 years. The >> fact that some set of developers choose to ignore the languages that >> provide it does not make the next environment that provides it an >> improvement for the industry. > > I'd disagree - if it means a significant increase in people actually > using such environments (languages, whatever), then it's an > improvement for the industry, even if it's no theoretical advance. A law which outlawed unsafe languages could also be effective, but it would not solve a "tech problem", which is the basis for this thread. At best these are solutions to "social problems" or "education problems". -- Larry Kilgallen From dcrocker at eschertech.com Sat Jun 9 16:51:04 2007 From: dcrocker at eschertech.com (David Crocker) Date: Sat, 9 Jun 2007 21:51:04 +0100 Subject: [SC-L] FW: What's the next tech problem to be solvedin softwaresecurity? In-Reply-To: Message-ID: <110e01c7aad7$e5bbd010$6501a8c0@escheradmin> IMO the real problem is that software developers are still focussed on programming, not on specification. We should leave programming to computers, instead of wasting money paying people to do it and hoping that the resulting system meets user requirements, including some semblance of security. If instead we pay people to perform the more skilled tasks of establishing requirements and specifying the systems to meet them, and use computers to generate programs that meet the specifications, then such things as freedom from buffer overflow come free of charge. By "freedom" here, I don't mean the sort of freedom that comes in "safe" languages such as Ada and Java - in which the buffer overflow raises an exception, probably requiring a restart of the subsystem - but rather, genuine immunity. Other security issues (like freedom from SQL injection and cross-site scripting attacks) may not always come free but are relatively easy to add to the specification, as long as people are aware of the need to do so. It amazes me that software development techniques have progressed so little in the last 50 years. In the 1950s we had assembler. This was followed in the 1960s by "high level programming languages". Nearly 50 years later we have... slightly better "high level programming languages". For example, one of the major languages in use today is C, which is more than 30 years old. The only significant advance since the invention of C (and Algol before it) is object-oriented programming - a welcome improvement, but far short of the paradigm shift that is desperately needed. Let's stop focussing on the minute detail of the steps that a computer needs to execute in order to solve a software problem, and turn our attention instead to describing what the program is supposed to achieve - including its resistance to hostile input. Until we do so, we will be doing little more than patching up outdated technology. David Crocker, Escher Technologies Ltd. Consultancy, contracting and tools for dependable software development www.eschertech.com -----Original Message----- From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org] On Behalf Of SC-L Subscriber Dave Aronson Sent: 07 June 2007 13:53 To: SC-L at securecoding.org Subject: Re: [SC-L] FW: What's the next tech problem to be solvedin softwaresecurity? Michael S Hines [mailto:mshines at purdue.edu] writes: > Product integration - why have an editor, separate source code analizer, > separate 'lint' product, compiler, linker, object code analyzer, Fuzz > testing tools, etc... apart from marketing and revenue stream - it > doesn't help the developer any. It may. IME, "all-in-one" products usually integrate the pieces well. On the other claw, they don't tend to do most, if any, of the pieces well. On the third hand, "integration" doesn't have to mean they're no longer "separate". They can "play nicely together" if they adhere to relevant standards for interoperability. Witness how you can develop a lot of software without leaving Emacs, or Eclipse. However, I don't think that's all that relevant to software security in particular, as opposed to software development in general. -Dave -- Dave Aronson "Specialization is for insects." -Heinlein Work: http://www.davearonson.com/ Play: http://www.davearonson.net/ _______________________________________________ Secure Coding mailing list (SC-L) SC-L at securecoding.org List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l List charter available at - http://www.securecoding.org/list/charter.php SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) as a free, non-commercial service to the software security community. _______________________________________________ From ljknews at mac.com Sun Jun 10 07:12:23 2007 From: ljknews at mac.com (ljknews) Date: Sun, 10 Jun 2007 07:12:23 -0400 Subject: [SC-L] FW: What's the next tech problem to be solvedin softwaresecurity? In-Reply-To: <110e01c7aad7$e5bbd010$6501a8c0@escheradmin> References: <110e01c7aad7$e5bbd010$6501a8c0@escheradmin> Message-ID: At 9:51 PM +0100 6/9/07, David Crocker wrote: > If instead we pay people to perform the more skilled tasks of establishing > requirements and specifying the systems to meet them, and use computers to > generate programs that meet the specifications, then such things as freedom from > buffer overflow come free of charge. By "freedom" here, I don't mean the sort of > freedom that comes in "safe" languages such as Ada and Java - in which the > buffer overflow raises an exception, probably requiring a restart of the > subsystem In my experience with Ada 83, the potential for buffer overflow is detected at compile time. When I get an unexpected runtime exception, it is almost always at the interface to another language. -- Larry Kilgallen From rcs at cert.org Sun Jun 10 09:16:42 2007 From: rcs at cert.org (Robert C. Seacord) Date: Sun, 10 Jun 2007 09:16:42 -0400 Subject: [SC-L] FW: What's the next tech problem to be solvedin softwaresecurity? In-Reply-To: References: <110e01c7aad7$e5bbd010$6501a8c0@escheradmin> Message-ID: <466BF9BA.5000906@cert.org> ljknews, Yes, it is virtually impossible to get a serious runtime error in an Ada program. For example: http://www.youtube.com/watch?v=kYUrqdUyEpI rCs > At 9:51 PM +0100 6/9/07, David Crocker wrote: > > >> If instead we pay people to perform the more skilled tasks of establishing >> requirements and specifying the systems to meet them, and use computers to >> generate programs that meet the specifications, then such things as freedom from >> buffer overflow come free of charge. By "freedom" here, I don't mean the sort of >> freedom that comes in "safe" languages such as Ada and Java - in which the >> buffer overflow raises an exception, probably requiring a restart of the >> subsystem >> > > In my experience with Ada 83, the potential for buffer overflow is detected > at compile time. When I get an unexpected runtime exception, it is almost > always at the interface to another language. > From ljknews at mac.com Sun Jun 10 09:31:09 2007 From: ljknews at mac.com (ljknews) Date: Sun, 10 Jun 2007 09:31:09 -0400 Subject: [SC-L] FW: What's the next tech problem to be solvedin softwaresecurity? In-Reply-To: <466BF9BA.5000906@cert.org> References: <110e01c7aad7$e5bbd010$6501a8c0@escheradmin> <466BF9BA.5000906@cert.org> Message-ID: At 9:16 AM -0400 6/10/07, Robert C. Seacord wrote: > ljknews, > > Yes, it is virtually impossible to get a serious runtime error in an Ada > program. For example: > > http://www.youtube.com/watch?v=kYUrqdUyEpI It amazes me that someone in a discussion of software security would point to a page that requires Javascript to be viewed. But I see the topic of the page was Ariane 5, a well known case of running software in an environment other than that specified in the design of the software. That is a management issue - my comments were about buffer overflows, as were the comments of David Crocker which I quoted. If you have secret knowledge that the Ariane 5 failure was related to buffer overflows, please share it. Not reading what was going on, in fact, was the cause of the Ariene 5 failure. >> At 9:51 PM +0100 6/9/07, David Crocker wrote: >> >> >>> If instead we pay people to perform the more skilled tasks of establishing >>> requirements and specifying the systems to meet them, and use computers to >>> generate programs that meet the specifications, then such things as freedom from >>> buffer overflow come free of charge. By "freedom" here, I don't mean the sort of >>> freedom that comes in "safe" languages such as Ada and Java - in which the >>> buffer overflow raises an exception, probably requiring a restart of the >>> subsystem >>> >> >> In my experience with Ada 83, the potential for buffer overflow is detected >> at compile time. When I get an unexpected runtime exception, it is almost >> always at the interface to another language. >> -- Larry Kilgallen From ken at krvw.com Sun Jun 10 09:37:57 2007 From: ken at krvw.com (Kenneth Van Wyk) Date: Sun, 10 Jun 2007 09:37:57 -0400 Subject: [SC-L] What's the next tech problem to be solved in software security? In-Reply-To: References: <110e01c7aad7$e5bbd010$6501a8c0@escheradmin> Message-ID: First off, many thanks to all who've contributed to this thread. The responses and range of opinions I find fascinating, and I hope that others have found value in it as well. Great stuff, keep it coming. That said, I see us going towards that favorite of rat-holes here, namely the "my programming language is better than yours, nyeah!" path. Let's please avoid that. I'm confident that we've seen it enough times to know that it ends with no clear winners (but plenty of losers). Cheers, Ken ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2454 bytes Desc: not available Url : http://krvw.com/pipermail/sc-l/attachments/20070610/658e660a/attachment.bin From alphonce at buffalo.edu Sun Jun 10 11:31:13 2007 From: alphonce at buffalo.edu (Carl Alphonce) Date: Sun, 10 Jun 2007 11:31:13 -0400 Subject: [SC-L] Perspectives on Code Scanning Message-ID: <2811.1181489473@buffalo.edu> [Apologies for this reply being a bit behind the discussion - I originally submitted it from a different e-mail account than the one I subscribed with, and so it sailed off to /dev/null.] On Wed Jun 6 18:59 , "Michael Silk" michaelslists at gmail.com> sent: >On 6/7/07, McGovern, James F (HTSC, IT) James.McGovern at thehartford.com> wrote: >> I really hope that this email doesn't generate a ton of offline emails and hope that folks will >> talk publicly. It has been my latest thinking that the value of tools in this space are not really >> targeted at developers but should be targeted at executives who care about overall quality >> and security folks who care about risk. While developers are the ones to remediate, the >> accountability for secure coding resides elsewhere. > >and that's the problem. the accountability for insecure coding should >reside with the developers. it's their fault [mostly]. I started to look through the ACM Code Of Ethics (COE) to see what it says about this. ACM has a general COE: http://www.acm.org/constitution/code.html and one for Software Engineering and Professional Practice: http://www.acm.org/serving/se/code.htm I glanced through them fairly quickly, but neither appears to specifically address secure coding. Reading through both it seems to me that the spirit of both of these COE documents is that everyone involved in the production of software (including developers and managers) has an obligation to ensure the quality/reliability/safety of the software. (It would be interesting to look at other professional organizations' COEs too.) This makes sense to me. If only developers are held responsible, then it is too easy for management to make the work environment difficult for developers who sweat code security, and then wash their hands of it. Similarly, if only the managers are responsible, the developers can take shortcuts to meet deadlines and avoid responsibility if the software breaks. If everybody has a stake in the security of the software, maybe it will happen. From rcs at cert.org Sun Jun 10 11:31:07 2007 From: rcs at cert.org (Robert C. Seacord) Date: Sun, 10 Jun 2007 11:31:07 -0400 Subject: [SC-L] FW: What's the next tech problem to be solvedin softwaresecurity? In-Reply-To: References: <110e01c7aad7$e5bbd010$6501a8c0@escheradmin> <466BF9BA.5000906@cert.org> Message-ID: <466C193B.3010504@cert.org> The Ariane 5 disaster was due to a variety of software development failures: process, reuse, design, and coding. the coding error was an uncaught exception resulting from a floating point to integer conversion error. My only point was that choice of language does not in and of itself protect you from security/safety failures. rCs > At 9:16 AM -0400 6/10/07, Robert C. Seacord wrote: > >> ljknews, >> >> Yes, it is virtually impossible to get a serious runtime error in an Ada >> program. For example: >> >> http://www.youtube.com/watch?v=kYUrqdUyEpI >> > > It amazes me that someone in a discussion of software security would point > to a page that requires Javascript to be viewed. > > But I see the topic of the page was Ariane 5, a well known case of running > software in an environment other than that specified in the design of the > software. > > That is a management issue - my comments were about buffer overflows, > as were the comments of David Crocker which I quoted. If you have > secret knowledge that the Ariane 5 failure was related to buffer > overflows, please share it. > > Not reading what was going on, in fact, was the cause of the Ariene 5 > failure. > > >>> At 9:51 PM +0100 6/9/07, David Crocker wrote: >>> >>> >>> >>>> If instead we pay people to perform the more skilled tasks of establishing >>>> requirements and specifying the systems to meet them, and use computers to >>>> generate programs that meet the specifications, then such things as freedom from >>>> buffer overflow come free of charge. By "freedom" here, I don't mean the sort of >>>> freedom that comes in "safe" languages such as Ada and Java - in which the >>>> buffer overflow raises an exception, probably requiring a restart of the >>>> subsystem >>>> >>>> >>> In my experience with Ada 83, the potential for buffer overflow is detected >>> at compile time. When I get an unexpected runtime exception, it is almost >>> always at the interface to another language. >>> >>> > > From BlueBoar at thievco.com Sun Jun 10 13:31:01 2007 From: BlueBoar at thievco.com (Blue Boar) Date: Sun, 10 Jun 2007 10:31:01 -0700 Subject: [SC-L] Harvard vs. von Neumann In-Reply-To: References: <110e01c7aad7$e5bbd010$6501a8c0@escheradmin> <466BF9BA.5000906@cert.org> Message-ID: <466C3555.10208@thievco.com> ljknews wrote: > It amazes me that someone in a discussion of software security would point > to a page that requires Javascript to be viewed. I'm on a couple of mailing list with Dr. Solly, an early antivirus researcher. he likes to talk about this idea of "Grannyx" an (hypothetical) operating system for Grannies that just does what they need, doesn't have security problems due to simplicity and missing unneeded features, and doesn't mix data and code. Then I point to the Web. Like it or not, the Web doesn't work right without Javascript now. The world has encoded von Neumann architecture into the standards. Ryan From thesp0nge at gmail.com Sun Jun 10 15:02:27 2007 From: thesp0nge at gmail.com (Paolo Perego) Date: Sun, 10 Jun 2007 21:02:27 +0200 Subject: [SC-L] Perspectives on Code Scanning In-Reply-To: <773F863A6009244B87E6E866AFC7DB4603999BD0@AD1HFDEXC309.ad1.prod> References: <773F863A6009244B87E6E866AFC7DB4603999BD0@AD1HFDEXC309.ad1.prod> Message-ID: James, and all list please apologies for my bad english usage. Looking at your reply I understood I espressed my thoghuts playing bad with words. By saying that vendors has to follow developer licensing, I intended that in my opinion is good that vendors still build tool to aid developers not only executives as some mail in this thread would suggest. I do agree that tool designed to assist developers in writing secure code has to be free and open. I'm writing one of this tool, indeed it's a framework to build such tools but it's not an important different in this topic. I think that an open source approach is the winning here not just for saving money in buying tools but for the widespread knowledge shared among developers and security experts writing the tool itself. Sorry for my firmer mail that doesn't show correctly what is my opinion. The framework for code review tool I'm writing is an owasp project, hosted at sourceforge: http://orizon.sourceforge.net Ciao ciao thesp0nge On 6/8/07, McGovern, James F (HTSC, IT) wrote: > In a previous thread someone appropriately commented that perspectives in this space differ depending upon whether you are a software vendor, government customer or enterprise. I do not disagree that developers need to know how to fix their code. What I am saying is that tools to assist developers in writing better could should be free. > > Your quote "*imho* vendor has to follow developer licensing" is where I think it will harm the goals of secure coding at large. Consider the trend within the industry that tools for software development are essentially becoming free. No one pays for IDEs (rare exceptions) when things like Eclipse and Visual Studio have free versions. > > Enterprise folks however will pay lots of money for tools in the auditing space that help them to quantify risk. The ability to scan large multiple code bases is a different product/problem than scanning while writing code in an IDE. I am saying that more money could be had if folks focus on the first and not the later. Vendors who get it twisted by focusing on the number of developers are dillusional and should ask themselves why aren't but a select few of any enterprise pervasively deploying tools to developers. > > Give away the developer tools in the same way Microsoft does and you will accelerate your potential sales from the bottom up. Not all sales within places are driven top down... > > -----Original Message----- > From: sc-l-bounces at securecoding.org > [mailto:sc-l-bounces at securecoding.org]On Behalf Of Paolo Perego > Sent: Friday, June 08, 2007 5:40 AM > To: McGovern, James F (HTSC, IT) > Cc: Secure Coding > Subject: Re: [SC-L] Perspectives on Code Scanning > > Hi there, I found this thread very interesting. > It's true that developers are the ones who remediate to code > insecurity and executives care about how much effort has to be spent > over closing branches. Indeed I think the two categories needs a tool > approaching the same problem (tell if a code follows security best > practices or not) showing results in 2 "different" languages. > > Developers need how to know how to fix their code. Executives need to > know how much these fixes cost, who will attend them and in how many > time fixes will be committed. > > *imho* vendor has to follow developer licensing... since developer do > knows ho to write code but he has to be helped in writing it in a > secure way. > > Safe coding is a concern for both developers than executives. > My 2 euro cents > > Ciao ciao > thesp0nge > -- > Owasp Orizon leader > orizon.sourceforge.net > _______________________________________________ > Secure Coding mailing list (SC-L) SC-L at securecoding.org > List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l > List charter available at - http://www.securecoding.org/list/charter.php > SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) > as a free, non-commercial service to the software security community. > _______________________________________________ > > > ************************************************************************* > This communication, including attachments, is > for the exclusive use of addressee and may contain proprietary, > confidential and/or privileged information. If you are not the intended > recipient, any use, copying, disclosure, dissemination or distribution is > strictly prohibited. If you are not the intended recipient, please notify > the sender immediately by return e-mail, delete this communication and > destroy all copies. > ************************************************************************* > > > _______________________________________________ > Secure Coding mailing list (SC-L) SC-L at securecoding.org > List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l > List charter available at - http://www.securecoding.org/list/charter.php > SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) > as a free, non-commercial service to the software security community. > _______________________________________________ > -- Owasp Orizon leader orizon.sourceforge.net From seba at deleersnyder.eu Sun Jun 10 15:20:47 2007 From: seba at deleersnyder.eu (Sebastien Deleersnyder) Date: Sun, 10 Jun 2007 21:20:47 +0200 Subject: [SC-L] challenge: 4 hour What_Developers_Should_Know_on_Web_Application_Security Message-ID: <20070610192042.26990D4066@hoboe1bl1.telenet-ops.be> Hi, I am working out a proposal on this OWASP Education track: http://www.owasp.org/index.php/Education_Track:_What_Developers_Should_Know_ on_Web_Application_Security Assume this company that is convinced that they need to do something on web application security. They decide to send their developers on a 4h course on web application security. Limitation: the course can not be tuned to the company risk profile or development environment. I know this should be done, but amuse me on this one. What would you add as minimal topics to cover? Thx, Seba From mouse at Rodents.Montreal.QC.CA Sun Jun 10 23:56:02 2007 From: mouse at Rodents.Montreal.QC.CA (der Mouse) Date: Sun, 10 Jun 2007 23:56:02 -0400 (EDT) Subject: [SC-L] Harvard vs. von Neumann In-Reply-To: <466C3555.10208@thievco.com> References: <110e01c7aad7$e5bbd010$6501a8c0@escheradmin> <466BF9BA.5000906@cert.org> <466C3555.10208@thievco.com> Message-ID: <200706110358.XAA03304@Sparkle.Rodents.Montreal.QC.CA> > Like it or not, the Web doesn't work right without Javascript now. Depends on what you mean by "the Web" and "work right". Fortunately, for at least some people's values of those, this is not true. /~\ The ASCII der Mouse \ / Ribbon Campaign X Against HTML mouse at rodents.montreal.qc.ca / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B From crispin at novell.com Mon Jun 11 02:32:54 2007 From: crispin at novell.com (Crispin Cowan) Date: Sun, 10 Jun 2007 23:32:54 -0700 Subject: [SC-L] Harvard vs. von Neumann In-Reply-To: <466C3555.10208@thievco.com> References: <110e01c7aad7$e5bbd010$6501a8c0@escheradmin> <466BF9BA.5000906@cert.org> <466C3555.10208@thievco.com> Message-ID: <466CEC96.5050500@novell.com> IMHO, all this hand wringing is for naught. To get systems that never fail requires total correctness. Turing tells us that total correctness is not decidable, so you simply never will get it completely, you will only get approximations at best. Having humans write specifications and leaving programming to computers is similarly a lost cause. At a sufficiently high level, that is asking the computer to map NP to P, and that isn't going to happen. At a less abstract level, you are just asking the human to code in a higher level language. This will help, but will not eliminate the problem that you just cannot have total correctness. Programmable Turing machines are great, they do wonderful things, but total correctness for software simply isn't feasible. People need to understand that programs are vastly more complex than any other class of man made artifact ever, , and there fore can never achieve the reliability of, say, steam engines. The complexity of software is beginning to approach living organisms. People at least understand that living things are not totally predictable or reliable, and s**t will happen, and so you cannot count on a critter or a plant to do exactly what you want. When computer complexity clearly exceeds organism complexity, perhaps people will come to recognize software for what it is; beyond definitive analyzability. We can never solve this problem. At best we can make it better. Crispin -- Crispin Cowan, Ph.D. http://crispincowan.com/~crispin/ Director of Software Engineering http://novell.com AppArmor Chat: irc.oftc.net/#apparmor From Jason.Bennett at thales-esecurity.com Mon Jun 11 07:27:24 2007 From: Jason.Bennett at thales-esecurity.com (Bennett, Jason) Date: Mon, 11 Jun 2007 12:27:24 +0100 Subject: [SC-L] What's the next tech problem to be solved in software Message-ID: Lots of interesting points been raised in thread so here a few points I've picked out: - It's the developer's fault: A few comments were made that the lack of security lies at the door of the developers because they implement insecure code. True to an extent but I don't think you can blame developers unless they been educated in the first place. The situation here seems to be slowly improving but is far from ideal. What I would like to see is more general education and also more integration of technologies into the standard low-level development environment that helps educate a developer into what they are doing wrong. So explaining why it's wrong and secondly automating the stopping of them doing it wrong. - The low-level problems have already been solved: I always find this difficult as has been rightly pointed out the problem has been solved from a technical point of view for some time now. Putting a 'finger in the air' you might suppose that 95% of low-level problems (i.e. not inherent in the design) would just disappear. Why doesn't this happen - difficult answer but the inertia built up by certain languages and the developers is not something that is going to change over night and vendors are going to start producing the right 'tools' unless there is a demand for them from developers. To borrow a phrase from someone else you don't get fired for choosing C/C++ as your implementation language. - How to specify security: This I think is the biggest challenge facing security at present. As has already been stated the low-level problems have been solved but at the higher levels (requirements, design etc.) the security arena makes the software development arena look advanced. We hardly have the techniques of defining the security policy of a system and just as importantly how are these integrated into the software development life-cycle as part of it and not considered just an add on? I don't have the answer to what the challenge is let alone how you achieve it but how you express 'security' within a software design and how you make this and integral part of the software design and implementation seem fundamental in the stages to make software 'secure'. Some of the attempts I have seen although interesting always seem to have the flaw in that they are viewed as almost a separate process to the software development. There are many technologies that a software developer takes as second nature as part of their toolbox but security doesn't seem to be one that features highly. Consider the environment before printing this mail. "Thales e-Security Limited is incorporated in England and Wales with company registration number 2518805. Its registered office is located at 2 Dashwood Lang Road, The Bourne Business Park, Addlestone, Nr. Weybridge, Surrey KT15 2NX. The information contained in this e-mail is confidential. It may also be privileged. It is only intended for the stated addressee(s) and access to it by any other person is unauthorised. If you are not an addressee or the intended addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this e-mail. Such unauthorised use may be unlawful. If you have received this e-mail in error please delete it (and all copies) from your system, please also inform us immediately on +44 (0)1844 201800 or email postmaster at thales-esecurity.com. Commercial matters detailed or referred to in this e-mail are subject to a written contract signed for and on behalf of Thales e-Security Limited". From dcrocker at eschertech.com Mon Jun 11 08:14:57 2007 From: dcrocker at eschertech.com (David Crocker) Date: Mon, 11 Jun 2007 13:14:57 +0100 Subject: [SC-L] Harvard vs. von Neumann In-Reply-To: <466CEC96.5050500@novell.com> Message-ID: <12f301c7ac22$20a63ee0$6501a8c0@escheradmin> Crispin Cowen wrote: >> IMHO, all this hand wringing is for naught. To get systems that never fail requires total correctness. Turing tells us that total correctness is not decidable, so you simply never will get it completely, you will only get approximations at best. << What Turing actually tells us is that it is possible to construct programs that may be correct but whose correctness is not decidable. This is a far cry from saying that it is not possible to build well-structured programs whose correctness _is_ decidable. >> Having humans write specifications and leaving programming to computers is similarly a lost cause. At a sufficiently high level, that is asking the computer to map NP to P, and that isn't going to happen. << I don't understand what you are getting at here. If you are saying that humans can map NP to P, but that it is impossible in principle to have computers do the same thing, then that sounds like a religious argument to me. If you are saying that you can write a specification that is unsatisfiable (or whose satisfiability is undecidable) and that therefore cannot be implemented as code, then this applies equally to human programmers. Incidentally, I have heard of a few cases in which programming teams have wasted effort trying to implement sets of requirements which, when the requirements were formalised, turned out to be contradictory. >> At a less abstract level, you are just asking the human to code in a higher level language. This will help, but will not eliminate the problem that you just cannot have total correctness. << The higher the level in which the human "codes", the less mistakes there are to be made, assuming equal familiarity with the language etc. And you are just repeating the same fallacious proposition by saying "you cannot have total correctness". Had you instead said "you can never be sure that you have established that the requirements capture the users' needs", I would have had to agree with you. >> Programmable Turing machines are great, they do wonderful things, but total correctness for software simply isn't feasible. People need to understand that programs are vastly more complex than any other class of man made artifact ever, , and there fore can never achieve the reliability of, say, steam engines. << Same old flawed proposition. And, in software, the behaviour of the components we build programs out of (i.e. machine instructions) are much more well-defined and reliable than the materials that steam engines are built out of. >> The complexity of software is beginning to approach living organisms. People at least understand that living things are not totally predictable or reliable, and s**t will happen, and so you cannot count on a critter or a plant to do exactly what you want. When computer complexity clearly exceeds organism complexity, perhaps people will come to recognize software for what it is; beyond definitive analyzability. << Sure, if you develop a complex software system without a good design process that carefully refines requirements to specifications to design to code - and propagates changes in requirements down the chain too - then it may be impossible to meaningfully analyse that software. That is why my approach is to formalise requirements, write specifications that are proven to satisfy them, then refine the specification to code - automatically where possible, but with manual assistance where e.g. a data structure or an algorithm needs to be made more efficient. >> We can never solve this problem. At best we can make it better. << We can never solve the problem of being certain that we have got the requirements right. I think that one implication for security is that there may be whole new classes of threats out there that nobody has thought of yet, and which we therefore can't refer to in the requirements. But we _can_ solve the problem of ensuring that software meets the stated requirements, as long as these are well-defined. David Crocker, Escher Technologies Ltd. Consultancy, contracting and tools for dependable software development www.eschertech.com From gem at cigital.com Mon Jun 11 09:00:51 2007 From: gem at cigital.com (Gary McGraw) Date: Mon, 11 Jun 2007 09:00:51 -0400 Subject: [SC-L] Harvard vs. von Neumann In-Reply-To: <466CEC96.5050500@novell.com> Message-ID: <41945506397C0C4886A8C5BFF089B5CAA11CCC50@va-mailhub.cigital.com> Hi all, Though I don't quite understand computer science theory in the same way that Crispin does, I do think it is worth pointing out that there are two major kinds of security defects in software: bugs at the implementation level, and flaws at the design/spec level. I think Crispin is driving at that point. If we assumed perfection at the implementation level (through better languages, say), then we would end up solving roughly 50% of the software security problem. Clearly we need to make some progress at the architecture/design level to attain reasonable levels of software security. I don't hold out much hope for formal approaches to design (though I continue to watch the UK types with interest). Our approach to analysis and design at the architecture level at Cigital is ad hoc and based on experience, but it works. (For more on that, see "Software Security" Chapter 5 which I think you can get a free copy of if you poke around here [registration required] http://searchsoftwarequality.techtarget.com/qna/0,289202,sid92_gci1187360,00.html.) Perfect languages won't solve the software security problem. gem company www.cigital.com podcast www.cigital.com/silverbullet blog www.cigital.com/justiceleague book www.swsec.com -----Original Message----- From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org] On Behalf Of Crispin Cowan Sent: Monday, June 11, 2007 2:33 AM To: Blue Boar Cc: SC-L at securecoding.org Subject: Re: [SC-L] Harvard vs. von Neumann IMHO, all this hand wringing is for naught. To get systems that never fail requires total correctness. Turing tells us that total correctness is not decidable, so you simply never will get it completely, you will only get approximations at best. Having humans write specifications and leaving programming to computers is similarly a lost cause. At a sufficiently high level, that is asking the computer to map NP to P, and that isn't going to happen. At a less abstract level, you are just asking the human to code in a higher level language. This will help, but will not eliminate the problem that you just cannot have total correctness. Programmable Turing machines are great, they do wonderful things, but total correctness for software simply isn't feasible. People need to understand that programs are vastly more complex than any other class of man made artifact ever, , and there fore can never achieve the reliability of, say, steam engines. The complexity of software is beginning to approach living organisms. People at least understand that living things are not totally predictable or reliable, and s**t will happen, and so you cannot count on a critter or a plant to do exactly what you want. When computer complexity clearly exceeds organism complexity, perhaps people will come to recognize software for what it is; beyond definitive analyzability. We can never solve this problem. At best we can make it better. Crispin -- Crispin Cowan, Ph.D. http://crispincowan.com/~crispin/ Director of Software Engineering http://novell.com AppArmor Chat: irc.oftc.net/#apparmor _______________________________________________ Secure Coding mailing list (SC-L) SC-L at securecoding.org List information, subscriptions, etc - http://krvw.com/mailman/listinfo/sc-l List charter available at - http://www.securecoding.org/list/charter.php SC-L is hosted and moderated by KRvW Associates, LLC (http://www.KRvW.com) as a free, non-commercial service to the software security community. _______________________________________________ From mouse at Rodents.Montreal.QC.CA Mon Jun 11 10:03:49 2007 From: mouse at Rodents.Montreal.QC.CA (der Mouse) Date: Mon, 11 Jun 2007 10:03:49 -0400 (EDT) Subject: [SC-L] Harvard vs. von Neumann In-Reply-To: <12f301c7ac22$20a63ee0$6501a8c0@escheradmin> References: <12f301c7ac22$20a63ee0$6501a8c0@escheradmin> Message-ID: <200706111419.KAA04655@Sparkle.Rodents.Montreal.QC.CA> > What Turing actually tells us is that it is possible to construct > programs that may be correct but whose correctness is not decidable. > This is a far cry from saying that it is not possible to build > well-structured programs whose correctness _is_ decidable. True as far as it goes - but don't forget that you also haven't shown the latter to be possible for programs of nontrivial size. > The higher the level in which the human "codes", the [fewer] mistakes > there are to be made, assuming equal familiarity with the language > etc. ...but the more complex the "compiler", and the greater the likelihood of bugs in it causing the resulting binary to fail to implement what the human wrote. > And you are just repeating the same fallacious proposition by saying > "you cannot have total correctness". It simply has not been formally established. This does not make it wrong, just unproven. (Personally, I don't think it is wrong.) > Had you instead said "you can never be sure that you have established > that the requirements capture the users' needs", I would have had to > agree with you. That too. There are three places where problems can appear: (1) the specifications can express something other than what the users want/need; (2) the coders can make mistakes translating those specifications to code; (3) the translation from code to binary can introduce bugs. (No, step (2) cannot be eliminated; at most you can push around who "the coders" are. Writing specifications in a formal, compilable language is just another form of programming.) I don't think any of these steps can ever be rendered flawless, except possibly when they are vacuous (as, for exmaple, step 3 is when coders write in machine code). >> People need to understand that programs are vastly more complex than >> any other class of man made artifact ever, and there fore can never >> achieve the reliability of, say, steam engines. > Same old flawed proposition. Same old *unproven* proposition. Again, that doesn't make it wrong (and, again, I don't think it *is* wrong). >> We can never solve this problem. At best we can make it better. > We can never solve the problem of being certain that we have got the > requirements right. We also can never solve the problem of being certain the conversion from high-level language ("specifications", even) to executable code is right, either. Ultimately, everything comes down to "a lot of smart people have looked at this and think it's right" - whether "this" is code, a proof, prover software, whatever - and people make mistakes. We're still finding bugs in C compilers. Do you really think the (vastly more complex) compilers for very-high-level specification languages will be any better? /~\ The ASCII der Mouse \ / Ribbon Campaign X Against HTML mouse at rodents.montreal.qc.ca / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B From ljknews at mac.com Mon Jun 11 10:46:19 2007 From: ljknews at mac.com (ljknews) Date: Mon, 11 Jun 2007 10:46:19 -0400 Subject: [SC-L] Harvard vs. von Neumann In-Reply-To: <41945506397C0C4886A8C5BFF089B5CAA11CCC50@va-mailhub.cigital.com> References: <41945506397C0C4886A8C5BFF089B5CAA11CCC50@va-mailhub.cigital.com> Message-ID: At 9:00 AM -0400 6/11/07, Gary McGraw wrote: > If we assumed perfection at the implementation level (through better > languages, say), then we would end up solving roughly 50% of the > software security problem. > > Clearly we need to make some progress at the architecture/design level > to attain reasonable levels of software security. > Perfect languages won't solve the software security problem. And neither will perfect designs. Both approaches needed. But a large percentage of failures that result from weak languages are already categorized in standard terms like "buffer overflow". -- Larry Kilgallen From James.McGovern at thehartford.com Mon Jun 11 10:50:38 2007 From: James.McGovern at thehartford.com (McGovern, James F (HTSC, IT)) Date: Mon, 11 Jun 2007 10:50:38 -0400 Subject: [SC-L] What's the next tech problem to be solved in softwaresecurity? References: <110e01c7aad7$e5bbd010$6501a8c0@escheradmin> Message-ID: <773F863A6009244B87E6E866AFC7DB460381BC90@AD1HFDEXC309.ad1.prod> The next problem to be solved is moving higher up the food chain by teaching architects secure architecture principles. Would love to see Gary McGraw tackle this subject in his next book... ________________________________ From: sc-l-bounces at securecoding.org on behalf of Kenneth Van Wyk Sent: Sun 6/10/2007 9:37 AM To: Secure Coding Subject: Re: [SC-L] What's the next tech problem to be solved in softwaresecurity? First off, many thanks to all who've contributed to this thread. The responses and range of opinions I find fascinating, and I hope that others have found value in it as well. Great stuff, keep it coming. That said, I see us going towards that favorite of rat-holes here, namely the "my programming language is better than yours, nyeah!" path. Let's please avoid that. I'm confident that we've seen it enough times to know that it ends with no clear winners (but plenty of losers). Cheers, Ken ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070611/6c67f7f1/attachment.html From gem at cigital.com Mon Jun 11 11:32:45 2007 From: gem at cigital.com (Gary McGraw) Date: Mon, 11 Jun 2007 11:32:45 -0400 Subject: [SC-L] What's the next tech problem to be solved in softwaresecurity? In-Reply-To: <773F863A6009244B87E6E866AFC7DB460381BC90@AD1HFDEXC309.ad1.prod> Message-ID: <41945506397C0C4886A8C5BFF089B5CAA11CCCD8@va-mailhub.cigital.com> There is one on the drawing boards about this, but don't hold your breath! I am working on it with Fabio Arciniegas. Exploiting Online Games is first, and that comes out in July. gem company www.cigital.com podcast www.cigital.com/silverbullet blog www.cigital.com/justiceleague book www.swsec.com ________________________________ From: sc-l-bounces at securecoding.org [mailto:sc-l-bounces at securecoding.org] On Behalf Of McGovern, James F (HTSC, IT) Sent: Monday, June 11, 2007 10:51 AM Cc: sc-l at securecoding.org Subject: Re: [SC-L] What's the next tech problem to be solved in softwaresecurity? The next problem to be solved is moving higher up the food chain by teaching architects secure architecture principles. Would love to see Gary McGraw tackle this subject in his next book... ________________________________ From: sc-l-bounces at securecoding.org on behalf of Kenneth Van Wyk Sent: Sun 6/10/2007 9:37 AM To: Secure Coding Subject: Re: [SC-L] What's the next tech problem to be solved in softwaresecurity? First off, many thanks to all who've contributed to this thread. The responses and range of opinions I find fascinating, and I hope that others have found value in it as well. Great stuff, keep it coming. That said, I see us going towards that favorite of rat-holes here, namely the "my programming language is better than yours, nyeah!" path. Let's please avoid that. I'm confident that we've seen it enough times to know that it ends with no clear winners (but plenty of losers). Cheers, Ken ----- Kenneth R. van Wyk SC-L Moderator KRvW Associates, LLC http://www.KRvW.com ************************************************************************* This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and/or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this communication and destroy all copies. ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://krvw.com/pipermail/sc-l/attachments/20070611/055e99e3/attachment-0001.html From dcrocker at eschertech.com Mon Jun 11 11:38:42 2007 From: dcrocker at eschertech.com (David Crocker) Date: Mon, 11 Jun 2007 16:38:42 +0100 Subject: [SC-L] Harvard vs. von Neumann In-Reply-To: <200706111419.KAA04655@Sparkle.Rodents.Montreal.QC.CA> Message-ID: <132a01c7ac3e$97a37410$6501a8c0@escheradmin> der Mouse wrote: >> > What Turing actually tells us is that it is possible to construct > programs that may be correct but whose correctness is not decidable. > This is a far cry from saying that it is not possible to build > well-structured programs whose correctness _is_ decidable. True as far as it goes - but don't forget that you also haven't shown the latter to be possible for programs of nontrivial size. << Well, if you consider 86,000 lines of Ada a nontrivial size, this was shown back in 1998 by the METEOR project. See "Meteor: A Successful Application of B in a Large Project" by Patrick Behm, Paul Benoit, Alain Faivre, and Jean-Marc Meynadier. The key to verifying large programs is to structure them well, so that the verification can be done in a highly modular fashion. The Design-by-Contract paradigm is an example of this. >> > The higher the level in which the human "codes", the [fewer] mistakes > there are to be made, assuming equal familiarity with the language > etc. ...but the more complex the "compiler", and the greater the likelihood of bugs in it causing the resulting binary to fail to implement what the human wrote. << This is potentially true, but is mitigated by a number of factors. First, specification languages (and, for that matter, programming languages) do not need to be as complicated as some existing programming languages (C++ springs to mind). Second, the semantics of the language you are starting from are formally defined (unlike almost all programming languages), so the problem is much better defined than it is for typical compilers. Third, what you call the "compiler" is in fact a refiner (which refines specifications to algorithms) followed by a code translator. The code translator is essentially a compiler for a fairly minimal but well-defined programming language and is therefore well-known technology. The difficult part is the refiner, but this can use mathematical rules to ensure correctness - provided of course that the rules are correctly implemented. It can also generate verification conditions to be passed to a prover in order to ensure that the generated code really does meet the specification. If there is any doubt as to the correctness of the theorem prover, the proofs can be passed to an independent proof checker for verification. In our own product, which does a limited amount of refinement of specifications to code, the part that does the refinement was much easier to specify than the code translator and we have found it highly reliable. [snip] >> There are three places where problems can appear: (1) the specifications can express something other than what the users want/need; (2) the coders can make mistakes translating those specifications to code; (3) the translation from code to binary can introduce bugs. (No, step (2) cannot be eliminated; at most you can push around who "the coders" are. Writing specifications in a formal, compilable language is just another form of programming.) << Writing "executable specifications" can indeed be viewed as a form of high-level programming, but it has a number of benefits: - it is more concise, which leaves less room for some types of error; - it relates much more directly to the requirements - requirements can be added to the specification, then it can be proven that the specification meets the requirements. For example, you might wish to express the requirement "The HTML generated by this component will not include the text "