Blog/Cybersecurity

Offensive intelligence: seeing through an attacker’s eyes

Offensive intelligence: seeing through an attacker’s eyes

There’s an unexpected way to improve business security: see through an attacker’s eyes.

We attended a course on dorking led by our Managing Partner Francesco Terlizzi. It’s not a hobby for people who spend too much time on Google, but a genuine, powerful and remarkably simple technique.

When “searching on Google” becomes an offensive action

In just a few hours, we learned how much perspective matters.
It’s not just about searching, but about thinking like the person on the other side and examining business systems with an offensive mindset. Just a few search operators – site:, filetype:, inurl: and intitle: – can reveal what we often forget we have: old login panels, forgotten backup files, and “test” or “staging” subdomains that no one admits to creating.

It’s an elegant (and legal) form of offensive security: no scanners, just passive searches, at no cost and with immediate results.
The golden rule?
If Google can find it, so can an attacker.
And, as experience tells us, they’ll do it on a Friday evening, five minutes after the last sysadmin has left for the day.

The dark side of an “innocent” search

After the course, typing “pizza near me” felt almost offensive.
While we look for a nice restaurant, someone somewhere is typing queries like:

tsite:example.com inurl:admin
site:example.com filetype:sql
site:example.com (inurl:dev OR inurl:staging OR inurl:old)

These searches should only be performed on domains for which you have full authorization, as part of internal security testing or auditing activities.

Three lines of text provide a guided tour of what we should be protecting: forgotten servers, indexed directories and “ghost” test environments.
Francesco showed us real cases of:

  • RDP portals discovered and then breached through brute-force attacks.
  • Backups of confidential projects uploaded to public servers.
  • Open “Index of” directories, IKEA catalogues of cybersecurity disasters.

“Not everyone needs a 0‑day. Sometimes all it takes is 0‑sense when publishing files on the web.”

Want to try this form of offensive intelligence in-house?

Want to test this form of offensive intelligence in-house?
Do it only on company domains for which you have full authorization (legality first!) and follow these steps:

  1. Map hidden environments
    Search your domains by combining the site name with terms such as dev, test, staging, backup or old in URL paths. This helps you discover forgotten subdomains or folders that are publicly indexed.
  2. Take inventory
    For each result:
    • Is it still needed, or is it a relic of the past?
    • Is it up to date and protected by VPN, company IP addresses or 2FA?
    • Does it contain sensitive data that shouldn’t be there?
  3. Take action
    • If it’s needed, protect it appropriately.
    • If it’s not needed, decommission it and remove one more concern.

And as a motivational bonus: if you discover a forgotten “/old” or “/staging” in less than ten minutes, the time spent on the course was already worth the investment.

Next time you open Google…

…ask yourself whether you’re just looking for an answer or whether, without realizing it, you’re already performing a small penetration test on your company.

#cyber hygiene#cybersecurity awareness#dorking#IT security training#Google hacking#offensive security#penetration testing#enterprise cybersecurity

If you can’t stop, you can count on us.

Let’s talk→