News for hackers. Stuff that matters.
Re:“We take security seriously” by benoliver999 on Sunday July 05, 2015 @01:48PM (#9834254)
People in the know: how do these breaches keep happening?
Re:“We take security seriously” by tptacek on Sunday July 05, 2015 @02:05PM (#9834310)
It is dazzlingly expensive to run a 500+ seat IT organization in a matter that is meaningfully hardened against attackers. Meanwhile, IT budgets are calibrated against the last 20 years of typical IT expenses. That's despite that fact that the last 10 years have drastically increased the risk of IT security attacks, because:

* the technology adoption curve of attack techniques has made powerful attacks available to the "early majority" cohort of criminals

* computer science has demonstrated flaws in foundational technology that weren't widely known 15 years ago

* as online attacks have mainstreamed, an industry value chain has developed to monetize weaknesses

So it's business-as-usual in IT, despite the fact that when it comes to security, "usual" has been redefined.

Basically no medium/medium-large company in the world is willing to spend the amount of money (and make the usability sacrifices) it would take to reasonably ensure resiliency against attacks. The most secure firms spend anomalous amounts of money simply to elevate themselves to a point where they (a) aren't the easiest targets and (b) have bought enough time to detect and respond to incidents as they occur.

Re:“We take security seriously” by higherpurpose on Sunday July 05, 2015 @03:00PM (#9834524)
It also wouldn't hurt to move away from the "network security" model to a "zero trust network" model, where each computer is secured against everyone else in the internal network, just like it would be against the Internet, and the users have very limited privileges to only allow them to do the job they are required to do.

http://blogs.wsj.com/cio/2014/04/24/google-cio-enterprises-s...

https://static.googleusercontent.com/media/research.google.c...

Re:“We take security seriously” by tptacek on Sunday July 05, 2015 @03:34PM (#9834648)
That's the logical extreme of the "network segmentation" bullet I listed above. The problem with endpoint security and internal trust is that the endpoints aren't the most valuable goal on the internal network; we attack them because they're pivots to internal applications, which are the most valuable goal. So making it harder to compromise an individual desktop from within an internal network doesn't really do much. Making it harder for an arbitrary desktop to reach the document management server, though, does make a difference.
Re:“We take security seriously” by tel on Sunday July 05, 2015 @02:17PM (#9834360)
If one had an infinite monetary and user acceptability/retraining budget... what would a modern, secure 500+ seat IT infrastructure look like? Even in the broadest of terms.
Re:“We take security seriously” by tptacek on Sunday July 05, 2015 @02:44PM (#9834470)
* No unfiltered attachments in email, for definitions of "filter" that include "stripping out content and re-rendering in simpler formats", like "PDF->RTF" or something equally terrible.

* Fine-grained segmentation of all networks on need-to-know basis, informed by the org chart and detailed role descriptions for virtually all employees.

* No employee access to arbitrary Internet sites

* For employees that require Internet access, air gaps between computers that can hit Google and computers that can access company email

* Formal audits for minor software releases

* Expensive, heavily tested secure coding training for all developers

* Adoption of secure coding/design standards ("this is the XYZcorp way to make an SQL query" and "this is the XYZcorp way to render HTML"). Strict bans on deprecated interfaces.

* Employee access to sensitive internal applications (like document and image management) gated through Citrix-like environments, so you have to remote terminal in to get to the browser that actually talks to the application.

* Extremely minimal access provided to VPN users.

* Total 8021x-style lockdown of network ports and fascist policies against bringing own devices.

And so on.

There is zero chance this is ever going to describe any huge company.

Re:“We take security seriously” by stevoski on Sunday July 05, 2015 @03:03PM (#9834531)
If I worked as a developer inside such an organisation, I'd quit. A sad side-effect of rigorous IT security is the lack of productivity and day-to-day frustrations experienced by the staff.

I've experienced this myself inside a major central bank. Most development staff were a) demoralised and b) frequently adopting insecure work-arounds.

Re:“We take security seriously” by tptacek on Sunday July 05, 2015 @03:30PM (#9834632)
So would I. But another way to look at this is, instead of "I'd quit", saying "they'd have to pay me 3x more to work in a place like that". At which point you can again start looking at it as an economic problem.
Re:“We take security seriously” by greyboy on Sunday July 05, 2015 @03:42PM (#9834687)
You're right. I work at a place that does all but two of those, and I wouldn't if they didn't pay me as much as they do!
Re:“We take security seriously” by tptacek on Sunday July 05, 2015 @03:44PM (#9834694)
If you work at a company with more than 500 employees that does all but two of those, I'd like to hear more about that. As I wrote those bullets, I filtered them through my experience of consulting for F500 companies, and when I found myself writing something I'd seen reliably deployed across entire organizations, I edited the bullet until that was no longer the case.

About the closest I've come to seeing any of these bullets deployed reliably is Microsoft's developer training and deprecation of the standard C library, and that initiative was so out-of-the-ordinary that it was newsworthy, and widely reported.

But to actually earn that bullet, Microsoft would need to deploy those same measures across all its contractors, and, more importantly, deploy them on internal IT and line of business systems, not just the Windows and Office codebases.

Re:“We take security seriously” by tel on Sunday July 05, 2015 @06:28PM (#9835321)
I imagine some government facilities could hit that mark—based loosely on descriptions of friends who have worked in such environments.
Re:“We take security seriously” by greyboy on Sunday July 05, 2015 @09:40PM (#9836131)
Bingo.
Re:“We take security seriously” by greyboy on Sunday July 05, 2015 @09:43PM (#9836146)
See the sibling commenter, but think government.

Plus, the posts I read earlier didn't mention 'Fortune 500' or 'reliably' - and I'm glad you didn't use words like 'productive' and 'efficient'!

Re:“We take security seriously” by bpicolo on Sunday July 05, 2015 @03:18PM (#9834584)
You mean you don't want to use two entirely separate computers just so you can access email?

Paranoia in excess.

Re:“We take security seriously” by bluedino on Sunday July 05, 2015 @05:21PM (#9835054)
Hey, we used to use a Mac for Internet and email and a Windows machine for "work", both on the same desk.
Re:“We take security seriously” by tl on Sunday July 05, 2015 @04:55PM (#9834918)
> Employee access to sensitive internal applications (like document and image management) gated through Citrix-like environments, so you have to remote terminal in to get to the browser that actually talks to the application.

That may be a realistic proposal, but I'm skeptical that it's the best answer, maybe because 100% of my Citrix experiences have been awful. Wouldn't "ensure internal app adhere to all other points, rewriting them if necessary" be a better answer for "given infinite money" question?

Re:“We take security seriously” by tptacek on Sunday July 05, 2015 @05:21PM (#9835052)
Sure, I think you could add a bullet for "applications not gated through Citrix-like environments are written to be hardened against arbitrary client software, as opposed to the single company-spec version of Firefox that users are allowed to use in a Citrix session".

You'd still have Citrix lockdown environments for any application that you can't rewrite. For instance, an F500 might license the web app it uses for image management for things like scanned medical records.

I should add: I don't think any of these are realistic proposals.

Re:“We take security seriously” by BlackFly on Sunday July 05, 2015 @04:13PM (#9834744)
I feel that the biggest thing that most companies could do to safeguard a user's privacy is to just respect it: the majority of websites that ask for an email address to sign up don't truly require it for proper functioning.

Either they need to sell my address to spammers to finance their business or they delusionally believe I want to read their spam.

Re:“We take security seriously” by tedunangst on Sunday July 05, 2015 @02:56PM (#9834507)
> No employee access to arbitrary Internet sites

zomg! muh freedoms!

Re:“We take security seriously” by JoshTriplett on Sunday July 05, 2015 @02:32PM (#9834424)
You would also need to ask how much the company is willing to trade off productivity for security. With enough budget, you could have security like that of any three-letter-agency, or even more draconian, but good luck getting work done, or retaining employees.

That's not to say that user data should go unprotected; the majority of people in the company should have zero access to that, such that even if their systems were compromised user data would remain safe.

Re:“We take security seriously” by Animats on Sunday July 05, 2015 @02:53PM (#9834495)
Check with a Swiss bank. They typically spend 10% of their IT costs on security.

Swiss banks have a tradition of security overkill. Branches in nice areas have bulletproofing rarely seen in the US outside of very bad neighborhoods. It would be un-Swiss not to be prepared.

Re:“We take security seriously” by tptacek on Sunday July 05, 2015 @03:31PM (#9834636)
Have some experience there. Not meaningfully different from finance IT as a whole. Finance orgs generally fall under the bucket I described in my first comment here, of "spending enough not to be the easiest targets", so there's that!
Re:“We take security seriously” by lucb1e on Sunday July 05, 2015 @03:06PM (#9834545)
> infinite monetary and user acceptability/retraining budget

In that case every employee would have one or more security people standing behind them the whole day. No email would be opened without a phone call to the sender to confirm that it's not spear phishing.

But more realistically, loads and loads of 24/7 monitoring and internal auditing and testing. Attackers have to abuse something to get in, and if the company is internally doing the same thing with a large enough team, 99% is probably secure. Hackers will probably look for easier targets then. Still, this is quite unrealistic to happen in present times.

Re:“We take security seriously” by raesene9 on Sunday July 05, 2015 @02:35PM (#9834435)
I'd agree with everything you've written but also add that the direction that technology itself is taking (very fast adoption of new technologies, applications being composites of large quantities of 3rd party code with unknown provenance) makes it even less likely that an organisation would be able to resist modern attack methods from a focused well-funded attacker
Re:“We take security seriously” by dredmorbius on Sunday July 05, 2015 @03:32PM (#9834637)
That's a large part of what makes me no longer enthusiastic about working in the space at all.

Which, as it happens, I've rather pointedly not been.

Re:“We take security seriously” by reinhardt on Sunday July 05, 2015 @03:00PM (#9834525)
> computer science has demonstrated flaws in foundational technology that weren't widely known 15 years ago

Can you list a few examples of such flaws?

Re:“We take security seriously” by tptacek on Sunday July 05, 2015 @03:27PM (#9834619)
Two big classes of flaws that seem new:

* Exploitable memory corruption (really only began to be recognized in late 1995, and only became mainstream with modern heap exploits, perhaps 10 years later). Really, this trend meaningfully picks up speed with the dawn of the clientside exploit era, in which we no longer obsess about Sendmail vulnerabilities and start obsessing about browser vulnerabilities. In essence: the revelation that memory-unsafe languages are insecure in the presence of virtually any defect, not merely unsafe buffer copies on the stack.

* Side channels, not so much for crypto (crypto attacks are fun but rare, and certainly not the low-hanging fruit used to compromise most networks) but for weaponization of other flaws. Side channels are the other side of the "covert channel" coin, which coin basically describes "surreptitious unintended exfiltration of data from software". So here you're also talking about things like blind SQLI.

In-band signaling and the insecurity of using simple strings to encode program behavior would be a third major class of foundational flaws, but it isn't new; it was well-known in the late 1980s. But industry certainly hasn't adapted to eliminate it; witness, for instance, very widespread Java application frameworks that embed executable server-side scripting code in UI inputs!

Re:“We take security seriously” by bicknergseng on Sunday July 05, 2015 @03:13PM (#9834569)
Heartbleed and Shellshock come to mind. There have been others, and the "revelations" of NSA et al actively poking or preventing the closing of holes in all kinds of software and hardware.
Re:“We take security seriously” by reinhardt on Sunday July 05, 2015 @03:29PM (#9834624)
Aren't these "simply" software implementation bugs? Unless I misunderstood what the GP meant by "computer science".
Re:“We take security seriously” by bicknergseng on Sunday July 05, 2015 @09:02PM (#9835997)
Ah no I think I misunderstood. tptacek replied with examples though.
Re:“We take security seriously” by jcranmer on Sunday July 05, 2015 @05:25PM (#9835064)
ROP attacks, or more specifically, that you can build an arbitrarily powerful program given only a buffer overflow to an unexecutable stack and libc.
Re:“We take security seriously” by secfirstmd on Sunday July 05, 2015 @02:09PM (#9834332)
Excellent and very succinct analysis.
Re:“We take security seriously” by DougN7 on Sunday July 05, 2015 @01:57PM (#9834285)
Too prevent it, you have to protect against 100% of all attacks (including new emerging attacks) 100% of the time. The bad guys just have to get lucky once.
Re:“We take security seriously” by bluecmd on Sunday July 05, 2015 @02:03PM (#9834303)
The best course of action is to not store the data at all. Use "Sign in with Facebook" et. al and never even get the user password for example. I'm so tired of needing to have a password manager when we have good authentication platforms today.
Re:“We take security seriously” by juliangregorian on Sunday July 05, 2015 @02:08PM (#9834323)
Too bad we don't have a viable decentralized option, I don't at all relish the idea of Facebook Inc. owning my online identity.
Re:“We take security seriously” by ryukafalz on Sunday July 05, 2015 @02:46PM (#9834475)
Diaspora. Friendica. Pump.io. If you're more technically inclined, you can self-host one of many:

https://indiewebcamp.com/projects

There isn't just one alternative, and I don't think there really should be - the fact that most of them are interoperable means that not everyone has to be using the same software. We need to standardize on a protocol, not so much an implementation.

(But yes, there does need to be a nice-looking implementation if we want the general public to use it.)

Re:“We take security seriously” by juliangregorian on Sunday July 05, 2015 @05:31PM (#9835092)
Merely having wide adoption of OpenID or Mozilla Persona would be a worthy start.

I just don't have much faith in these idealistic open source projects these days; when I google "diaspora oauth" and the first thing I find is abandonware (https://github.com/diaspora/diaspora-client), it pretty much confirms my cynicism. "Nice-looking" isn't the only thing we need from identity management.

Re:“We take security seriously” by ryukafalz on Sunday July 05, 2015 @05:47PM (#9835162)
Ah, okay, you were referring to identity in the technical sense rather than the social sense. I agree that increased adoption of OpenID or Persona would be great. Persona holds the most promise in my opinion, since it's similar enough to existing sign-in systems as to not confuse the average user... but it does require providers to actually use it.

IndieAuth is interesting too: https://indieauth.com/

Re:“We take security seriously” by Joeri on Sunday July 05, 2015 @02:03PM (#9834301)
Prioritizing other activities over security. Probably in every one of these cases someone on the inside warned that they weren't doing enough about security, and nobody took action because there were no additional people available to work on it.

Saying that security is hard is a cop out. It's the cost of doing business. Most places that are hacked should have been doing more about security.

Re:“We take security seriously” by nickpsecurity on Sunday July 05, 2015 @02:36PM (#9834439)
Assuming top-notch everything by industry standards, the systems will still likely get breached by attackers with 0-days in implementations. Brian Snow, a NSA Technical Director, explained the reason very well in his essay We Need Assurance [1]:

"The problem is innately difficult because from the beginning (ENIAC, 1944), due to the high cost of components, computers were built to share resources (memory, processors, buses, etc.). If you look for a one-word synopsis of computer design philosophy, it was and is SHARING. In the security realm, the one word synopsis is SEPARATION: keeping the bad guys away from the good guys’ stuff!

So today, making a computer secure requires imposing a “separation paradigm” on top of an architecture built to share. That is tough! Even when partially successful, the residual problem is going to be covert channels. We really need to focus on making a secure computer, not on making a computer secure – the point of view changes your beginning assumptions and requirements!"

I'll add that the fundamental constructs and operations of a computer are designed a dumb way that will follow the most self-defeating orders. Smarter architectures, like Burroughs B5500 and System/38, existed in the past that had CPU's that enforced fine-grained separation (helps secrecy), protected pointers/stacks/arrays from abuse (stops much code injection), and could spot many problems like interface abuse (80+% of issues) at runtime. The dumb systems were cheaper, faster, & backward-compatible with garbage tools in widespread use. So the market went with them. To this day, most "security professionals" have no clue that there existed hardware & software systems so resistant to compromise that NSA's red teams gave up on even watered-down versions of them. And then bought them for protecting most sensitive stuff while pushing weaker stuff on us for their other mission. ;)

Fortunately, there is a tiny, niche part of the security community working on such "high assurance" solutions (eg crash-safe.org) or at least better architectures w/ some higher assurance components (eg genode.org). Our niche is not popular, has few customers, and never will mainstream due to tough tradeoffs it forces. Yet, real security is gaining a bit more traction in academia and some software firms. One day such platforms might get more affordable and widely available so they you can use one without lost sleep due to someone opening an email. :)

[1] http://www.acsac.org/2005/papers/Snow.pdf

Re:“We take security seriously” by obstinate on Sunday July 05, 2015 @01:54PM (#9834268)
Security is very hard, even for the best at their best. And the people who have the information that is most sensitive are not the best, and aren't giving their best.

I'm not in the know, but it seems pretty basic. Lemme know if I'm wrong.

Re:“We take security seriously” by HarryHirsch on Sunday July 05, 2015 @01:54PM (#9834269)
Insufficient liability, one would guess. Cars, airplanes, industrial plant, all these have software in them but the liability is wholly different, should an accident happen due to a software bug.
Re:“We take security seriously” by dllthomas on Sunday July 05, 2015 @02:12PM (#9834339)
Careful, though. If I put up a new Tetris clone on GitHub, and you decide to use it to control your power plant...

Liability should first rest with the entities deploying the software, since those are the only ones with a picture of what can go wrong in the context where it's being deployed. Those entities should then be demanding warranty/indemnity as appropriate from their suppliers (or possibly third parties, for F/OSS).

Re:“We take security seriously” by hrbrtglm on Sunday July 05, 2015 @02:06PM (#9834316)
I don't think that's a relevant comparison. You can be sure that when cars, airplanes and industrial plant have available access through internet, they will be powned as well and there will be accidents.
Re:“We take security seriously” by HarryHirsch on Sunday July 05, 2015 @02:49PM (#9834484)
This argument was implied. If they will own your data when you put your HR database on the internet, maybe you shouldn't put your HR database on the internet to begin with. I can't be the only one who feels that computer security is a field that is insufficiently mature, yet people put confidential data on the internet all the time even though the technology isn't ripe yet to do so safely.

Compare this attitude with the extremely conservative approach in rocketry. The technology is positively from the stone age, but everyone agrees that it is well understood. You can't take any other approach when space missions are multi-decade projects and the price tag has nine figures.

Re:“We take security seriously” by juliangregorian on Sunday July 05, 2015 @02:05PM (#9834309)
First of all, there is no perfect security. Moreover, very few people know how to build a complete soup-to-nuts internet-facing system that has "good-enough" security at every level. The fact that there are few resources available on how to do this is an indictment of our industry.

Even if your digital security model is impeccable, I'd wager a large share of these attacks involve a social engineering/disgruntled employee vector as well, which is vastly harder to protect against.

Re:“We take security seriously” by amelius on Sunday July 05, 2015 @02:12PM (#9834340)
> Moreover, very few people know how to build a complete soup-to-nuts internet-facing system that has "good-enough" security at every level.

And even the people who do know, often don't get the time to do it correctly.