Breaking Into Security: Planet Earth Edition

Tuesday, August 14, 2012

Ian Tibble

1de705dde1cf97450678321cd77853d9

The venerable Brian Krebs has recently been running some stories from various demigods of the infosec world, aimed at those wishing to enter the information security field - aspiring graduate ninjas, and others seeking the mythical pot of gold at the end of the rainbow.

First up there was there was Tomas Ptacek's edition, then we had some pearls of wisdom from Bruce Schneier, Jeremiah Grossman, Richard Bejtlich, and then Charlie Miller.

Thomas Ptacek claimed about the security field: "It’s one of the few technology jobs where the most fun roles are well compensated", and "if you watched “Sneakers” and ideated a life spent breaking or defending software, great news: infosec can be more fun in real life, and it’s fairly lucrative."

Well...I am not refuting any of this, but it is certainly quite unusual for jobs in information security to be fun.

Thomas talks of the benefits of having extensive programming experience - and this is something I advocate myself quite strenuously (more on that later). Thomas's viewpoint was centered around appsec, which is fine. I think for myself, in terms of defending networks, we need to look at two main areas: appsec and operating systems / databases.

There is some good advice in Thomas's article about breaking into application security, although I wouldn't say that this area is everything. There's a little too much religious fervor about appsec in the article for my liking, just as one often sees a lack of balance in other areas, such as CISSP-worship, and malware "reverse engineering" - basically - "my area is the alpha and omega - all that was, is, and ever will be".

There are other areas that matter in security other than application security. I wouldn't say its all about appsec, but I would say though that the two main areas are appsec and operating system and database configuration. "But operating systems and databases are also applications" I hear you say.

Yes, but when we're talking appsec in infosec, we're usually talking about web applications. There are few times when we suffer web attacks where that one single exploit leads to something really bad happening, apart from perhaps a SQLi that in itself reveals sensitive database hosted information.

With regard web applications I think Thomas is spot-on with his comments about learning about web application security assessment, and how to get clued up in this area. Also the comments about Nessus and getting into penetration testing - sad but true.

With regard Bruce Schneier's "breaking into" edition - nothing he says is factually incorrect (most of what we talk about is subjective, neither black or white, but grey) but the comments are not at all close to the coal-face realities of most business's in-house or service providers' practices. Wannabe security pros reading this will be sure to get grandiose visions of their future lives as a security pro - but in 90%-plus of cases the vocational activities of security professionals do not match the picture painted by Bruce Schneier. I'll explain more on this later.

Richard Bejtlich's response was centered around getting into penetration testing with Metasploit and Jeremiah Grossman's was the most all-encompassing and in my opinion, the response that had the most value for security pro wannabes - although Charlie Miller's wasn't far behind. In particular Mr Grossman plays down the effectiveness of accreditation programs, in favor of practical experience - wise words indeed. Charlie Miller had similar opinions.

In Charlie Miller's response there was a lot of talk of really specialized nieche areas like reverse engineering and so on, but he does temper this with "I really do a lot of reverse engineering and binary analysis, which is unusual." and "for those starting out, it probably makes more sense to learn some languages more useful for web applications, like PHP or Java or something. The majority of jobs I come across in application security are web applications, so unless you’re a dinosaur like me, you probably want to become a web app expert. Web application security is a lot easier to get started in as well."

Charlie Miller's response sort of segues me into the wider scope here, and that is of the realities "out there". The articles are based on responses by folk who've rightly become esteemed professionals in their field and there is some really valuable insight there. The thing is - there is a lot of talk of the security field being a place for artists and magicians, and of being technically demanding, but there are very few places where technical acrobatics skills in security are seen as having any value to businesses, or even security line managers for that matter - and therefore such intellectual capital just does not appear on the balance books of these businesses.

We've been through a vicious 70 to 80% of a sine wave of pain in security since the late 90s. The security world painted by the fellowship of five assembled by Brian Krebs (speaking of whom, it would be nice to hear his version of the "breaking into" story) seems much more like the world of the late 90s than today. Security was heavily de-engineered through the 2000s.

Things started to change around 2010, but we're still very much in non-tech territory, and many of the security line managers who will interview prospective Security Analysts will not have an IT background, and their security practice will be hands-off, non-tech, check-list based. Anything "tech" to do with information risk management will be handled by an ops team, but there won't be any "reverse engineering" or "fuzzing" over there...far from it. More like - firewall configuration, running bad vulnerability management suites, monitoring IDS/SIEM logs.

Picking up on some of Bruce Schneier's comments: "You can be an expert in viruses, or policies, or cryptography." Policies? OK, this part is true - if you want to be an expert in policies, whatever that is, you can certainly find this in 90%+ of businesses - but is this something that is an economically viable and sustainable position, or even for that matter anything that any homo sapien would ever really want to do? Probably accountancy would be a better bet.

"Viruses?" There are increasing numbers of openings for "malware reverse engineers", where really what they're looking for is incident response - they want to know what happened after they discovered that some of their laptops were connecting out to various addresses in places they hadn't heard of, prior to the click of doom.

If you get interviewed for one of these positions, be prepared to answer questions about SIEM technologies and incident response. These openings are not usually associated with reverse engineering to the level of detail of those pattern-makers in the anti-virus software market- and if they are, they needn't be, and the line manager will get to realize this after a while.

And "cryptography"? We have Bruce's comments and then we have a title heading from a book by Shostack and Stewart: "Amateurs Study Cryptography; Professionals Study Economics". So who do you believe here? To be fair, the book was published at the height of the de-engineering phase of security and it sort of fitted with the agenda of the times.

I would go with Bruce Schneier again here, but with some qualification (the final paragraph also talks about math): most security departments won't ever go anywhere near anything mathematical or even crypto-related, and when they do, it will be with a checklist approach that goes something like "is a strong key used?", "yes", "ok, good, tick in a box", or "is DES used?", "yes", "ok, that's bad, I think, anyway use triple DES please" - with no further assistance for the dev team.

With regard Cryptography, right or wrong, it's really only on tiny islands where the math is seen as relevant - places where they code the apps and people are assigned to review the security of the app. And these territories are keenly disputed. Most of the concerns in the rest of the business world will never get more techy than discussions about key management - which is the more common challenge with crypto anyway (mostly we're using public crypto algorithms in security, so the challenge is in protection of the key).

There were comments from all respondents about testing applications and breaking into networks. Again, the places where skills like reverse engineering are actually relevant are so small. Bruce Schneier painted a grand picture of thinking like a hacker, not just a mere engineer, in order to be able to create systems that are difficult to compromise by the most advanced hackers. But most humans who design systems are not even thinking about security, or they're on such a tight deadline (with related KPIs and bonuses) that they side-step security.

So as a pen test guru wannabe, you may possess extremely high levels of fuzzing, exploit coding, and reversing skills, but you will never get to use them, in fact you will intimidate most interviewers, and you'll be over-qualified. There will be easier ways to break into systems in most cases. In fact in general, as I commented in an earlier post, security is insufficiently mature in most organizations to warrant any manual penetration testing whatsoever.

So really, what I have had to say here may sound harsh or "negative", but I would hate for anyone to get into a field that they thought was challenging, only to discover that it's anything but. I believe things are changing, but it's at rather a slow pace, and the field of security has been broken for so long, that there are very few around who know how to fix it. Security is getting more challenging, that's for sure, but for the security pro who goes looking for a job in this field because of the tech challenge aspect: just be very careful about what you're getting into.

Many jobs sound great from the job descriptions posted to recruitment agents, but this is only a show. The reality inside the team is that you may be sent to Siberia if you so much as use a tech-sounding word like "computer" or "IP address" - while this sounds unreal I can assure the reader that such a scenario is most certainly real, although it is of course more often the case that the job would just not be offered to a "techie".

Its impossible to cover the jobs aspect of information security in just this article. I had a more comprehensive stab at it in Chapter Six of Security De-engineering. I would say to the prospective security pro though, that the advice given by the five mentioned in this article is not bad advice at all - it's just that you may push yourself to higher levels, and not see significant benefit from it in your careers any time soon. There will always be some benefit, just not as much as you might expect. Certainly, you will have more confidence, but also probably over-qualify yourself for your current position.

As a security pro with a tech inclination, getting into security might not be as hard as you thought. Thomas Ptacek mentioned "A good way to move into penetration testing: grab some industry standard tools and use an Amazon EC2 account to set up a “shooting range” to attack.

Some of the best-known tools are available for free: the Nessus scanner, for instance, while not an application security tool, is free and can land you a network penetration testing role that you can use as a springboard to breaking applications." Believe me, this is not a difficult target, but because of the way the security industry is, you could very well land a penetration testing job with the preparation as described by Mr Ptacek.

All I had to say here is aimed at managing expectations. You may well find that you have to market yourself down a bit in order just to get a foothold in the industry. Once there, by pushing yourself to learn more and get more advanced skills, it could be that you would eventually osmosize towards the ideal job of your dreams.

However, these positions are so rare in reality. Many of the folk I worked with in the earlier days of my career had these ninja skills that have been discussed in the five articles mentioned here. Once we got to the early 2000s they realized that security was no longer a place for them.

Has the demand for these advanced skills returned? It has, to some extent, but still the demand is miniscule compared to the usual skills required the vast majority of businesses.

Cross-posted from Security Macromorphosis

Possibly Related Articles:
9948
Network->General
Information Security
Enterprise Security Application Security Hacking Training Penetration Testing Careers Network Security Infosec Skill Set
Post Rating I Like this!
The views expressed in this post are the opinions of the Infosec Island member that posted this content. Infosec Island is not responsible for the content or messaging of this post.

Unauthorized reproduction of this article (in part or in whole) is prohibited without the express written permission of Infosec Island and the Infosec Island member that posted this content--this includes using our RSS feed for any purpose other than personal use.