
Remove API hooks from a Beacon process.
Il s'agit d'un Beacon Object File permettant d'actualiser les DLL et de supprimer leurs hooks. Le code provient de la recherche « Universal Unhooking » de Cylance :
https://blogs.blackberry.com/en/2017/02/universal-unhooking-blinding-security-software
Utilisation :
Chargez unhook.cna dans Cobalt Strike via Cobalt Strike -> Script Manager
Exécutez 'unhook' depuis Beacon
Compilation :
x86 : Ouvrez Visual Studio x86 Native Tools Command Prompt et tapez 'make' x64 : Ouvrez Visual Studio x64 Croos Tools Command Prompt et tapez 'make'
Ce projet est dérivé de :
Reflective DLL Injection BSD 3-Clause License Copyright (c) 2011, Stephen Fewer of Harmony Security (www.harmonysecurity.com) https://github.com/stephenfewer/ReflectiveDLLInjection
ReflectiveDLLRefresher BSD 3-Clause License Copyright (c) 2017, Cylance Inc. https://github.com/CylanceVulnResearch/ReflectiveDLLRefresher
Unhook Meterpreter Extension BSD-3-Clause License 2006-2018, Rapid7, Inc. https://github.com/rapid7/metasploit-payloads/commits/master/c/meterpreter/source/extensions/unhook