spirolone wrote:My best results were with OllyDbg 2 and ScyllaHide plugin, but they weren't good enough to find the key.
For some reason I couldn't hide OllyDbg 2 properly through ScyllaHide. Anyway, it's not like I could understand much by running the code through that, so I gave up quickly. Cheat Engine was very easy to use (at least for basic operations), but as I suspected, it might not be enough since the key could stay in memory for a very brief time and we don't know exactly when.
I also tried with IDA, but it's even more menacing than OllyDbg... I think it would be more powerful, if I knew how to use it, but I don't.

The paper
here talks about a task similar to ours, but I don't think we can follow that road: dumping basically means making a snapshot of the current memory contents (correct me if I'm wrong), but it's likely that the key won't be in memory when we dump it. Anyway, the IDA plugin they use can be found
here, and I tried to use their "pd" (Process Dumper) tool, but it doesn't work, maybe it doesn't like the executable or maybe it doesn't like the OS (it's an old tool and I'm on Windows 10 at the moment).