dcerpc

package
v0.16.7 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: BSD-3-Clause, GPL-3.0 Imports: 18 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

This section is empty.

Variables

View Source
var Decoder = &decoder.StreamDecoder{
	Type:        types.Type_NC_DCERPC,
	Name:        serviceDCERPC,
	Description: "DCE/RPC is the remote procedure call system used by Windows for DCOM and Active Directory services",
	PostInit: func(d *decoder.StreamDecoder) error {
		var err error
		dcerpcLog, _, err = logging.InitZapLogger(
			decoderconfig.Instance.Out,
			"dcerpc",
			decoderconfig.Instance.Debug,
		)
		return err
	},

	Specificity: core.SpecificityWeak,

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

Decoder for protocol analysis and writing audit records to disk.

Functions

func DecodeSMBPipes

func DecodeSMBPipes(c *core.ConversationInfo)

DecodeSMBPipes supplies each observed plaintext pipe lifetime to the existing RPC parser. Names alone, unknown handles and opaque SMB transforms prove no RPC.

func OperationName

func OperationName(iface string, opnum uint16) string

OperationName returns the procedure name for an interface and opnum, or "".

Types

This section is empty.

Jump to

Keyboard shortcuts

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