<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=Suricata_IDS_am_Switch_Ubuntu</id>
	<title>Suricata IDS am Switch Ubuntu - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ixheim.de/index.php?action=history&amp;feed=atom&amp;title=Suricata_IDS_am_Switch_Ubuntu"/>
	<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Suricata_IDS_am_Switch_Ubuntu&amp;action=history"/>
	<updated>2026-04-16T04:05:29Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Xinux Wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=Suricata_IDS_am_Switch_Ubuntu&amp;diff=67212&amp;oldid=prev</id>
		<title>Maximilian.pottgiesser am 27. Februar 2026 um 07:58 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Suricata_IDS_am_Switch_Ubuntu&amp;diff=67212&amp;oldid=prev"/>
		<updated>2026-02-27T07:58:02Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 27. Februar 2026, 07:58 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l239&quot; &gt;Zeile 239:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 239:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Starten=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Starten=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*systemctl enable suricata --now&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*systemctl enable suricata --now&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=wazuh=&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*vim /var/ossec/etc/ossec.conf&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;ossec_config&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  &amp;lt;localfile&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    &amp;lt;log_format&amp;gt;json&amp;lt;/log_format&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    &amp;lt;location&amp;gt;/var/log/suricata/eve.json&amp;lt;/location&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  &amp;lt;/localfile&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/ossec_config&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*systemctl restart wazuh-agent&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key my_wiki:diff::1.12:old-67211:rev-67212 --&gt;
&lt;/table&gt;</summary>
		<author><name>Maximilian.pottgiesser</name></author>
	</entry>
	<entry>
		<id>https://wiki.ixheim.de/index.php?title=Suricata_IDS_am_Switch_Ubuntu&amp;diff=67211&amp;oldid=prev</id>
		<title>Maximilian.pottgiesser: Die Seite wurde neu angelegt: „=Idee= ;Managment Schnittstelle enp0s3 ;SniffingSchnittstelle enp0s8 =Netzwerk= *sudo vim /etc/netplan/50-cloud-init.yaml &lt;pre&gt; network:   version: 2   etherne…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.ixheim.de/index.php?title=Suricata_IDS_am_Switch_Ubuntu&amp;diff=67211&amp;oldid=prev"/>
		<updated>2026-02-27T07:48:32Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „=Idee= ;Managment Schnittstelle enp0s3 ;SniffingSchnittstelle enp0s8 =Netzwerk= *sudo vim /etc/netplan/50-cloud-init.yaml &amp;lt;pre&amp;gt; network:   version: 2   etherne…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Idee=&lt;br /&gt;
;Managment Schnittstelle&lt;br /&gt;
enp0s3&lt;br /&gt;
;SniffingSchnittstelle&lt;br /&gt;
enp0s8&lt;br /&gt;
=Netzwerk=&lt;br /&gt;
*sudo vim /etc/netplan/50-cloud-init.yaml&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
network:&lt;br /&gt;
  version: 2&lt;br /&gt;
  ethernets:&lt;br /&gt;
    enp0s3:&lt;br /&gt;
      addresses:&lt;br /&gt;
      - &amp;quot;172.26.54.25/24&amp;quot;&lt;br /&gt;
      nameservers:&lt;br /&gt;
        addresses:&lt;br /&gt;
        - 1.1.1.1&lt;br /&gt;
        search:&lt;br /&gt;
        - sec-labs.de&lt;br /&gt;
      routes:&lt;br /&gt;
      - to: &amp;quot;default&amp;quot;&lt;br /&gt;
        via: &amp;quot;172.26.54.1&amp;quot;&lt;br /&gt;
    enp0s8:&lt;br /&gt;
      optional: true&lt;br /&gt;
      addresses: []&lt;br /&gt;
      dhcp4: false&lt;br /&gt;
      dhcp6: false&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Promiscuous Mode==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat &amp;lt;&amp;lt;'EOF' | sudo tee /etc/systemd/system/suricata-nic.service&lt;br /&gt;
[Unit]&lt;br /&gt;
Description=Configure enp0s8 for Suricata sniffing&lt;br /&gt;
After=network-online.target&lt;br /&gt;
Wants=network-online.target&lt;br /&gt;
&lt;br /&gt;
[Service]&lt;br /&gt;
Type=oneshot&lt;br /&gt;
ExecStart=/sbin/ip link set enp0s8 promisc on&lt;br /&gt;
ExecStart=/sbin/ethtool -K enp0s8 gro off lro off tso off gso off&lt;br /&gt;
RemainAfterExit=yes&lt;br /&gt;
&lt;br /&gt;
[Install]&lt;br /&gt;
WantedBy=multi-user.target&lt;br /&gt;
EOF&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*sudo systemctl daemon-reload&lt;br /&gt;
*sudo systemctl enable --now suricata-nic.service&lt;br /&gt;
&lt;br /&gt;
prüfen&lt;br /&gt;
*ethtool -k enp0s8 | grep -E &amp;quot;generic-receive|tcp-segmentation|generic-segmentation&amp;quot;&lt;br /&gt;
*ip link show enp0s8 | grep -i promisc&lt;br /&gt;
&lt;br /&gt;
=Suricata Konfiguration=&lt;br /&gt;
*cat  /etc/suricata/suricata.yaml&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
*cat /etc/resolv.conf &lt;br /&gt;
 search sec-labs.de&lt;br /&gt;
 nameserver 1.1.1.1&lt;br /&gt;
*cat /etc/hostname &lt;br /&gt;
 ids.sec-labs.de&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
%YAML 1.1&lt;br /&gt;
---&lt;br /&gt;
# Variablen für die Adressgruppen festlegen&lt;br /&gt;
vars:&lt;br /&gt;
  address-groups:&lt;br /&gt;
    LAN: &amp;quot;[172.26.53.0/24]&amp;quot;&lt;br /&gt;
    DMZ: &amp;quot;[10.0.10.0/24]&amp;quot;&lt;br /&gt;
    SERVER: &amp;quot;[172.26.54.0/24]&amp;quot;&lt;br /&gt;
    INT: &amp;quot;[$LAN,$DMZ,$SERVER]&amp;quot;&lt;br /&gt;
    HOME_NET: &amp;quot;$INT&amp;quot;&lt;br /&gt;
    EXTERNAL_NET: &amp;quot;!$INT&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Standard-Log-Verzeichnis&lt;br /&gt;
default-log-dir: /var/log/suricata/&lt;br /&gt;
&lt;br /&gt;
# Statistiken aktivieren&lt;br /&gt;
stats:&lt;br /&gt;
  enabled: yes&lt;br /&gt;
  interval: 8&lt;br /&gt;
&lt;br /&gt;
# Ausgaben konfigurieren&lt;br /&gt;
outputs:&lt;br /&gt;
  - fast:&lt;br /&gt;
      enabled: yes&lt;br /&gt;
      filename: fast.log&lt;br /&gt;
      append: yes&lt;br /&gt;
  - alert-debug:&lt;br /&gt;
      enabled: yes&lt;br /&gt;
      filename: alert-debug.log&lt;br /&gt;
      append: yes&lt;br /&gt;
  - stats:&lt;br /&gt;
      enabled: yes&lt;br /&gt;
      filename: stats.log&lt;br /&gt;
      append: yes&lt;br /&gt;
      totals: yes&lt;br /&gt;
      threads: no&lt;br /&gt;
  - eve-log:&lt;br /&gt;
      enabled: yes&lt;br /&gt;
      filename: eve.json&lt;br /&gt;
      types:&lt;br /&gt;
        - alert&lt;br /&gt;
        - dns&lt;br /&gt;
        - http&lt;br /&gt;
        - tls&lt;br /&gt;
        - flow&lt;br /&gt;
        - ssh&lt;br /&gt;
        - stats&lt;br /&gt;
&lt;br /&gt;
# Logging-Einstellungen&lt;br /&gt;
logging:&lt;br /&gt;
  default-log-level: notice&lt;br /&gt;
  outputs:&lt;br /&gt;
  - console:&lt;br /&gt;
      enabled: yes&lt;br /&gt;
  - file:&lt;br /&gt;
      enabled: yes&lt;br /&gt;
      level: info&lt;br /&gt;
      filename: suricata.log&lt;br /&gt;
&lt;br /&gt;
# Netzwerkschnittstellen konfigurieren&lt;br /&gt;
af-packet:&lt;br /&gt;
  - interface: enp0s8&lt;br /&gt;
    threads: auto&lt;br /&gt;
    cluster-id: 98&lt;br /&gt;
    cluster-type: cluster_flow&lt;br /&gt;
    defrag: yes&lt;br /&gt;
&lt;br /&gt;
# PID-Datei&lt;br /&gt;
pid-file: /var/run/suricata.pid&lt;br /&gt;
&lt;br /&gt;
# Coredump-Einstellungen&lt;br /&gt;
coredump:&lt;br /&gt;
  max-dump: unlimited&lt;br /&gt;
&lt;br /&gt;
# Host-Modus&lt;br /&gt;
host-mode: auto&lt;br /&gt;
&lt;br /&gt;
# Unix-Befehlseingabe konfigurieren&lt;br /&gt;
unix-command:&lt;br /&gt;
  enabled: yes&lt;br /&gt;
  filename: /var/run/suricata-command.socket&lt;br /&gt;
&lt;br /&gt;
# Engine-Analyse-Einstellungen&lt;br /&gt;
engine-analysis:&lt;br /&gt;
  rules-fast-pattern: yes&lt;br /&gt;
  rules: yes&lt;br /&gt;
&lt;br /&gt;
# Defragmentierungseinstellungen&lt;br /&gt;
defrag:&lt;br /&gt;
  memcap: 32mb&lt;br /&gt;
  hash-size: 65536&lt;br /&gt;
  trackers: 65535&lt;br /&gt;
  max-frags: 65535&lt;br /&gt;
  prealloc: yes&lt;br /&gt;
  timeout: 60&lt;br /&gt;
&lt;br /&gt;
# Standardregelverzeichnis&lt;br /&gt;
default-rule-path: /etc/suricata/rules&lt;br /&gt;
&lt;br /&gt;
# Regel-Dateien&lt;br /&gt;
rule-files:&lt;br /&gt;
  - local.rules&lt;br /&gt;
&lt;br /&gt;
# Klassifikationsdatei&lt;br /&gt;
classification-file: /etc/suricata/classification.config&lt;br /&gt;
&lt;br /&gt;
# Referenzkonfigurationsdatei&lt;br /&gt;
reference-config-file: /etc/suricata/reference.config&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=Eigene Regeln=&lt;br /&gt;
*cat /etc/suricata/rules/local.rules &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# ICMP: einfacher Ping/Traceroute (schneller Funktionstest)&lt;br /&gt;
# Test: ping -c1 &amp;lt;ZIEL&amp;gt;&lt;br /&gt;
alert icmp any any -&amp;gt; any any (msg:&amp;quot;ICMP Test&amp;quot;; classtype:misc-activity; sid:41;)&lt;br /&gt;
&lt;br /&gt;
# HTTP: mögliches Command-Injection-Merkmal (Semikolon) in POST-Body&lt;br /&gt;
# Test: curl -X POST http://&amp;lt;ZIEL&amp;gt;/ -d &amp;quot;q=test%3Bls&amp;quot;&lt;br /&gt;
alert http any any -&amp;gt; any any (msg:&amp;quot;Command Injection - Semicolon in POST DATA&amp;quot;; classtype:web-application-attack; flow:established; content:&amp;quot;%3B&amp;quot;; nocase; http_client_body; sid:2;)&lt;br /&gt;
&lt;br /&gt;
# HTTP: mögliches SQLi-Merkmal (einfaches Hochkomma) in POST-Body&lt;br /&gt;
# Test: curl -X POST http://&amp;lt;ZIEL&amp;gt;/login -d &amp;quot;u=a&amp;amp;p='%20OR%201=1&amp;quot;&lt;br /&gt;
alert http any any -&amp;gt; any any (msg:&amp;quot;Possible SQL Injection (singlequote in POST)&amp;quot;; classtype:web-application-attack; flow:established,to_server; content:&amp;quot;%27&amp;quot;; nocase; http_client_body; sid:3;)&lt;br /&gt;
&lt;br /&gt;
# DNS: Policy – verbietet &amp;quot;google&amp;quot; in DNS-Queries&lt;br /&gt;
# Test: dig google.com @&amp;lt;FW&amp;gt;&lt;br /&gt;
alert dns any any -&amp;gt; any any (msg:&amp;quot;Kein Googlen&amp;quot;; dns.query; content:&amp;quot;google&amp;quot;; nocase; classtype:policy-violation; sid:43;)&lt;br /&gt;
&lt;br /&gt;
# DoS: viele identische kurze HTTP-GETs (LOIC-ähnlich)&lt;br /&gt;
# Test: ab -n 1000 -c 500 http://&amp;lt;ZIEL&amp;gt;/&lt;br /&gt;
alert tcp any any -&amp;gt; any any (msg:&amp;quot;ET DOS Terse HTTP GET Likely LOIC&amp;quot;; flow:to_server,established; dsize:18; content:&amp;quot;GET / HTTP/1.1|0d 0a 0d 0a|&amp;quot;; depth:18; threshold:type both,track by_dst,count 500,seconds 60; classtype:own-dos; sid:54; rev:2; metadata:created_at 2014_10_03, confidence Medium, signature_severity Major, updated_at 2019_07_26;)&lt;br /&gt;
&lt;br /&gt;
# Scan: TCP SYN-Sweep (viele SYN in kurzer Zeit)&lt;br /&gt;
# Test: nmap -sS -p1-100 &amp;lt;ZIEL&amp;gt;&lt;br /&gt;
alert tcp $EXTERNAL_NET any -&amp;gt; $HOME_NET any (msg:&amp;quot;OWN SCAN TCP SYN sweep&amp;quot;; flow:stateless,to_server; flags:S; detection_filter:track by_src,count 20,seconds 5; classtype:attempted-recon; sid:60; rev:1;)&lt;br /&gt;
&lt;br /&gt;
# Scan: TCP NULL-Scan (keine Flags gesetzt)&lt;br /&gt;
# Test: nmap -sN -p1-100 &amp;lt;ZIEL&amp;gt;&lt;br /&gt;
alert tcp $EXTERNAL_NET any -&amp;gt; $HOME_NET any (msg:&amp;quot;OWN SCAN TCP NULL scan&amp;quot;; flow:stateless,to_server; flags:0; detection_filter:track by_src,count 5,seconds 10; classtype:attempted-recon; sid:61; rev:1;)&lt;br /&gt;
&lt;br /&gt;
# Scan: TCP FIN-Scan (nur FIN)&lt;br /&gt;
# Test: nmap -sF -p1-100 &amp;lt;ZIEL&amp;gt;&lt;br /&gt;
alert tcp $EXTERNAL_NET any -&amp;gt; $HOME_NET any (msg:&amp;quot;OWN SCAN TCP FIN scan&amp;quot;; flow:stateless,to_server; flags:F; detection_filter:track by_src,count 5,seconds 10; classtype:attempted-recon; sid:62; rev:1;)&lt;br /&gt;
&lt;br /&gt;
# Scan: TCP XMAS-Scan (FIN+PSH+URG)&lt;br /&gt;
# Test: nmap -sX -p1-100 &amp;lt;ZIEL&amp;gt;&lt;br /&gt;
alert tcp $EXTERNAL_NET any -&amp;gt; $HOME_NET any (msg:&amp;quot;OWN SCAN TCP XMAS scan&amp;quot;; flow:stateless,to_server; flags:FPU; detection_filter:track by_src,count 5,seconds 10; classtype:attempted-recon; sid:63; rev:1;)&lt;br /&gt;
&lt;br /&gt;
# Scan: UDP-Sweep mit leerer Payload&lt;br /&gt;
# Test: nmap -sU --min-rate=1000 &amp;lt;ZIEL&amp;gt;&lt;br /&gt;
alert udp $EXTERNAL_NET any -&amp;gt; $HOME_NET 1:65535 (msg:&amp;quot;OWN SCAN UDP sweep (empty probes)&amp;quot;; flow:to_server; dsize:0; detection_filter:track by_src,count 15,seconds 10; classtype:attempted-recon; sid:64; rev:1;)&lt;br /&gt;
&lt;br /&gt;
# Scan: ICMP Ping-Sweep (viele Echo-Requests)&lt;br /&gt;
# Test: nmap -sn &amp;lt;NETZ&amp;gt;/24&lt;br /&gt;
alert icmp $EXTERNAL_NET any -&amp;gt; $HOME_NET any (msg:&amp;quot;OWN SCAN ICMP ping sweep&amp;quot;; itype:8; detection_filter:track by_src,count 10,seconds 5; classtype:attempted-recon; sid:65; rev:1;)&lt;br /&gt;
# --- ICMP Flood / Ping Flood (klassischer DDos) ---&lt;br /&gt;
alert icmp any any -&amp;gt; $HOME_NET any (msg:&amp;quot;ICMP Flood Potential Detected&amp;quot;; threshold: type both, track by_dst, count 100, seconds 10; sid:1000001; rev:1;)&lt;br /&gt;
&lt;br /&gt;
# --- UDP Flood ---&lt;br /&gt;
alert udp any any -&amp;gt; $HOME_NET any (msg:&amp;quot;UDP Flood Potential Detected&amp;quot;; threshold: type both, track by_dst, count 200, seconds 5; sid:1000002; rev:1;)&lt;br /&gt;
&lt;br /&gt;
# --- TCP SYN Flood (Sehr häufiger DDos-Typ) ---&lt;br /&gt;
alert tcp any any -&amp;gt; $HOME_NET any (flags:S; msg:&amp;quot;TCP SYN Flood Potential Detected&amp;quot;; threshold: type both, track by_dst, count 150, seconds 10; sid:1000003; rev:1;)&lt;br /&gt;
&lt;br /&gt;
# --- HTTP Flood (Layer 7 Attacke) ---&lt;br /&gt;
alert http any any -&amp;gt; $HOME_NET any (msg:&amp;quot;HTTP Flood Potential Detected&amp;quot;; threshold: type both, track by_dst, count 300, seconds 10; sid:1000004; rev:1;)&lt;br /&gt;
&lt;br /&gt;
# --- DNS Amplification / große DNS Antworten ---&lt;br /&gt;
alert udp any 53 -&amp;gt; $HOME_NET any (msg:&amp;quot;Possible DNS Amplification Attack&amp;quot;; dnsize: &amp;gt; 512; threshold: type both, track by_src, count 50, seconds 5; sid:1000005; rev:1;)&lt;br /&gt;
&lt;br /&gt;
# --- (Optional) Einfacher &amp;quot;Hello World&amp;quot; Treffer für Tests ---&lt;br /&gt;
alert tcp any any -&amp;gt; $HOME_NET any (msg:&amp;quot;TEST - SSH Connection Attempt&amp;quot;; content:&amp;quot;SSH&amp;quot;; nocase; sid:1000006; rev:1;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=Starten=&lt;br /&gt;
*systemctl enable suricata --now&lt;/div&gt;</summary>
		<author><name>Maximilian.pottgiesser</name></author>
	</entry>
</feed>