fight fire with fire

fight fire with fire (to use the same tactics as your opponent is using) — клин клином вышибают; использовать средства противника против него; бороться теми же средствами; ~ расплатиться той же монетой

Example:"If she's going to get the local newspaper to print lies about me, I'll just have to call up the headquarters of the state newspaper! I'll fight fire with fire."

see also
[like cures like]