Saturday, August 25, 2007

Hacking: Hiding VBS exploits, BAT files, etc in Text Files

from my post in the topic

In this post, I will tell you a way in which you can hide any kind of virus or trojan or VBscript exploits or simply put your Batch Files in text files.. That are called "Scraps".

At some point of time encountered a couple of VBScript (Visual Basic Script) email viruses that used this method to hide. And they worked flawlessly! Leaving no clue. One way to do it is
to run the packager.exe program (search for it in WINDOWS folder), select "Import" from the "File" menu and select your batch file. Then select "Copy Package" from the edit menu. Now
switch to Explorer and paste the item into your desired
folder. It will be named "scrap", but you can rename it to
whatever you want. To run it, you'll have to know it's REAL
short file name (here SCRAP.SHS) and use the START command. That can be written as start /w scrap.shs

SHS actually is a file-extension that is never shown by Windows!

Of course, double-clicking it also works. Very few people
know what a "scrap" is let alone know how to find out what is
hiding in one.

Another Trick: It is to try renaming a .exe file to a .txt or any thing you like. Then on the DOS prompt type start C:\renamed_exe.txt

It should execute.