hacking contest

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

Full Version: Hide.bat ?
iLLuSioN
Im looking to find out how hide folders or files where they wont be seen from ftp and stuff. There are folders here when it try to delete they wont delete saying they arent empty when they are.. or are they unsure.gif
Paul
Use an . before the name, like
.hidden-map-name-here
dissolutions
Given the fact that he mentioned folders, I could probably put money down on it that illusion is using windows. and the period infront of the folder is a *nix only feature. If you were to use it in windows, you'll find that it's an invalid directory name.
gk0r
[edited]

See if that helps any dry.gif

ACT like a Prick..Treated like a Prick....account deleted
iTK98
if you have linux put a dot (.) infront of the file name, it will make it hidden
(ls's default command not to show hidden files). if you want to make the file
protected to changes (deletion among the rest) use the command:
chattr +i .filename (you have to be root)

if you have windows, you can use the attrib command (on windows 98, maybe
on XP/2000t they changed the command)

attrib +h +s c:\windows
(hidden & system file)

to protect the file against deletion.... dunno.
dotcom
QUOTE (gk0r @ Feb 8 2004, 01:00 AM)
rmdir /q /s

See if that helps any dry.gif

The perfect answer from someone as self-righteous as gk0r lol! Why act like such an ass?? blink.gif

...this guy asks a very valid question for the beginners section...Had this been posted someplace else I could maybe see your irritation....Why people like yourself, intelligent and skilled or not are even kept on a board like this by the staff is beyond me....so if you like flame away, I've watched you in more than one forum acting like this... biggrin.gif

iLLuSioN:
attrib +h +r is at least going to make it slightly harder...some will give up there attrib can be used on files and dirs so theres a good place to start..ofc there are rootkits and such that have this as one of their main purposes hiding files/dirs/services/regkeys etc but their is alot more involved in something like that with plenty of info around on it...

Plenty of other little tricks are about on this boad in old posts - searching will give you some sucess I am sure of it... wink.gif
A|kaLiNE
dissolutions, actually u can put a period in front of a folder name, you must do it through a dos cmd prompt though.

mkdir c:\program files\.seeme\

You can then make that fodler hidden by:

attrib +h c:\program files\.seeme

^There you go, make a folder with a period and then make it hidden.
ComSec
QUOTE (gk0r @ Feb 8 2004, 01:00 AM)
rmdir /q /s

See if that helps any dry.gif

account closed ... lame and not for the first time
flashb4ck
u can also use a redirection ( as liitle nice bug) ;D 4 XP/2000

CODE

Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}
Internet Explorer.{FBF23B42-E3F0-101B-8488-00AA003E56F8}
Recycle Bin.{645FF040-5081-101B-9F08-00AA002F954E}
My Computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}
My Documents.{ECF03A32-103D-11d2-854D-006008059367}
Fonts.{BD84B380-8CA2-1069-AB1D-08000948F534}



when u create folders called (look at code) u can connect via ftp but if the admin will get into normaly he will be redirected into control panel 4 example wink.gif
it's also a nice method wink.gif


gr€€tZ fL4Shb4Ck
Hellraiseruk
well i just used "attrib +h +s" hid the folder from dos and user smile.gif
iLLuSioN
k thanks guys
iTK98
note, if you hide a file/folder in windows the
user still can see the file/folder if he changes
windows's file view defaults (tickin' View
Hidden Files and Folders), so it won't be
actually hidden. (like using dir/a or dir/ah)
iLLuSioN
hmm thats true.. but, i have seen on a friends ftp that they can get the whole dir to be like hidden from ftp and stuff and sometimes just the files and u cant delete the folder scince files are in it im guessing..
iTK98
it's depend on the FTP server definition...
because all the command pass through the FTP
it's can control everything, what you see and
what you can do, it's all depend on the rules
the FTP server has on any given dir/file. it
doesn't has to have direct connection to the file
attribute on the disk.
[Sunny]
mkdir / /
mkdir / /lala/
and so on ...

very often the ftp server don't show the / / folder , but it is aviable and created .
iLLuSioN
QUOTE ([Sunny] @ Feb 9 2004, 03:25 PM)
mkdir / /
mkdir / /lala/
and so on ...

very often the ftp server don't show the / / folder , but it is aviable and created .

how would that work out? ive been tryin but wont work out for me.. make a .bat file with that or wat? i made it then logged in ftp and didnt see it but tried that dir and couldnt enter it cuz its not there
iLLuSioN
QUOTE (flashb4ck @ Feb 8 2004, 01:04 PM)
u can also use a redirection ( as liitle nice bug) ;D 4 XP/2000

CODE

Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}
Internet Explorer.{FBF23B42-E3F0-101B-8488-00AA003E56F8}
Recycle Bin.{645FF040-5081-101B-9F08-00AA002F954E}
My Computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}
My Documents.{ECF03A32-103D-11d2-854D-006008059367}
Fonts.{BD84B380-8CA2-1069-AB1D-08000948F534}



when u create folders called (look at code) u can connect via ftp but if the admin will get into normaly he will be redirected into control panel 4 example wink.gif
it's also a nice method wink.gif


gr€€tZ fL4Shb4Ck

that works well thanks man


sorry for double post,
A|kaLiNE
QUOTE (flashb4ck @ Feb 8 2004, 01:04 PM)
CODE

Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}
Internet Explorer.{FBF23B42-E3F0-101B-8488-00AA003E56F8}
Recycle Bin.{645FF040-5081-101B-9F08-00AA002F954E}
My Computer.{20D04FE0-3AEA-1069-A2D8-08002B30309D}
My Documents.{ECF03A32-103D-11d2-854D-006008059367}
Fonts.{BD84B380-8CA2-1069-AB1D-08000948F534}


Thank you for that tip, I just tried it and it works like a charm.
iLLuSioN
anyone know why its not possible to make that kinda bug thing witha mkdir bat?

mkdir C:\windows\system32\data\Internet Explorer.{FBF23B42-E3F0-101B-8488-00AA003E56F8}

gives me error and puts the ie in the dir there bat is ..


::EDIT::

mkdir C:\windows\system32\data\InternetExplorer.{FBF23B42-E3F0-101B-8488-00AA003E56F8}

if u dont space the internetexplorer it works but thats a bit notice able no?

::EDIT::

a friend gave me this but said it wont show on ftp ( the files ) anyone know why its not workin? (its not stolen its really from a friend)

attrib +s +h +r +a %SystemRoot%\system32\ my files still show
FiNaLBeTa
QUOTE (iLLuSioN @ Feb 11 2004, 04:12 AM)
anyone know why its not possible to make that kinda bug thing witha mkdir bat?

mkdir C:\windows\system32\data\Internet Explorer.{FBF23B42-E3F0-101B-8488-00AA003E56F8}

gives me error and puts the ie in the dir there bat is ..


::EDIT::

mkdir C:\windows\system32\data\InternetExplorer.{FBF23B42-E3F0-101B-8488-00AA003E56F8}

if u dont space the internetexplorer it works but thats a bit notice able no?

::EDIT::

a friend gave me this but said it wont show on ftp ( the files ) anyone know why its not workin? (its not stolen its really from a friend)

attrib +s +h +r +a %SystemRoot%\system32\ my files still show

this is basic dos lesson tongue.gif

C:\windows\system32\data\"Internet Explorer.{FBF23B42-E3F0-101B-8488-00AA003E56F8}"
will work

C:\windows\system32\data\Internet Explorer.{FBF23B42-E3F0-101B-8488-00AA003E56F8}
wil make
C:\windows\system32\data\Internet Explorer

something like this

so quote the weird stuff, and cuote when u use spaces
dotcom
final beta covered most of your last question, but as for the last bit:

atrrib doesnt hide files from ftp it helps hide from an admin who has not turned off "do not show hidden/system files" or from a dos plain dir c:\filename.exe /s it wouldnt show either without /ah switch used that is...hope this helps you out some
iLLuSioN
ty ty both of you


final u think u can give me a little info here?

that worked well but how would i get a .bat workin whit it? i had it witout the " " but then no space in IE

C:\windows\system32\data\InternetExplorer.{FBF23B42-E3F0-101B-8488-00AA003E56F8}\svchost.exe /i
net start servicename here
:exit

if i put the " " anywhere there it wont work.. ive tried all combos
basepart
have you try to start it this way ?

"C:\windows\system32\data\Internet Explorer.{FBF23B42-E3F0-101B-8488-00AA003E56F8}\svchost.exe" /i

this is the right syntax
iLLuSioN
yeah man thanks alot works great.

i wasnt putting the " at the c: i was puttin it by the internet

thanks all of ya
MpR
One of the best ways Ive found of hiding directories folders etc is pretty simplistic once yah get playing .. I make the / / folders etc this is great for hiding folders but what about the files .. theyre as visible as a tree in a forest ( or hooker in a whore house ) Check out hacker defender theres a post on here somewhere on another with a modded one or www.google.com Im too lazy look for a direct link .. This proggies pretty sexy with what it can do hide ports files processes services reg kets etc .. I'll host 5 k bots on your comp only thing youd notice is a internet connection lag maybe a bit of a process spike here and there but no connection incoming or outgoing ports ftps backdoors ircds so on and so forth ..

The Internet Explorer.{FBF23B42-E3F0-101B-8488-00AA003E56F8} tricks kinda cool and all but sucks if someone either locally or remotely ie rehack and runs fport or services.exe pslist etc everythign yah got there is fully exposed

When even you yourself get lost looking for your files and cant find them thats when you know youre almost close to hiding them perfectly
pdf
you can also hide files using "attrib.exe"

attrib.exe -> one of the extrernal system files <-

attrib.exe -h <file>

example: attrib.exe -h servudaemon.exe
realloader
i use
md "Internet Explorer.{FBF23B42-E3F0-101B-8488-00AA003E56F8}"
it work fine
mfld
ohmy.gif
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.