Vault7: CIA Hacking Tools Revealed
Navigation: » Latest version
Owner: User #1179751
4. Introduction to Win32 Programming.
Introduction to Win32 Programming
The below exercises will assist you in understanding the basics of Win32 programming. To do these exercises simply check out the solution and begin working on develop (remember to branch off it). The instructions for the exercise will be at the top of the file. If you are having trouble there are additional branches that will provide further hints. If you do elect to check out these branches start with Advanced, which provides the least help, and proceed through intermediate to beginner. If you are still having trouble check out the Solution branch. Hint: Use MSDNMicrosoft Developer Network and the internet for help!
Available exercises:
Basic System Calls:
- Find the computer name
- Get the paths to some system folders
- List information for available drives.
List File/Folder Structure:
- Enumerate directories
- List all files and folders
- Print Access, Modified, and Creation timestamps
List Currently Running Process:
- List all running processes
- List PIDProcess ID of each process
Start A Process/Load A DLL:
- Execute code via Create Process
- Create Process As User
- Execute code via ShellExecute
- Load a DLL
- Load a DLLDynamic Link Library call function name
- Load a DLLDynamic Link Library call by ordinal
- Rundll
Useful APIApplication Programming Interface Calls:
- GetModuleFileName
- LoadLibrary
- CreateThread or __beginthread
- CreateProcess(AsUser)
- ExpandEnivronmentStrings
- WideCharToMultiByte/MultiByteToWideChar
- CryptStringToBinary/CryptBinaryToString