https://github.com/githubfoam/win-githubactions
windows data center osquery
https://github.com/githubfoam/win-githubactions
dfir osquery windows2016 windows2019 windows2022
Last synced: 3 months ago
JSON representation
windows data center osquery
- Host: GitHub
- URL: https://github.com/githubfoam/win-githubactions
- Owner: githubfoam
- License: gpl-3.0
- Created: 2021-07-16T15:00:59.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-17T08:49:10.000Z (about 3 years ago)
- Last Synced: 2025-02-05T07:49:40.189Z (5 months ago)
- Topics: dfir, osquery, windows2016, windows2019, windows2022
- Language: PowerShell
- Homepage:
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# win-githubactions
[](https://github.com/githubfoam/win-githubactions/actions/workflows/latest-osquery-wf.yml)
[](https://github.com/githubfoam/win-githubactions/actions/workflows/2022-osquery-wf.yml)
[](https://github.com/githubfoam/win-githubactions/actions/workflows/2019-osquery-wf.yml)
[](https://github.com/githubfoam/win-githubactions/actions/workflows/2016-osquery-wf.yml)~~~~
Check the processes that have a deleted executable
SELECT * FROM processes WHERE on_disk = 0;Get the process name, port, and PID, for processes listening on all interfaces:
SELECT DISTINCT processes.name, listening_ports.port, processes.pid
FROM listening_ports JOIN processes USING (pid)
WHERE listening_ports.address = '0.0.0.0';Find every macOS LaunchDaemon that launches an executable and keeps it running:
SELECT name, program || program_arguments AS executable
FROM launchd
WHERE (run_at_load = 1 AND keep_alive = 1)
AND (program != '' OR program_arguments != '');Check for ARP anomalies from the host's perspective:
SELECT address, mac, COUNT(mac) AS mac_count
FROM arp_cache GROUP BY mac
HAVING count(mac) > 1;Alternatively, Check for ARP anomalies from the host's perspective:
SELECT address, mac, mac_count
FROM
(SELECT address, mac, COUNT(mac) AS mac_count FROM arp_cache GROUP BY mac)
WHERE mac_count > 1;osquery> .all firefox_addons;
osquery> .all chrome_extensions;~~~~
~~~~
macos_osquery
https://gist.github.com/githubfoam/6753b5efad8e5ab8fa2ca29ce7b29988
windows_osquery
https://gist.github.com/githubfoam/afeb4fbbee731c427d645382e59b7948
linux_osquery
https://gist.github.com/githubfoam/0babb95da5845b8d4ee41f5711de637a
~~~~~~~~
predefined tables# https://osquery.readthedocs.io/en/stable/installation/install-linux/
https://github.com/google/santa
https://github.com/groob/moroz
https://github.com/zentralopensource/zentralhttps://github.com/actions/virtual-environments
~~~~