If a third party can break into the satellite and communications firmware of two different spacefaring nations (you have to hijack an orbiter too) then there are bigger problems to worry about. The number of countries (counting the ESA as one big country) with objects in orbit around Mars can be counted on one hand.