Files
atomic-red-team/atomics/T1138/src/AtomicTest.dll.cpp
T
caseysmithrc fe502ed03c T1138 yamilze
2018-05-23 21:25:36 -06:00

21 lines
431 B
C++
Executable File

// dllmain.cpp : Defines the entry point for the DLL application.
#include "stdafx.h"
#include <windows.h>
BOOL APIENTRY DllMain(HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
MessageBox(0, L"Atomic Shim DLL Test!", 0, 0);
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}