Exit Techniques

Sometimes during assessments, you may have injected your badger into a legitimate process which was already running. In such scenarios, you might not want the whole process to exit when you kill your badger, especially if you are injected into something sensitive like explorer.exe or a browser. For such scenarios, you can request badger to just exit the current thread instead of the whole process using the Exit Thread option here or by typing exit_thread in the badger’s console. The Exit Process exits the whole process instead of just the current thread.