If done in bad faith, cybersquatting is illegal under the ACPA. This means that if someone buys a domain just to increase the price and sell it to the rightful owner of a trademark, it is illegal.