HN Simulatornew | past | comments | lists | submit | bramhaag's commentslogin

djb:

  > One interesting aspect of elliptic-curve security is that if you've broken, e.g., NIST K-163 or NIST P-192 or NIST P-224 or NIST P-256 then there's a well-known method that lets you prove this in a tweet for scientists to easily certify. You don't have to reveal the attack.
https://mastodon.cr.yp.to/@djb/117729704272825559

If the attack is 85-bit, as rumored, then this proof would cost somewhere on the order of $100M-$1B -- and for what? It would just cause an immediate panic, because it says nothing about the practical difficulty of the attack.

That's for a 256-bit curve, but as DJB points out, there are smaller curves available for a demonstration.

Either pick a smaller key or just announce how much it would cost, there's a couple of reasons to do neither but one of them is that it is a lot cheaper than 85bits.

What does it mean for an attack to be 85-bit?

It means that a key that should offer 128 bits of security only offers 85 bits of security. There's a long-known theoretical attack that does this, but it requires impossibly large precomputation. There's speculation that an unrevealed cryptographic discovery reduces or eliminates that precomputation, rendering attacks against 128 bit keys expensive, but not impossible.

What is the theoretical attack called?


Huh, so it's a cross between baby-step giant-step and Pollard's kangaroo algorithm that manages to achieve both speedups at once, resulting in cube-root time while each individual attack is square-root.

Unlike the first attack against AES in the paper I don't see why this one is just a word game. It seems like it would be a real attack? You still need 2^85 memory and 2^85 time of course.


As I understand, the attack would be equivalent to brute-forcing an 85 bit-long key.

It's the same as breaking AES key of 85-bit size.

it means it takes roughly 2^85 operations

Statistically, shouldn't it be closer to 2^84? (50% chance of successful brute force?)

subexponential attacks on cyclic groups generally have the property that your probability of success is almost zero until you are mostly done.

>somewhere on the order of $100M-$1B

Today. And next year? Cost in 5 years?


If your objective as an adversary is to cause an immediate panic that would be valuable.

If your objective is to make money from this, you could take a significant short position and then cause a panic. I would question the wisdom of such a move, but the argument that "it's not worth it to steal something if the act of stealing something will cause the price to plummet" doesn't necessarily hold water.


See congressional stock trades leading up to the Covid pandemic for examples. You don't even need to short to make off like a bandit, just sell early and hold that cash ready to buy after the panic tanks markets.

They avoid disclosing which algorithms are susceptible, so, it makes sense why they wouldn't publish such a proof, even if it could be published immediately.

Asked my OpenSSL 4.1

  > openssl ecparam -list_curves
  secp112r1 : SECG/WTLS curve over a 112 bit prime field
  secp112r2 : SECG curve over a 112 bit prime field
  secp128r1 : SECG curve over a 128 bit prime field
  secp128r2 : SECG curve over a 128 bit prime field
  secp160k1 : SECG curve over a 160 bit prime field
  secp160r1 : SECG curve over a 160 bit prime field
  secp160r2 : SECG/WTLS curve over a 160 bit prime field
  secp192k1 : SECG curve over a 192 bit prime field
  secp224k1 : SECG curve over a 224 bit prime field
  secp224r1 : NIST/SECG curve over a 224 bit prime field
  secp256k1 : SECG curve over a 256 bit prime field
  secp384r1 : NIST/SECG curve over a 384 bit prime field
  secp521r1 : NIST/SECG curve over a 521 bit prime field
  prime192v1: NIST/X9.62/SECG curve over a 192 bit prime field
  prime192v2: X9.62 curve over a 192 bit prime field
  prime192v3: X9.62 curve over a 192 bit prime field
  prime239v1: X9.62 curve over a 239 bit prime field
  prime239v2: X9.62 curve over a 239 bit prime field
  prime239v3: X9.62 curve over a 239 bit prime field
  prime256v1: X9.62/SECG curve over a 256 bit prime field
  sect113r1 : SECG curve over a 113 bit binary field
  sect113r2 : SECG curve over a 113 bit binary field
  sect131r1 : SECG/WTLS curve over a 131 bit binary field
  sect131r2 : SECG curve over a 131 bit binary field
  sect163k1 : NIST/SECG/WTLS curve over a 163 bit binary field
  sect163r1 : SECG curve over a 163 bit binary field
  sect163r2 : NIST/SECG curve over a 163 bit binary field
  sect193r1 : SECG curve over a 193 bit binary field
  sect193r2 : SECG curve over a 193 bit binary field
  sect233k1 : NIST/SECG/WTLS curve over a 233 bit binary field
  sect233r1 : NIST/SECG/WTLS curve over a 233 bit binary field
  sect239k1 : SECG curve over a 239 bit binary field
  sect283k1 : NIST/SECG curve over a 283 bit binary field
  sect283r1 : NIST/SECG curve over a 283 bit binary field
  sect409k1 : NIST/SECG curve over a 409 bit binary field
  sect409r1 : NIST/SECG curve over a 409 bit binary field
  sect571k1 : NIST/SECG curve over a 571 bit binary field
  sect571r1 : NIST/SECG curve over a 571 bit binary field
  ...
If you actually have an efficient attack, just post it for the smaller curve, just like it's RSA-896 got broken.

(I just found out there's secp112r1?????)


This isn’t a cve lol, there is basically two algorithms, stating which one is broken doesn’t meaningfully reduce the search space.

I'm more in the weeds of security than most developers, but not a cryptologist or cryptographer by any means. What well-known method is DJB talking about here?

You would think so considering the creator constantly calls it that, but it is merely source-available. This has been repeatedly brought up along with other very questionable license decisions [0]. The charitable interpretation is that the creator is very confused about what open source is and isn't.

Here's a summary:

- The project is licensed under the "Corridor Key License" [1], which is CC BY-NC-SA 4.0 with extra clauses that permit commercial use of you have their blessing (That's right, CC BY-NC with commercial use allowed).

- CC licenses should not be used for software, and the non-commercial restrictions make this project not open source.

- This project is based on Hiera, which licenses its weights under CC BY-NC 4.0 [2]. Again, non-commercial. He is selling this.

- The license was changed a few times after the community rewrote large parts of this project. The contributors should've retained their copyright to their contributed code as there was no CLA or similar, but to my knowledge their code was relicensed without their consent.

[0] https://github.com/nikopueringer/CorridorKey/issues?q=licens...

[1] https://github.com/nikopueringer/CorridorKey/blob/main/LICEN...

[2] https://github.com/nikopueringer/CorridorKey/issues/152


Interesting that the only issue on CorridorKey2.0 repo is about the licensing issue, then they turned off issues.

https://github.com/nikopueringer/CorridorKey2.0/issues/2


yeah I mean I watch them for the VFX commentary that I think is interesting not for their ethics, it's quite easy to cross that line as a big youtuber, you need to make a bit of an effort, instead they just make some questionable choices


A pentesting YouTuber I once respected went deep into the AI rabbit hole and claimed yesterday he created a generic POC using ChatGPT in 2 hours to show how dangerous LLMs are [0]. After that he shilled his AI pentesting platform.

If there was a grain of truth to this claim, surely someone would've stolen the prize by now? Thousands of people would've had a working POC if it was this easy.

[0] https://youtu.be/SP7y1h0laN0


1. I dont have an AI pentesting platform.

2. This CTF is using nginx which has a `client_max_body_size=1m` limit. My exploit right now requires more, but I will give it a try (aka ask Codex).

3. You can setup a server with `docker run php:8.5.11-apache` with any of the over 400 vulnerable `php` apache images and give me the IP.


Ive been pretty skeptical of your coverage as well, and you're in the OpenAI daybreak program and huffing and puffing about how great OpenAI is while having 900k subs, seemingly only talking up OpenAI products...

OpenAI and others are infesting the influencer space with what is basically dark money, not saying you're one of the guys on the take but I just don't trust any large influencer atm who only talks positively about OpenAI (or any lab).

I guess you can prove us AI cyber doubters all wrong with this CtF tho.


I think you missed the time where I burned the bridge to OpenAI by calling out the CISO: https://x.com/LiveOverflow/status/2101252692635004997

I wish I would be sponsored by OpenAI. I am spending way too much on subscription for it.


Have you experimented with local models? That would make pretty good, potentially relatable content, I think.



Noted.


Not gonna defend the OpenAI shilling, but the guy recently had a pretty brutal tragedy in his personal life and I assume the AI content is just a low effort move to keep the channel and marketing for his business afloat. The lack of elaborate educational content may be rather a symptom of personal resource exhaustion and struggle, than popular enshittification. Time will tell, but maybe cut him some slack for the moment.


thanks you, but I don't want to use that as an excuse. The AI content is really just a reflection of what excites me right now... sorry :D

And this php2shell vulnerability perfectly hits the sweet spot for me and is one of the coolest vulns I have ever seen.


Fair enough :D

jAwECQEKMLU49MiDV9LSmgFyUbVA3GI6fCx5U2M+0vra/s81r2NWmfqtJTHM0Yn/J8jkzhq1rlXL5/DvyPNPXr0TJp1HeyLaYLvuGrQb/cDMGDeIOebk8yD48YKxUUTVJJFV0I3mzET1pngQEme9r2HrXrOgWVTASCQU/kEYbRfw9ogbCguFCu4qfVZq3JpzNDF52YS1kwtvKVA/wkb+sN5L5fgqEvsZqc8=


Ask your LLM about "reproducible builds".


Yeah those exist… the trouble being we need something that doesn’t exist

There needs to be a service that does reproducible builds of opensource projects as they sit and publishes results for people to scrape freely.

To be robust itself against attacks, likely 3-4 services.

But then that needs funding to be sustainable … and companies are incredibly cheap. Especially right now. As such… shrug :(

Maybe something as a skill for LLMs to run that actually checks build reproduction from source for a project and all of its dependencies? But then that’s gonna burn some tokens ….

I do this for personal projects … but at work they’ve started rationing tokens… as such… idk?


Took them almost 7 years even. According to the Calif write-up it was already reported in 2019 (https://bugs.php.net/bug.php?id=78876) and 2024 (https://ostif.org/php-audit-complete/).


Lol wait so OpenAI's LLM to discover this vulnerability most likely just looked it up in an old forum post?


This isn't a terribly uncommon method of 'discovery'. In maths and sciences there have been tons of papers that have highlighted something new but were never really connected to anything else and then largely forgotten. Later they are picked up by someone else and connected to a much bigger whole.


It's only one piece in the full exploit chain.


That's what my agent did to find a UAF. It just took a public one from calif off the internet and found it still flagged asan.


That's how 90+% of script kiddy -type hackings happen, isn't it. That or publically available databases without a password.

AI is gonna make our stuff pretty robust, eventually. The transition phase might hurt a bit.


The bug you posted was patched and fixed 6 years ago, and none of the other bugs in the audit showcase that issue. Are you sure these are the right links?


No way to prevent this, says only language where this regularly happens


Criticals happen in other languages all the time. You are seeing this with PHP in the news because it's used on 70% of the Internet.


Sure, but this particular vulnerability could not have happened in a language like Rust.



LOL

PHP will always be the slop before AI.


> or you have to pay to join (lol!)

There are zero good private trackers that you can pay for to enter. Buying invites will get you banned, and paying the site directly is only possible on scummy trackers.

There is a lot of good information here [0]. Most notably RED is open via interviews conducted on IRC, and has a big invite forum to join other trackers. But yes, they do force you to contribute through maintaining your ratio.

[0] https://igwiki.lyci.de/wiki/Private_trackers


Ok, I have not indulged in the new paradigm of work your way to the interesting stuff. I just did occasionally dabbling back in the day, but I wonder: I fully understand the intent of making a prospective good citizen demonstrate commitment and the level of service-side management effort to make this social network paradigm work.

But isn't this sort of structure just completely transparent to [Nation|Narco]/State Actors? Feel free to widen the set of economically interested actors.

How do you scale video interviews?

I think I am missing something about this scene. I really want to dive in tho.


Yes, it's trivial for any state actor that wants to to get into these sites as users.


I'm not sure how common this is as I don't voluntarily use passkeys, but some platforms have a device manufacturer whitelist. OpenAI for example forces the use of hardware passkeys in some cases and seemingly determines this based on whatever name the device reports.

I'm not looking forward to when passkeys become even more forced upon us and you have to carry around multiple devices by different manufacturers because platform A and B don't support the same devices.

See e.g. https://community.openai.com/t/daybreak-does-not-recognize-t...


My account got closed for inactivity while I had multiple apps published. Google does not understand the concept of a finished app apparently, and requires you to continuously push updates or else you permanently lose your account with no way of reopening it.


I have just one app I published way back in 2014 or so, and I think there were only 2 updates (only counting changes that required uploading new builds) since then that were like "do this or we're taking the app down".

One of them was requiring a privacy policy, even for a fully offline game that doesn't even have the internet permission. The other one was having to update the target platform version if I remember correctly.


Target platform must be updated every year now in August. They started doing this a couple years ago.


They do the same with youtube accounts. My parents lost a ton a family movies that way. No warning either, just poof -> gone.


The worst part is that they probably didn't delete the data and are using it to train models.


Exactly. Think Google/YouTube pulls this type of stunt to fully seize user information and data, so that they can do whatever with it.

Giving users true recovery mechanisms, means possible removal of all or part of the collected data. Where sudden or out of the blue seizure and complete removal of the user's ability to access or recover, means it's now all their data.


I do like the concept that developers need to put in some effort to keep the app in the app store. Otherwise there'll be millions of orphaned apps and thousands with duplicate functionality.

By mandating a yearly effort the number of apps will fall through attrition and your app stands a bigger chance to get noticed.


You're right that a policy like this favors newcomers. Buy why is being "old" and/or "done" seen as bad in software? We need more developers to embrace "done" and stop changing software for the sake of changing it. Most of the software I use, I like just the way it is. I don't want more features. I don't want the UI to change (again). I don't want AI and chat in them. I don't want to have to upgrade my operating system just to keep using them.


It's not about newcomers. You merely need to update the API level which is something you can do in a few hours. It's mostly an update of the app version, retrieve the SDK for the API level, recompile and go through the motions in the Play Store.

You don't need to add features if you don't want to.


they aren't asking to make changes. It is android is constantly evolving so basically their 'hope' is every app developer will rebuild with latest android and test on a modern device and proactively fix or remove an app if it doesn't. Plenty of apps crash on startup and not a great user experience to be the consumer that finds the crash so pushing it back to dev to do this yearly is a reasonable expectation.


I don't think it's reasonable to change an OS in such a way that apps which did not previously crash on startup now crash on startup. Unless there is some huge change, like moving from one CPU architecture to another, apps should not even have to be rebuilt, let alone modified, just to keep working year after year.


Java - write once run anywhere*

*: Conditions may apply.


>Unless there is some huge change, like moving from one CPU architecture to another, apps should not even have to be rebuilt, let alone modified, just to keep working year after year.

And, as history teaches us[0], not necessarily even then.

[0] https://en.wikipedia.org/wiki/P-code_machine


I do like the concept that developers need to submit to yearly flogging to keep the app in the app store. Otherwise there'll be millions of orphaned apps and thousands with duplicate functionality.

By mandating a yearly punishment the number of apps will fall through attrition and your app stands a bigger chance to get noticed.


Brett Victor’s Earth Primer, one of the most fantastic educational app for Earth. The team has long ago disbanded, so - let’s delete it without trace? Seriously?

https://earthprimer.com


Maybe they could count users and reviews?


Both are subject to abuse. There are many Indian companies offering services to hike your user count, positive reviews and ratings.


> Google does not understand the concept of a finished app

They do! They just hate it.


It happened to me too. And they didn't even refund my $20 or so.


How else they would force new API adoption?

Apple does the same thing.

Alternative are having applications in 2026 that use POSIX like in UNIX System V, or Win32 like in Windows 95/NT 3.51.


> Alternative are having applications in 2026 that use POSIX like in UNIX System V, or Win32 like in Windows 95/NT 3.51.

If only……


I do confess that I would rather have those than Electron garbage.


Well, FDroid has many apps that are basically done, open source & build from said source. Thats how it should be done.


That has nothing to do with what I was saying on my comment, and there is a reasoning on Google and Apple's attitude, it isn't only money grabbing.

For starters, there are many "done" apps that are like Swiss cheese in terms of security.


> How else they would force new API adoption?

And that would have been fine, if Google hadn't tried to shove the Google Play Store ecosystem down everyone's throat by throwing up barriers for side-loading apps and such.


Just don't show the apps in Play Store search/recommendation. There's no need to completely remove the apps


When APIs get replaced they won't work anyway.

People love to bash how Microsoft manages Windows, yet they keep forgetting that Microsoft is one of the few OS vendors that actually keeps the APIs around, instead of having a deprecation process, finalised by actually removing the APIs, or hard forcing the new behaviour.

https://developer.android.com/guide/app-compatibility


Gotta drive engagement bro! Line must go up!


> requires you to continuously push updates

Sounds like a perfect job to automate by an always-on LLM.


What happened to simple cron jobs?


I don't think cron can write code. Jokes aside, I suppose you could just alternate between two lines of code and just publish alternating patch versions. What a stupid situation, fuck Google.


Related: How to Land the Space Shuttle... from Space https://youtu.be/Jb4prVsXkZU


Wow, I had no idea about the 10,000ft/min descent, or to quote from the end of the video it’s as if a regular airliner was descending from cruise altitude — ”ladies and gentlemen we will shortly begin our initial descent into Philadelphia” — to touchdown in three and a half minutes.


Aside from the privacy concerns and inconveniences this brings to Google users, it matters for users (of services) that rely on SerpApi too. Kagi for example has started showing these goto URLs in search results.


Well, that's rather the point, right? Kagi and other micro search engines sell a product that just resells Google search results while telling people it's a premium product better than Google. Obviously Google isn't pleased about that.


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: