The is the beginning of my learning path about malware development (aka maldev). I will put here my works, the useful resources and some codes to have a sort of blog/source code haven for all of that I was learning.
Reference:
Homework: Hello World! with Win32 API
Here an example of using the MessageBoxW() function:
#include<windows.h>intmain(void) {// MessageBoxW : UnicodeMessageBoxW(NULL, L"This is the homework 1", L"Crow Homeworks", MB_OK | MB_ICONINFORMATION );return EXIT_SUCCESS;}
Homework : create a Process
Now, in the video, if you stayed until the end, you'll have heard that I assigned you some homework.I wasn't kidding. Here's your homework. I want you to, using some of the Win32 API functions covered in the video, develop a program that will do the following:
Startup a process of your choosing, and print out some values like the PID, TID and Handles for the subsequent processes/threads. Then, have it wait for the process or thread to finish using an API like WaitForSingleObject() before closing the handles to your thread and process, using an API like CloseHandle().