Understanding Phishing Red Flags
Detailed breakdown of how modern phishing techniques weaponize deceptive URLs, header spoofs, and social engineering—with real-world examples and detection mechanics.
Brand Impersonation & Typosquatting (Levenshtein Distance)
Registering visually deceptive domain variations of known brands
Attackers register domains with minor typos (Levenshtein distance = 1 or 2) or leetspeak substitutions (e.g. replacing "l" with "1" or "o" with "0") to fool users who glance quickly at the address bar.
Victims receiving a notification about a suspended PayPal account are sent to a site named "paypa1.com" or "paypal-update.xyz". The user perceives the familiar brand name and inputs credentials.
http://paypa1-account-security.xyz/login/verify.php
Fish Lens strips non-alphanumeric chars, computes dynamic matrix Levenshtein edit distances against high-value target brand databases (PayPal, Google, Apple, Microsoft, Chase, Binance), and flags suspicious distances and leet mutations.
Always rely on bookmarks or official mobile apps rather than clicking links in unsolicited communications.
The "@" Symbol Userinfo Authentication Trick
Using RFC 3986 basic authentication format to disguise destination hosts
According to standard URL syntax (RFC 3986), string content between "https://" and the "@" character represents username/credential credentials, while the actual browser connection is directed to whatever host follows the "@".
A phishing email features a link formatted as "https://google.com@evil-harvesting-server.com/login". Victims only read "https://google.com" and mistakenly believe they are visiting Google, but their browser navigates directly to evil-harvesting-server.com.
https://google.com@auth-harvest-login.buzz/session?token=4819a82
URL syntax parser checks for presence of the "@" character in the URL structure or populating the URL "username" property.
Modern web browsers warn on userinfo, but users must remember: anything before an "@" in a URL is ignored by the domain resolver.
Punycode & Unicode Homoglyph Spoofing
Replacing Latin letters with visually identical Cyrillic or Greek glyphs
Internationalized Domain Names (IDNs) allow foreign character sets. The Cyrillic letter "а" (U+0430) or "о" (U+043E) looks identical to standard Latin "a" or "o" in modern fonts, but resolves to a completely distinct Punycode domain (xn--...).
An attacker registers "xn--appl-43d.com" which renders in browsers as "applе.com" (using Cyrillic "е"). The link is visually indistinguishable from Apple’s legitimate domain.
https://xn--gogle-qoa.com/account/login (disguised as gооgle.com)
Fish Lens inspects the raw hostname for the "xn--" IDN Punycode prefix and cross-references characters against a unicode homoglyph lookup table.
Configure browsers to display IDN domains in Punycode format or verify TLS certificate Subject Alternative Names.
IP Addresses Used as Hostnames
Routing traffic to raw numerical addresses to avoid domain reputation blocklists
Legitimate consumer services virtually never present raw numeric IP addresses (e.g. http://185.220.101.5/...) in user links. Phishers use direct IPs to avoid domain registration records (WHOIS) or evade freshly blacklisted DNS names.
A banking credential harvesting phishing kit is hosted directly on a compromised VPS or bulletproof server without mapping any DNS domain name.
http://185.220.101.5/bank-update/secure-login
Regex evaluation tests if the hostname strictly matches IPv4 decimal dot notation (4 octets) or IPv6 hexadecimal bracketed notation.
Reputable financial, email, and social networks do not ask users to authenticate via raw IP addresses.
Excessive Subdomain Stacking
Chaining brand keywords across multiple subdomains to truncate mobile address bars
On smartphones with narrow address bars, users only see the beginning of a URL. Attackers prepend legitimate names as subdomains (e.g. "paypal.com.verify.accounts.attackerdomain.com") knowing the real top-level domain is hidden off-screen.
A mobile user sees "https://security.apple.id..." in Safari’s condensed address bar and assumes it is official, while the actual host is an attacker-controlled root domain.
https://security.apple.id.verify.account.cloud-check.top/auth
Hostname parser isolates the effective Top-Level Domain (eTLD+1) and flags entities with 3 or more stacked subdomains.
Read URLs from right to left starting just before the first single slash "/" to identify the actual root domain.
Suspicious & High-Abuse TLDs
Exploiting ultra-cheap or unmonitored top-level domains
Certain TLDs (.xyz, .top, .buzz, .country, .icu, .monster) offer cheap bulk registration with lax identity verification, leading to high ratios of abusive spam and disposable phishing infrastructure.
Automated phishing campaigns register 500 disposable ".top" or ".xyz" domains per day to bypass static threat feeds faster than blocklists can update.
https://chase-bank-verify.buzz/login
TLD is matched against threat intelligence lists of high-abuse top-level domains compiled from global spam analytics.
Exercise elevated caution with unsolicited communications utilizing disposable, unconventional TLD extensions.
URL Shortener Redirection Masking
Hiding target destination endpoints behind link-shortening services
Services like bit.ly, tinyurl.com, and t.co create short redirects that conceal the true destination domain, preventing security gateways and users from inspecting the destination before clicking.
An SMS phishing (smishing) message says: "Your package is held: bit.ly/3x8Qz9a". The link redirects through multiple hops to a credit card harvesting form.
https://bit.ly/3x8Qz9a-urgent-invoice
Checks domain against known public link shortener services and provides automated redirect tracing.
Use URL expansion utilities or inspect redirect chains before entering credentials on shortened links.
From vs. Reply-To Header Mismatch
Displaying an authoritative brand in From while capturing replies elsewhere
The "From" header is easily spoofed in SMTP to display "security@microsoft.com". Attackers specify a distinct "Reply-To" address (e.g. "hacker@disposable.xyz") so any replies with sensitive info return to them.
Business Email Compromise (BEC): An invoice appears to come from the CEO’s real corporate address, but the Reply-To routes wire confirmation questions directly to an attacker-controlled inbox.
From: "Microsoft Security" <security-alert@microsoft.com> Reply-To: "Attacker Inbox" <attacker-inbox@mail-relay-direct.xyz>
Extracts and parses root domain of both "From" and "Reply-To" headers and flags instances where domains conflict.
Examine full email headers and verify the Reply-To address before responding to urgent requests.
SPF, DKIM, and DMARC Authentication Failures
Cryptographic mail verification failures indicating sender forgery
SPF checks whether the sending IP is authorized by the domain’s DNS. DKIM cryptographically signs email headers. DMARC aligns both policies. When an attacker forges an external domain, these checks fail.
An attacker sends an email claiming to be from "service@paypal.com" from an unauthorized server. The receiver’s mail server records "spf=fail" and "dkim=fail".
Authentication-Results: mx.google.com; spf=fail; dkim=fail; dmarc=fail
Analyzes Authentication-Results and Received-SPF headers to detect hard fail, softfail, or completely missing cryptographic authentication.
Enforce strict DMARC "p=reject" policies on corporate domains to protect against brand spoofing.
Deceptive Hyperlink Anchor Text Spoofing
Displaying a legitimate URL in visible HTML text while href points to malware
In HTML emails, the text displayed to the human reader can be anything: `<a href="http://malicious.com">https://bankofamerica.com</a>`. The victim reads Bank of America, but clicking navigates to the malicious server.
An email warning of an unauthorized login says "Click here to review: https://chase.com/verify". The underlying href actually directs to "http://chase-harvest.top/steal".
<a href="http://bankofamer1ca-auth.xyz/confirm">https://bankofamerica.com/verify-identity</a>
Parses all HTML anchor elements, evaluates whether visible anchor text resembles a URL or domain, and flags discrepancies between visible text and underlying href destination.
Hover over hyperlinks to preview the real destination in your mail client’s status bar before clicking.
Urgent & Threatening Psychological Coercion
Manufacturing artificial deadlines to bypass critical thinking
Social engineering relies on psychological triggers: fear, urgency, and authority. Phishers use phrases like "Account suspended within 24 hours" or "Warrant for arrest" to induce panic and force hasty clicks.
A message claims the victim’s payroll deposit or cloud storage will be terminated immediately unless credentials are confirmed within 12 hours.
Subject: ACTION REQUIRED: Account will be suspended within 24 hours unless verified
Textual heuristic scanner scans subjects and message bodies against curated patterns of high-pressure social engineering keywords.
High urgency is almost always a hallmark of social engineering. Contact service providers via verified out-of-band channels.
SSRF Defense & Redirect Chain Probing
Preventing Server-Side Request Forgery while following multi-hop redirects
When a server fetches user-supplied URLs to follow redirects, attackers may input internal IP addresses (127.0.0.1, 169.254.169.254 cloud metadata, 192.168.x.x) to breach internal private networks (SSRF).
An attacker submits "http://169.254.169.254/latest/meta-data/iam/security-credentials/" to steal AWS cloud IAM tokens from the scanning server.
http://169.254.169.254/computeMetadata/v1/instance/service-accounts/
Fish Lens resolves hostnames via DNS, checks resolved IPv4 and IPv6 addresses against private/reserved CIDRs (RFC 1918, link-local, loopback, carrier-grade NAT), and aborts connections immediately before making HTTP requests.
Always validate DNS resolution and enforce strict IP blocklists at the application and network firewall layers.