FISHLENSv1.0-sec
CYBERSECURITY INTEL & VULNERABILITY CATALOG

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.

Vector #1 • URLCritical Severity

Brand Impersonation & Typosquatting (Levenshtein Distance)

Registering visually deceptive domain variations of known brands

How The Attack Operates:

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.

Real-World Threat Scenario:

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.

Example Malicious Payload Pattern:
http://paypa1-account-security.xyz/login/verify.php
Fish Lens Heuristic Detection:

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.

Defense & Mitigation:

Always rely on bookmarks or official mobile apps rather than clicking links in unsolicited communications.

Vector #2 • URLCritical Severity

The "@" Symbol Userinfo Authentication Trick

Using RFC 3986 basic authentication format to disguise destination hosts

How The Attack Operates:

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 "@".

Real-World Threat Scenario:

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.

Example Malicious Payload Pattern:
https://google.com@auth-harvest-login.buzz/session?token=4819a82
Fish Lens Heuristic Detection:

URL syntax parser checks for presence of the "@" character in the URL structure or populating the URL "username" property.

Defense & Mitigation:

Modern web browsers warn on userinfo, but users must remember: anything before an "@" in a URL is ignored by the domain resolver.

Vector #3 • URLCritical Severity

Punycode & Unicode Homoglyph Spoofing

Replacing Latin letters with visually identical Cyrillic or Greek glyphs

How The Attack Operates:

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--...).

Real-World Threat Scenario:

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.

Example Malicious Payload Pattern:
https://xn--gogle-qoa.com/account/login (disguised as gооgle.com)
Fish Lens Heuristic Detection:

Fish Lens inspects the raw hostname for the "xn--" IDN Punycode prefix and cross-references characters against a unicode homoglyph lookup table.

Defense & Mitigation:

Configure browsers to display IDN domains in Punycode format or verify TLS certificate Subject Alternative Names.

Vector #4 • URLHigh Severity

IP Addresses Used as Hostnames

Routing traffic to raw numerical addresses to avoid domain reputation blocklists

How The Attack Operates:

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.

Real-World Threat Scenario:

A banking credential harvesting phishing kit is hosted directly on a compromised VPS or bulletproof server without mapping any DNS domain name.

Example Malicious Payload Pattern:
http://185.220.101.5/bank-update/secure-login
Fish Lens Heuristic Detection:

Regex evaluation tests if the hostname strictly matches IPv4 decimal dot notation (4 octets) or IPv6 hexadecimal bracketed notation.

Defense & Mitigation:

Reputable financial, email, and social networks do not ask users to authenticate via raw IP addresses.

Vector #5 • URLHigh Severity

Excessive Subdomain Stacking

Chaining brand keywords across multiple subdomains to truncate mobile address bars

How The Attack Operates:

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.

Real-World Threat Scenario:

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.

Example Malicious Payload Pattern:
https://security.apple.id.verify.account.cloud-check.top/auth
Fish Lens Heuristic Detection:

Hostname parser isolates the effective Top-Level Domain (eTLD+1) and flags entities with 3 or more stacked subdomains.

Defense & Mitigation:

Read URLs from right to left starting just before the first single slash "/" to identify the actual root domain.

Vector #6 • URLHigh Severity

Suspicious & High-Abuse TLDs

Exploiting ultra-cheap or unmonitored top-level domains

How The Attack Operates:

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.

Real-World Threat Scenario:

Automated phishing campaigns register 500 disposable ".top" or ".xyz" domains per day to bypass static threat feeds faster than blocklists can update.

Example Malicious Payload Pattern:
https://chase-bank-verify.buzz/login
Fish Lens Heuristic Detection:

TLD is matched against threat intelligence lists of high-abuse top-level domains compiled from global spam analytics.

Defense & Mitigation:

Exercise elevated caution with unsolicited communications utilizing disposable, unconventional TLD extensions.

Vector #7 • URLMedium Severity

URL Shortener Redirection Masking

Hiding target destination endpoints behind link-shortening services

How The Attack Operates:

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.

Real-World Threat Scenario:

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.

Example Malicious Payload Pattern:
https://bit.ly/3x8Qz9a-urgent-invoice
Fish Lens Heuristic Detection:

Checks domain against known public link shortener services and provides automated redirect tracing.

Defense & Mitigation:

Use URL expansion utilities or inspect redirect chains before entering credentials on shortened links.

Vector #8 • EMAILHigh Severity

From vs. Reply-To Header Mismatch

Displaying an authoritative brand in From while capturing replies elsewhere

How The Attack Operates:

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.

Real-World Threat Scenario:

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.

Example Malicious Payload Pattern:
From: "Microsoft Security" <security-alert@microsoft.com>
Reply-To: "Attacker Inbox" <attacker-inbox@mail-relay-direct.xyz>
Fish Lens Heuristic Detection:

Extracts and parses root domain of both "From" and "Reply-To" headers and flags instances where domains conflict.

Defense & Mitigation:

Examine full email headers and verify the Reply-To address before responding to urgent requests.

Vector #9 • EMAILCritical Severity

SPF, DKIM, and DMARC Authentication Failures

Cryptographic mail verification failures indicating sender forgery

How The Attack Operates:

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.

Real-World Threat Scenario:

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".

Example Malicious Payload Pattern:
Authentication-Results: mx.google.com; spf=fail; dkim=fail; dmarc=fail
Fish Lens Heuristic Detection:

Analyzes Authentication-Results and Received-SPF headers to detect hard fail, softfail, or completely missing cryptographic authentication.

Defense & Mitigation:

Enforce strict DMARC "p=reject" policies on corporate domains to protect against brand spoofing.

Vector #10 • EMAILCritical Severity

Deceptive Hyperlink Anchor Text Spoofing

Displaying a legitimate URL in visible HTML text while href points to malware

How The Attack Operates:

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.

Real-World Threat Scenario:

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".

Example Malicious Payload Pattern:
<a href="http://bankofamer1ca-auth.xyz/confirm">https://bankofamerica.com/verify-identity</a>
Fish Lens Heuristic Detection:

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.

Defense & Mitigation:

Hover over hyperlinks to preview the real destination in your mail client’s status bar before clicking.

Vector #11 • EMAILHigh Severity

Urgent & Threatening Psychological Coercion

Manufacturing artificial deadlines to bypass critical thinking

How The Attack Operates:

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.

Real-World Threat Scenario:

A message claims the victim’s payroll deposit or cloud storage will be terminated immediately unless credentials are confirmed within 12 hours.

Example Malicious Payload Pattern:
Subject: ACTION REQUIRED: Account will be suspended within 24 hours unless verified
Fish Lens Heuristic Detection:

Textual heuristic scanner scans subjects and message bodies against curated patterns of high-pressure social engineering keywords.

Defense & Mitigation:

High urgency is almost always a hallmark of social engineering. Contact service providers via verified out-of-band channels.

Vector #12 • SYSTEMCritical Severity

SSRF Defense & Redirect Chain Probing

Preventing Server-Side Request Forgery while following multi-hop redirects

How The Attack Operates:

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).

Real-World Threat Scenario:

An attacker submits "http://169.254.169.254/latest/meta-data/iam/security-credentials/" to steal AWS cloud IAM tokens from the scanning server.

Example Malicious Payload Pattern:
http://169.254.169.254/computeMetadata/v1/instance/service-accounts/
Fish Lens Heuristic Detection:

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.

Defense & Mitigation:

Always validate DNS resolution and enforce strict IP blocklists at the application and network firewall layers.