Using ontologies to perform threat analysis and develop defensive strategies for mobile security