I want to create a program (once it is run) that persists after a system reset.
I saw that rootkits can do this or by infecting firmware (UEFI / BIOS) but I'm very confused.
so how does it work? do I need to exploit some vulnerabilites or it can be done on every computer/every system version? and is too hard to do?
if you have any good resources on this or where can I start it would be very appreciated.
Thanks for reading me, I hope you will enlighten me a little: p
To be honest, I'd start with the Wikipedia articles[1] for the high-level fundamental overview and drill down into the linked technical documents[2] as curiosity takes you.
On many PC systems, you can compile an executable for the UEFI environment, place it onto the UEFI volume by mounting the partiton, and change a file to have it execute on startup.
On more secure systems, you'd utilize a chain of exploits to accomplish compromise.
Also check out security researcher blogs and read CVE reports[3].
1. https://en.wikipedia.org/wiki/Rootkit
2. https://www.trendmicro.com/en_us/research/15/g/hacking-team-...