What is social engineering, and how would you defend an organisation against it?
Answer
Social engineering is attacking people instead of software. The attacker manipulates someone into handing over credentials, approving a payment, installing malware or granting access. It works because it exploits trust, urgency and helpfulness, so even a perfectly patched system can be compromised by one convincing phone call or email.
Common social engineering techniques
Phishing: mass emails that imitate a bank, courier or your own IT team and lead to a fake login page or a malicious attachment.
Spear phishing and whaling: targeted messages that use real names, projects and reporting lines, often aimed at finance staff or executives.
Vishing and smishing: phone calls and SMS. In India the classic versions are the 'your KYC is expiring' texts and callers posing as bank staff asking for an OTP.
Pretexting: inventing a believable story such as 'I am from the vendor, we need to verify your account' to justify an unusual request.
Business email compromise (BEC): a spoofed or hijacked CEO or supplier mailbox asks the accounts team to change bank details for an invoice.
MFA fatigue: spamming push approvals until a tired user taps Approve, or calling the help desk to reset MFA.
Baiting and tailgating: an infected USB drive left in a parking lot, or following an employee through a badge-controlled door.
Why it works on smart people
Attacks lean on a few predictable psychological levers: authority (it looks like it came from the CTO), urgency (act in 10 minutes or the account is blocked), scarcity, social proof and plain helpfulness. The UPI collect-request scam is a good example. The victim is told to 'enter your PIN to receive money', which flips the mental model, because a UPI PIN is only ever needed to send money. Teaching people to spot the lever is more useful than memorising scam scripts.
Out-of-band verification for payments and bank detail changes
BEC and invoice fraud
Help desk
Strict identity checks before password or MFA resets
Pretexting the support team
People
Regular awareness training and phishing simulations
Clicks on obvious lures
Detection
An easy 'report phish' button and alerts on impossible travel
Shortens time to response
Note that OTP and push MFA can still be relayed through real-time proxy kits. Only origin-bound methods like WebAuthn are genuinely phishing-resistant.
Mistakes organisations make
Blaming and shaming people who click, which makes them stop reporting. Fast reporting matters more than a zero-click rate.
Treating training as a yearly checkbox while leaving processes that let one email move lakhs of rupees.
Allowing password resets over the phone with only a name and employee ID.
Publishing org charts, email formats and vendor names that make pretexts easy to build.
How engineers contribute
Developers reduce the blast radius too. Show the full domain on sensitive pages, never ask for secrets over chat, add confirmation screens that restate the payee before money moves, alert users on new-device logins, and design account recovery so it cannot be completed by someone who only knows public facts about the victim.
Anatomy of a social engineering attack. Most attacks follow the same arc, and every stage is a chance to break the chain.
Research the target: LinkedIn, the company site and leaked data reveal names and roles.
Build a pretext: A believable story such as IT support or a vendor invoice.
Make contact: Email, call, SMS or in person, usually with urgency.
Exploit the trust: The victim shares an OTP, clicks a link or approves a payment.
Use the access: The attacker logs in, moves money or installs malware.
Code examples
Check a domain's anti-spoofing records
# SPF: which servers may send mail for the domain
dig +short TXT example.com | grep spf1
# "v=spf1 include:_spf.google.com -all"
# DMARC: what receivers should do when SPF or DKIM fail
dig +short TXT _dmarc.example.com
# "v=DMARC1; p=reject; rua=mailto:dmarc@example.com"
# DKIM: public key for a given selector
dig +short TXT google._domainkey.example.com
A DMARC policy of p=reject tells receiving mail servers to drop messages that spoof your exact domain. It does not stop look-alike domains, which is why user awareness still matters.
Key points
Social engineering targets human trust, so technical patching alone does not stop it.
Phishing, spear phishing, vishing, smishing, pretexting, BEC and tailgating are the main forms.
Phishing-resistant MFA such as WebAuthn beats OTP and push, which can be relayed.
Out-of-band verification is the key control for payment and bank-detail-change requests.
A culture that rewards reporting beats one that punishes clicking.
Common follow-up questions
Why is WebAuthn phishing-resistant while SMS OTP is not?
How do SPF, DKIM and DMARC work together?
How would you design a phishing simulation programme without hurting employee trust?
What is an MFA fatigue attack and how do number-matching prompts help?
Interview tips
Give a concrete example such as a fake KYC SMS or a CEO-fraud email; it shows you understand the real threat.
Answer defences in layers: technical, process and people. Interviewers want more than 'train users'.
Mention that you would make reporting easy and blameless; it signals security maturity.
Concepts covered
Human Element, Phishing, Pretexting, Security Awareness, MFA
More Web Security (OWASP, JWT, XSS, CSRF) questions