The Rise of Software Security
Gunkerty Jeb writes with an article in Threatpost. From the article: "Perhaps no segment of the security industry has evolved more in the last decade than the discipline of software security. At the start of the 2000s, software security was a small, arcane field that often was confused with security software. But several things happened in the early part of the decade that set in motion a major shift in the way people built software ... To get some perspective on how far things have come, Threatpost spoke with Gary McGraw of Cigital about the evolution of software security since 2001."
Finally
tisement much?
Confucius say, "Find worm in apple - bad. Find half a worm - worse."
Let's ask a nobody, as compared to say a full fledged AV engineer who has been in the field since day 1....nothing like getting your information from the source.... /. a story on me and my company....
oh wait, I get it now, this was just blatant publicity for this upcoming software security firm that needs to make a name for themselves....remind me next time I need to become someone, I should get someone to post on
Dont look for a sig, I aint got one...
It's been so nice watching those weekly SANS vulnerability emails get shorter and shorter over the past decade.
/sarcasm
#DeleteChrome
That's why most slashdotters never bother with TFA.
Seven puppies were harmed during the making of this post.
TFA is nothing but name dropping and unsupportable claims.
Yeah. Right. Check your dates. If you were using .NET in 2001 ...
You can write secure code in almost any language. It is up to the skill of the coder. Look at the various *BSD's out there.
I guess banner ads are not enough.
Well, what an ignorant fuckhead you are. Cigital is not a software company but a consulting company. Gary McGraw is the original "how to do it" software security guy, and he knows his shit.
Go ahead, respond with a list of good books you've written and tell us about your AV (antivirus?) company. Your reply will constitute your Slashvertisement, and I'm always happy to be proved wrong. It's a win win.
Take off every 'sig' !!
Claiming that C and C++ are disasters from the standpoint of security is like saying that the IP protocol is a disaster from the standpoint of reliable transmission of data streams, or that HTTP is a disaster from the standpoint of security. Arguably so, but only if you don't supplement them with any other layers or tools.
If you don't know of Gary McGraw and have never heard of Cigital (which has been around since 1992), then you obviously know nothing about software security. Dr. McGraw (that's a dual Ph.D in Cognitive Science and Computer Science) has probably been writing and publishing about software security for longer than you have been alive.
"AV engineer"?! You clearly have no idea what the article is talking about do you? Software security and end point security are barely distant cousins.
The vast majority of commentors I've seen on both /. and the article itself are all kinds of cynical and this does not help /., and it doesn't help the community. It makes me sad.
Yes, we realize that you are an amazing h4X0r capable of creating code devoid of buffer overflows, race-conditions, (all sorts of) injection attacks, etc. Perhaps you've forgotten there is a spectrum of programmers and like it or not, you are probably an AVERAGE coder. (They don't call it average because everyone thinks they are great.) A programmer will always make assumptions about the underlying environment and will always have to sacrifice security functionality in the name of time/resource-savings. And in case you haven't noticed, some systems do not actually require DoD-level security with zero vulnerabilities. They merely require a level of security commensurate with the environment it runs in. It's one thing to design a system for physical attacks or reachable through a public IP and another thing entirely to protect against measured threats within a managed network environment or air-gapped system.
There is a wide spectrum of security risks and a wide spectrum of programmers and development practices. Corporations generally match them up appropriately, which is why you don't see outsourcing of internal top-secret DoD systems out on rent-a-coder.
the disasters of beginning of this century include XML. In everything. "Agile" development. IE6 and ActiveX controls. IBM Lotus Notes. "Visual" programming, especially mixed with UML and RUP. Passing parameters from URLs directly to database layers as input without sanitation. Not checking data structure boundaries and sizes. Using root for everything, this one is especially nice when combined with a password, that is used for everything in a corporation. Especially when password is some variation of "adminpass1". Buying more and more BEA/Oracle licenses to set up more and more nodes where the real speed problem could be solved with very little code on a single machine, but obviously that's not sexy and doesn't buy perks. Having no testing cycles, never having enough testing, doing irrelevant testing (this even includes automated testing, which can be huge, but still irrelevant).
Producing huge meaningless documents that end up copied in email to everybody, but eventually don't get read by anybody who they should address, having template "Architecture", where past documents are copied, whatever names are replaced, no thought is given to the project and all the details are left over to the team for the time of implementation. This, especially when combined with time lines that give 80% time to meetings/architecture, 12% time to all of the development combined and then whatever remains is running around like chickens with heads cut off, from users to testers to admins, trying to get any of it working.
All of the above and more, much more are disasters.
But the real disaster here is that pathetic article that this story refers to.
You can't handle the truth.
AllRIGHTY then. Thank you for contributing to pants.
Take off every 'sig' !!
"That's about as likely as a dyke at a Tea Party meeting."
"Latent" dyke or "out" dyke?
The opposite of love isn't hate, but indifference!
8-P
"This post is an artistic work of fiction and falsehood. Only a fool would take anything posted here as fact."
I keep watch on "security" threads like this one, hoping to find sanity in at least one answer prior to mine.... and keep getting disappointed.
You're all wrong, so far.
Why? It's simple, it's not an application programming issue, it's an Operating System design issue.
The default permit environment present in everything except IBM's VM is the root cause of 99% of our problems.
Instead of giving each PROCESS a list of resources and permissions, Linux, OS-X, Windows, and pretty much everything else, does it at the USER level. (Yes, I know about app-armor, but that's a special case)
This means that all of the defenses are pointed in the wrong direction. (Imagine building a fort with 10 foot thick perimeter wall as its sole defense in the age of paratroopers and helicopters to get an idea of the scale of the problem).
It doesn't matter how careful or professionally trained the application programmers are, nor how safe the programming language used to write the application is, when the OS isn't even designed to limit what they can do. All programs have bugs, you shouldn't have to trust them not to have them.
Now, those skills and language enhancements are useful for building the operating system, especially when constructing the micro-kernel to run everything, so it's not wasted effort.
I predict we'll see stories like this for at least 10 more years, regardless of the effort or money put in, because we haven't changed our approach yet. It's going to take a few more years until the cognitive dissonance gets loud enough in peoples heads to prompt them to find a better OS, and a few more years to actually have something reasonably solid available. Until then, buckle up... it's going to be a VERY bumpy ride.
Multiple published books (useful ones) aren't credentials?
Anyway, an AV engineer wouldn't necessarily be the person to listen to about SDLC.
The reason things like CapROS haven't caught on is inertia... it's a huge pain in the ass to move things to a different desktop, let alone a completely different operating system, where you have to rewrite things, and adjust to a whole new set of annoyances.
The IBM VM model of things is a pure capability model, you give RAM, DISK, and I/O to a virtual machine, and it can't exceed it's authority. Of course the granularity is a bit rough when you have to do it in terms of disk systems instead of specific files, folders, etc. The need to have a system admin set things up, which isn't very user friendly either, so it's clearly not the exact way things will end up when capabilities go mainstream.
I see the easiest way as looking just like Windows, Linux, etc... except the shortcut to an application also includes a list of files, resources, quotas, etc... this would allow things like Accounting Applications which can't access the internet (unless you change their settings), etc.
Eventually, people will figure it out, but it's going to be a LONG wait. In the meanwhile, the insecurity of everything will get used to sell a lot of software, firewalls, etc... and the worst part is it offers the perfect excuse for filtering and censoring the internet.
I'm glad to see you here... now there are at least 2 of us. ;-)
The IBM VM model of things is a pure capability model, you give RAM, DISK, and I/O to a virtual machine, and it can't exceed it's authority. Of course the granularity is a bit rough when you have to do it in terms of disk systems instead of specific files, folders, etc.
Not that I don't agree with the rest of the post, but lauding (what seems to me as) a hypervisor for security is a bit off-track. What good does the hypervisor being iron-clad secure if one can compromise every virtual machine?
Well, the damage is limited to that specific machine, unless there are connections between the VMs. The principle of least privilege is a very powerful firewall if used correctly.
All operating systems should serve as a supervisor for the tasks running, that's why there are more than 2 rings of privilege in most CPUs. I'll go so far as to predict that eventually Linus will end up moving Linux to a micro-kernel system, but that's about 20 years from now.
The reason VMware and other virtualization is so popular right now is because it effectively does what the OS lacks... protecting things from damage. Instead of having multiple applications on a server, you just spool up a new server for each new application. It's darned close to the IBM VM model, all over again.
"Perhaps no segment of the security industry has evolved more in the last decade than the discipline of software security"
..
The only thing that's evolved is the amount of money lost to the `software security' sector and I stooped reading after seeing Microsoft in the same sentence as `Secure Code':
`We've also published books like "Writing Secure Code," by Michael Howard and David LeBlanc, which gives all developers the tools they need to build secure software from the ground up' - Bill Gates Jan 15 2002
`Microsoft won an industry award for innovation, for its book "Writing Secure Code", by Michael Howard and David LeBlanc, which forms the basis for the company's own efforts to make its products trustworthy' Apr 2003 link
Review
C is not insecure per se, it simply requires that all the securing is done in the source code. One of the most important principles of C as I understand it is that no hidden actions are performed in the binary that are not written by the programmer in the source code, i.e. the compiler never adds code on its own. Bounds checking would be just that - silent code that executes in the binary but is not there in the source code. Destructors and a garbage collector would fall in the same category.
I understand that programmers not always write code carefully, and if they don't, C won't help there, but I don't think security can be automated anyway - for example, can you make a compiler that prevents you from writing code that's vulnerable from SQL or shell injection?
Buffer overflows, formal techniques, specialist languages were all created decades ago, Bill gates wrote the trustworthy computing memo because of the bad press that MS was getting, it was pure marketing. Systems from other vendors have evolved to provide smaller attack targets upon install that they did a decade ago. This is system design not software techniques.
This guy is a knob blowing his own trumpet.
I'm a full fledged audio visual engineer! Yeehaaw!
Ask me about software sekkurity!
Gary McGraw is a very well-known and well-respected individual in the field of software/application security.
The ignorance comes from the trolls such as you who would have to use such offending words on the internet.
I would have to agree with you, considering that when I went on the citigal website, it looked like it was made from small budget templates...
and that whoever is running that company felt it necessary to give us detailed info on Gary at this link http://www.cigital.com/gem/
funny though, no other employees have their faces , lives, religion, wives name, and dog's favorite treats listed on the website.....hmmmmm.
I guess that does show major signs of professionalism on their part. I did read they had sister offices all over the world, but you and I both know
all we have to do is find another like minded firm that would want to share namespaces and allow to use their offices to be able to call yourself global.
SO with that in mind, I would like to let you know I have found an office in russia, that is allowing me to partner with them, and they have been in IT business since 1990 and they have a department dedicated to security within the company for which I am consulting for, so now I will put up my own website,
put on there that I have been in business since 1990 AND also I have offices in Russia (the best haxors in the world) and have a multitude
of dedicated consultants to help anyone who wants to pay me..... awesome business model.....I think I like tit very much....thanks for the idea!
LOLOLOLOLOLOLOLOLOL
Of course even if we RTFA , we would have to take their word that whatever is in it is 100% fact and truth...... ^_^
Cross-site data leakage IS a problem, of course...
One of the good design ideas that comes up when describing or building capability based security is the idea of moving file dialogs OUTSIDE of the control of the application. If done properly, the user might not even notice the difference, which is a very good thing.
If we move the selection of web sites outside the control of the browser in the same fashion, you could then add facilities to filter, log, proxy, etc... without the need to do anything different in the rendering part of the browser. Most of the code for a port to a capability system would survive intact, it's only the source dialog boxes and linking behavior that would have to be tweaked.
If you have a browser that works in a capability system, you would drop a connection to the web site into it, that connection could be restricted in any arbitrary number of ways by the OS, and by other helper filters it pipes through.
The author clearly does not understand programming languages if he says that, or else he's one of those kinds of programmers that just needs to stay away from languages that let you do whatever you want.
C and its somewhat object oriented cousin C++ are just tools to let programmers do whatever it is they want to do. If you know the languages and how they work, you can make whatever you like. You can make insecure programs. Or you can make secure programs. Your choice. What C and C++ suffer from is the stain of blood splatters from programmers that simply do not know what they are doing. Too many programs were written insecurely, not because the language forced them to, but because these programmers didn't know how to write different code into the programs that would make them secure.
I do admit that C has a few flaws, like certain functions that fail to properly test for string overflow conditions. One example is sprintf. Use snprintf in its place so the size of the target is known and checked in the function's own logic. But these are things good C programmers already know about.
I have my doubts about any other language. If a language is flexible enough to develop a major application with, then that language is also flexible enough to let an idiot write an insecure program. However, other programming languages might be useful to C and C++ to draw away the bad programmers. Let those other languages suffer from them for a while. Java certainly has in more recent years.
now we need to go OSS in diesel cars
Yes he has many published books on the subject of code security and java security and the like. He has also been on the board of directors for IEEE.
He is a great guy.
Software Security
http://www.amazon.com/Software-Security-Building-Gary-McGraw/dp/0321356705/ref=sr_1_1?ie=UTF8&qid=1314456538&sr=8-1
gem
You may snicker, but I am a scheme programmer at heart.
gem
Fits well, nice and snug.....can't really complain about not being published....or was that my initial post at all?
Well, as promised, I really am happy to be proved wrong. You are correct, I was rude and as intelligent people have demonstrated, I could have disagreed, been corrective, and been instructive, without using rude language. I was wrong and my current "Flamebait" moderation is correct. So I apologize for that.
You're also correct that Cigital has a super hokey website.
I don't know if you've written any books on antivirus, but Gary McGraw has published 11 according to his Wikipedia page.
Good luck with your consulting company. I think any intelligent customer shouldn't care how many years you've been in business. They should only worry about:
Take off every 'sig' !!
I forgot important disclaimers!
1. Cigital is my competitor, and
2. I wrote the original Wikipedia entry for Gary McGraw
Take off every 'sig' !!
There I have to applaud you for...
a) apologizing, something I never see on this site...
b) for being on the money about your comment Are you trustworthy, and will you do a good job.
I know he has written many books, and I am sure he is a great guy, but too many times /. has been used to springboard bloggers ....so in return I have not read any of his books, but I do claim that just
and consultants careers based on nothing but sheer popularity
because someone has written books, (of which even I have been published...) does not make someone an expert.
It is the peers within that community that usually recognize someone's persistent contributions to the field.
Security has become very vast and encompasses so many things today that were not even present 12 years ago when I came into the field.
I would never claim to be a haxor, nor a security specialist (something I think more of the people working at the NSA)....
My basic thoughts are as follows...if he has a hoaky site where by he has a whole page to talk about his personal stuff (religion, marriage little zen image etc...) ....just for contributing).
I feel maybe that this site is really hosted / ran by this person. Any real big corporation or company in the security business would never plaster anything
as such, thereby taking away any credibility they have. Also if he was really that great (top 10) to make some feel like what he says should weigh as much as gold....then he would have bigger accomplishments to his name (such as worked for the gov. or NSA, or etc....) but the only thing I have noticed when reading up his (small, and self maintained?) page on wiki, is that he has IEEE experience (again something anyone can get
I do not knock anyone, my point was more to show that again /. was posting a story about someone's claim that the (add your industry type here)
is (add your action type here) and that based on his professional opinion, they should (add your basic solution to a problem here)....
I just prefer the true stories with facts, like maybe the up and coming technologies on their way, or maybe how someone hacked a device to do something else ...etc.... . The stories about opinions on this and that are just that ...opinions... if he read any of the reports that some of the higher technology specialist in the security industry have to say about the current US status with regards to defense and real time infrastructure or lack of working within the government such as at the NSA or USCYBERCOM or DOD....he would see that maybe we are exactly where we were 10 years ago....still very unprotected, with just a lot more
spending going on to feel like we are protecting ourselves and our computers from unwanted attacks, viruses.
Anyways, I wish you all the best in your future and hope to see you around on /. again,
it is always nice to share view points with each other when everyone remembers we are all just here to share a good time and our humble opinions....even though they are just that....
: )