introduce attacks detection