Skip to content

Ubika WAAP Gateway

Overview

Ubika WAAP Gateway detect and prevent threats against your web applications and your APIs.

The following Sekoia.io built-in rules match the intake Ubika WAAP Gateway. 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 WAAP Gateway on ATT&CK Navigator

Bazar Loader DGA (Domain Generation Algorithm)

Detects Bazar Loader domains based on the Bazar Loader DGA

  • Effort: elementary
CVE-2018-11776 Apache Struts2

Apache Struts versions 2.3 to 2.3.34 and 2.5 to 2.5.16 suffer from possible Remote Code Execution when alwaysSelectFullNamespace is true (either by user or a plugin like Convention Plugin) and then: results are used with no namespace and in same time, its upper package have no or wildcard namespace and similar to results, same possibility when using url tag which doesn't have value and action set and in same time, its upper package have no or wildcard namespace.

  • Effort: intermediate
CVE-2018-13379 Fortinet Exploit

Detects the successful exploitation of the Fortinet FortiOS CVE-2018-13379. This CVE is one of the most exploited CVEs since 2018. It is exploited by APT threat actors as well as cybercriminals. The exploitation of this CVE lead an unauthenticated user to get full access to FortiOS system file through SSL VPN via specially crafted HTTP resource requests. The exploit read /dev/cmdb/sslvpn_websession file, that contains login and passwords in (clear/text). An HTTP response status code = 200, means the file was successfully accessed. This vulnerability affects FortiOS 5.6.3 to 5.6.7 and FortiOS 6.0.0 to 6.0.4.

  • Effort: advanced
CVE-2019-0604 SharePoint

Detects the exploitation of the SharePoint vulnerability (CVE-2019-0604).

  • Effort: advanced
CVE-2019-11510 Pulse Secure Exploit

Detects the successful exploitation of the Pulse Secure vulnerability CVE-2019-11510. This CVE is one of the most exploited CVEs since 2019. It is exploited by diverse threat actors, leading sometimes in ransomware deployement among these groups: Maze, Conti, Egregor, DoppelPaymer, NetWalker and REvil. But also APT actors such as APT29. The exploitation of this CVE allows a remote, unauthenticated attacker to compromise a vulnerable VPN server. The attacker may be able to gain access to all active users and their plain-text credentials. It may also be possible for the attacker to execute arbitrary commands on each VPN client as it successfully connects to the VPN server. The exploit reads /etc/passwd file to get access to login and passwords in (clear/text). An HTTP response status code = 200, means the file was successfully accessed. This vulnerability affects 8.1R15.1, 8.2 before 8.2R12.1, 8.3 before 8.3R7.1, and 9.0 before 9.0R3.4 products.

  • Effort: elementary
CVE-2019-19781 Citrix NetScaler (ADC)

Detects CVE-2019-19781 exploitation attempt against Citrix NetScaler (ADC), Application Delivery Controller and Citrix Gateway Attack.

  • Effort: elementary
CVE-2019-2725 Oracle Weblogic Exploit

Detects the successful exploitation of a deserialization vulnerability in Oracle Weblogic Server, CVE-2019-2725. This vulnerability affects versions 10.X and 12.1.3 of WebLogic that have the components wls9_async_response.war and wls-wsat.war enabled. It is a remote code execution which can be exploited without authentication via HTTP. An HTTP response status code = 202, means the target is vulnerable, the analyst then has to look in depth to check if a webshell has been uploaded or something else has been done.

  • Effort: elementary
CVE-2020-0688 Microsoft Exchange Server Exploit

Detects the exploitation of CVE-2020-0688. The POC exploit a .NET serialization vulnerability in the Exchange Control Panel (ECP) web page. The vulnerability is due to Microsoft Exchange Server not randomizing the keys on a per-installation basis resulting in them using the same validationKey and decryptionKey values. With knowledge of these, values an attacker can craft a special viewstate to use an OS command to be executed by NT_AUTHORITY\SYSTEM using .NET deserialization. To exploit this vulnerability, an attacker needs to leverage the credentials of an account it had already compromised to authenticate to OWA.

  • Effort: elementary
CVE-2020-1147 SharePoint

Detection of SharePoint vulnerability CVE-2020-1147.

  • Effort: advanced
CVE-2020-14882 Oracle WebLogic Server

Detects the exploitation of the Oracle WebLogic Server vulnerability (CVE-2020-16952).

  • Effort: advanced
CVE-2020-17530 Apache Struts RCE

Detects the exploitation of the Apache Struts RCE vulnerability (CVE-2020-17530).

  • Effort: intermediate
CVE-2020-5902 F5 BIG-IP Exploitation Attempts

Detects the exploitation attempt of the vulnerability found in F5 BIG-IP and described in CVE-2020-5902.

  • Effort: elementary
CVE-2021-20021 SonicWall Unauthenticated Administrator Access

Detects the exploitation of SonicWall Unauthenticated Admin Access.

  • Effort: advanced
CVE-2021-20023 SonicWall Arbitrary File Read

Detects Arbitrary File Read, which can be used with other vulnerabilities as a mean to obtain outputs generated by attackers, or sensitive data.

  • Effort: advanced
CVE-2021-21972 VMware vCenter

The vSphere Client (HTML5) contains a remote code execution vulnerability in a vCenter Server plugin. A malicious actor with network access to port 443 may exploit this issue to execute commands with unrestricted privileges on the underlying operating system that hosts vCenter Server. This affects VMware vCenter Server (7.x before 7.0 U1c, 6.7 before 6.7 U3l and 6.5 before 6.5 U3n) and VMware Cloud Foundation (4.x before 4.2 and 3.x before 3.10.1.2). POST request on the following PATH "/ui/vropspluginui/rest/services/uploadova". If in response body (500) the words it has "uploadFile", that means the vCenter is available to accept files via POST without any restrictions.

  • Effort: intermediate
CVE-2021-21985 VMware vCenter

The VMware vSphere Client (HTML5) contains a remote code execution vulnerability due to lack of input validation in the Virtual SAN Health Check plug-in which is enabled by default in vCenter Server. A malicious actor with network access to port 443 may exploit this issue to execute commands with unrestricted privileges on the underlying operating system that hosts vCenter Server. This affects VMware vCenter Server (7.0 before 7.0 U2b, 6.7 before 6.7 U3n and 6.5 before 6.5 U3p) and VMware Cloud Foundation (4.x before 4.2.1 and 3.x before 3.10.2.1).

  • Effort: advanced
CVE-2021-22123 Fortinet FortiWeb OS Command Injection

Detects Fortinet FortiWeb OS Command Injection (August 2021) vulnerability exploitation attempt. A remote, authenticated attacker can execute arbitrary commands on the system hosting a vulnerable FortiWeb WAF by sending a POST request with the command in the name field. At the time of writing this rule, it would appear that the request would respond in code 500 for a successful exploitation attempt.

  • Effort: advanced
CVE-2021-22893 Pulse Connect Secure RCE Vulnerability

Detects potential exploitation of the authentication by-pass vulnerability that can allow an unauthenticated user to perform remote arbitrary file execution on the Pulse Connect Secure gateway. It is highly recommended to apply the Pulse Secure mitigations and seach for indicators of compromise on affected servers if you are in doubt over the integrity of your Pulse Connect Secure product.

  • Effort: intermediate
CVE-2021-26855 Exchange SSRF

Detects the exploitation of ProyxLogon vulerability on Exchange servers.

  • Effort: advanced
CVE-2021-34473 ProxyShell Attempt

Detects CVE-2021-34473 ProxyShell attempt against Microsoft Exchange Server, Remote Code Execution Vulnerability.

  • Effort: advanced
CVE-2021-41773 Apache 2.4.49 Path Traversal

Detects successful exploitation of the Apache Path Traversal CVE-2021-41773.

  • Effort: advanced
CVE-2021-43798 Grafana Directory Traversal

Grafana version 8.x has a 0day arbitrary file read (with no fix yet) based on a directory traversal vulnerability

  • Effort: intermediate
Detect requests to Konni C2 servers

This rule detects requests to Konni C2 servers. These patterns come from an analysis done in 2022, September.

  • Effort: elementary
Download Files From Suspicious TLDs

Detects download of certain file types from hosts in suspicious TLDs

  • Effort: master
FoggyWeb HTTP Default GET/POST Requests

Detects GET or POST request pattern observed within the first FoggyWeb campaign detected by Microsoft.

  • Effort: advanced
GitLab CVE-2021-22205

Detects GitLab vulnerability CVE-2021-22205 exploitation success. It allows an attacker to do some remote code execution with user git. The HTTP return code 422 indicates a successfull exploitation.

  • Effort: intermediate
Koadic MSHTML Command

Detects Koadic payload using MSHTML module

  • Effort: intermediate
LokiBot Default C2 URL

Detects default C2 URL for trojan LokiBot

  • Effort: elementary
Nimbo-C2 User Agent

Nimbo-C2 Uses an unusual User-Agent format in its implants.

  • Effort: intermediate
Possible Malicious File Double Extension

Detects request to potential malicious file with double extension

  • Effort: elementary
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
Privilege Escalation Awesome Scripts (PEAS)

Detect PEAS privileges escalation scripts and binaries

  • Effort: elementary
ProxyShell Microsoft Exchange Suspicious Paths

Detects suspicious calls to Microsoft Exchange resources, in locations related to webshells observed in campaigns using this vulnerability.

  • Effort: elementary
SEKOIA.IO Intelligence Feed

Detect threats based on indicators of compromise (IOCs) collected by SEKOIA's Threat and Detection Research team.

  • Effort: elementary
SharePoint Authenticated SSRF

Detects succesful SSRF from an authenticated SharePoint user.

  • Effort: elementary
Suspicious Download Links From Legitimate Services

Detects users clicking on Google docs links to download suspicious files. This technique was used a lot by Bazar Loader in the past.

  • Effort: elementary
Suspicious URI Used In A Lazarus Campaign

Detects suspicious requests to a specific URI, usually on an .asp page. The website is often compromised.

  • Effort: intermediate

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 threat, web
Type access, indicator

Event Samples

Find below few samples of events and how they are normalized by Sekoia.io.

{
    "message": "2023-05-23T14:24:09.190263+02:00 waf01.example.org ad97ec2b41c342ebbb1fec1fc283fff3: - - - 5.6.7.8 - - [23/May/2023:14:24:09 +0200] \"GET /path/ape/logo.png HTTP/1.1\" 404 1245 \"https://referer.example.com/\" \"Mozilla/5.0 (iPad; CPU OS 16_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/113.0.5672.121 Mobile/15E148 Safari/604.1\"",
    "event": {
        "category": [
            "web"
        ],
        "dataset": "ubika-waf",
        "module": "ubika.waf",
        "type": [
            "access"
        ]
    },
    "@timestamp": "2023-05-23T12:24:09Z",
    "http": {
        "request": {
            "method": "GET",
            "referrer": "https://referer.example.com/"
        },
        "response": {
            "body": {
                "bytes": 1245
            },
            "status_code": 404
        }
    },
    "observer": {
        "name": "waf01.example.org",
        "product": "Ubika WAAP",
        "vendor": "Ubika"
    },
    "related": {
        "ip": [
            "5.6.7.8"
        ]
    },
    "source": {
        "address": "5.6.7.8",
        "ip": "5.6.7.8"
    },
    "ubika": {
        "waap": {
            "tunnel": {
                "uuid": "ad97ec2b41c342ebbb1fec1fc283fff3"
            }
        }
    },
    "url": {
        "original": "/path/ape/logo.png",
        "path": "/path/ape/logo.png"
    },
    "user_agent": {
        "device": {
            "name": "iPad"
        },
        "name": "Chrome Mobile iOS",
        "original": "Mozilla/5.0 (iPad; CPU OS 16_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/113.0.5672.121 Mobile/15E148 Safari/604.1",
        "os": {
            "name": "iOS",
            "version": "16.5"
        },
        "version": "113.0.5672"
    }
}
{
    "message": "5.6.7.8 - - [23/May/2023:14:24:09 +0200] \"GET /path/ape/logo.png HTTP/1.1\" 404 1245 \"https://referer.example.com/\" \"Mozilla/5.0 (iPad; CPU OS 16_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/113.0.5672.121 Mobile/15E148 Safari/604.1\"",
    "event": {
        "category": [
            "web"
        ],
        "dataset": "ubika-waf",
        "module": "ubika.waf",
        "type": [
            "access"
        ]
    },
    "@timestamp": "2023-05-23T12:24:09Z",
    "http": {
        "request": {
            "method": "GET",
            "referrer": "https://referer.example.com/"
        },
        "response": {
            "body": {
                "bytes": 1245
            },
            "status_code": 404
        }
    },
    "observer": {
        "product": "Ubika WAAP",
        "vendor": "Ubika"
    },
    "related": {
        "ip": [
            "5.6.7.8"
        ]
    },
    "source": {
        "address": "5.6.7.8",
        "ip": "5.6.7.8"
    },
    "url": {
        "original": "/path/ape/logo.png",
        "path": "/path/ape/logo.png"
    },
    "user_agent": {
        "device": {
            "name": "iPad"
        },
        "name": "Chrome Mobile iOS",
        "original": "Mozilla/5.0 (iPad; CPU OS 16_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/113.0.5672.121 Mobile/15E148 Safari/604.1",
        "os": {
            "name": "iOS",
            "version": "16.5"
        },
        "version": "113.0.5672"
    }
}
{
    "message": "2023-05-23T14:24:09.190263+02:00 waf01.example.org - - - - {\"logAlertUid\":\"2576cdd6c17d441234567891234\",\"@timestamp\":\"1688012345678\",\"timestamp\":\"1688012345678\",\"request\":{\"body\":\"\",\"cookies\":[],\"headers\":[{\"key\":\"Host\",\"value\":\"monespacetest.com\"},{\"key\":\"Connection\",\"value\":\"Keep-Alive\"},{\"key\":\"User-Agent\",\"value\":\"ContentSquare Static Resource Scraper\"},{\"key\":\"Accept-Encoding\",\"value\":\"gzip,deflate\"},{\"key\":\"X-Forwarded-For\",\"value\":\"1.2.3.4\"}],\"hostname\":\"monespacetest.com\",\"ipDst\":\"1.2.3.4\",\"ipSrc\":\"1.2.3.4\",\"method\":\"GET\",\"path\":\"/redirect\",\"portDst\":443,\"protocol\":\"HTTP/1.1\",\"query\":\"token=123456789123456789\",\"requestUid\":\"ZJ1EyTzEESxHZlPdslM1MgAAAQw\"},\"context\":{\"tags\":\"\",\"applianceName\":\"zzzzz.test\",\"applianceUid\":\"bde804caa644121234567891234567\",\"backendHost\":\"monespacetest.com\",\"backendPort\":443,\"reverseProxyName\":\"Rp-test-02\",\"reverseProxyUid\":\"61d95350a8f99874123456789\",\"tunnelName\":\"NEC PROD v10 #1\",\"tunnelUid\":\"317a891996f275b12345678912345\",\"workflowName\":\"Workflow - NEC PROD v10 - with Bot Migitation and Rate Limiter\",\"workflowUid\":\"f00058d7c75c34e123456789987654\"},\"events\":[{\"eventUid\":\"fe767ff2e8574789941b998e6\",\"tokens\":{\"date\":14012345678999,\"eventType\":\"bot mitigation\",\"engineUid\":\"botMitigation\",\"engineName\":\"Bot Mitigation\",\"attackFamily\":\"Bots and Web Scraping\",\"riskLevel\":27,\"riskLevelOWASP\":2.7,\"cwe\":\"CWE-799\",\"severity\":5,\"resolveType\":\"Default Resolve\",\"part\":\"No Part\",\"reason\":\"Basic bot detected\",\"botMitigationDetails\":\"Client does not follow HTTP redirect or uses cookies\",\"botMitigationRuleName\":\"\",\"botMitigationRuleUid\":\"\",\"botMitigationRuleSource\":\"\",\"botMitigationRuleExpirationDate\":\"\",\"botMitigationChallenge\":\"challengeBasic\",\"botMitigationClientFingerprint\":\"\",\"botMitigationClientUseragent\":\"ContentSquare Static Resource Scraper\",\"botMitigationNewRule\":\"false\",\"botMitigationConfigurationUid\":\"43333333333333333333\",\"botMitigationConfigurationName\":\"PREVOIR Bot mitigation Configuration\"}}]}",
    "event": {
        "action": "block",
        "category": [
            "threat"
        ],
        "dataset": "ubika-waf",
        "kind": "alert",
        "module": "ubika.waf",
        "provider": "Bot Mitigation",
        "severity": 5,
        "type": [
            "indicator"
        ]
    },
    "@timestamp": "2023-06-29T04:19:05.678000Z",
    "destination": {
        "address": "1.2.3.4",
        "ip": "1.2.3.4",
        "port": 443
    },
    "host": {
        "name": "monespacetest.com"
    },
    "http": {
        "request": {
            "method": "GET"
        }
    },
    "observer": {
        "name": "waf01.example.org",
        "product": "Ubika WAAP",
        "vendor": "Ubika"
    },
    "related": {
        "hosts": [
            "monespacetest.com"
        ],
        "ip": [
            "1.2.3.4"
        ]
    },
    "rule": {
        "description": "Basic bot detected"
    },
    "source": {
        "address": "1.2.3.4",
        "ip": "1.2.3.4"
    },
    "threat": {
        "indicator": {
            "type": "Bots and Web Scraping"
        }
    },
    "ubika": {
        "waap": {
            "tokens": {
                "risk": {
                    "level": "27"
                }
            },
            "tunnel": {
                "name": "NEC PROD v10 #1",
                "uuid": "317a891996f275b12345678912345"
            },
            "workflow": {
                "name": "Workflow - NEC PROD v10 - with Bot Migitation and Rate Limiter",
                "uuid": "f00058d7c75c34e123456789987654"
            }
        }
    },
    "url": {
        "domain": "monespacetest.com",
        "path": "/redirect",
        "query": "token=123456789123456789",
        "registered_domain": "monespacetest.com",
        "top_level_domain": "com"
    },
    "user_agent": {
        "device": {
            "name": "Spider"
        },
        "name": "Resource Scraper",
        "original": "ContentSquare Static Resource Scraper",
        "os": {
            "name": "Other"
        }
    },
    "vulnerability": {
        "id": "CWE-799"
    }
}
{
    "message": "2023-05-23T14:24:09.190263+02:00 waf01.example.org - - - - {\"logAlertUid\":\"ddf61af5388949b486059409e9a10d23\",\"@timestamp\":\"1570176199762\",\"timestamp\":\"1570176199762\",\"request\":{\"body\":\"\",\"cookies\":[],\"headers\":[{\"key\":\"Host\",\"value\":\"example.org\"},{\"key\":\"User-Agent\",\"value\":\"ApacheBench/2.3\"},{\"key\":\"Accept\",\"value\":\"*/*\"}],\"hostname\":\"example.org\",\"ipDst\":\"5.6.7.8\",\"ipSrc\":\"1.2.3.4\",\"method\":\"GET\",\"path\":\"/\",\"portDst\":80,\"protocol\":\"HTTP/1.0\",\"query\":\"\",\"requestUid\":\"e380e3bef3814649aebc50e940c8bf98\"},\"context\":{\"tags\":\"\",\"applianceName\":\"Management\",\"applianceUid\":\"481294d4fdefdb1bcbfcedac6f5e2777\",\"backendHost\":\"5.6.7.8\",\"backendPort\":80,\"reverseProxyName\":\"RP1\",\"reverseProxyUid\":\"79473e608a1cbccc06a86a0a6484a2f7\",\"tunnelName\":\"Tunnel1\",\"tunnelUid\":\"28ebc9deec52dd1b3a5c51eaf52b0606\",\"workflowName\":\"WF - Bot Mitigation\",\"workflowUid\":\"8c73e669cea1a99016ccacb21eccfa69\"},\"events\":[{\"eventUid\":\"3ce7643dbe52433bb481ff8a401c6301\",\"tokens\":{\"date\":140422462751864,\"eventType\":\"bot mitigation\",\"engineUid\":\"botMitigation\",\"engineName\":\"Bot Mitigation\",\"attackFamily\":\"Bots and Web Scraping\",\"riskLevel\":27,\"riskLevelOWASP\":2.7,\"cwe\":\"CWE-799\",\"severity\":5,\"resolveType\":\"Default Resolve\",\"part\":\"No Part\",\"reason\":\"Basic bot detected\",\"botMitigationDetails\":\"Client does not follow HTTP redirect or uses cookies\",\"botMitigationRuleName\":\"\",\"botMitigationRuleUid\":\"\",\"botMitigationRuleSource\":\"\",\"botMitigationRuleExpirationDate\":\"\",\"botMitigationChallenge\":\"challengeBasic\",\"botMitigationClientFingerprint\":\"\",\"botMitigationClientUseragent\":\"ApacheBench/2.3\",\"botMitigationNewRule\":\"false\",\"botMitigationConfigurationUid\":\"0d990aa0b2f5265ad8ea74cc0e3e09f7\",\"botMitigationConfigurationName\":\"BM_conf\"}}]}",
    "event": {
        "action": "block",
        "category": [
            "threat"
        ],
        "dataset": "ubika-waf",
        "kind": "alert",
        "module": "ubika.waf",
        "provider": "Bot Mitigation",
        "severity": 5,
        "type": [
            "indicator"
        ]
    },
    "@timestamp": "2019-10-04T08:03:19.762000Z",
    "destination": {
        "address": "5.6.7.8",
        "ip": "5.6.7.8",
        "port": 80
    },
    "host": {
        "name": "example.org"
    },
    "http": {
        "request": {
            "method": "GET"
        }
    },
    "observer": {
        "name": "waf01.example.org",
        "product": "Ubika WAAP",
        "vendor": "Ubika"
    },
    "related": {
        "hosts": [
            "example.org"
        ],
        "ip": [
            "1.2.3.4",
            "5.6.7.8"
        ]
    },
    "rule": {
        "description": "Basic bot detected"
    },
    "source": {
        "address": "1.2.3.4",
        "ip": "1.2.3.4"
    },
    "threat": {
        "indicator": {
            "type": "Bots and Web Scraping"
        }
    },
    "ubika": {
        "waap": {
            "tokens": {
                "risk": {
                    "level": "27"
                }
            },
            "tunnel": {
                "name": "Tunnel1",
                "uuid": "28ebc9deec52dd1b3a5c51eaf52b0606"
            },
            "workflow": {
                "name": "WF - Bot Mitigation",
                "uuid": "8c73e669cea1a99016ccacb21eccfa69"
            }
        }
    },
    "url": {
        "domain": "example.org",
        "path": "/",
        "registered_domain": "example.org",
        "top_level_domain": "org"
    },
    "user_agent": {
        "device": {
            "name": "Other"
        },
        "name": "Other",
        "original": "ApacheBench/2.3",
        "os": {
            "name": "Other"
        }
    },
    "vulnerability": {
        "id": "CWE-799"
    }
}
{
    "message": "{\"logAlertUid\":\"ad97ec2b41c342ebbb1fec1fc283fff3\",\"@timestamp\":\"1527241410891\",\"timestamp\":\"1527241410891\",\"_type_\":\"Controller_Business_Log_SecurityLog\",\"request\":{\"body\":\"\",\"cookies\":[],\"headers\":[{\"key\":\"Connection\",\"value\":\"Keep-Alive\"},{\"key\":\"Host\",\"value\":\"example.org\"},{\"key\":\"User-Agent\",\"value\":\"ApacheBench/2.3\"},{\"key\":\"Accept\",\"value\":\"*/*\"}],\"hostname\":\"example.org\",\"ipDst\":\"5.6.7.8\",\"ipSrc\":\"1.2.3.4\",\"method\":\"GET\",\"path\":\"/afs/login\",\"portDst\":80,\"protocol\":\"HTTP/1.0\",\"query\":\"username=test&passwd=*****\",\"requestUid\":\"4d2fc15b25494ae5bb6de1fae7800601\"},\"context\":{\"tags\":\"\",\"applianceName\":\"Management\",\"applianceUid\":\"d1ecdf0f3ad7a64279b9e01f08c1f642\",\"backendHost\":\"5.6.7.8\",\"backendPort\":8000,\"reverseProxyName\":\"RP1\",\"reverseProxyUid\":\"ce4770e1d581d92f1344b8b1ac41e8de\",\"tunnelName\":\"tunnel1\",\"tunnelUid\":\"a4ae3647b1e7e868b2d0e6ff47b02fd1\",\"workflowName\":\"WF - All logs\",\"workflowUid\":\"x256f94d50d6d66f9732e0ab8532d154\"},\"events\":[{\"eventUid\":\"15546f6e600011e8a3b819267d550fc8\",\"tokens\":{\"date\":1527241410891973,\"eventType\":\"security\",\"engineUid\":\"icxEngine\",\"engineName\":\"ICX Engine\",\"attackFamily\":\"SQL Injection\",\"riskLevel\":80,\"riskLevelOWASP\":8,\"cwe\":\"CWE-89\",\"severity\":5,\"resolveType\":\"Default Resolve\",\"part\":\"Multiple\",\"icxPolicyName\":\"Default policy\",\"icxPolicyUid\":\"fbfb5aec58e3ff3bea900f646351cc30\",\"icxRuleName\":\"SQL Injection\",\"icxRuleUid\":\"eeeea8b382ef38e44f0b620c39adbbba\",\"matchingParts\":[{\"part\":\"Var_GET\",\"partKey\":\"passwd\",\"partKeyOperator\":\"regexp\",\"partKeyPattern\":\".*\",\"partKeyMatch\":\"passwd\",\"partValue\":\"1' or 1=1 --\",\"partValueOperator\":\"pattern\",\"partValuePatternUid\":\"SqlInjectionProprietaryPattern_00359\",\"partValuePatternName\":\"SQL Injection\",\"partValuePatternVersion\":\"00359\",\"partValueMatch\":\"' or 1=1 --\",\"attackFamily\":\"SQL Injection\",\"riskLevel\":80,\"riskLevelOWASP\":8,\"cwe\":\"CWE-89\"}],\"reason\":\"ICX Engine: SQL Injection in Var_GET 'passwd'\",\"securityExceptionConfigurationUids\":[\"xd298902fbf8340e241f195fe81e7511\"]}}]}",
    "event": {
        "action": "block",
        "category": [
            "threat"
        ],
        "dataset": "ubika-waf",
        "kind": "alert",
        "module": "ubika.waf",
        "provider": "ICX Engine",
        "severity": 5,
        "type": [
            "indicator"
        ]
    },
    "@timestamp": "2018-05-25T09:43:30.891000Z",
    "destination": {
        "address": "5.6.7.8",
        "ip": "5.6.7.8",
        "port": 80
    },
    "host": {
        "name": "example.org"
    },
    "http": {
        "request": {
            "method": "GET"
        }
    },
    "observer": {
        "product": "Ubika WAAP",
        "vendor": "Ubika"
    },
    "related": {
        "hosts": [
            "example.org"
        ],
        "ip": [
            "1.2.3.4",
            "5.6.7.8"
        ]
    },
    "rule": {
        "description": "ICX Engine: SQL Injection in Var_GET 'passwd'",
        "id": "fbfb5aec58e3ff3bea900f646351cc30",
        "name": "Default policy"
    },
    "source": {
        "address": "1.2.3.4",
        "ip": "1.2.3.4"
    },
    "threat": {
        "indicator": {
            "type": "SQL Injection"
        }
    },
    "ubika": {
        "waap": {
            "tokens": {
                "risk": {
                    "level": "80"
                }
            },
            "tunnel": {
                "name": "tunnel1",
                "uuid": "a4ae3647b1e7e868b2d0e6ff47b02fd1"
            },
            "workflow": {
                "name": "WF - All logs",
                "uuid": "x256f94d50d6d66f9732e0ab8532d154"
            }
        }
    },
    "url": {
        "domain": "example.org",
        "path": "/afs/login",
        "query": "username=test&passwd=*****",
        "registered_domain": "example.org",
        "top_level_domain": "org"
    },
    "user_agent": {
        "device": {
            "name": "Other"
        },
        "name": "Other",
        "original": "ApacheBench/2.3",
        "os": {
            "name": "Other"
        }
    },
    "vulnerability": {
        "id": "CWE-89"
    }
}
{
    "message": "{\"logAlertUid\":\"ad97ec2b41c342ebbb1fec1fc283fff3\",\"@timestamp\":\"1527241410891\",\"timestamp\":\"1527241410891\",\"_type_\":\"Controller_Business_Log_SecurityLog\",\"request\":{\"body\":\"\",\"cookies\":[],\"headers\":[{\"key\":\"Connection\",\"value\":\"Keep-Alive\"},{\"key\":\"Host\",\"value\":\"example.org\"},{\"key\":\"User-Agent\",\"value\":\"ApacheBench/2.3\"},{\"key\":\"Accept\",\"value\":\"*/*\"}],\"hostname\":\"example.org\",\"ipDst\":\"5.6.7.8\",\"ipSrc\":\"1.2.3.4\",\"method\":\"GET\",\"path\":\"/afs/login\",\"portDst\":80,\"protocol\":\"HTTP/1.0\",\"query\":\"username=test&passwd=*****\",\"requestUid\":\"4d2fc15b25494ae5bb6de1fae7800601\"},\"context\":{\"tags\":\"\",\"applianceName\":\"Management\",\"applianceUid\":\"d1ecdf0f3ad7a64279b9e01f08c1f642\",\"backendHost\":\"5.6.7.8\",\"backendPort\":8000,\"reverseProxyName\":\"RP1\",\"reverseProxyUid\":\"ce4770e1d581d92f1344b8b1ac41e8de\",\"tunnelName\":\"tunnel1\",\"tunnelUid\":\"a4ae3647b1e7e868b2d0e6ff47b02fd1\",\"workflowName\":\"WF - All logs\",\"workflowUid\":\"x256f94d50d6d66f9732e0ab8532d154\"},\"events\":[{\"eventUid\":\"15546f6e600011e8a3b819267d550fc8\",\"tokens\":{\"date\":1527241410891973,\"eventType\":\"security\",\"engineUid\":\"icxEngine\",\"engineName\":\"ICX Engine\",\"attackFamily\":\"SQL Injection\",\"riskLevel\":80,\"riskLevelOWASP\":8,\"cwe\":\"CWE-89\",\"severity\":5,\"resolveType\":\"Default Resolve\",\"part\":\"Multiple\",\"icxPolicyName\":\"Default policy\",\"icxPolicyUid\":\"fbfb5aec58e3ff3bea900f646351cc30\",\"icxRuleName\":\"SQL Injection\",\"icxRuleUid\":\"eeeea8b382ef38e44f0b620c39adbbba\",\"matchingParts\":[{\"part\":\"Var_GET\",\"partKey\":\"passwd\",\"partKeyOperator\":\"regexp\",\"partKeyPattern\":\".*\",\"partKeyMatch\":\"passwd\",\"partValue\":\"1' or 1=1 --\",\"partValueOperator\":\"pattern\",\"partValuePatternUid\":\"SqlInjectionProprietaryPattern_00359\",\"partValuePatternName\":\"SQL Injection\",\"partValuePatternVersion\":\"00359\",\"partValueMatch\":\"' or 1=1 --\",\"attackFamily\":\"SQL Injection\",\"riskLevel\":80,\"riskLevelOWASP\":8,\"cwe\":\"CWE-89\"}],\"reason\":\"ICX Engine: SQL Injection in Var_GET 'passwd'\",\"securityExceptionConfigurationUids\":[\"xd298902fbf8340e241f195fe81e7511\"]}}]}",
    "event": {
        "action": "block",
        "category": [
            "threat"
        ],
        "dataset": "ubika-waf",
        "kind": "alert",
        "module": "ubika.waf",
        "provider": "ICX Engine",
        "severity": 5,
        "type": [
            "indicator"
        ]
    },
    "@timestamp": "2018-05-25T09:43:30.891000Z",
    "destination": {
        "address": "5.6.7.8",
        "ip": "5.6.7.8",
        "port": 80
    },
    "host": {
        "name": "example.org"
    },
    "http": {
        "request": {
            "method": "GET"
        }
    },
    "observer": {
        "product": "Ubika WAAP",
        "vendor": "Ubika"
    },
    "related": {
        "hosts": [
            "example.org"
        ],
        "ip": [
            "1.2.3.4",
            "5.6.7.8"
        ]
    },
    "rule": {
        "description": "ICX Engine: SQL Injection in Var_GET 'passwd'",
        "id": "fbfb5aec58e3ff3bea900f646351cc30",
        "name": "Default policy"
    },
    "source": {
        "address": "1.2.3.4",
        "ip": "1.2.3.4"
    },
    "threat": {
        "indicator": {
            "type": "SQL Injection"
        }
    },
    "ubika": {
        "waap": {
            "tokens": {
                "risk": {
                    "level": "80"
                }
            },
            "tunnel": {
                "name": "tunnel1",
                "uuid": "a4ae3647b1e7e868b2d0e6ff47b02fd1"
            },
            "workflow": {
                "name": "WF - All logs",
                "uuid": "x256f94d50d6d66f9732e0ab8532d154"
            }
        }
    },
    "url": {
        "domain": "example.org",
        "path": "/afs/login",
        "query": "username=test&passwd=*****",
        "registered_domain": "example.org",
        "top_level_domain": "org"
    },
    "user_agent": {
        "device": {
            "name": "Other"
        },
        "name": "Other",
        "original": "ApacheBench/2.3",
        "os": {
            "name": "Other"
        }
    },
    "vulnerability": {
        "id": "CWE-89"
    }
}
{
    "message": "2023-05-23T14:24:09.190263+02:00 waf01.example.org - - - - {\"logAlertUid\":\"fe79950502024cf1951504b01b28cb60\",\"@timestamp\":\"1570179501178\",\"timestamp\":\"1570179501178\",\"request\":{\"headers\":[{\"key\":\"Host\",\"value\":\"example.org\"},{\"key\":\"User-Agent\",\"value\":\"Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0\"},{\"key\":\"Accept\",\"value\":\"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\"},{\"key\":\"Accept-Language\",\"value\":\"en-US,en;q=0.5\"},{\"key\":\"Accept-Encoding\",\"value\":\"gzip, deflate\"},{\"key\":\"Content-Type\",\"value\":\"application/x-www-form-urlencoded\"},{\"key\":\"Content-Length\",\"value\":\"45\"},{\"key\":\"Connection\",\"value\":\"keep-alive\"},{\"key\":\"Referer\",\"value\":\"http://example.org/auth/login\"},{\"key\":\"Upgrade-Insecure-Requests\",\"value\":\"1\"}],\"hostname\":\"example.org\",\"ipSrc\":\"1.2.3.4\",\"method\":\"POST\",\"path\":\"/auth/authentication\",\"query\":\"username=test&context=111111111\",\"requestUid\":\"6bf5057e1ad64b1c99ee6ad8c21f098e\"},\"context\":{\"applianceName\":\"Management\",\"applianceUid\":\"481294d4fdefdb1bcbfcedac6f5e2777\",\"backendHost\":\"5.6.7.8\",\"backendPort\":80,\"reverseProxyName\":\"RP1\",\"reverseProxyUid\":\"79473e608a1cbccc06a86a0a6484a2f7\",\"tunnelName\":\"Tunnel1\",\"tunnelUid\":\"28ebc9deec52dd1b3a5c51eaf52b0606\",\"workflowName\":\"WF - WAM\",\"workflowUid\":\"061b2aaca542ad07e9873fcb6f3e2a85\"},\"events\":[{\"eventUid\":\"90e826d3889443b286ab4fdd4854d379\",\"eventType\":1,\"eventDetails\":\"Perimeter authentication failed\",\"userId\":\"user1\",\"sessionId\":\"5jfh2myazzq6l6gjmz9qtabw4e\",\"resource\":\"Perim1\",\"ticketId\":\"\",\"logindate\":1570179496322223,\"expiredate\":1570183101178725}]}",
    "event": {
        "action": "block",
        "category": [
            "threat"
        ],
        "dataset": "ubika-waf",
        "kind": "alert",
        "module": "ubika.waf",
        "type": [
            "indicator"
        ]
    },
    "@timestamp": "2019-10-04T08:58:21.178000Z",
    "host": {
        "name": "example.org"
    },
    "http": {
        "request": {
            "method": "POST",
            "referrer": "http://example.org/auth/login"
        }
    },
    "observer": {
        "name": "waf01.example.org",
        "product": "Ubika WAAP",
        "vendor": "Ubika"
    },
    "related": {
        "hosts": [
            "example.org"
        ],
        "ip": [
            "1.2.3.4"
        ]
    },
    "source": {
        "address": "1.2.3.4",
        "ip": "1.2.3.4"
    },
    "ubika": {
        "waap": {
            "tunnel": {
                "name": "Tunnel1",
                "uuid": "28ebc9deec52dd1b3a5c51eaf52b0606"
            },
            "workflow": {
                "name": "WF - WAM",
                "uuid": "061b2aaca542ad07e9873fcb6f3e2a85"
            }
        }
    },
    "url": {
        "domain": "example.org",
        "path": "/auth/authentication",
        "query": "username=test&context=111111111",
        "registered_domain": "example.org",
        "top_level_domain": "org"
    },
    "user_agent": {
        "device": {
            "name": "Other"
        },
        "name": "Firefox",
        "original": "Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0",
        "os": {
            "name": "Fedora"
        },
        "version": "69.0"
    }
}

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.
destination.ip ip IP address of the destination.
destination.port long Port of the destination.
event.action keyword The action captured by the event.
event.category keyword Event category. The second categorization field in the hierarchy.
event.dataset keyword Name of the dataset.
event.kind keyword The kind of the event. The highest categorization field in the hierarchy.
event.module keyword Name of the module this data is coming from.
event.provider keyword Source of the event.
event.severity long Numeric severity of the event.
event.type keyword Event type. The third categorization field in the hierarchy.
host.name keyword Name of the host.
http.request.method keyword HTTP request method.
http.request.referrer keyword Referrer for this HTTP request.
http.response.body.bytes long Size in bytes of the response body.
http.response.status_code long HTTP response status code.
observer.name keyword Custom name of the observer.
observer.product keyword The product name of the observer.
observer.vendor keyword Vendor name of the observer.
rule.description keyword Rule description
rule.id keyword Rule ID
rule.name keyword Rule name
source.ip ip IP address of the source.
threat.indicator.type keyword Type of indicator
ubika.waap.tokens.risk.level keyword Risk score
ubika.waap.tunnel.name keyword Tunnel name
ubika.waap.tunnel.uuid keyword Tunnel UID
ubika.waap.workflow.name keyword Workflow name
ubika.waap.workflow.uuid keyword Workflow UID
url.domain keyword Domain of the url.
url.original wildcard Unmodified original url as seen in the event source.
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.
vulnerability.id keyword ID of the vulnerability.

Configure

This setup guide will show you how to forward your Ubika WAAP Gateway logs to Sekoia.io by means of a syslog transport channel.

Prerequisites

  • Have an internal log concentrator (Rsyslog)

Enable syslog

  1. Logging into the Management WAAP
  2. Select the tab Management
  3. On the left panel, click on the section Alerting Destinations
  4. On the toolbar, click on the button add to add a new alerting destination.
  5. In the modal, type a name for the destination and select Syslog as type.
  6. Fill the host and the port with the ip address and the port of the log concentrator.
  7. Select No for the option Use TLS
  8. Save the destination by clicking Ok

Create an intake

Go to the intake page and create a new intake from the format Ubika WAAP.

Forward logs to Sekoia.io

Please consult the Syslog Forwarding documentation to forward these logs to Sekoia.io.