Re:AES Finder – the utility to find AES keys in running proc...
by makomk on Sunday September 06, 2020 @12:33PM
(#24392515)
Yeah, it's a trick that's been around for a while. The thing that makes it a little fiddly is that the various ways to store a key schedule, especially for decryption - it could be in either order, and there's some optimization to do with whether InvMixColumn is pre-applied to the values that I can't remember the details of. I actually had a fork of the classic aeskeyfind that added some of these tricks, though apparently it's broken at higher compiler optimizations now and I probably need to look into that: https://github.com/makomk/aeskeyfind Could just have used this instead if I'd known about it.
[ Parent
| on HN ]
Re:AES Finder – the utility to find AES keys in running proc...
by dunham on Sunday September 06, 2020 @01:02PM
(#24392769)
Also sqlite3's encryption seems to be a byte swapped AES.
E.g. look for a byte swapped AES key schedule in dropbox process memory and you should find its sqlite3 encryption key.