osquery-defense-kit/incident_response/ip_forwarding.sql

18 lines
222 B
MySQL
Raw Normal View History

2022-10-13 13:11:17 +00:00
-- Retrieves the current status of IP/IPv6 forwarding.
--
-- tags: postmortem
2022-10-13 13:11:17 +00:00
-- platform: posix
SELECT
2022-10-17 23:06:17 +00:00
*
FROM
2022-10-17 23:06:17 +00:00
system_controls
WHERE
2022-10-17 23:06:17 +00:00
oid = '4.30.41.1'
UNION
SELECT
2022-10-17 23:06:17 +00:00
*
FROM
2022-10-17 23:06:17 +00:00
system_controls
WHERE
2022-10-17 23:06:17 +00:00
oid = '4.2.0.1';