Beyond good ol’ Run key, Part 130
2020-10-20 06:58:52 Author: www.hexacorn.com(查看原文) 阅读量:435 收藏

October 19, 2020 in Anti-Forensics, Autostart (Persistence)

Yet another short one, courtesy of @tiraniddo who pointed me to this Microsoft article describing SERVICE_FAILURE_ACTIONSW structure. In essence, you use it to tell service controller what to do when your service breaks. I have seen this technique abused by malware over 10 years ago, but completely forgot about it.

James not only provided the link, but also suggested that you could register a service which you’ll know crashes if you get it bad input on command line but what you really want is it to fail so that it runs the backup command. And you can delay the command for a long time to disconnect between the failure and the command execution.

Thanks James!


文章来源: https://www.hexacorn.com/blog/2020/10/19/beyond-good-ol-run-key-part-130/
如有侵权请联系:admin#unsafe.sh