Compare commits

...
Author SHA1 Message Date
Joe 7a22ed901a Update CODEOWNERS 2022-08-30 08:47:51 -05:00
Joe abde731c35 Merge pull request #808 from BishopFox/fix/registry-type
fix RegistryType off-by-one
2022-08-29 13:52:21 -05:00
Leron Gray 1f7bc9b227 fix RegistryType off-by-one 2022-08-29 11:08:00 -07:00
Ronan Kervella 8617ac9c47 Merge pull request #807 from BishopFox/fix/registry-type
add RegistryType to protobuf
2022-08-29 08:23:38 -07:00
Leron Gray 8aa8095010 add RegistryType to protobuf 2022-08-29 00:55:31 -07:00
Ronan Kervella b621107965 Merge pull request #804 from BishopFox/stage
Add warning for argument overflow
2022-08-26 13:27:14 -07:00
rkervella 04f0d38bd2 Add warning for argument overflow 2022-08-26 12:14:05 -07:00
Ronan Kervella 8ef7f465a4 Merge pull request #803 from BishopFox/in-proc-execute-assembly
In process `execute-assembly`
2022-08-26 11:54:42 -07:00
10 changed files with 419 additions and 323 deletions

No files matched your search

+1 -2
View File
@@ -1,2 +1 @@
* @moloch--
* @rkervella
* @BishopFox/red-team
+12 -1
View File
@@ -28,6 +28,7 @@ import (
"path/filepath"
"strings"
"github.com/AlecAivazis/survey/v2"
"github.com/bishopfox/sliver/client/assets"
"github.com/bishopfox/sliver/client/command/help"
"github.com/bishopfox/sliver/client/console"
@@ -279,7 +280,17 @@ func runAliasCommand(ctx *grumble.Context, con *console.SliverConsoleClient) {
extArgs = strings.TrimSpace(extArgs)
entryPoint := aliasManifest.Entrypoint
processArgs := strings.Split(ctx.Flags.String("process-arguments"), " ")
processArgsStr := ctx.Flags.String("process-arguments")
if len(extArgs) > 256 && (aliasManifest.IsAssembly || !aliasManifest.IsReflective) {
con.PrintWarnf(" Arguments are limited to 256 characters when using the default fork/exec model for .NET assemblies and non-reflective PE files.\nConsider using the --in-process flag to execute .NET assemblies in-process and work around this limitation.\n")
confirm := false
prompt := &survey.Confirm{Message: "Do you want to continue?"}
survey.AskOne(prompt, &confirm, nil)
if !confirm {
return
}
}
processArgs := strings.Split(processArgsStr, " ")
processName := ctx.Flags.String("process")
if processName == "" {
processName, err = aliasManifest.getDefaultProcess(goos)
+12 -1
View File
@@ -24,6 +24,7 @@ import (
"path/filepath"
"strings"
"github.com/AlecAivazis/survey/v2"
"github.com/bishopfox/sliver/client/console"
"github.com/bishopfox/sliver/protobuf/clientpb"
"github.com/bishopfox/sliver/protobuf/sliverpb"
@@ -57,7 +58,8 @@ func ExecuteAssemblyCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
assemblyArgs := ctx.Args.StringList("arguments")
process := ctx.Flags.String("process")
processArgs := strings.Split(ctx.Flags.String("process-arguments"), " ")
processArgsStr := ctx.Flags.String("process-arguments")
processArgs := strings.Split(processArgsStr, " ")
runtime := ctx.Flags.String("runtime")
etwBypass := ctx.Flags.Bool("etw-bypass")
@@ -65,6 +67,15 @@ func ExecuteAssemblyCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
assemblyArgsStr := strings.Join(assemblyArgs, " ")
assemblyArgsStr = strings.TrimSpace(assemblyArgsStr)
if len(assemblyArgsStr) > 256 {
con.PrintWarnf(" Injected .NET assembly arguments are limited to 256 characters when using the default fork/exec model.\nConsider using the --in-process flag to execute the .NET assembly in-process and work around this limitation.\n")
confirm := false
prompt := &survey.Confirm{Message: "Do you want to continue?"}
survey.AskOne(prompt, &confirm, nil)
if !confirm {
return
}
}
ctrl := make(chan bool)
con.SpinUntil("Executing assembly ...", ctrl)
+1 -1
View File
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc-gen-go v1.27.1
// protoc v3.21.5
// source: clientpb/client.proto
+1 -1
View File
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc-gen-go v1.27.1
// protoc v3.21.5
// source: commonpb/common.proto
+1 -1
View File
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc-gen-go v1.27.1
// protoc v3.21.5
// source: dnspb/dns.proto
+1 -1
View File
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc-gen-go v1.27.1
// protoc v3.21.5
// source: rpcpb/services.proto
+4
View File
@@ -1,4 +1,8 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.2.0
// - protoc v3.21.5
// source: rpcpb/services.proto
package rpcpb
+377 -315
View File
@@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc-gen-go v1.27.1
// protoc v3.21.5
// source: sliverpb/sliver.proto
@@ -21,6 +21,62 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// Registry - Registry related messages
type RegistryType int32
const (
RegistryType_Unknown RegistryType = 0
RegistryType_Binary RegistryType = 1
RegistryType_String RegistryType = 2
RegistryType_DWORD RegistryType = 3
RegistryType_QWORD RegistryType = 4
)
// Enum value maps for RegistryType.
var (
RegistryType_name = map[int32]string{
0: "Unknown",
1: "Binary",
2: "String",
3: "DWORD",
4: "QWORD",
}
RegistryType_value = map[string]int32{
"Unknown": 0,
"Binary": 1,
"String": 2,
"DWORD": 3,
"QWORD": 4,
}
)
func (x RegistryType) Enum() *RegistryType {
p := new(RegistryType)
*p = x
return p
}
func (x RegistryType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (RegistryType) Descriptor() protoreflect.EnumDescriptor {
return file_sliverpb_sliver_proto_enumTypes[0].Descriptor()
}
func (RegistryType) Type() protoreflect.EnumType {
return &file_sliverpb_sliver_proto_enumTypes[0]
}
func (x RegistryType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use RegistryType.Descriptor instead.
func (RegistryType) EnumDescriptor() ([]byte, []int) {
return file_sliverpb_sliver_proto_rawDescGZIP(), []int{0}
}
type PivotType int32
const (
@@ -54,11 +110,11 @@ func (x PivotType) String() string {
}
func (PivotType) Descriptor() protoreflect.EnumDescriptor {
return file_sliverpb_sliver_proto_enumTypes[0].Descriptor()
return file_sliverpb_sliver_proto_enumTypes[1].Descriptor()
}
func (PivotType) Type() protoreflect.EnumType {
return &file_sliverpb_sliver_proto_enumTypes[0]
return &file_sliverpb_sliver_proto_enumTypes[1]
}
func (x PivotType) Number() protoreflect.EnumNumber {
@@ -67,7 +123,7 @@ func (x PivotType) Number() protoreflect.EnumNumber {
// Deprecated: Use PivotType.Descriptor instead.
func (PivotType) EnumDescriptor() ([]byte, []int) {
return file_sliverpb_sliver_proto_rawDescGZIP(), []int{0}
return file_sliverpb_sliver_proto_rawDescGZIP(), []int{1}
}
type PeerFailureType int32
@@ -100,11 +156,11 @@ func (x PeerFailureType) String() string {
}
func (PeerFailureType) Descriptor() protoreflect.EnumDescriptor {
return file_sliverpb_sliver_proto_enumTypes[1].Descriptor()
return file_sliverpb_sliver_proto_enumTypes[2].Descriptor()
}
func (PeerFailureType) Type() protoreflect.EnumType {
return &file_sliverpb_sliver_proto_enumTypes[1]
return &file_sliverpb_sliver_proto_enumTypes[2]
}
func (x PeerFailureType) Number() protoreflect.EnumNumber {
@@ -113,7 +169,7 @@ func (x PeerFailureType) Number() protoreflect.EnumNumber {
// Deprecated: Use PeerFailureType.Descriptor instead.
func (PeerFailureType) EnumDescriptor() ([]byte, []int) {
return file_sliverpb_sliver_proto_rawDescGZIP(), []int{1}
return file_sliverpb_sliver_proto_rawDescGZIP(), []int{2}
}
// Envelope - Used to encode implant<->server messages since we
@@ -10551,16 +10607,21 @@ var file_sliverpb_sliver_proto_rawDesc = []byte{
0x73, 0x12, 0x2e, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x09, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x70, 0x62, 0x2e, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x2a, 0x2c, 0x0a, 0x09, 0x50, 0x69, 0x76, 0x6f, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07,
0x0a, 0x03, 0x54, 0x43, 0x50, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x44, 0x50, 0x10, 0x01,
0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x50, 0x69, 0x70, 0x65, 0x10, 0x02, 0x2a,
0x33, 0x0a, 0x0f, 0x50, 0x65, 0x65, 0x72, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x54, 0x79,
0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x45, 0x4e, 0x44, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x55,
0x52, 0x45, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x49, 0x53, 0x43, 0x4f, 0x4e, 0x4e, 0x45,
0x43, 0x54, 0x10, 0x01, 0x42, 0x2f, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
0x6f, 0x6d, 0x2f, 0x62, 0x69, 0x73, 0x68, 0x6f, 0x70, 0x66, 0x6f, 0x78, 0x2f, 0x73, 0x6c, 0x69,
0x76, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x6c, 0x69,
0x76, 0x65, 0x72, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x65, 0x2a, 0x49, 0x0a, 0x0c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70,
0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x0a,
0x0a, 0x06, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x74,
0x72, 0x69, 0x6e, 0x67, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x44, 0x57, 0x4f, 0x52, 0x44, 0x10,
0x03, 0x12, 0x09, 0x0a, 0x05, 0x51, 0x57, 0x4f, 0x52, 0x44, 0x10, 0x04, 0x2a, 0x2c, 0x0a, 0x09,
0x50, 0x69, 0x76, 0x6f, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x43, 0x50,
0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x44, 0x50, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4e,
0x61, 0x6d, 0x65, 0x64, 0x50, 0x69, 0x70, 0x65, 0x10, 0x02, 0x2a, 0x33, 0x0a, 0x0f, 0x50, 0x65,
0x65, 0x72, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a,
0x0c, 0x53, 0x45, 0x4e, 0x44, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x10, 0x00, 0x12,
0x0e, 0x0a, 0x0a, 0x44, 0x49, 0x53, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x10, 0x01, 0x42,
0x2f, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x69,
0x73, 0x68, 0x6f, 0x70, 0x66, 0x6f, 0x78, 0x2f, 0x73, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x2f, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x70, 0x62,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@@ -10575,307 +10636,308 @@ func file_sliverpb_sliver_proto_rawDescGZIP() []byte {
return file_sliverpb_sliver_proto_rawDescData
}
var file_sliverpb_sliver_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_sliverpb_sliver_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
var file_sliverpb_sliver_proto_msgTypes = make([]protoimpl.MessageInfo, 144)
var file_sliverpb_sliver_proto_goTypes = []interface{}{
(PivotType)(0), // 0: sliverpb.PivotType
(PeerFailureType)(0), // 1: sliverpb.PeerFailureType
(*Envelope)(nil), // 2: sliverpb.Envelope
(*BeaconTasks)(nil), // 3: sliverpb.BeaconTasks
(*Register)(nil), // 4: sliverpb.Register
(*BeaconRegister)(nil), // 5: sliverpb.BeaconRegister
(*SessionRegister)(nil), // 6: sliverpb.SessionRegister
(*OpenSession)(nil), // 7: sliverpb.OpenSession
(*CloseSession)(nil), // 8: sliverpb.CloseSession
(*Ping)(nil), // 9: sliverpb.Ping
(*KillReq)(nil), // 10: sliverpb.KillReq
(*PsReq)(nil), // 11: sliverpb.PsReq
(*Ps)(nil), // 12: sliverpb.Ps
(*TerminateReq)(nil), // 13: sliverpb.TerminateReq
(*Terminate)(nil), // 14: sliverpb.Terminate
(*IfconfigReq)(nil), // 15: sliverpb.IfconfigReq
(*Ifconfig)(nil), // 16: sliverpb.Ifconfig
(*NetInterface)(nil), // 17: sliverpb.NetInterface
(*LsReq)(nil), // 18: sliverpb.LsReq
(*Ls)(nil), // 19: sliverpb.Ls
(*FileInfo)(nil), // 20: sliverpb.FileInfo
(*CdReq)(nil), // 21: sliverpb.CdReq
(*PwdReq)(nil), // 22: sliverpb.PwdReq
(*Pwd)(nil), // 23: sliverpb.Pwd
(*RmReq)(nil), // 24: sliverpb.RmReq
(*Rm)(nil), // 25: sliverpb.Rm
(*MvReq)(nil), // 26: sliverpb.MvReq
(*Mv)(nil), // 27: sliverpb.Mv
(*MkdirReq)(nil), // 28: sliverpb.MkdirReq
(*Mkdir)(nil), // 29: sliverpb.Mkdir
(*DownloadReq)(nil), // 30: sliverpb.DownloadReq
(*Download)(nil), // 31: sliverpb.Download
(*UploadReq)(nil), // 32: sliverpb.UploadReq
(*Upload)(nil), // 33: sliverpb.Upload
(*ProcessDumpReq)(nil), // 34: sliverpb.ProcessDumpReq
(*ProcessDump)(nil), // 35: sliverpb.ProcessDump
(*RunAsReq)(nil), // 36: sliverpb.RunAsReq
(*RunAs)(nil), // 37: sliverpb.RunAs
(*ImpersonateReq)(nil), // 38: sliverpb.ImpersonateReq
(*Impersonate)(nil), // 39: sliverpb.Impersonate
(*RevToSelfReq)(nil), // 40: sliverpb.RevToSelfReq
(*RevToSelf)(nil), // 41: sliverpb.RevToSelf
(*CurrentTokenOwnerReq)(nil), // 42: sliverpb.CurrentTokenOwnerReq
(*CurrentTokenOwner)(nil), // 43: sliverpb.CurrentTokenOwner
(*InvokeGetSystemReq)(nil), // 44: sliverpb.InvokeGetSystemReq
(*GetSystem)(nil), // 45: sliverpb.GetSystem
(*MakeTokenReq)(nil), // 46: sliverpb.MakeTokenReq
(*MakeToken)(nil), // 47: sliverpb.MakeToken
(*TaskReq)(nil), // 48: sliverpb.TaskReq
(*Task)(nil), // 49: sliverpb.Task
(*ExecuteAssemblyReq)(nil), // 50: sliverpb.ExecuteAssemblyReq
(*InvokeExecuteAssemblyReq)(nil), // 51: sliverpb.InvokeExecuteAssemblyReq
(*InvokeInProcExecuteAssemblyReq)(nil), // 52: sliverpb.InvokeInProcExecuteAssemblyReq
(*ExecuteAssembly)(nil), // 53: sliverpb.ExecuteAssembly
(*InvokeMigrateReq)(nil), // 54: sliverpb.InvokeMigrateReq
(*Migrate)(nil), // 55: sliverpb.Migrate
(*ExecuteReq)(nil), // 56: sliverpb.ExecuteReq
(*ExecuteWindowsReq)(nil), // 57: sliverpb.ExecuteWindowsReq
(*Execute)(nil), // 58: sliverpb.Execute
(*SideloadReq)(nil), // 59: sliverpb.SideloadReq
(*Sideload)(nil), // 60: sliverpb.Sideload
(*InvokeSpawnDllReq)(nil), // 61: sliverpb.InvokeSpawnDllReq
(*SpawnDllReq)(nil), // 62: sliverpb.SpawnDllReq
(*SpawnDll)(nil), // 63: sliverpb.SpawnDll
(*NetstatReq)(nil), // 64: sliverpb.NetstatReq
(*SockTabEntry)(nil), // 65: sliverpb.SockTabEntry
(*Netstat)(nil), // 66: sliverpb.Netstat
(*EnvReq)(nil), // 67: sliverpb.EnvReq
(*EnvInfo)(nil), // 68: sliverpb.EnvInfo
(*SetEnvReq)(nil), // 69: sliverpb.SetEnvReq
(*SetEnv)(nil), // 70: sliverpb.SetEnv
(*UnsetEnvReq)(nil), // 71: sliverpb.UnsetEnvReq
(*UnsetEnv)(nil), // 72: sliverpb.UnsetEnv
(*DNSSessionInit)(nil), // 73: sliverpb.DNSSessionInit
(*DNSPoll)(nil), // 74: sliverpb.DNSPoll
(*DNSBlockHeader)(nil), // 75: sliverpb.DNSBlockHeader
(*HTTPSessionInit)(nil), // 76: sliverpb.HTTPSessionInit
(*ScreenshotReq)(nil), // 77: sliverpb.ScreenshotReq
(*Screenshot)(nil), // 78: sliverpb.Screenshot
(*StartServiceReq)(nil), // 79: sliverpb.StartServiceReq
(*ServiceInfo)(nil), // 80: sliverpb.ServiceInfo
(*ServiceInfoReq)(nil), // 81: sliverpb.ServiceInfoReq
(*StopServiceReq)(nil), // 82: sliverpb.StopServiceReq
(*RemoveServiceReq)(nil), // 83: sliverpb.RemoveServiceReq
(*BackdoorReq)(nil), // 84: sliverpb.BackdoorReq
(*Backdoor)(nil), // 85: sliverpb.Backdoor
(*RegistryReadReq)(nil), // 86: sliverpb.RegistryReadReq
(*RegistryRead)(nil), // 87: sliverpb.RegistryRead
(*RegistryWriteReq)(nil), // 88: sliverpb.RegistryWriteReq
(*RegistryWrite)(nil), // 89: sliverpb.RegistryWrite
(*RegistryCreateKeyReq)(nil), // 90: sliverpb.RegistryCreateKeyReq
(*RegistryCreateKey)(nil), // 91: sliverpb.RegistryCreateKey
(*RegistryDeleteKeyReq)(nil), // 92: sliverpb.RegistryDeleteKeyReq
(*RegistryDeleteKey)(nil), // 93: sliverpb.RegistryDeleteKey
(*RegistrySubKeyListReq)(nil), // 94: sliverpb.RegistrySubKeyListReq
(*RegistrySubKeyList)(nil), // 95: sliverpb.RegistrySubKeyList
(*RegistryListValuesReq)(nil), // 96: sliverpb.RegistryListValuesReq
(*RegistryValuesList)(nil), // 97: sliverpb.RegistryValuesList
(*Tunnel)(nil), // 98: sliverpb.Tunnel
(*TunnelData)(nil), // 99: sliverpb.TunnelData
(*ShellReq)(nil), // 100: sliverpb.ShellReq
(*Shell)(nil), // 101: sliverpb.Shell
(*PortfwdReq)(nil), // 102: sliverpb.PortfwdReq
(*Portfwd)(nil), // 103: sliverpb.Portfwd
(*Socks)(nil), // 104: sliverpb.Socks
(*SocksData)(nil), // 105: sliverpb.SocksData
(*PivotStartListenerReq)(nil), // 106: sliverpb.PivotStartListenerReq
(*PivotStopListenerReq)(nil), // 107: sliverpb.PivotStopListenerReq
(*PivotListener)(nil), // 108: sliverpb.PivotListener
(*PivotHello)(nil), // 109: sliverpb.PivotHello
(*PivotServerKeyExchange)(nil), // 110: sliverpb.PivotServerKeyExchange
(*PivotPeer)(nil), // 111: sliverpb.PivotPeer
(*PivotPeerEnvelope)(nil), // 112: sliverpb.PivotPeerEnvelope
(*PivotPing)(nil), // 113: sliverpb.PivotPing
(*NetConnPivot)(nil), // 114: sliverpb.NetConnPivot
(*PivotPeerFailure)(nil), // 115: sliverpb.PivotPeerFailure
(*PivotListenersReq)(nil), // 116: sliverpb.PivotListenersReq
(*PivotListeners)(nil), // 117: sliverpb.PivotListeners
(*WGPortForwardStartReq)(nil), // 118: sliverpb.WGPortForwardStartReq
(*WGPortForward)(nil), // 119: sliverpb.WGPortForward
(*WGPortForwardStopReq)(nil), // 120: sliverpb.WGPortForwardStopReq
(*WGSocksStartReq)(nil), // 121: sliverpb.WGSocksStartReq
(*WGSocks)(nil), // 122: sliverpb.WGSocks
(*WGSocksStopReq)(nil), // 123: sliverpb.WGSocksStopReq
(*WGTCPForwardersReq)(nil), // 124: sliverpb.WGTCPForwardersReq
(*WGSocksServersReq)(nil), // 125: sliverpb.WGSocksServersReq
(*WGTCPForwarder)(nil), // 126: sliverpb.WGTCPForwarder
(*WGSocksServer)(nil), // 127: sliverpb.WGSocksServer
(*WGSocksServers)(nil), // 128: sliverpb.WGSocksServers
(*WGTCPForwarders)(nil), // 129: sliverpb.WGTCPForwarders
(*ReconfigureReq)(nil), // 130: sliverpb.ReconfigureReq
(*Reconfigure)(nil), // 131: sliverpb.Reconfigure
(*PollIntervalReq)(nil), // 132: sliverpb.PollIntervalReq
(*PollInterval)(nil), // 133: sliverpb.PollInterval
(*SSHCommandReq)(nil), // 134: sliverpb.SSHCommandReq
(*SSHCommand)(nil), // 135: sliverpb.SSHCommand
(*GetPrivsReq)(nil), // 136: sliverpb.GetPrivsReq
(*WindowsPrivilegeEntry)(nil), // 137: sliverpb.WindowsPrivilegeEntry
(*GetPrivs)(nil), // 138: sliverpb.GetPrivs
(*RegisterExtensionReq)(nil), // 139: sliverpb.RegisterExtensionReq
(*RegisterExtension)(nil), // 140: sliverpb.RegisterExtension
(*CallExtensionReq)(nil), // 141: sliverpb.CallExtensionReq
(*CallExtension)(nil), // 142: sliverpb.CallExtension
(*ListExtensionsReq)(nil), // 143: sliverpb.ListExtensionsReq
(*ListExtensions)(nil), // 144: sliverpb.ListExtensions
(*SockTabEntry_SockAddr)(nil), // 145: sliverpb.SockTabEntry.SockAddr
(*commonpb.Response)(nil), // 146: commonpb.Response
(*commonpb.Request)(nil), // 147: commonpb.Request
(*commonpb.Process)(nil), // 148: commonpb.Process
(*commonpb.EnvVar)(nil), // 149: commonpb.EnvVar
(RegistryType)(0), // 0: sliverpb.RegistryType
(PivotType)(0), // 1: sliverpb.PivotType
(PeerFailureType)(0), // 2: sliverpb.PeerFailureType
(*Envelope)(nil), // 3: sliverpb.Envelope
(*BeaconTasks)(nil), // 4: sliverpb.BeaconTasks
(*Register)(nil), // 5: sliverpb.Register
(*BeaconRegister)(nil), // 6: sliverpb.BeaconRegister
(*SessionRegister)(nil), // 7: sliverpb.SessionRegister
(*OpenSession)(nil), // 8: sliverpb.OpenSession
(*CloseSession)(nil), // 9: sliverpb.CloseSession
(*Ping)(nil), // 10: sliverpb.Ping
(*KillReq)(nil), // 11: sliverpb.KillReq
(*PsReq)(nil), // 12: sliverpb.PsReq
(*Ps)(nil), // 13: sliverpb.Ps
(*TerminateReq)(nil), // 14: sliverpb.TerminateReq
(*Terminate)(nil), // 15: sliverpb.Terminate
(*IfconfigReq)(nil), // 16: sliverpb.IfconfigReq
(*Ifconfig)(nil), // 17: sliverpb.Ifconfig
(*NetInterface)(nil), // 18: sliverpb.NetInterface
(*LsReq)(nil), // 19: sliverpb.LsReq
(*Ls)(nil), // 20: sliverpb.Ls
(*FileInfo)(nil), // 21: sliverpb.FileInfo
(*CdReq)(nil), // 22: sliverpb.CdReq
(*PwdReq)(nil), // 23: sliverpb.PwdReq
(*Pwd)(nil), // 24: sliverpb.Pwd
(*RmReq)(nil), // 25: sliverpb.RmReq
(*Rm)(nil), // 26: sliverpb.Rm
(*MvReq)(nil), // 27: sliverpb.MvReq
(*Mv)(nil), // 28: sliverpb.Mv
(*MkdirReq)(nil), // 29: sliverpb.MkdirReq
(*Mkdir)(nil), // 30: sliverpb.Mkdir
(*DownloadReq)(nil), // 31: sliverpb.DownloadReq
(*Download)(nil), // 32: sliverpb.Download
(*UploadReq)(nil), // 33: sliverpb.UploadReq
(*Upload)(nil), // 34: sliverpb.Upload
(*ProcessDumpReq)(nil), // 35: sliverpb.ProcessDumpReq
(*ProcessDump)(nil), // 36: sliverpb.ProcessDump
(*RunAsReq)(nil), // 37: sliverpb.RunAsReq
(*RunAs)(nil), // 38: sliverpb.RunAs
(*ImpersonateReq)(nil), // 39: sliverpb.ImpersonateReq
(*Impersonate)(nil), // 40: sliverpb.Impersonate
(*RevToSelfReq)(nil), // 41: sliverpb.RevToSelfReq
(*RevToSelf)(nil), // 42: sliverpb.RevToSelf
(*CurrentTokenOwnerReq)(nil), // 43: sliverpb.CurrentTokenOwnerReq
(*CurrentTokenOwner)(nil), // 44: sliverpb.CurrentTokenOwner
(*InvokeGetSystemReq)(nil), // 45: sliverpb.InvokeGetSystemReq
(*GetSystem)(nil), // 46: sliverpb.GetSystem
(*MakeTokenReq)(nil), // 47: sliverpb.MakeTokenReq
(*MakeToken)(nil), // 48: sliverpb.MakeToken
(*TaskReq)(nil), // 49: sliverpb.TaskReq
(*Task)(nil), // 50: sliverpb.Task
(*ExecuteAssemblyReq)(nil), // 51: sliverpb.ExecuteAssemblyReq
(*InvokeExecuteAssemblyReq)(nil), // 52: sliverpb.InvokeExecuteAssemblyReq
(*InvokeInProcExecuteAssemblyReq)(nil), // 53: sliverpb.InvokeInProcExecuteAssemblyReq
(*ExecuteAssembly)(nil), // 54: sliverpb.ExecuteAssembly
(*InvokeMigrateReq)(nil), // 55: sliverpb.InvokeMigrateReq
(*Migrate)(nil), // 56: sliverpb.Migrate
(*ExecuteReq)(nil), // 57: sliverpb.ExecuteReq
(*ExecuteWindowsReq)(nil), // 58: sliverpb.ExecuteWindowsReq
(*Execute)(nil), // 59: sliverpb.Execute
(*SideloadReq)(nil), // 60: sliverpb.SideloadReq
(*Sideload)(nil), // 61: sliverpb.Sideload
(*InvokeSpawnDllReq)(nil), // 62: sliverpb.InvokeSpawnDllReq
(*SpawnDllReq)(nil), // 63: sliverpb.SpawnDllReq
(*SpawnDll)(nil), // 64: sliverpb.SpawnDll
(*NetstatReq)(nil), // 65: sliverpb.NetstatReq
(*SockTabEntry)(nil), // 66: sliverpb.SockTabEntry
(*Netstat)(nil), // 67: sliverpb.Netstat
(*EnvReq)(nil), // 68: sliverpb.EnvReq
(*EnvInfo)(nil), // 69: sliverpb.EnvInfo
(*SetEnvReq)(nil), // 70: sliverpb.SetEnvReq
(*SetEnv)(nil), // 71: sliverpb.SetEnv
(*UnsetEnvReq)(nil), // 72: sliverpb.UnsetEnvReq
(*UnsetEnv)(nil), // 73: sliverpb.UnsetEnv
(*DNSSessionInit)(nil), // 74: sliverpb.DNSSessionInit
(*DNSPoll)(nil), // 75: sliverpb.DNSPoll
(*DNSBlockHeader)(nil), // 76: sliverpb.DNSBlockHeader
(*HTTPSessionInit)(nil), // 77: sliverpb.HTTPSessionInit
(*ScreenshotReq)(nil), // 78: sliverpb.ScreenshotReq
(*Screenshot)(nil), // 79: sliverpb.Screenshot
(*StartServiceReq)(nil), // 80: sliverpb.StartServiceReq
(*ServiceInfo)(nil), // 81: sliverpb.ServiceInfo
(*ServiceInfoReq)(nil), // 82: sliverpb.ServiceInfoReq
(*StopServiceReq)(nil), // 83: sliverpb.StopServiceReq
(*RemoveServiceReq)(nil), // 84: sliverpb.RemoveServiceReq
(*BackdoorReq)(nil), // 85: sliverpb.BackdoorReq
(*Backdoor)(nil), // 86: sliverpb.Backdoor
(*RegistryReadReq)(nil), // 87: sliverpb.RegistryReadReq
(*RegistryRead)(nil), // 88: sliverpb.RegistryRead
(*RegistryWriteReq)(nil), // 89: sliverpb.RegistryWriteReq
(*RegistryWrite)(nil), // 90: sliverpb.RegistryWrite
(*RegistryCreateKeyReq)(nil), // 91: sliverpb.RegistryCreateKeyReq
(*RegistryCreateKey)(nil), // 92: sliverpb.RegistryCreateKey
(*RegistryDeleteKeyReq)(nil), // 93: sliverpb.RegistryDeleteKeyReq
(*RegistryDeleteKey)(nil), // 94: sliverpb.RegistryDeleteKey
(*RegistrySubKeyListReq)(nil), // 95: sliverpb.RegistrySubKeyListReq
(*RegistrySubKeyList)(nil), // 96: sliverpb.RegistrySubKeyList
(*RegistryListValuesReq)(nil), // 97: sliverpb.RegistryListValuesReq
(*RegistryValuesList)(nil), // 98: sliverpb.RegistryValuesList
(*Tunnel)(nil), // 99: sliverpb.Tunnel
(*TunnelData)(nil), // 100: sliverpb.TunnelData
(*ShellReq)(nil), // 101: sliverpb.ShellReq
(*Shell)(nil), // 102: sliverpb.Shell
(*PortfwdReq)(nil), // 103: sliverpb.PortfwdReq
(*Portfwd)(nil), // 104: sliverpb.Portfwd
(*Socks)(nil), // 105: sliverpb.Socks
(*SocksData)(nil), // 106: sliverpb.SocksData
(*PivotStartListenerReq)(nil), // 107: sliverpb.PivotStartListenerReq
(*PivotStopListenerReq)(nil), // 108: sliverpb.PivotStopListenerReq
(*PivotListener)(nil), // 109: sliverpb.PivotListener
(*PivotHello)(nil), // 110: sliverpb.PivotHello
(*PivotServerKeyExchange)(nil), // 111: sliverpb.PivotServerKeyExchange
(*PivotPeer)(nil), // 112: sliverpb.PivotPeer
(*PivotPeerEnvelope)(nil), // 113: sliverpb.PivotPeerEnvelope
(*PivotPing)(nil), // 114: sliverpb.PivotPing
(*NetConnPivot)(nil), // 115: sliverpb.NetConnPivot
(*PivotPeerFailure)(nil), // 116: sliverpb.PivotPeerFailure
(*PivotListenersReq)(nil), // 117: sliverpb.PivotListenersReq
(*PivotListeners)(nil), // 118: sliverpb.PivotListeners
(*WGPortForwardStartReq)(nil), // 119: sliverpb.WGPortForwardStartReq
(*WGPortForward)(nil), // 120: sliverpb.WGPortForward
(*WGPortForwardStopReq)(nil), // 121: sliverpb.WGPortForwardStopReq
(*WGSocksStartReq)(nil), // 122: sliverpb.WGSocksStartReq
(*WGSocks)(nil), // 123: sliverpb.WGSocks
(*WGSocksStopReq)(nil), // 124: sliverpb.WGSocksStopReq
(*WGTCPForwardersReq)(nil), // 125: sliverpb.WGTCPForwardersReq
(*WGSocksServersReq)(nil), // 126: sliverpb.WGSocksServersReq
(*WGTCPForwarder)(nil), // 127: sliverpb.WGTCPForwarder
(*WGSocksServer)(nil), // 128: sliverpb.WGSocksServer
(*WGSocksServers)(nil), // 129: sliverpb.WGSocksServers
(*WGTCPForwarders)(nil), // 130: sliverpb.WGTCPForwarders
(*ReconfigureReq)(nil), // 131: sliverpb.ReconfigureReq
(*Reconfigure)(nil), // 132: sliverpb.Reconfigure
(*PollIntervalReq)(nil), // 133: sliverpb.PollIntervalReq
(*PollInterval)(nil), // 134: sliverpb.PollInterval
(*SSHCommandReq)(nil), // 135: sliverpb.SSHCommandReq
(*SSHCommand)(nil), // 136: sliverpb.SSHCommand
(*GetPrivsReq)(nil), // 137: sliverpb.GetPrivsReq
(*WindowsPrivilegeEntry)(nil), // 138: sliverpb.WindowsPrivilegeEntry
(*GetPrivs)(nil), // 139: sliverpb.GetPrivs
(*RegisterExtensionReq)(nil), // 140: sliverpb.RegisterExtensionReq
(*RegisterExtension)(nil), // 141: sliverpb.RegisterExtension
(*CallExtensionReq)(nil), // 142: sliverpb.CallExtensionReq
(*CallExtension)(nil), // 143: sliverpb.CallExtension
(*ListExtensionsReq)(nil), // 144: sliverpb.ListExtensionsReq
(*ListExtensions)(nil), // 145: sliverpb.ListExtensions
(*SockTabEntry_SockAddr)(nil), // 146: sliverpb.SockTabEntry.SockAddr
(*commonpb.Response)(nil), // 147: commonpb.Response
(*commonpb.Request)(nil), // 148: commonpb.Request
(*commonpb.Process)(nil), // 149: commonpb.Process
(*commonpb.EnvVar)(nil), // 150: commonpb.EnvVar
}
var file_sliverpb_sliver_proto_depIdxs = []int32{
2, // 0: sliverpb.BeaconTasks.Tasks:type_name -> sliverpb.Envelope
4, // 1: sliverpb.BeaconRegister.Register:type_name -> sliverpb.Register
4, // 2: sliverpb.SessionRegister.Register:type_name -> sliverpb.Register
146, // 3: sliverpb.OpenSession.Response:type_name -> commonpb.Response
147, // 4: sliverpb.OpenSession.Request:type_name -> commonpb.Request
146, // 5: sliverpb.CloseSession.Response:type_name -> commonpb.Response
147, // 6: sliverpb.CloseSession.Request:type_name -> commonpb.Request
146, // 7: sliverpb.Ping.Response:type_name -> commonpb.Response
147, // 8: sliverpb.Ping.Request:type_name -> commonpb.Request
147, // 9: sliverpb.KillReq.Request:type_name -> commonpb.Request
147, // 10: sliverpb.PsReq.Request:type_name -> commonpb.Request
148, // 11: sliverpb.Ps.Processes:type_name -> commonpb.Process
146, // 12: sliverpb.Ps.Response:type_name -> commonpb.Response
147, // 13: sliverpb.TerminateReq.Request:type_name -> commonpb.Request
146, // 14: sliverpb.Terminate.Response:type_name -> commonpb.Response
147, // 15: sliverpb.IfconfigReq.Request:type_name -> commonpb.Request
17, // 16: sliverpb.Ifconfig.NetInterfaces:type_name -> sliverpb.NetInterface
146, // 17: sliverpb.Ifconfig.Response:type_name -> commonpb.Response
147, // 18: sliverpb.LsReq.Request:type_name -> commonpb.Request
20, // 19: sliverpb.Ls.Files:type_name -> sliverpb.FileInfo
146, // 20: sliverpb.Ls.Response:type_name -> commonpb.Response
147, // 21: sliverpb.CdReq.Request:type_name -> commonpb.Request
147, // 22: sliverpb.PwdReq.Request:type_name -> commonpb.Request
146, // 23: sliverpb.Pwd.Response:type_name -> commonpb.Response
147, // 24: sliverpb.RmReq.Request:type_name -> commonpb.Request
146, // 25: sliverpb.Rm.Response:type_name -> commonpb.Response
147, // 26: sliverpb.MvReq.Request:type_name -> commonpb.Request
146, // 27: sliverpb.Mv.Response:type_name -> commonpb.Response
147, // 28: sliverpb.MkdirReq.Request:type_name -> commonpb.Request
146, // 29: sliverpb.Mkdir.Response:type_name -> commonpb.Response
147, // 30: sliverpb.DownloadReq.Request:type_name -> commonpb.Request
146, // 31: sliverpb.Download.Response:type_name -> commonpb.Response
147, // 32: sliverpb.UploadReq.Request:type_name -> commonpb.Request
146, // 33: sliverpb.Upload.Response:type_name -> commonpb.Response
147, // 34: sliverpb.ProcessDumpReq.Request:type_name -> commonpb.Request
146, // 35: sliverpb.ProcessDump.Response:type_name -> commonpb.Response
147, // 36: sliverpb.RunAsReq.Request:type_name -> commonpb.Request
146, // 37: sliverpb.RunAs.Response:type_name -> commonpb.Response
147, // 38: sliverpb.ImpersonateReq.Request:type_name -> commonpb.Request
146, // 39: sliverpb.Impersonate.Response:type_name -> commonpb.Response
147, // 40: sliverpb.RevToSelfReq.Request:type_name -> commonpb.Request
146, // 41: sliverpb.RevToSelf.Response:type_name -> commonpb.Response
147, // 42: sliverpb.CurrentTokenOwnerReq.Request:type_name -> commonpb.Request
146, // 43: sliverpb.CurrentTokenOwner.Response:type_name -> commonpb.Response
147, // 44: sliverpb.InvokeGetSystemReq.Request:type_name -> commonpb.Request
146, // 45: sliverpb.GetSystem.Response:type_name -> commonpb.Response
147, // 46: sliverpb.MakeTokenReq.Request:type_name -> commonpb.Request
146, // 47: sliverpb.MakeToken.Response:type_name -> commonpb.Response
147, // 48: sliverpb.TaskReq.Request:type_name -> commonpb.Request
146, // 49: sliverpb.Task.Response:type_name -> commonpb.Response
147, // 50: sliverpb.ExecuteAssemblyReq.Request:type_name -> commonpb.Request
147, // 51: sliverpb.InvokeExecuteAssemblyReq.Request:type_name -> commonpb.Request
147, // 52: sliverpb.InvokeInProcExecuteAssemblyReq.Request:type_name -> commonpb.Request
146, // 53: sliverpb.ExecuteAssembly.Response:type_name -> commonpb.Response
147, // 54: sliverpb.InvokeMigrateReq.Request:type_name -> commonpb.Request
146, // 55: sliverpb.Migrate.Response:type_name -> commonpb.Response
147, // 56: sliverpb.ExecuteReq.Request:type_name -> commonpb.Request
147, // 57: sliverpb.ExecuteWindowsReq.Request:type_name -> commonpb.Request
146, // 58: sliverpb.Execute.Response:type_name -> commonpb.Response
147, // 59: sliverpb.SideloadReq.Request:type_name -> commonpb.Request
146, // 60: sliverpb.Sideload.Response:type_name -> commonpb.Response
147, // 61: sliverpb.InvokeSpawnDllReq.Request:type_name -> commonpb.Request
147, // 62: sliverpb.SpawnDllReq.Request:type_name -> commonpb.Request
146, // 63: sliverpb.SpawnDll.Response:type_name -> commonpb.Response
147, // 64: sliverpb.NetstatReq.Request:type_name -> commonpb.Request
145, // 65: sliverpb.SockTabEntry.LocalAddr:type_name -> sliverpb.SockTabEntry.SockAddr
145, // 66: sliverpb.SockTabEntry.RemoteAddr:type_name -> sliverpb.SockTabEntry.SockAddr
148, // 67: sliverpb.SockTabEntry.Process:type_name -> commonpb.Process
65, // 68: sliverpb.Netstat.Entries:type_name -> sliverpb.SockTabEntry
146, // 69: sliverpb.Netstat.Response:type_name -> commonpb.Response
147, // 70: sliverpb.EnvReq.Request:type_name -> commonpb.Request
149, // 71: sliverpb.EnvInfo.Variables:type_name -> commonpb.EnvVar
146, // 72: sliverpb.EnvInfo.Response:type_name -> commonpb.Response
149, // 73: sliverpb.SetEnvReq.Variable:type_name -> commonpb.EnvVar
147, // 74: sliverpb.SetEnvReq.Request:type_name -> commonpb.Request
146, // 75: sliverpb.SetEnv.Response:type_name -> commonpb.Response
147, // 76: sliverpb.UnsetEnvReq.Request:type_name -> commonpb.Request
146, // 77: sliverpb.UnsetEnv.Response:type_name -> commonpb.Response
75, // 78: sliverpb.DNSPoll.blocks:type_name -> sliverpb.DNSBlockHeader
147, // 79: sliverpb.ScreenshotReq.Request:type_name -> commonpb.Request
146, // 80: sliverpb.Screenshot.Response:type_name -> commonpb.Response
147, // 81: sliverpb.StartServiceReq.Request:type_name -> commonpb.Request
146, // 82: sliverpb.ServiceInfo.Response:type_name -> commonpb.Response
81, // 83: sliverpb.StopServiceReq.ServiceInfo:type_name -> sliverpb.ServiceInfoReq
147, // 84: sliverpb.StopServiceReq.Request:type_name -> commonpb.Request
81, // 85: sliverpb.RemoveServiceReq.ServiceInfo:type_name -> sliverpb.ServiceInfoReq
147, // 86: sliverpb.RemoveServiceReq.Request:type_name -> commonpb.Request
147, // 87: sliverpb.BackdoorReq.Request:type_name -> commonpb.Request
146, // 88: sliverpb.Backdoor.Response:type_name -> commonpb.Response
147, // 89: sliverpb.RegistryReadReq.Request:type_name -> commonpb.Request
146, // 90: sliverpb.RegistryRead.Response:type_name -> commonpb.Response
147, // 91: sliverpb.RegistryWriteReq.Request:type_name -> commonpb.Request
146, // 92: sliverpb.RegistryWrite.Response:type_name -> commonpb.Response
147, // 93: sliverpb.RegistryCreateKeyReq.Request:type_name -> commonpb.Request
146, // 94: sliverpb.RegistryCreateKey.Response:type_name -> commonpb.Response
147, // 95: sliverpb.RegistryDeleteKeyReq.Request:type_name -> commonpb.Request
146, // 96: sliverpb.RegistryDeleteKey.Response:type_name -> commonpb.Response
147, // 97: sliverpb.RegistrySubKeyListReq.Request:type_name -> commonpb.Request
146, // 98: sliverpb.RegistrySubKeyList.Response:type_name -> commonpb.Response
147, // 99: sliverpb.RegistryListValuesReq.Request:type_name -> commonpb.Request
146, // 100: sliverpb.RegistryValuesList.Response:type_name -> commonpb.Response
147, // 101: sliverpb.ShellReq.Request:type_name -> commonpb.Request
146, // 102: sliverpb.Shell.Response:type_name -> commonpb.Response
147, // 103: sliverpb.PortfwdReq.Request:type_name -> commonpb.Request
146, // 104: sliverpb.Portfwd.Response:type_name -> commonpb.Response
147, // 105: sliverpb.SocksData.Request:type_name -> commonpb.Request
0, // 106: sliverpb.PivotStartListenerReq.Type:type_name -> sliverpb.PivotType
147, // 107: sliverpb.PivotStartListenerReq.Request:type_name -> commonpb.Request
147, // 108: sliverpb.PivotStopListenerReq.Request:type_name -> commonpb.Request
0, // 109: sliverpb.PivotListener.Type:type_name -> sliverpb.PivotType
114, // 110: sliverpb.PivotListener.Pivots:type_name -> sliverpb.NetConnPivot
146, // 111: sliverpb.PivotListener.Response:type_name -> commonpb.Response
111, // 112: sliverpb.PivotPeerEnvelope.Peers:type_name -> sliverpb.PivotPeer
1, // 113: sliverpb.PivotPeerFailure.Type:type_name -> sliverpb.PeerFailureType
147, // 114: sliverpb.PivotListenersReq.Request:type_name -> commonpb.Request
108, // 115: sliverpb.PivotListeners.Listeners:type_name -> sliverpb.PivotListener
146, // 116: sliverpb.PivotListeners.Response:type_name -> commonpb.Response
147, // 117: sliverpb.WGPortForwardStartReq.Request:type_name -> commonpb.Request
126, // 118: sliverpb.WGPortForward.Forwarder:type_name -> sliverpb.WGTCPForwarder
146, // 119: sliverpb.WGPortForward.Response:type_name -> commonpb.Response
147, // 120: sliverpb.WGPortForwardStopReq.Request:type_name -> commonpb.Request
147, // 121: sliverpb.WGSocksStartReq.Request:type_name -> commonpb.Request
127, // 122: sliverpb.WGSocks.Server:type_name -> sliverpb.WGSocksServer
146, // 123: sliverpb.WGSocks.Response:type_name -> commonpb.Response
147, // 124: sliverpb.WGSocksStopReq.Request:type_name -> commonpb.Request
147, // 125: sliverpb.WGTCPForwardersReq.Request:type_name -> commonpb.Request
147, // 126: sliverpb.WGSocksServersReq.Request:type_name -> commonpb.Request
127, // 127: sliverpb.WGSocksServers.Servers:type_name -> sliverpb.WGSocksServer
146, // 128: sliverpb.WGSocksServers.Response:type_name -> commonpb.Response
126, // 129: sliverpb.WGTCPForwarders.Forwarders:type_name -> sliverpb.WGTCPForwarder
146, // 130: sliverpb.WGTCPForwarders.Response:type_name -> commonpb.Response
147, // 131: sliverpb.ReconfigureReq.Request:type_name -> commonpb.Request
146, // 132: sliverpb.Reconfigure.Response:type_name -> commonpb.Response
147, // 133: sliverpb.PollIntervalReq.Request:type_name -> commonpb.Request
146, // 134: sliverpb.PollInterval.Response:type_name -> commonpb.Response
147, // 135: sliverpb.SSHCommandReq.Request:type_name -> commonpb.Request
146, // 136: sliverpb.SSHCommand.Response:type_name -> commonpb.Response
147, // 137: sliverpb.GetPrivsReq.Request:type_name -> commonpb.Request
137, // 138: sliverpb.GetPrivs.PrivInfo:type_name -> sliverpb.WindowsPrivilegeEntry
146, // 139: sliverpb.GetPrivs.Response:type_name -> commonpb.Response
147, // 140: sliverpb.RegisterExtensionReq.Request:type_name -> commonpb.Request
146, // 141: sliverpb.RegisterExtension.Response:type_name -> commonpb.Response
147, // 142: sliverpb.CallExtensionReq.Request:type_name -> commonpb.Request
146, // 143: sliverpb.CallExtension.Response:type_name -> commonpb.Response
147, // 144: sliverpb.ListExtensionsReq.Request:type_name -> commonpb.Request
146, // 145: sliverpb.ListExtensions.Response:type_name -> commonpb.Response
3, // 0: sliverpb.BeaconTasks.Tasks:type_name -> sliverpb.Envelope
5, // 1: sliverpb.BeaconRegister.Register:type_name -> sliverpb.Register
5, // 2: sliverpb.SessionRegister.Register:type_name -> sliverpb.Register
147, // 3: sliverpb.OpenSession.Response:type_name -> commonpb.Response
148, // 4: sliverpb.OpenSession.Request:type_name -> commonpb.Request
147, // 5: sliverpb.CloseSession.Response:type_name -> commonpb.Response
148, // 6: sliverpb.CloseSession.Request:type_name -> commonpb.Request
147, // 7: sliverpb.Ping.Response:type_name -> commonpb.Response
148, // 8: sliverpb.Ping.Request:type_name -> commonpb.Request
148, // 9: sliverpb.KillReq.Request:type_name -> commonpb.Request
148, // 10: sliverpb.PsReq.Request:type_name -> commonpb.Request
149, // 11: sliverpb.Ps.Processes:type_name -> commonpb.Process
147, // 12: sliverpb.Ps.Response:type_name -> commonpb.Response
148, // 13: sliverpb.TerminateReq.Request:type_name -> commonpb.Request
147, // 14: sliverpb.Terminate.Response:type_name -> commonpb.Response
148, // 15: sliverpb.IfconfigReq.Request:type_name -> commonpb.Request
18, // 16: sliverpb.Ifconfig.NetInterfaces:type_name -> sliverpb.NetInterface
147, // 17: sliverpb.Ifconfig.Response:type_name -> commonpb.Response
148, // 18: sliverpb.LsReq.Request:type_name -> commonpb.Request
21, // 19: sliverpb.Ls.Files:type_name -> sliverpb.FileInfo
147, // 20: sliverpb.Ls.Response:type_name -> commonpb.Response
148, // 21: sliverpb.CdReq.Request:type_name -> commonpb.Request
148, // 22: sliverpb.PwdReq.Request:type_name -> commonpb.Request
147, // 23: sliverpb.Pwd.Response:type_name -> commonpb.Response
148, // 24: sliverpb.RmReq.Request:type_name -> commonpb.Request
147, // 25: sliverpb.Rm.Response:type_name -> commonpb.Response
148, // 26: sliverpb.MvReq.Request:type_name -> commonpb.Request
147, // 27: sliverpb.Mv.Response:type_name -> commonpb.Response
148, // 28: sliverpb.MkdirReq.Request:type_name -> commonpb.Request
147, // 29: sliverpb.Mkdir.Response:type_name -> commonpb.Response
148, // 30: sliverpb.DownloadReq.Request:type_name -> commonpb.Request
147, // 31: sliverpb.Download.Response:type_name -> commonpb.Response
148, // 32: sliverpb.UploadReq.Request:type_name -> commonpb.Request
147, // 33: sliverpb.Upload.Response:type_name -> commonpb.Response
148, // 34: sliverpb.ProcessDumpReq.Request:type_name -> commonpb.Request
147, // 35: sliverpb.ProcessDump.Response:type_name -> commonpb.Response
148, // 36: sliverpb.RunAsReq.Request:type_name -> commonpb.Request
147, // 37: sliverpb.RunAs.Response:type_name -> commonpb.Response
148, // 38: sliverpb.ImpersonateReq.Request:type_name -> commonpb.Request
147, // 39: sliverpb.Impersonate.Response:type_name -> commonpb.Response
148, // 40: sliverpb.RevToSelfReq.Request:type_name -> commonpb.Request
147, // 41: sliverpb.RevToSelf.Response:type_name -> commonpb.Response
148, // 42: sliverpb.CurrentTokenOwnerReq.Request:type_name -> commonpb.Request
147, // 43: sliverpb.CurrentTokenOwner.Response:type_name -> commonpb.Response
148, // 44: sliverpb.InvokeGetSystemReq.Request:type_name -> commonpb.Request
147, // 45: sliverpb.GetSystem.Response:type_name -> commonpb.Response
148, // 46: sliverpb.MakeTokenReq.Request:type_name -> commonpb.Request
147, // 47: sliverpb.MakeToken.Response:type_name -> commonpb.Response
148, // 48: sliverpb.TaskReq.Request:type_name -> commonpb.Request
147, // 49: sliverpb.Task.Response:type_name -> commonpb.Response
148, // 50: sliverpb.ExecuteAssemblyReq.Request:type_name -> commonpb.Request
148, // 51: sliverpb.InvokeExecuteAssemblyReq.Request:type_name -> commonpb.Request
148, // 52: sliverpb.InvokeInProcExecuteAssemblyReq.Request:type_name -> commonpb.Request
147, // 53: sliverpb.ExecuteAssembly.Response:type_name -> commonpb.Response
148, // 54: sliverpb.InvokeMigrateReq.Request:type_name -> commonpb.Request
147, // 55: sliverpb.Migrate.Response:type_name -> commonpb.Response
148, // 56: sliverpb.ExecuteReq.Request:type_name -> commonpb.Request
148, // 57: sliverpb.ExecuteWindowsReq.Request:type_name -> commonpb.Request
147, // 58: sliverpb.Execute.Response:type_name -> commonpb.Response
148, // 59: sliverpb.SideloadReq.Request:type_name -> commonpb.Request
147, // 60: sliverpb.Sideload.Response:type_name -> commonpb.Response
148, // 61: sliverpb.InvokeSpawnDllReq.Request:type_name -> commonpb.Request
148, // 62: sliverpb.SpawnDllReq.Request:type_name -> commonpb.Request
147, // 63: sliverpb.SpawnDll.Response:type_name -> commonpb.Response
148, // 64: sliverpb.NetstatReq.Request:type_name -> commonpb.Request
146, // 65: sliverpb.SockTabEntry.LocalAddr:type_name -> sliverpb.SockTabEntry.SockAddr
146, // 66: sliverpb.SockTabEntry.RemoteAddr:type_name -> sliverpb.SockTabEntry.SockAddr
149, // 67: sliverpb.SockTabEntry.Process:type_name -> commonpb.Process
66, // 68: sliverpb.Netstat.Entries:type_name -> sliverpb.SockTabEntry
147, // 69: sliverpb.Netstat.Response:type_name -> commonpb.Response
148, // 70: sliverpb.EnvReq.Request:type_name -> commonpb.Request
150, // 71: sliverpb.EnvInfo.Variables:type_name -> commonpb.EnvVar
147, // 72: sliverpb.EnvInfo.Response:type_name -> commonpb.Response
150, // 73: sliverpb.SetEnvReq.Variable:type_name -> commonpb.EnvVar
148, // 74: sliverpb.SetEnvReq.Request:type_name -> commonpb.Request
147, // 75: sliverpb.SetEnv.Response:type_name -> commonpb.Response
148, // 76: sliverpb.UnsetEnvReq.Request:type_name -> commonpb.Request
147, // 77: sliverpb.UnsetEnv.Response:type_name -> commonpb.Response
76, // 78: sliverpb.DNSPoll.blocks:type_name -> sliverpb.DNSBlockHeader
148, // 79: sliverpb.ScreenshotReq.Request:type_name -> commonpb.Request
147, // 80: sliverpb.Screenshot.Response:type_name -> commonpb.Response
148, // 81: sliverpb.StartServiceReq.Request:type_name -> commonpb.Request
147, // 82: sliverpb.ServiceInfo.Response:type_name -> commonpb.Response
82, // 83: sliverpb.StopServiceReq.ServiceInfo:type_name -> sliverpb.ServiceInfoReq
148, // 84: sliverpb.StopServiceReq.Request:type_name -> commonpb.Request
82, // 85: sliverpb.RemoveServiceReq.ServiceInfo:type_name -> sliverpb.ServiceInfoReq
148, // 86: sliverpb.RemoveServiceReq.Request:type_name -> commonpb.Request
148, // 87: sliverpb.BackdoorReq.Request:type_name -> commonpb.Request
147, // 88: sliverpb.Backdoor.Response:type_name -> commonpb.Response
148, // 89: sliverpb.RegistryReadReq.Request:type_name -> commonpb.Request
147, // 90: sliverpb.RegistryRead.Response:type_name -> commonpb.Response
148, // 91: sliverpb.RegistryWriteReq.Request:type_name -> commonpb.Request
147, // 92: sliverpb.RegistryWrite.Response:type_name -> commonpb.Response
148, // 93: sliverpb.RegistryCreateKeyReq.Request:type_name -> commonpb.Request
147, // 94: sliverpb.RegistryCreateKey.Response:type_name -> commonpb.Response
148, // 95: sliverpb.RegistryDeleteKeyReq.Request:type_name -> commonpb.Request
147, // 96: sliverpb.RegistryDeleteKey.Response:type_name -> commonpb.Response
148, // 97: sliverpb.RegistrySubKeyListReq.Request:type_name -> commonpb.Request
147, // 98: sliverpb.RegistrySubKeyList.Response:type_name -> commonpb.Response
148, // 99: sliverpb.RegistryListValuesReq.Request:type_name -> commonpb.Request
147, // 100: sliverpb.RegistryValuesList.Response:type_name -> commonpb.Response
148, // 101: sliverpb.ShellReq.Request:type_name -> commonpb.Request
147, // 102: sliverpb.Shell.Response:type_name -> commonpb.Response
148, // 103: sliverpb.PortfwdReq.Request:type_name -> commonpb.Request
147, // 104: sliverpb.Portfwd.Response:type_name -> commonpb.Response
148, // 105: sliverpb.SocksData.Request:type_name -> commonpb.Request
1, // 106: sliverpb.PivotStartListenerReq.Type:type_name -> sliverpb.PivotType
148, // 107: sliverpb.PivotStartListenerReq.Request:type_name -> commonpb.Request
148, // 108: sliverpb.PivotStopListenerReq.Request:type_name -> commonpb.Request
1, // 109: sliverpb.PivotListener.Type:type_name -> sliverpb.PivotType
115, // 110: sliverpb.PivotListener.Pivots:type_name -> sliverpb.NetConnPivot
147, // 111: sliverpb.PivotListener.Response:type_name -> commonpb.Response
112, // 112: sliverpb.PivotPeerEnvelope.Peers:type_name -> sliverpb.PivotPeer
2, // 113: sliverpb.PivotPeerFailure.Type:type_name -> sliverpb.PeerFailureType
148, // 114: sliverpb.PivotListenersReq.Request:type_name -> commonpb.Request
109, // 115: sliverpb.PivotListeners.Listeners:type_name -> sliverpb.PivotListener
147, // 116: sliverpb.PivotListeners.Response:type_name -> commonpb.Response
148, // 117: sliverpb.WGPortForwardStartReq.Request:type_name -> commonpb.Request
127, // 118: sliverpb.WGPortForward.Forwarder:type_name -> sliverpb.WGTCPForwarder
147, // 119: sliverpb.WGPortForward.Response:type_name -> commonpb.Response
148, // 120: sliverpb.WGPortForwardStopReq.Request:type_name -> commonpb.Request
148, // 121: sliverpb.WGSocksStartReq.Request:type_name -> commonpb.Request
128, // 122: sliverpb.WGSocks.Server:type_name -> sliverpb.WGSocksServer
147, // 123: sliverpb.WGSocks.Response:type_name -> commonpb.Response
148, // 124: sliverpb.WGSocksStopReq.Request:type_name -> commonpb.Request
148, // 125: sliverpb.WGTCPForwardersReq.Request:type_name -> commonpb.Request
148, // 126: sliverpb.WGSocksServersReq.Request:type_name -> commonpb.Request
128, // 127: sliverpb.WGSocksServers.Servers:type_name -> sliverpb.WGSocksServer
147, // 128: sliverpb.WGSocksServers.Response:type_name -> commonpb.Response
127, // 129: sliverpb.WGTCPForwarders.Forwarders:type_name -> sliverpb.WGTCPForwarder
147, // 130: sliverpb.WGTCPForwarders.Response:type_name -> commonpb.Response
148, // 131: sliverpb.ReconfigureReq.Request:type_name -> commonpb.Request
147, // 132: sliverpb.Reconfigure.Response:type_name -> commonpb.Response
148, // 133: sliverpb.PollIntervalReq.Request:type_name -> commonpb.Request
147, // 134: sliverpb.PollInterval.Response:type_name -> commonpb.Response
148, // 135: sliverpb.SSHCommandReq.Request:type_name -> commonpb.Request
147, // 136: sliverpb.SSHCommand.Response:type_name -> commonpb.Response
148, // 137: sliverpb.GetPrivsReq.Request:type_name -> commonpb.Request
138, // 138: sliverpb.GetPrivs.PrivInfo:type_name -> sliverpb.WindowsPrivilegeEntry
147, // 139: sliverpb.GetPrivs.Response:type_name -> commonpb.Response
148, // 140: sliverpb.RegisterExtensionReq.Request:type_name -> commonpb.Request
147, // 141: sliverpb.RegisterExtension.Response:type_name -> commonpb.Response
148, // 142: sliverpb.CallExtensionReq.Request:type_name -> commonpb.Request
147, // 143: sliverpb.CallExtension.Response:type_name -> commonpb.Response
148, // 144: sliverpb.ListExtensionsReq.Request:type_name -> commonpb.Request
147, // 145: sliverpb.ListExtensions.Response:type_name -> commonpb.Response
146, // [146:146] is the sub-list for method output_type
146, // [146:146] is the sub-list for method input_type
146, // [146:146] is the sub-list for extension type_name
@@ -12623,7 +12685,7 @@ func file_sliverpb_sliver_proto_init() {
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_sliverpb_sliver_proto_rawDesc,
NumEnums: 2,
NumEnums: 3,
NumMessages: 144,
NumExtensions: 0,
NumServices: 0,
+9
View File
@@ -626,6 +626,15 @@ message Backdoor {
commonpb.Response Response = 9;
}
// Registry - Registry related messages
enum RegistryType {
Unknown = 0;
Binary = 1;
String = 2;
DWORD = 3;
QWORD = 4;
}
message RegistryReadReq {
string Hive = 1;
string Path = 2;