What happens when root user UID is not 0?
As we know, the default PoC of DirtyCOW overwrites /etc/passwd and changed the username of root user to toor. This raises a question: What happens if the root user UID is not 0, while another user has UID 0?
Recently, to fool someone, I started a new VM and tested this. It went wild and the VM quickly became quite a mess. So in this article, I will share some results and thoughts.