News for hackers. Stuff that matters.
Re:Practical bruteforce of military grade AES-1024 (2021) [v... by SAI_Peregrinus on Monday May 02, 2022 @11:32AM (#31236452)
There is no such thing as AES-1024 specified by NIST. AES is a NIST standard, it has three (and only three) variants: AES-128, AES-192, and AES-256. If you see something other than those three, it's almost certainly proprietary junk.

Note that AES is always used in a "mode of operation" to provide any sort of secure encryption. AE-secure modes are AES-SIV, AES-GCM-SIV, AES-OCB, and AES-GCM in decreasing order of safety/performance (possibly others, but those are the most well reviewed and most used). Those sometimes get noted with the key length, eg AES-256-GCM-SIV, sometimes not.

Re:Practical bruteforce of military grade AES-1024 (2021) [v... by dehrmann on Monday May 02, 2022 @12:17PM (#31237142)
To see how insecure a mode of operation can be, Wikipedia has a picture that was encrypted with ECB:

https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation...

Re:Practical bruteforce of military grade AES-1024 (2021) [v... by hatsunearu on Monday May 02, 2022 @12:53PM (#31237642)
That picture has become some sort of meme of itself (I've heard it referred as "you can see penguins through ECB") because it's so damn popular.

However ECB is a lot worse than "you can see data patterns"--with a chosen plaintext attack (very common scenario in networking and storage applications) any dumbass can decrypt it trivially.

Re:Practical bruteforce of military grade AES-1024 (2021) [v... by evh on Monday May 02, 2022 @04:44PM (#31240680)
Those who want to try it for themselves can check out https://cryptopals.com/sets/2/challenges/12 (and that entire set).
Re:Practical bruteforce of military grade AES-1024 (2021) [v... by hatsunearu on Monday May 02, 2022 @06:22PM (#31241786)
Oh man, I loved doing cryptopals back in the day. I should try again.
Re:Practical bruteforce of military grade AES-1024 (2021) [v... by Terry_Roll on Monday May 02, 2022 @06:15PM (#31241719)
I still havent see a regex for ECB though!
Re:Practical bruteforce of military grade AES-1024 (2021) [v... by heavenlyblue on Monday May 02, 2022 @01:11PM (#31237897)
> with a chosen plaintext attack (very common scenario in networking and storage applications) any dumbass can decrypt it trivially.

No you can’t get decryption key using chosen plaintext attack with AES.

Read here: https://crypto.stackexchange.com/questions/1512/why-is-aes-r...

Re:Practical bruteforce of military grade AES-1024 (2021) [v... by oconnor663 on Monday May 02, 2022 @01:44PM (#31238333)
Parent said "decrypt", not "get the decryption key", and parent is correct. The attack looks kind of similar to a "padding oracle attack", where you work one byte at a time using a block boundary.
Re:Practical bruteforce of military grade AES-1024 (2021) [v... by dathinab on Monday May 02, 2022 @01:26PM (#31238087)
Yes, like the video states.

This is what the talk is called because that is what the vendor advertised not because it is a standardized thing which makes sense.

Actually the vendor does a lot of not so grate things, from a very very bad password hashing to how they handled file encryption.

Interesting is that the talk about the security ends at 32min, after this is a talk from a private contractor hired by the the company which messed up the encryption. Still watching it but that's unusual and nice.

Re:Practical bruteforce of military grade AES-1024 (2021) [v... by crest on Monday May 02, 2022 @11:41AM (#31236585)
The bullshit "AES-1024" is quoted from the product description and repeated in the title as clickbait.
Re:Practical bruteforce of military grade AES-1024 (2021) [v... by jupp0r on Monday May 02, 2022 @01:19PM (#31238000)
The title is funny, they even intentionally put "military grade" in there to make the sarcasm even more apparent. This is different from click bait, which I see as an intentional dark pattern.
Re:Practical bruteforce of military grade AES-1024 (2021) [v... by dwringer on Monday May 02, 2022 @04:50PM (#31240748)
I think it would be a far better headline if "military grade AES-1024" were put in scare quotes. Otherwise it just looks like clickbait and presumably keeps a lot of people from ever clicking on it.
Re:Practical bruteforce of military grade AES-1024 (2021) [v... by ozim on Monday May 02, 2022 @05:00PM (#31240870)
I agree it is a click bait because I also thought - "huh AES-1024, military grade, let's see what it is" and only after clicking - "aww yeah military grade was just pouring gas over the joke"
Re:Practical bruteforce of military grade AES-1024 (2021) [v... by jupp0r on Monday May 02, 2022 @10:56PM (#31243953)
I immediately understood the joke, maybe it’s a German humor thing.
Re:Practical bruteforce of military grade AES-1024 (2021) [v... by SAI_Peregrinus on Monday May 02, 2022 @07:18PM (#31242405)
Yes, I merely want to reiterate as clearly as possible that there's no such algorithm endorsed by NIST. AES is a standard, AES-1024 isn't one of the variants of that standard. For good reason.

Symmetric key sizes larger than 256 bits are pretty much universally snake oil.

Re:Practical bruteforce of military grade AES-1024 (2021) [v... by a1369209993 on Monday May 02, 2022 @10:36PM (#31243791)
> Symmetric key sizes larger than 256 bits are pretty much universally snake oil.

512, actually - some symmetric applications are vulnerable to collision or collision-like attacks, and a cosmological-scale attacker can theoretically get up to about 2^308[0] bit operations at current-ish cosmic microwave background temperatures, so 2^256 bit operations is just about plausible in worst case scenario planning.

But 256-bit keys are probably sufficient for any practical application, and that doesn't excuse 1024 anyway.

0:

  You have: log2(1e80 amu c2 / k 3K ln(2)) 
  # (mass of observable universe / landauer limit)
  Definition: 307.99542
Re:Practical bruteforce of military grade AES-1024 (2021) [v... by Closi on Monday May 02, 2022 @01:23PM (#31238045)
The company who wrote the software are in the presentation and explain this - 192 / 256 could not be used because of export restrictions, so AES-128 is actually what they used.

1024 is marketing fluff, which they justified by running 8 passes on the file encryption key (to paraphrase the presentation - ‘Regular consumers don’t understand encryption standards, but think bigger numbers = better and trust the term Military Grade’).

Re:Practical bruteforce of military grade AES-1024 (2021) [v... by denton-scratch on Monday May 02, 2022 @02:01PM (#31238550)
No military buys "military-grade" anything. Militaries buy stuff that conforms to some specific military standard.
Re:Practical bruteforce of military grade AES-1024 (2021) [v... by dane-pgp on Monday May 02, 2022 @02:49PM (#31239198)
Right, it's an unhelpful qualifier.

I'm reminded of the comments of chemistry experts about the UK government using the phrase "military-grade nerve agent"[0]. Firstly, no military would ever admit to owning the stuff (since even the permanent members of the UN security council are signatories of the Chemical Weapons Convention), but, more obviously, there's no such thing as a civilian-grade nerve agent.

I suppose what they meant was "no medical, industrial, or commercial uses", or "requires the resources of an entire country to create and manage", but those aren't attributes that you would want for your security software.

[0] The Financial Times, 2018 - https://archive.ph/0eZl8

Re:Practical bruteforce of military grade AES-1024 (2021) [v... by ethbr0 on Monday May 02, 2022 @04:45PM (#31240690)
> there's no such thing as a civilian-grade nerve agent

Paraoxon? Dichlorodiphenyltrichloroethane? Bifenthrin?

Re:Practical bruteforce of military grade AES-1024 (2021) [v... by Closi on Monday May 02, 2022 @03:14PM (#31239505)
> Right, it's an unhelpful qualifier.

Depends who you are - If you are in marketing, it's a really helpful qualifier (i.e. it's something that the general public clearly put stock in, as mentioned in the presentation).

Re:Practical bruteforce of military grade AES-1024 (2021) [v... by badrabbit on Monday May 02, 2022 @06:34PM (#31241951)
I must disagree with the "proprietary junk" assertion you made. While Your statement about AES is correct, Rijndael cipher of which AES is a subset can have bigger keys and block sizes. For marketing reasons they interchange Rijndael with AES since many have never heard of it.
Re:Practical bruteforce of military grade AES-1024 (2021) [v... by tgsovlerkhgsel on Monday May 02, 2022 @07:34PM (#31242517)
While it is possible to do that, companies that understand what they're doing will generally stick to well-proven, standardized versions and companies that don't tend to also do other dangerous mistakes.

It's not a 100% guarantee that it's proprietary junk, but it's a very good indicator.

Re:Practical bruteforce of military grade AES-1024 (2021) [v... by gray_charger on Monday May 02, 2022 @07:43PM (#31242570)
Is AES-XTS a secure mode? Or is that something else?
Re:Practical bruteforce of military grade AES-1024 (2021) [v... by Nursie on Monday May 02, 2022 @10:41PM (#31243838)
XTS is often used in disk encryption (or it was a few years ago when I worked on at-rest data encryption for a storage product at a major vendor).

It uses the sector number and block offset within the sector as input, a little like a counter mode. Its major advantage is zero overhead, so you don't lose disk capacity, or need to map blocks around, you can just sorta use it as a filter layer in your disk reads/writes.

It's not properly authenticated though, as data tampering can result in altered or scrambled plaintext rather than detectable errors, so you need other mechanisms for error detection, which then have to be secure against attacks.