An effort to get sensitive data or gain access to a computer system through the use of fake communications that look official is known as a spear phishing attack.