Ubika Cloud Protector Next Generation
Overview
Ubika Cloud Protector Next Generation offers cutting-edge security for cloud environments, leveraging artificial intelligence to detect and neutralize threats in real-time. Its user-friendly interface and seamless integration enhance overall cybersecurity, empowering businesses to safeguard their data effortlessly. Protect your cloud assets with unparalleled reliability and advanced defense capabilities.
- Vendor:Ubika
- Supported environment: SaaS
- Detection based on: Alert
- Supported application or feature: Web application firewall logs
Warning
Important note - This format is currently in beta. We highly value your feedback to improve its performance.
Configure
How to create refresh token
Warning
The device code is valid during 10 minutes only
- Log in the Ubika console
-
Execute the following command to get the device code
curl https://login.ubika.io/auth/realms/main/protocol/openid-connect/auth/device -d "client_id=rest-api" -d "grant_type=device" -d "scope=offline_access"
-
Copy the
user code
, provided in the response, and paste it on the Ubika authentication - Copy the
device code
, provided in the curl response -
Execute the following command to get the
refresh token
curl https://login.ubika.io/auth/realms/main/protocol/openid-connect/token -d "client_id=rest-api" -d "grant_type=urn:ietf:params:oauth:grant-type:device_code" -d "device_code=<device_code>"
-
Copy the
refresh token
- Log in the Ubika console
- Save the script as
get_token.py
-
Create a virtual environment and execute the script
python3 -m venv /tmp/venv /tmp/venv/bin/pip install requests /tmp/venv/bin/python3 get_token.py
-
Copy the
refresh token
Create your intake
- Go to the intake page and create a new intake from the
Ubika Cloud Protector Next Generation
. - Set the intake account configuration with the
namespace
andrefresh token
from theHow to create refresh token
step
Enjoy your events on the Events page
Raw Events Samples
In this section, you will find examples of raw logs as generated natively by the source. These examples are provided to help integrators understand the data format before ingestion into Sekoia.io. It is crucial for setting up the correct parsing stages and ensuring that all relevant information is captured.
{
"logAlertUid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"timestamp": "1722437038823",
"request": {
"uid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"body": "",
"hostname": "example.com",
"method": "GET",
"path": "/",
"headers": [
{
"key": "some-headers",
"value": "some value"
}
],
"cookies": [],
"ipSource": "1.2.3.4",
"query": "a=cmd.exe"
},
"context": {
"assetName": "my-asset",
"assetNamespace": "my-namespace",
"reaction": "BLOCKED"
},
"uid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"tokens": {
"openapi3Name": "",
"openapi3Uid": "",
"openapi3ErrorType": "",
"openapi3ErrorDetails": "",
"part": "Multiple",
"reason": "ICX Engine: Command Injection in Var_GET \"a\"",
"customMessage": "",
"engineUid": "icxEngine",
"engineName": "ICX Engine",
"matchingParts": [
{
"part": "Var_GET",
"partKey": "a",
"partKeyOperator": "regexp",
"partKeyPattern": ".*",
"partKeyPatternUid": "",
"partKeyPatternName": "",
"partKeyPatternVersion": "",
"partKeyMatch": "a",
"partValue": "cmd.exe",
"partValuePattern": "",
"partValueOperator": "pattern",
"partValuePatternUid": "CommandInjectionProprietaryPattern_CI-xxxxx-x.xx.x",
"partValuePatternName": "Command Injection",
"partValuePatternVersion": "CI-xxxxx-x.xx.x",
"partValueMatch": "cmd.exe",
"scoringlistRuleId": "",
"scoringlistRuleWeight": 0
}
],
"attackFamily": "Command Injection",
"icxPolicyUid": "default_x.xx.x",
"icxRuleName": "Command Injection",
"icxRuleUid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"websocketOpcode": "",
"websocketFrom": "",
"canonSearchType": "",
"eaPolicyUid": "",
"eaPolicyName": "",
"eaStaticPolicyUid": "",
"eaRuleId": "",
"eaRuleName": "",
"eaTotalScore": 0
}
}
{
"logAlertUid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"timestamp": "1747326567848",
"request": {
"uid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"body": "",
"hostname": "example.cloud",
"method": "GET",
"path": "/api/.env",
"headers": [
{
"key": "x-request-id",
"value": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
},
{
"key": "x-real-ip",
"value": "1.2.3.4"
},
{
"key": "x-ubika-data",
"value": "1"
},
{
"key": "host",
"value": "example.cloud"
},
{
"key": "accept",
"value": "*/*"
},
{
"key": "accept-encoding",
"value": "gzip, deflate"
},
{
"key": "user-agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3"
}
],
"cookies": [],
"ipSource": "1.2.3.4",
"query": ""
},
"context": {
"assetName": "testAsset",
"assetNamespace": "sekoia",
"reaction": "BLOCKED"
},
"uid": "xxxxxxxxxxxxxxxxxxxxx",
"tokens": {
"openapi3Name": "",
"openapi3Uid": "",
"openapi3ErrorType": "",
"openapi3ErrorDetails": "",
"part": "Multiple",
"reason": "ICX Engine: Path Traversal in Path",
"customMessage": "",
"engineUid": "icxEngine",
"engineName": "ICX Engine",
"matchingParts": [
{
"part": "Path",
"partKey": "",
"partKeyOperator": "",
"partKeyPattern": "",
"partKeyPatternUid": "",
"partKeyPatternName": "",
"partKeyPatternVersion": "",
"partKeyMatch": "",
"partValue": "/api/.env",
"partValuePattern": "",
"partValueOperator": "pattern",
"partValuePatternUid": "PathTraversalOnUriProprietaryPattern_PToU-xxxxx-x.xx.x",
"partValuePatternName": "Path transversal on URI",
"partValuePatternVersion": "PToU-xxxxx-x.xx.x",
"partValueMatch": "/.env",
"scoringlistRuleId": "",
"scoringlistRuleWeight": 0
}
],
"attackFamily": "Path Traversal",
"icxPolicyUid": "default_3.47.0",
"icxRuleName": "Path transversal",
"icxRuleUid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"websocketOpcode": "",
"websocketFrom": "",
"canonSearchType": "",
"eaPolicyUid": "",
"eaPolicyName": "",
"eaStaticPolicyUid": "",
"eaRuleId": "",
"eaRuleName": "",
"eaTotalScore": 0
}
}
Detection section
The following section provides information for those who wish to learn more about the detection capabilities enabled by collecting this intake. It includes details about the built-in rule catalog, event categories, and ECS fields extracted from raw events. This is essential for users aiming to create custom detection rules, perform hunting activities, or pivot in the events page.
Related Built-in Rules
The following Sekoia.io built-in rules match the intake Ubika Cloud Protector Next Generation [BETA]. This documentation is updated automatically and is based solely on the fields used by the intake which are checked against our rules. This means that some rules will be listed but might not be relevant with the intake.
SEKOIA.IO x Ubika Cloud Protector Next Generation [BETA] on ATT&CK Navigator
Bazar Loader DGA (Domain Generation Algorithm)
Detects Bazar Loader domains based on the Bazar Loader DGA
- Effort: elementary
Covenant Default HTTP Beaconing
Detects potential Covenant communications through the user-agent and specific urls
- Effort: intermediate
Cryptomining
Detection of domain names potentially related to cryptomining activities.
- Effort: master
Discord Suspicious Download
Discord is a messaging application. It allows users to create their own communities to share messages and attachments. Those attachments have little to no overview and can be downloaded by almost anyone, which has been abused by attackers to host malicious payloads.
- Effort: advanced
Dynamic DNS Contacted
Detect communication with dynamic dns domain. This kind of domain is often used by attackers. This rule can trigger false positive in non-controlled environment because dynamic dns is not always malicious.
- Effort: master
EvilProxy Phishing Domain
Detects subdomains potentially generated by the EvilProxy adversary-in-the-middle phishing platform. Inspect the other subdomains of the domain to identify the landing page, and determine if the user submitted credentials. This rule has a small percentage of false positives on legitimate domains.
- Effort: intermediate
Exfiltration Domain
Detects traffic toward a domain flagged as a possible exfiltration vector.
- Effort: master
Koadic MSHTML Command
Detects Koadic payload using MSHTML module
- Effort: intermediate
Nimbo-C2 User Agent
Nimbo-C2 Uses an unusual User-Agent format in its implants.
- Effort: intermediate
Potential Azure AD Phishing Page (Adversary-in-the-Middle)
Detects an HTTP request to an URL typical of the Azure AD authentication flow, but towards a domain that is not one the legitimate Microsoft domains used for Azure AD authentication.
- Effort: intermediate
Potential Bazar Loader User-Agents
Detects potential Bazar loader communications through the user-agent
- Effort: elementary
Potential Lemon Duck User-Agent
Detects LemonDuck user agent. The format used two sets of alphabetical characters separated by dashes, for example "User-Agent: Lemon-Duck-[A-Z]-[A-Z]".
- Effort: elementary
Potential LokiBot User-Agent
Detects potential LokiBot communications through the user-agent
- Effort: intermediate
Remote Access Tool Domain
Detects traffic toward a domain flagged as a Remote Administration Tool (RAT).
- Effort: master
Remote Monitoring and Management Software - AnyDesk
Detect artifacts related to the installation or execution of the Remote Monitoring and Management tool AnyDesk.
- Effort: master
SEKOIA.IO Intelligence Feed
Detect threats based on indicators of compromise (IOCs) collected by SEKOIA's Threat and Detection Research team.
- Effort: elementary
Sekoia.io EICAR Detection
Detects observables in Sekoia.io CTI tagged as EICAR, which are fake samples meant to test detection.
- Effort: master
TOR Usage Generic Rule
Detects TOR usage globally, whether the IP is a destination or source. TOR is short for The Onion Router, and it gets its name from how it works. TOR intercepts the network traffic from one or more apps on user’s computer, usually the user web browser, and shuffles it through a number of randomly-chosen computers before passing it on to its destination. This disguises user location, and makes it harder for servers to pick him/her out on repeat visits, or to tie together separate visits to different sites, this making tracking and surveillance more difficult. Before a network packet starts its journey, user’s computer chooses a random list of relays and repeatedly encrypts the data in multiple layers, like an onion. Each relay knows only enough to strip off the outermost layer of encryption, before passing what’s left on to the next relay in the list.
- Effort: master
Event Categories
The following table lists the data source offered by this integration.
Data Source | Description |
---|---|
Web application firewall logs |
Ubika detects and mitigates threats against web applications and APIs |
In details, the following table denotes the type of events produced by this integration.
Name | Values |
---|---|
Kind | alert |
Category | intrusion_detection |
Type | denied |
Transformed Events Samples after Ingestion
This section demonstrates how the raw logs will be transformed by our parsers. It shows the extracted fields that will be available for use in the built-in detection rules and hunting activities in the events page. Understanding these transformations is essential for analysts to create effective detection mechanisms with custom detection rules and to leverage the full potential of the collected data.
{
"message": "{\"logAlertUid\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\", \"timestamp\": \"1722437038823\", \"request\": {\"uid\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\", \"body\": \"\", \"hostname\": \"example.com\", \"method\": \"GET\", \"path\": \"/\", \"headers\": [{\"key\": \"some-headers\", \"value\": \"some value\"}], \"cookies\": [], \"ipSource\": \"1.2.3.4\", \"query\": \"a=cmd.exe\"}, \"context\": {\"assetName\": \"my-asset\", \"assetNamespace\": \"my-namespace\", \"reaction\": \"BLOCKED\"}, \"uid\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\", \"tokens\": {\"openapi3Name\": \"\", \"openapi3Uid\": \"\", \"openapi3ErrorType\": \"\", \"openapi3ErrorDetails\": \"\", \"part\": \"Multiple\", \"reason\": \"ICX Engine: Command Injection in Var_GET \\\"a\\\"\", \"customMessage\": \"\", \"engineUid\": \"icxEngine\", \"engineName\": \"ICX Engine\", \"matchingParts\": [{\"part\": \"Var_GET\", \"partKey\": \"a\", \"partKeyOperator\": \"regexp\", \"partKeyPattern\": \".*\", \"partKeyPatternUid\": \"\", \"partKeyPatternName\": \"\", \"partKeyPatternVersion\": \"\", \"partKeyMatch\": \"a\", \"partValue\": \"cmd.exe\", \"partValuePattern\": \"\", \"partValueOperator\": \"pattern\", \"partValuePatternUid\": \"CommandInjectionProprietaryPattern_CI-xxxxx-x.xx.x\", \"partValuePatternName\": \"Command Injection\", \"partValuePatternVersion\": \"CI-xxxxx-x.xx.x\", \"partValueMatch\": \"cmd.exe\", \"scoringlistRuleId\": \"\", \"scoringlistRuleWeight\": 0}], \"attackFamily\": \"Command Injection\", \"icxPolicyUid\": \"default_x.xx.x\", \"icxRuleName\": \"Command Injection\", \"icxRuleUid\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\", \"websocketOpcode\": \"\", \"websocketFrom\": \"\", \"canonSearchType\": \"\", \"eaPolicyUid\": \"\", \"eaPolicyName\": \"\", \"eaStaticPolicyUid\": \"\", \"eaRuleId\": \"\", \"eaRuleName\": \"\", \"eaTotalScore\": 0}}",
"event": {
"action": "BLOCKED",
"category": [
"intrusion_detection"
],
"kind": "alert",
"reason": "ICX Engine: Command Injection in Var_GET \"a\"",
"type": [
"denied"
]
},
"@timestamp": "2024-07-31T14:43:58.823000Z",
"http": {
"request": {
"id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"method": "GET"
}
},
"observer": {
"product": "Cloud Protector Next Generation",
"vendor": "Ubika"
},
"related": {
"hosts": [
"example.com"
],
"ip": [
"1.2.3.4"
]
},
"rule": {
"category": "Command Injection",
"name": "Command Injection",
"uuid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
},
"source": {
"address": "1.2.3.4",
"ip": "1.2.3.4"
},
"ubika": {
"cloud_protector": {
"asset": {
"name": "my-asset",
"namespace": "my-namespace"
},
"engine": {
"name": "ICX Engine",
"uuid": "icxEngine"
},
"log_alert_uuid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
},
"url": {
"domain": "example.com",
"path": "/",
"query": "a=cmd.exe",
"registered_domain": "example.com",
"top_level_domain": "com"
}
}
{
"message": "{\"logAlertUid\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\", \"timestamp\": \"1747326567848\", \"request\": {\"uid\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\", \"body\": \"\", \"hostname\": \"example.cloud\", \"method\": \"GET\", \"path\": \"/api/.env\", \"headers\": [{\"key\": \"x-request-id\", \"value\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"}, {\"key\": \"x-real-ip\", \"value\": \"1.2.3.4\"}, {\"key\": \"x-ubika-data\", \"value\": \"1\"}, {\"key\": \"host\", \"value\": \"example.cloud\"}, {\"key\": \"accept\", \"value\": \"*/*\"}, {\"key\": \"accept-encoding\", \"value\": \"gzip, deflate\"}, {\"key\": \"user-agent\", \"value\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3\"}], \"cookies\": [], \"ipSource\": \"1.2.3.4\", \"query\": \"\"}, \"context\": {\"assetName\": \"testAsset\", \"assetNamespace\": \"sekoia\", \"reaction\": \"BLOCKED\"}, \"uid\": \"xxxxxxxxxxxxxxxxxxxxx\", \"tokens\": {\"openapi3Name\": \"\", \"openapi3Uid\": \"\", \"openapi3ErrorType\": \"\", \"openapi3ErrorDetails\": \"\", \"part\": \"Multiple\", \"reason\": \"ICX Engine: Path Traversal in Path\", \"customMessage\": \"\", \"engineUid\": \"icxEngine\", \"engineName\": \"ICX Engine\", \"matchingParts\": [{\"part\": \"Path\", \"partKey\": \"\", \"partKeyOperator\": \"\", \"partKeyPattern\": \"\", \"partKeyPatternUid\": \"\", \"partKeyPatternName\": \"\", \"partKeyPatternVersion\": \"\", \"partKeyMatch\": \"\", \"partValue\": \"/api/.env\", \"partValuePattern\": \"\", \"partValueOperator\": \"pattern\", \"partValuePatternUid\": \"PathTraversalOnUriProprietaryPattern_PToU-xxxxx-x.xx.x\", \"partValuePatternName\": \"Path transversal on URI\", \"partValuePatternVersion\": \"PToU-xxxxx-x.xx.x\", \"partValueMatch\": \"/.env\", \"scoringlistRuleId\": \"\", \"scoringlistRuleWeight\": 0}], \"attackFamily\": \"Path Traversal\", \"icxPolicyUid\": \"default_3.47.0\", \"icxRuleName\": \"Path transversal\", \"icxRuleUid\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\", \"websocketOpcode\": \"\", \"websocketFrom\": \"\", \"canonSearchType\": \"\", \"eaPolicyUid\": \"\", \"eaPolicyName\": \"\", \"eaStaticPolicyUid\": \"\", \"eaRuleId\": \"\", \"eaRuleName\": \"\", \"eaTotalScore\": 0}}",
"event": {
"action": "BLOCKED",
"category": [
"intrusion_detection"
],
"kind": "alert",
"reason": "ICX Engine: Path Traversal in Path",
"type": [
"denied"
]
},
"@timestamp": "2025-05-15T16:29:27.848000Z",
"http": {
"request": {
"id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"method": "GET"
}
},
"observer": {
"product": "Cloud Protector Next Generation",
"vendor": "Ubika"
},
"related": {
"hosts": [
"example.cloud"
],
"ip": [
"1.2.3.4"
]
},
"rule": {
"category": "Path Traversal",
"name": "Path transversal",
"uuid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
},
"source": {
"address": "1.2.3.4",
"ip": "1.2.3.4"
},
"ubika": {
"cloud_protector": {
"asset": {
"name": "testAsset",
"namespace": "sekoia"
},
"engine": {
"name": "ICX Engine",
"uuid": "icxEngine"
},
"log_alert_uuid": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
},
"url": {
"domain": "example.cloud",
"path": "/api/.env",
"registered_domain": "example.cloud",
"top_level_domain": "cloud"
},
"user_agent": {
"device": {
"name": "Other"
},
"name": "Chrome",
"original": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3",
"os": {
"name": "Windows",
"version": "10"
},
"version": "58.0.3029"
}
}
Extracted Fields
The following table lists the fields that are extracted, normalized under the ECS format, analyzed and indexed by the parser. It should be noted that infered fields are not listed.
Name | Type | Description |
---|---|---|
@timestamp |
date |
Date/time when the event originated. |
error.type |
keyword |
The type of the error, for example the class name of the exception. |
event.action |
keyword |
The action captured by the event. |
event.category |
keyword |
Event category. The second categorization field in the hierarchy. |
event.kind |
keyword |
The kind of the event. The highest categorization field in the hierarchy. |
event.reason |
keyword |
Reason why this event happened, according to the source |
event.type |
keyword |
Event type. The third categorization field in the hierarchy. |
http.request.body.content |
wildcard |
The full HTTP request body. |
http.request.id |
keyword |
HTTP request ID. |
http.request.method |
keyword |
HTTP request method. |
http.response.status_code |
long |
HTTP response status code. |
observer.product |
keyword |
The product name of the observer. |
observer.vendor |
keyword |
Vendor name of the observer. |
rule.category |
keyword |
Rule category |
rule.name |
keyword |
Rule name |
rule.uuid |
keyword |
Rule UUID |
source.ip |
ip |
IP address of the source. |
ubika.cloud_protector.asset.name |
keyword |
|
ubika.cloud_protector.asset.namespace |
keyword |
|
ubika.cloud_protector.engine.name |
keyword |
|
ubika.cloud_protector.engine.uuid |
keyword |
|
ubika.cloud_protector.log_alert_uuid |
keyword |
|
url.domain |
keyword |
Domain of the url. |
url.path |
wildcard |
Path of the request, such as "/search". |
url.query |
keyword |
Query string of the request. |
user_agent.original |
keyword |
Unparsed user_agent string. |
For more information on the Intake Format, please find the code of the Parser, Smart Descriptions, and Supported Events here.