CTF-Forge HackTheBox渗透测试(四)
大家好,我是你们好朋友小峰。陆陆续续为大家推出
CTF-Horizontall HackTheBox 系列文章。
There are some neat TTPs that I don’t use frequently, and if the time arises, I need to dig up details again. So, I figured to write some of them down, starting with SSH Agent Hijacking.
What is SSH Agent Hijacking?Short story, if you have keys added to an SSH Agent an adversary with root permissions can use them. If you forward the SSH Agent to another host, an adversary with root permission on that other host can exploit and leverage your keys as well.