Flash-to-cloud security solution for connected vehicles, smart factories