Jump to content
Tuts 4 You

Debugging Plugin DLL


shift

Recommended Posts

Posted

Hello friends,

I've created a Scylla plugin using the reference implementations for other packers. Does anyone have any recommendations for debugging the dll? I can't seem to break on the dll when it's injected to view it in Olly. More preferably, is there any way to debug it while in visual studio? I've not had any experience in debugging dlls in general, so any help is appreciated.

Posted

While the project is open in visual studio, select "Debug -> attach to process" from the toolbar and select scylla process.

Posted

Scylla plugins are not injected into Scylla itself (so VS can't find the module in the process of scylla), they're injected into the target process and update ScyllaExchange struct I believe. Problem is, even if I add a messagebox to the dll to find it in memory, I can't breakpoint on MessageBoxA, Scylla won't inject it properly. I can inject it with ironhide, but the process doesn't work because it's not Scylla that's creating the module. Perhaps this is more trouble than it's worth, my troubleshooting is becoming a loop of madness.

Posted

Try attaching to the target process instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...