It is illegal in the United States, but some people like the satisfaction of stopping others from using the internet or to take down servers/websites.