Live data from Hacker News

Cybersecurity Is Broken

crankysec.com

71–80 of 83 posts

Re: Cybersecurity Is Broken

#71
post #66

Earlier quoted context omitted.

And yet afaik no Linux is certified higher than eal4+ and no-one buys them anyway. Efforts are better placed at isolation and hardening of a standard distro.

I have no idea what you are even trying to say. In this thread we are talking about how cybersecurity is broken and how certification requirements have been continuously degraded to allow insecure systems to be deployed in inappropriate contexts. This has removed one of the vital incentives for secure systems, having requirements that actually demand and verify security instead of just caving into vendor incompetence…

> I have no idea what you are even trying to say

The person is (correctly) pointing out that Engineering/Technology is only 50% of the cause of a breach.

Security breaches are equal part technical issues (eg. Bugs, misconfigurations) and process failures (eg. requiring multiple VPs giving the go-ahead on upgrading your Artifcatory server).

Purely technical solutions will not stop breaches.

The belief that bug free formally verified code for something as complex as a fully functional OS (not an embedded or RTOS) can be developed and scaled out is unrealistic and wouldn't solve plenty of much easier vectors of attack.

I'll let Trail of Bits explain for me (thank goodness they recently published a blogpost about this very topic) [0]

[0] - https://blog.trailofbits.com/2024/03/22/why-fuzzing-over-for...

Re: Cybersecurity Is Broken

#72

Earlier quoted context omitted.

Consequences are happening. People just don't see them because this happens well above the IC pay grade and takes some time to percolate down and no one wants to publicly announce you shitcanned 5-10 people in middle management and security leadership because you enter thorny employee litigation territory. That said, I agree with the author about mismatched expectations, though I can safely say that $500k year is VER…

though I can safely say that $500k year is VERY HIGH for a CISO. I know CISOs for publicly listed F500s who earn around 200-300k at most after 15-20 YoE. … If I'm honest, most security engineers suck. 90% are crappy IT Admins or Compliance Monkeys who did CISSP and maybe worked for PWC or an MDR for 1-2 years and don't know the difference between NFTables and NTFS. Most CISOs and VP Sec are former security engineers…

> Dinosaur companies

I'm curious what are the dinosaur companies in your mind.

Some "dinosaurs" are actually extremely technical and on top of their shit, and some companies HNers/Redditors/LWers love for their supposed engineering chops have their pants off.

Also the number I gave was for a sexy publicly listed tech company that a lot of HNers try to Leetcode grind to.

> more than their Assistant Regional Managers

In most companies outside of the High Tech and Finance sector, margins are extremely low and even a GM will earn at most $150k and maybe $20-30k stock, despite owning a 9 figure BU.

Re: Cybersecurity Is Broken

#73
post #66

Earlier quoted context omitted.

I have no idea what you are even trying to say. In this thread we are talking about how cybersecurity is broken and how certification requirements have been continuously degraded to allow insecure systems to be deployed in inappropriate contexts. This has removed one of the vital incentives for secure systems, having requirements that actually demand and verify security instead of just caving into vendor incompetence…

> I have no idea what you are even trying to say The person is (correctly) pointing out that Engineering/Technology is only 50% of the cause of a breach. Security breaches are equal part technical issues (eg. Bugs, misconfigurations) and process failures (eg. requiring multiple VPs giving the go-ahead on upgrading your Artifcatory server). Purely technical solutions will not stop breaches. The belief that bug free fo…

I have no idea why you think that explains anything. It is just saying that fuzzing is a inferior substitute for formal methods, but much cheaper and thus a more cost-effective option. That is totally divorced from literally any point I have ever made anywhere.

Formal verification is a known mechanism for establishing highly secure systems. It is not the only way. But it is a way that is known to work. A certification process that demands formal verification and practical penetration testing by the NSA is, as far as we know, a highly effective means of identifying a high security system designed to protect against state actors. It may generate false negatives, but it is highly unlikely to generate false positives.

In contrast, extrapolation from processes used by systems that are known to be insecure and security procedures that have never once produced systems that can do things like withstand a practical penetration test by the NSA are highly speculative at best. You must not only do them, you must then generate empirical evidence of security against highly sophisticated and well-funded adversaries, such as practical penetration tests by highly competent red teams, before you can determine if your theories are correct. Anybody who has never achieved success against such adversaries has no business dictating forward looking strategy.

As to your assertion that a highly secure fully functional OS can not be developed and scaled out. Then you must either believe that it is okay to connect nuclear power plants and medical devices to the internet with insecure systems or that we must not connect and disconnect all safety-critical systems from the internet. We can not have it both ways. We must either solve the problem technologically or socially, the alternative is catastrophe. You can advocate unproven techniques that have failed for everybody who has ever tried them, but I prefer to advocate using techniques that are empirically known to work and building from there up to more security and down to easier implementation.

Re: Cybersecurity Is Broken

#74
post #73

Earlier quoted context omitted.

> I have no idea what you are even trying to say The person is (correctly) pointing out that Engineering/Technology is only 50% of the cause of a breach. Security breaches are equal part technical issues (eg. Bugs, misconfigurations) and process failures (eg. requiring multiple VPs giving the go-ahead on upgrading your Artifcatory server). Purely technical solutions will not stop breaches. The belief that bug free fo…

I have no idea why you think that explains anything. It is just saying that fuzzing is a inferior substitute for formal methods, but much cheaper and thus a more cost-effective option. That is totally divorced from literally any point I have ever made anywhere. Formal verification is a known mechanism for establishing highly secure systems. It is not the only way. But it is a way that is known to work. A certificatio…

Excluding formal verification, most of the stuff you mentioned has already been mandated and pushed to implement for at least 7-8 years at this point.

The issue you still have straddlers who hasn't finished implementing these best practices due to organizational or financial issues.

I'm just going to stop responding at this point because I don't think you've ever actually had to chat with the SecOps teams of a Healthcare Group or a Utility and I seriously have doubts you've ever actually worked in the security space

And I say this as someone who has played around with INTEGRITY - most half decent EECS departments have a license for it and faculty who have worked in the space.

You seem fixated by runtime and kernel attacks, which only make up a small portion of actual attacks

> Then you must either believe that it is okay to connect nuclear power plants and medical devices to the internet with insecure systems or that we must not connect and disconnect all safety-critical systems from the internet

Wow. You must be the first guy who has thought about this. Give this guy a Turing Award. I don't think organizations whose infra falls under the remit of safety-critical hasn't been in the middle of a 10 year process of trying to airgap or decouple environments. Or maybe, just maybe, there are tens of billions if not trillions of embedded computing devices and shadow IT systems that are in various differing levels of compliance, and organizations might not even realize are even running. And maybe most industries that aren't software and finance run on single digit profit margins and have very limited cash on hand to manage a migration. And maybe an EMR is different from VE 11

Re: Cybersecurity Is Broken

#75
post #60

Earlier quoted context omitted.

Were you involved in a Common Criteria certification at EAL5 or higher? Anything below EAL5 is just paperwork. As stated above, EAL4 is explicitly only intended to certify a system protects against casual and inadvertent attacks. Checkbox security is largely sufficient to meet that standard. In contrast, it takes actual effort to certify at EAL5 or higher which is why Microsoft and Apple have consistently failed ever…

EAL5+ becomes very very very niche and hardware driven. EAL5+ only really kicks in for cryptographic systems (think SmartCards and whatnot) or very critical RTOSes developed by Green Hill. The RoI on formal verification just isn't there, and imo detracts from a lot more pressing and basic security concerns that can and need to he resolved. Something like SKPP just doesn't make sense outside of certain niche usecases…

Okay, so you were not involved in a EAL5 or higher software certification. You did a checkbox-level certification and think that proves the harder certifications are all useless. Sure, if the harder certification was useless then you would have a point. If the Navy SEAL test is easy, bootcamp is easy. That logic does not go the other way. Just because you can pass bootcamp does not mean you can be a Navy SEAL.

As to your point about ROI, well duh, we are literally in a post about how cybersecurity is broken because nobody cares about cybersecurity. Of course the ROI is poor if nobody cares. I also never even said that formal verification is a goal. I said that the SKPP is a means of demonstrating a product has serious security as it demands a very stringent process that, as far as we know, is theoretically and empirically verified to protect against highly capable state actors. You could theorize some other means of doing so and then verify those means are effective by empirically testing it against highly capable red teams, but you can not claim those techniques are effective prior to the tests, and the SKPP is a known effective certification mechanism for the level of security needed against state actors.

As to the fact that there is more work to be done than just a secure foundation. Again, another duh. But again, should we rely on processes that have failed to produce secure systems for decades, or should be rely on processes that have demonstrably achieved a level of security that most people believe to be impossible. All the high security processes have ever done is succeed at a small scale. That is clearly inferior to the regular processes that continuously fail at immense scale. I mean, everybody knows how to scale and hardly anybody knows how to make things secure, but clearly scaling is the hard part in this equation.

And frankly, this is all besides the point. We need highly secure systems at scale or we must disconnect safety-critical systems. Saying that we do not know how to be secure at scale does not mean it is magically okay to be insecure at scale. Engineering is about minimum requirements, you do not get to just muddle through and harm people because you want to do things beyond your capacity.

Re: Cybersecurity Is Broken

#76
post #75

Earlier quoted context omitted.

EAL5+ becomes very very very niche and hardware driven. EAL5+ only really kicks in for cryptographic systems (think SmartCards and whatnot) or very critical RTOSes developed by Green Hill. The RoI on formal verification just isn't there, and imo detracts from a lot more pressing and basic security concerns that can and need to he resolved. Something like SKPP just doesn't make sense outside of certain niche usecases…

Okay, so you were not involved in a EAL5 or higher software certification. You did a checkbox-level certification and think that proves the harder certifications are all useless. Sure, if the harder certification was useless then you would have a point. If the Navy SEAL test is easy, bootcamp is easy. That logic does not go the other way. Just because you can pass bootcamp does not mean you can be a Navy SEAL. As to…

> We need highly secure systems at scale or we must disconnect safety-critical systems

I agree, and safety-critical systems are getting disconnected now, or are in the process of being disconnected.

The biggest issue is disconnected your Shadow IT environment - basically those systems and environments running without the knowledge of your security, development, or platform teams.

Most attacks we've seen in Utilties and Healthcare environments have directly occured on those kinds of systems.

A Formally Verified OS is helpful, but would not solve this kind of an Asset Management and Inventory problem

> ROI is poor if nobody cares

Even if I'm Google scale in budget, I need to prioritize vuln patching, compliance needs, misconfiguration prevention, architectural designs, etc.

On the scale of things, a kernel based attack is relatively lower on the scale of actionable vulnerabilities.

> should we rely on processes that have failed to produce secure systems for decades, or should be rely on processes that have demonstrably achieved a level of security that most people believe to be impossible

Let's say you are running formally verified OS that everyone is using. Maybe you've airgapped this system, yet there is a memory based attack that was recently published in the NVD. A formally verified OS would not have solved it.

There is a reason those IBM Mainframes wand Green Hills RTOSes with EAL5+ certification are airgapped and access locked down.

Runtime level attacks make up maybe 40% of all vectors of attack - a large but not singular cause.

Re: Cybersecurity Is Broken

#77
post #73

Earlier quoted context omitted.

I have no idea why you think that explains anything. It is just saying that fuzzing is a inferior substitute for formal methods, but much cheaper and thus a more cost-effective option. That is totally divorced from literally any point I have ever made anywhere. Formal verification is a known mechanism for establishing highly secure systems. It is not the only way. But it is a way that is known to work. A certificatio…

Excluding formal verification, most of the stuff you mentioned has already been mandated and pushed to implement for at least 7-8 years at this point. The issue you still have straddlers who hasn't finished implementing these best practices due to organizational or financial issues. I'm just going to stop responding at this point because I don't think you've ever actually had to chat with the SecOps teams of a Health…

Oh please. This entire comment chain is about how they do not demand highly certified systems. Literally the only substantial thing I mentioned is the thing they have not mandated or pushed to implement. The only secondary thing I mentioned is that they should use systems that are empirically determined to protect against well-funded attackers as that is the actual goal. I did not supply a number to that, but I usually use 10 M$ as a bare minimum since we have seen numerous financially motivated attacks coming in around that number already. So, a 20 person red-team with 1 year full-time must not be able to find any vulnerabilities in your system, then you meet that bar. Again, nobody does that either. So, the only two things that I said are not being done.

Then you keep coming back to how their security teams need to focus on easier wins. Yes, they do, but even if they do them all they have still failed to reach the minimum bar. The goal is not "better" it is "adequate". Following all modern best practices and doing everything correctly still leaves you vulnerable to the now commonplace attacks by financially motivated professional criminals. Being unable to protect against the adversaries who are literally attacking you is the definition of inadequate.

Technology is the limiting factor for adequate security deployments. No matter how good your processes are you are still screwed against competent adversaries. That is not to say that technology is the limiting factor for most companies. Most companies also have bad processes. No matter what technology they are given they will screw it up. But even if you do everything (within reason) right and achieve the maximum potential of what is achievable you still have a inadequate system. That is a untenable state of affairs.

As to your random personal attacks. I design and develop actual high security systems in defense applications. People do frequently accuse me of not knowing what I am talking about because what I view as standard processes are what they view as impossible dreams. I do try to tamp it down to be generally applicable even to low security systems.

Re: Cybersecurity Is Broken

#78
If you can't run a program by telling your computer what you want to run, and what resources you trust it with, and know that it will respect those choices, you're never going to have Cybersecurity.

This is a solved problem for other domains where you have resources you want to safely utilize a portion of.... wallets for cash, circuit breakers for electricity, etc.

We don't need legislation, or banning of "C" to chase the latest hemline of Rust.

Long ago we collectively decided that MULTICS was too complex, and we really didn't need all that security. At the time, it was reasonable, but now... not so much.

We keep reinventing it, then deciding our ersatz version of capabilities is too slow, and make it faster, easier, etc... until it's broken security wise, and repeat again, and again.

Re: Cybersecurity Is Broken

#79
post #17

"Memory unsafe languages" is maybe one percent of one percent of the problem. As always, nobody actually gives a damn about "security" and uses it as a pretext to push something unrelated. (In this case, Current Year's stupid fad programming language.)

No. Put C out to pasture -- or just take it behind the barn and shoot it. Entire classes of severe bugs Just Go Away when you switch to a memory-safe language. Not all bugs, obviously, but the vast majority of the low-hanging fruit.

I mostly agree with this sentiment, but please let's not pretend like we're doing it because we care about "security", and not just because we don't like some of C's 1970's legacy crap.

Re: Cybersecurity Is Broken

#80
"Cybersecurity is broken because of the lack of consequences."

If I may after few decades in - add in or change for competence.

Most often my team and I test apps that have been verified by multiple parties and we still find juicy stuff. Not always, but most often.

Here's the kicker - most important ones aren't about the tech, but the business part of it (validations, processes, flow and so on).

If I could make a very generic recommendation for most - check the logic and business first then make sure the tech is decent.

In business - make sure you include people and management.

Post reply on HN