@didimos User Manual, 9.7.3 Medals & Dogfight
Basically yeah, you need to destroy the main target + something around (especially if it is statics, bandits and ships) and return home w/o losses. Now it is very easy to get a medal because of battalion sandwiches. I killed ~30 vehicles with only 8 SDBs on my last flight…