2022-10-20 11:04:18 +00:00
|
|
|
-- Unexpected programs communicating over HTTPS (state-based)
|
|
|
|
--
|
|
|
|
-- This query is a bit awkward and hobbled due to the lack of osquery support
|
|
|
|
-- for looking up binary signatures in Linux.
|
|
|
|
--
|
|
|
|
-- references:
|
|
|
|
-- * https://attack.mitre.org/techniques/T1071/ (C&C, Application Layer Protocol)
|
|
|
|
--
|
2024-10-11 13:55:04 +00:00
|
|
|
-- tags: transient state net often extra
|
2022-10-20 11:04:18 +00:00
|
|
|
-- platform: linux
|
2023-03-30 22:44:01 +00:00
|
|
|
SELECT
|
|
|
|
s.remote_address,
|
2022-10-20 13:11:29 +00:00
|
|
|
p.name,
|
2022-12-15 21:51:58 +00:00
|
|
|
p.cgroup_path,
|
2022-10-20 13:11:29 +00:00
|
|
|
p.path,
|
|
|
|
p.cmdline AS child_cmd,
|
|
|
|
p.cwd,
|
|
|
|
pp.path AS parent_path,
|
|
|
|
p.parent AS parent_pid,
|
|
|
|
pp.cmdline AS parent_cmd,
|
2023-02-08 15:12:44 +00:00
|
|
|
s.local_address,
|
|
|
|
s.local_port,
|
2022-10-20 13:11:29 +00:00
|
|
|
s.state,
|
|
|
|
hash.sha256,
|
|
|
|
-- This intentionally avoids file.path, as it won't join across mount namespaces
|
|
|
|
CONCAT (
|
|
|
|
MIN(p.euid, 500),
|
|
|
|
',',
|
|
|
|
REGEX_MATCH (p.path, '.*/(.*?)$', 1),
|
|
|
|
',',
|
|
|
|
MIN(f.uid, 500),
|
|
|
|
'u,',
|
|
|
|
MIN(f.gid, 500),
|
|
|
|
'g,',
|
|
|
|
p.name
|
|
|
|
) AS exception_key
|
2023-03-30 22:44:01 +00:00
|
|
|
FROM
|
|
|
|
process_open_sockets s
|
2022-10-20 13:11:29 +00:00
|
|
|
LEFT JOIN processes p ON s.pid = p.pid
|
|
|
|
LEFT JOIN processes pp ON p.parent = pp.pid
|
|
|
|
LEFT JOIN file f ON p.path = f.path
|
|
|
|
LEFT JOIN hash ON p.path = hash.path
|
2023-03-30 22:44:01 +00:00
|
|
|
WHERE
|
|
|
|
protocol IN (6, 17)
|
2022-10-20 13:11:29 +00:00
|
|
|
AND s.remote_port = 443
|
|
|
|
AND s.remote_address NOT IN ('127.0.0.1', '::ffff:127.0.0.1', '::1')
|
|
|
|
AND s.remote_address NOT LIKE 'fe80:%'
|
|
|
|
AND s.remote_address NOT LIKE '127.%'
|
|
|
|
AND s.remote_address NOT LIKE '192.168.%'
|
|
|
|
AND s.remote_address NOT LIKE '172.1%'
|
|
|
|
AND s.remote_address NOT LIKE '172.2%'
|
|
|
|
AND s.remote_address NOT LIKE '172.30.%'
|
|
|
|
AND s.remote_address NOT LIKE '172.31.%'
|
|
|
|
AND s.remote_address NOT LIKE '::ffff:172.%'
|
|
|
|
AND s.remote_address NOT LIKE '10.%'
|
|
|
|
AND s.remote_address NOT LIKE '::ffff:10.%'
|
|
|
|
AND s.remote_address NOT LIKE 'fc00:%'
|
|
|
|
AND p.path != ''
|
2024-10-16 13:32:00 +00:00
|
|
|
AND p.path NOT LIKE '/app/bin/%'
|
|
|
|
AND p.path NOT LIKE '/usr/bin/%'
|
|
|
|
AND p.path NOT LIKE '/usr/local/bin/%'
|
|
|
|
AND p.path NOT LIKE '/opt/%'
|
2022-10-20 13:11:29 +00:00
|
|
|
AND NOT exception_key IN (
|
2024-07-26 17:26:37 +00:00
|
|
|
'0,agentbeat,0u,0g,agentbeat',
|
2023-02-17 16:57:23 +00:00
|
|
|
'0,apk,u,g,apk',
|
|
|
|
'0,applydeltarpm,0u,0g,applydeltarpm',
|
|
|
|
'0,bash,0u,0g,bash',
|
|
|
|
'0,bash,0u,0g,mkinitcpio',
|
|
|
|
'0,bash,0u,0g,sh',
|
2024-06-27 13:23:52 +00:00
|
|
|
'0,canonical-livepatchd,0u,0g,canonical-livep',
|
2023-02-17 16:57:23 +00:00
|
|
|
'0,chainctl,0u,0g,chainctl',
|
2024-10-16 13:32:00 +00:00
|
|
|
'0,chainctl,500u,500g,chainctl',
|
2023-02-17 16:57:23 +00:00
|
|
|
'0,cmake,u,g,cmake',
|
|
|
|
'0,containerd,u,g,containerd',
|
|
|
|
'0,dirmngr,0u,0g,dirmngr',
|
|
|
|
'0,dockerd,0u,0g,dockerd',
|
2024-01-08 22:18:25 +00:00
|
|
|
'0,elastic-agent,0u,0g,elastic-agent',
|
2024-07-26 17:26:37 +00:00
|
|
|
'0,elastic-agent,u,g,elastic-agent',
|
2024-01-26 19:07:37 +00:00
|
|
|
'0,elastic-endpoint,0u,0g,elastic-endpoin',
|
|
|
|
'0,filebeat,0u,0g,filebeat',
|
2024-09-23 15:07:53 +00:00
|
|
|
'0,flatpak,0u,0g,flatpak',
|
2023-02-17 16:57:23 +00:00
|
|
|
'0,flatpak-system-helper,0u,0g,flatpak-system-',
|
2023-03-16 21:29:11 +00:00
|
|
|
'0,git-remote-http,0u,0g,git-remote-http',
|
2023-07-03 11:16:14 +00:00
|
|
|
'0,go,0u,0g,go',
|
2023-05-11 15:29:55 +00:00
|
|
|
'0,gtk4-update-icon-cache,0u,0g,gtk-update-icon',
|
2023-05-05 16:44:46 +00:00
|
|
|
'0,http,0u,0g,https',
|
2024-01-26 19:07:37 +00:00
|
|
|
'0,ir_agent,0u,0g,ir_agent',
|
2023-02-17 16:57:23 +00:00
|
|
|
'0,kmod,0u,0g,depmod',
|
|
|
|
'0,launcher,0u,0g,launcher',
|
|
|
|
'0,launcher,500u,500g,launcher',
|
2023-03-03 12:24:42 +00:00
|
|
|
'0,ldconfig,0u,0g,ldconfig',
|
2023-07-03 11:16:14 +00:00
|
|
|
'0,make,0u,0g,make',
|
2024-09-23 15:07:53 +00:00
|
|
|
'0,melange,500u,500g,melange',
|
2024-01-26 19:07:37 +00:00
|
|
|
'0,metricbeat,0u,0g,metricbeat',
|
2023-02-17 16:57:23 +00:00
|
|
|
'0,nessusd,0u,0g,nessusd',
|
|
|
|
'0,nix,0u,0g,nix',
|
|
|
|
'0,nix,0u,0g,nix-daemon',
|
2023-07-03 11:16:14 +00:00
|
|
|
'0,orbit,0u,0g,orbit',
|
|
|
|
'0,osqueryd,0u,0g,osqueryd',
|
2023-02-17 16:57:23 +00:00
|
|
|
'0,packagekitd,0u,0g,packagekitd',
|
2024-06-27 13:23:52 +00:00
|
|
|
'0,packetbeat,0u,0g,packetbeat',
|
2023-02-17 16:57:23 +00:00
|
|
|
'0,pacman,0u,0g,pacman',
|
2024-01-26 19:07:37 +00:00
|
|
|
'0,rapid7_endpoint_broker,0u,0g,rapid7_endpoint',
|
2023-02-17 16:57:23 +00:00
|
|
|
'0,rpi-imager,0u,0g,rpi-imager',
|
2024-09-23 15:07:53 +00:00
|
|
|
'0,skopeo,0u,0g,skopeo',
|
2023-02-17 16:57:23 +00:00
|
|
|
'0,snapd,0u,0g,snapd',
|
2023-05-05 16:44:46 +00:00
|
|
|
'0,systemctl,0u,0g,systemctl',
|
2023-02-17 16:57:23 +00:00
|
|
|
'0,tailscaled,0u,0g,tailscaled',
|
|
|
|
'0,tailscaled,500u,500g,tailscaled',
|
2024-09-23 15:07:53 +00:00
|
|
|
'0,.tailscaled-wrapped,0u,0g,.tailscaled-wra',
|
2023-07-12 21:38:26 +00:00
|
|
|
'0,velociraptor,0u,0g,velociraptor_cl',
|
2024-01-26 19:07:37 +00:00
|
|
|
'0,yay,0u,0g,yay',
|
2023-02-17 16:57:23 +00:00
|
|
|
'105,http,0u,0g,https',
|
|
|
|
'106,geoclue,0u,0g,geoclue',
|
2024-06-27 13:23:52 +00:00
|
|
|
'115,geoclue,0u,0g,geoclue',
|
|
|
|
'120,fwupdmgr,0u,0g,fwupdmgr',
|
|
|
|
'128,fwupdmgr,0u,0g,fwupdmgr',
|
2023-03-31 10:19:30 +00:00
|
|
|
'129,fwupdmgr,0u,0g,fwupdmgr',
|
2023-08-15 22:13:06 +00:00
|
|
|
'42,http,0u,0g,https',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,1password,0u,0g,1password',
|
|
|
|
'500,abrt-action-generate-core-backtrace,0u,0g,abrt-action-gen',
|
2024-07-26 17:26:37 +00:00
|
|
|
'500,accountwizard,u,g,accountwizard',
|
2023-03-03 12:24:42 +00:00
|
|
|
'500,act,0u,0g,act',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,apk,500u,500g,apk',
|
2023-03-16 21:29:11 +00:00
|
|
|
'500,apko,500u,500g,apko',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,apko,u,g,apko',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,apk,u,g,apk',
|
2024-07-26 17:26:37 +00:00
|
|
|
'500,armcord,u,g,armcord',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,aws,0u,0g,aws',
|
2023-03-16 21:29:11 +00:00
|
|
|
'500,aws,500u,500g,aws',
|
2023-05-05 16:44:46 +00:00
|
|
|
'500,bash,0u,0g,bash',
|
2023-08-15 22:13:06 +00:00
|
|
|
'500,beeper,u,g,beeper',
|
2024-07-26 17:26:37 +00:00
|
|
|
'500,bitwarden,u,g,bitwarden',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,bom,500u,500g,bom',
|
2023-03-16 21:29:11 +00:00
|
|
|
'500,bom-linux-amd64,500u,500g,bom-linux-amd64',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,Brackets,0u,0g,Brackets',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,brave,0u,0g,brave',
|
|
|
|
'500,buildkitd,500u,500g,buildkitd',
|
2023-05-17 21:52:55 +00:00
|
|
|
'500,buildkite-agent,500u,500g,buildkite-agent',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,cargo,0u,0g,cargo',
|
|
|
|
'500,cargo,500u,500g,cargo',
|
2024-06-27 13:23:52 +00:00
|
|
|
'500,cargo,u,g,cargo',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,chainctl,0u,0g,chainctl',
|
|
|
|
'500,chainctl,500u,100g,chainctl',
|
|
|
|
'500,chainctl,500u,493g,chainctl',
|
|
|
|
'500,chainctl,500u,500g,chainctl',
|
2023-03-30 22:44:01 +00:00
|
|
|
'500,chainctl,500u,500g,docker-credenti',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,chrome,0u,0g,chrome',
|
2024-07-26 17:26:37 +00:00
|
|
|
'500,chrome_crashpad_handler,0u,0g,chrome_crashpad',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,chrome,u,g,chrome',
|
2023-03-30 22:44:01 +00:00
|
|
|
'500,cilium,500u,123g,cilium',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,cloud_sql_proxy,0u,0g,cloud_sql_proxy',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,cockatrice,u,g,cockatrice',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,code,0u,0g,code',
|
|
|
|
'500,code,500u,500g,code',
|
2024-07-26 17:26:37 +00:00
|
|
|
'500,code-oss,u,g,code-oss',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,code,u,g,code',
|
2024-01-26 19:07:37 +00:00
|
|
|
'500,com.docker.backend,0u,0g,com.docker.back',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,com.docker.build,0u,0g,com.docker.buil',
|
2024-01-26 19:07:37 +00:00
|
|
|
'500,com.docker.extensions,0u,0g,com.docker.exte',
|
2023-03-16 21:29:11 +00:00
|
|
|
'500,containerd,u,g,containerd',
|
2023-05-05 16:44:46 +00:00
|
|
|
'500,copilot-agent-linux,500u,500g,copilot-agent-l',
|
2024-09-24 19:10:21 +00:00
|
|
|
'500,copilot-language-server,500u,500g,copilot-languag',
|
2024-01-26 19:07:37 +00:00
|
|
|
'500,copy-from-gs,500u,500g,copy-from-gs',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,cosign,500u,500g,cosign',
|
|
|
|
'500,cosign-linux-amd64,0u,0g,cosign',
|
|
|
|
'500,crane,0u,0g,crane',
|
|
|
|
'500,crane,500u,500g,crane',
|
|
|
|
'500,curl,0u,0g,curl',
|
2024-06-27 13:23:52 +00:00
|
|
|
'500,deno,500u,500g,deno',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,Discord,0u,0g,Discord',
|
|
|
|
'500,Discord,u,g,Discord',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,docker,0u,0g,docker',
|
2023-05-17 21:52:55 +00:00
|
|
|
'500,docker-buildx,0u,0g,docker-buildx',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,Docker Desktop,0u,0g,Docker Desktop',
|
2024-07-26 17:26:37 +00:00
|
|
|
'500,drkonqi,0u,0g,drkonqi',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,eksctl,0u,0g,eksctl',
|
2023-03-16 21:29:11 +00:00
|
|
|
'500,eksctl,500u,500g,eksctl',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,electron,0u,0g,electron',
|
|
|
|
'500,evolution-addressbook-factory,0u,0g,evolution-addre',
|
|
|
|
'500,evolution-calendar-factory,0u,0g,evolution-calen',
|
2023-07-03 11:16:14 +00:00
|
|
|
'500,evolution-source-registry,0u,0g,evolution-sourc',
|
2024-07-26 17:26:37 +00:00
|
|
|
'500,extension-manager,0u,0g,extension-manag',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,firefox,0u,0g,firefox',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,firefox,0u,0g,.firefox-wrappe',
|
|
|
|
'500,firefox,0u,0g,Socket Process',
|
2024-01-26 19:07:37 +00:00
|
|
|
'500,firefox-bin,500u,500g,firefox-bin',
|
2023-07-03 11:16:14 +00:00
|
|
|
'500,firefox-bin,u,g,firefox-bin',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,flameshot,0u,0g,flameshot',
|
2024-06-27 13:23:52 +00:00
|
|
|
'500,flatpak,0u,0g,flatpak',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,flatpak-oci-authenticator,0u,0g,flatpak-oci-aut',
|
2023-03-16 21:29:11 +00:00
|
|
|
'500,flux,500u,500g,flux',
|
2023-05-05 16:44:46 +00:00
|
|
|
'500,fulcio,500u,500g,fulcio',
|
2024-06-27 13:23:52 +00:00
|
|
|
'500,gcsfuse,500u,500g,gcsfuse',
|
|
|
|
'500,gdb,0u,0g,gdb',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,geoclue,0u,0g,geoclue',
|
2023-03-03 12:24:42 +00:00
|
|
|
'500,gh,0u,0g,gh',
|
2024-07-26 17:26:37 +00:00
|
|
|
'500,gh-dash,500u,500g,gh-dash',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,git,0u,0g,git',
|
2024-10-16 13:32:00 +00:00
|
|
|
'500,github-desktop,0u,0g,github-desktop',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,git-remote-http,0u,0g,git-remote-http',
|
2023-03-30 22:44:01 +00:00
|
|
|
'500,git-remote-http,u,g,git-remote-http',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,gitsign,0u,0g,gitsign',
|
|
|
|
'500,gitsign,500u,0g,gitsign',
|
|
|
|
'500,gitsign,500u,500g,gitsign',
|
2023-03-03 12:24:42 +00:00
|
|
|
'500,gitsign-credential-cache,500u,500g,gitsign-credent',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,gitsign,u,g,gitsign',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,gjs-console,0u,0g,org.gnome.Maps',
|
|
|
|
'500,gnome-recipes,0u,0g,gnome-recipes',
|
|
|
|
'500,gnome-shell,0u,0g,gnome-shell',
|
|
|
|
'500,gnome-software,0u,0g,gnome-software',
|
|
|
|
'500,go,0u,0g,go',
|
|
|
|
'500,go,500u,500g,go',
|
2023-08-15 22:13:06 +00:00
|
|
|
'500,goa-daemon,0u,0g,goa-daemon',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,___go_build_main_go,500u,500g,___go_build_mai',
|
2024-01-26 19:07:37 +00:00
|
|
|
'500,gobuster,500u,500g,gobuster',
|
2024-09-24 19:10:21 +00:00
|
|
|
'500,goland,500u,500g,goland',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,go,u,g,go',
|
2023-03-16 21:29:11 +00:00
|
|
|
'500,grafana,u,g,grafana',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,grype,0u,0g,grype',
|
|
|
|
'500,grype,500u,500g,grype',
|
|
|
|
'500,gsd-datetime,0u,0g,gsd-datetime',
|
|
|
|
'500,gvfsd-google,0u,0g,gvfsd-google',
|
|
|
|
'500,gvfsd-http,0u,0g,gvfsd-http',
|
2023-03-16 21:29:11 +00:00
|
|
|
'500,helm,0u,0g,helm',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,htop,0u,0g,htop',
|
|
|
|
'500,hugo,500u,500g,hugo',
|
|
|
|
'500,io.elementary.appcenter,0u,0g,io.elementary.a',
|
|
|
|
'500,istioctl,500u,500g,istioctl',
|
|
|
|
'500,java,0u,0g,java',
|
|
|
|
'500,java,500u,500g,java',
|
|
|
|
'500,java,u,g,java',
|
|
|
|
'500,jcef_helper,500u,500g,jcef_helper',
|
|
|
|
'500,jetbrains-toolbox,u,g,jetbrains-toolb',
|
2023-03-30 22:44:01 +00:00
|
|
|
'500,k6,500u,500g,k6',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,k9s,0u,0g,k9s',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,kbfsfuse,0u,0g,kbfsfuse',
|
2024-10-16 13:32:00 +00:00
|
|
|
'500,keepassxc,u,g,keepassxc',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,keybase,0u,0g,keybase',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,Keybase,0u,0g,Keybase',
|
2024-01-26 19:07:37 +00:00
|
|
|
'500,kioslave5,0u,0g,kioslave5',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,ko,500u,500g,ko',
|
|
|
|
'500,ko,u,g,ko',
|
2023-03-03 12:24:42 +00:00
|
|
|
'500,kpromo,500u,500g,kpromo',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,krel,500u,500g,krel',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,krunner,0u,0g,krunner',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,kubectl,0u,0g,kubectl',
|
|
|
|
'500,kubectl,500u,500g,kubectl',
|
|
|
|
'500,lens,0u,0g,lens',
|
2023-05-05 16:44:46 +00:00
|
|
|
'500,less,0u,0g,less',
|
2024-06-27 13:23:52 +00:00
|
|
|
'500,license-detector,500u,500g,license-detecto',
|
2023-03-03 12:24:42 +00:00
|
|
|
'500,limactl,0u,0g,limactl',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,limactl,500u,500g,limactl',
|
|
|
|
'500,Logseq,u,g,Logseq',
|
2024-06-27 13:23:52 +00:00
|
|
|
'500,losslesscut,500u,500g,losslesscut',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,mconvert,500u,500g,mconvert',
|
2023-05-05 16:44:46 +00:00
|
|
|
'500,mediawriter,u,g,mediawriter',
|
2023-03-16 21:29:11 +00:00
|
|
|
'500,melange,500u,500g,melange',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,melange,u,g,melange',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,Melvor Idle,500u,500g,exe',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,minikube,0u,0g,minikube',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,msedge,0u,0g,msedge',
|
2024-07-26 17:26:37 +00:00
|
|
|
'500,nami,500u,500g,nami',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,nautilus,0u,0g,nautilus',
|
|
|
|
'500,nerdctl,500u,500g,nerdctl',
|
|
|
|
'500,nix,0u,0g,nix',
|
2024-07-26 17:26:37 +00:00
|
|
|
'500,node,0u,0g,node',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,node,0u,0g,.node2nix-wrapp',
|
2023-05-05 16:44:46 +00:00
|
|
|
'500,node,0u,0g,npm install',
|
2024-06-27 13:23:52 +00:00
|
|
|
'500,node,500u,500g,npm run start',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,node,u,g,node',
|
2024-01-26 19:07:37 +00:00
|
|
|
'500,nuclei,500u,500g,nuclei',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,obs,0u,0g,obs',
|
2023-03-03 12:24:42 +00:00
|
|
|
'500,obs-browser-page,0u,0g,obs-browser-pag',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,obs-ffmpeg-mux,0u,0g,obs-ffmpeg-mux',
|
|
|
|
'500,obs-ffmpeg-mux,u,g,obs-ffmpeg-mux',
|
2024-06-27 13:23:52 +00:00
|
|
|
'500,obsidian,0u,0g,obsidian',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,obsidian,u,g,obsidian',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,obs,u,g,obs',
|
2023-03-30 22:44:01 +00:00
|
|
|
'500,op,0u,500g,op',
|
|
|
|
'500,packer-plugin-proxmox_v1.1.2_x5.0_linux_amd64,500u,500g,packer-plugin-p',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,pacman,0u,0g,pacman',
|
2023-05-05 16:44:46 +00:00
|
|
|
'500,php,0u,0g,php',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,php8.1,0u,0g,php',
|
2023-03-16 21:29:11 +00:00
|
|
|
'500,pingsender,0u,0g,pingsender',
|
2024-07-26 17:26:37 +00:00
|
|
|
'500,plasma-discover,0u,0g,plasma-discover',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,plasmashell,0u,0g,plasmashell',
|
2024-07-26 17:26:37 +00:00
|
|
|
'500,podman,0u,0g,podman',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,promoter,500u,500g,promoter',
|
|
|
|
'500,publish-release,500u,500g,publish-release',
|
2024-09-24 19:10:21 +00:00
|
|
|
'500,pycharm,500u,500g,pycharm',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,python3,0u,0g,python3',
|
2023-03-16 21:29:11 +00:00
|
|
|
'500,python3.10,0u,0g,aws',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,python3.10,0u,0g,python',
|
|
|
|
'500,python3.10,0u,0g,python3',
|
2023-05-11 15:29:55 +00:00
|
|
|
'500,python3.11,0u,0g,aws',
|
2023-07-19 19:22:43 +00:00
|
|
|
'500,python3.11,0u,0g,dnf',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,python3.11,0u,0g,gnome-abrt',
|
|
|
|
'500,python3.11,0u,0g,protonvpn',
|
|
|
|
'500,python3.11,0u,0g,prowler',
|
2024-07-26 17:26:37 +00:00
|
|
|
'500,python3.11,u,g,pip',
|
2024-07-15 18:21:29 +00:00
|
|
|
'500,python3.12,0u,0g,dnf',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,python3,500u,500g,python3',
|
|
|
|
'500,python.test,500u,500g,python.test',
|
2023-03-03 12:24:42 +00:00
|
|
|
'500,qemu-system-x86_64,0u,0g,qemu-system-x86',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,reporter-ureport,0u,0g,reporter-urepor',
|
|
|
|
'500,rpi-imager,0u,0g,rpi-imager',
|
|
|
|
'500,rustup,0u,0g,rustup',
|
|
|
|
'500,scoville,500u,500g,scoville',
|
|
|
|
'500,signal-desktop,0u,0g,signal-desktop',
|
|
|
|
'500,signal-desktop,u,g,signal-desktop',
|
2024-06-27 13:23:52 +00:00
|
|
|
'500,skopeo,0u,0g,skopeo',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,slack,0u,0g,slack',
|
|
|
|
'500,slack,u,g,slack',
|
2023-03-16 21:29:11 +00:00
|
|
|
'500,slirp4netns,0u,0g,slirp4netns',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,slirp4netns,500u,500g,slirp4netns',
|
|
|
|
'500,snap-store,0u,0g,snap-store',
|
2023-10-02 15:35:11 +00:00
|
|
|
'500,snyk,500u,500g,snyk',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,spotify,0u,0g,spotify',
|
|
|
|
'500,spotify,500u,500g,spotify',
|
|
|
|
'500,spotify,u,g,spotify',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,ssh,0u,0g,ssh',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,steam,500u,100g,steam',
|
|
|
|
'500,steam,500u,500g,steam',
|
|
|
|
'500,steamwebhelper,500u,100g,steamwebhelper',
|
|
|
|
'500,steamwebhelper,500u,500g,steamwebhelper',
|
|
|
|
'500,step,500u,500g,step',
|
|
|
|
'500,step-cli,0u,0g,step',
|
2023-03-30 22:44:01 +00:00
|
|
|
'500,stern,500u,500g,stern',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,syft,500u,500g,syft',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,syncthing,0u,0g,syncthing',
|
2024-06-27 13:23:52 +00:00
|
|
|
'500,syncthing,u,g,syncthing',
|
2024-01-26 19:07:37 +00:00
|
|
|
'500,synergy,0u,0g,synergy',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,teams,0u,0g,teams',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,telegram-desktop,u,g,telegram-deskto',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,terraform,0u,0g,terraform',
|
|
|
|
'500,terraform,500u,500g,terraform',
|
2023-03-30 22:44:01 +00:00
|
|
|
'500,terraform-ls,500u,500g,terraform-ls',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,thunderbird,0u,0g,thunderbird',
|
2024-07-26 17:26:37 +00:00
|
|
|
'500,thunderbird-bin,u,g,thunderbird-bin',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,thunderbird,u,g,thunderbird',
|
|
|
|
'500,tidal-hifi,u,g,tidal-hifi',
|
2023-03-16 21:29:11 +00:00
|
|
|
'500,tilt,500u,500g,tilt',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,TJPP8_Vulkan,500u,500g,TJPP8_Vulkan',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,todoist,0u,0g,todoist',
|
|
|
|
'500,trivy,0u,0g,trivy',
|
|
|
|
'500,trivy,500u,500g,trivy',
|
2024-01-26 19:07:37 +00:00
|
|
|
'500,ubuntu-report,0u,0g,ubuntu-report',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,WebKitNetworkProcess,0u,0g,WebKitNetworkPr',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,wget,0u,0g,wget',
|
2023-07-03 11:16:14 +00:00
|
|
|
'500,wine64-preloader,500u,500g,DaveTheDiver.ex',
|
2023-05-05 16:44:46 +00:00
|
|
|
'500,wine64-preloader,500u,500g,Root.exe',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,wolfictl,500u,500g,wolfictl',
|
2024-10-16 13:32:00 +00:00
|
|
|
'500,wolfi-package-status,500u,500g,wolfi-package-s',
|
2024-09-23 15:07:53 +00:00
|
|
|
'500,WPILibInstaller,500u,500g,WPILibInstaller',
|
|
|
|
'500,writerside,500u,500g,writerside',
|
2023-02-17 16:57:23 +00:00
|
|
|
'500,xmobar,0u,0g,xmobar',
|
|
|
|
'500,yay,0u,0g,yay',
|
|
|
|
'500,zdup,500u,500g,zdup',
|
|
|
|
'500,zoom,0u,0g,zoom',
|
2023-07-19 19:22:43 +00:00
|
|
|
'500,zoom.real,u,g,zoom.real'
|
2023-03-16 21:29:11 +00:00
|
|
|
) -- Exceptions where we have to be more flexible for the process name
|
2024-07-26 17:26:37 +00:00
|
|
|
AND NOT exception_key LIKE '0,python3.%,0u,0g,dnf'
|
|
|
|
AND NOT exception_key LIKE '0,python3.%,0u,0g,dnf-automatic'
|
2024-10-16 13:32:00 +00:00
|
|
|
AND NOT exception_key LIKE '0,python3.%,500u,500g,dnf-automatic'
|
2024-07-26 17:26:37 +00:00
|
|
|
AND NOT exception_key LIKE '0,python3.%,0u,0g,yum'
|
2024-08-27 22:40:43 +00:00
|
|
|
AND NOT exception_key LIKE '500,python3.%,0u,0g,update-manager'
|
2024-07-26 17:26:37 +00:00
|
|
|
AND NOT exception_key LIKE '500,cosign-%,500u,500g,cosign-%'
|
2023-02-17 16:57:23 +00:00
|
|
|
AND NOT exception_key LIKE '500,node,0u,0g,npm exec %'
|
|
|
|
AND NOT exception_key LIKE '500,node,0u,0g,npm install %'
|
2024-06-28 14:08:04 +00:00
|
|
|
AND NOT exception_key LIKE '500,python3%,u,g,pip'
|
2024-07-26 17:26:37 +00:00
|
|
|
AND NOT exception_key LIKE '500,python3.%,0u,0g,pip'
|
2023-05-05 16:44:46 +00:00
|
|
|
AND NOT exception_key LIKE '500,terraform-provider-%,500u,500g,terraform-provi'
|
2024-09-23 15:07:53 +00:00
|
|
|
AND NOT exception_key LIKE '500,terraform_%,500u,500g,terraform'
|
2023-06-07 13:55:17 +00:00
|
|
|
AND NOT (
|
2024-07-02 01:56:28 +00:00
|
|
|
exception_key LIKE '500,python3%,0u,0g,python%'
|
2023-06-07 13:55:17 +00:00
|
|
|
AND (
|
|
|
|
p.cmdline LIKE '%/gcloud.py %'
|
2023-09-20 13:30:46 +00:00
|
|
|
OR p.cmdline LIKE "%pip install%"
|
|
|
|
OR p.cmdline LIKE "%pip download%"
|
2023-06-07 13:55:17 +00:00
|
|
|
OR p.cwd LIKE "/home/%/dev/%"
|
|
|
|
OR p.cwd LIKE "/home/%/src/%"
|
|
|
|
OR p.cwd LIKE "/home/%/github/%"
|
|
|
|
)
|
2023-07-19 19:22:43 +00:00
|
|
|
) -- JetBrains
|
2023-05-05 16:44:46 +00:00
|
|
|
AND NOT exception_key LIKE '500,___1go_build_%,500u,500g,___1go_build_%'
|
2023-03-28 20:25:26 +00:00
|
|
|
AND NOT (
|
|
|
|
p.path = '/usr/bin/mage'
|
|
|
|
AND p.cmdline LIKE '/home/%/.magefile/%'
|
|
|
|
)
|
2023-05-02 21:49:53 +00:00
|
|
|
AND NOT p.path LIKE '/nix/store/%/bin/%'
|
2022-10-30 13:39:48 +00:00
|
|
|
AND NOT (
|
2023-02-24 21:30:17 +00:00
|
|
|
exception_key LIKE '500,%,500u,500g,%'
|
2023-02-15 01:16:02 +00:00
|
|
|
AND p.path LIKE '/tmp/go-build%/exe/%'
|
2022-10-30 13:39:48 +00:00
|
|
|
)
|
2023-02-03 02:46:53 +00:00
|
|
|
AND NOT (
|
2023-02-17 16:57:23 +00:00
|
|
|
exception_key = '0,curl,0u,0g,curl'
|
2024-02-05 15:45:17 +00:00
|
|
|
AND p.cmdline LIKE 'curl --fail %'
|
2023-03-16 21:29:11 +00:00
|
|
|
) -- Exclude processes running inside of containers
|
2022-11-16 21:52:39 +00:00
|
|
|
AND NOT p.cgroup_path LIKE '/system.slice/docker-%'
|
2023-05-02 19:25:36 +00:00
|
|
|
AND NOT p.cgroup_path LIKE '/system.slice/system.slice:docker:%'
|
2023-03-16 21:29:11 +00:00
|
|
|
AND NOT p.cgroup_path LIKE '/user.slice/user-%.slice/user@%.service/user.slice/nerdctl-%' -- Tests
|
2023-03-03 12:24:42 +00:00
|
|
|
AND NOT p.path LIKE '/tmp/go-build%.test'
|
2023-03-30 22:44:01 +00:00
|
|
|
GROUP BY
|
|
|
|
p.cmdline
|