Skip to content

McAfee Web Gateway / Skyhigh Secure Web Gateway

Overview

Skyhigh Secure Web Gateway (SWG) (previously McAfee Web Gateway (MWG)) is a web gateway offering malware detection, threat prevention and reputation filtering. This product is supported by Skyhigh Security.

Benefit from SEKOIA.IO built-in rules and upgrade McAfee Web Gateway / Skyhigh Secure Web Gateway with the following detection capabilities out-of-the-box.

SEKOIA.IO x McAfee Web Gateway / Skyhigh Secure Web Gateway on ATT&CK Navigator

Burp Suite Tool Detected

Burp Suite is a cybersecurity tool. When used as a proxy service, its purpose is to intercept packets and modify them to send them to the server. Burp Collaborator is a network service that Burp Suite uses to help discover many kinds of vulnerabilities (vulnerabilities scanner)

  • Effort: intermediate
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

Detects CVE-2019-19781 exploitation attempt against Citrix Netscaler, 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-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 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: intermediate
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
Cobalt Strike HTTP Default GET beaconing

Detects GET HTTP queries from known Cobalt Strike beacons (source code 4.3)

  • Effort: advanced
Cobalt Strike HTTP Default POST Beaconing

Detects POST HTTP queries from known Cobalt Strike beacons (source code 4.3)

  • Effort: advanced
Covenant Default HTTP Beaconing

Detects potential Covenant communications through the user-agent and specific urls

  • Effort: intermediate
Exchange Server Creating Unusual Files

Look for Microsoft Exchange Server’s Unified Messaging service creating non-standard content on disk, which could indicate web shells or other malicious content, suggesting exploitation of CVE-2021-26858 vulnerability

  • Effort: intermediate
Exfiltration And Tunneling Tools Execution

Execution of well known tools for data exfiltration and tunneling

  • Effort: advanced
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
LokiBot Default C2 URL

Detects default C2 URL for trojan LokiBot

  • Effort: elementary
Network Scanning and Discovery

Tools and command lines used for network discovery from current system

  • Effort: advanced
Network Sniffing

List of common tools used for network packages sniffing

  • Effort: advanced
Possible Malicious File Double Extension

Detects request to potential malicious file with double extension

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

Detect PEAS privileges escalation scripts and binaries

  • Effort: elementary
RYUK Ransomeware - martinstevens Username

Detects user name "martinstevens". Wizard Spider is used to add the user name "martinstevens" to the AD of its victims. It was observed in several campaigns; in 2019 and 2020.

  • Effort: elementary
Raccoon Stealer 2.0 Legitimate Third-Party DLL Download URL

Detects Raccoon Stealer 2.0 malware downloading legitimate third-party DLLs from its C2 server. These legitimate DLLs are used by the information stealer to collect data on the compromised hosts.

  • 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
SolarWinds Suspicious File Creation

Detects SolarWinds process creating a file with a suspicious extension. The process solarwinds.businesslayerhost.exe created an unexpected file whose extension is ".exe", ".ps1", ".jpg", ".png" or ".dll".

  • Effort: intermediate
Suspicious Double Extension

Detects suspicious use of an .exe extension after a non-executable file extension like .pdf.exe, a set of spaces or underlines to cloak the executable file in spearphishing campaigns

  • 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
System Info Discovery

System info discovery, attempt to detects basic command use to fingerprint a host

  • Effort: master
Telegram Bot API Request

Detects suspicious DNS queries to api.telegram.org used by Telegram Bots of any kind

  • Effort: advanced
TrevorC2 HTTP Communication

Detects TrevorC2 HTTP communication based on the HTTP request URI and the user-agent.

  • Effort: elementary
WCE wceaux.dll Creation

Detects wceaux.dll creation while Windows Credentials Editor (WCE) is executed.

  • Effort: intermediate

Event Categories

The following table lists the data source offered by this integration.

Data Source Description
Anti-virus McAfee Web Gateway / Skyhigh Secure Web Gateway analyze the content of requests and responses to prevent malware infection
Web proxy McAfee Web Gateway / Skyhigh Secure Web Gateway logs provide information about the connected client and the requested resource
Web logs McAfee Web Gateway / Skyhigh Secure Web Gateway logs provide information about the connected client and the requested resource

In details, the following table denotes the type of events produced by this integration.

Name Values
Kind event
Category network
Type access, allowed, connection, denied

Event Samples

Find below few samples of events and how they are normalized by SEKOIA.IO.

{
    "message": "date=\"2022-03-11T10:39:16.390Z\" hostname=\"mwgproxy\" username=\"\" source_ip=1.2.3.4 destination_ip=2.2.2.41 destination_host=\"www.forbiddensite.com\" http_status_code=403 media_type=\"\" source_bytes=131 destination_bytes=0 http_request_first_line=\"GET http://www.forbiddensite.com/ HTTP/1.1\" url_categories=\"Pornography\" url_reputation_string=\"Minimal Risk\" url_reputation_code=-28 ruleset_name=\"Default\" rule_name=\"Block URLs Whose Category Is in Category Blocklist for Default Groups\" block_id=10 block_reason=\"Blocked by URL filtering\" body_infected=false virus_names=\"\" body_modified=false application_reputation=\"Unverified\" application_name=\"forbiddenapp\" http_referer=\"\" user_agent=\"curl/7.77.0\"",
    "event": {
        "start": "2022-03-11T10:39:16.390000Z",
        "category": [
            "network"
        ],
        "code": "10",
        "kind": "event",
        "reason": "Blocked by URL filtering"
    },
    "destination": {
        "ip": "2.2.2.41",
        "domain": "www.forbiddensite.com",
        "address": "www.forbiddensite.com",
        "top_level_domain": "com",
        "subdomain": "www",
        "registered_domain": "forbiddensite.com"
    },
    "http": {
        "request": {
            "method": "GET",
            "bytes": 131
        },
        "response": {
            "bytes": 0,
            "status_code": 403
        }
    },
    "observer": {
        "hostname": "mwgproxy",
        "type": "proxy",
        "vendor": "McAfee Corp.",
        "product": "McAfee Web Gateway"
    },
    "rule": {
        "ruleset": "Default",
        "name": "Block URLs Whose Category Is in Category Blocklist for Default Groups"
    },
    "network": {
        "direction": "egress"
    },
    "source": {
        "ip": "1.2.3.4",
        "address": "1.2.3.4"
    },
    "user_agent": {
        "original": "curl/7.77.0"
    },
    "url": {
        "original": "http://www.forbiddensite.com/",
        "domain": "www.forbiddensite.com",
        "top_level_domain": "com",
        "subdomain": "www",
        "registered_domain": "forbiddensite.com",
        "scheme": "http",
        "path": "/",
        "port": 80
    },
    "skyhighsecurity": {
        "application": {
            "reputation": "Unverified",
            "name": "forbiddenapp"
        },
        "url": {
            "reputation": "Minimal Risk",
            "reputation_code": -28,
            "categories": [
                "Pornography"
            ]
        },
        "http": {
            "body": {
                "infected": "false",
                "modified": "false"
            }
        }
    },
    "related": {
        "hosts": [
            "mwgproxy",
            "www.forbiddensite.com"
        ],
        "ip": [
            "1.2.3.4",
            "2.2.2.41"
        ]
    }
}
{
    "message": "date=\"2022-03-17T13:14:39.134Z\" hostname=\"mwgproxy\" username=\"\" source_ip=1.2.3.4 destination_ip=2.2.2.2 destination_host=\"slscr.update.microsoft.com\" http_status_code=407 media_type=\"\" source_bytes=173 destination_bytes=0 http_request_first_line=\"CONNECT slscr.update.microsoft.com:443 HTTP/1.1\" url_categories=\"Business, Software/Hardware\" url_reputation_string=\"Minimal Risk\" url_reputation_code=-42 ruleset_name=\"Authentication: Direct Proxy\" rule_name=\"Authenticate: Active Directory\" block_id=81 block_reason=\"Authentication Required\" body_infected=false virus_names=\"\" body_modified=false application_reputation=\"Unverified\" application_name=\"\" http_referer=\"\" user_agent=\"\"",
    "event": {
        "start": "2022-03-17T13:14:39.134000Z",
        "category": [
            "network"
        ],
        "code": "81",
        "kind": "event",
        "reason": "Authentication Required"
    },
    "destination": {
        "ip": "2.2.2.2",
        "domain": "slscr.update.microsoft.com",
        "port": 443,
        "address": "slscr.update.microsoft.com",
        "top_level_domain": "com",
        "subdomain": "slscr.update",
        "registered_domain": "microsoft.com"
    },
    "http": {
        "request": {
            "method": "CONNECT",
            "bytes": 173
        },
        "response": {
            "bytes": 0,
            "status_code": 407
        }
    },
    "observer": {
        "hostname": "mwgproxy",
        "type": "proxy",
        "vendor": "McAfee Corp.",
        "product": "McAfee Web Gateway"
    },
    "rule": {
        "ruleset": "Authentication: Direct Proxy",
        "name": "Authenticate: Active Directory"
    },
    "network": {
        "direction": "egress"
    },
    "source": {
        "ip": "1.2.3.4",
        "address": "1.2.3.4"
    },
    "url": {
        "domain": "slscr.update.microsoft.com",
        "port": 443,
        "top_level_domain": "com",
        "subdomain": "slscr.update",
        "registered_domain": "microsoft.com"
    },
    "skyhighsecurity": {
        "application": {
            "reputation": "Unverified"
        },
        "url": {
            "reputation": "Minimal Risk",
            "reputation_code": -42,
            "categories": [
                "Business",
                "Software/Hardware"
            ]
        },
        "http": {
            "body": {
                "infected": "false",
                "modified": "false"
            }
        }
    },
    "related": {
        "hosts": [
            "mwgproxy",
            "slscr.update.microsoft.com"
        ],
        "ip": [
            "1.2.3.4",
            "2.2.2.2"
        ]
    }
}
{
    "message": "date=\"2022-03-24T13:54:02.740Z\" hostname=\"mwgproxy\" username=\"myusername\" source_ip=1.2.3.4 destination_ip=255.255.255.255 destination_host=\"\" http_status_code=400 media_type=\"\" source_bytes=316 destination_bytes=0 http_request_first_line=\"CONNECT :80 HTTP/1.1\" url_categories=\"Business, Software/Hardware\" url_reputation_string=\"Minimal Risk\" url_reputation_code=-3 ruleset_name=\"Exception DFS\" rule_name=\"Forbidden Access\" block_id=10 block_reason=\"Blocked by URL filtering\" body_infected=false virus_names=\"\" body_modified=false application_reputation=\"Unverified\" application_name=\"\" http_referer=\"\" user_agent=\"\"",
    "event": {
        "start": "2022-03-24T13:54:02.740000Z",
        "category": [
            "network"
        ],
        "code": "10",
        "kind": "event",
        "reason": "Blocked by URL filtering"
    },
    "destination": {
        "ip": "255.255.255.255",
        "address": "255.255.255.255"
    },
    "http": {
        "request": {
            "method": "CONNECT",
            "bytes": 316
        },
        "response": {
            "bytes": 0,
            "status_code": 400
        }
    },
    "observer": {
        "hostname": "mwgproxy",
        "type": "proxy",
        "vendor": "McAfee Corp.",
        "product": "McAfee Web Gateway"
    },
    "rule": {
        "ruleset": "Exception DFS",
        "name": "Forbidden Access"
    },
    "network": {
        "direction": "egress"
    },
    "source": {
        "ip": "1.2.3.4",
        "address": "1.2.3.4"
    },
    "user": {
        "name": "myusername"
    },
    "skyhighsecurity": {
        "application": {
            "reputation": "Unverified"
        },
        "url": {
            "reputation": "Minimal Risk",
            "reputation_code": -3,
            "categories": [
                "Business",
                "Software/Hardware"
            ]
        },
        "http": {
            "body": {
                "infected": "false",
                "modified": "false"
            }
        }
    },
    "related": {
        "hosts": [
            "mwgproxy"
        ],
        "ip": [
            "1.2.3.4",
            "255.255.255.255"
        ],
        "user": [
            "myusername"
        ]
    }
}
{
    "message": "date=\"2022-03-11T09:50:47.399Z\" hostname=\"mwgproxy\" username=\"myusername\" source_ip=1.2.3.4 destination_ip=142.250.178.131 destination_host=\"www.google.fr\" http_status_code=200 media_type=\"\" source_bytes=127 destination_bytes=14678 http_request_first_line=\"GET http://www.google.fr/ HTTP/1.1\" url_categories=\"Search Engines\" url_reputation_string=\"Minimal Risk\" url_reputation_code=0 ruleset_name=\"Dynamic Content Classification\" rule_name=\"Block URLs Whose Category Is in Category Blocklist\" block_id=0 block_reason=\"\" body_infected=false virus_names=\"\" body_modified=false application_reputation=\"Unverified\" application_name=\"\" http_referer=\"\" user_agent=\"curl/7.77.0\"",
    "event": {
        "start": "2022-03-11T09:50:47.399000Z",
        "category": [
            "network"
        ],
        "code": "0",
        "kind": "event",
        "action": "allowed",
        "type": [
            "connection",
            "access",
            "allowed"
        ]
    },
    "destination": {
        "ip": "142.250.178.131",
        "domain": "www.google.fr",
        "address": "www.google.fr",
        "top_level_domain": "fr",
        "subdomain": "www",
        "registered_domain": "google.fr"
    },
    "http": {
        "request": {
            "method": "GET",
            "bytes": 127
        },
        "response": {
            "bytes": 14678,
            "status_code": 200
        }
    },
    "observer": {
        "hostname": "mwgproxy",
        "type": "proxy",
        "vendor": "McAfee Corp.",
        "product": "McAfee Web Gateway"
    },
    "rule": {
        "ruleset": "Dynamic Content Classification",
        "name": "Block URLs Whose Category Is in Category Blocklist"
    },
    "network": {
        "direction": "egress"
    },
    "source": {
        "ip": "1.2.3.4",
        "address": "1.2.3.4"
    },
    "user_agent": {
        "original": "curl/7.77.0"
    },
    "url": {
        "original": "http://www.google.fr/",
        "domain": "www.google.fr",
        "top_level_domain": "fr",
        "subdomain": "www",
        "registered_domain": "google.fr",
        "scheme": "http",
        "path": "/",
        "port": 80
    },
    "user": {
        "name": "myusername"
    },
    "skyhighsecurity": {
        "application": {
            "reputation": "Unverified"
        },
        "url": {
            "reputation": "Minimal Risk",
            "reputation_code": 0,
            "categories": [
                "Search Engines"
            ]
        },
        "http": {
            "body": {
                "infected": "false",
                "modified": "false"
            }
        }
    },
    "related": {
        "hosts": [
            "mwgproxy",
            "www.google.fr"
        ],
        "ip": [
            "1.2.3.4",
            "142.250.178.131"
        ],
        "user": [
            "myusername"
        ]
    }
}
{
    "message": "user_id=-1 username=foo source_ip=37.171.139.5 http_action=CERTVERIFY server_to_client_bytes=0 client_to_server_bytes=0 requested_host=ping-edge.smartscreen.microsoft.com requested_path=/ result=OBSERVED virus= request_timestamp_epoch=1661260270 request_timestamp=2022-08-23 13:11:10 uri_scheme=https category=Business, Software/Hardware media_type=application/x-empty application_type= reputation=Minimal Risk last_rule=Allow http_status_code=200 client_ip=10.0.2.15 location= block_reason= user_agent_product=Other user_agent_version= user_agent_comment= process_name=msedge.exe destination_ip=20.108.130.238 destination_port=443 pop_country_code=FR referer= ssl_scanned=t av_scanned_up=t av_scanned_down=f rbi=f dlp=f client_system_name=desktop-rles2a6 filename= pop_egress_ip=161.69.108.44 pop_ingress_ip=10.42.47.222 proxy_port=8080",
    "event": {
        "category": [
            "network"
        ],
        "kind": "event",
        "action": "allowed",
        "type": [
            "connection",
            "access",
            "allowed"
        ]
    },
    "@timestamp": "2022-08-23T13:11:10.000000Z",
    "source": {
        "bytes": 0,
        "nat": {
            "ip": "37.171.139.5"
        },
        "ip": "10.0.2.15",
        "address": "10.0.2.15"
    },
    "destination": {
        "ip": "20.108.130.238",
        "domain": "ping-edge.smartscreen.microsoft.com",
        "bytes": 0,
        "port": 443,
        "address": "ping-edge.smartscreen.microsoft.com",
        "top_level_domain": "com",
        "subdomain": "ping-edge.smartscreen",
        "registered_domain": "microsoft.com"
    },
    "http": {
        "response": {
            "status_code": 200,
            "mime_type": "application/x-empty"
        },
        "request": {
            "mime_type": "application/x-empty"
        }
    },
    "url": {
        "scheme": "https",
        "path": "/"
    },
    "host": {
        "name": "desktop-rles2a6"
    },
    "process": {
        "name": "msedge.exe"
    },
    "observer": {
        "type": "proxy",
        "vendor": "McAfee Corp.",
        "product": "McAfee Web Gateway"
    },
    "rule": {
        "name": "Allow",
        "category": "Business, Software/Hardware"
    },
    "network": {
        "direction": "egress"
    },
    "user": {
        "name": "foo"
    },
    "skyhighsecurity": {
        "dlp": "f",
        "rbi": "f",
        "av_scanned_down": "f",
        "reputation": "Minimal Risk"
    },
    "related": {
        "hosts": [
            "ping-edge.smartscreen.microsoft.com"
        ],
        "ip": [
            "10.0.2.15",
            "20.108.130.238",
            "37.171.139.5"
        ],
        "user": [
            "foo"
        ]
    }
}
{
    "message": "id=-1 username=autorite nt\\\\service r\u00c9seau source_ip=1.1.1.1 http_action=GET server_to_client_bytes=3160 client_to_server_bytes=1137 requested_host=ctldl.windowsupdate.com requested_path=/msdownload/update/v3/static/trustedr/en/pinrulesstl.cab result=DENIED virus= request_timestamp_epoch=1661266553 request_timestamp=2022-08-23 14:55:53 uri_scheme=http category=Software/Hardware media_type= application_type= reputation=Minimal Risk last_rule=Block if MCP Authentication Failed http_status_code=403 client_ip=1.1.1.1 location= block_reason=Authentication Required user_agent_product=Other user_agent_version= user_agent_comment= process_name=svchost.exe destination_ip=1.1.1.1 destination_port=80 pop_country_code=fr referer= ssl_scanned=f av_scanned_up=f av_scanned_down=f rbi=f dlp=f client_system_name= filename=pinrulesstl.cab pop_egress_ip=1.1.1.1pop_ingress_ip=1.1.1.1 proxy_port=80",
    "event": {
        "category": [
            "network"
        ],
        "kind": "event",
        "action": "denied",
        "reason": "Authentication Required",
        "type": [
            "connection",
            "access",
            "denied"
        ]
    },
    "@timestamp": "2022-08-23T14:55:53.000000Z",
    "source": {
        "bytes": 1137,
        "nat": {
            "ip": "1.1.1.1"
        },
        "ip": "1.1.1.1",
        "address": "1.1.1.1"
    },
    "destination": {
        "ip": "1.1.1.1",
        "domain": "ctldl.windowsupdate.com",
        "bytes": 3160,
        "port": 80,
        "address": "ctldl.windowsupdate.com",
        "top_level_domain": "com",
        "subdomain": "ctldl",
        "registered_domain": "windowsupdate.com"
    },
    "http": {
        "response": {
            "status_code": 403
        }
    },
    "url": {
        "scheme": "http",
        "path": "/msdownload/update/v3/static/trustedr/en/pinrulesstl.cab"
    },
    "process": {
        "name": "svchost.exe"
    },
    "observer": {
        "type": "proxy",
        "vendor": "McAfee Corp.",
        "product": "McAfee Web Gateway"
    },
    "file": {
        "name": "pinrulesstl.cab"
    },
    "rule": {
        "name": "Block if MCP Authentication Failed",
        "category": "Software/Hardware"
    },
    "network": {
        "direction": "egress"
    },
    "user": {
        "name": "autorite nt\\\\service r\u00c9seau"
    },
    "skyhighsecurity": {
        "dlp": "f",
        "rbi": "f",
        "av_scanned_down": "f",
        "reputation": "Minimal Risk"
    },
    "related": {
        "hosts": [
            "ctldl.windowsupdate.com"
        ],
        "ip": [
            "1.1.1.1"
        ],
        "user": [
            "autorite nt\\\\service r\u00c9seau"
        ]
    }
}

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.bytes long Bytes sent from the destination to the source.
destination.domain keyword The domain name of the destination.
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.code keyword Identification code for this event.
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.start date event.start contains the date when the event started or when the activity was first observed.
event.type keyword Event type. The third categorization field in the hierarchy.
file.name keyword Name of the file including the extension, without the directory.
host.name keyword Name of the host.
http.request.bytes long Total size in bytes of the request (body and headers).
http.request.method keyword HTTP request method.
http.request.mime_type keyword Mime type of the body of the request.
http.request.referrer keyword Referrer for this HTTP request.
http.response.bytes long Total size in bytes of the response (body and headers).
http.response.mime_type keyword Mime type of the body of the response.
http.response.status_code long HTTP response status code.
network.direction keyword Direction of the network traffic.
observer.hostname keyword Hostname of the observer.
observer.product keyword The product name of the observer.
observer.type keyword The type of the observer the data is coming from.
observer.vendor keyword Vendor name of the observer.
process.name keyword Process name.
rule.category keyword Rule category
rule.name keyword Rule name
rule.ruleset keyword Rule ruleset
skyhighsecurity.application.name keyword The name of the web application requested
skyhighsecurity.application.reputation keyword The reputation string of the web application requested
skyhighsecurity.http.body.infected keyword Flag to indicate if the body was infected
skyhighsecurity.http.body.modified keyword Flag to indicate if the body was modified (due to infection)
skyhighsecurity.url.categories text The list of categories associated to the url
skyhighsecurity.url.reputation keyword The reputation string of an url
skyhighsecurity.url.reputation_code number The reputation code of an url
skyhighsecurity.viruses text A list of virus name
source.bytes long Bytes sent from the source to the destination.
source.ip ip IP address of the source.
source.nat.ip ip Source NAT ip
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.port long Port of the request, such as 443.
url.scheme keyword Scheme of the url.
user.name keyword Short name or login of the user.
user_agent.original keyword Unparsed user_agent string.

Configure

In this guide, you will configure a rule set to forward events to syslog and add a new forwarding in the rsyslog server provided with MWG.

Configure a Rule Set

Prior to the configuration, download the “Rule Set” configuration SEKOIAIO_SKYHIGH_swg.xml.

In your SWG console:

  • Select Policy section then the Rule sets tab. From the menu, select Log Handler.
  • Right-click on the Default Log Handler in the tree then select Add > Rule Set from Library....
  • Once the Add from Rule Set library window opened, under the Rule Set Library tree, click on the Import from file... button and import SEKOIAIO_mwg.xml file.
  • Select the Rule Set SEKOIA.IO and ensure the rule forward logs is enabled.

Configure Rsyslog

To forward your logs to our servers, in our MWG console:

  • Select Configuration section then the File Editor tab.
  • In the tree, select rsyslog.conf.
  • Consult the Rsyslog Transport documentation to configure Rsyslog in order to forward these logs to SEKOIA.IO.