August 19, 2022 in Archaeology, Clustering
In a recent Twitter exchange with Tim I mentioned my earlier post in which I described a practice of crypto code copypasting being quite prevalent. Such practice is problematic of course, because if the whole code is naively copypasted, the paste will include fixed keys, and IV making the whole encryption scheme kinda questionable…
It crossed my mind that it would be an interesting set of yara sigs to focus on these known keys, IVs, or plain text passwords and as such, I am listing a bunch of these below:
a*'z\"8L<(V
lZy8L8mxYes, you can use these in VT, or elsewhere, and with time collect samples that may be of interest. Be it vulnerability research, or simple clustering exercise. And yes, not all of these are guaranteed hits, and some of the samples you will find are kinda archaic by today’s standards (compiled in 2000s). Still, it’s an interesting detection mechanism, right?
Also, I intentionally don’t link it to vendors, because it’s not about shame and blame. My first ever written online forum (in PHP) stored credentials in a database, in plain text. So, there you have it. We all just need to keep raising that bar together…