Foreign spies target media, ASIO claims