mirror of
https://github.com/Aryma-f4/Ares-mythic.git
synced 2026-06-12 19:04:13 +00:00
Compare commits
12 Commits
d2dae022a4
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dfb7ea177c | ||
|
|
0c209d7201 | ||
|
|
b88b3a2184 | ||
|
|
6a3bf4ffbf | ||
|
|
286accf271 | ||
|
|
3ba28c3197 | ||
|
|
afac72ad49 | ||
|
|
5110b9e400 | ||
|
|
acb4291b69 | ||
|
|
19d9c559ce | ||
|
|
9f0471b682 | ||
|
|
30ea3db3c5 |
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@@ -79,7 +79,7 @@ jobs:
|
|||||||
org.opencontainers.image.source=${{ env.IMAGE_SOURCE }}
|
org.opencontainers.image.source=${{ env.IMAGE_SOURCE }}
|
||||||
org.opencontainers.image.description=${{ env.IMAGE_DESCRIPTION }}
|
org.opencontainers.image.description=${{ env.IMAGE_DESCRIPTION }}
|
||||||
org.opencontainers.image.licenses=${{ env.IMAGE_LICENSE }}
|
org.opencontainers.image.licenses=${{ env.IMAGE_LICENSE }}
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64,linux/arm64/v8
|
||||||
|
|
||||||
update_files:
|
update_files:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -4,6 +4,7 @@ __pycache__/
|
|||||||
**/*.dll
|
**/*.dll
|
||||||
# Sphinx documentation
|
# Sphinx documentation
|
||||||
docs/_build/
|
docs/_build/
|
||||||
|
debug_vps/
|
||||||
# Environments
|
# Environments
|
||||||
#.env
|
#.env
|
||||||
.venv
|
.venv
|
||||||
|
|||||||
@@ -17,7 +17,11 @@ RUN /venv/bin/python -m pip install git+https://github.com/MEhrn00/donut.git@v2.
|
|||||||
COPY [".", "."]
|
COPY [".", "."]
|
||||||
|
|
||||||
# fetch all dependencies
|
# fetch all dependencies
|
||||||
RUN cd ares/agent_code && dotnet restore --verbosity quiet && rm donut ; cp /donut donut
|
RUN chmod -R u+w /Mythic/ares/agent_code && \
|
||||||
|
cd ares/agent_code && \
|
||||||
|
dotnet restore Ares/Ares.csproj --verbosity quiet && \
|
||||||
|
rm -f donut && \
|
||||||
|
cp /donut donut
|
||||||
RUN cd ares/agent_code && cp COFFLoader.dll /COFFLoader.dll
|
RUN cd ares/agent_code && cp COFFLoader.dll /COFFLoader.dll
|
||||||
|
|
||||||
CMD ["bash", "-c", "cp /donut ares/agent_code/donut && /venv/bin/python main.py"]
|
CMD ["bash", "-c", "cp /donut /Mythic/ares/agent_code/donut && /venv/bin/python main.py"]
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
|||||||
# Visual Studio Version 17
|
# Visual Studio Version 17
|
||||||
VisualStudioVersion = 17.8.34525.116
|
VisualStudioVersion = 17.8.34525.116
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ApolloInterop", "ApolloInterop\ApolloInterop.csproj", "{5B5BD587-7DCA-4306-B1C3-83A70D755F37}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AresInterop", "AresInterop\AresInterop.csproj", "{5B5BD587-7DCA-4306-B1C3-83A70D755F37}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HttpProfile", "HttpProfile\HttpProfile.csproj", "{74B393F3-4000-49AC-8116-DCCDB5F52344}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HttpProfile", "HttpProfile\HttpProfile.csproj", "{74B393F3-4000-49AC-8116-DCCDB5F52344}"
|
||||||
EndProject
|
EndProject
|
||||||
@@ -11,7 +11,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PSKCryptography", "PSKCrypt
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PlaintextCryptography", "PlaintextCrypto\PlaintextCryptography.csproj", "{ED320CE0-C28F-4B07-A353-9B14C261E8A3}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PlaintextCryptography", "PlaintextCrypto\PlaintextCryptography.csproj", "{ED320CE0-C28F-4B07-A353-9B14C261E8A3}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Apollo", "Apollo\Apollo.csproj", "{F606A86C-39AF-4B5A-B146-F14EDC1D762C}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Ares", "Ares\Ares.csproj", "{F606A86C-39AF-4B5A-B146-F14EDC1D762C}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NamedPipeProfile", "NamedPipeProfile\NamedPipeProfile.csproj", "{3AF39094-7F42-4444-A278-FA656EB4678F}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NamedPipeProfile", "NamedPipeProfile\NamedPipeProfile.csproj", "{3AF39094-7F42-4444-A278-FA656EB4678F}"
|
||||||
EndProject
|
EndProject
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
<Reference Include="System.Security" />
|
<Reference Include="System.Security" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\ApolloInterop\ApolloInterop.csproj" />
|
<ProjectReference Include="..\AresInterop\AresInterop.csproj" />
|
||||||
<ProjectReference Include="..\DInvokeResolver\DInvokeResolver.csproj" />
|
<ProjectReference Include="..\DInvokeResolver\DInvokeResolver.csproj" />
|
||||||
<ProjectReference Include="..\EncryptedFileStore\EncryptedFileStore.csproj" />
|
<ProjectReference Include="..\EncryptedFileStore\EncryptedFileStore.csproj" />
|
||||||
<ProjectReference Include="..\HttpProfile\HttpProfile.csproj" />
|
<ProjectReference Include="..\HttpProfile\HttpProfile.csproj" />
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#define C2PROFILE_NAME_UPPER
|
#define C2PROFILE_NAME_UPPER
|
||||||
|
|
||||||
//#define LOCAL_BUILD
|
//#define LOCAL_BUILD
|
||||||
|
|
||||||
@@ -280,14 +280,14 @@ namespace Apollo
|
|||||||
public static int RegistryComparison = 1; // 1=Matches, 2=Contains
|
public static int RegistryComparison = 1; // 1=Matches, 2=Contains
|
||||||
#else
|
#else
|
||||||
// Environmental Keying Configuration
|
// Environmental Keying Configuration
|
||||||
public static bool KeyingEnabled = keying_enabled_here;
|
public static bool KeyingEnabled = "keying_enabled_here" == "true";
|
||||||
public static int KeyingMethod = keying_method_here; // 1=Hostname, 2=Domain, 3=Registry
|
public static int KeyingMethod = int.Parse("keying_method_here"); // 1=Hostname, 2=Domain, 3=Registry
|
||||||
public static string KeyingValueHash = "keying_value_hash_here";
|
public static string KeyingValueHash = "keying_value_hash_here";
|
||||||
|
|
||||||
// Registry Keying Configuration
|
// Registry Keying Configuration
|
||||||
public static string RegistryPath = "registry_path_here";
|
public static string RegistryPath = "registry_path_here";
|
||||||
public static string RegistryValue = "registry_value_here";
|
public static string RegistryValue = "registry_value_here";
|
||||||
public static int RegistryComparison = registry_comparison_here; // 1=Matches, 2=Contains
|
public static int RegistryComparison = int.Parse("registry_comparison_here"); // 1=Matches, 2=Contains
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ using AS = ApolloInterop.Structs.ApolloStructs;
|
|||||||
using TTasks = System.Threading.Tasks;
|
using TTasks = System.Threading.Tasks;
|
||||||
using ApolloInterop.Classes.Core;
|
using ApolloInterop.Classes.Core;
|
||||||
using ApolloInterop.Structs.ApolloStructs;
|
using ApolloInterop.Structs.ApolloStructs;
|
||||||
using Tasks;
|
|
||||||
using ApolloInterop.Utils;
|
using ApolloInterop.Utils;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ using System.Collections.Concurrent;
|
|||||||
using ApolloInterop.Classes.Core;
|
using ApolloInterop.Classes.Core;
|
||||||
using ApolloInterop.Classes.Events;
|
using ApolloInterop.Classes.Events;
|
||||||
using ApolloInterop.Enums.ApolloEnums;
|
using ApolloInterop.Enums.ApolloEnums;
|
||||||
|
using System.IO;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using ApolloInterop.Utils;
|
using ApolloInterop.Utils;
|
||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
|
|||||||
@@ -3,9 +3,10 @@
|
|||||||
<TargetFramework>net451</TargetFramework>
|
<TargetFramework>net451</TargetFramework>
|
||||||
<OutputType>Library</OutputType>
|
<OutputType>Library</OutputType>
|
||||||
<LangVersion>12</LangVersion>
|
<LangVersion>12</LangVersion>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>disable</Nullable>
|
||||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||||
<Platforms>AnyCPU;x64;x86</Platforms>
|
<Platforms>AnyCPU;x64;x86</Platforms>
|
||||||
|
<NoWarn>$(NoWarn);0168;0169;0659;0660;0661;8632</NoWarn>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="System.Security" />
|
<Reference Include="System.Security" />
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user