Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C# 

Bypass Skype application attachment permission

When a program tries to attach to the desktop skype, skype asks the user if they'd like to grant permission to allow said program to interact with their skype.

Is there a way to bypass this?
Not use Skype4COM at all but use Windows API shizzle.
(Oct 2, 2016 08:46 AM)Ninja Wrote:  Not use Skype4COM at all but use Windows API shizzle.

Can you elaborate? Code injection? Memory modification?
(Oct 2, 2016 09:57 AM)jujuger Wrote:  Can you elaborate? Code injection? Memory modification?

This is what he means:

https://msdn.microsoft.com/en-us/library...s.85).aspx


If i am not mistaking i think you can use Windows Messages to accomplish what you're trying to do.Meaning native code.

Here is an example of posting messages :
https://msdn.microsoft.com/en-us/library...s.85).aspx

Example of sending messages :
https://msdn.microsoft.com/en-us/library...s.85).aspx

This is an example that shows how to interact with another process:
http://stackoverflow.com/questions/10407...ia-hooking


And here you have a list of values for the Msg parameter of PostMessage and SendMessage:

https://www.autohotkey.com/docs/misc/Sen...geList.htm

Hope this helps , good luck !

🤝
(Oct 2, 2016 03:56 PM)GuRuHaX Wrote:  This is what he means:

https://msdn.microsoft.com/en-us/library...s.85).aspx


If i am not mistaking i think you can use Windows Messages to accomplish what you're trying to do.Meaning native code.

Here is an example of posting messages :
https://msdn.microsoft.com/en-us/library...s.85).aspx

Example of sending messages :
https://msdn.microsoft.com/en-us/library...s.85).aspx

This is an example that shows how to interact with another process:
http://stackoverflow.com/questions/10407...ia-hooking


And here you have a list of values for the Msg parameter of PostMessage and SendMessage:

https://www.autohotkey.com/docs/misc/Sen...geList.htm

Hope this helps , good luck !

🤝

You're one of the most high quality users I've come across, esp in the C# section.

I've worked with the winapi before, but I only understand it from a limited C# perspective. I will look into this further, thanks for not spoonfeeding.
If someone hasn't helped you already you could make a C++ DLL and a C# Program. Would work by injecting the C++ DLL into Skype then you can send a command to the C++ DLL to call a function internally inside Skype.

in C++ add:
1) named pipe witch will receive commands
2) Premade functions for commands(Can call Skype functions, Specifically SendMessage GetContact List, Would be a lot of hard work to get everything :()

in C# add:
1) DLL Injector.
2) Named Pipe to send commands
Anything else you want. C:

Side notes:
1) I'm sure there would be way to call functions from a C# app but it would be extremely hard if not impossible to do it externally.
2) You will need to know your way around a debugger to get offsets to the functions you would need to call
3) If there is a major update to Skype this will not work

Last thing: You're better of using the Skype4COM but once you attach it you inject a DLL witch will call a function to allow the "Skype4COM" to work along with any other external Skype plugins. But for this method you would want to use a "Process in the middle" so if they look at skype plugins they wont see your process under it. Assuming your making a virus to communicate with Skype. If you aren't making a virus to communicate with skype then ignore the "Process in the middle" thing C:... <--- This method would be easier. With a lot less reverse engineering.

Hope I gave some help to you :P
I was working on something like this last year:





It is possible. I'll see if I can dig out the source.
(Oct 3, 2016 03:06 AM)eithan1231 Wrote:  If someone hasn't helped you already you could make a C++ DLL and a C# Program. Would work by injecting the C++ DLL into Skype then you can send a command to the C++ DLL to call a function internally inside Skype.

in C++ add:
1) named pipe witch will receive commands
2) Premade functions for commands(Can call Skype functions, Specifically SendMessage GetContact List, Would be a lot of hard work to get everything :()

in C# add:
1) DLL Injector.
2) Named Pipe to send commands
Anything else you want. C:

Side notes:
1) I'm sure there would be way to call functions from a C# app but it would be extremely hard if not impossible to do it externally.
2) You will need to know your way around a debugger to get offsets to the functions you would need to call
3) If there is a major update to Skype this will not work

Last thing: You're better of using the Skype4COM but once you attach it you inject a DLL witch will call a function to allow the "Skype4COM" to work along with any other external Skype plugins. But for this method you would want to use a "Process in the middle" so if they look at skype plugins they wont see your process under it. Assuming your making a virus to communicate with Skype. If you aren't making a virus to communicate with skype then ignore the "Process in the middle" thing C:... <--- This method would be easier. With a lot less reverse engineering.

Hope I gave some help to you :P

This is what I was thinking.
OP, this is the way to go. Do not use WinAPI methods externally for this, as Post/SendMessage especially don't always work. I used the method in the quoted post when I used to write game bots.
New to trading cryptocurrencies but don't know where to start? Join Binance here! Binance is my favourite exchange for cryptocurrencies w/ low fees.

[Image: 793854efd3c9ee7d90ddd413ae9deed6.png]
(Oct 4, 2016 12:14 AM)Chickendipper Wrote:  This is what I was thinking.
OP, this is the way to go. Do not use WinAPI methods externally for this, as Post/SendMessage especially don't always work. I used the method in the quoted post when I used to write game bots.

I inject code into skype's process, then I use the skype4com methods from inside skype's process?

Can you elaborate?


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Java] by TennoFeb 3, 2019 04:49 AM 4 307 Feb 3, 2019 04:49 AM
Last Post: Tenno
[Python] by zadyofficialJun 22, 2018 11:29 AM 0 101 Jun 22, 2018 11:29 AM
Last Post: zadyofficial
[Python] by kone2148Jan 9, 2018 01:43 PM 2 156 Jan 9, 2018 01:43 PM
Last Post: kone2148