osquery-defense-kit/incident_response/ip_forwarding.sql

20 lines
294 B
MySQL
Raw Normal View History

2022-10-13 13:11:17 +00:00
-- Retrieves the current status of IP/IPv6 forwarding.
--
-- interval: 3600
-- platform: posix
-- value: Identify if a machine is being used as relay.
-- version: 1.4.5
2022-10-17 23:06:17 +00:00
select
*
from
system_controls
where
oid = '4.30.41.1'
union
select
*
from
system_controls
where
oid = '4.2.0.1';