Inspired by the swarming behavior of male mosquitoes that aggregate to attract and subsequently pursue a female mosquito, we study how random swarming motion in autonomous vehicles affects the success of target capture. We consider the scenario in which multiple guardians with limited perceptual range and bounded acceleration are deployed to protect an area from an intruder. The main challenge for the guardian (male mosquito) is to quickly respond to a fast intruder (female) by matching its velocity. We focus on the motion strategy for the guardians before they perceive the intruder, which we call the swarming phase. In the parameter space consisting of the intruder’s speed and guardians’ ability (i.e., maximum acceleration and perceptual range) we identify necessary and sufficient conditions for target capture. We propose a swarming algorithm inspired by the behavior of male mosquitoes to improve the target-capture capability. The theoretical results are illustrated by experiments with an indoor quadrotor swarm.