numbers game
If the "bad actor" drones are preprogrammed (no signals to interfere with) and in large numbers then, bar EMP (which would nobble the defensive drones & much else) the defence drones are fighting a losing battle (especially if preprogrammed drones have plenty of unpredictability in their movements (not a nice predictable straight line)