Advanced Legacy Search Methods and Queries

After reviewing the Censys Search Language syntax, you can now delve into more complex investigations. Use the queries on this page as a foundation for building advanced strategies for use in Legacy Search.

Here are some related reads from the Research Team:

Threat Activity Queries

Query descriptionLegacy Search queryRun in Legacy Search
Open directoriesservices.http.response.html_title: "Index of /"Try it
Cobalt Strike Beaconsservices.cobalt_strike: *Try it
Compromised MikroTik Routersservices.service_name: MIKROTIK_BW and "HACKED"Try it
Services on port 53 that are not DNSservices: (port: 53 and not service_name: DNS) and services.truncated: falseTry it
Network devices with exposed login pagesservices: (labels:{network.device, login-page})Try it
Deimos C2services: (services.port: 8443 and (http.response.html_title="Deimos C2" or tls.certificates.leaf_data.subject.organization="Acme Co"))Try it
Posh C2services.tls.certificate.parsed.subject_dn: "C=US, ST=Minnesota, L=Minnetonka, O=Pajfds, OU=Jethpro, CN=P18055077"Try it

Incident Response: Queries for a Zero-Day

Query descriptionLegacy Search QueryRun query in Search Legacy
MOVEit CVEservices.http.response.favicons.md5_hash=af8bf513860e22425eff056332282560Try it
CVE-2023-20198 Cisco IOS-XElabels='cisco-xe-webui'Try it
CVE-2023-44487 HTTP/WHO?services.http.supports_http2: trueTry it
CVE-2023-30799 MikroTik RouterOSservices.http.response.html_title: "RouterOS router configuration page"Try it

Meta/Facebook Pixel Trackers

Query descriptionLegacy Search QueryRun query in Search Legacy
Meta Pixel codeservices.http.response.body:"fbq('track', 'PageView')"Try it