Skip to content
Permalink
Browse files

Covenant v0.1

  • Loading branch information...
cobbr committed Feb 7, 2019
0 parents commit bde0df315f26b01a4ef5c5c00679b1e150998a35
Showing with 32,906 additions and 0 deletions.
  1. +63 −0 .gitattributes
  2. +32 −0 .gitignore
  3. +25 −0 Covenant.sln
  4. +6 −0 Covenant/.dockerignore
  5. +14,593 −0 Covenant/API/CovenantAPI.cs
  6. +2,830 −0 Covenant/API/CovenantAPIExtensions.cs
  7. +1,126 −0 Covenant/API/ICovenantAPI.cs
  8. +117 −0 Covenant/API/Models/BinaryLauncher.cs
  9. +126 −0 Covenant/API/Models/CovenantUser.cs
  10. +48 −0 Covenant/API/Models/CovenantUserLogin.cs
  11. +48 −0 Covenant/API/Models/CovenantUserLoginResult.cs
  12. +138 −0 Covenant/API/Models/CscriptLauncher.cs
  13. +62 −0 Covenant/API/Models/DotNetVersion.cs
  14. +100 −0 Covenant/API/Models/DownloadEvent.cs
  15. +56 −0 Covenant/API/Models/DownloadProgress.cs
  16. +74 −0 Covenant/API/Models/EventLevel.cs
  17. +79 −0 Covenant/API/Models/EventModel.cs
  18. +56 −0 Covenant/API/Models/EventType.cs
  19. +78 −0 Covenant/API/Models/FileIndicator.cs
  20. +173 −0 Covenant/API/Models/Grunt.cs
  21. +62 −0 Covenant/API/Models/GruntSetTaskingType.cs
  22. +86 −0 Covenant/API/Models/GruntStatus.cs
  23. +74 −0 Covenant/API/Models/GruntTask.cs
  24. +72 −0 Covenant/API/Models/GruntTaskOption.cs
  25. +113 −0 Covenant/API/Models/GruntTasking.cs
  26. +57 −0 Covenant/API/Models/GruntTaskingMessage.cs
  27. +68 −0 Covenant/API/Models/GruntTaskingStatus.cs
  28. +62 −0 Covenant/API/Models/GruntTaskingType.cs
  29. +130 −0 Covenant/API/Models/HTTPListener.cs
  30. +60 −0 Covenant/API/Models/HostedFile.cs
  31. +96 −0 Covenant/API/Models/HttpProfile.cs
  32. +60 −0 Covenant/API/Models/IdentityRole.cs
  33. +48 −0 Covenant/API/Models/IdentityUserRoleString.cs
  34. +48 −0 Covenant/API/Models/Indicator.cs
  35. +123 −0 Covenant/API/Models/InstallUtilLauncher.cs
  36. +74 −0 Covenant/API/Models/IntegrityLevel.cs
  37. +117 −0 Covenant/API/Models/Launcher.cs
  38. +98 −0 Covenant/API/Models/LauncherType.cs
  39. +100 −0 Covenant/API/Models/Listener.cs
  40. +62 −0 Covenant/API/Models/ListenerStatus.cs
  41. +54 −0 Covenant/API/Models/ListenerType.cs
  42. +135 −0 Covenant/API/Models/MSBuildLauncher.cs
  43. +138 −0 Covenant/API/Models/MshtaLauncher.cs
  44. +78 −0 Covenant/API/Models/NetworkIndicator.cs
  45. +135 −0 Covenant/API/Models/PowerShellLauncher.cs
  46. +42 −0 Covenant/API/Models/Profile.cs
  47. +150 −0 Covenant/API/Models/Regsvr32Launcher.cs
  48. +56 −0 Covenant/API/Models/ScriptingLanguage.cs
  49. +60 −0 Covenant/API/Models/TargetIndicator.cs
  50. +138 −0 Covenant/API/Models/WmicLauncher.cs
  51. +138 −0 Covenant/API/Models/WscriptLauncher.cs
  52. +1 −0 Covenant/API/openapi.json
  53. +228 −0 Covenant/Controllers/CovenantUserController.cs
  54. +156 −0 Covenant/Controllers/EventController.cs
  55. +182 −0 Covenant/Controllers/GruntController.cs
  56. +140 −0 Covenant/Controllers/GruntTaskController.cs
  57. +239 −0 Covenant/Controllers/GruntTaskingController.cs
  58. +428 −0 Covenant/Controllers/HttpListenerController.cs
  59. +179 −0 Covenant/Controllers/IndicatorsController.cs
  60. +1,055 −0 Covenant/Controllers/LauncherController.cs
  61. +457 −0 Covenant/Controllers/ListenerController.cs
  62. +194 −0 Covenant/Controllers/ProfileController.cs
  63. +130 −0 Covenant/Core/Common.cs
  64. +350 −0 Covenant/Core/Compiler.cs
  65. +57 −0 Covenant/Core/CovenantException.cs
  66. +204 −0 Covenant/Core/Encryption.cs
  67. +183 −0 Covenant/Core/Utilities.cs
  68. +201 −0 Covenant/Covenant.cs
  69. +80 −0 Covenant/Covenant.csproj
  70. +798 −0 Covenant/Data/DbInitializer.cs
  71. +571 −0 Covenant/Data/Grunt/Grunt.cs
  72. +183 −0 Covenant/Data/Grunt/GruntStager.cs
  73. +42 −0 Covenant/Data/Profiles/CustomHttpProfile.yaml
  74. +42 −0 Covenant/Data/Profiles/DefaultHttpProfile.yaml
  75. BIN Covenant/Data/References/net35/System.Configuration.Install.dll
  76. BIN Covenant/Data/References/net35/System.Core.dll
  77. BIN Covenant/Data/References/net35/System.DirectoryServices.dll
  78. BIN Covenant/Data/References/net35/System.IdentityModel.dll
  79. BIN Covenant/Data/References/net35/System.Management.Automation.dll
  80. BIN Covenant/Data/References/net35/System.Management.dll
  81. BIN Covenant/Data/References/net35/System.dll
  82. BIN Covenant/Data/References/net35/mscorlib.dll
  83. BIN Covenant/Data/References/net40/System.Configuration.Install.dll
  84. BIN Covenant/Data/References/net40/System.Core.dll
  85. BIN Covenant/Data/References/net40/System.DirectoryServices.dll
  86. BIN Covenant/Data/References/net40/System.IdentityModel.dll
  87. BIN Covenant/Data/References/net40/System.Management.Automation.dll
  88. BIN Covenant/Data/References/net40/System.Management.dll
  89. BIN Covenant/Data/References/net40/System.dll
  90. BIN Covenant/Data/References/net40/mscorlib.dll
  91. BIN Covenant/Data/Resources/powerkatz_x64.dll
  92. BIN Covenant/Data/Resources/powerkatz_x64.dll.comp
  93. BIN Covenant/Data/Resources/powerkatz_x86.dll
  94. BIN Covenant/Data/Resources/powerkatz_x86.dll.comp
  95. +16 −0 Covenant/Data/Resources/resources.yml
  96. +2 −0 Covenant/Data/Static/.gitignore
  97. +11 −0 Covenant/Data/Tasks/Assembly.task
  98. +26 −0 Covenant/Data/Tasks/BypassUAC.task
  99. +12 −0 Covenant/Data/Tasks/ChangeDirectory.task
  100. +24 −0 Covenant/Data/Tasks/DCOM.task
  101. +11 −0 Covenant/Data/Tasks/Download.task
  102. +30 −0 Covenant/Data/Tasks/GetDomainComputer.task
  103. +30 −0 Covenant/Data/Tasks/GetDomainGroup.task
  104. +30 −0 Covenant/Data/Tasks/GetDomainUser.task
  105. +23 −0 Covenant/Data/Tasks/GetNetLocalGroup.task
  106. +23 −0 Covenant/Data/Tasks/GetNetLocalGroupMember.task
  107. +23 −0 Covenant/Data/Tasks/GetNetLoggedOnUser.task
  108. +23 −0 Covenant/Data/Tasks/GetNetSession.task
  109. +21 −0 Covenant/Data/Tasks/GetSystem.task
  110. +22 −0 Covenant/Data/Tasks/ImpersonateProcess.task
  111. +21 −0 Covenant/Data/Tasks/ImpersonateUser.task
  112. +30 −0 Covenant/Data/Tasks/Kerberoast.task
  113. +11 −0 Covenant/Data/Tasks/ListDirectory.task
  114. +32 −0 Covenant/Data/Tasks/MakeToken.task
  115. +11 −0 Covenant/Data/Tasks/Mimikatz.task
  116. +18 −0 Covenant/Data/Tasks/PortScan.task
  117. +11 −0 Covenant/Data/Tasks/PowerShell.task
  118. +11 −0 Covenant/Data/Tasks/ProcessList.task
  119. +11 −0 Covenant/Data/Tasks/RegistryRead.task
  120. +11 −0 Covenant/Data/Tasks/RegistryWrite.task
  121. +21 −0 Covenant/Data/Tasks/RevertToSelf.task
  122. +11 −0 Covenant/Data/Tasks/Shell.task
  123. +24 −0 Covenant/Data/Tasks/ShellCode.task
  124. +12 −0 Covenant/Data/Tasks/Upload.task
  125. +18 −0 Covenant/Data/Tasks/WMI.task
  126. +14 −0 Covenant/Data/Tasks/WhoAmI.task
  127. +2 −0 Covenant/Data/Temp/.gitignore
  128. +13 −0 Covenant/Dockerfile
  129. +18 −0 Covenant/Models/Covenant/CovenantAPIConnectionDetails.cs
  130. +26 −0 Covenant/Models/Covenant/CovenantUser.cs
  131. +51 −0 Covenant/Models/Covenant/Event.cs
  132. +64 −0 Covenant/Models/CovenantContext.cs
  133. +197 −0 Covenant/Models/Grunts/Grunt.cs
  134. +44 −0 Covenant/Models/Grunts/GruntTask.cs
  135. +124 −0 Covenant/Models/Grunts/GruntTasking.cs
  136. +83 −0 Covenant/Models/Indicators/Indicator.cs
  137. +44 −0 Covenant/Models/Launchers/BinaryLauncher.cs
  138. +43 −0 Covenant/Models/Launchers/CscriptLauncher.cs
  139. +92 −0 Covenant/Models/Launchers/InstallUtilLauncher.cs
  140. +228 −0 Covenant/Models/Launchers/Launcher.cs
  141. +79 −0 Covenant/Models/Launchers/MSBuildLauncher.cs
  142. +43 −0 Covenant/Models/Launchers/MshtaLauncher.cs
  143. +71 −0 Covenant/Models/Launchers/PowerShellLauncher.cs
  144. +47 −0 Covenant/Models/Launchers/Regsvr32Launcher.cs
  145. +42 −0 Covenant/Models/Launchers/WmicLauncher.cs
  146. +42 −0 Covenant/Models/Launchers/WscriptLauncher.cs
  147. +1,033 −0 Covenant/Models/Listeners/HttpListener.cs
  148. +106 −0 Covenant/Models/Listeners/Listener.cs
  149. +167 −0 Covenant/Models/Listeners/Profile.cs
  150. +30 −0 Covenant/Properties/launchSettings.json
  151. +194 −0 Covenant/Startup.cs
  152. +6 −0 Covenant/appsettings.json
  153. BIN Covenant/refs/Confuser.Core.dll
  154. BIN Covenant/refs/Confuser.DynCipher.dll
  155. BIN Covenant/refs/Confuser.MSBuild.Tasks.dll
  156. BIN Covenant/refs/Confuser.Protections.dll
  157. BIN Covenant/refs/Confuser.Renamer.dll
  158. BIN Covenant/refs/Confuser.Runtime.dll
  159. BIN Covenant/refs/dnlib.dll
  160. +675 −0 LICENSE
  161. +84 −0 README.md
@@ -0,0 +1,63 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto

###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp

###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary

###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary

###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
@@ -0,0 +1,32 @@
# Sqlite DB
covenant.db
covenant.db-journal

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
bld/
[Bb]in/
[Oo]bj/

# Covenant Logs
[Ll]og/
[Ll]ogs/

# Visual Studio cache/options
.vs/
.vscode/
*.userprefs

# Mac files
*.DS_Store

# Private keys
*.pfx

# Public keys
*.cer
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27004.2010
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Covenant", "Covenant\Covenant.csproj", "{D5865774-CD82-4CCE-A3F1-7F2C4639301B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D5865774-CD82-4CCE-A3F1-7F2C4639301B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D5865774-CD82-4CCE-A3F1-7F2C4639301B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D5865774-CD82-4CCE-A3F1-7F2C4639301B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D5865774-CD82-4CCE-A3F1-7F2C4639301B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {105B1E42-390C-47A0-9C36-5F0699DAD9C2}
EndGlobalSection
EndGlobal
@@ -0,0 +1,6 @@
**/bin/
**/obj/
**/out/
Dockerfile*
**/*.trx
**/*.md

0 comments on commit bde0df3

Please sign in to comment.
You can’t perform that action at this time.