Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Laya the open source version of Jev(convaiinnovations.com ↗)
    67comments
  2. What Zig felt like, coming from Rust(besok.github.io ↗)
    19comments
  3. A graphical desktop for the ZX Spectrum(github.com/mindbox77 ↗)
    6comments
  4. AI-generated posters don’t have to be horrible(john.hartnup.uk ↗)
    349comments
  5. Tin: full-text search for Postgres(planetscale.com ↗)
    3comments
  6. Human brain is two separate organs, Stanford Medicine-led research finds(stanford.edu ↗)
    161comments
  7. “The Secret Life of Circuits” is here(coredump.cx ↗)
    34comments
  8. Asking Authors About Their Own Papers(medium.com/tmlrorg ↗)
    3comments
  9. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    515comments
  10. Black Holes or Black Hole Stars? Astronomers Spar over 'Little Red Dots'(quantamagazine.org ↗)
    5comments
  11. San Francisco Onion Futures Company(onionfutures.com ↗)
    91comments
  12. If math is more than proof, we need to better celebrate the rest of it(terrytao.wordpress.com ↗)
    161comments
  13. GPT-6 Astra Solves a WWI German Radio Cipher(prinzai.com ↗)
    119comments
  14. Cloudflare Quick Tunnels(cloudflare.com ↗)
    299comments
  15. Communication by means of modulated Johnson noise(pnas.org ↗)
    17comments
  16. Learning Another Language May Be One of the Best Ways to Keep Your Brain Healthy(theconversation.com ↗)
    2comments
  17. How to Write with an LLM(sockpuppet.org ↗)
    356comments
  18. You can run Git on object storage if you re-make packfiles(tigrisdata.com ↗)
    23comments
  19. SDCC – Small Device C Compiler(sourceforge.net ↗)
    21comments
  20. Saving another 100TB of RAM(cloudflare.com ↗)
    87comments
  21. Science Is Open Software(jepedersen.dk ↗)
    46comments
  22. From Stonemasons to Carpenters(thelastsoftwareengineer.substack.com ↗)
    4comments
  23. Why building a Rust LSP is hard(rust-glancer.github.io ↗)
    44comments
  24. How OpenAI Used Its Own LLMs to Design Its Jalapeño Chip(ieee.org ↗)
    111comments
  25. Ctenophores: Wonders of Biology(quantamagazine.org ↗)
    6comments
  26. NASA-IBM Lunar Foundation open-Source Geospatial AI Model(usra.edu ↗)
    5comments
  27. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    117comments
  28. OpenJev(openjev.com ↗)
    275comments
  29. Ray Ozzie and the Optimism of Being Early(reproof.app ↗)
    5comments
  30. Goroutine Leak Profiles(go.dev ↗)
    6comments

Summary of the USA federal government's zero-trust memo

49 pointsby 2y agobastionzero.com
37 comments
2y agoHN ↗

This seems very feasible in the context of a government agency, because each employee can receive her token as part of her onboarding when she is hired. However, this sort of thing is harder to do if you are a SaaS service

It's not. Allow SMS to be disabled in favor of a more secure option (WebAuthn). Strongly suggest that users purchase a token.

2y agoHN ↗

I find tokens to be incredibly hard to manage and if you lose them you’re completely screwed forever. And then there’s the problem where every employee gives you a security key do you don’t know which one has which credentials (yes you can add keys but managing all of that physical stuff has a cost).

Although they’re not popular in security circled because technically they’re still vulnerable to phishing websites, I prefer TOTP apps like Google authenticator because it’s backed up to the cloud so even if I lose my phone I know I can get back the keys; it’s the best trade off for security vs usability.

2y agoHN ↗

I was confused on my first read through: this guidance seems to refer to federal enterprise applications, not necessarily customer-facing services.

It seems reasonable to me to require employees to use a physical authenticator. Heck, how many of the people here use them and require employees to use them? Often to secure access to applications and resources less consequential than Official Acts Of The Federal Government.

It would feel less reasonable (and a throwback to the ‘00s) to mail out hardware authenticators to customers/members of the public just to, say, buy stamps from the USPS or something.

But the employee needs to be responsible enough not to lose it, they definitely need to not be able to back it up to god-knows-what consumer-grade provider (or to duplicate it at all). And when they lose it, IT needs to know to invalidate the lost one and issue them a new one.

My impression is that physical authenticators (often in the form of smart cards that double as employee ID) are pretty much table stakes in serious federal environments anyway, is that mistaken?

2y agoHN ↗

needs to be responsible enough not to lose it.... needs to know to invalidate the lost one and issue them a new one.

Ah, the never-ending circle of life.

2y agoHN ↗

My impression is that physical authenticators (often in the form of smart cards that double as employee ID) are pretty much table stakes in serious federal environments anyway, is that mistaken?

I'm a Federal contractor. At least for my agency this is table stakes for any application period. I don't even have a password anymore. For the very small number of legacy applications that don't support smart card auth I have to log in to a different service to get a temporary password that expires after 24 hours.

2y agoHN ↗

The main issue with TOTP is that it's still vulnerable to phishing, though it certainly is significantly better than SMS.

2y agoHN ↗

Yes but as I said, I’m personally less concerned about a successful phishing attack. I can see why you might be concerned as an employee to a multi billion dollar business but attacks on my personal safe are unlikely to be sophisticated enough to fool me / I’m not a target for sophisticated ones. UX vs threat model tradeoff.

2y agoHN ↗

You should be very concerned about phishing. The push towards modern phishing-resistant authentication was spurred from large scale studies of phishing success against very smart targets (security teams at Google, for instance). It's probably drastically less expensive to put a "sophisticated" phishing attack together than it is to target you with a memory corruption exploit.

2y agoHN ↗

Phishing is the major vector for compromise.

There is nobody that is unphishable. Very competent, careful, highly-skilled employees can be and have been phished.

2y agoHN ↗

Passkeys might provide a decent middle ground here, assuming current UX issues can be improved upon.

2y agoHN ↗

Apple effectively fixed the UX issues, so we’re just waiting for the future to be evenly distributed.

2y agoHN ↗

I would certainly hope not, depending on the implementation it would be placing critical keys in the hands of an unknown/untrustworthy third party. The alternative is to manage the key infrastructure as a company which brings its own overheads, so the most obvious implementation goes back to WebAuthn.

2y agoHN ↗

Surprisingly forward looking for the US government

2y agoHN ↗

A lot of good stuff in the recommendations, but I find this one questionable:

“Enterprise applications should be able to be used over the public internet.”

This is straight up arguing against defense-in-depth, and getting rid of connection auditing and interception capability. Seems extremely dubious, unless by "be able to" they mean "it should be OK security-wise if you get rid of the VPN" and not "you should actually get rid of the VPN".

2y agoHN ↗

This is a fairly common recommendation for "zero trust." A VPN is theoretically superfluous in a zero trust environment, where you have no concept of a trusted network and your applications should be sufficiently hardened to prevent unauthorized access. Google operates this way, if I recall correctly. It's how their "Beyond Corp" white-paper recommends setting up the environment.

It's not exactly a "one size fits all" solution; I believe PCI requires VPN usage, for example, so a bank trying to implement zero trust practices would need to keep their VPN intact, but that's a regulatory concern, not so much a technical one.

2y agoHN ↗

A VPN is theoretically superfluous in a zero trust environment, where you have no concept of a trusted network and your applications should be sufficiently hardened to prevent unauthorized access.

Defense in depth is theoretically superfluous in a secure system, but it's still a good idea for... what I thought were obvious reasons. I don't see how this is any different.

And, again, as I mentioned above this isn't even just about network trust, it's also about the ability to monitor, audit, and intercept potentially malicious connections when something does get compromised. "We assume our one layer of security will work perfectly" cannot be the starting assumption...

Google operates this way, if I recall correctly.

Google also has 24/7 world-class security teams monitoring everything across the planet. They have a ton of power to monitor and mitigate damage across the entire internet. Just because something works for Google that doesn't mean it'll work for arbitrary organizations.

2y agoHN ↗

Yes. This is the right way to think about the OMB memo. Good thoughts, which may or may not apply to your organization.

2y agoHN ↗

Defense in depth is an idea that has probably done about as much harm as it's done good. The notion that your apps should be exposed on the public Internet is about clarifying the need for sound authentication on apps. In the OMBZT cinematic universe, there is no meaningful security benefit from being masked on a VPN, because so many different people get access to those VPNs.

Your mileage will vary. I wouldn't expose internal apps on the public Internet even as I acknowledge the ideas OMBZT is pursuing make sense in OMB's setting.

2y agoHN ↗

Defense in depth is an idea that has probably done about as much harm as it's done good

Citation needed?

2y agoHN ↗

I'm not going to give you a citation. Historically, "defense in depth" has been a way to inoculate security tooling from critique or even assessment; things don't need to work at all in a "defense in depth" regime, because you can always say there's some marginal "fail2ban"-level utility to any countermeasure and retain it on that basis. It has in cases prevented meaningful defenses from being deployed, and has crudded up lots of people's attack surfaces. You see this most clearly in endpoint security, where "defense in depth" loaded everyone up with security and AV agents that were all riddled with memory corruption vulnerabilities.

2y agoHN ↗

Both of the following can be true simultaneously:

1. The term "defense in depth" can be popularly abused by irresponsible people looking to pass the buck on security.

2. An application that is intended to withstand being exposed to the public internet becomes strictly more secure when it isn't exposed to the public internet.

I can buy that the government contractors who fall into the former category are sufficiently numerous and sufficiently gormless that this memo is intended to be used as a weapon to drag them kicking and screaming towards default-secure applications. But for people who are already responsible enough that they're doing the right thing, keep using a VPN. Redundancy is resiliency.

2y agoHN ↗

The problem is you can't simultaneously say "secure things via network access" AND "ensure everything has strong auth" -- invariably that collapses to the easier/cheaper of the two.

So the superior realpolitik approach is to mandate the latter and remain silent about the former.

Best case, they'll do both. Worst case, at least now they do the important one.

2y agoHN ↗

The idea behind the OMBZT memo is that, in the OMB's setting, concealing applications with VPNs made them less secure: at a large enough scale, it becomes inevitable that an attacker in any threat model is going to get on the other side of the VPN. One reason half the industry nodded along with that observation is that anyone who's ever done a site-wide pentest knows that the pentest is about to go explosively game-over as soon as someone finds an SSRF and pivots into the perimeter. People contract out "internal" pentests, where attackers start with a VPN connection, but they only do it to make a point to management: "we're fucked".

People on message boards massively overindex on the "VPN" term in the memo. You can readily do a BeyondTrust-style individually-authenticated security architecture using VPN technology. The underlying theme is 1:1 user:app authentication.

2y agoHN ↗

You see this most clearly in endpoint security, where "defense in depth" loaded everyone up with security and AV agents that were all riddled with memory corruption vulnerabilities

There's no way you can seriously argue AVs have caused remotely as much damage as they've mitigated or prevented. Especially not without any kind of citation to back it up.

It has in cases prevented [...]

A lot of things go wrong "in cases". In cases, governments give poor recommendations. In cases, HN users give nonsensical opinions. In cases, police end up killing civilians instead of criminals. In cases, criminals go free because they refuse to testify against themselves. I could go on, but you could use this kind of argument to dismantle just about anything you don't like. Especially when you absolve yourself of the need to provide any kind of evidence of the relative harms.

2y agoHN ↗

Not only do I argue that, but it's a banal argument among security practitioners.

2y agoHN ↗

Not only do I argue that, but it's a banal argument among security practitioners.

Well that's great to know. Do all security practitioners also believe whatever they hear from each other without question? Or do they only expect us mortals to treat them that way?

2y agoHN ↗

If you're not a practitioner and you'd like to learn things, I recommend asking questions, rather than saying "citation needed".

2y agoHN ↗

Have you heard a similar argument to “we don’t need authentication to this application because it’s only accessible on the VPN”?

It allows some pretty sloppy thoughts about security. Treating apps as if they were public is correct because the damage is more likely to be done with someone who already has access.

2y agoHN ↗

Have you heard a similar argument to “we don’t need authentication to this application because it’s only accessible on the VPN”?

Not personally. I've only read anecdotes like these online.

But that's not even the point. People make stupid arguments about everything all the time. Have you heard a similar argument to "We don't need regulation because the market will take care of it"? Surely you don't hear that and conclude "let's get rid of the market"? (Or, I guess this is HN, so maybe you do...)

2y agoHN ↗

None of this is new to me, unfortunately. Going through getting FedRAMP High for my company and there are a lot of hoops to jump through. 80% of it is very reasonable e.g. DNSSEC, Hardware MFA. 20% of it is theater: You cannot, for example, allow AWS Govcloud to handle SSL termination for ECS. You have to manually verify S3 replication and cannot rely on their logging.

Still, echoing other commenters' sentiments, it's nice to see the government being forward-thinking on this. Jury is still out for NIST to weigh in on post-quantum encryption.

2y agoHN ↗

DNSSEC isn't reasonable, and the OMB memo doesn't require it. CLOUD.GOV doesn't even support it.

NIST has standardized a set of PQC constructions; I think the jury is in there.

2y agoHN ↗

NIST has standardized a set of PQC constructions; I think the jury is in there.

Published 4 days ago, thanks for the heads up. I was curious if they would delay announcing the CRYSTALS-Kyber algorithm as their choice after a paper claimed that they were able to decrypt it without quantum. I just looked the paper up and they had a bug in their code, so their claim was dropped. https://eprint.iacr.org/2024/555

DNSSEC isn't reasonable

Memo doesn't mention it, but please enlighten me as to why you feel this way. I think it's a low-effort way to prevent a (admittedly esoteric) attack.

2y agoHN ↗

The NIST PQC standards were published very recently, but selected 2 years ago.

If you use the search bar below and do "DNSSEC by:tptacek", I can spare this threat a recitation of an argument I've made many times before. I would say, with some pretty solid empirical backing, that DNSSEC is more or less a dead letter at this point, most especially in North America.

Of course, "DNS encryption" (which is in the OMBZT memo) can mean a lot of things, and DoH is certainly not dead!

2y agoHN ↗

You cannot, for example, allow AWS Govcloud to handle SSL termination for ECS.

Are you saying you can't terminate TLS at the ALB in FedRAMP high and instead have to terminate TLS at the node/pod level? That's the exact opposite interpretation that we have taken.

Yes, TLS all the way at every layer, but we explicitly terminate at the ALB first.

2y agoHN ↗

We were explicitly told that terminating at the ALB was unacceptable by the 3PAO. We had to build NGINX+ into the containers to terminate there.

I think your approach is valid, and I would have preferred to do it that way. Whatever passes the audit, I guess.

2y agoHN ↗

We interviewed Eric Mill, one of the authors of the memo, a couple years back, getting into the details of what exactly the memo meant about VPNs, about encrypted email (it's not what you think it means) and about encrypted DNS:

https://securitycryptographywhatever.com/2022/06/10/omb-zero...

I think for HN the most important thing you can keep in your head about the OMB ZT memo is that vendors jumped on it like the Bumpus hounds to the Parker family Christmas turkey, so there are a lot of ZT takes that more or less condense to "our product is now rated M for Mandatory".

2y agoHN ↗

No longer use phone/text codes for 2FA

Hopefully my bank implements this recommendation ASAP... I haven't had access to online banking in the two years since they've required phone/text to log in, but are incompatible with my YubiKey (which is phish-resistant).

I have complained for two years to them, visiting a physical teller every time I need an account inquiry.