The goal of social engineering is to gain access to confidential information or resources by exploiting the trust and naivety of people.