5-min deep dive

Suspicious email in depth: reading URLs, sender authentication and passkeys

Spotting fakes by looks alone has its limits. Knowing how to read a URL properly, and the systems that let machines detect spoofed email, makes you much harder to fool.

Reading time: about 5 min

← Start with the 1-min version

Read a URL in three parts

https://login.example.co.jp/account?id=123
① https://            … how it connects
② login.example.co.jp … host name (this is what matters)
③ /account?id=123     … location within the site

What you should look at is ②, the part before the first “/”. Read it from the right end (.jp → .co.jp → example.co.jp is the owner). Whatever famous name appears after the “/” has nothing to do with the owner.

The padlock is not a “mark of authenticity”

The https padlock means “the connection between you and the site is encrypted,” not “this site is genuine and run by good people.” Certificates can be issued free and automatically, so today most phishing sites use https too. You can end up delivering your information to a fake through a safely encrypted channel.

Tricks you can’t spot by looks

Detecting spoofing by machine: SPF, DKIM and DMARC

The sender address on an email can actually be written freely. So there are systems that let the receiving side check “was this really sent from that domain?”

SystemWhat it checks
SPFWhether the sending server’s IP address is on the domain’s “list of servers allowed to send”
DKIMUsing the digital signature attached to the email: whether that domain sent it, and whether it was altered on the way
DMARCThe domain owner declares how to handle mail that fails SPF or DKIM (deliver it, send it to spam, or reject it)

In Gmail, choose “Show original” from the email’s “⋮” menu to see results such as SPF: PASS.

Passkeys resist phishing

A password gets stolen if you type it into a fake site. A passkey logs you in with a key made just for that site, unlocked by your phone’s or PC’s fingerprint or face recognition. The key is built to work only on the real domain, so on a fake site it simply doesn’t respond. Where a service supports passkeys, registering one is recommended.

If you opened it or entered something by mistake

① Change that service’s password right away (and everywhere you reused the same password). ② If you entered card details, contact your card company. ③ If it was work email, report it to your IT team immediately — the more you hide it, the more the damage spreads. ④ Reporting it to the Council of Anti-Phishing Japan helps protect others too.

Practice questions

Four-choice questions in the style of Japan’s Fundamental Information Technology Engineer Examination. Tap below to see the answer.

Q1Which of the following URLs is run by the owner of the domain “example.co.jp”?

  • Ahttps://example.co.jp.secure-login.top/
  • Bhttps://login.example.co.jp/
  • Chttps://secure-login.top/example.co.jp/
  • Dhttps://example-co-jp.com/
Show the answer and explanation

Answer: BRead the host name from the right end. login.example.co.jp is a host called login within example.co.jp. The owner of A and C is secure-login.top, and D is a different domain, example-co-jp.com.

Q2Which attack targets a specific organization or person and deceives them with an email disguised as something work-related?

  • ADoS attack
  • BSpear phishing
  • CBrute-force attack
  • DSQL injection
Show the answer and explanation

Answer: BSpear phishing (targeted attack email) researches the target first, then sends content they’re likely to fall for. A DoS attack takes services down with floods of traffic, and a brute-force attack tries every password.

Q3Which mechanism checks, for a received email, whether the sending server’s IP address is one allowed by the sender’s domain?

  • ASPF
  • BDKIM
  • CS/MIME
  • DPOP3
Show the answer and explanation

Answer: ASPF compares the IP address of the server that actually sent the mail with the domain owner’s published “list of servers allowed to send.” DKIM checks with a digital signature.

Summary
  • Read a URL’s host name from the right end. What comes after the “/” doesn’t matter
  • The padlock only means “encrypted,” not proof that a site is genuine
  • SPF, DKIM and DMARC detect spoofing. Passkeys don’t work on fake sites