Outgoing data units, such as packets, from a computer system that contain
data characteristic of an operating system executing on the computer
system are intercepted before they are transmitted on a network and
masked to impersonate a different operating system if the network is
untrusted. The masking may be to re-fingerprint the data units by
replacing the data characteristic of the actual operating system with
data characteristic of the different operating system. Alternatively, the
masking may require discarding the data unit and not transmitting it.