Counterattacker (5e Feat)
From D&D Wiki
Prerequisites: Dexterity of 13 or higher
Intensive training and many fights have taught you to react quickly and decisively, seizing advantage of your opponent's mistake, granting you the following benefits:
When a creature misses you with a melee attack, you can use your reaction to make a melee weapon attack against the creature. Once you do this, you can't do it again until you finish a short or a long rest.
Additionally, any time a creature attempts to make a melee attack against you and rolls a natural 1, you gain advantage on your next attack roll against the attacker.