Local Thread Hijacking Inject DLL into Main Thread

This article logs the interesting things happened when I inject a DLL into the main thread of Notepad.exe. The main thread is the thread which handles all code execution, so what happens if I inject a dll into the main thread? In order to hijack the thread I have to first suspend it. Nothing went…