Exhibit 10.4 SECURITY AGREEMENT This Security Agreement (this "Agreement") is dated as of January 1, 2006 and entered into by and between Hughes Communications, Inc., a Delaware corporation (the "Grantor"), and Apollo Investment Fund IV, L.P., as...