T1016 System Network Configuration Discovery
Adversaries may look for details about the network configuration and settings, such as IP and/or MAC addresses, of systems they access or through information discovery of remote systems. MITRE ATT&CK
1 program on CmdID 7 Sigma rules T1016 on attack.mitre.org
Programs for it
Sigma rules tagged with it
Command lines CmdID reads as it
View all available firewall zones and rules in their runtime configuration state on the page for firewall-cmd
firewall-cmd --list-all-zonesIdentifyPermanently move the interface into the block zone, effectively blocking all communication on the page for firewall-cmd
firewall-cmd --permanent --zone block --change-interface enp1s0IdentifyPermanently open the port for a service in the specified zone (like port 443 when in the public zone) on the page for firewall-cmd
firewall-cmd --permanent --zone public --add-service httpsIdentifyPermanently close the port for a service in the specified zone (like port 80 when in the public zone) on the page for firewall-cmd
firewall-cmd --permanent --zone public --remove-service httpIdentifyPermanently forward a port for incoming packets in the specified zone (like port 443 to 8443 when entering the public zone) on the page for firewall-cmd
firewall-cmd --permanent --zone public --add-rich-rule 'rule family "ipv4" forward-port port "443" protocol "udp" to-port "8443"'IdentifyReload firewalld to lose any runtime changes and force the permanent configuration to take effect immediately on the page for firewall-cmd
firewall-cmd --reloadIdentifySave the runtime configuration state to the permanent configuration on the page for firewall-cmd
firewall-cmd --runtime-to-permanentIdentifyEnable panic mode in case of Emergency. All traffic is dropped, any active connection will be terminated on the page for firewall-cmd
firewall-cmd --panic-onIdentifyAnd 147 more examples on CmdID’s program pages.
An example is here when CmdID’s reading of it names T1016: a Sigma rule it trips is tagged with it, or its abuse is documented as it.