Elon Musk and other wealthy entrepreneurs are attacking the legality of administrative proceedings at the U.S. Securities and Exchange Commission.

In a new amicus brief to the Supreme Court, Musk, Dallas Mavericks owner Mark Cuban and others who have wrestled with the securities regulator over the years have come to the aid of a hedge fund manager challenging SEC administrative proceedings in a case before the justices.