Christmas tree packet

From Wikipedia, the free encyclopedia

A Christmas tree packet is a packet with every single option set for whatever protocol is in use. Also known as a "Kamikaze" packet, nastygram, and lamp test segment.

The term derives from a fanciful image of each little option bit being represented by a different-colored light bulb, all turned on, as in, "the packet was lit up like a Christmas tree." When used for scanning, the flags set for Christmas Tree packets are FIN, URG and PSH.

Christmas Tree packets can be used as a method of divining the underlying nature of a TCP/IP stack by sending the packets and awaiting and analyzing the responses. Many operating systems implement their compliance with the Internet Protocol standard (RFC 791) in varying or incomplete ways. By observing how a host responds to an odd packet, such as a Christmas Tree packet, assumptions can be made regarding the host's operating system. Versions of Microsoft Windows, BSD/OS, HP-UX, Cisco IOS, MVS, and IRIX display behaviors that differ from the RFC standard when queried with said packets.[citation needed]

Some stateless firewalls only check against security policy those packets which have the SYN flag set (that is, packets that initiate connection according to the standards). Since Christmas Tree scan packets do not have the SYN flag turned on, they can pass through these simple systems and reach the target host.

A large number of Christmas Tree packets can also be used to conduct a DoS attack by exploiting the fact that Christmas tree packets require much more processing by routers and end-hosts than the 'usual' packets do.

The first program that was able to perform port scans based on Christmas Tree packets was probably nmap.

Since Christmas Tree packets are not commonly present on the network (and technically don't follow RFC), they can be easily detected by intrusion-detection systems or more advanced firewalls. From a network security point of view, Christmas Tree packets are always suspicious and indicate a high probability of network reconnaissance activities.

[edit] See also

[edit] External link