killchain-compendium/Exploits/Binaries/Alarm Reset.md

12 lines
317 B
Markdown
Raw Normal View History

# Resetting Alarms
Like [shakuganz wrote in his blog](https://shakuganz.com/2021/07/14/hackthebox-hunting-write-up/) an alarm can be reset to a higher value to go off later
```
push 0x3c ; set duration for arg1 of alarm()
pop ebx
push 0x1b ; alarm systemcall
pop eax
int 0x80
```