Interaction of a microresonator with a nanoscatterer