Application distribution model and related security attacks in VANET