CmdID

CmdID / Commands

ufw

Uncomplicated Firewall. tldr-pages

On Linux 1 Sigma rule name it

Opens CmdID with your command. It is read in your browser and sent nowhere.

Uncomplicated Firewall. Frontend for iptables aiming to make configuration of a firewall easier. Some subcommands such as allow, enable, delete, etc. have their own usage documentation.

Enable/Disable ufw

sudo ufw enableIdentify

Trips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community

Show ufw rules, along with their numbers

sudo ufw status numberedIdentify

Trips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community

Allow incoming traffic on port 5432 on this host with a comment identifying the service

sudo ufw allow 5432 comment "Service"Identify

Trips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community

Allow only TCP traffic from 192.168.0.4 to any address on this host, on port 22

sudo ufw allow proto tcp from 192.168.0.4 to any port 22Identify

Trips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community

Allow traffic from any IP on the 192.168.0/24 subnet on this host, through port 53, only on the eth0 interface

sudo ufw allow in on eth0 from 192.168.0.0/24 to any port 53Identify

Trips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community

Deny traffic on port 80 on this host

sudo ufw deny 80Identify

Trips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community

Deny all UDP traffic to ports in range 8412:8500

sudo ufw deny proto udp from any to any port 8412:8500Identify

Trips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community

Delete a particular rule. The rule number can be retrieved from the ufw status numbered command

sudo ufw delete rule_numberIdentify

Trips 1 Sigma rule: informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community

What detects it

Sigma process creation rules that name ufw
informationalSystem Network Discovery - LinuxÖmer Günal and remotephone, oscd.community