Protecting connected cars from cyber threats