network

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: MIT Imports: 11 Imported by: 0

README

network

Outbound connections, DNS, beaconing, listeners, reverse shells, and data exfiltration simulation.

Modules

net_connect

Initiates a TCP connection and HTTP GET. Maps to T1071.001.

macnoise run net_connect --param target=10.0.0.1 --param port=443
net_listen

Opens a local listener and simulates an inbound self-connection. Maps to T1571.

net_beacon

Periodic HTTP requests simulating C2 beaconing. Maps to T1071.001, T1102.

macnoise run net_beacon --param target=http://example.com --param count=5 --param interval=2
net_dns

DNS resolution of configurable domains. Maps to T1071.004.

net_revshell

Connects a shell to a remote listener (connection refused is expected without one). Maps to T1059.004.

net_exfil

Sends an HTTP POST with a randomly-generated dummy payload to a target URL. Records request size, response status, and elapsed time. Connection refused is valid telemetry — no listener required. Maps to T1041.

macnoise run net_exfil
macnoise run net_exfil --param target=http://10.0.0.1:9999/upload --param payload_size=8192

Documentation

Overview

Package network provides telemetry modules for network activity simulation, covering TCP connections, listening sockets, HTTP beaconing, DNS resolution, and reverse shell patterns used for EDR and detection engineering validation.

Jump to

Keyboard shortcuts

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