by tonywebster · 10y ago · 0 comments
I just tried it, and with Chrome and 1Password, I was able to see my auto-filled bank password in the pcap. So, I presume any process on my system, without root privileges, would be able to sniff loopback.
I don't see why 1Password wouldn't use TLS here. This is not good.
> $ tcpdump -i lo0 -s 65535 -w info.pcap
tcpdump: lo0: You don't have permission to capture on that device
((cannot open BPF device) /dev/bpf0: Permission denied)tcpdump -i lo0 -s 65535 -w info.pcap tcpdump: lo0: You don't have permission to capture on that device ((cannot open BPF device) /dev/bpf0: Permission denied)
> $ ls -l /dev/bpf*
crw------- 1 root wheel 23, 0 Feb 29 07:59 /dev/bpf0
crw------- 1 root wheel 23, 1 Feb 29 07:59 /dev/bpf1
crw------- 1 root wheel 23, 2 Mar 2 11:11 /dev/bpf2
crw------- 1 root wheel 23, 3 Mar 2 10:07 /dev/bpf3
crw------- 1 root wheel 23, 4 Feb 29 08:11 /dev/bpf4$ ls -l /dev/bpf*
crw-rw---- 1 root access_bpf 23, 0 Mar 1 09:18 /dev/bpf0
Edit: Wireshark is installed
Later
Yes. Your system is misconfigured. Don't let Wireshark do that.
$ tcpdump -i lo0 -s 65535 -w info.pcap
tcpdump: lo0: You don't have permission to capture on that device
((cannot open BPF device) /dev/bpf0: Permission denied)
Looks like you're logged in on a superuser account or have otherwise somehow disable some security settings.edit: Irony here is that Wireshark is doing something far more dangerous than 1password.