orig_bytes
The conn.log field counting the payload bytes sent by the side that opened a connection; resp_bytes counts what the other side sent back.
In more detail
Orig is short for originator, the host that started the connection, and resp for responder. A normal workstation receives far more than it sends, so a host whose orig_bytes to one outside address are large and many times its resp_bytes may be uploading data. The counts cover payload only and may be missing or approximate on some connections, in which case Zeek writes a dash.
Examples
totals[pair][0] += count(r["orig_bytes"])Exercise: add a DNS connection with orig_bytes of 40000000 and explain why that pattern mattersRelated terms
- conn.log — Zeek's log of network connections, with one line per connection showing who talked to whom, on which ports, for how long and how many bytes each way.
- Zeek — An open-source network monitor that passively watches traffic and writes detailed logs of connections and protocols for security analysis.
- egress monitoring — Watching traffic that leaves the network, especially how much goes where and when, to spot data being taken out.
- DNS tunnelling — Hiding other data inside DNS lookups and replies, so it can slip out of or into a network that allows DNS but blocks other traffic.
Taught in
- Data Loss Prevention & Egress Monitoring — Cybersecurity Fundamentals, GRC & Cryptography