rdp

package
v0.16.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2026 License: BSD-3-Clause, GPL-3.0 Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// RDP Negotiation Types
	RDPNegReq     = 0x01
	RDPNegRsp     = 0x02
	RDPNegFailure = 0x03

	// RDP Protocols (bitmask)
	ProtocolRDP      = 0x00000000
	ProtocolSSL      = 0x00000001
	ProtocolHybrid   = 0x00000002 // CredSSP with NLA
	ProtocolRDSTLS   = 0x00000004
	ProtocolHybridEx = 0x00000008 // CredSSP with Early User Auth

	// MCS Connect Initial/Response
	BER_TAG_MCS_CONNECT_INITIAL  = 0x7F65
	BER_TAG_MCS_CONNECT_RESPONSE = 0x7F66
)

RDP Protocol constants

Variables

View Source
var Decoder = &decoder.StreamDecoder{
	Type:        types.Type_NC_RDP,
	Name:        serviceRDP,
	Description: "Remote Desktop Protocol (RDP) is Microsoft's remote access protocol",
	PostInit: func(d *decoder.StreamDecoder) error {
		var err error
		rdpLog, _, err = logging.InitZapLogger(
			decoderconfig.Instance.Out,
			"rdp",
			decoderconfig.Instance.Debug,
		)
		return err
	},
	Specificity: core.SpecificityStructural,

	CanDecode: func(client, server []byte) bool {
		return probeRDP(client) || probeRDP(server)
	},
	DeInit: func(sd *decoder.StreamDecoder) error {
		return rdpLog.Sync()
	},
	Factory: &rdpReader{},
	Typ:     core.TCP,
}

Decoder for protocol analysis and writing audit records to disk.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL