Expanse (Deprecated)
#
This Integration is part of the Expanse (Deprecated) Pack.Deprecated
Use the Expanse v2 integration instead.
#
OverviewThe Expanse App for Cortex XSOAR leverages the Expander API to retrieve network exposures and create incidents in Cortex XSOAR. This application also allows for IP, Domain, Certificate, and Behavior enrichment, retrieving assets and exposures information drawn from Expanse’s unparalleled view of the Internet. This integration was integrated and tested with Expanse Events API v1, Assets API v2, and Behavior API v1.
#
Configure Expanse on Cortex XSOAR- Navigate to Settings > Integrations > Servers & Services.
- Search for Expanse.
- Click Add instance to create and configure a new integration instance.
- Name: a textual name for the integration instance.
- API Key
- Fetch incidents
- Include Behavior data in incidents
- Trust any certificate (not secure)
- Use system proxy settings
- How many events to pull from Expander per run
- How many days to pull past events on first run
- Minimum severity of Expanse Exposure to create an incident for
- Click Test to validate the URLs, token, and connection.
#
Fetched Incidents Data#
Fetched Behavior Incident Data#
CommandsYou 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.
- ip
- domain
- expanse-get-certificate
- expanse-get-behavior
- expanse-get-exposures
- expanse-get-domains-for-certificate
#
1. ipip command
#
Required Permissionsnone
#
Base Commandip
#
InputArgument Name | Description | Required |
---|---|---|
ip | ip address | Required |
#
Context OutputPath | Type | Description |
---|---|---|
IP.Address | String | Internet Protocol Address |
IP.Geo.Location | String | The geolocation where the IP address is located, in the format: latitude:longitude |
IP.Geo.Country | String | The country in which the IP address is located. |
IP.Geo.Description | String | Additional information about the location |
Expanse.IP.Address | String | Internet Protocol Address |
Expanse.IP.Version | String | Internet Protocol Address Version |
Expanse.IP.BusinessUnits | String | Expanse Business Units this IP belongs to |
Expanse.IP.IPRange.StartAdress | String | First IP address in IP Network this IP address belongs to |
Expanse.IP.IPRange.EndAddress | String | Last IP address in IP Network this IP address belongs to |
Expanse.IP.IPRange.RangeSize | Number | Number of IP addresses in IP Network this IP address belongs to |
Expanse.IP.IPRange.ResponsiveIPCount | Number | Number of responsive IP addresses in IP Network this IP address belongs to |
Expanse.IP.IPRange.RangeIntroduced | Date | Date the IP network this IP address belongs to was introduced to Expanse |
Expanse.IP.IPRange.AttributionReasons | String | The reason why this IP belongs to the IP Range |
Expanse.IP.Geo.Latitude | String | Geo coordinates: Latitude of IP address |
Expanse.IP.Geo.Longitude | String | Geo coordinates: Longitude of IP address |
Expanse.IP.Geo.City | String | Geo coordinates city for this IP address |
Expanse.IP.Geo.RegionCode | String | Geo coordinates Region Code for this IP address |
Expanse.IP.Geo.CountryCode | String | Geo coordinates Country Code for this IP address |
Expanse.IP.Annotations.Tags | String | Customer defined Tags from Expanse related to this IP Range |
Expanse.IP.Annotations.AdditionalNotes | String | Customer defined Notes from Expanse related to this IP Range |
Expanse.IP.Annotations.PointsOfContact | String | Customer defined Points of Contact from Expanse related to this IP Range |
Expanse.IP.SeverityCounts.CRITICAL | Number | Count of CRITICAL Events for this IP address |
Expanse.IP.SeverityCounts.ROUTINE | Number | Count of ROUTINE Events for this IP address |
Expanse.IP.SeverityCounts.WARNING | Number | Count of WARNING Events for this IP address |
Expanse.IP.Geo.Description | String | Additional information about the location |
Expanse.IP.Geo.Country | String | The country in which the IP address is located. |
#
Command Example!ip ip=74.142.119.130
#
Context Example#
Human Readable Output#
IP information for: 74.142.119.130Address | Annotations | BusinessUnits | Geo | IPRange | SeverityCounts | Version |
---|---|---|---|---|---|---|
74.142.119.130 | AdditionalNotes: null PointsOfContact: null Tags: null | Acme Latex Supply | Description: AKRON Latitude: 41.0433 Longitude: -81.5239 City: AKRON RegionCode: OH CountryCode: US Location: 41.0433:-81.5239 | StartAddress: 74.142.119.128 EndAddress: 74.142.119.135 RangeSize: 8 ResponsiveIPCount: 2 RangeIntroduced: 2019-08-02 AttributionReasons: This parent range is attributed via IP network registration records for 74.142.119.128–74.142.119.135 | CRITICAL: 1 ROUTINE: 4 WARNING: 2 | 4 |
#
2. domaindomain command
#
Required Permissionsnone
#
Base Commanddomain
#
InputArgument Name | Description | Required |
---|---|---|
domain | domain to search | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Domain.Name | String | The domain name, for example: "google.com |
Domain.DNS | String | A list of IP objects resolved by DNS |
Domain.CreationDate | Date | The date that the domain was created |
Domain.DomainStatus | String | The status of the domain |
Domain.ExpirationDate | Date | The expiration date of the domain |
Domain.NameServers | String | Name servers of the domain |
Domain.Organization | String | The organization of the domain |
Domain.Admin.Country | String | The country of the domain administrator |
Domain.Admin.Email | String | The email of the domain administrator |
Domain.Admin.Name | String | The name of the domain administrator |
Domain.Admin.Phone | String | The phone of the domain administrator |
Domain.Registrant.Country | String | The country of the registrant |
Domain.Registrant.Email | String | The email of the registrant |
Domain.Registrant.Name | String | The name of the registrant |
Domain.Registrant.Phone | String | The phone of the registrant |
Domain.WHOIS.DomainStatus | String | The status of the domain |
Domain.WHOIS.NameServers | String | A list of name servers, for example: "ns1.bla.com, ns2.bla.com" |
Domain.WHOIS.CreationDate | Date | The date that the domain was created |
Domain.WHOIS.UpdatedDate | Date | The date that the domain was last updated |
Domain.WHOIS.ExpirationDate | Date | The date that the domain expires |
Domain.WHOIS.Registrant.Email | String | The email address of the registrant |
Domain.WHOIS.Registrant.Name | String | The name of the registrant |
Domain.WHOIS.Registrant.Phone | String | The phone of the registrant |
Domain.WHOIS.Registrar.Name | String | The name of the registrar, for example: "GoDaddy" |
Domain.WHOIS.Registrar.AbuseEmail | String | The email address of the contact for reporting abuse |
Domain.WHOIS.Registrar.AbusePhone | Unknown | The phone number of contact for reporting abuse |
Domain.WHOIS.Admin.Name | String | The name of the domain administrator |
Domain.WHOIS.Admin.Email | String | The email address of the domain administrator |
Domain.WHOIS.Admin.Phone | Unknown | The phone number of the domain administrator |
Expanse.Domain.Name | String | The domain name, for example: "google.com |
Expanse.Domain.DateAdded | Date | Date the domain was added to Expanse |
Expanse.Domain.FirstObserved | Date | Date Expanse first observed the domain |
Expanse.Domain.LastObserved | Date | Date Expanse last observed the domain |
Expanse.Domain.HasLinkedCloudResources | Boolean | Does this domain have linked cloud resources ? |
Expanse.Domain.SourceDomain | String | Top level domain |
Expanse.Domain.Tenant | String | Customer defined Tenant from Expanse |
Expanse.Domain.BusinessUnits | String | Customer defined Business Units from Expanse |
Expanse.Domain.DNSSEC | String | DNSSEC info |
Expanse.Domain.RecentIPs | String | Any recent IP addresses Expanse has seen for this domain |
Expanse.Domain.CloudResources | String | Any Cloud Resources Expanse has seen for this domain |
Expanse.Domain.LastSubdomainMetadata | String | Any recent subdomain metadata Expanse has seen for this domain |
Expanse.Domain.ServiceStatus | String | Service Status Expanse sees for this domain |
Expanse.Domain.LastSampledIP | String | Last seen IP address for this domain |
Expanse.Domain.DNS | String | A list of IP objects resolved by DNS |
Expanse.Domain.CreationDate | Date | The date that the domain was created |
Expanse.Domain.DomainStatus | String | The status of the domain |
Expanse.Domain.ExpirationDate | Date | The expiration date of the domain |
Expanse.Domain.NameServers | String | Name servers of the domain |
Expanse.Domain.Organization | String | The organization of the domain |
Expanse.Domain.Admin.Country | String | The country of the domain administrator |
Expanse.Domain.Admin.Email | String | The email address of the domain administrator |
Expanse.Domain.Admin.Name | String | The name of the domain administrator |
Expanse.Domain.Admin.Phone | String | The phone number of the domain administrator |
Expanse.Domain.Registrant.Country | String | The country of the registrant |
Expanse.Domain.Registrant.Email | String | The email address of the registrant |
Expanse.Domain.Registrant.Name | String | The name of the registrant |
Expanse.Domain.Registrant.Phone | String | The phone number for receiving abuse reports |
Expanse.Domain.WHOIS.DomainStatus | String | The status of the domain |
Expanse.Domain.WHOIS.NameServers | String | A list of name servers, for example: "ns1.bla.com, ns2.bla.com" |
Expanse.Domain.WHOIS.CreationDate | Date | The date that the domain was created |
Expanse.Domain.WHOIS.UpdatedDate | String | The date that the domain was last updated |
Expanse.Domain.WHOIS.ExpirationDate | String | The date that the domain expires |
Expanse.Domain.WHOIS.Registrant.Email | String | The email address of the registrant |
Expanse.Domain.WHOIS.Registrant.Name | String | The name of the registrant |
Expanse.Domain.WHOIS.Registrant.Phone | String | The phone number of the registrant |
Expanse.Domain.WHOIS.Registrar.Name | String | The name of the registrar, for example: "GoDaddy" |
Expanse.Domain.WHOIS.Registrar.AbuseEmail | String | The email address of the contact for reporting abuse |
Expanse.Domain.WHOIS.Registrar.AbusePhone | String | The phone number of contact for reporting abuse |
Expanse.Domain.WHOIS.Admin.Name | String | The name of the domain administrator |
Expanse.Domain.WHOIS.Admin.Email | String | The email address of the domain administrator |
Expanse.Domain.WHOIS.Admin.Phone | String | The phone number of the domain administrator |
#
Command Example!domain domain=atlas.enron.com
#
Context Example#
Human Readable Output#
Domain information for: atlas.enron.comAdmin | BusinessUnits | CloudResources | CreationDate | DNS | DNSSEC | DateAdded | DomainStatus | ExpirationDate | FirstObserved | HasLinkedCloudResources | LastObserved | LastSampledIP | LastSubdomainMetadata | Name | NameServers | Organization | RecentIPs | Registrant | ServiceStatus | SourceDomain | Tenant | WHOIS |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Country: UNITED STATES Email: ENRON.COM@domainsbyproxy.com Name: Registration Private Phone: 14806242599 | VanDelay Industries | 1995-10-10T04:00:00Z | 2020-01-04T04:57:48.580Z | HAS_DNS_RESOLUTION | 2019-10-10T04:00:00Z | 2020-01-02T09:30:00.374Z | false | 2020-01-02T09:30:00.374Z | 192.64.147.150 | atlas.enron.com | NS73.DOMAINCONTROL.COM, NS74.DOMAINCONTROL.COM | Domains By Proxy, LLC | Country: UNITED STATES Email: ENRON.COM@domainsbyproxy.com Name: Registration Private Phone: 14806242599 | NO_ACTIVE_SERVICE, NO_ACTIVE_CLOUD_SERVICE, NO_ACTIVE_ON_PREM_SERVICE | enron.com | VanDelay Industries | DomainStatus: clientDeleteProhibited clientRenewProhibited clientTransferProhibited clientUpdateProhibited NameServers: NS73.DOMAINCONTROL.COM, NS74.DOMAINCONTROL.COM CreationDate: 1995-10-10T04:00:00Z UpdatedDate: 2015-07-29T16:20:56Z ExpirationDate: 2019-10-10T04:00:00Z Registrant: {"Email": "ENRON.COM@domainsbyproxy.com", "Name": "Registration Private", "Phone": "14806242599"} Registrar: {"Name": "GoDaddy.com, LLC", "AbuseEmail": null, "AbusePhone": null} Admin: {"Name": "Registration Private", "Email": "ENRON.COM@domainsbyproxy.com", "Phone": "14806242599"} |
#
3. expanse-get-certificateexpanse-get-certificate command
#
Required Permissionsnone
#
Base Commandexpanse-get-certificate
#
InputArgument Name | Description | Required |
---|---|---|
common_name | domain to search | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Expanse.Certificate.SearchTerm | string | The common name searched for |
Expanse.Certificate.CommonName | string | The certificate common name |
Expanse.Certificate.FirstObserved | date | Certificate first observation date |
Expanse.Certificate.LastObserved | date | Certificate last observation date |
Expanse.Certificate.DateAdded | date | Date certificate was added to Expanse |
Expanse.Certificate.Provider | string | The certificate provider |
Expanse.Certificate.NotValidBefore | date | Certificate not-valid-before date |
Expanse.Certificate.NotValidAfter | date | Certificate not-valid-after date |
Expanse.Certificate.Properties | string | Certificate properties |
Expanse.Certificate.MD5Hash | string | Certificate MD5 Hash |
Expanse.Certificate.PublicKeyAlgorithm | string | Certificate public key algorithm used |
Expanse.Certificate.PublicKeyBits | number | Public key size |
Expanse.Certificate.BusinessUnits | string | Business Unit for certificate |
Expanse.Certificate.CertificateAdvertisementStatus | string | Is Certificate advertised |
Expanse.Certificate.ServiceStatus | string | Any detected services for the certificate |
Expanse.Certificate.RecentIPs | string | Any recent IPs the certificate was detected on |
Expanse.Certificate.CloudResources | string | Any cloud resources returning the certificate |
Expanse.Certificate.PemSha1 | string | SHA1 hash of the certificate PEM |
Expanse.Certificate.PemSha256 | string | SHA256 hash of the certificate PEM |
Expanse.Certificate.Issuer.Name | string | Certificate Issuer name |
Expanse.Certificate.Issuer.Email | string | Certificate Issuer email |
Expanse.Certificate.Issuer.Country | string | Certificate Issuer country |
Expanse.Certificate.Issuer.Org | string | Certificate Issuer Org |
Expanse.Certificate.Issuer.Unit | string | Certificate Issuer Unit |
Expanse.Certificate.Issuer.AltNames | string | Certificate Issuer alternative names |
Expanse.Certificate.Issuer.Raw | string | Certificate Issuer raw details |
Expanse.Certificate.Subject.Name | string | Certificate Subject name |
Expanse.Certificate.Subject.Email | string | Certificate Subject email |
Expanse.Certificate.Subject.Country | string | Certificate Subject country |
Expanse.Certificate.Subject.Org | string | Certificate Subject Org |
Expanse.Certificate.Subject.Unit | string | Certificate Subject Unit |
Expanse.Certificate.Subject.AltNames | string | Certificate Subject alternative names |
Expanse.Certificate.Subject.Raw | string | Certificate Subject raw details |
#
Command Example!expanse-get-certificate common_name=atlas.enron.com
#
Context Example#
Human Readable Output#
Certificate information for: atlas.enron.comBusinessUnits | CertificateAdvertisementStatus | CloudResources | CommonName | DateAdded | FirstObserved | Issuer | LastObserved | MD5Hash | NotValidAfter | NotValidBefore | PemSha1 | PemSha256 | Properties | Provider | PublicKeyAlgorithm | PublicKeyBits | RecentIPs | SearchTerm | ServiceStatus | Subject |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
VanDelay Industries | NO_CERTIFICATE_ADVERTISEMENT | atlas.enron.com | 2019-11-21T09:14:27.308679Z | Name: Let's Encrypt Authority X3 Email: null Country: US Org: Let's Encrypt Unit: null AltNames: Raw: C=US,O=Let's Encrypt,CN=Let's Encrypt Authority X3 | VEwAbJfmIFAVcZ_x4lm42g== | 2019-03-31T00:27:46Z | 2018-12-31T00:27:46Z | 3LAYlmV3xtn4ONJ3C9JN_ogz0u8= | kyERnydF-dzOuCCpG4jDnkGr4fI2a--lBZQz2hyhb30= | EXPIRED | None | RSA | 2048 | atlas.enron.com | NO_ACTIVE_SERVICE,NO_ACTIVE_ON_PREM_SERVICE,NO_ACTIVE_CLOUD_SERVICE | Name: atlas.enron.com Email: ENRON.COM@domainsbyproxy.com Country: US Org: null Unit: null AltNames: atlas.enron.com Raw: CN=atlas.enron.com |
#
4. expanse-get-behaviorexpanse-get-behavior command
#
Required Permissionsnone
#
Base Commandexpanse-get-behavior
#
InputArgument Name | Description | Required |
---|---|---|
ip | ip to search | Required |
start_time | ISO-8601 UTC timestamp denoting the earliest behavior data to fetch | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Expanse.Behavior.SearchTerm | string | IP used to search |
Expanse.Behavior.InternalAddress | string | IP internal to Organization |
Expanse.Behavior.InternalCountryCode | string | Internal IP Country Geolocation country |
Expanse.Behavior.BusinessUnit | string | Buisness unit of IP |
Expanse.Behavior.InternalDomains | string | Known domains associated with IP |
Expanse.Behavior.InternalIPRanges | string | Known Internal IP ranges containing IP |
Expanse.Behavior.InternalExposureTypes | string | Known Exposures for IP |
Expanse.Behavior.ExternalAddresses | string | External IP addresses with known communication to IP |
Expanse.Behavior.FlowSummaries | string | Summaries of most recents risky flows for IP |
Expanse.Behavior.Flows | string | Array of Flow Objects |
Expanse.Behavior.Flows.InternalAddress | string | Internal IP address for flow |
Expanse.Behavior.Flows.InternalPort | number | Internal Port for flow |
Expanse.Behavior.Flows.InternalCountryCode | string | Internal country code for flow |
Expanse.Behavior.Flows.ExternalAddress | string | External IP address for flow |
Expanse.Behavior.Flows.ExternalPort | number | External Port for flow |
Expanse.Behavior.Flows.ExternalCountryCode | string | External country code for flow |
Expanse.Behavior.Flows.Timestamp | date | Timestamp of flow |
Expanse.Behavior.Flows.Protocol | string | Protocol of flow (UDP, TCP) |
Expanse.Behavior.Flows.Direction | string | Direction of flow |
Expanse.Behavior.Flows.RiskRule | string | Risk rule violated by flow |
#
Command Example!expanse-get-behavior ip=74.142.119.130 start_time=7
#
Context Example#
Human Readable Output#
Expanse Behavior information for: 74.142.119.130BusinessUnit | ExternalAddresses | FlowSummaries | InternalAddress | InternalCountryCode | InternalDomains | InternalExposureTypes | InternalIPRanges | SearchTerm |
---|---|---|---|---|---|---|---|---|
VanDelay Industries | 66.110.49.36,66.110.49.72 | 74.142.119.130:57475 (US) -> 66.110.49.72:443 (CA) TCP violates Outbound Flows from Servers at 2020-04-05T21:18:56.889Z 74.142.119.130:61694 (US) -> 66.110.49.36:443 (CA) TCP violates Outbound Flows from Servers at 2020-04-05T21:03:50.867Z | 74.142.119.130 | US | HttpServer | 74.142.119.130 |
#
4. expanse-get-exposuresexpanse-get-exposures command
#
Required Permissionsnone
#
Base Commandexpanse-get-exposures
#
InputArgument Name | Description | Required |
---|---|---|
ip | ip to search | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Expanse.Exposures.SearchTerm | string | IP used to search |
Expanse.Exposures.TotalExposureCount | number | The total count of exposures for the IP |
Expanse.Exposures.CriticalExposureCount | number | The total count of CRITICAL exposures for the IP |
Expanse.Exposures.WarningExposureCount | number | The total count of WARNING exposures for the IP |
Expanse.Exposures.RoutineExposureCount | number | The total count of ROUTINE exposures for the IP |
Expanse.Exposures.UnknownExposureCount | number | The total count of UNKNOWN exposures for the IP |
Expanse.Exposures.ExposureSummaries | string | Summaries of exposures for the IP address |
Expanse.Exposures.Exposures | unknown | Array of Exposures for the IP address |
Expanse.Exposures.Exposures.ExposureType | string | Exposure type of the Exposure |
Expanse.Exposures.Exposures.BusinessUnit | string | Business Unit of the Exposure |
Expanse.Exposures.Exposures.Ip | string | IP Address the Exposure was found on |
Expanse.Exposures.Exposures.Port | string | Port the Exposure was found on |
Expanse.Exposures.Exposures.Severity | string | Severity of the Exposure |
Expanse.Exposures.Exposures.Certificate | unknown | Certificate details associated with Exposure |
Expanse.Exposures.Exposures.FirstObservsation | unknown | First Observation of the Exposure |
Expanse.Exposures.Exposures.LastObservsation | unknown | Last Observation of the Exposure |
Expanse.Exposures.Exposures.Status | unknown | Status details of the Exposure |
Expanse.Exposures.Exposures.Provider | unknown | Provider details of the Exposure |
#
Command Example!expanse-get-exposures ip=33.2.243.123
#
Context Example#
Human Readable Output#
Expanse Exposure information for: 33.2.243.123CriticalExposureCount | ExposureSummaries | RoutineExposureCount | SearchTerm | TotalExposureCount | UnknownExposureCount | WarningExposureCount |
---|---|---|---|---|---|---|
0 | NTP_SERVER exposure on 33.2.243.123:UDP123 | 1 | 33.2.243.123 | 1 | 0 | 0 |
#
4. expanse-get-domains-for-certificateexpanse-get-domains-for-certificate command
#
Required Permissionsnone
#
Base Commandexpanse-get-domains-for-certificate
#
InputArgument Name | Description | Required |
---|---|---|
common_name | The certificate common name | Required |
#
Context OutputPath | Type | Description |
---|---|---|
Expanse.IPDomains.SearchTerm | string | The common name that was searched |
Expanse.IPDomains.TotalDomainCount | number | The number of domains found matching the specified certificate |
Expanse.IPDomains.FlatDomainList | number | An array of all domain names found. This is truncated at 50 |
Expanse.IPDomains.DomainList | number | An array of domain objects. This is truncated at 50 |
#
Command Example!expanse-get-domains-for-certificate common_name="*.us.expanse.co"
#
Context Example#
Human Readable Output#
Expanse Domains matching Certificate Common Name: *.us.expanse.coFlatDomainList | SearchTerm | TotalDomainCount |
---|---|---|
california.us.expanse.co, dc.us.expanse.co | *.us.expanse.co | 2 |
#
Contact DetailsFor Product Support, please contact your Technical Account Manager or email help@expanseinc.com