-
Notifications
You must be signed in to change notification settings - Fork 3
/
mondoo-linux-incident-response.mql.yaml
49 lines (48 loc) · 1.87 KB
/
mondoo-linux-incident-response.mql.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Copyright (c) Mondoo, Inc.
# SPDX-License-Identifier: BUSL-1.1
packs:
- uid: mondoo-linux-incident-response
name: Linux Incident Response Pack
version: 1.2.0
license: BUSL-1.1
authors:
- name: Mondoo, Inc
email: [email protected]
tags:
mondoo.com/platform: linux
mondoo.com/category: security
filters:
- asset.family.contains("linux")
queries:
- uid: mondoo-linux-incident-response-installed-kernel
title: Installed kernels
filters: mondoo.capabilities.contains("run-command")
mql: kernel.installed
- uid: mondoo-linux-incident-response-kernel-info
title: Running kernel version
filters: mondoo.capabilities.contains("run-command")
mql: kernel.info
- uid: mondoo-linux-incident-response-kernel-modules
title: Kernel modules
mql: kernel.modules { name loaded }
- uid: mondoo-linux-incident-response-processes
title: Running processes
filters: mondoo.capabilities.contains("run-command")
mql: processes { pid command }
- uid: mondoo-linux-incident-response-mounts
title: Mounted devices
mql: mount.list { path fstype device options }
- uid: mondoo-linux-incident-response-listening-ports
title: Listening ports
filters: mondoo.capabilities.contains("run-command")
mql: ports.listening
- uid: mondoo-linux-incident-response-uptime
title: Operating system uptime
filters: mondoo.capabilities.contains("run-command")
mql: os.uptime
- uid: mondoo-linux-incident-response-installed-packages
title: Installed packages
mql: packages { name version arch installed }
- uid: mondoo-linux-incident-response-running-services
title: Running services
mql: services.where(running == true) { name running enabled masked type }