Where would a person even begin to learn how to do something like this? I’m a programmer but wouldn’t even know where to start on a project like this.
The lower-level is very visible through Wireshark, with which you can capture all network traffic.
Does that help?