Layer 2–7 · 81 Native Protocols · Zero Underscores

All 81 Built-In Protocols (.frasm <-> .pcap)

From bare-metal Ethernet arp and qinq trunks up to encrypted snmp3 traps, 4-byte bgp ASNs, and industrial dnp3 substation frames — filter by layer, port, or Wireshark filter and grab a runnable .frasm snippet.

Showing 81 of 81 protocols
arpARP / GARPLayer 2EtherType 0x0806

Who Has 10.0.10.1? Broadcast ARP, Unicast Replies & GARP Takeovers

Every network outage eventually gets blamed on DNS or ARP — with a -> b arp you can script broadcast Who-Has queries, a <- b arp reply answers, and arp gratuitous VIP takeovers in three l…

Wireshark: arpSyntax & lab
vlan802.1Q VLANLayer 2TPID 0x8100 (VID 1)

802.1Q Trunk Tags (0x8100) Without NIC Drivers Eating Your VLAN Header

Laptop OSes love silently stripping 0x8100 tags before Wireshark ever sees them — writing vlan 120 pcp 5 bakes the exact 4-byte 802.1Q tag straight into your .pcap bytes.

Wireshark: vlanSyntax & lab
qinq802.1ad QinQLayer 2Outer 0x88a8 + Inner 0x8100

Double-Tag Like an ISP (0x88a8 S-Tag -> 0x8100 C-Tag)

Because one VLAN tag was too mainstream for carriers: qinq 500 innervlan 20 stacks an outer 0x88a8 S-Tag -> inner 0x8100 C-Tag on any packet line.

Wireshark: vlan.etype == 0x88a8 || vlanSyntax & lab
lldpLLDPLayer 2EtherType 0x88cc

Fake a Neighboring Switch (sw1 -> sw2 lldp) Without Hauling Sheet Metal

Want your NMS or test bench to think a 400G core chassis is plugged into Gi0/1? One sw -> peer lldp frame advertises Chassis ID, Port ID, TTL, and System Name TLVs to 01:80:c2:00:00:0e.

Wireshark: lldpSyntax & lab
stpSTP / RSTPLayer 2802.3 LLC 0x4242 -> 01:80:c2:00:00:00

Declare Yourself Root Bridge (stp / rstp) Safely Inside a .pcap

Electing your laptop Root Bridge on a live corporate VLAN is a career-limiting move — crafting stp and stp rstp BPDUs into a .pcap lets you audit BPDU Guard without the walk of shame.

Wireshark: stpSyntax & lab
lacpLACPLayer 2EtherType 0x8809 (Slow Subtype 0x01)

802.3ad Port-Channel Handshakes (actor <-> partner LACP)

Few things burn a Friday night faster than two switches refusing to bundle a LAG because one side is passive and the keys disagree. lacp writes exact 128-byte actor <-> partner slow-proto…

Wireshark: lacpSyntax & lab
eapol802.1X EAPOLLayer 2EtherType 0x888e -> 01:80:c2:00:00:03

802.1X Port Auth Dance (supplicant <-> switch eapol)

Before your workstation even gets an IP address, supplicant -> switch eapol start kicks off the 802.1X bouncer at the switch port so you can script the whole EAP identity handshake withou…

Wireshark: eapol || eapSyntax & lab
mplsMPLSLayer 2EtherType 0x8847 (Label 16)

Push a 32-Bit Label Shim (0x8847 MPLS -> IPv4 / IPv6)

No need to boot four virtual provider-edge routers just to get a 4-byte 0x8847 shim — tack mpls 16040 exp 6 bos 1 mplsttl 64 onto any packet line and call it a day.

Wireshark: mplsSyntax & lab
icmpICMP / ICMPv6Layer 3IP Proto 1 (v4) / NextHdr 58 (v6)

Ping, Traceroute & Path MTU Blackholes (echorequest <-> echoreply)

The humble ping (a -> b icmp echorequest and a <- b icmp echoreply) automatically emits ICMPv4 over IPv4 hosts or ICMPv6 with full pseudo-header checksums over IPv6 hosts.

Wireshark: icmp || icmpv6Syntax & lab
ndpIPv6 NDPLayer 3ICMPv6 NextHdr 58 (Hop Limit 255)

IPv6 Neighbor Discovery & Rogue Router Advertisements (ndp)

IPv6 threw ARP in the bin and replaced it with ICMPv6 Neighbor Discovery at Hop Limit 255. ndp builds neighborsolicit, neighboradvert, and rogue routeradvert frames to test switch RA Guard.

Wireshark: icmpv6.type >= 133 && icmpv6.type <= 137Syntax & lab
igmpIGMPv1/v2/v3Layer 3IPv4 Proto 2 (TTL 1)

IPv4 Multicast Group Joins & Queries (switch <-> receiver igmp)

Multicast is great right up until IGMP snooping misbehaves and floods video onto every desk phone in the building. igmp builds query, report, and leave frames at ttl 1 with RFC 1112 multi…

Wireshark: igmpSyntax & lab
mldIPv6 MLDLayer 3ICMPv6 NextHdr 58 (Hop Limit 1)

IPv6 Multicast Listener Discovery (querier <-> listener mld)

What igmp does for IPv4, mld does for IPv6 (ff02::/16 -> 33:33:xx:xx:xx:xx Ethernet MACs at Hop Limit 1), making it easy to check whether your leaf switches actually snoop IPv6 multicast.

Wireshark: icmpv6.type >= 130 && icmpv6.type <= 132Syntax & lab
greGRE / NVGRELayer 3IP Proto 47

Classic Protocol-47 Tunnel Wrappers & ERSPAN Headers (gre)

Before everything became UDP overlays, engineers duct-taped continents together with IP Protocol 47. gre toggles RFC 2890 Key, Sequence, and Checksum bits automatically as you add fields.

Wireshark: greSyntax & lab
vxlanVXLANLayer 3UDP 4789 (VNI 1)

24-Bit Data-Center Overlays on UDP 4789 (vtep1 <-> vtep2 vxlan)

When 4,094 VLANs stopped being enough, data centers wrapped Layer 2 inside UDP 4789 and got 16 million VNIs. vxlan vni 10050 stamps the exact 8-byte 0x08 VXLAN shim.

Wireshark: vxlanSyntax & lab
geneveGENEVELayer 3UDP 6081 (Proto 0x6558)

Cloud SDN & Gateway Load-Balancer Overlays (geneve UDP 6081)

VXLAN’s extensible cousin powering OVN, Cilium, and AWS Gateway Load Balancers on UDP 6081: geneve packs a 24-bit vni plus variable-length TLV option headers without manual optlen math.

Wireshark: geneveSyntax & lab
ipsecIPsec (ESP Alias)Layer 3IP Proto 50 (ESP)

Encrypted VPN Tunnel Frames (gw1 <-> gw2 ipsec / Proto 50)

Edge firewalls love dropping IP Protocol 50 when someone only opened UDP 500. ipsec emits clean ESP headers (spi, seq, iv, icv) so you can prove whether the tunnel pipe is open.

Wireshark: espSyntax & lab
espIPsec ESPLayer 3IP Proto 50

Canonical IPsec ESP Headers & Reverse Scrubbing (esp Proto 50)

esp is the canonical keyword emitted when frameassembly reverse decompiles IP Protocol 50 captures, making it trivial to scrub customer VPN gateway IPs before emailing a trace to vendor TAC.

Wireshark: espSyntax & lab
ahIPsec AHLayer 3IP Proto 51

Old-School Cleartext Integrity Headers (ah IP Proto 51)

Rare in the wild because NAT breaks it on sight, yet still lurking in compliance checklists and OSPFv3 auth: ah builds IP Protocol 51 headers with aligned 32-bit Payload Len math.

Wireshark: ahSyntax & lab
ikev2IKEv2Layer 3UDP 500 -> 500 (NAT-T 4500)

Phase-1 VPN Key Negotiation (peer1 <-> peer2 ikev2 UDP 500)

Before a single esp packet flows, two VPN concentrators argue about crypto proposals over UDP 500. ikev2 scripts sainit <-> auth handshakes and NAT-T dstport 4500 checks.

Wireshark: isakmpSyntax & lab
wireguardWireGuardLayer 3UDP 51820

Modern Noise-IK VPN Handshakes & Transport Data (wireguard UDP 51820)

Four clean message types on UDP 51820 (initiation, response, cookie, data) with little-endian sender/receiver indices — wireguard lets you test egress VPN policies in four lines.

Wireshark: wgSyntax & lab
ospfOSPFv2 / OSPFv3Layer 3IP Proto 89 (TTL 1)

Link-State Hellos & LSA Flooding (rtr1 <-> rtr2 ospf Proto 89)

Mismatched hello/dead timers have caused more silent routing blackholes than fiber backhoes. ospf builds IPv4 OSPFv2 (Fletcher-16 checksum) and IPv6 OSPFv3 (ICMPv6-style pseudo-header che…

Wireshark: ospfSyntax & lab
bgpBGP-4 / 4-Byte ASNLayer 3TCP 179

TCP 179 Peering & Automatic 4-Byte ASN Magic (spine <-> leaf bgp)

Pass asn 4200000001 on bgp open and the compiler automatically drops AS_TRANS (23456) into the legacy 16-bit slot plus RFC 6793 Capability 65, riding right on top of stateful TCP port 179.

Wireshark: bgpSyntax & lab
ripRIPv2 / RIPngLayer 3UDP 520 (RIPv2) / UDP 521 (RIPng)

Hop-Count Nostalgia That Refuses to Die (rip UDP 520 / RIPng 521)

Every textbook swears RIP died in 1998, right up until you inherit a branch router running it. rip builds RIPv2 (520) over IPv4 and RIPng (521) over IPv6, right up to metric 16 poison rev…

Wireshark: rip || ripngSyntax & lab
pimPIM-SMLayer 3IP Proto 103

Sparse-Mode Multicast Trees (leaf -> rp pim IP Proto 103)

Debug Rendezvous Points (rp) without a 6-router multicast lab: pim emits IP Protocol 103 hello, joinprune, and register frames with proper RFC 7761 encoded unicast/group addresses.

Wireshark: pimSyntax & lab
vrrpVRRPv2 / VRRPv3Layer 3IP Proto 112 (TTL 255)

Virtual Gateway Heartbeats (rtr1 -> vrrp_mcast vrrp Proto 112)

When two routers both claim Priority 255 because a trunk VLAN blocked IP Protocol 112, chaos ensues. vrrp emits ttl 255 advertisements for both VRRPv2 and VRRPv3 (00:00:5e:00:01:<vrid>).

Wireshark: vrrpSyntax & lab
hsrpHSRPv1 / HSRPv2Layer 3UDP 1985 (v1) / UDP 2029 (v2)

Cisco Standby Router Coups (active <-> standby hsrp UDP 1985 / 2029)

Cisco’s classic gateway protocol: hsrp writes HSRPv1 (UDP 1985) on IPv4 and automatically upgrades to TLV-formatted HSRPv2 (UDP 2029) on IPv6 endpoints.

Wireshark: hsrp || hsrp2Syntax & lab
bfdBFDLayer 3UDP 3784 (Multihop 4784, TTL 255)

50ms Hair-Trigger Link Heartbeats (rtr_a <-> rtr_b bfd UDP 3784)

Waiting 180 seconds for BGP Hold Time to notice a dead fiber is painful — bfd fires ttl 255 UDP 3784 control packets with microsecond mintx/minrx timers and discriminator handshakes.

Wireshark: bfdSyntax & lab
openflowOpenFlow SDNLayer 3TCP 6653

SDN Controller <-> Switch Plumbing (ctrl <-> sw openflow TCP 6653)

Speak directly to virtual switches and SDN controllers over TCP 6653: openflow builds hello, featuresreply (dpid), packetin, and flowmod headers without booting an entire controller stack.

Wireshark: openflow_v4 || openflowSyntax & lab
tcpTCP & RFC 7323Layer 4IP Proto 6 (Default dstport 80)

Stateful 3-Way Handshakes, RFC 7323 Options & Intentional Chaos (tcp)

The crown jewel of the compiler: declare srcport and dstport once on tcp syn, and FrameAssembly tracks seq and acknum across ->, <-, and every TCP Layer 7 protocol (unless you override se…

Wireshark: tcpSyntax & lab
udpUDPLayer 4IP Proto 17 (Default dstport 80)

Fire-and-Forget Datagrams (a -> b udp, Zero Handshake Tax)

No syn, no fin, no regrets: udp fires arbitrary string or hex bytes at any port, remembers the port pair on <- replies, and nails the mandatory IPv6 UDP checksum every time.

Wireshark: udpSyntax & lab
sctpSCTP (CRC-32c)Layer 4IP Proto 132 (38412 NGAP / 36412 S1AP)

4-Way Telecom Handshakes & Multi-Stream Chunks (sctp Proto 132)

Powering 4G S1AP and 5G NGAP telecom cores on IP Protocol 132, sctp packs 32-bit padded chunks (init, data, sack, heartbeat) and computes the infamous reflected Castagnoli CRC-32c automat…

Wireshark: sctpSyntax & lab
snmp1SNMPv1Layer 7UDP 162 (trap) / UDP 161 (get/set)

1990s ColdStart Traps That Still Page the NOC at 3 AM (snmp1)

That 22-year-old UPS in the basement closet still only speaks RFC 1157 Trap-PDU. snmp1 encodes enterprise, agentip, gentrap 0..6, and BER varbind chains with zero MIB files.

Wireshark: snmpSyntax & lab
snmp2SNMPv2cLayer 7UDP 162 (trap/inform) / UDP 161 (get/getbulk)

MIB-Free LinkDown Traps, Informs & GetBulk Sweeps (snmp2)

Testing a Zabbix, PRTG, or Prometheus alert rule from your desk? snmp2 trap and snmp2 inform pack sysUpTime.0, snmpTrapOID.0, and 64-bit counter64 varbinds straight from numeric OIDs.

Wireshark: snmpSyntax & lab
snmp3SNMPv3 USM (authPriv)Layer 7UDP 162 (trap/inform/report) / UDP 161 (get/getbulk)

Real SHA-256 + AES-128 Encrypted Traps (snmp3) With Cables Plugged In

Zero fake placeholder bytes here: snmp3 runs full RFC 3414/7860 Ku -> Kul key localization against engineid, encrypts the ScopedPDU with AES-128-CFB or DES, and signs the live HMAC so Wir…

Wireshark: snmpSyntax & lab
dnsDNS (UDP/TCP)Layer 7UDP 53 (or TCP 53 via transport tcp)

It’s Always DNS (client <-> resolver dns Over UDP 53 or TCP)

Whether you are testing a sinkhole rule, an Active Directory SRV lookup, or switching to transport tcp (which auto-prepends the 2-byte RFC 1035 TCP length prefix!), dns encodes wire label…

Wireshark: dnsSyntax & lab
mdnsmDNS (Zero-Conf)Layer 7UDP 5353 -> 5353 (224.0.0.251 / ff02::fb)

Who Brought a Smart TV Onto the Corp VLAN? (mdns UDP 5353)

Chatty printers, Apple TVs, and rogue IoT gadgets shouting .local records on 224.0.0.251:5353 — mdns locks both source and destination ports to 5353 per RFC 6762.

Wireshark: mdnsSyntax & lab
dhcpDHCPv4 / DHCPv6Layer 7UDP 68/67 (DHCPv4) · UDP 546/547 (DHCPv6)

Full DORA Lease Dance & Rogue Server Checks (client <-> dhcp_srv dhcp)

Test switch DHCP Snooping without plugging a rogue home router into the wall: dhcp builds BOOTP + magic cookie 0x63825363 Option TLVs on IPv4 (68 <-> 67) and morphs into DHCPv6 (546 <-> 5…

Wireshark: dhcp || dhcpv6Syntax & lab
ntpNTPv4Layer 7UDP 123

Stratum-1 GPS Clocks & Drift Debugging (client <-> clock ntp UDP 123)

When Kerberos tickets start failing because two servers drifted five minutes apart, everyone stares at UDP 123. ntp writes clean 48-byte RFC 5905 packets right down to signed precision an…

Wireshark: ntpSyntax & lab
ptpPTPv2 (IEEE 1588)Layer 7UDP 319 (Event) / UDP 320 (General)

Nanosecond Hardware Clock Sync (gm -> BoundaryClock ptp IEEE 1588v2)

For high-frequency trading, 5G fronthaul, and substation synchrophasors where NTP is way too slow, ptp routes event messages to UDP 319 and general messages to UDP 320 automatically.

Wireshark: ptpSyntax & lab
radiusRADIUSLayer 7UDP 1812 (Auth) / UDP 1813 (Accounting)

802.1X & VPN Bouncer Decisions (nas <-> radius_srv radius UDP 1812/1813)

Watch accessrequest -> accesschallenge -> accessaccept on UDP 1812 and switch seamlessly to UDP 1813 on accountingrequest, complete with User-Name, NAS-IP-Address, and Framed-IP-Address A…

Wireshark: radiusSyntax & lab
tacacsTACACS+Layer 7TCP 49

Who Typed reload on the Core Router? (rtr <-> acs tacacs TCP 49)

Router CLI command auditing over TCP 49 — pro tip: seq on a tacacs line sets the 8-bit TACACS+ seq_no (1, 2, 3...) without stomping on the underlying 32-bit TCP sequence tracker!

Wireshark: tacplusSyntax & lab
syslogSyslogLayer 7UDP 514 (or TCP 514 via transport tcp)

Wake Up the SIEM Without Breaking Production (rtr -> siem syslog)

Compute <PRI> = facility * 8 + severity automatically (or override pri directly) and ship clean RFC 5424 log frames over UDP 514 or transport tcp to verify SIEM alert rules.

Wireshark: syslogSyntax & lab
netflowNetFlow v5Layer 7UDP 2055

Fake a Top-Talker Bandwidth Spike (rtr -> collector netflow UDP 2055)

Want to verify your flow dashboard lights up when a workstation ships 50 GB outbound without actually saturating a 10G link? One netflow packet reports any packets and octets count you as…

Wireshark: cflowSyntax & lab
ipfixIPFIXLayer 7UDP 4739

Self-Describing IPv4 & IPv6 Flow Exports (exporter -> collector ipfix)

Wireshark hates orphan IPFIX data records with missing templates, so FrameAssembly bundles Template Set 2 (256) + Data Set 256 inside the same UDP 4739 packet so every single frame dissec…

Wireshark: cflow.version == 10Syntax & lab
sflowsFlow v5Layer 7UDP 6343

1-in-N Switch Packet Sampling (tor_sw -> collector sflow UDP 6343)

Hardware ASICs love sFlow v5 on UDP 6343 because sampling 1-in-4096 frames takes zero stateful flow memory. sflow encodes both IPv4 (1) and IPv6 (2) XDR agent headers cleanly.

Wireshark: sflowSyntax & lab
httpHTTP/1.1Layer 7TCP 80

REST Calls, Custom Headers & WAF Test Payloads (client <-> web http)

Pair a 3-way tcp handshake with http get or http post and FrameAssembly formats \r\n wire headers, computes exact Content-Length, and advances TCP seq numbers so Suricata and WAFs reassem…

Wireshark: httpSyntax & lab
http2HTTP/2Layer 7TCP 443

Binary HTTP/2 Connection Prefaces & Multiplexed Frames (http2 TCP 443)

Plaintext GET / turned into 9-byte binary frame headers (Length, Type, Flags, 31-bit Stream ID) — start with http2 preface + settings and watch Wireshark dissect your multiplexed streamid…

Wireshark: http2Syntax & lab
grpcgRPCLayer 7TCP 50051

Microservice RPCs & Router gNMI Telemetry (caller <-> svc grpc TCP 50051)

Whether it is Kubernetes east-west microservices or Arista/Cisco gnmi.gNMI/Subscribe streaming telemetry on TCP 50051, grpc builds the length-prefixed Protobuf envelope and grpc-status tr…

Wireshark: grpc || http2Syntax & lab
websocketWebSocketLayer 7TCP 80

RFC 6455 Masked Frames Over Upgraded Sockets (client <-> srv websocket)

Pass maskkey 0x37fa213d on a client -> server websocket text frame and the compiler genuinely XOR-masks your payload bytes on the wire, so you can watch Wireshark unmask and display the c…

Wireshark: websocketSyntax & lab
tlsTLS 1.2 / 1.3Layer 7TCP 443

Cleartext SNI & ALPN Inside ClientHello (client <-> edge tls TCP 443)

Next-gen firewalls and NDR sensors live and breathe the sni and alpn extensions inside tls clienthello. FrameAssembly computes all nested Record, Handshake, and Extension length fields au…

Wireshark: tlsSyntax & lab
quicQUIC (HTTP/3)Layer 7UDP 443

Encrypted UDP 443 That Laughs at TCP Middleboxes (client <-> edge quic)

Half of enterprise firewall policy is "block UDP 443 so browsers fall back to TLS over TCP where we can inspect it" — quic initial lets you test whether that policy actually works.

Wireshark: quicSyntax & lab
sshSSH-2Layer 7TCP 22

Port 22 Version Banners & Key-Exchange Packets (admin <-> bastion ssh)

Test SSH version-banner threat signatures (SSH-2.0-OpenSSH_9.6 vs legacy 1.99) and RFC 4253 binary kexinit -> newkeys framing over stateful TCP port 22.

Wireshark: sshSyntax & lab
telnetTelnetLayer 7TCP 23

1983 Cleartext Login Alarms (admin <-> dinosaur_sw telnet TCP 23)

If TCP 23 fires on a modern network, either someone powered on a museum switch or a red teamer is having a great afternoon. telnet emits authentic 0xff IAC will/do bytes plus cleartext pr…

Wireshark: telnetSyntax & lab
tftpTFTPLayer 7UDP 69

Switch running-config Transfers & PXE Boots (sw <-> srv tftp UDP 69)

Zero passwords, UDP 69, and still the fastest way network gear leaks "startup-config" — tftp scripts rrq -> data -> ack block transfers and error codes in seconds.

Wireshark: tftpSyntax & lab
ftpFTPLayer 7TCP 21

Cleartext USER / PASS & Firewall ALG Headaches (client <-> srv ftp)

Nothing stresses a stateful firewall’s Application Layer Gateway quite like FTP on TCP 21. Pair code 220 server greetings with cmd "USER" arg "anonymous" and watch your IDS light up.

Wireshark: ftpSyntax & lab
whoisWHOISLayer 7TCP 43

Port 43 Domain & ASN Registry Queries (analyst <-> registry whois)

One of the simplest protocols in IETF history (domain\r\n out -> multi-line registry text back over TCP 43), handy for testing threat-enrichment egress rules.

Wireshark: whoisSyntax & lab
sipSIP (VoIP)Layer 7UDP 5060 (or TCP 5060 via transport tcp)

VoIP INVITE -> 180 Ringing -> 200 OK -> BYE (phone <-> sbc sip)

Debugging why desk phones ring once and drop at the Session Border Controller? sip builds full RFC 3261 Via, From, To, Call-ID, and CSeq headers over UDP 5060 or transport tcp.

Wireshark: sipSyntax & lab
rtpRTP (Media)Layer 7UDP 5004

Voice Media Streams & DSCP 46 EF Queue Checks (phone1 <-> phone2 rtp)

SIP sets up the call and rtp carries the actual voice packets — tack dscp 46 (EF) and wait 20ms onto G.711 pt 0 frames to verify your WAN routers aren’t dropping voice into best-effort qu…

Wireshark: rtpSyntax & lab
rtspRTSPLayer 7TCP 554

IP Security Camera & NVR Stream Control (nvr <-> cam rtsp TCP 554)

Controlling CCTV cameras and media relays on TCP 554 — remember to spell the RTSP Transport: header transporthdr so it never collides with FrameAssembly’s Layer 4 transport keyword!

Wireshark: rtspSyntax & lab
stunSTUN (NAT)Layer 7UDP 3478

WebRTC NAT Hole-Punching & 0x2112a442 Magic Cookies (stun UDP 3478)

Pass xormappedaddr 203.0.113.42 on stun bindingresponse and the compiler genuinely XORs your IPv4 or IPv6 address against magic cookie 0x2112a442 (+ transaction ID on IPv6) so Wireshark d…

Wireshark: stunSyntax & lab
ssdpSSDP (UPnP)Layer 7UDP 1900 (239.255.255.250 / ff02::c)

Rogue UPnP Routers & Smart-Bulb Broadcasts (iot -> 239.255.255.250 ssdp)

HTTP headers stuffed into UDP 1900 multicast (239.255.255.250) — ssdp uses hosthdr for the HOST: header and catches unauthorized UPnP port-forwarding chatter on enterprise VLANs.

Wireshark: ssdpSyntax & lab
smtpSMTPLayer 7TCP 25 (or dstport 587 Submission)

Mail Relay Conversations (mta1 <-> mta2 smtp: EHLO -> MAIL FROM -> DATA)

Step through a real RFC 5321 mail relay (220 greeting -> ehlo -> mailfrom -> rcptto -> 354 -> body -> 250 OK) over stateful TCP 25 to test mail-gateway DLP and open-relay signatures.

Wireshark: smtpSyntax & lab
imapIMAP4Layer 7TCP 143

Tagged Mailbox Commands (mail_app <-> srv imap TCP 143)

Every IMAP command wears a client correlation tag (A001 LOGIN, A002 SELECT INBOX) on TCP 143, making it easy to test cleartext credential alerts and legacy mail-protocol blocks.

Wireshark: imapSyntax & lab
pop3POP3Layer 7TCP 110

+OK / -ERR Post-Office Logins (client <-> mail_srv pop3 TCP 110)

Thirty lines of -ERR Authentication failed on TCP 110? Classic password-spray territory — pop3 pairs cmd "USER" and cmd "PASS" with ok (+OK) and err (-ERR) responses.

Wireshark: popSyntax & lab
kerberosKerberos v5Layer 7UDP 88 (or TCP 88 via transport tcp)

Active Directory Tickets & RC4 Kerberoasting (pc <-> dc kerberos Port 88)

Trigger SOC Kerberoasting rules (tgsreq + sname "MSSQLSvc/..." + etype 23) without firing offensive tools at a real Domain Controller — add transport tcp and the compiler prepends the 4-b…

Wireshark: kerberosSyntax & lab
ldapLDAPv3Layer 7TCP 389

Directory Binds & BloodHound-Style Recon Queries (pc <-> dc ldap TCP 389)

Test Active Directory reconnaissance detections (filter "(adminCount=1)") and anonymous bind alerts over TCP 389 with real ASN.1 BER sequences and zero Domain Controller required.

Wireshark: ldapSyntax & lab
smbSMB2 / SMB3Layer 7TCP 445

Windows \\IPC$ Lateral Movement & File Shares (ws <-> filesrv smb TCP 445)

Port 445 is ground zero for east-west lateral movement (\\filesrv\IPC$, svcctl, ADMIN$). smb packs the 4-byte NetBIOS session length + 64-byte \xfeSMB header cleanly over stateful TCP.

Wireshark: smb2Syntax & lab
nfsNFSv3 / v4Layer 7TCP 2049 (or UDP 2049 via transport udp)

Unix Storage Mounts & RPC COMPOUND Ops (node <-> nas nfs Port 2049)

Verify storage-VLAN segmentation on port 2049: over default TCP, FrameAssembly automatically prepends the 4-byte ONC RPC Record-Marking fragment header (0x80000000 | len) so Wireshark dis…

Wireshark: nfs || rpcSyntax & lab
redisRedis (RESP)Layer 7TCP 6379

Unauthenticated Port 6379 CONFIG & Cache Commands (app <-> cache redis)

An exposed Redis port 6379 on a cloud subnet gets owned in about 90 seconds — redis formats exact RESP bulk-string arrays (cmd "CONFIG" args "GET dir") to verify NDR east-west alerts.

Wireshark: redis || tcp.port == 6379Syntax & lab
memcachedMemcachedLayer 7UDP 11211 (or TCP 11211 via transport tcp)

Cache Lookups & UDP 11211 Amplification Checks (memcached)

Infamous for 51,000x UDP 11211 reflection attacks: memcached includes the 8-byte Memcached UDP frame header by default and drops cleanly onto raw TCP stream framing when you add transport…

Wireshark: memcacheSyntax & lab
mysqlMySQL / MariaDBLayer 7TCP 3306

Port 3306 Server Greetings, Logins & SQL Queries (app <-> db mysql)

Need to test a database activity monitor or IDS rule against sql "SELECT * FROM users WHERE '1'='1';" without spinning up a live MySQL instance? mysql handles the 24-bit little-endian pac…

Wireshark: mysqlSyntax & lab
postgresPostgreSQLLayer 7TCP 5432

Port 5432 StartupMessage -> Query -> ReadyForQuery (app <-> pg postgres)

Speak fluent PostgreSQL v3.0 wire protocol ('Q', 'R', 'C', 'Z', 'E' tagged messages with big-endian length prefixes) over stateful TCP 5432, working identically over IPv4 or IPv6 flow blo…

Wireshark: pgsqlSyntax & lab
mqttMQTTLayer 7TCP 1883

IoT Sensor Publishes & Wildcard # Subscriptions (sensor <-> broker mqtt)

Test whether a compromised smart thermostat can subscribe to "factory/#" on TCP 1883 — mqtt computes the variable-byte Remaining Length encoding automatically.

Wireshark: mqttSyntax & lab
coapCoAP (IoT)Layer 7UDP 5683

4-Byte RESTful IoT Requests Over UDP 5683 (sensor <-> gw coap)

HTTP shrunk down to a 4-byte UDP 5683 header for battery-powered sensors: just pick *either* a named method (get, post, created) *or* dotted code "0.01" (combining both on one line trigge…

Wireshark: coapSyntax & lab
amqpAMQP 0-9-1Layer 7TCP 5672

RabbitMQ Exchanges, Channels & Queue Deliveries (app <-> mq amqp TCP 5672)

From the 8-byte "AMQP\x00\x00\x09\x01" greeting to basicpublish and 0xce frame-end markers on TCP 5672, amqp lets you verify message-bus firewall rules without spinning up RabbitMQ.

Wireshark: amqpSyntax & lab
modbusModbus TCPLayer 7TCP 502 (or UDP 502 via transport udp)

Audit Port 502 PLC Read/Write Rules With Zero Risk of Stopping a Real Pump (modbus)

Modbus has zero authentication: anyone who can reach TCP 502 can flip coils. Craft readholdingregisters (FC 3), writesinglecoil (FC 5), and isresponse PLC replies offline without making t…

Wireshark: mbtcp || modbusSyntax & lab
bacnetBACnet/IPLayer 7UDP 47808 (0xbac0)

HVAC Chillers, Badge Readers & Who-Is / I-Am (bms <-> controller bacnet)

Running on UDP 47808 (0xbac0 — literally spells BAC0 in hex!) across hospital chillers and data-center CRAC units, bacnet packs BVLC, NPDU, and confirmed/unconfirmed APDUs cleanly.

Wireshark: bacnet || bvlc || bacappSyntax & lab
dnp3DNP3 (IEEE 1815)Layer 7TCP 20000 (or UDP 20000 via transport udp)

Substation RTU Commands & Automatic Per-Block CRC-16 (master <-> rtu dnp3)

Hand-crafting DNP3 usually makes grown engineers cry because IEEE 1815 demands a reflected CRC-16 after the 0x0564 link header *and* every 16 payload bytes — dnp3 calculates every block C…

Wireshark: dnp3Syntax & lab
s7commSiemens S7commLayer 7TCP 102 (ISO-on-TCP)

Siemens S7 PLC Reads, Writes & plcstop Alarms (eng_ws <-> plc s7comm TCP 102)

Wrapped inside RFC 1006 TPKT + ISO 8073 COTP on TCP 102, s7comm builds Siemens 0x32 readvar, writevar, and high-severity plcstop frames so you can verify OT IDS signatures safely.

Wireshark: s7commSyntax & lab
ethernetipEtherNet/IP (CIP)Layer 7TCP 44818 (Explicit) / UDP 2222 (Implicit I/O)

Rockwell ControlLogix Sessions & CIP I/O (hmi <-> clx ethernetip 44818 / 2222)

Factory-floor CIP encapsulation: ethernetip uses TCP 44818 for explicit sessions (registersession, sendrrdata) and automatically hops to real-time UDP 2222 when you pick sendunitdata!

Wireshark: enip || cipSyntax & lab
opcuaOPC UALayer 7TCP 4840

Purdue-Level-3.5 Historian Conduits (hist <-> gateway opcua TCP 4840)

The protocol bridging OT plant networks to IT historians across the industrial DMZ on TCP 4840 — opcua writes little-endian HEL -> ACK -> OPN -> MSG -> CLO binary chunks with exact messag…

Wireshark: opcuaSyntax & lab

Quick Jump: All 81 Keywords by Layer (1..81)

Compact keyword directory across all 8 protocol groups from Layer 2 through Layer 7

8 groups
01. Layer 2 · 8 protocols

Layer 2 Switching, VLAN/QinQ, 802.1X & MPLS

Pure Ethernet switch-port protocols: ARP & GARP failover, 802.1Q VLAN tags, 802.1ad QinQ double tags, LLDP, STP/RSTP BPDUs, LACP, 802.1X EAPOL, and MPLS.

02. Layer 3 · 20 protocols

Layer 3 Control, Tunnels, VPN, Routing & Redundancy

Underlay, overlay, and routing control: ICMPv4/v6, NDP & MLD, IGMP, GRE/VXLAN/GENEVE, IPsec ESP/AH/IKEv2, WireGuard, OSPF, BGP, RIP, PIM, VRRP, HSRP, BFD, and OpenFlow.

03. Layer 4 · 3 protocols

Layer 4 Transport Protocols

Stateful TCP handshakes (automatic seq & acknum across -> and <- plus RFC 7323 options), fast UDP datagrams, and telecom SCTP chunks with Castagnoli CRC-32c.

04. Layer 7 · 3 protocols

Layer 7 SNMPv1, SNMPv2c & Encrypted SNMPv3 USM

MIB-free SNMPv1, SNMPv2c, and real cryptographic SNMPv3 USM (auth sha256 + priv aes) for traps, informs, and polls without yanking production patch cables.

05. Layer 7 · 11 protocols

Layer 7 DNS, DHCP, Time, AAA & Flow Telemetry

Core plumbing & NOC telemetry: DNS, mDNS, DHCPv4/v6 DORA, NTP, PTPv2, RADIUS, TACACS+, Syslog, Cisco NetFlow v5, IPFIX, and sFlow v5.

06. Layer 7 · 16 protocols

Layer 7 Web, TLS/QUIC, VoIP & Remote Access

App-layer, encrypted SNI & VoIP: HTTP/1.1, HTTP/2, gRPC, WebSocket, TLS 1.2/1.3, QUIC, SSH-2, Telnet, TFTP, FTP, WHOIS, SIP, RTP, RTSP, STUN, and SSDP.

07. Layer 7 · 14 protocols

Layer 7 Mail, Identity, Storage, Databases & Brokers

Active Directory, east-west shares & DBs: SMTP, IMAP, POP3, Kerberos v5, LDAPv3, SMB2/3, NFS, Redis, Memcached, MySQL, PostgreSQL, MQTT, CoAP, and AMQP.

08. Layer 7 · 6 protocols

Layer 7 Industrial Control Systems & SCADA/OT

Test OT firewalls & IDS sensors without tripping a real turbine: Modbus TCP/UDP, BACnet/IP, DNP3 (auto CRC-16), Siemens S7comm, EtherNet/IP CIP, and OPC UA.

All 81 Protocols (.frasm <-> .pcap) | FrameAssembly