Donate to us via Paypal!
Things are more like they are now than they have ever been before. - Dwight D. Eisenhower
Friday, April 23, 2021
Navigation
Home
 Find:
 Information:
Learn
Communicate
Submit
Shop
Challenges
 Exploit:
 Programming:
 Think:
 Track:
 Patch:
 Other:
 Need Help?
Other
Members Online
Total Online: 112
Guests Online: 109
Members Online: 3

Registered Members: 135601
Newest Member: mathewhogg
Latest Articles

View Thread

HellBound Hackers | Computer General | Hacking in general

Author

how to bind .exe, .reg and .bat files together


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 06-09-06 07:44
Hello all the members of this site,

i've a keylogger code in 'c' language which can mail the logged keys to a particular e-mail id.
But it doesn't have the code to mark its entry into registries so it doesn't starts on reboot.
So as a solution i made a .reg file and a .bat file.
.reg will mark its entry into registries and .bat has the code to copy the .exe to system32 and to run the .reg.
Since its my first time to use binders, and during experiments i found that if i bind .exe and .bat, on running the final .exe....my .bat doesn't execute.
So will i've to convert this .bat to .exe ???
if yes, then please give a link for such converter also.....yesterday i spent at least 2 hrs to get "exescript" (.bat to .exe converter), but wasn't able to crack it.
and what about the .reg file. It too has to be converted or will work as such only???
(.bat + .exe + .reg = binder.exe)

regards
Author

RE: how to bind .exe, .reg and .bat files together


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 06-09-06 13:09
You could always write some assembly with Win32 API calls (perhaps a shell function like ShellExecute Wink ) and convert it to shellcode for your C program and call it with a function pointer.


Author

RE: how to bind .exe, .reg and .bat files together

Mr_Cheese
Member



Posts: 2468
Location: Brighton, UK
Joined: 30.11.04
Rank:
Uber Elite
Posted on 06-09-06 14:20
why not just add a system call and use the reg command?

surely that be the most logical and easist approach.


Author

RE: how to bind .exe, .reg and .bat files together


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 09-09-06 10:02
In C++;

Code

#include <cstdlib>
#include <iostream>

int main(int argc, char *argv[])
{
    system("echo FTW");
    return 0;
}





Although, I don't see why you would use a batch file, when you could simply access the registry directly via some handy APIs written into the Win32 library.

Or, if you want to get real technical, find a way to attach your keylogger to the kernel, instead of startup. :)

Assuming, this is for legitimate purposes. Such as you're on Tech Support in a school, and you want to spy on your students.
Author

RE: how to bind .exe, .reg and .bat files together

Uber0n
Member



Posts: 1963
Location: Sweden‭‮
Joined: 13.06.06
Rank:
Hacker Level 3
Posted on 09-09-06 10:29
Now if you _really_ want to compile a Batch file, use Quick Batch File Compiler (QBFC). It works really fine.

http://www.topshareware.com/Quick-Batch-File-Compiler-download-18352.htm


img230.imageshack.us/img230/724/uber0nsig3hj6.gif
http://uber0n.web. . .
Nope http://uber0n.webs.com/
Author

RE: how to bind .exe, .reg and .bat files together


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 09-09-06 15:42
use the system(" "Wink; call to put the bat in as part of the program


Author

RE: how to bind .exe, .reg and .bat files together


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 15-09-06 07:17
Hello all,
sorry for replying so late. Actually for a week i was suffering from typhoid and malaria, so could not reply.
Thanks for the suggestions.
ok i could use the "system()" function instead of .bat file. (not comfortable with win API's.....can't code). But one more issue is there. When i use .reg file, on execution, it asks twice about writing to registries and then the ACK of that. Obviously i don't want this.
I was looking around for some ready-made remote keylogger but i suppose my google skills are not that good.
Would any one like to suggest something on .reg and keylogger.

and thanks for that "Quick batch...". I downloaded it and searched for its crack. Its working fine.

regards
Frozen