Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 1996 14:12:04 -0600 (CST)
From:      Brian Mitchell <brian@saturn.net>
To:        Martin Cracauer <cracauer@wavehh.hanse.de>
Cc:        freebsd-security@freebsd.org
Subject:   Re: Risk of having bpf0? (was URGENT: Packet sniffer found on my system)
Message-ID:  <Pine.BSI.3.95.961211140922.447A-100000@redmare.com>
In-Reply-To: <9612111329.AA16058@wavehh.hanse.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 11 Dec 1996, Martin Cracauer wrote:

> >>>     What are people's feelings on enabling devices like bpf or snp
> >>> in the kernel on a public server?  Obviously, had I not compiled bpf
> >>> into the shell and Web server kernels, this particular incident would
> >>> never have happened.  However, I like to have access to tcpdump to
> >>> check for things like ping floods, and trafshow to see where bytes are
> >>> being sent.
> >>
> >>Evil evil evil.  Definitely never on a public server; bpf lets you do
> >>lots more than just snoop, it makes it possible (easier) to spoof as
> >>well.
> 
> As far as I understand, BPF in the kernel is only a risk when someone
> gets root rights, not? In that case, if you don't have BPF in the
> kernel the person in question could also ftp a new kernel and wait for
> the next reboot.
> 
> What am I overlooking? What makes BPF dangerous as long as noone has
> root access to the machine?

Not having to reboot or install a new kernel makes things a WHOLE lot
easier. If you notice your machines uptime has changed all of the sudden,
you know something is up.

The goal is to force the intruder to go through as much trouble as
possible in order to sniff on your machine. The more steps he/she has to
go through, the greater chance of being detected.

> 
> And in what way can BPF make spoofing easier?

BPF lets you send and recv raw packet frames.


Brian Mitchell / brian@saturn.net





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.95.961211140922.447A-100000>