AI against AI: how Artificial Intelligence influences cyberattacks and defends against them in cybersecurity