Not sure about the details though. Hope someone knowledge can chime in.
https://en.wikipedia.org/wiki/Electronic_warfare is the closest related thing.
What you would actually do is see if you could jam its comms, hit it with a laser (these exist as actual practical weapons these days), or engineer tiny high altitude anti aircraft missiles, either something that already exists or small mods to existing tech for the use case.