Better HN
topnewbestaskshowjobs
Log inSign up

lvh

6,765 karma · joined Oct 1, 2010 (16y ago) · 1,801 submissions

Co-founder at Latacora. We bootstrap security practices. Check us out at https://latacora.com, or e-mail us at youagain@latacora.com. I focus on infrastructure security and cryptography.

President of the Clojurists Together Foundation. We help the Clojure ecosystem, primarily by funding important open source projects (like CIDER, Ring, Reagent, Calva, Fireplace...), but also critical infrastructure like Clojars. https://www.clojuriststogether.org/

Feel free to contact me at _@lvh.io or professionally at lvh@latacora.com. Twitter: @lvh.

I wrote an introductory course on cryptography called Crypto 101. It's available for free and pairs well with cryptopals:

   - https://www.crypto101.io
   - https://cryptopals.com/
[ my public key: https://keybase.io/lvh; my proof: https://keybase.io/lvh/sigs/3Vhvhy8z2GAvOxd_cISVYLuz61aGzZ8f6AKzD2uAWVA ]
Submissions

comment 3w ago · link · parent

You get a very different CVSS score depending on the formula you use. Ubuntu's response page lets you select between the two.

(I think CVSS is a very poor metric in cases like these; I'm just explaining what I think Ubuntu's process/position is, not making excuses for them. My read is the 9.8 is probably too high but nevertheless more accurate in this case.)

2.

If it could have, why didn't it?(alexgaynor.net ↗)

2 points · by lvh · 7mo ago · discuss

comment 12mo ago · link · parent

"The operating system makes it easy to mess with" doesn't seem like a particularly useful property for application file formats.

comment 1y ago · link · parent

That doesn't really explain why, you're just saying that the thin you claimed was desirable is desirable.

(I don't disagree! I'm just saying: you haven't advanced your argument or answered GP's question.)

comment 1y ago · link · parent

This is a fantastic example of applying deception strategies in practice as part of a detection & response plan. The most common use case is as a canary, but it absolutely works as evidence of compromise, too.

I won't comment on the specifics of the case (the complaint comes across as very convincing), but I will remind people that it's common for investigations to ostensibly show an employee doing bad things, when in reality it's e.g. that employee's credentials/devices that are compromised.

comment 2y ago · link · parent

Some of our customers, like Tailscale, are a helluva lot more picky than that.

comment 2y ago · link · parent

Re: hashing: Yes, but I'll leave that one to Paul who is a lot smarter than I am :)

Re: QA: can you say a bit more about the type of coverage you're worried about? Is your concern that we'd be missing APIs, or that the storage format itself breaks, resulting in fact elision? payne (the underlying project) has a borderline obnoxious amount of tests, but that doesn't mean we didn't miss anything :)

comment 2y ago · link · parent

FYI: we're planning a followup post for people who are less interested in the Datomic mechanics and more interested in the usefulness to investigations and other security functions. Informally, I think of it this way: your SIEM has the deltas, but often you want the contextual states in between the deltas (and a lot of investigation is about trying to reason about that state). We built this tool originally to support that, and it turned out that approach was also super useful for things like compliance, CSPM...

We already wrote a high level blog post here: https://www.latacora.com/blog/2023/11/01/our-approach-to-bui... -- but the one I'm hoping to write is more of a case study.

comment 2y ago · link · parent

(I'm one of the founders of Latacora and reviewed the post.) If any of you are at Heart of Clojure, I'll be there both wearing my Latacora hat and my Clojurists Together hat :)

10.

Datomic and Content Addressable Techniques(latacora.com ↗)

166 points · by lvh · 2y ago · 40 comments

comment 2y ago · link · parent

I don't know if I count as a "feline friend", but: SIDH kept the DH shape. Being able to upgrade the protocols we had relatively closely is appealing. "Structure is useful but seems precarious" wasn't exactly secret knowledge.

comment 2y ago · link · parent

We did an updated version of the Cryptographic Right Answers for PQC. Given how quick the field is moving, I'm sure we're going to have to edit it a bunch :)

https://www.latacora.com/blog/2024/07/29/crypto-right-answer...

comment 2y ago · link · parent

These standards are developed out in the open.

Are you suggesting a true backdoor, or just "the NSA knows something about lattice algorithms the rest of us don't"?

14.

Cryptographic Right Answers: Post Quantum Edition(latacora.com ↗)

109 points · by lvh · 2y ago · 52 comments

comment 2y ago · link · parent

The additional information you need is that that's what Thomas Wouters does (and has done for as long as I've known them, which is many, many years).

comment 2y ago · link · parent

You should try C-f "Chinese".

comment 2y ago · link · parent

We're talking about chips: stuff optimized for inference and training. It may have a lot of memory, it may be able to perform a lot of operations, but it would be difficult for it to enforce high-level concepts like "woke ChatGPT".

comment 2y ago · link · parent

Thanks! I'm glad you liked it. Happy to answer any questions about that talk.

comment 2y ago · link · parent

How do you know this person (Tal Broda) made this? It doesn't seem to list an author.

20.

Our approach to building security tooling(latacora.com ↗)

6 points · by lvh · 2y ago · discuss

comment 2y ago · link · parent

They may often be used with small embedded computers, but 1 Coral TPU handily beats even a top-end CPU for the stuff Frigate needs it to do -- and it does it at minuscule power draw. Sure, it's inference-focused, and that means it has limitations: it sucks for e.g. speech models, too. But it's pretty great at what it does and gets used in real applications too. My guess is you saw the USB-C model, but they do M2, big cards with multiple M2 slots, and miniPCIe (popular in industrial applications) too.

comment 3y ago · link · parent

They sold (and continue to sell) TPUs under the Coral brand, and they're pretty popular for edge inference (e.g. Frigate).

comment 3y ago · link · parent

My daily driver is a 1986 911 Turbo (aka the 930). That's a nearly 40 year old car, they make a similar new infotainment system that works for even older cars. Thing runs like a dream, and they tried very hard to make it "fit" in the old interior even though it clearly had completely different design constraints.

comment 3y ago · link · parent

Good news: you can now, I just installed it and it was easy and fun. https://github.com/PaulWieland/ratgdo

But it is external to the device, you're right :) And for some crazy reason this guy is getting a lot of orders recently ;)

comment 3y ago · link · parent

That sounds even dicier than modifying the wall switch, but sure :)

There is a part of me that wants to break the damn thing open to hunt for a 3.3V line so I can power the ratgdo without a USB PSU...

comment 3y ago · link · parent

That's fair. Maybe my security background is shining through here. I guess we used to have "slashdotting" but that doesn't generalize well :)

I did do some napkin math to quantify how much that bad traffic may have been: HA estimates between 6857-25576 intallations of the MyQ integration. Let's say 16k clients. HA makes it really easy to detect and "add" the integration (which counts as an installation even if it's not configured), so, that's definitely not all clients hitting the API. Let's say it's 50%, so 8k actually using it. Most users just notice myQ is broken. Let's say some fraction retry, which would look the same as an extra user from a volume perspective. Call it an even 10k users (including repeat users).

The most recent change is after they broke everything past the OAuth dance. Let's say the OAuth request is 1kB. The retry code retries up to 5 times with exponential backoff. Let's say 5 requests over 10 min.

(5 requests / 10 minutes) * 1 request/user * 10k users = 5k requests/minute, or 83 per second, amounting to 83kB/s inbound.

There's no reason to assume those requests would synchronize, but I'm sure there's something (let's say every single myQ user updated at the same time).

If what they're saying is true, sounds like actually malicious botnet wielders can ransom the living daylights out of them. Given 1Tbs DDoS attacks they'd only need a tiny fraction of the full bore ion cannon! ;-)

[1]: https://github.com/arraylabs/pymyq/blob/master/pymyq/request...

comment 3y ago · link · parent

Sort-of: the newer ones require the physical button to speak the same rolling code protocol the remotes do. So, yes: but you have to modify a real door opener. ratgdo has the advantage that it pretends to be said door opener.

comment 3y ago · link · parent

Perhaps they updated the statement since then, but they're not accusing them of "basically" DDOS: they literally say DDOS now. Which of course prompts the question: is the problem that the CTO doesn't understand what DDOS is, or are they intentionally painting HA as malicious somehow?

comment 3y ago · link · parent

A third-party hub would have a similar problem, though, right?

comment 3y ago · link · parent

Why did that software work mostly fine most of the time since 2017? Even Chamberlain admits their blocking is deliberate. Even Chamberlain's external statements suggest this is part of their corporate strategy.

Why is Chamberlain's API so brittle it can't stand prodding from what they claim is a tiny fraction of users, even if those are misbehaving? Do you agree that comparing that to DDoS is ludicrous, and suggests either dishonesty or a fundamental misunderstanding of what "DDoS" means?

12345
61