| 1 |
# Linux specific /proc artifacts. |
| 2 |
--- |
| 3 |
name: LinuxASLREnabled |
| 4 |
doc: Kernel ASLR state. |
| 5 |
sources: |
| 6 |
- type: FILE |
| 7 |
attributes: {paths: ['/proc/sys/kernel/randomize_va_space']} |
| 8 |
supported_os: [Linux] |
| 9 |
urls: ['https://www.kernel.org/doc/Documentation/sysctl/kernel.txt'] |
| 10 |
--- |
| 11 |
name: LinuxIgnoreICMPBroadcasts |
| 12 |
doc: Whether the system ignores ICMP pings. |
| 13 |
sources: |
| 14 |
- type: FILE |
| 15 |
attributes: {paths: ['/proc/sys/net/ipv4/icmp_echo_ignore_broadcasts']} |
| 16 |
supported_os: [Linux] |
| 17 |
urls: ['https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt'] |
| 18 |
--- |
| 19 |
name: LinuxKernelBootloader |
| 20 |
doc: Bootloader state acquired from the kernel. |
| 21 |
sources: |
| 22 |
- type: FILE |
| 23 |
attributes: |
| 24 |
paths: |
| 25 |
- '/proc/sys/kernel/bootloader_type' |
| 26 |
- '/proc/sys/kernel/bootloader_version' |
| 27 |
supported_os: [Linux] |
| 28 |
urls: ['https://www.kernel.org/doc/Documentation/sysctl/kernel.txt'] |
| 29 |
--- |
| 30 |
name: LinuxKernelModuleRestrictions |
| 31 |
doc: Module loading controls. |
| 32 |
sources: |
| 33 |
- type: FILE |
| 34 |
attributes: |
| 35 |
paths: |
| 36 |
- '/proc/sys/kernel/kexec_load_disabled' |
| 37 |
- '/proc/sys/kernel/modules_disabled' |
| 38 |
supported_os: [Linux] |
| 39 |
urls: ['https://www.kernel.org/doc/Documentation/sysctl/kernel.txt'] |
| 40 |
--- |
| 41 |
name: LinuxKernelModuleTaintStatus |
| 42 |
doc: Taint state of loaded modules (binary blobs, unsigned modules etc). |
| 43 |
sources: |
| 44 |
- type: FILE |
| 45 |
attributes: {paths: ['/proc/sys/kernel/tainted']} |
| 46 |
supported_os: [Linux] |
| 47 |
urls: ['https://www.kernel.org/doc/Documentation/sysctl/kernel.txt'] |
| 48 |
--- |
| 49 |
name: LinuxNetworkIpForwardingState |
| 50 |
doc: IP forwarding states. |
| 51 |
sources: |
| 52 |
- type: FILE |
| 53 |
attributes: |
| 54 |
paths: |
| 55 |
- '/proc/sys/net/ipv*/conf/*/forwarding' |
| 56 |
- '/proc/sys/net/ipv4/conf/*/mc_forwarding' |
| 57 |
- '/proc/sys/net/ipv4/ip_forward' |
| 58 |
supported_os: [Linux] |
| 59 |
urls: ['https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt'] |
| 60 |
--- |
| 61 |
name: LinuxNetworkPathFilteringSettings |
| 62 |
doc: States that determine how the system responds to route manipulation. |
| 63 |
sources: |
| 64 |
- type: FILE |
| 65 |
attributes: |
| 66 |
paths: |
| 67 |
- '/proc/sys/net/ipv*/conf/*/accept_source_route' |
| 68 |
- '/proc/sys/net/ipv4/conf/*/rp_filter' |
| 69 |
- '/proc/sys/net/ipv4/conf/*/log_martians' |
| 70 |
supported_os: [Linux] |
| 71 |
urls: ['https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt'] |
| 72 |
--- |
| 73 |
name: LinuxNetworkRedirectState |
| 74 |
doc: Redirect send/receive states. |
| 75 |
sources: |
| 76 |
- type: FILE |
| 77 |
attributes: |
| 78 |
paths: |
| 79 |
- '/proc/sys/net/ipv*/conf/*/accept_redirects' |
| 80 |
- '/proc/sys/net/ipv4/conf/*/secure_redirects' |
| 81 |
- '/proc/sys/net/ipv4/conf/*/send_redirects' |
| 82 |
supported_os: [Linux] |
| 83 |
urls: ['https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt'] |
| 84 |
--- |
| 85 |
name: LinuxProcArp |
| 86 |
doc: ARP table via /proc/net/arp. |
| 87 |
sources: |
| 88 |
- type: FILE |
| 89 |
attributes: |
| 90 |
paths: |
| 91 |
- '/proc/net/arp' |
| 92 |
supported_os: [Linux] |
| 93 |
--- |
| 94 |
name: LinuxProcMounts |
| 95 |
doc: Current mounted filesystems. |
| 96 |
sources: |
| 97 |
- type: FILE |
| 98 |
attributes: |
| 99 |
paths: |
| 100 |
- '/proc/mounts' |
| 101 |
supported_os: [Linux] |
| 102 |
urls: ['https://www.kernel.org/doc/Documentation/filesystems/proc.txt'] |
| 103 |
--- |
| 104 |
name: LinuxProcSysHardeningSettings |
| 105 |
doc: Linux sysctl settings obtained from /proc/sys. |
| 106 |
sources: |
| 107 |
- type: ARTIFACT_GROUP |
| 108 |
attributes: |
| 109 |
names: |
| 110 |
- 'LinuxASLREnabled' |
| 111 |
- 'LinuxIgnoreICMPBroadcasts' |
| 112 |
- 'LinuxKernelBootloader' |
| 113 |
- 'LinuxKernelModuleTaintStatus' |
| 114 |
- 'LinuxKernelModuleRestrictions' |
| 115 |
- 'LinuxNetworkIpForwardingState' |
| 116 |
- 'LinuxNetworkPathFilteringSettings' |
| 117 |
- 'LinuxNetworkRedirectState' |
| 118 |
- 'LinuxRestrictedDmesgReadPrivileges' |
| 119 |
- 'LinuxRestrictedKernelPointerReadPrivileges' |
| 120 |
- 'LinuxSecureSuidCoreDumps' |
| 121 |
- 'LinuxSecureFsLinks' |
| 122 |
- 'LinuxSyncookieState' |
| 123 |
supported_os: [Linux] |
| 124 |
--- |
| 125 |
name: LinuxRestrictedDmesgReadPrivileges |
| 126 |
doc: Restrict whether non-privileged users can read dmesg. |
| 127 |
sources: |
| 128 |
- type: FILE |
| 129 |
attributes: |
| 130 |
paths: |
| 131 |
- '/proc/sys/kernel/dmesg_restrict' |
| 132 |
supported_os: [Linux] |
| 133 |
urls: ['https://www.kernel.org/doc/Documentation/sysctl/kernel.txt'] |
| 134 |
--- |
| 135 |
name: LinuxRestrictedKernelPointerReadPrivileges |
| 136 |
doc: Memory address obfuscation settings. |
| 137 |
sources: |
| 138 |
- type: FILE |
| 139 |
attributes: {paths: ['/proc/sys/kernel/kptr_restrict']} |
| 140 |
supported_os: [Linux] |
| 141 |
urls: ['https://www.kernel.org/doc/Documentation/sysctl/kernel.txt'] |
| 142 |
--- |
| 143 |
name: LinuxSecureFsLinks |
| 144 |
doc: Security controls to restrict operations on links in world writable directories. |
| 145 |
sources: |
| 146 |
- type: FILE |
| 147 |
attributes: |
| 148 |
paths: |
| 149 |
- '/proc/sys/fs/protected_hardlinks' |
| 150 |
- '/proc/sys/fs/protected_symlinks' |
| 151 |
supported_os: [Linux] |
| 152 |
urls: ['https://www.kernel.org/doc/Documentation/sysctl/fs.txt'] |
| 153 |
--- |
| 154 |
name: LinuxSecureSuidCoreDumps |
| 155 |
doc: Security controls for suid core dumps. |
| 156 |
sources: |
| 157 |
- type: FILE |
| 158 |
attributes: {paths: ['/proc/sys/fs/suid_dumpable']} |
| 159 |
supported_os: [Linux] |
| 160 |
urls: ['https://www.kernel.org/doc/Documentation/sysctl/fs.txt'] |
| 161 |
--- |
| 162 |
name: LinuxSyncookieState |
| 163 |
doc: Whether the system uses syncookies. |
| 164 |
sources: |
| 165 |
- type: FILE |
| 166 |
attributes: {paths: ['/proc/sys/net/ipv4/tcp_syncookies']} |
| 167 |
supported_os: [Linux] |
| 168 |
urls: ['https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt'] |
| 169 |
--- |
| 170 |
name: LinuxSysctlCmd |
| 171 |
doc: Linux output of systctl -a. |
| 172 |
sources: |
| 173 |
- type: COMMAND |
| 174 |
attributes: |
| 175 |
args: ["-a"] |
| 176 |
cmd: /sbin/sysctl |
| 177 |
supported_os: [Linux] |
| 178 |
urls: ['https://www.kernel.org/doc/Documentation/sysctl'] |