This repository contains the implementation of a 32-bit COM DLL component in C++ for Windows architectures. It is designed to provide a practical example of creating and using COM components, which are rare resources in C++.
The INT-22 project demonstrates the creation and usage of a 32-bit COM DLL component. This project serves as a valuable resource for understanding COM programming in C++.
-
Compile the DLL:
-
Register the COM Object:
regsvr32 INT-22.dll
-
Client Setup:
- Compile the client as an executable (EXE).
- Run the client to verify the COM object functionality. A message box should appear.
-
Edit Method: Replace the method in
T1546_015
class with:HRESULT STDMETHODCALLTYPE T1546_015::malActivity(void) { std::string title = "Wow, did it really work???"; std::string msg = "Yes, now u see it:)"; MessageBoxA(0, msg.c_str(), title.c_str(), MB_OKCANCEL); return S_OK; }
-
Recompile the DLL with the above changes.
-
Run Malicious Script: Execute a Python script specifying the path to the modified COM DLL.
-
Test the Client: Launch the client again. The new message and title should appear in the message box.
This project is licensed under the MIT License. See the LICENSE file for details.