I'm assuming it's some sort of ichneumon wasp, but I can't find one that has such yellow legs, antenna and spots behind the eyes.