hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

Full Version: Invisible Bat Files
-Arthy-
Is there any way to create an invisible bat file?

Or some sort of program that makes an .exe file with th bat instructions included.

And off course I don't want it to be detected bij AV software. (the program itself and the file it creates)
The-X
i dont know how you want to make it invisible, but try "Bat2EXE" just search for it.
andydis
if you know how to use VBS you can just echo all the commands to a batch file

e.g

1.vbs
-----------------------
echo cd\windows > 1.bat
echo dir >> 1.bat
echo net stop >> 1.bat



for more info have a look on www.ericphelps.com

G777
CODE
attrib +S +H [drive:][path][filename]


this will give your file hidden system file attributes

example:
CODE
attrib +S +H c:\windows\system32\test.bat
Partizaan
Batch_File_Compiler_v5[1].1_by_DOCTOR_MO_!

then UPX

lv4
A while ago someone posted here StealthBatch program that makes .bat files run invisible.. it was also a modded version so AV didn't pick it up...do a search..maybe You will find it
droplogic66
why not just make it in something like nsis, can run in the background and not detected by a/v
kingvandal
QUOTE
Batch_File_Compiler_v5[1].1_by_DOCTOR_MO
I tryed that and got vir from it. QHosts. just my situation though..


RIch
laggy
QUOTE
Or some sort of program that makes an .exe file with th bat instructions included.


A C compiler will do.

The code has to be like that:

CODE

#include <stdio.h>
#include <windows.h>

int main()
{
system("your cmd here");
system("another one here");
return 0;
}

hope this helps
Alex Trust
u can use a bat compile use google to search one or packetnews rolleyes.gif
Serhat
QUOTE (Alex Trust @ Aug 28 2004, 09:19 AM)
u can use a bat compile use google to search one or packetnews rolleyes.gif

wasn't oacketnews an irc XDCC search engine.. or is this another 'packetnews'.. you never know ?

Serhat
saetji
I assume the guy is telling u u can find a batch compiler PROGRAM on irc ohmy.gif
S_Assassin
QUOTE (laggy @ Aug 26 2004, 03:11 PM)
QUOTE
Or some sort of program that makes an .exe file with th bat instructions included.


A C compiler will do.

The code has to be like that:

CODE

#include <stdio.h>
#include <windows.h>

int main()
{
system("your cmd here");
system("another one here");
return 0;
}

hope this helps

I advise you to make/use this aswell, anyone can read a .bat file and if you wanna make a batfile invisible I'm concluding that u don't want ppl to read the .batfile

well, this is the best way to do it according to me (and laggy offcourse smile.gif )
PL3X59
u can use stealbatch

but some times AV will dectect your bat files as virus sad.gif

pl3x
aba
You can user bat2exe it's very easy but not all the cmd can be use with this tool
or you can use vb to make an exe with your bat in
saetji
well I use stealthbatch but sumtimes thatsdetected so just upx it
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.