Skip to content

Suricata

Overview

Suricata is a free and open source, mature, fast and robust network threat detection engine. Suricata inspects the network traffic using a powerful and extensive rules and signature language, and has powerful Lua scripting support for detection of complex threats.

  • Vendor: OISF fundation
  • Supported environment: On prem
  • Version compatibility: 6.0.20
  • Detection based on: Telemetry
  • Supported application or feature: Network device logs, Network intrusion detection system, Network protocol analysis, Web logs, DNS records, SSL/TLS certificates

Configure

Suricata leverages its EVE output module to report alerts, metadata, file info and protocol records in JSON. As described in the official documentation, this module can report its findings through the syslog facility.

Configure log settings

Open the Suricata configuration file: suricata.yaml (please note that the path to the configuration file may change depending on the OS and your configuration):

sudo vim /etc/suricata/suricata.yaml

Paste the following declaration in your suricata configuration to trigger the production of syslog entries under the local5 facility:

outputs:
  - eve-log:
      enabled: yes
      type:syslog
      identity: suricata
      facility: local5
      level: Info
      types:
        - alert
        - http
        - dns
        - tls

Forward logs to Sekoia

Given this Suricata configuration, your local built-in rsyslog service will handle produced records. Once your Suricata is configured to log threw syslog you have many options to forward those logs to Sekoia.io app. All of those solutions have their advantages. You will find more details about the type of events that are handled by each of them and how to set up those solutions on the dedicated documentations that follows:

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.

{
    "timestamp": "2024-01-07T19:54:41.712927+0000",
    "flow_id": 520221496542071,
    "in_iface": "eth0",
    "event_type": "alert",
    "src_ip": "1.2.3.4",
    "src_port": 44244,
    "dest_ip": "10.0.4.4",
    "dest_port": 2375,
    "proto": "TCP",
    "metadata": {
        "flowints": {
            "http.anomaly.count": 1
        }
    },
    "tx_id": 0,
    "alert": {
        "action": "allowed",
        "gid": 1,
        "signature_id": 2221014,
        "rev": 1,
        "signature": "SURICATA HTTP missing Host header",
        "category": "Generic Protocol Command Decode",
        "severity": 3
    },
    "http": {
        "url": "/version",
        "http_content_type": "application/json",
        "http_method": "GET",
        "protocol": "HTTP/1.1",
        "status": 404,
        "length": 0
    },
    "app_proto": "http",
    "flow": {
        "pkts_toserver": 4,
        "pkts_toclient": 4,
        "bytes_toserver": 265,
        "bytes_toclient": 701,
        "start": "2024-01-07T19:54:41.492407+0000"
    }
}
{
    "timestamp": "2024-01-16T15:31:05.676280+0000",
    "flow_id": 2027746959634226,
    "in_iface": "eth0",
    "event_type": "alert",
    "src_ip": "10.0.4.4",
    "src_port": 57584,
    "dest_ip": "169.254.169.254",
    "dest_port": 80,
    "proto": "TCP",
    "community_id": "1:aymnqZT++/Mb1TKCNw5wagfU4lo=",
    "tx_id": 0,
    "alert": {
        "action": "allowed",
        "gid": 1,
        "signature_id": 1,
        "rev": 0,
        "signature": "Agent",
        "category": "",
        "severity": 3
    },
    "http": {
        "hostname": "169.254.169.254",
        "url": "/metadata/instance?api-version=2018-02-01",
        "http_user_agent": "WALinuxAgent/2.2.47+health",
        "http_content_type": "application/json",
        "http_method": "GET",
        "protocol": "HTTP/1.1",
        "status": 200,
        "length": 658
    },
    "app_proto": "http",
    "flow": {
        "pkts_toserver": 4,
        "pkts_toclient": 2,
        "bytes_toserver": 455,
        "bytes_toclient": 971,
        "bypassed": {
            "pkts_toserver": 0,
            "pkts_toclient": 0,
            "bytes_toserver": 0,
            "bytes_toclient": 0
        },
        "start": "2024-01-16T15:31:05.667442+0000"
    }
}
{
    "timestamp": "2024-01-03T10:59:59.869444+0100",
    "flow_id": 1341218162162105,
    "in_iface": "ens192",
    "event_type": "anomaly",
    "src_ip": "10.200.52.1",
    "src_port": 80,
    "dest_ip": "10.200.61.2",
    "dest_port": 59730,
    "proto": "TCP",
    "tx_id": 0,
    "anomaly": {
        "app_proto": "http",
        "type": "applayer",
        "event": "REQUEST_AUTH_UNRECOGNIZED",
        "layer": "proto_parser"
    }
}
{
    "host": "probe",
    "system": {
        "memory": {
            "page_stats": {
                "pgsteal_direct": {
                    "pages": 94402103
                },
                "kswapd_efficiency": {
                    "pct": 0.9952
                },
                "direct_efficiency": {
                    "pct": 0.9978
                },
                "pgfree": {
                    "pages": 44400483918
                },
                "pgscan_kswapd": {
                    "pages": 534123009
                },
                "pgscan_direct": {
                    "pages": 94613971
                },
                "pgsteal_kswapd": {
                    "pages": 531564648
                }
            },
            "cached": 6572060672,
            "used": {
                "pct": 0.3987,
                "bytes": 13438373888
            },
            "total": 33706483712,
            "hugepages": {
                "used": {
                    "pct": 0,
                    "bytes": 0
                },
                "surplus": 0,
                "total": 0,
                "reserved": 0,
                "swap": {
                    "out": {
                        "pages": 0,
                        "fallback": 55
                    }
                },
                "default_size": 2097152,
                "free": 0
            },
            "swap": {
                "readahead": {
                    "cached": 7349,
                    "pages": 11798
                },
                "used": {
                    "pct": 0.0191,
                    "bytes": 306184192
                },
                "out": {
                    "pages": 869821
                },
                "total": 15997071360,
                "in": {
                    "pages": 31105
                },
                "free": 15690887168
            },
            "free": 20268109824,
            "actual": {
                "free": 26929573888,
                "used": {
                    "pct": 0.2011,
                    "bytes": 6776909824
                }
            }
        }
    },
    "agent": {
        "version": "7.17.10",
        "type": "metricbeat",
        "name": "probe",
        "id": "8c2941ae-caf1-4b35-bead-caae1d21aa96",
        "hostname": "probe",
        "ephemeral_id": "09850e5a-6478-4e6e-92c3-cf10e3a3a89d"
    },
    "@version": "1",
    "type": "json-log",
    "tenant": "0",
    "metricset": {
        "period": 30000,
        "name": "memory"
    },
    "tags": [
        "beats_input_raw_event"
    ],
    "service": {
        "type": "system"
    },
    "@timestamp": "2023-12-08T15:06:47.131Z",
    "logger": "logstash-manager",
    "event": {
        "dataset": "system.memory",
        "module": "system",
        "duration": 2640456
    }
}
{
    "timestamp": "2019-12-17T14:09:39.935301+0000",
    "flow_id": 1335601175718181,
    "in_iface": "eth0",
    "event_type": "dns",
    "src_ip": "172.31.0.2",
    "src_port": 53,
    "dest_ip": "172.31.0.204",
    "dest_port": 46414,
    "proto": "UDP",
    "dns": {
        "version": 2,
        "type": "answer",
        "id": 38236,
        "flags": "8180",
        "qr": true,
        "rd": true,
        "ra": true,
        "rrname": "rp1.sekoia.io",
        "rrtype": "AAAA",
        "rcode": "NOERROR",
        "authorities": [
            {
                "rrname": "sekoia.io",
                "rrtype": "SOA",
                "ttl": 60
            }
        ]
    }
}
{
    "src_ip": "10.107.208.11",
    "flow_id": 1531972173335705,
    "in_iface": "eth0",
    "proto": "UDP",
    "hostname_info": {
        "tld": "cc",
        "subdomain": "org.repo.release.build",
        "url": "org.repo.release.build.test.com",
        "domain": "test.com",
        "host": "org.repo.release.build.test.com",
        "domain_without_tld": "one"
    },
    "alerted": true,
    "input": {
        "type": "log"
    },
    "logger": "logstash-manager",
    "type": "json-log",
    "dns": {
        "grouped": {
            "A": [
                "1.2.3.62",
                "1.2.3.92",
                "1.2.3.3",
                "1.2.3.57"
            ]
        },
        "rrtype": "A",
        "flags": "8180",
        "rrname": "org.repo.release.build.test.com",
        "type": "answer",
        "ra": true,
        "rcode": "NOERROR",
        "id": 62415,
        "version": 2,
        "rd": true,
        "qr": true
    },
    "see_id": "00505689aa0a",
    "@version": "1",
    "ether": {
        "src_mac": "00:50:56:89:fb:d6",
        "dest_mac": "00:50:56:89:f3:ed"
    },
    "app_proto": "dns",
    "dest_port": 53,
    "target": {
        "dest": {
            "sequence_total": 2.0,
            "fqdn": "dc.corp.com",
            "id": "dc-dc",
            "hardware_cpu": 8.0,
            "egress_networks": [
                "dc_int"
            ],
            "name": "DC",
            "visibility": "public",
            "vm_name": "xs23_dc.corp.com",
            "description": "DC Primary Domain Controller",
            "addr": "10.107.201.100",
            "hardware_ram": 8.0,
            "capabilities": [],
            "id_full": "dc-dc_01_t02",
            "services": [],
            "spec_name": "dc-dc",
            "hardware_primary_disk_size": 60.0,
            "sequence_tag": "dc",
            "owner": "Allar Viik",
            "tags": [
                "int",
                "os_windows",
                "os_windows_server",
                "os_windows_server_2022",
                "bt",
                "team_blue",
                "dc",
                "custom_bt_domain_controller",
                "dc"
            ],
            "role": "dc",
            "connection_network": "dc_int",
            "customization_context": "host"
        },
        "src": {
            "sequence_total": null,
            "fqdn": "first.dc.02.corp.com",
            "id": "first",
            "hardware_cpu": 2.0,
            "egress_networks": [
                "dc_5g_core"
            ],
            "name": "DC",
            "visibility": "public",
            "vm_name": "dc-vm.corp.com",
            "description": null,
            "addr": "10.107.208.11",
            "hardware_ram": 4.0,
            "capabilities": [],
            "id_full": "first_t02",
            "services": [],
            "spec_name": "first",
            "hardware_primary_disk_size": 25.0,
            "sequence_tag": null,
            "owner": "Julian Sturm",
            "tags": [
                "5g_core",
                "os_linux",
                "os_ubuntu",
                "os_ubuntu_22_04",
                "bt",
                "team_blue",
                "dc",
                "fiveg_db"
            ],
            "role": "first",
            "connection_network": "dc_5g_core",
            "customization_context": "host"
        }
    },
    "@timestamp": "2023-12-07T10:51:01.819Z",
    "event_type": "dns",
    "timestamp": "2023-12-07T10:51:01.819001+0000",
    "agent": {
        "type": "filebeat",
        "hostname": "probe",
        "id": "9f305fa4-6db1-485c-81f9-598dce1469e3",
        "version": "7.17.10",
        "name": "probe",
        "ephemeral_id": "b1db2027-720f-41e4-9798-dc8a0ea21017"
    },
    "tags": [
        "beats_input_codec_json_applied"
    ],
    "log": {
        "offset": 146571591,
        "file": {
            "path": "/var/log/suricata/eve-1.json"
        }
    },
    "tenant": 2,
    "src_port": 38141,
    "host": "probe",
    "see_name": "server",
    "net_info": {
        "src_agg": "dc",
        "src": [
            "dc",
            "bt"
        ],
        "dest_agg": "dc.bt",
        "dest": [
            "dc",
            "bt"
        ]
    },
    "dest_ip": "10.107.201.100"
}
{
    "timestamp": "2019-12-17T14:09:39.935301+0000",
    "flow_id": 1335601175718181,
    "in_iface": "eth0",
    "event_type": "dns",
    "src_ip": "172.31.0.2",
    "src_port": 53,
    "dest_ip": "172.31.0.204",
    "dest_port": 46414,
    "proto": "UDP",
    "dns": {
        "version": 2,
        "type": "answer",
        "id": 38236,
        "flags": "8180",
        "qr": true,
        "rd": true,
        "ra": true,
        "rcode": "NOERROR",
        "answers": [
            {
                "rrname": "sekoia.io",
                "rrtype": "SOA",
                "ttl": 60
            },
            {
                "rrname": "rp1.sekoia.io",
                "rrtype": "A",
                "ttl": 10,
                "rdata": "192.1.10.34"
            }
        ]
    }
}
{
    "timestamp": "2019-12-17T14:10:39.885554+0000",
    "flow_id": 2012569629852466,
    "in_iface": "eth0",
    "event_type": "dns",
    "src_ip": "172.31.0.204",
    "src_port": 58107,
    "dest_ip": "172.31.0.2",
    "dest_port": 53,
    "proto": "UDP",
    "dns": {
        "type": "query",
        "id": 42259,
        "rrname": "rp1.sekoia.io",
        "rrtype": "A",
        "tx_id": 0
    }
}
{
    "timestamp": "2024-01-09T15:12:24.540473+0000",
    "flow_id": 1820734905123445,
    "in_iface": "eth0",
    "event_type": "flow",
    "src_ip": "10.0.4.4",
    "src_port": 49250,
    "dest_ip": "1.2.3.4",
    "dest_port": 443,
    "proto": "TCP",
    "app_proto": "tls",
    "flow": {
        "pkts_toserver": 12,
        "pkts_toclient": 12,
        "bytes_toserver": 1842,
        "bytes_toclient": 11086,
        "start": "2024-01-09T15:07:44.721525+0000",
        "end": "2024-01-09T15:07:44.740950+0000",
        "age": 0,
        "state": "closed",
        "reason": "timeout",
        "alerted": false
    },
    "tcp": {
        "tcp_flags": "1b",
        "tcp_flags_ts": "1b",
        "tcp_flags_tc": "1b",
        "syn": true,
        "fin": true,
        "psh": true,
        "ack": true,
        "state": "closed"
    }
}
{
    "timestamp": "2024-01-08T15:01:19.875607+0000",
    "flow_id": 320394061813648,
    "in_iface": "eth0",
    "event_type": "ftp",
    "src_ip": "1.2.3.4",
    "src_port": 58265,
    "dest_ip": "10.0.4.4",
    "dest_port": 22,
    "proto": "TCP",
    "tx_id": 0,
    "ftp": {
        "command": "USER",
        "command_data": "anonymous",
        "reply": [
            "SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u3"
        ],
        "reply_received": "yes"
    }
}
{
    "timestamp": "2020-01-27T21:11:18.578947+0000",
    "flow_id": 792581754900635,
    "pcap_cnt": 3444,
    "event_type": "alert",
    "src_ip": "10.20.30.101",
    "src_port": 49778,
    "dest_ip": "203.176.135.102",
    "dest_port": 8082,
    "proto": "TCP",
    "metadata": {
        "flowbits": [
            "ET.Evil",
            "ET.BotccIP"
        ]
    },
    "http": {
        "hostname": "203.176.135.102",
        "http_port": 8082,
        "url": "/mor84/DESKTOP-83TKHSQ_W10018363.572D588D45894026346E8F90E07B31E6/90",
        "http_user_agent": "KSKJJGJ",
        "http_content_type": "text/plain",
        "http_method": "POST",
        "protocol": "HTTP/1.1",
        "status": 200,
        "length": 3
    },
    "app_proto": "http",
    "flow": {
        "pkts_toserver": 8,
        "pkts_toclient": 7,
        "bytes_toserver": 5427,
        "bytes_toclient": 502,
        "start": "2020-01-27T21:11:16.708763+0000"
    },
    "alert": {
        "action": "allowed",
        "gid": 1,
        "signature_id": 2100494,
        "rev": 12,
        "signature": "GPL ATTACK_RESPONSE command completed",
        "category": "Potentially Bad Traffic",
        "severity": 2,
        "metadata": {
            "updated_at": [
                "2010_09_23"
            ],
            "created_at": [
                "2010_09_23"
            ]
        }
    }
}
{
    "timestamp": "2020-10-14T10:03:17.006417+0000",
    "flow_id": 896178426658321,
    "in_iface": "ens3",
    "event_type": "flow",
    "src_ip": "fe80:0000:0000:0000:fc16:3eff:fe01:3dd2",
    "dest_ip": "ff02:0000:0000:0000:0000:0000:0000:0002",
    "proto": "IPv6-ICMP",
    "icmp_type": 133,
    "icmp_code": 0,
    "flow": {
        "pkts_toserver": 1,
        "pkts_toclient": 0,
        "bytes_toserver": 70,
        "bytes_toclient": 0,
        "start": "2020-10-14T10:02:46.245265+0000",
        "end": "2020-10-14T10:02:46.245265+0000",
        "age": 0,
        "state": "new",
        "reason": "timeout",
        "alerted": false
    }
}
{
    "timestamp": "2024-01-07T20:05:01.422020+0000",
    "flow_id": 293887458056333,
    "in_iface": "eth0",
    "event_type": "smb",
    "src_ip": "1.2.3.4",
    "src_port": 49492,
    "dest_ip": "10.0.4.4",
    "dest_port": 2375,
    "proto": "TCP",
    "smb": {
        "id": 1,
        "dialect": "unknown",
        "command": "SMB1_COMMAND_NEGOTIATE_PROTOCOL",
        "session_id": 0,
        "tree_id": 0,
        "client_dialects": [
            "PC NETWORK PROGRAM 1.0",
            "MICROSOFT NETWORKS 1.03",
            "MICROSOFT NETWORKS 3.0",
            "LANMAN1.0",
            "LM1.2X002",
            "Samba",
            "NT LANMAN 1.0",
            "NT LM 0.12"
        ],
        "server_guid": ""
    }
}
{
    "timestamp": "2024-01-09T15:11:44.835699+0000",
    "flow_id": 694519333924807,
    "in_iface": "eth0",
    "event_type": "ssh",
    "src_ip": "1.2.3.4",
    "src_port": 35730,
    "dest_ip": "10.0.4.4",
    "dest_port": 22,
    "proto": "TCP",
    "tx_id": 0,
    "ssh": {
        "client": {
            "proto_version": "2.0",
            "software_version": "libssh_0.9.6"
        },
        "server": {
            "proto_version": "2.0",
            "software_version": "OpenSSH_8.4p1"
        }
    }
}
{
    "timestamp": "2024-01-09T15:13:00.667785+0000",
    "event_type": "stats",
    "stats": {
        "uptime": 450501,
        "capture": {
            "kernel_packets": 7349877,
            "kernel_drops": 2158,
            "errors": 0
        },
        "decoder": {
            "pkts": 7347719,
            "bytes": 4645180192,
            "invalid": 0,
            "ipv4": 7343837,
            "ipv6": 3882,
            "ethernet": 7347719,
            "chdlc": 0,
            "raw": 0,
            "null": 0,
            "sll": 0,
            "tcp": 7343737,
            "udp": 3859,
            "sctp": 0,
            "icmpv4": 0,
            "icmpv6": 123,
            "ppp": 0,
            "pppoe": 0,
            "geneve": 0,
            "gre": 0,
            "vlan": 0,
            "vlan_qinq": 0,
            "vxlan": 0,
            "ieee8021ah": 0,
            "teredo": 0,
            "ipv4_in_ipv6": 0,
            "ipv6_in_ipv6": 0,
            "mpls": 0,
            "avg_pkt_size": 632,
            "max_pkt_size": 1514,
            "max_mac_addrs_src": 0,
            "max_mac_addrs_dst": 0,
            "erspan": 0,
            "event": {
                "ipv4": {
                    "pkt_too_small": 0,
                    "hlen_too_small": 0,
                    "iplen_smaller_than_hlen": 0,
                    "trunc_pkt": 0,
                    "opt_invalid": 0,
                    "opt_invalid_len": 0,
                    "opt_malformed": 0,
                    "opt_pad_required": 0,
                    "opt_eol_required": 0,
                    "opt_duplicate": 0,
                    "opt_unknown": 0,
                    "wrong_ip_version": 0,
                    "icmpv6": 0,
                    "frag_pkt_too_large": 0,
                    "frag_overlap": 0,
                    "frag_ignored": 0
                },
                "icmpv4": {
                    "pkt_too_small": 0,
                    "unknown_type": 0,
                    "unknown_code": 0,
                    "ipv4_trunc_pkt": 0,
                    "ipv4_unknown_ver": 0
                },
                "icmpv6": {
                    "unknown_type": 0,
                    "unknown_code": 0,
                    "pkt_too_small": 0,
                    "ipv6_unknown_version": 0,
                    "ipv6_trunc_pkt": 0,
                    "mld_message_with_invalid_hl": 0,
                    "unassigned_type": 0,
                    "experimentation_type": 0
                },
                "ipv6": {
                    "pkt_too_small": 0,
                    "trunc_pkt": 0,
                    "trunc_exthdr": 0,
                    "exthdr_dupl_fh": 0,
                    "exthdr_useless_fh": 0,
                    "exthdr_dupl_rh": 0,
                    "exthdr_dupl_hh": 0,
                    "exthdr_dupl_dh": 0,
                    "exthdr_dupl_ah": 0,
                    "exthdr_dupl_eh": 0,
                    "exthdr_invalid_optlen": 0,
                    "wrong_ip_version": 0,
                    "exthdr_ah_res_not_null": 0,
                    "hopopts_unknown_opt": 0,
                    "hopopts_only_padding": 0,
                    "dstopts_unknown_opt": 0,
                    "dstopts_only_padding": 0,
                    "rh_type_0": 0,
                    "zero_len_padn": 0,
                    "fh_non_zero_reserved_field": 0,
                    "data_after_none_header": 0,
                    "unknown_next_header": 0,
                    "icmpv4": 0,
                    "frag_pkt_too_large": 0,
                    "frag_overlap": 0,
                    "frag_ignored": 0,
                    "ipv4_in_ipv6_too_small": 0,
                    "ipv4_in_ipv6_wrong_version": 0,
                    "ipv6_in_ipv6_too_small": 0,
                    "ipv6_in_ipv6_wrong_version": 0
                },
                "tcp": {
                    "pkt_too_small": 0,
                    "hlen_too_small": 0,
                    "invalid_optlen": 0,
                    "opt_invalid_len": 0,
                    "opt_duplicate": 0
                },
                "udp": {
                    "pkt_too_small": 0,
                    "hlen_too_small": 0,
                    "hlen_invalid": 0
                },
                "sll": {
                    "pkt_too_small": 0
                },
                "ethernet": {
                    "pkt_too_small": 0
                },
                "ppp": {
                    "pkt_too_small": 0,
                    "vju_pkt_too_small": 0,
                    "ip4_pkt_too_small": 0,
                    "ip6_pkt_too_small": 0,
                    "wrong_type": 0,
                    "unsup_proto": 0
                },
                "pppoe": {
                    "pkt_too_small": 0,
                    "wrong_code": 0,
                    "malformed_tags": 0
                },
                "gre": {
                    "pkt_too_small": 0,
                    "wrong_version": 0,
                    "version0_recur": 0,
                    "version0_flags": 0,
                    "version0_hdr_too_big": 0,
                    "version0_malformed_sre_hdr": 0,
                    "version1_chksum": 0,
                    "version1_route": 0,
                    "version1_ssr": 0,
                    "version1_recur": 0,
                    "version1_flags": 0,
                    "version1_no_key": 0,
                    "version1_wrong_protocol": 0,
                    "version1_malformed_sre_hdr": 0,
                    "version1_hdr_too_big": 0
                },
                "vlan": {
                    "header_too_small": 0,
                    "unknown_type": 0,
                    "too_many_layers": 0
                },
                "ieee8021ah": {
                    "header_too_small": 0
                },
                "ipraw": {
                    "invalid_ip_version": 0
                },
                "ltnull": {
                    "pkt_too_small": 0,
                    "unsupported_type": 0
                },
                "sctp": {
                    "pkt_too_small": 0
                },
                "mpls": {
                    "header_too_small": 0,
                    "pkt_too_small": 0,
                    "bad_label_router_alert": 0,
                    "bad_label_implicit_null": 0,
                    "bad_label_reserved": 0,
                    "unknown_payload_type": 0
                },
                "vxlan": {
                    "unknown_payload_type": 0
                },
                "geneve": {
                    "unknown_payload_type": 0
                },
                "erspan": {
                    "header_too_small": 0,
                    "unsupported_version": 0,
                    "too_many_vlan_layers": 0
                },
                "dce": {
                    "pkt_too_small": 0
                }
            }
        },
        "flow": {
            "memcap": 0,
            "tcp": 181930,
            "udp": 3809,
            "icmpv4": 0,
            "icmpv6": 123,
            "tcp_reuse": 212,
            "get_used": 0,
            "get_used_eval": 0,
            "get_used_eval_reject": 0,
            "get_used_eval_busy": 0,
            "get_used_failed": 0,
            "wrk": {
                "spare_sync_avg": 100,
                "spare_sync": 181,
                "spare_sync_incomplete": 0,
                "spare_sync_empty": 0,
                "flows_evicted_needs_work": 165396,
                "flows_evicted_pkt_inject": 182621,
                "flows_evicted": 2891,
                "flows_injected": 164908
            },
            "mgr": {
                "full_hash_pass": 1878,
                "closed_pruned": 0,
                "new_pruned": 0,
                "est_pruned": 0,
                "bypassed_pruned": 0,
                "rows_maxlen": 2,
                "flows_checked": 233704,
                "flows_notimeout": 50882,
                "flows_timeout": 182822,
                "flows_timeout_inuse": 0,
                "flows_evicted": 182893,
                "flows_evicted_needs_work": 164908
            },
            "spare": 9885,
            "emerg_mode_entered": 0,
            "emerg_mode_over": 0,
            "memuse": 7474304
        },
        "defrag": {
            "ipv4": {
                "fragments": 0,
                "reassembled": 0,
                "timeouts": 0
            },
            "ipv6": {
                "fragments": 0,
                "reassembled": 0,
                "timeouts": 0
            },
            "max_frag_hits": 0
        },
        "flow_bypassed": {
            "local_pkts": 14998,
            "local_bytes": 989868,
            "local_capture_pkts": 0,
            "local_capture_bytes": 0,
            "closed": 0,
            "pkts": 0,
            "bytes": 0
        },
        "tcp": {
            "sessions": 174905,
            "ssn_memcap_drop": 0,
            "pseudo": 0,
            "pseudo_failed": 0,
            "invalid_checksum": 1111,
            "no_flow": 0,
            "syn": 175192,
            "synack": 183305,
            "rst": 10555,
            "midstream_pickups": 0,
            "pkt_on_wrong_thread": 0,
            "segment_memcap_drop": 0,
            "stream_depth_reached": 83,
            "reassembly_gap": 6,
            "overlap": 2270,
            "overlap_diff_data": 0,
            "insert_data_normal_fail": 0,
            "insert_data_overlap_fail": 0,
            "insert_list_fail": 0,
            "memuse": 1146920,
            "reassembly_memuse": 731180
        },
        "detect": {
            "engines": [
                {
                    "id": 0,
                    "last_reload": "2024-01-04T10:04:39.457663+0000",
                    "rules_loaded": 57,
                    "rules_failed": 2
                }
            ],
            "alert": 7500
        },
        "app_layer": {
            "flow": {
                "http": 8109,
                "ftp": 1,
                "smtp": 0,
                "tls": 148529,
                "ssh": 16650,
                "imap": 0,
                "smb": 0,
                "dcerpc_tcp": 0,
                "dns_tcp": 0,
                "nfs_tcp": 0,
                "ntp": 0,
                "ftp-data": 0,
                "tftp": 0,
                "ikev2": 0,
                "krb5_tcp": 0,
                "dhcp": 0,
                "snmp": 0,
                "sip": 0,
                "rfb": 0,
                "mqtt": 0,
                "rdp": 0,
                "failed_tcp": 16,
                "dcerpc_udp": 0,
                "dns_udp": 50,
                "nfs_udp": 0,
                "krb5_udp": 0,
                "failed_udp": 3759
            },
            "tx": {
                "http": 8145,
                "ftp": 1,
                "smtp": 0,
                "tls": 0,
                "ssh": 0,
                "imap": 0,
                "smb": 1,
                "dcerpc_tcp": 0,
                "dns_tcp": 0,
                "nfs_tcp": 0,
                "ntp": 0,
                "ftp-data": 0,
                "tftp": 0,
                "ikev2": 0,
                "krb5_tcp": 0,
                "dhcp": 0,
                "snmp": 0,
                "sip": 0,
                "rfb": 0,
                "mqtt": 0,
                "rdp": 0,
                "dcerpc_udp": 0,
                "dns_udp": 100,
                "nfs_udp": 0,
                "krb5_udp": 0
            },
            "expectations": 0
        },
        "http": {
            "memuse": 160825,
            "memcap": 0
        },
        "ftp": {
            "memuse": 0,
            "memcap": 0
        }
    }
}
{
    "timestamp": "2020-01-27T21:27:10.693784+0000",
    "flow_id": 1303642123387833,
    "pcap_cnt": 4623,
    "src_ip": "190.214.13.2",
    "src_port": 449,
    "dest_ip": "10.20.30.101",
    "dest_port": 49791,
    "proto": "TCP",
    "metadata": {
        "flowbits": [
            "ET.Evil",
            "ET.BotccIP"
        ]
    },
    "tx_id": 0,
    "alert": {
        "action": "allowed",
        "gid": 1,
        "signature_id": 2011540,
        "rev": 6,
        "signature": "ET POLICY OpenSSL Demo CA - Internet Widgits Pty (O)",
        "category": "Not Suspicious Traffic",
        "severity": 3,
        "metadata": {
            "updated_at": [
                "2017_11_27"
            ],
            "created_at": [
                "2010_09_27"
            ],
            "former_category": [
                "POLICY"
            ]
        }
    },
    "tls": {
        "subject": "C=AU, ST=Some-State, O=Internet Widgits Pty Ltd",
        "issuerdn": "C=AU, ST=Some-State, O=InternetWidgitsPtyLtd",
        "serial": "00:A8:B9:FF:C1:BD:D5:7E:02",
        "fingerprint": "0b:92:69:6e:6e:9e:54:22:8b:fa:61:d3:be:be:5b:0e:d6:b6:1c:80",
        "version": "TLSv1",
        "notbefore": "2019-12-12T13:14:43",
        "notafter": "2020-12-11T13:14:43",
        "ja3": {}
    },
    "app_proto": "tls",
    "flow": {
        "pkts_toserver": 4,
        "pkts_toclient": 4,
        "bytes_toserver": 675,
        "bytes_toclient": 1500,
        "start": "2020-01-27T21:27:09.705465+0000"
    }
}

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.

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

Bazar Loader DGA (Domain Generation Algorithm)

Detects Bazar Loader domains based on the Bazar Loader DGA

  • Effort: elementary
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 (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
Cobalt Strike DNS Beaconing

Detects suspicious DNS queries known from Cobalt Strike beacons. The threshold is more than 50 suspicious DNS requests to avoid false positives.

  • Effort: advanced
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
Correlation Potential DNS Tunnel

Detects domain name which is longer than 95 characters. Long domain names are distinctive of DNS tunnels.

  • Effort: advanced
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
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
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: intermediate
Download Files From Suspicious TLDs

Detects download of certain file types from hosts in suspicious TLDs

  • Effort: master
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
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
Internet Scanner

Detects known scanner IP addresses. Alert is only raised when the scan hits an opened port, on TCP or UDP. This could be a very noisy rule, so be careful to check your detection perimeter before activation.

  • Effort: master
Internet Scanner Target

Detects known scanner IP addresses. Alert is only raised when the scan hits an opened port, on TCP or UDP and group by target address. This could be a very noisy rule, so be careful to check your detection perimeter before activation.

  • Effort: master
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 Bazar Loader User-Agents

Detects potential Bazar loader communications through the user-agent

  • Effort: elementary
Potential DNS Tunnel

Detects domain name which is longer than 95 characters. Long domain names are distinctive of DNS tunnels.

  • Effort: advanced
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
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
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
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
Remote Monitoring and Management Software - Atera

Detect artifacts related to the installation or execution of the Remote Monitoring and Management tool Atera.

  • 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
SharePoint Authenticated SSRF

Detects succesful SSRF from an authenticated SharePoint user.

  • Effort: elementary
Sliver DNS Beaconing

Detects suspicious DNS queries known from Sliver beaconing

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

Detects suspicious TOR gateways. Gateways are often used by the victim to pay and decrypt the encrypted files without installing TOR. 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: advanced
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
TOR Usage

Detects TOR usage, based on the IP address and the destination port (filtered on NTP). 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
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
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

Event Categories

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

Data Source Description
Network device logs The multiple kinds of logs offered by suricata provide a good overview of the network activity
Network intrusion detection system The alert logs give information about events that matched a rule in the NIDS
Network protocol analysis The multiple kind of logs offered by suricata offer a good overview of the network activity
Web logs Suricata http.log provides many web information like the connected client, the requested resource or even the user agent
DNS records If enabled Suricata can log DNS queries and answers
SSL/TLS certificates If enabled Suricata may log information about the TLS certificates

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

Name Values
Kind alert
Category network
Type connection, info

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": " {\"timestamp\":\"2024-01-07T19:54:41.712927+0000\",\"flow_id\":520221496542071,\"in_iface\":\"eth0\",\"event_type\":\"alert\",\"src_ip\":\"1.2.3.4\",\"src_port\":44244,\"dest_ip\":\"10.0.4.4\",\"dest_port\":2375,\"proto\":\"TCP\",\"metadata\":{\"flowints\":{\"http.anomaly.count\":1}},\"tx_id\":0,\"alert\":{\"action\":\"allowed\",\"gid\":1,\"signature_id\":2221014,\"rev\":1,\"signature\":\"SURICATA HTTP missing Host header\",\"category\":\"Generic Protocol Command Decode\",\"severity\":3},\"http\":{\"url\":\"/version\",\"http_content_type\":\"application/json\",\"http_method\":\"GET\",\"protocol\":\"HTTP/1.1\",\"status\":404,\"length\":0},\"app_proto\":\"http\",\"flow\":{\"pkts_toserver\":4,\"pkts_toclient\":4,\"bytes_toserver\":265,\"bytes_toclient\":701,\"start\":\"2024-01-07T19:54:41.492407+0000\"}}",
    "event": {
        "category": [
            "network"
        ],
        "kind": "alert",
        "severity": 3,
        "start": "2024-01-07T19:54:41.492407Z",
        "type": [
            "connection"
        ]
    },
    "@timestamp": "2024-01-07T19:54:41.712927Z",
    "action": {
        "name": "allowed",
        "properties": {
            "category": "Generic Protocol Command Decode",
            "signature": "SURICATA HTTP missing Host header",
            "signature_id": "2221014"
        },
        "type": "alert"
    },
    "destination": {
        "address": "10.0.4.4",
        "ip": "10.0.4.4",
        "port": 2375
    },
    "host": {
        "ip": "1.2.3.4"
    },
    "http": {
        "request": {
            "method": "GET"
        },
        "response": {
            "bytes": 0,
            "mime_type": "application/json",
            "status_code": 404
        },
        "version": "1.1"
    },
    "network": {
        "protocol": "TCP",
        "transport": "TCP"
    },
    "observer": {
        "ingress": {
            "interface": {
                "name": "eth0"
            }
        }
    },
    "related": {
        "ip": [
            "1.2.3.4",
            "10.0.4.4"
        ]
    },
    "source": {
        "address": "1.2.3.4",
        "bytes": 265,
        "ip": "1.2.3.4",
        "port": 44244
    },
    "url": {
        "original": "/version",
        "path": "/version"
    }
}
{
    "message": " {\"timestamp\":\"2024-01-16T15:31:05.676280+0000\",\"flow_id\":2027746959634226,\"in_iface\":\"eth0\",\"event_type\":\"alert\",\"src_ip\":\"10.0.4.4\",\"src_port\":57584,\"dest_ip\":\"169.254.169.254\",\"dest_port\":80,\"proto\":\"TCP\",\"community_id\":\"1:aymnqZT++/Mb1TKCNw5wagfU4lo=\",\"tx_id\":0,\"alert\":{\"action\":\"allowed\",\"gid\":1,\"signature_id\":1,\"rev\":0,\"signature\":\"Agent\",\"category\":\"\",\"severity\":3},\"http\":{\"hostname\":\"169.254.169.254\",\"url\":\"/metadata/instance?api-version=2018-02-01\",\"http_user_agent\":\"WALinuxAgent/2.2.47+health\",\"http_content_type\":\"application/json\",\"http_method\":\"GET\",\"protocol\":\"HTTP/1.1\",\"status\":200,\"length\":658},\"app_proto\":\"http\",\"flow\":{\"pkts_toserver\":4,\"pkts_toclient\":2,\"bytes_toserver\":455,\"bytes_toclient\":971,\"bypassed\":{\"pkts_toserver\":0,\"pkts_toclient\":0,\"bytes_toserver\":0,\"bytes_toclient\":0},\"start\":\"2024-01-16T15:31:05.667442+0000\"}}",
    "event": {
        "category": [
            "network"
        ],
        "kind": "alert",
        "severity": 3,
        "start": "2024-01-16T15:31:05.667442Z",
        "type": [
            "connection"
        ]
    },
    "@timestamp": "2024-01-16T15:31:05.676280Z",
    "action": {
        "name": "allowed",
        "properties": {
            "signature": "Agent",
            "signature_id": "1"
        },
        "type": "alert"
    },
    "destination": {
        "address": "169.254.169.254",
        "ip": "169.254.169.254",
        "port": 80
    },
    "host": {
        "ip": "10.0.4.4"
    },
    "http": {
        "request": {
            "method": "GET"
        },
        "response": {
            "bytes": 658,
            "mime_type": "application/json",
            "status_code": 200
        },
        "version": "1.1"
    },
    "network": {
        "community_id": "1:aymnqZT++/Mb1TKCNw5wagfU4lo=",
        "protocol": "TCP",
        "transport": "TCP"
    },
    "observer": {
        "ingress": {
            "interface": {
                "name": "eth0"
            }
        }
    },
    "related": {
        "hosts": [
            "169.254.169.254"
        ],
        "ip": [
            "10.0.4.4",
            "169.254.169.254"
        ]
    },
    "source": {
        "address": "10.0.4.4",
        "bytes": 455,
        "ip": "10.0.4.4",
        "port": 57584
    },
    "url": {
        "domain": "169.254.169.254",
        "original": "/metadata/instance?api-version=2018-02-01",
        "path": "/metadata/instance",
        "query": "api-version=2018-02-01"
    },
    "user_agent": {
        "device": {
            "name": "Other"
        },
        "name": "Other",
        "original": "WALinuxAgent/2.2.47+health",
        "os": {
            "name": "Linux"
        }
    }
}
{
    "message": "{\"timestamp\":\"2024-01-03T10:59:59.869444+0100\",\"flow_id\":1341218162162105,\"in_iface\":\"ens192\",\"event_type\":\"anomaly\",\"src_ip\":\"10.200.52.1\",\"src_port\":80,\"dest_ip\":\"10.200.61.2\",\"dest_port\":59730,\"proto\":\"TCP\",\"tx_id\":0,\"anomaly\":{\"app_proto\":\"http\",\"type\":\"applayer\",\"event\":\"REQUEST_AUTH_UNRECOGNIZED\",\"layer\":\"proto_parser\"}}",
    "event": {
        "action": "REQUEST_AUTH_UNRECOGNIZED",
        "category": [
            "network"
        ],
        "type": [
            "info"
        ]
    },
    "@timestamp": "2024-01-03T09:59:59.869444Z",
    "action": {
        "type": "anomaly"
    },
    "destination": {
        "address": "10.200.61.2",
        "ip": "10.200.61.2",
        "port": 59730
    },
    "host": {
        "ip": "10.200.52.1"
    },
    "network": {
        "protocol": "TCP",
        "transport": "TCP"
    },
    "observer": {
        "ingress": {
            "interface": {
                "name": "ens192"
            }
        }
    },
    "related": {
        "ip": [
            "10.200.52.1",
            "10.200.61.2"
        ]
    },
    "source": {
        "address": "10.200.52.1",
        "ip": "10.200.52.1",
        "port": 80
    }
}
{
    "message": "{\"host\":\"probe\",\"system\":{\"memory\":{\"page_stats\":{\"pgsteal_direct\":{\"pages\":94402103},\"kswapd_efficiency\":{\"pct\":0.9952},\"direct_efficiency\":{\"pct\":0.9978},\"pgfree\":{\"pages\":44400483918},\"pgscan_kswapd\":{\"pages\":534123009},\"pgscan_direct\":{\"pages\":94613971},\"pgsteal_kswapd\":{\"pages\":531564648}},\"cached\":6572060672,\"used\":{\"pct\":0.3987,\"bytes\":13438373888},\"total\":33706483712,\"hugepages\":{\"used\":{\"pct\":0,\"bytes\":0},\"surplus\":0,\"total\":0,\"reserved\":0,\"swap\":{\"out\":{\"pages\":0,\"fallback\":55}},\"default_size\":2097152,\"free\":0},\"swap\":{\"readahead\":{\"cached\":7349,\"pages\":11798},\"used\":{\"pct\":0.0191,\"bytes\":306184192},\"out\":{\"pages\":869821},\"total\":15997071360,\"in\":{\"pages\":31105},\"free\":15690887168},\"free\":20268109824,\"actual\":{\"free\":26929573888,\"used\":{\"pct\":0.2011,\"bytes\":6776909824}}}},\"agent\":{\"version\":\"7.17.10\",\"type\":\"metricbeat\",\"name\":\"probe\",\"id\":\"8c2941ae-caf1-4b35-bead-caae1d21aa96\",\"hostname\":\"probe\",\"ephemeral_id\":\"09850e5a-6478-4e6e-92c3-cf10e3a3a89d\"},\"@version\":\"1\",\"type\":\"json-log\",\"tenant\":\"0\",\"metricset\":{\"period\":30000,\"name\":\"memory\"},\"tags\":[\"beats_input_raw_event\"],\"service\":{\"type\":\"system\"},\"@timestamp\":\"2023-12-08T15:06:47.131Z\",\"logger\":\"logstash-manager\",\"event\":{\"dataset\":\"system.memory\",\"module\":\"system\",\"duration\":2640456}}",
    "event": {
        "category": [
            "network"
        ],
        "type": [
            "info"
        ]
    },
    "action": {
        "type": "beats_input_raw_event"
    },
    "host": {
        "name": "probe"
    }
}
{
    "message": "{\"timestamp\":\"2019-12-17T14:09:39.935301+0000\",\"flow_id\":1335601175718181,\"in_iface\":\"eth0\",\"event_type\":\"dns\",\"src_ip\":\"172.31.0.2\",\"src_port\":53,\"dest_ip\":\"172.31.0.204\",\"dest_port\":46414,\"proto\":\"UDP\",\"dns\":{\"version\":2,\"type\":\"answer\",\"id\":38236,\"flags\":\"8180\",\"qr\":true,\"rd\":true,\"ra\":true,\"rrname\":\"rp1.sekoia.io\",\"rrtype\":\"AAAA\",\"rcode\":\"NOERROR\",\"authorities\":[{\"rrname\":\"sekoia.io\",\"rrtype\":\"SOA\",\"ttl\":60}]}}",
    "event": {
        "category": [
            "network"
        ],
        "type": [
            "connection"
        ]
    },
    "@timestamp": "2019-12-17T14:09:39.935301Z",
    "action": {
        "type": "dns"
    },
    "destination": {
        "address": "172.31.0.204",
        "ip": "172.31.0.204",
        "port": 46414
    },
    "dns": {
        "answers": [
            {
                "name": "rp1.sekoia.io",
                "type": "AAAA"
            }
        ],
        "id": "38236",
        "response_code": "NOERROR",
        "size_in_char": 13,
        "type": "answer"
    },
    "host": {
        "ip": "172.31.0.2"
    },
    "network": {
        "protocol": "UDP",
        "transport": "UDP"
    },
    "observer": {
        "ingress": {
            "interface": {
                "name": "eth0"
            }
        }
    },
    "related": {
        "ip": [
            "172.31.0.2",
            "172.31.0.204"
        ]
    },
    "source": {
        "address": "172.31.0.2",
        "ip": "172.31.0.2",
        "port": 53
    }
}
{
    "message": "{\"src_ip\":\"10.107.208.11\",\"flow_id\":1531972173335705,\"in_iface\":\"eth0\",\"proto\":\"UDP\",\"hostname_info\":{\"tld\":\"cc\",\"subdomain\":\"org.repo.release.build\",\"url\":\"org.repo.release.build.test.com\",\"domain\":\"test.com\",\"host\":\"org.repo.release.build.test.com\",\"domain_without_tld\":\"one\"},\"alerted\":true,\"input\":{\"type\":\"log\"},\"logger\":\"logstash-manager\",\"type\":\"json-log\",\"dns\":{\"grouped\":{\"A\":[\"1.2.3.62\",\"1.2.3.92\",\"1.2.3.3\",\"1.2.3.57\"]},\"rrtype\":\"A\",\"flags\":\"8180\",\"rrname\":\"org.repo.release.build.test.com\",\"type\":\"answer\",\"ra\":true,\"rcode\":\"NOERROR\",\"id\":62415,\"version\":2,\"rd\":true,\"qr\":true},\"see_id\":\"00505689aa0a\",\"@version\":\"1\",\"ether\":{\"src_mac\":\"00:50:56:89:fb:d6\",\"dest_mac\":\"00:50:56:89:f3:ed\"},\"app_proto\":\"dns\",\"dest_port\":53,\"target\":{\"dest\":{\"sequence_total\":2.0,\"fqdn\":\"dc.corp.com\",\"id\":\"dc\",\"hardware_cpu\":8.0,\"egress_networks\":[\"dc_int\"],\"name\":\"DC\",\"visibility\":\"public\",\"vm_name\":\"xs23_dc.corp.com\",\"description\":\"DC Primary Domain Controller\",\"addr\":\"10.107.201.100\",\"hardware_ram\":8.0,\"capabilities\":[],\"id_full\":\"dc-dc_01_t02\",\"services\":[],\"spec_name\":\"dc-dc\",\"hardware_primary_disk_size\":60.0,\"sequence_tag\":\"dc\",\"owner\":\"Allar Viik\",\"tags\":[\"int\",\"os_windows\",\"os_windows_server\",\"os_windows_server_2022\",\"bt\",\"team_blue\",\"dc\",\"custom_bt_domain_controller\",\"dc\"],\"role\":\"dc\",\"connection_network\":\"dc_int\",\"id\":\"dc-dc\",\"customization_context\":\"host\"},\"src\":{\"sequence_total\":null,\"fqdn\":\"first.dc.02.corp.com\",\"id\":\"dc\",\"hardware_cpu\":2.0,\"egress_networks\":[\"dc_5g_core\"],\"name\":\"DC\",\"visibility\":\"public\",\"vm_name\":\"dc-vm.corp.com\",\"description\":null,\"addr\":\"10.107.208.11\",\"hardware_ram\":4.0,\"capabilities\":[],\"id_full\":\"first_t02\",\"services\":[],\"spec_name\":\"first\",\"hardware_primary_disk_size\":25.0,\"sequence_tag\":null,\"owner\":\"Julian Sturm\",\"tags\":[\"5g_core\",\"os_linux\",\"os_ubuntu\",\"os_ubuntu_22_04\",\"bt\",\"team_blue\",\"dc\",\"fiveg_db\"],\"role\":\"first\",\"connection_network\":\"dc_5g_core\",\"id\":\"first\",\"customization_context\":\"host\"}},\"@timestamp\":\"2023-12-07T10:51:01.819Z\",\"event_type\":\"dns\",\"timestamp\":\"2023-12-07T10:51:01.819001+0000\",\"agent\":{\"type\":\"filebeat\",\"hostname\":\"probe\",\"id\":\"9f305fa4-6db1-485c-81f9-598dce1469e3\",\"version\":\"7.17.10\",\"name\":\"probe\",\"ephemeral_id\":\"b1db2027-720f-41e4-9798-dc8a0ea21017\"},\"tags\":[\"beats_input_codec_json_applied\"],\"log\":{\"offset\":146571591,\"file\":{\"path\":\"/var/log/suricata/eve-1.json\"}},\"tenant\":2,\"src_port\":38141,\"host\":\"probe\",\"see_name\":\"server\",\"net_info\":{\"src_agg\":\"dc\",\"src\":[\"dc\",\"bt\"],\"dest_agg\":\"dc.bt\",\"dest\":[\"dc\",\"bt\"]},\"dest_ip\":\"10.107.201.100\"}",
    "event": {
        "category": [
            "network"
        ],
        "type": [
            "connection"
        ]
    },
    "@timestamp": "2023-12-07T10:51:01.819001Z",
    "action": {
        "type": "dns"
    },
    "destination": {
        "address": "10.107.201.100",
        "ip": "10.107.201.100",
        "port": 53
    },
    "dns": {
        "answers": [
            {
                "name": "1.2.3.62",
                "type": "A"
            },
            {
                "name": "1.2.3.92",
                "type": "A"
            },
            {
                "name": "1.2.3.3",
                "type": "A"
            },
            {
                "name": "1.2.3.57",
                "type": "A"
            }
        ],
        "id": "62415",
        "question": {
            "name": "org.repo.release.build.test.com",
            "registered_domain": "test.com",
            "subdomain": "org.repo.release.build",
            "top_level_domain": "com",
            "type": "A"
        },
        "response_code": "NOERROR",
        "size_in_char": 31,
        "type": "answer"
    },
    "host": {
        "ip": "10.107.208.11"
    },
    "network": {
        "protocol": "UDP",
        "transport": "UDP"
    },
    "observer": {
        "ingress": {
            "interface": {
                "name": "eth0"
            }
        }
    },
    "related": {
        "hosts": [
            "org.repo.release.build.test.com"
        ],
        "ip": [
            "10.107.201.100",
            "10.107.208.11"
        ]
    },
    "source": {
        "address": "10.107.208.11",
        "ip": "10.107.208.11",
        "port": 38141
    }
}
{
    "message": "{\"timestamp\":\"2019-12-17T14:09:39.935301+0000\",\"flow_id\":1335601175718181,\"in_iface\":\"eth0\",\"event_type\":\"dns\",\"src_ip\":\"172.31.0.2\",\"src_port\":53,\"dest_ip\":\"172.31.0.204\",\"dest_port\":46414,\"proto\":\"UDP\",\"dns\":{\"version\":2,\"type\":\"answer\",\"id\":38236,\"flags\":\"8180\",\"qr\":true,\"rd\":true,\"ra\":true,\"rcode\":\"NOERROR\",\"answers\":[{\"rrname\":\"sekoia.io\",\"rrtype\":\"SOA\",\"ttl\":60},{\"rrname\":\"rp1.sekoia.io\",\"rrtype\":\"A\",\"ttl\":10,\"rdata\":\"192.1.10.34\"}]}}",
    "event": {
        "category": [
            "network"
        ],
        "type": [
            "connection"
        ]
    },
    "@timestamp": "2019-12-17T14:09:39.935301Z",
    "action": {
        "type": "dns"
    },
    "destination": {
        "address": "172.31.0.204",
        "ip": "172.31.0.204",
        "port": 46414
    },
    "dns": {
        "answers": [
            {
                "name": "sekoia.io",
                "type": "SOA"
            },
            {
                "name": "rp1.sekoia.io",
                "type": "A"
            }
        ],
        "id": "38236",
        "response_code": "NOERROR",
        "type": "answer"
    },
    "host": {
        "ip": "172.31.0.2"
    },
    "network": {
        "protocol": "UDP",
        "transport": "UDP"
    },
    "observer": {
        "ingress": {
            "interface": {
                "name": "eth0"
            }
        }
    },
    "related": {
        "ip": [
            "172.31.0.2",
            "172.31.0.204"
        ]
    },
    "source": {
        "address": "172.31.0.2",
        "ip": "172.31.0.2",
        "port": 53
    }
}
{
    "message": "{\"timestamp\":\"2019-12-17T14:10:39.885554+0000\",\"flow_id\":2012569629852466,\"in_iface\":\"eth0\",\"event_type\":\"dns\",\"src_ip\":\"172.31.0.204\",\"src_port\":58107,\"dest_ip\":\"172.31.0.2\",\"dest_port\":53,\"proto\":\"UDP\",\"dns\":{\"type\":\"query\",\"id\":42259,\"rrname\":\"rp1.sekoia.io\",\"rrtype\":\"A\",\"tx_id\":0}}",
    "event": {
        "category": [
            "network"
        ],
        "type": [
            "connection"
        ]
    },
    "@timestamp": "2019-12-17T14:10:39.885554Z",
    "action": {
        "type": "dns"
    },
    "destination": {
        "address": "172.31.0.2",
        "ip": "172.31.0.2",
        "port": 53
    },
    "dns": {
        "id": "42259",
        "question": {
            "name": "rp1.sekoia.io",
            "registered_domain": "sekoia.io",
            "subdomain": "rp1",
            "top_level_domain": "io",
            "type": "A"
        },
        "size_in_char": 13,
        "type": "query"
    },
    "host": {
        "ip": "172.31.0.204"
    },
    "network": {
        "protocol": "UDP",
        "transport": "UDP"
    },
    "observer": {
        "ingress": {
            "interface": {
                "name": "eth0"
            }
        }
    },
    "related": {
        "hosts": [
            "rp1.sekoia.io"
        ],
        "ip": [
            "172.31.0.2",
            "172.31.0.204"
        ]
    },
    "source": {
        "address": "172.31.0.204",
        "ip": "172.31.0.204",
        "port": 58107
    }
}
{
    "message": " {\"timestamp\":\"2024-01-09T15:12:24.540473+0000\",\"flow_id\":1820734905123445,\"in_iface\":\"eth0\",\"event_type\":\"flow\",\"src_ip\":\"10.0.4.4\",\"src_port\":49250,\"dest_ip\":\"1.2.3.4\",\"dest_port\":443,\"proto\":\"TCP\",\"app_proto\":\"tls\",\"flow\":{\"pkts_toserver\":12,\"pkts_toclient\":12,\"bytes_toserver\":1842,\"bytes_toclient\":11086,\"start\":\"2024-01-09T15:07:44.721525+0000\",\"end\":\"2024-01-09T15:07:44.740950+0000\",\"age\":0,\"state\":\"closed\",\"reason\":\"timeout\",\"alerted\":false},\"tcp\":{\"tcp_flags\":\"1b\",\"tcp_flags_ts\":\"1b\",\"tcp_flags_tc\":\"1b\",\"syn\":true,\"fin\":true,\"psh\":true,\"ack\":true,\"state\":\"closed\"}}",
    "event": {
        "category": [
            "network"
        ],
        "end": "2024-01-09T15:07:44.740950Z",
        "reason": "timeout",
        "start": "2024-01-09T15:07:44.721525Z",
        "type": [
            "connection"
        ]
    },
    "@timestamp": "2024-01-09T15:12:24.540473Z",
    "action": {
        "type": "flow"
    },
    "destination": {
        "address": "1.2.3.4",
        "ip": "1.2.3.4",
        "port": 443
    },
    "host": {
        "ip": "10.0.4.4"
    },
    "network": {
        "protocol": "TCP",
        "transport": "TCP"
    },
    "observer": {
        "ingress": {
            "interface": {
                "name": "eth0"
            }
        }
    },
    "related": {
        "ip": [
            "1.2.3.4",
            "10.0.4.4"
        ]
    },
    "source": {
        "address": "10.0.4.4",
        "bytes": 1842,
        "ip": "10.0.4.4",
        "port": 49250
    }
}
{
    "message": " {\"timestamp\":\"2024-01-08T15:01:19.875607+0000\",\"flow_id\":320394061813648,\"in_iface\":\"eth0\",\"event_type\":\"ftp\",\"src_ip\":\"1.2.3.4\",\"src_port\":58265,\"dest_ip\":\"10.0.4.4\",\"dest_port\":22,\"proto\":\"TCP\",\"tx_id\":0,\"ftp\":{\"command\":\"USER\",\"command_data\":\"anonymous\",\"reply\":[\"SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u3\"],\"reply_received\":\"yes\"}}",
    "event": {
        "category": [
            "network"
        ],
        "type": [
            "connection"
        ]
    },
    "@timestamp": "2024-01-08T15:01:19.875607Z",
    "action": {
        "type": "ftp"
    },
    "destination": {
        "address": "10.0.4.4",
        "ip": "10.0.4.4",
        "port": 22
    },
    "host": {
        "ip": "1.2.3.4"
    },
    "network": {
        "protocol": "TCP",
        "transport": "TCP"
    },
    "observer": {
        "ingress": {
            "interface": {
                "name": "eth0"
            }
        }
    },
    "related": {
        "ip": [
            "1.2.3.4",
            "10.0.4.4"
        ]
    },
    "source": {
        "address": "1.2.3.4",
        "ip": "1.2.3.4",
        "port": 58265
    }
}
{
    "message": "{\"timestamp\":\"2020-01-27T21:11:18.578947+0000\",\"flow_id\":792581754900635,\"pcap_cnt\":3444,\"event_type\":\"alert\",\"src_ip\":\"10.20.30.101\",\"src_port\":49778,\"dest_ip\":\"203.176.135.102\",\"dest_port\":8082,\"proto\":\"TCP\",\"metadata\":{\"flowbits\":[\"ET.Evil\",\"ET.BotccIP\"]},\"http\":{\"hostname\":\"203.176.135.102\",\"http_port\":8082,\"url\":\"/mor84/DESKTOP-83TKHSQ_W10018363.572D588D45894026346E8F90E07B31E6/90\",\"http_user_agent\":\"KSKJJGJ\",\"http_content_type\":\"text/plain\",\"http_method\":\"POST\",\"protocol\":\"HTTP/1.1\",\"status\":200,\"length\":3},\"app_proto\":\"http\",\"flow\":{\"pkts_toserver\":8,\"pkts_toclient\":7,\"bytes_toserver\":5427,\"bytes_toclient\":502,\"start\":\"2020-01-27T21:11:16.708763+0000\"},\"alert\":{\"action\":\"allowed\",\"gid\":1,\"signature_id\":2100494,\"rev\":12,\"signature\":\"GPL ATTACK_RESPONSE command completed\",\"category\":\"Potentially Bad Traffic\",\"severity\":2,\"metadata\":{\"updated_at\":[\"2010_09_23\"],\"created_at\":[\"2010_09_23\"]}}}",
    "event": {
        "category": [
            "network"
        ],
        "kind": "alert",
        "severity": 2,
        "start": "2020-01-27T21:11:16.708763Z",
        "type": [
            "connection"
        ]
    },
    "@timestamp": "2020-01-27T21:11:18.578947Z",
    "action": {
        "name": "allowed",
        "properties": {
            "category": "Potentially Bad Traffic",
            "signature": "GPL ATTACK_RESPONSE command completed",
            "signature_id": "2100494"
        },
        "type": "alert"
    },
    "destination": {
        "address": "203.176.135.102",
        "ip": "203.176.135.102",
        "port": 8082
    },
    "host": {
        "ip": "10.20.30.101"
    },
    "http": {
        "request": {
            "method": "POST"
        },
        "response": {
            "bytes": 3,
            "mime_type": "text/plain",
            "status_code": 200
        },
        "version": "1.1"
    },
    "network": {
        "protocol": "TCP",
        "transport": "TCP"
    },
    "related": {
        "hosts": [
            "203.176.135.102"
        ],
        "ip": [
            "10.20.30.101",
            "203.176.135.102"
        ]
    },
    "source": {
        "address": "10.20.30.101",
        "bytes": 5427,
        "ip": "10.20.30.101",
        "port": 49778
    },
    "url": {
        "domain": "203.176.135.102",
        "original": "/mor84/DESKTOP-83TKHSQ_W10018363.572D588D45894026346E8F90E07B31E6/90",
        "path": "/mor84/DESKTOP-83TKHSQ_W10018363.572D588D45894026346E8F90E07B31E6/90"
    },
    "user_agent": {
        "device": {
            "name": "Other"
        },
        "name": "Other",
        "original": "KSKJJGJ",
        "os": {
            "name": "Other"
        }
    }
}
{
    "message": "{\"timestamp\": \"2020-10-14T10:03:17.006417+0000\", \"flow_id\": 896178426658321, \"in_iface\": \"ens3\", \"event_type\": \"flow\", \"src_ip\": \"fe80:0000:0000:0000:fc16:3eff:fe01:3dd2\", \"dest_ip\": \"ff02:0000:0000:0000:0000:0000:0000:0002\", \"proto\": \"IPv6-ICMP\", \"icmp_type\": 133, \"icmp_code\": 0, \"flow\": {\"pkts_toserver\": 1, \"pkts_toclient\": 0, \"bytes_toserver\": 70, \"bytes_toclient\": 0, \"start\": \"2020-10-14T10:02:46.245265+0000\", \"end\": \"2020-10-14T10:02:46.245265+0000\", \"age\": 0, \"state\": \"new\", \"reason\": \"timeout\", \"alerted\": false}}",
    "event": {
        "category": [
            "network"
        ],
        "end": "2020-10-14T10:02:46.245265Z",
        "reason": "timeout",
        "start": "2020-10-14T10:02:46.245265Z",
        "type": [
            "connection"
        ]
    },
    "@timestamp": "2020-10-14T10:03:17.006417Z",
    "action": {
        "type": "flow"
    },
    "destination": {
        "address": "ff02::2",
        "ip": "ff02::2"
    },
    "host": {
        "ip": "fe80::fc16:3eff:fe01:3dd2"
    },
    "network": {
        "protocol": "IPv6-ICMP",
        "transport": "IPv6-ICMP"
    },
    "observer": {
        "ingress": {
            "interface": {
                "name": "ens3"
            }
        }
    },
    "related": {
        "ip": [
            "fe80::fc16:3eff:fe01:3dd2",
            "ff02::2"
        ]
    },
    "source": {
        "address": "fe80::fc16:3eff:fe01:3dd2",
        "bytes": 70,
        "ip": "fe80::fc16:3eff:fe01:3dd2"
    },
    "suricata": {
        "icmp": {
            "code": "0",
            "type": "133"
        }
    }
}
{
    "message": " {\"timestamp\":\"2024-01-07T20:05:01.422020+0000\",\"flow_id\":293887458056333,\"in_iface\":\"eth0\",\"event_type\":\"smb\",\"src_ip\":\"1.2.3.4\",\"src_port\":49492,\"dest_ip\":\"10.0.4.4\",\"dest_port\":2375,\"proto\":\"TCP\",\"smb\":{\"id\":1,\"dialect\":\"unknown\",\"command\":\"SMB1_COMMAND_NEGOTIATE_PROTOCOL\",\"session_id\":0,\"tree_id\":0,\"client_dialects\":[\"PC NETWORK PROGRAM 1.0\",\"MICROSOFT NETWORKS 1.03\",\"MICROSOFT NETWORKS 3.0\",\"LANMAN1.0\",\"LM1.2X002\",\"Samba\",\"NT LANMAN 1.0\",\"NT LM 0.12\"],\"server_guid\":\"\"}}",
    "event": {
        "category": [
            "network"
        ],
        "type": [
            "connection"
        ]
    },
    "@timestamp": "2024-01-07T20:05:01.422020Z",
    "action": {
        "type": "smb"
    },
    "destination": {
        "address": "10.0.4.4",
        "ip": "10.0.4.4",
        "port": 2375
    },
    "host": {
        "ip": "1.2.3.4"
    },
    "network": {
        "protocol": "TCP",
        "transport": "TCP"
    },
    "observer": {
        "ingress": {
            "interface": {
                "name": "eth0"
            }
        }
    },
    "related": {
        "ip": [
            "1.2.3.4",
            "10.0.4.4"
        ]
    },
    "source": {
        "address": "1.2.3.4",
        "ip": "1.2.3.4",
        "port": 49492
    }
}
{
    "message": " {\"timestamp\":\"2024-01-09T15:11:44.835699+0000\",\"flow_id\":694519333924807,\"in_iface\":\"eth0\",\"event_type\":\"ssh\",\"src_ip\":\"1.2.3.4\",\"src_port\":35730,\"dest_ip\":\"10.0.4.4\",\"dest_port\":22,\"proto\":\"TCP\",\"tx_id\":0,\"ssh\":{\"client\":{\"proto_version\":\"2.0\",\"software_version\":\"libssh_0.9.6\"},\"server\":{\"proto_version\":\"2.0\",\"software_version\":\"OpenSSH_8.4p1\"}}}",
    "event": {
        "category": [
            "network"
        ],
        "type": [
            "connection"
        ]
    },
    "@timestamp": "2024-01-09T15:11:44.835699Z",
    "action": {
        "type": "ssh"
    },
    "destination": {
        "address": "10.0.4.4",
        "ip": "10.0.4.4",
        "port": 22
    },
    "host": {
        "ip": "1.2.3.4"
    },
    "network": {
        "protocol": "TCP",
        "transport": "TCP"
    },
    "observer": {
        "ingress": {
            "interface": {
                "name": "eth0"
            }
        }
    },
    "related": {
        "ip": [
            "1.2.3.4",
            "10.0.4.4"
        ]
    },
    "source": {
        "address": "1.2.3.4",
        "ip": "1.2.3.4",
        "port": 35730
    }
}
{
    "message": " {\"timestamp\": \"2024-01-09T15:13:00.667785+0000\", \"event_type\": \"stats\", \"stats\": {\"uptime\": 450501, \"capture\": {\"kernel_packets\": 7349877, \"kernel_drops\": 2158, \"errors\": 0}, \"decoder\": {\"pkts\": 7347719, \"bytes\": 4645180192, \"invalid\": 0, \"ipv4\": 7343837, \"ipv6\": 3882, \"ethernet\": 7347719, \"chdlc\": 0, \"raw\": 0, \"null\": 0, \"sll\": 0, \"tcp\": 7343737, \"udp\": 3859, \"sctp\": 0, \"icmpv4\": 0, \"icmpv6\": 123, \"ppp\": 0, \"pppoe\": 0, \"geneve\": 0, \"gre\": 0, \"vlan\": 0, \"vlan_qinq\": 0, \"vxlan\": 0, \"ieee8021ah\": 0, \"teredo\": 0, \"ipv4_in_ipv6\": 0, \"ipv6_in_ipv6\": 0, \"mpls\": 0, \"avg_pkt_size\": 632, \"max_pkt_size\": 1514, \"max_mac_addrs_src\": 0, \"max_mac_addrs_dst\": 0, \"erspan\": 0, \"event\": {\"ipv4\": {\"pkt_too_small\": 0, \"hlen_too_small\": 0, \"iplen_smaller_than_hlen\": 0, \"trunc_pkt\": 0, \"opt_invalid\": 0, \"opt_invalid_len\": 0, \"opt_malformed\": 0, \"opt_pad_required\": 0, \"opt_eol_required\": 0, \"opt_duplicate\": 0, \"opt_unknown\": 0, \"wrong_ip_version\": 0, \"icmpv6\": 0, \"frag_pkt_too_large\": 0, \"frag_overlap\": 0, \"frag_ignored\": 0}, \"icmpv4\": {\"pkt_too_small\": 0, \"unknown_type\": 0, \"unknown_code\": 0, \"ipv4_trunc_pkt\": 0, \"ipv4_unknown_ver\": 0}, \"icmpv6\": {\"unknown_type\": 0, \"unknown_code\": 0, \"pkt_too_small\": 0, \"ipv6_unknown_version\": 0, \"ipv6_trunc_pkt\": 0, \"mld_message_with_invalid_hl\": 0, \"unassigned_type\": 0, \"experimentation_type\": 0}, \"ipv6\": {\"pkt_too_small\": 0, \"trunc_pkt\": 0, \"trunc_exthdr\": 0, \"exthdr_dupl_fh\": 0, \"exthdr_useless_fh\": 0, \"exthdr_dupl_rh\": 0, \"exthdr_dupl_hh\": 0, \"exthdr_dupl_dh\": 0, \"exthdr_dupl_ah\": 0, \"exthdr_dupl_eh\": 0, \"exthdr_invalid_optlen\": 0, \"wrong_ip_version\": 0, \"exthdr_ah_res_not_null\": 0, \"hopopts_unknown_opt\": 0, \"hopopts_only_padding\": 0, \"dstopts_unknown_opt\": 0, \"dstopts_only_padding\": 0, \"rh_type_0\": 0, \"zero_len_padn\": 0, \"fh_non_zero_reserved_field\": 0, \"data_after_none_header\": 0, \"unknown_next_header\": 0, \"icmpv4\": 0, \"frag_pkt_too_large\": 0, \"frag_overlap\": 0, \"frag_ignored\": 0, \"ipv4_in_ipv6_too_small\": 0, \"ipv4_in_ipv6_wrong_version\": 0, \"ipv6_in_ipv6_too_small\": 0, \"ipv6_in_ipv6_wrong_version\": 0}, \"tcp\": {\"pkt_too_small\": 0, \"hlen_too_small\": 0, \"invalid_optlen\": 0, \"opt_invalid_len\": 0, \"opt_duplicate\": 0}, \"udp\": {\"pkt_too_small\": 0, \"hlen_too_small\": 0, \"hlen_invalid\": 0}, \"sll\": {\"pkt_too_small\": 0}, \"ethernet\": {\"pkt_too_small\": 0}, \"ppp\": {\"pkt_too_small\": 0, \"vju_pkt_too_small\": 0, \"ip4_pkt_too_small\": 0, \"ip6_pkt_too_small\": 0, \"wrong_type\": 0, \"unsup_proto\": 0}, \"pppoe\": {\"pkt_too_small\": 0, \"wrong_code\": 0, \"malformed_tags\": 0}, \"gre\": {\"pkt_too_small\": 0, \"wrong_version\": 0, \"version0_recur\": 0, \"version0_flags\": 0, \"version0_hdr_too_big\": 0, \"version0_malformed_sre_hdr\": 0, \"version1_chksum\": 0, \"version1_route\": 0, \"version1_ssr\": 0, \"version1_recur\": 0, \"version1_flags\": 0, \"version1_no_key\": 0, \"version1_wrong_protocol\": 0, \"version1_malformed_sre_hdr\": 0, \"version1_hdr_too_big\": 0}, \"vlan\": {\"header_too_small\": 0, \"unknown_type\": 0, \"too_many_layers\": 0}, \"ieee8021ah\": {\"header_too_small\": 0}, \"ipraw\": {\"invalid_ip_version\": 0}, \"ltnull\": {\"pkt_too_small\": 0, \"unsupported_type\": 0}, \"sctp\": {\"pkt_too_small\": 0}, \"mpls\": {\"header_too_small\": 0, \"pkt_too_small\": 0, \"bad_label_router_alert\": 0, \"bad_label_implicit_null\": 0, \"bad_label_reserved\": 0, \"unknown_payload_type\": 0}, \"vxlan\": {\"unknown_payload_type\": 0}, \"geneve\": {\"unknown_payload_type\": 0}, \"erspan\": {\"header_too_small\": 0, \"unsupported_version\": 0, \"too_many_vlan_layers\": 0}, \"dce\": {\"pkt_too_small\": 0}}}, \"flow\": {\"memcap\": 0, \"tcp\": 181930, \"udp\": 3809, \"icmpv4\": 0, \"icmpv6\": 123, \"tcp_reuse\": 212, \"get_used\": 0, \"get_used_eval\": 0, \"get_used_eval_reject\": 0, \"get_used_eval_busy\": 0, \"get_used_failed\": 0, \"wrk\": {\"spare_sync_avg\": 100, \"spare_sync\": 181, \"spare_sync_incomplete\": 0, \"spare_sync_empty\": 0, \"flows_evicted_needs_work\": 165396, \"flows_evicted_pkt_inject\": 182621, \"flows_evicted\": 2891, \"flows_injected\": 164908}, \"mgr\": {\"full_hash_pass\": 1878, \"closed_pruned\": 0, \"new_pruned\": 0, \"est_pruned\": 0, \"bypassed_pruned\": 0, \"rows_maxlen\": 2, \"flows_checked\": 233704, \"flows_notimeout\": 50882, \"flows_timeout\": 182822, \"flows_timeout_inuse\": 0, \"flows_evicted\": 182893, \"flows_evicted_needs_work\": 164908}, \"spare\": 9885, \"emerg_mode_entered\": 0, \"emerg_mode_over\": 0, \"memuse\": 7474304}, \"defrag\": {\"ipv4\": {\"fragments\": 0, \"reassembled\": 0, \"timeouts\": 0}, \"ipv6\": {\"fragments\": 0, \"reassembled\": 0, \"timeouts\": 0}, \"max_frag_hits\": 0}, \"flow_bypassed\": {\"local_pkts\": 14998, \"local_bytes\": 989868, \"local_capture_pkts\": 0, \"local_capture_bytes\": 0, \"closed\": 0, \"pkts\": 0, \"bytes\": 0}, \"tcp\": {\"sessions\": 174905, \"ssn_memcap_drop\": 0, \"pseudo\": 0, \"pseudo_failed\": 0, \"invalid_checksum\": 1111, \"no_flow\": 0, \"syn\": 175192, \"synack\": 183305, \"rst\": 10555, \"midstream_pickups\": 0, \"pkt_on_wrong_thread\": 0, \"segment_memcap_drop\": 0, \"stream_depth_reached\": 83, \"reassembly_gap\": 6, \"overlap\": 2270, \"overlap_diff_data\": 0, \"insert_data_normal_fail\": 0, \"insert_data_overlap_fail\": 0, \"insert_list_fail\": 0, \"memuse\": 1146920, \"reassembly_memuse\": 731180}, \"detect\": {\"engines\": [{\"id\": 0, \"last_reload\": \"2024-01-04T10:04:39.457663+0000\", \"rules_loaded\": 57, \"rules_failed\": 2}], \"alert\": 7500}, \"app_layer\": {\"flow\": {\"http\": 8109, \"ftp\": 1, \"smtp\": 0, \"tls\": 148529, \"ssh\": 16650, \"imap\": 0, \"smb\": 0, \"dcerpc_tcp\": 0, \"dns_tcp\": 0, \"nfs_tcp\": 0, \"ntp\": 0, \"ftp-data\": 0, \"tftp\": 0, \"ikev2\": 0, \"krb5_tcp\": 0, \"dhcp\": 0, \"snmp\": 0, \"sip\": 0, \"rfb\": 0, \"mqtt\": 0, \"rdp\": 0, \"failed_tcp\": 16, \"dcerpc_udp\": 0, \"dns_udp\": 50, \"nfs_udp\": 0, \"krb5_udp\": 0, \"failed_udp\": 3759}, \"tx\": {\"http\": 8145, \"ftp\": 1, \"smtp\": 0, \"tls\": 0, \"ssh\": 0, \"imap\": 0, \"smb\": 1, \"dcerpc_tcp\": 0, \"dns_tcp\": 0, \"nfs_tcp\": 0, \"ntp\": 0, \"ftp-data\": 0, \"tftp\": 0, \"ikev2\": 0, \"krb5_tcp\": 0, \"dhcp\": 0, \"snmp\": 0, \"sip\": 0, \"rfb\": 0, \"mqtt\": 0, \"rdp\": 0, \"dcerpc_udp\": 0, \"dns_udp\": 100, \"nfs_udp\": 0, \"krb5_udp\": 0}, \"expectations\": 0}, \"http\": {\"memuse\": 160825, \"memcap\": 0}, \"ftp\": {\"memuse\": 0, \"memcap\": 0}}}",
    "event": {
        "category": [
            "network"
        ],
        "type": [
            "info"
        ]
    },
    "@timestamp": "2024-01-09T15:13:00.667785Z",
    "action": {
        "type": "stats"
    }
}
{
    "message": "{\"timestamp\":\"2020-01-27T21:27:10.693784+0000\",\"flow_id\":1303642123387833,\"pcap_cnt\":4623,\"src_ip\":\"190.214.13.2\",\"src_port\":449,\"dest_ip\":\"10.20.30.101\",\"dest_port\":49791,\"proto\":\"TCP\",\"metadata\":{\"flowbits\":[\"ET.Evil\",\"ET.BotccIP\"]},\"tx_id\":0,\"alert\":{\"action\":\"allowed\",\"gid\":1,\"signature_id\":2011540,\"rev\":6,\"signature\":\"ET POLICY OpenSSL Demo CA - Internet Widgits Pty (O)\",\"category\":\"Not Suspicious Traffic\",\"severity\":3,\"metadata\":{\"updated_at\":[\"2017_11_27\"],\"created_at\":[\"2010_09_27\"],\"former_category\":[\"POLICY\"]}},\"tls\":{\"subject\":\"C=AU, ST=Some-State, O=Internet Widgits Pty Ltd\",\"issuerdn\":\"C=AU, ST=Some-State, O=InternetWidgitsPtyLtd\",\"serial\":\"00:A8:B9:FF:C1:BD:D5:7E:02\",\"fingerprint\":\"0b:92:69:6e:6e:9e:54:22:8b:fa:61:d3:be:be:5b:0e:d6:b6:1c:80\",\"version\":\"TLSv1\",\"notbefore\":\"2019-12-12T13:14:43\",\"notafter\":\"2020-12-11T13:14:43\",\"ja3\":{}},\"app_proto\":\"tls\",\"flow\":{\"pkts_toserver\":4,\"pkts_toclient\":4,\"bytes_toserver\":675,\"bytes_toclient\":1500,\"start\":\"2020-01-27T21:27:09.705465+0000\"}}",
    "event": {
        "category": [
            "network"
        ],
        "severity": 3,
        "start": "2020-01-27T21:27:09.705465Z",
        "type": [
            "connection"
        ]
    },
    "@timestamp": "2020-01-27T21:27:10.693784Z",
    "action": {
        "name": "allowed",
        "properties": {
            "category": "Not Suspicious Traffic",
            "signature": "ET POLICY OpenSSL Demo CA - Internet Widgits Pty (O)",
            "signature_id": "2011540"
        }
    },
    "destination": {
        "address": "10.20.30.101",
        "ip": "10.20.30.101",
        "port": 49791
    },
    "host": {
        "ip": "190.214.13.2"
    },
    "network": {
        "protocol": "TCP",
        "transport": "TCP"
    },
    "related": {
        "ip": [
            "10.20.30.101",
            "190.214.13.2"
        ]
    },
    "source": {
        "address": "190.214.13.2",
        "bytes": 675,
        "ip": "190.214.13.2",
        "port": 449
    },
    "tls": {
        "client": {
            "issuer": "C=AU, ST=Some-State, O=InternetWidgitsPtyLtd",
            "ja3": "{}",
            "not_after": "2020-12-11T13:14:43Z",
            "not_before": "2019-12-12T13:14:43Z",
            "subject": "C=AU, ST=Some-State, O=Internet Widgits Pty Ltd"
        },
        "version": "TLSv1"
    }
}

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.
action.name keyword
action.properties.category keyword
action.properties.severity keyword
action.properties.signature keyword
action.properties.signature_id keyword
action.type keyword
destination.ip ip IP address of the destination.
destination.port long Port of the destination.
dns.answers object Array of DNS answers.
dns.id keyword The DNS packet identifier assigned by the program that generated the query. The identifier is copied to the response.
dns.question.name keyword The name being queried.
dns.question.type keyword The type of record being queried.
dns.response_code keyword The DNS response code.
dns.size_in_char number
dns.type keyword The type of DNS event captured, query or answer.
event.action keyword The action captured by the event.
event.category keyword Event category. The second categorization field in the hierarchy.
event.end date event.end contains the date when the event ended or when the activity was last observed.
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.severity long Numeric severity of the event.
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.
host.ip ip Host ip addresses.
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.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.
http.version keyword HTTP version.
network.community_id keyword A hash of source and destination IPs and ports.
network.protocol keyword Application protocol name.
network.transport keyword Protocol Name corresponding to the field iana_number.
observer.ingress.interface.name keyword Interface name
source.bytes long Bytes sent from the source to the destination.
source.ip ip IP address of the source.
source.port long Port of the source.
suricata.icmp.code keyword
suricata.icmp.type keyword
tls.client.issuer keyword Distinguished name of subject of the issuer of the x.509 certificate presented by the client.
tls.client.ja3 keyword A hash that identifies clients based on how they perform an SSL/TLS handshake.
tls.client.not_after date Date/Time indicating when client certificate is no longer considered valid.
tls.client.not_before date Date/Time indicating when client certificate is first considered valid.
tls.client.server_name keyword Hostname the client is trying to connect to. Also called the SNI.
tls.client.subject keyword Distinguished name of subject of the x.509 certificate presented by the client.
tls.version keyword Numeric part of the version parsed from the original string.
url.domain keyword Domain of the url.
url.original wildcard Unmodified original url as seen in the event source.
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.

Further Readings