Awesome
The Sea Watcher
Implementation of The Watcher, a SMM rootkit:
- https://www.mitre.org/sites/default/files/publications/14-2221-extreme-escalation-presentation.pdf (slides 57 to 63)
- https://scumjr.github.io/2016/01/10/from-smm-to-userland-in-a-few-bytes/
This is a (dirty) proof-of-concept.
Files
hijack_vdso.c
: SMM payload hijacking VDSOpayload.s
: shellcode written to VDSO byhijack_vdso.c
seabios/
: SMM backdoor, applied against SeaBIOSshellcode.rb
: metasm script to compilehijack_vdso.c
smm-trigger-local.c
: trigger the execution of the SMM payload from a local accountsmm-trigger-remote.py
: trigger the execution of the SMM payload from the networktrigger_smi.c
vdso-test/
: stuff to test VDSO shellcodes