How epersic/dllparty works
DLLParty is a Windows research proof of concept for loading a DLL into a target process through its thread-pool worker machinery. The operator supplies a process ID; the program finds a worker factory and pool, recovers callback-instance slots, stages a DLL path and direct callback structure, then signals the pool’s completion port. A worker invokes LoadLibraryA, and the loaded DLL’s entry point displays a message. The implementation depends on undocumented, version-specific Windows internals. The README documents the overall technique; the graph’s implementation links are limited to the supplied source excerpts.
Main entry points: DLLParty.cpp Injection coordinator · pool_worker_instances.cpp Callback slot scan · pool_worker_instances.hpp Slot scan interface · testDll.c Test DLL
Components 15
Target discovery
- Injection coordinator
DLLParty.cpp - Native type definitions
types.hpp - Worker factory lookup
DLLParty.cpp - Pool metadata
types.hpp - Callback slot scan
pool_worker_instances.cpp - Slot scan interface
pool_worker_instances.hpp
Callback dispatch
- DLL path staging
DLLParty.cpp - Direct callback setup
DLLParty.cpp - Completion dispatch
DLLParty.cpp
Loaded payload
- Test DLL
testDll.c - DLL entry point
testDll.c
Other components
- Operator
- Windows native APIs
- Pool worker thread
- LoadLibraryA
Connections 18
- Operator → Injection coordinator: supplies PID
DLLParty.cpp - Injection coordinator → Native type definitions: uses definitions
DLLParty.cpp - Injection coordinator → Windows native APIs: queries handles
DLLParty.cpp - Injection coordinator → Worker factory lookup: scans handles
DLLParty.cpp - Worker factory lookup → Windows native APIs: queries factory
DLLParty.cpp - Worker factory lookup → Pool metadata: reads pool
DLLParty.cpp - Injection coordinator → Slot scan interface: requests slots
DLLParty.cpp - Slot scan interface → Callback slot scan: declares scan
pool_worker_instances.hpp - Callback slot scan → Windows native APIs: reads remote memory
pool_worker_instances.cpp - Injection coordinator → DLL path staging: stages DLL path
DLLParty.cpp - DLL path staging → Windows native APIs: writes remote memory
DLLParty.cpp - Injection coordinator → Direct callback setup: configures callback
DLLParty.cpp - Injection coordinator → Completion dispatch: writes and signals
DLLParty.cpp - Completion dispatch → Windows native APIs: signals completion
DLLParty.cpp - Completion dispatch → Pool worker thread: queues callback
- Pool worker thread → LoadLibraryA: invokes callback
README.md - LoadLibraryA → Test DLL: loads DLL
README.md - Test DLL → DLL entry point: runs entry point
testDll.c