🔧 Programmierung 🕛 vor 1 Monat 3 Min Lesezeit CVE-RADAR
0

Why I Built a Security Scanner That Never Touches the Target

Vulnerability & Security Bulletin Dossier
CVE-SAMMELMELDUNG
ANGRIPPSVEKTOR
🌐 Netzwerk (Remote)
AUTHENTIFIZIERUNG
🔓 Keine Authentifizierung nötig
SCHADENSPROFIL
RCE / Vollzugriff / Full Compromise
CWE-KLASSIFIZIERUNG
CWE-94: Code Injection
Handlungsempfehlung: Sicherheits-Update des Herstellers zeitnah einspielen und Netzwerksegmentierung prüfen.
Im CVE-Radar öffnen
↗ Quelle (dev.to)
🗣️ Stimme:

A client asked me to build a "quick security check" tool for their agency's lead generation funnel, the kind where a visitor types in a domain and gets a security score back. Simple enough in concept. Then I actually sat down to build it and ran straight into a legal wall I hadn't fully thought through.



Here's the problem. The obvious way to build something like this is to run an active scan: port scan the target, maybe throw a few known exploit checks at it, see what comes back. That's how most security scanning tools work, and it's also, depending on jurisdiction, potentially illegal if you don't own the system you're scanning. Where I operate, unauthorized access to a computer system, even a read-only probe, falls under the same statute as actually breaking in. A visitor typing a random competitor's domain into my tool and getting me to port-scan it on their behalf was not a liability I wanted to hold.



So the tool had to be entirely passive. No packet gets sent to the target system, full stop. Everything comes from third-party services that have already scanned the internet and cached the results, meaning I'm querying a database, not the target.



Four sources ended up covering most of what a basic security posture check needs.



SSL Labs' API gives you certificate validity, protocol version, and cipher suite strength without touching the target directly beyond what a normal HTTPS handshake would do anyway, since that's inherent to loading the page at all.



Shodan and Censys are the interesting ones. Both continuously scan the entire public IPv4 space and cache what they find, open ports, running services, banner strings. Querying their API means you're reading data they already collected, not initiating your own scan. This is the core trick that makes passive scanning legally defensible: the scanning already happened, by someone else, and it's public information now.



Certificate Transparency logs, queried through crt.sh, turned out to be the most useful source for a specific failure mode I kept seeing in the wild: forgotten subdomains. Every SSL certificate ever issued for a domain gets logged publicly, permanently, as part of the CT system browsers now require. That means every staging., test., or old-checkout. subdomain someone spun up two years ago and forgot about is sitting in a public log somewhere, discoverable, and usually running whatever unpatched software was current when it was abandoned.



CIRCL's CVE API rounds it out, cross-referencing any software versions I can passively fingerprint against known vulnerabilities.



The interesting engineering constraint here wasn't really the APIs themselves, it was designing the whole pipeline around the assumption that I have zero interaction with the target beyond what a normal browser request already does. Every design decision funnels back to that one rule. It's a narrower tool than an active scanner would produce, the report is genuinely less deep than what a real pentest gives you, but it's a tool anyone can point at any domain without a lawyer getting involved, and for a lead-gen funnel that's actually the more useful trade-off.



If you're building something similar and want to compare notes on the passive-only approach, or want to

Vollständiges Original-Advisory
Ausführliche Details, Exploit-Analyse & Hersteller-Stellungnahme auf dev.to.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:
Community Threat-Level Barometer
Live Votum

Wie stufst du das Risiko dieser Schwachstelle / Bedrohung für dein Unternehmen ein?

Noch keine Stimmen — schätze das Risiko als Erster ein.

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
6 Quellen
CVE-2022-44255 | TOTOLINK LR350 9.3.5u.6369_B20220309 buffer overflow (EUVD-2022-47204)
2 Quellen
CVE-2026-68426 | Linux Kernel up to 6.18.41/7.1.5/7.2-rc3 xfrm validate_xmit_skb_list use after free (Nessus ID 346426)
1 Quelle
Windows 11 Probleme mit gültiger Domänenanmeldung nach September-Update [Workaround]