Skip to main content

Censys v2

This Integration is part of the Censys Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.0.0 and later.

Censys is a search engine that allows computer scientists to ask questions about the devices and networks that compose the internet. Driven by internet-wide scanning, Censys lets researchers find specific hosts and create aggregate reports on how devices, and certificates are configured and deployed. This integration was integrated and tested with version 2.0 of Censys.

Some changes have been made that might affect your existing content. If you are upgrading from a previous of this integration, see Breaking Changes.

Configure Censys v2 on Cortex XSOAR#

  1. Navigate to Settings > Integrations > Servers & Services.

  2. Search for Censys v2.

  3. Click Add instance to create and configure a new integration instance.

    ParameterRequired
    App IDTrue
    SecretTrue
    Trust any certificate (not secure)False
    Use system proxy settingsFalse
    Labels premium feature availableFalse
    IP and Domain Malicious labelsFalse
    IP and Domain Suspicious labelsFalse
    Malicious labels thresholdFalse
    Suspicious labels thresholdFalse
  1. Click Test to validate the URLs, token, and connection.

Commands#

You can execute these commands from the Cortex XSOAR CLI, as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.

cen-view#


Returns detailed information for an IP address or SHA256 within the specified index.

Base Command#

cen-view

Input#

Argument NameDescriptionRequired
queryThe IP address of the requested host.Required
indexThe index from which to retrieve data. Possible values are: ipv4, certificates.Required

Context Output#

PathTypeDescription
Censys.View.autonomous_system.asnNumberThe autonomous system number (ASN) that the host is in.
Censys.View.autonomous_system.bgp_prefixStringThe autonomous system's CIDR.
Censys.View.autonomous_system.country_codeStringThe autonomous system's two-letter, ISO 3166-1 alpha-2 country code (e.g., US, CN, GB, RU).
Censys.View.autonomous_system.descriptionStringA brief description of the autonomous system.
Censys.View.autonomous_system.nameStringThe friendly name of the autonomous system.
Censys.View.autonomous_system_updated_atDateWhen the autonomous system was updated.
Censys.View.dns.namesStringDNS Names.
Censys.View.dns.recordsUnknownDNS records.
Censys.View.dns.reverse_dns.namesStringReverse DNS names.
Censys.View.ipStringThe host’s IP address.
Censys.View.last_updated_atDateWhen the host was last updated.
Censys.View.location.continentStringThe continent of the host's detected location (e.g., North America, Europe, Asia, South America, Africa, Oceania).
Censys.View.location.coordinatesUnknownThe estimated coordinates of the host's detected location.
Censys.View.location.countryStringThe name of the country of the host's detected location.
Censys.View.location.country_codeStringThe two-letter ISO 3166-1 alpha-2 country code of the host's detected location (e.g., US, CN, GB, RU).
Censys.View.location.postal_codeStringThe postal code (if applicable) of the host's detected location.
Censys.View.location.registered_countryStringThe English name of the host's registered country.
Censys.View.location.registered_country_codeStringThe registered country's two-letter, ISO 3166-1 alpha-2 country code (e.g., US, CN, GB, RU).
Censys.View.location.timezoneStringThe IANA time zone database name of the host's detected location.
Censys.View.services.dnsUnknownDNS information.
Censys.View.services.extended_service_nameStringThe service name with the TLS encryption indicator if the service is using it.
Censys.View.services.observed_atDateThe UTC timestamp of when Censys scanned the service.
Censys.View.services.perspective_idStringThe upstream internet service provider Censys peered with to scan the service - NTT Communications, TATA, Telia Carrier, or Hurricane Electric.
Censys.View.services.portNumberThe port the service was reached at.
Censys.View.services.service_nameStringThe name of the service on the port. This is typically the L7 protocol (e.g., “HTTP”); however, in the case that a more specific HTTP-based protocol is found (e.g., Kubernetes or Prometheus), the field will show that. This field indicates where protocol-specific data will be located.
Censys.View.services.source_ipStringThe IP address from which Censys scanned the service.
Censys.View.services.transport_protocolStringThe transport protocol (known in OSI model as L4) used to contact this service (i.e., UDP or TCP).
Censys.View.services.bannerStringThe banner as a part of the protocol scan. That field will be nested in the protocol-specific data under the service_name field.
Censys.View.services.tls.certificatesUnknownA subset of the parsed details of the certificate, including the issuer, subject, fingerprint, names, public keys, and signature.
Censys.View.services.tls.session_ticketUnknownDetails about the session ticket provided by the server at the end of the TLS handshake.
Censys.View.ctUnknownWhen a certificate was added to a CT log.
Censys.View.fingerprint_sha256StringThe SHA2-256 digest over the DER encoding of the certificate.
Censys.View.metadataUnknownWhether the certificate was (ever) seen during a Censys scan of the internet.
Censys.View.parent_spki_subject_fingerprintStringParent simple public key infrastructure (SPKI) subject fingerprint.
Censys.View.parsed.extensionsUnknownAdditional fields that extend the X.509 spec.
Censys.View.parsed.fingerprint_md5StringThe MD5 digest over the DER encoding of the certificate.
Censys.View.parsed.fingerprint_sha1StringThe SHA1 digest over the DER encoding of the certificate.
Censys.View.parsed.fingerprint_sha256StringThe SHA2-256 digest over the DER encoding of the certificate.
Censys.View.parsed.issuer.common_nameStringCommon name.
Censys.View.parsed.issuer.countryStringCountry name.
Censys.View.parsed.issuer.organizationStringOrganization name.
Censys.View.parsed.issuer_dnStringInformation about the certificate authority that issued the certificate.
Censys.View.parsed.namesStringAny names for which the certificate can be used for identity verification.
Censys.View.parsed.redactedBooleanIndicates whether the certificate redacted.
Censys.View.parsed.serial_numberStringThe issuer-specific identifier of the certificate.
Censys.View.parsed.signature.self_signedBooleanIndicates whether the subject key was also used to sign the certificate.
Censys.View.parsed.signature.signature_algorithm.nameStringName of signature algorithm, e.g., SHA1-RSA or ECDSA-SHA512. Unknown algorithms get an integer ID.
Censys.View.parsed.signature.signature_algorithm.oidStringThe object identifier of the signature algorithm, in dotted-decimal notation.
Censys.View.parsed.signature.validBooleanWhether the signature is valid.
Censys.View.parsed.signature.valueStringContents of the signature as a bit string.
Censys.View.parsed.signature_algorithm.nameStringName of the signature algorithm, e.g., SHA1-RSA or ECDSA-SHA512. Unknown algorithms get an integer ID.
Censys.View.parsed.signature_algorithm.oidStringThe object identifier of the signature algorithm, in dotted-decimal notation.
Censys.View.parsed.spki_subject_fingerprintStringThe SHA2-256 digest over the DER encoding of the certificate's SubjectPublicKeyInfo, as a hexadecimal string.
Censys.View.parsed.subject.common_nameStringCommon name.
Censys.View.parsed.subject.countryStringCountry name.
Censys.View.parsed.subject.localityStringLocality name.
Censys.View.parsed.subject.organizationStringThe name of the organization to which the certificate was issued, if available.
Censys.View.parsed.subject.provinceStringState of province name.
Censys.View.parsed.subject_dnStringInformation about the entity that was issued the certificate.
Censys.View.parsed.subject_key_info.ecdsa_public_keyUnknownThe public portion of an ECDSA asymmetric key.
Censys.View.parsed.subject_key_info.fingerprint_sha256StringThe SHA2-256 digest calculated over the certificate's DER encoding.
Censys.View.parsed.subject_key_info.key_algorithm.nameStringName of public key type, e.g., RSA or ECDSA.
Censys.View.parsed.tbs_fingerprintStringThe SHA2-256 digest over the DER encoding of the certificate's TBSCertificate.
Censys.View.parsed.tbs_noct_fingerprintStringThe SHA2-256 digest over the DER encoding of the certificate's TBSCertificate with any CT extensions omitted.
Censys.View.parsed.validation_levelStringHow the certificate is validated - Domain validated (DV), Organization Validated (OV), Extended Validation (EV), or unknown.
Censys.View.parsed.validity.endDateTimestamp of when the certificate expires. Time zone is UTC.
Censys.View.parsed.validity.lengthNumberThe length of time, in seconds, that the certificate is valid.
Censys.View.parsed.validity.startDateTimestamp of when certificate is first valid. Time zone is UTC.
Censys.View.parsed.versionNumberThe x.509 certificate version number.
Censys.View.precertBooleanWhether the certificate is pre-cert.
Censys.View.rawStringThe raw certificate.
Censys.View.tagsStringTags applied to the certificate.
Censys.View.validationUnknownWhether the certificate is trusted by modern web browsers (Mozilla NSS, Microsoft, and Apple).
Censys.View.zlintUnknownWhether the certificate has any zlint errors.
IP.AddressStringIP address
IP.ASNStringThe autonomous system name for the IP address, for example: "AS8948".
IP.Geo.LocationStringThe geolocation where the IP address is located, in the format: latitude:longitude.
IP.Geo.CountryStringThe country in which the IP address is located.
IP.Geo.DescriptionStringAdditional information about the location.
IP.ASOwnerStringThe autonomous system owner of the IP.
DBotScore.IndicatorStringThe indicator that was tested.
DBotScore.TypeStringThe indicator type.
DBotScore.VendorStringThe vendor used to calculate the score.
DBotScore.ScoreNumberThe actual score.

Command example#

!cen-view index=ipv4 query=8.8.8.8

Context Example#

{
"Censys": {
"View": {
"autonomous_system": {
"asn": 15169,
"bgp_prefix": "8.8.8.0/24",
"country_code": "US",
"description": "GOOGLE",
"name": "GOOGLE"
},
"autonomous_system_updated_at": "2022-08-19T04:12:34.865059Z",
"dns": {
"names": [
"test.com.",
"uuu.mkppy.site.",
"hisports.club.",
"domain.com.",
"roidgames.de.",
"svhasso.duckdns.org.",
"albertogozzi.it.",
"prod.rialtic.app."
],
"records": {
"1508cleveland.duckdns.org": {
"record_type": "A",
"resolved_at": "2021-10-02T06:16:39.231714247Z"
},
"albertogozzi.it": {
"record_type": "A",
"resolved_at": "2021-10-02T01:15:04.162523844Z"
},
"alpha.lab.toshokan.fr": {
"record_type": "A",
"resolved_at": "2021-10-03T14:18:01.127044067Z"
}
},
"reverse_dns": {
"names": [
"dns.google"
],
"resolved_at": "2022-08-23T00:07:13.195583925Z"
}
},
"ip": "8.8.8.8",
"last_updated_at": "2022-08-30T06:39:12.356Z",
"location": {
"continent": "North America",
"coordinates": {
"latitude": 37.751,
"longitude": -97.822
},
"country": "United States",
"country_code": "US",
"postal_code": "",
"registered_country": "United States",
"registered_country_code": "US",
"timezone": "America/LA"
},
"location_updated_at": "2022-08-24T19:21:03.836386Z",
"services": [
{
"_decoded": "dns",
"dns": {
"answers": [
{
"name": "ip.parrotdns.com.",
"response": "1.2.3.4",
"type": "A"
},
{
"name": "ip.parrotdns.com.",
"response": "5.6.7.8",
"type": "A"
}
],
"edns": {
"do": true,
"udp": 512,
"version": 0
},
"questions": [
{
"name": "ip.parrotdns.com.",
"response": ";ip.parrotdns.com.\tIN\t A",
"type": "A"
}
],
"r_code": "SUCCESS",
"resolves_correctly": true,
"server_type": "FORWARDING"
},
"extended_service_name": "DNS",
"observed_at": "2022-08-30T06:39:12.150877871Z",
"perspective_id": "PERSPECTIVE_TATA",
"port": 53,
"service_name": "DNS",
"source_ip": "1.2.3.4",
"transport_protocol": "UDP",
"truncated": false
},
{
"_decoded": "http",
"_encoding": {
"banner": "DISPLAY_UTF8",
"banner_hex": "DISPLAY_HEX",
"certificate": "DISPLAY_HEX"
},
"banner": "banner",
"banner_hex": "485454502f312e312033303220466f756e640d0a582d436f6e74656e742d547970652d4f7074696f6e733a206e6f736e6966660d0a4163636573732d436f6e74726f6c2d416c6c6f772d4f726967696e3a202a0d0a4c6f636174696f6e3a2068747470733a2f2f646e732e676f6f676c652f0d0a446174653a20203c52454441435445443e0a436f6e74656e742d547970653a20746578742f68746d6c3b20636861727365743d5554462d380d0a5365727665723a2048545450207365727665722028756e6b6e6f776e290d0a436f6e74656e742d4c656e6774683a203231360d0a582d5853532d50726f74656374696f6e3a20300d0a582d4672616d652d4f7074696f6e733a2053414d454f524947494e0d0a416c742d5376633a2068333d223a343433223b206d613d323539323030302c68332d32393d223a343433223b206d613d323539323030302c68332d513035303d223a343433223b206d613d323539323030302c68332d513034363d223a343433223b206d613d323539323030302c68332d513034333d223a343433223b206d613d323539323030302c717569633d223a343433223b206d613d323539323030303b20763d2234362c3433220d0a",
"certificate": "5c2d6869e805696c328d7ba5acd7d347b46e1e03d7ed65886bf2df55f41d01fd",
"extended_service_name": "HTTPS",
"http": {
"request": {
"headers": {
"Accept": [
"*/*"
],
"User_Agent": [
"Mozilla/5.0 (compatible; CensysInspect/1.1; +https://about.censys.io/)"
],
"_encoding": {
"Accept": "DISPLAY_UTF8",
"User_Agent": "DISPLAY_UTF8"
}
},
"method": "GET",
"uri": "https://8.8.8.8/"
},
"response": {
"_encoding": {
"body": "DISPLAY_UTF8",
"body_hash": "DISPLAY_UTF8",
"html_tags": "DISPLAY_UTF8",
"html_title": "DISPLAY_UTF8"
},
"body": "test",
"body_hash": "sha1:1fd84b37b709256752fe1f865f86b5bec0512345",
"body_size": 216,
"headers": {
"Access_Control_Allow_Origin": [
"*"
],
"Alt_Svc": [
"alt text"
],
"Content_Length": [
"216"
],
"Content_Type": [
"text/html; charset=UTF-8"
],
"Date": [
"<REDACTED>"
],
"Location": [
"https://dns.google/"
],
"Server": [
"HTTP server (unknown)"
],
"X_Content_Type_Options": [
"nosniff"
],
"X_Frame_Options": [
"SAMEORIGIN"
],
"X_Xss_Protection": [
"0"
],
"_encoding": {
"Access_Control_Allow_Origin": "DISPLAY_UTF8",
"Alt_Svc": "DISPLAY_UTF8",
"Content_Length": "DISPLAY_UTF8",
"Content_Type": "DISPLAY_UTF8",
"Date": "DISPLAY_UTF8",
"Location": "DISPLAY_UTF8",
"Server": "DISPLAY_UTF8",
"X_Content_Type_Options": "DISPLAY_UTF8",
"X_Frame_Options": "DISPLAY_UTF8",
"X_Xss_Protection": "DISPLAY_UTF8"
}
},
"html_tags": [
"<TITLE>302 Moved</TITLE>",
"<meta http-equiv=\"content-type\" content=\"text/html;charset=utf-8\">"
],
"html_title": "302 Moved",
"protocol": "HTTP/1.1",
"status_code": 302,
"status_reason": "Found"
},
"supports_http2": true
},
"observed_at": "2022-08-30T01:58:59.320014077Z",
"perspective_id": "PERSPECTIVE_NTT",
"port": 443,
"service_name": "HTTP",
"source_ip": "1.2.3.4",
"tls": {
"_encoding": {
"ja3s": "DISPLAY_HEX"
},
"certificates": {
"_encoding": {
"chain_fps_sha_256": "DISPLAY_HEX",
"leaf_fp_sha_256": "DISPLAY_HEX"
},
"chain": [
{
"fingerprint": "23ecb03eec17338c4e33a6b48a41dc3cda12281bbc3ff813c0589d6cc2387522",
"issuer_dn": "C=US, O=Google Trust Services LLC, CN=GTS Root R1",
"subject_dn": "C=US, O=Google Trust Services LLC, CN=GTS CA 1C3"
},
{
"fingerprint": "3ee0278df71fa3c125c4cd487f01d774694e6fc57e0cd94c24efd769133918e5",
"issuer_dn": "C=BE, O=GlobalSign nv-sa, OU=Root CA, CN=GlobalSign Root CA",
"subject_dn": "C=US, O=Google Trust Services LLC, CN=GTS Root R1"
}
],
"chain_fps_sha_256": [
"23ecb03eec17338c4e33a6b48a41dc3cda12281bbc3ff813c0589d6cc2387522",
"3ee0278df71fa3c125c4cd487f01d774694e6fc57e0cd94c24efd769133918e5"
],
"leaf_data": {
"fingerprint": "5c2d6869e805696c328d7ba5acd7d347b46e1e03d7ed65886bf2df55f41d01fd",
"issuer": {
"common_name": [
"GTS CA 1C3"
],
"country": [
"US"
],
"organization": [
"Google Trust Services LLC"
]
},
"issuer_dn": "C=US, O=Google Trust Services LLC, CN=GTS CA 1C3",
"names": [
"*.dns.google.com",
"8.8.4.4",
"8.8.8.8",
"8888.google",
"dns.google",
"dns.google.com",
"dns64.dns.google"
],
"pubkey_algorithm": "RSA",
"pubkey_bit_size": 2048,
"public_key": {
"fingerprint": "32aadd47f0a4b82e0937afda8e6bbff0d42cf50b9c022539d733ec557c215d3f",
"key_algorithm": "RSA",
"rsa": {
"_encoding": {
"exponent": "DISPLAY_BASE64",
"modulus": "DISPLAY_BASE64"
},
"exponent": "AAEAAQ==",
"length": 256,
"modulus": "modulus"
}
},
"signature": {
"self_signed": false,
"signature_algorithm": "SHA256-RSA"
},
"subject": {
"common_name": [
"dns.google"
]
},
"subject_dn": "CN=dns.google",
"tbs_fingerprint": "35b1bccf3f09b949fd27c9d004bcaef9375956d42f59d17f5c076e18d4910645"
},
"leaf_fp_sha_256": "5c2d6869e805696c328d7ba5acd7d347b46e1e03d7ed65886bf2df55f41d01fd"
},
"cipher_selected": "SELECTED_CIPHER",
"server_key_exchange": {
"ec_params": {
"named_curve": 23
}
},
"session_ticket": {
"length": 221,
"lifetime_hint": 100800
},
"version_selected": "TLSv1_2"
},
"transport_protocol": "TCP",
"truncated": false
}
]
}
},
"DBotScore": {
"Indicator": "8.8.8.8",
"Score": 0,
"Type": "ip",
"Vendor": "CensysV2"
},
"IP": {
"ASN": 15169,
"ASOwner": "GOOGLE",
"Address": "8.8.8.8",
"Geo": {
"Country": "United States",
"Description": "US",
"Location": "37.751:-97.822"
}
}
}

Human Readable Output#

Information for IP 8.8.8.8#

ASNRoutingLast UpdatedNetworkProtocols
151698.8.8.0/242022-08-30T06:39:12.356ZGOOGLE{'Port': 53, 'Service Name': 'DNS'},
{'Port': 443, 'Service Name': 'HTTP'},
{'Port': 853, 'Service Name': 'UNKNOWN'}

cen-search#


Returns previews of hosts matching a specified search query, or a list of certificates that match the given query.

Base Command#

cen-search

Input#

Argument NameDescriptionRequired
queryQuery used to search for hosts with matching attributes. Uses the Censys Search Language.Required
page_sizeThe maximum number of hits to return in each response (minimum of 0, maximum of 100). Default is 50. (Applies for the host search.)Optional
limitThe number of results to return. Default is 50.Optional
indexThe index from which to retrieve data. Possible values are: ipv4, certificates.Required
fieldsThe fields to return. (Applies for the certificates search).Optional
pageThe page to return. (Applies for the certificates search). Default is 1.Optional

Context Output#

PathTypeDescription
Censys.Search.autonomous_system.asnNumberThe autonomous system number (ASN) that the host is in.
Censys.Search.autonomous_system.bgp_prefixStringThe autonomous system's CIDR.
Censys.Search.autonomous_system.country_codeStringhe autonomous system's two-letter, ISO 3166-1 alpha-2 country code (e.g., US, CN, GB, RU).
Censys.Search.autonomous_system.descriptionStringA brief description of the autonomous system.
Censys.Search.autonomous_system.nameStringThe friendly name of the autonomous system.
Censys.Search.ipStringThe host’s IP address.
Censys.Search.location.continentStringThe continent of the host's detected location (e.g., North America, Europe, Asia, South America, Africa, Oceania).
Censys.Search.location.coordinatesUnknownThe estimated coordinates of the host's detected location.
Censys.Search.location.countryStringThe country of the host's detected location.
Censys.Search.location.country_codeStringThe two-letter ISO 3166-1 alpha-2 country code of the host's detected location (e.g., US, CN, GB, RU).
Censys.Search.location.registered_countryStringThe host's registered country.
Censys.Search.location.registered_country_codeStringThe registered country's two-letter, ISO 3166-1 alpha-2 country code (e.g., US, CN, GB, RU).
Censys.Search.location.timezoneStringThe IANA time zone database name of the host's detected location.
Censys.Search.services.portNumberThe port the service was reached at.
Censys.Search.services.service_nameStringThe name of the service on the port. This is typically the L7 protocol (e.g., “HTTP”); however, in the case that a more specific HTTP-based protocol is found (e.g., Kubernetes or Prometheus), the field will show that. This field indicates where protocol-specific data will be located.
Censys.Search.services.transport_protocolStringThe transport protocol (known in OSI model as L4) used to contact this service (i.e., UDP or TCP).
Censys.Search.parsed.fingerprint_sha256StringSHA 256 fingerprint.
Censys.Search.parsed.issuer.organizationUnknownThe organization name.
Censys.Search.parsed.namesUnknownCommon names for the entity.
Censys.Search.parsed.subject_dnStringDistinguished name of the entity that the certificate belongs to.
Censys.Search.parsed.validity.endDateTimestamp of when the certificate expires. Time zone is UTC.
Censys.Search.parsed.validity.startDateTimestamp of when the certificate is first valid. Time zone is UTC.
Censys.Search.parsed.issuer_dnStringDistinguished name of the entity that has signed and issued the certificate.

Command Example#

!cen-search index=certificates query="parsed.issuer.common_name: \"Let's Encrypt\"" limit=1

Context Example#

{
"Censys": {
"Search": {
"parsed": {
"fingerprint_sha256": "f3ade17dffcadd9532aeb2514f10d66e22941393725aa65366ac286df9b1234",
"issuer": {
"organization": [
"Let's Encrypt"
]
},
"issuer_dn": "C=US, O=Let's Encrypt, CN=Let's Encrypt Authority X3",
"names": [
"*.45g4rg43g4fr3434g.gb.net",
"45g4rg43g4fr3434g.gb.net"
],
"subject_dn": "CN=45g4rg43g4fr3434g.gb.net",
"validity": {
"end": "2021-01-10T14:46:11Z",
"start": "2020-10-12T14:46:11Z"
}
}
}
}
}

Human Readable Output#

Search results for query "parsed.issuer.common_name: "Let's Encrypt""#

IssuerIssuer DNNamesSHA256Subject DNValidity
organization: Let's EncryptC=US, O=Let's Encrypt, CN=Let's Encrypt Authority X3*.45g4rg43g4fr3434g.gb.net,
45g4rg43g4fr3434g.gb.net
f3ade17dffcadd9532aeb2514f10d66e22941393725aa65366ac286df9b442ecCN=45g4rg43g4fr3434g.gb.netstart: 2020-10-12T14:46:11Z
end: 2021-01-10T14:46:11Z

Additional Considerations for this Version#

  • This version supports API v2 from Censys.
  • Breaking backward compatibility: The Censys v2 integration does not support websites searches.

ip#


Runs reputation on IPs.

Base Command#

ip

Input#

Argument NameDescriptionRequired
ipIP address or a list of IP addresses to assess reputation.Required

Context Output#

PathTypeDescription
Censys.IP.services.portNumberThe port number associated with the service running on the IP.
Censys.IP.services.transport_protocolStringThe transport protocol used by the service running on the IP.
Censys.IP.services.extended_service_nameStringThe extended name of the service running on the IP.
Censys.IP.services.service_nameStringThe name of the service running on the IP.
Censys.IP.services.certificateStringThe SSL/TLS certificate associated with the service running on the IP.
Censys.IP.labelsStringLabels associated with the IP address (with premium access only).
Censys.IP.dns.reverse_dns.namesStringReverse DNS names associated with the IP address.
Censys.IP.autonomous_system.country_codeStringThe country code of the autonomous system associated with the IP address.
Censys.IP.autonomous_system.descriptionStringDescription of the autonomous system associated with the IP address.
Censys.IP.autonomous_system.nameStringName of the autonomous system associated with the IP address.
Censys.IP.autonomous_system.bgp_prefixStringBGP prefix of the autonomous system associated with the IP address.
Censys.IP.autonomous_system.asnNumberAutonomous System Number (ASN) of the autonomous system associated with the IP address.
Censys.IP.ipStringThe IP address.
Censys.IP.location.countryStringCountry name of the location associated with the IP address.
Censys.IP.location.timezoneStringTime zone of the location associated with the IP address.
Censys.IP.location.provinceStringProvince name of the location associated with the IP address.
Censys.IP.location.coordinates.latitudeNumberLatitude coordinate of the location associated with the IP address.
Censys.IP.location.coordinates.longitudeNumberLongitude coordinate of the location associated with the IP address.
Censys.IP.location.continentStringContinent name of the location associated with the IP address.
Censys.IP.location.postal_codeStringPostal code of the location associated with the IP address.
Censys.IP.location.cityStringCity name of the location associated with the IP address.
Censys.IP.location.country_codeStringCountry code of the location associated with the IP address.
Censys.IP.last_updated_atDateThe date and time when the information about the IP address was last updated.
IP.AddressunknownThe IP address.
IP.ASNunknownThe IP ASN.
IP.Geo.CountryunknownThe IP country.
IP.Geo.LocationunknownThe IP location.
IP.UpdatedDateunknownThe IP last update
IP.PortunknownThe IP port
DBotScore.IndicatorunknownThe indicator that was tested.
DBotScore.TypeunknownThe indicator type.
DBotScore.ScoreNumberThe actual score.
DBotScore.ReliabilityStringReliability of the source providing the intelligence data.
DBotScore.VendorunknownThe vendor used to calculate the score.

Command example#

!ip ip=8.8.8.8,8.8.4.4

Context Example#

{
"services": [
{
"port": 53,
"transport_protocol": "UDP",
"extended_service_name": "DNS",
"service_name": "DNS"
},
{
"certificate": "5a7763efee07b08b18a4af2796bfaac46641a2f15c98e88c3d79fa9a06adfc87",
"extended_service_name": "HTTPS",
"port": 443,
"transport_protocol": "TCP",
"service_name": "HTTP"
},
{
"service_name": "UNKNOWN",
"transport_protocol": "QUIC",
"extended_service_name": "UNKNOWN",
"port": 443
},
{
"transport_protocol": "TCP",
"service_name": "UNKNOWN",
"port": 853,
"certificate": "5a7763efee07b08b18a4af2796bfaac46641a2f15c98e88c3d79fa9a06adfc87",
"extended_service_name": "UNKNOWN"
}
],
"labels": ["database","email","file-sharing","iot","login-page"],
"dns": {
"reverse_dns": {
"names": [
"dns.google"
]
}
},
"autonomous_system": {
"country_code": "US",
"description": "GOOGLE",
"name": "GOOGLE",
"bgp_prefix": "8.8.8.0/24",
"asn": 15169
},
"ip": "8.8.8.8",
"location": {
"country": "United States",
"timezone": "America/Los_Angeles",
"province": "California",
"coordinates": {
"latitude": 37.4056,
"longitude": -122.0775
},
"continent": "North America",
"postal_code": "94043",
"city": "Mountain View",
"country_code": "US"
},
"last_updated_at": "2024-04-07T02:16:23.015Z"
}

Human Readable Output#

censys results for IP: 8.8.8.8#

AsnGeo CountryGeo LatitudeGeo LongitudeIpPortReputationUpdated
15169United States37.4056-122.07758.8.8.853, 443, 443, 85302024-04-14T08:03:28.159Z

domain#


Return all related IPs as relationships.

Base Command#

domain

Input#

Argument NameDescriptionRequired
domainDomain to check.Required

Context Output#

PathTypeDescription
Censys.Domain.location.postal_codeStringThe postal code of the location associated with the domain.
Censys.Domain.location.provinceStringThe province name of the location associated with the domain.
Censys.Domain.location.country_codeStringThe country code of the location associated with the domain.
Censys.Domain.location.timezoneStringThe time zone of the location associated with the domain.
Censys.Domain.location.countryStringThe country name of the location associated with the domain.
Censys.Domain.location.coordinates.longitudeNumberThe longitude coordinate of the location associated with the domain.
Censys.Domain.location.coordinates.latitudeNumberThe latitude coordinate of the location associated with the domain.
Censys.Domain.location.continentStringThe continent name of the location associated with the domain.
Censys.Domain.location.cityStringThe city name of the location associated with the domain.
Censys.Domain.autonomous_system.country_codeStringThe country code of the autonomous system associated with the domain.
Censys.Domain.autonomous_system.asnNumberThe Autonomous System Number (ASN) associated with the domain.
Censys.Domain.autonomous_system.nameStringThe name of the autonomous system associated with the domain.
Censys.Domain.autonomous_system.bgp_prefixStringThe BGP prefix of the autonomous system associated with the domain.
Censys.Domain.autonomous_system.descriptionStringThe description of the autonomous system associated with the domain.
Censys.Domain.services.transport_protocolStringThe transport protocol used by the service associated with the domain.
Censys.Domain.services.extended_service_nameStringThe extended name of the service associated with the domain.
Censys.Domain.services.portNumberThe port number associated with the service associated with the domain.
Censys.Domain.services.service_nameStringThe name of the service associated with the domain.
Censys.Domain.services.certificateStringThe SSL/TLS certificate associated with the service associated with the domain.
Censys.Domain.last_updated_atDateThe date and time when the information about the domain was last updated.
Censys.Domain.ipStringThe IP address associated with the domain.
Censys.Domain.dns.reverse_dns.namesStringThe reverse DNS names associated with the domain.
Domain.Namestring.The domain.
Domain.Relationships.EntityAstring.The domain name.
Domain.Relationships.EntityATypestring.The entity type.
Domain.Relationships.EntityBstring.The entity B.
Domain.Relationships.EntityBTypestring.The entity B type.
Domain.Relationships.Relationshipstring.The relationship type.
DBotScore.IndicatorunknownThe indicator that was tested.
DBotScore.TypeunknownThe indicator type.
DBotScore.ScoreunknownThe actual score.
DBotScore.VendorunknownThe vendor used to calculate the score.

Command example#

!domain domain=amazon.com,facebook.com

Context Example#

{
"code": 200,
"status": "OK",
"result": {
"query": "dns.names=amazon.com",
"total": 3,
"duration": 239,
"hits": [
{
"location": {
"province": "Virginia",
"country": "United States",
"coordinates": {
"longitude": -77.48749,
"latitude": 39.04372
},
"timezone": "America/New_York",
"country_code": "US",
"continent": "North America",
"postal_code": "20147",
"city": "Ashburn"
},
"autonomous_system": {
"description": "AMAZON-02",
"bgp_prefix": "1.1.1.1",
"name": "AMAZON-02",
"country_code": "US",
"asn": 16509
},
"services": [
{
"port": 80,
"transport_protocol": "TCP",
"service_name": "HTTP",
"extended_service_name": "HTTP"
},
{
"transport_protocol": "TCP",
"certificate": "XXXXXXX",
"extended_service_name": "HTTPS",
"service_name": "HTTP",
"port": 443
}
],
"last_updated_at": "2024-04-06T16:57:13.170Z",
"ip": "1.1.1.1."
},
{
"ip": "1.1.1.1",
"services": [
{
"port": 80,
"transport_protocol": "TCP",
"service_name": "HTTP",
"extended_service_name": "HTTP"
},
{
"port": 443,
"transport_protocol": "TCP",
"extended_service_name": "HTTPS",
"service_name": "HTTP",
"certificate": "XXXXXXX"
}
],
"dns": {
"reverse_dns": {
"names": [
"s3-console-us-standard.console.aws.amazon.com"
]
}
},
"location": {
"province": "Virginia",
"postal_code": "20147",
"country": "United States",
"timezone": "America/New_York",
"continent": "North America",
"city": "Ashburn",
"country_code": "US",
"coordinates": {
"latitude": 39.04372,
"longitude": -77.48749
}
},
"autonomous_system": {
"country_code": "US",
"bgp_prefix": "1.1.1.1",
"asn": 16509,
"description": "AMAZON-02",
"name": "AMAZON-02"
},
"last_updated_at": "2024-04-06T16:57:13.171Z"
},
{
"location": {
"postal_code": "20147",
"province": "Virginia",
"country_code": "US",
"timezone": "America/New_York",
"country": "United States",
"coordinates": {
"longitude": -77.48749,
"latitude": 39.04372
},
"continent": "North America",
"city": "Ashburn"
},
"last_updated_at": "2024-04-06T16:57:13.170Z",
"autonomous_system": {
"country_code": "US",
"asn": 16509,
"name": "AMAZON-02",
"bgp_prefix": "1.1.1.1",
"description": "AMAZON-02"
},
"services": [
{
"transport_protocol": "TCP",
"extended_service_name": "HTTP",
"port": 80,
"service_name": "HTTP"
},
{
"extended_service_name": "HTTPS",
"transport_protocol": "TCP",
"certificate": "XXXXXX",
"service_name": "HTTP",
"port": 443
}
],
"ip": "1.1.1.1"
}
],
"links": {
"next": "",
"prev": ""
}
}
}

Human Readable Output#

Domain
amazon.com