Added [in-progress] Developer Guides
[AGL/documentation.git] / docs / 2_Architecture_Guides / 2.2_Security_Blueprint / 10_Annexes / 1.2.10.1_Config_Notes.md
1 ---
2 title: Config notes
3 ---
4
5 # Config notes
6 <!-- section-config -->
7
8 Domain               | Object     | Recommendations
9 -------------------- | ---------- | ----------------------------------
10 Hardware-Integrity-1 | Bootloader | Must control bootloader integrity.
11 Hardware-Integrity-2 | Board      | Must use a HSM.
12 Hardware-Integrity-3 | RTC        | Must not be alterable.
13
14 Domain                 | Object | Recommendations
15 ---------------------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------
16 Hardware-Certificate-1 | System | Shall allow storing dedicated certificates.
17 Hardware-Certificate-2 | ECU    | The ECU must verify the certification authority hierarchy.
18 Hardware-Certificate-3 | System | Allow the modification of certificates only if the source can be authenticated by a certificate already stored or in the higher levels of the chain of trust.
19
20 Domain            | Object     | Recommendations
21 ----------------- | ---------- | ------------------------------------------------------------------------------------
22 Hardware-Memory-1 | ECU        | The ECU shall never expose the unencrypted key in RAM when using cryptographic keys.
23 Hardware-Memory-2 | Bootloader | Internal NVM only
24 Hardware-Module-3 | -          | HSM must be used to secure keys.
25
26 Domain                 | _Variable_ / `Config` name | `Value`
27 ---------------------- | -------------------------- | -------
28 Boot-Image-Selection-1 | `CONFIG_BOOTDELAY`         | `-2`
29 Boot-Image-Selection-2 | _bootdelay_                | `-2`
30
31 Domain                    | `Config` name                | _State_
32 ------------------------- | ---------------------------- | --------
33 Boot-Image-Authenticity-1 | `CONFIG_FIT`                 | _Enable_
34 Boot-Image-Authenticity-2 | `CONFIG_FIT_SIGNATURE`       | _Enable_
35 Boot-Image-Authenticity-3 | `CONFIG_RSA`                 | _Enable_
36 Boot-Image-Authenticity-4 | `CONFIG_OF_CONTROL`          | _Enable_
37 Boot-Image-Authenticity-5 | `CONFIG_OF_SEPARATE`         | _Enable_
38 Boot-Image-Authenticity-6 | `CONFIG_DEFAULT_DEVICE_TREE` | _Enable_
39
40 Domain               | Communication modes       | _State_
41 -------------------- | ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------
42 Boot-Communication-1 | `USB`                     | _Disabled_ and _Compiled-out_ if not required.
43 Boot-Communication-2 | `USB`                     | Else, Kernel should be configured to only enable the minimum required USB devices and filesystems should be treated with special care.
44 Boot-Communication-3 | `Ethernet`                | _Disabled_
45 Boot-Communication-4 | U-boot and sboot `DOCSIS` | _Disabled_
46 Boot-Communication-5 | `Serial ports`            | _Disabled_
47
48 Domain                   | `Config` name           | _State_
49 ------------------------ | ----------------------- | -------------
50 Boot-Communication-USB-1 | `CONFIG_CMD_USB`        | _Not defined_
51 Boot-Communication-USB-2 | `CONFIG_USB_UHCI`       | _Not defined_
52 Boot-Communication-USB-3 | `CONFIG_USB_KEYBOARD`   | _Not defined_
53 Boot-Communication-USB-4 | `CONFIG_USB_STORAGE`    | _Not defined_
54 Boot-Communication-USB-5 | `CONFIG_USB_HOST_ETHER` | _Not defined_
55
56 Domain               | Communication modes  | _State_
57 -------------------- | -------------------- | ---------------------------------------------------------------------------------------------
58 Boot-Communication-1 | `Network interfaces` | Preferably _no network interface is allowed_, otherwise, restrict the services to those used.
59
60 Domain               | Object                            | Recommendations
61 -------------------- | --------------------------------- | -------------------------------------------------------------
62 Boot-Communication-1 | `Services`, `ports` and `devices` | Restrict the `services`, `ports` and `devices` to those used.
63
64 Domain                     | `Command` name | _State_
65 -------------------------- | -------------- | ---------
66 Boot-Communication-Flash-1 | `do_nand`      | _Disable_
67
68 Domain                 | `Config` name                           | `Value`
69 ---------------------- | --------------------------------------- | ---------
70 Boot-Consoles-Serial-1 | `CONFIG_SILENT_CONSOLE`                 | `Disable`
71 Boot-Consoles-Serial-2 | `CONFIG_SYS_DEVICE_NULLDEV`             | `Disable`
72 Boot-Consoles-Serial-3 | `CONFIG_SILENT_CONSOLE_UPDATE_ON_RELOC` | `Disable`
73
74 Domain                 | `Environment variable` name | _State_
75 ---------------------- | --------------------------- | -------------
76 Boot-Consoles-Serial-1 | `INC_DEBUG_PRINT`           | _Not defined_
77
78 Domain                     | `Config` name                | _State_
79 -------------------------- | ---------------------------- | ---------
80 Boot-Consoles-Variables-1  | `CONFIG_ENV_IS_IN_MMC`       | `#undef`
81 Boot-Consoles-Variables-2  | `CONFIG_ENV_IS_IN_EEPROM`    | `#undef`
82 Boot-Consoles-Variables-3  | `CONFIG_ENV_IS_IN_FLASH`     | `#undef`
83 Boot-Consoles-Variables-4  | `CONFIG_ENV_IS_IN_DATAFLASH` | `#undef`
84 Boot-Consoles-Variables-5  | `CONFIG_ENV_IS_IN_FAT`       | `#undef`
85 Boot-Consoles-Variables-6  | `CONFIG_ENV_IS_IN_NAND`      | `#undef`
86 Boot-Consoles-Variables-7  | `CONFIG_ENV_IS_IN_NVRAM`     | `#undef`
87 Boot-Consoles-Variables-8  | `CONFIG_ENV_IS_IN_ONENAND`   | `#undef`
88 Boot-Consoles-Variables-9  | `CONFIG_ENV_IS_IN_SPI_FLASH` | `#undef`
89 Boot-Consoles-Variables-10 | `CONFIG_ENV_IS_IN_REMOTE`    | `#undef`
90 Boot-Consoles-Variables-11 | `CONFIG_ENV_IS_IN_UBI`       | `#undef`
91 Boot-Consoles-Variables-12 | `CONFIG_ENV_IS_NOWHERE`      | `#define`
92
93 Domain                  | `Command` name | _State_
94 ----------------------- | -------------- | ----------
95 Boot-Consoles-MemDump-1 | `md`           | _Disabled_
96 Boot-Consoles-MemDump-2 | `mm`           | _Disabled_
97 Boot-Consoles-MemDump-3 | `nm`           | _Disabled_
98 Boot-Consoles-MemDump-4 | `mw`           | _Disabled_
99 Boot-Consoles-MemDump-5 | `cp`           | _Disabled_
100 Boot-Consoles-MemDump-6 | `mwc`          | _Disabled_
101 Boot-Consoles-MemDump-7 | `mdc`          | _Disabled_
102 Boot-Consoles-MemDump-8 | `mtest`        | _Disabled_
103 Boot-Consoles-MemDump-9 | `loopw`        | _Disabled_
104
105 Domain               | `Config` name  | `Value`
106 -------------------- | -------------- | --------------------------------------
107 Kernel-General-MAC-1 | CONFIG_IP_NF_SECURITY   | m
108 Kernel-General-MAC-2 | CONFIG_IP6_NF_SECURITY  | m
109 Kernel-General-MAC-3 | CONFIG_EXT2_FS_SECURITY | y
110 Kernel-General-MAC-4 | CONFIG_EXT3_FS_SECURITY | y
111 Kernel-General-MAC-5 | CONFIG_EXT4_FS_SECURITY | y
112 Kernel-General-MAC-6 | CONFIG_SECURITY         | y
113 Kernel-General-MAC-7 | CONFIG_SECURITY_SMACK   | y
114 Kernel-General-MAC-8 | CONFIG_TMPFS_XATTR      | y
115
116 Domain                 | `Config` name  | `Value`
117 ---------------------- | -------------- | -------
118 Kernel-General-kexec-1 | `CONFIG_KEXEC` | `n`
119
120 Domain                      | `Config` name   | `Value`
121 --------------------------- | --------------- | -------
122 Kernel-General-IPAutoConf-1 | `CONFIG_IP_PNP` | `n`
123
124 Domain                          | `Config` name           | `Value`
125 ------------------------------- | ----------------------- | -------
126 Kernel-General-SysCtl_SysCall-1 | `CONFIG_SYSCTL_SYSCALL` | `n`
127
128 Domain                       | `Config` name   | `Value`
129 ---------------------------- | --------------- | -------
130 Kernel-General-LegacyLinux-1 | `CONFIG_USELIB` | `n`
131
132 Domain                      | `Config` name                  | `Value`
133 --------------------------- | ------------------------------ | -------
134 Kernel-General-FirmHelper-1 | `CONFIG_FW_LOADER_USER_HELPER` | `n`
135
136 Domain                       | `Config` name          | `Value`
137 ---------------------------- | ---------------------- | -------
138 Kernel-General-PanicOnOOPS-1 | `CONFIG_PANIC_ON_OOPS` | `y`
139
140 Domain                     | `Config` name        | `Value`
141 -------------------------- | -------------------- | -------
142 Kernel-General-SocketMon-1 | `CONFIG_PACKET_DIAG` | `n`
143 Kernel-General-SocketMon-2 | `CONFIG_UNIX_DIAG`   | `n`
144
145 Domain                   | `Config` name    | `Value`
146 ------------------------ | ---------------- | -------
147 Kernel-General-BPF_JIT-1 | `CONFIG_BPF_JIT` | `n`
148
149 Domain                         | `Config` name             | `Value`
150 ------------------------------ | ------------------------- | -------
151 Kernel-General-ModuleSigning-1 | `CONFIG_MODULE_SIG_FORCE` | `y`
152
153 Domain                         | `Variable` name           | `Value`
154 ------------------------------ | ------------------------- | -------
155 Kernel-General-ModuleSigning-2 | `kernel.modules_disabled` | `1`
156
157 Domain                   | Object              | _State_
158 ------------------------ | ------------------- | ----------
159 Kernel-General-Drivers-1 | `USB`               | _Disabled_
160 Kernel-General-Drivers-2 | `PCMCIA`            | _Disabled_
161 Kernel-General-Drivers-3 | Other `hotplug` bus | _Disabled_
162
163 Domain                           | `compiler` and `linker` options | _State_
164 -------------------------------- | ------------------------------- | --------
165 Kernel-General-IndependentExec-1 | `-pie -fpic`                    | _Enable_
166
167 Domain                            | `compiler` and `linker` options | _State_
168 --------------------------------- | ------------------------------- | --------
169 Kernel-General-OverwriteAttacks-1 | `-z,relro`                      | _Enable_
170 Kernel-General-OverwriteAttacks-2 | `-z,now`                        | _Enable_
171
172 Domain                          | Object          | Recommendations
173 ------------------------------- | --------------- | --------------------------------
174 Kernel-General-LibraryLinking-1 | Dynamic linking | Should generally not be allowed.
175
176 Domain                         | `Config` name    | `Value`
177 ------------------------------ | ---------------- | -------
178 Kernel-Memory-RestrictAccess-1 | `CONFIG_DEVKMEM` | `n`
179
180 Domain                   | `Config` name       | `Value`
181 ------------------------ | ------------------- | -------
182 Kernel-Memory-CoreDump-1 | `CONFIG_PROC_KCORE` | `n`
183
184 Domain               | `Config` name | `Value`
185 -------------------- | ------------- | -------
186 Kernel-Memory-Swap-1 | `CONFIG_SWAP` | `n`
187
188 Domain                         | `Config` name         | `Value`
189 ------------------------------ | --------------------- | -------
190 Kernel-Memory-LoadAllSymbols-1 | `CONFIG_KALLSYMS`     | `n`
191 Kernel-Memory-LoadAllSymbols-2 | `CONFIG_KALLSYMS_ALL` | `n`
192
193 Domain                | `Config` name              | `Value`
194 --------------------- | -------------------------- | -------
195 Kernel-Memory-Stack-1 | `CONFIG_CC_STACKPROTECTOR` | `y`
196
197 Domain                 | `Config` name   | `Value`
198 ---------------------- | --------------- | -------
199 Kernel-Memory-Access-1 | `CONFIG_DEVMEM` | `n`
200
201 Domain                         | `Config` name         | `Value`
202 ------------------------------ | --------------------- | -------
203 Kernel-Memory-CrossMemAttach-1 | `CROSS_MEMORY_ATTACH` | `n`
204
205 Domain                        | `compiler` and `linker` options | _State_
206 ----------------------------- | ------------------------------- | --------
207 Kernel-Memory-StackSmashing-1 | `-fstack-protector-all`         | _Enable_
208
209 Domain                          | `compiler` options and `config` name | `Value`
210 ------------------------------- | ------------------------------------ | -------
211 Kernel-Memory-BufferOverflows-1 | `-D_FORTIFY_SOURCE`                  | `2`
212 Kernel-Memory-BufferOverflows-2 | `CONFIG_FORTIFY_SOURCE`              | `y`
213
214 Domain                   | `Config` name                | `Value`
215 ------------------------ | ---------------------------- | -------
216 Kernel-Consoles-Serial-1 | `CONFIG_SERIAL_8250`         | `n`
217 Kernel-Consoles-Serial-2 | `CONFIG_SERIAL_8250_CONSOLE` | `n`
218 Kernel-Consoles-Serial-3 | `CONFIG_SERIAL_CORE`         | `n`
219 Kernel-Consoles-Serial-4 | `CONFIG_SERIAL_CORE_CONSOLE` | `n`
220
221 Domain                        | `Config` name             | `Value`
222 ----------------------------- | ------------------------- | -----------------------------------
223 Kernel-Consoles-CommandLine-1 | `CONFIG_CMDLINE_BOOL`     | `y`
224 Kernel-Consoles-CommandLine-2 | `CONFIG_CMDLINE`          | `"insert kernel command line here"`
225 Kernel-Consoles-CommandLine-3 | `CONFIG_CMDLINE_OVERRIDE` | `y`
226
227 Domain                 | `Config` name | `Value`
228 ---------------------- | ------------- | -------
229 Kernel-Consoles-KDBG-1 | `CONFIG_KGDB` | `n`
230
231 Domain                  | `Config` name        | `Value`
232 ----------------------- | -------------------- | -------
233 Kernel-Consoles-SysRQ-1 | `CONFIG_MAGIC_SYSRQ` | `n`
234
235 Domain                         | `Config` name        | `Value`
236 ------------------------------ | -------------------- | -------
237 Kernel-Consoles-BinaryFormat-1 | `CONFIG_BINFMT_MISC` | `n`
238
239 Domain                 | `Config` name       | `Value`
240 ---------------------- | ------------------- | -------
241 Kernel-Debug-Symbols-1 | `CONFIG_DEBUG_INFO` | `n`
242
243 Domain                 | `Config` name    | `Value`
244 ---------------------- | ---------------- | -------
245 Kernel-Debug-Kprobes-1 | `CONFIG_KPROBES` | `n`
246
247 Domain                 | `Config` name   | `Value`
248 ---------------------- | --------------- | -------
249 Kernel-Debug-Tracing-1 | `CONFIG_FTRACE` | `n`
250
251 Domain                   | `Config` name      | `Value`
252 ------------------------ | ------------------ | -------
253 Kernel-Debug-Profiling-1 | `CONFIG_OPROFILE`  | `n`
254 Kernel-Debug-Profiling-2 | `CONFIG_PROFILING` | `n`
255
256 Domain                   | `Config` name             | `Value`
257 ------------------------ | ------------------------- | -------
258 Kernel-Debug-OOPSOnBUG-1 | `CONFIG_DEBUG_BUGVERBOSE` | `n`
259
260 Domain             | `Config` name         | `Value`
261 ------------------ | --------------------- | -------
262 Kernel-Debug-Dev-1 | `CONFIG_DEBUG_KERNEL` | `n`
263 Kernel-Debug-Dev-2 | `CONFIG_EMBEDDED`     | `n`
264
265 Domain                    | `Config` name     | `Value`
266 ------------------------- | ----------------- | -------
267 Kernel-Debug-FileSystem-1 | `CONFIG_DEBUG_FS` | `n`
268
269 Domain             | `Config` name | `Value`
270 ------------------ | ------------- | -------
271 Kernel-Debug-BUG-1 | `CONFIG_BUG`  | `n`
272
273 Domain                   | `Config` name     | `Value`
274 ------------------------ | ----------------- | -------
275 Kernel-Debug-CoreDumps-1 | `CONFIG_COREDUMP` | `n`
276
277 Domain                       | `File` name                      | `Value`
278 ---------------------------- | -------------------------------- | -------
279 Kernel-Debug-AdressDisplay-1 | `/proc/sys/kernel/kptr_restrict` | `1`
280
281 Domain                       | `File` or `Directorie` name | _State_
282 ---------------------------- | --------------------------- | -----------------------------
283 Kernel-Debug-AdressDisplay-1 | `/boot/vmlinuz*`            | _Readable Only for root user_
284 Kernel-Debug-AdressDisplay-2 | `/boot/System.map*`         | _Readable Only for root user_
285 Kernel-Debug-AdressDisplay-3 | `/sys/kernel/debug/`        | _Readable Only for root user_
286 Kernel-Debug-AdressDisplay-4 | `/proc/slabinfo`            | _Readable Only for root user_
287
288 Domain               | `File` name                       | `Value`
289 -------------------- | --------------------------------- | -------
290 Kernel-Debug-DMESG-1 | `/proc/sys/kernel/dmesg_restrict` | `1`
291
292 Domain                | `Config` name     | `Value`
293 --------------------- | ----------------- | -------
294 Kernel-Debug-Config-1 | `CONFIG_IKCONFIG` | `n`
295
296 Domain                   | `Config` name   | `Value`
297 ------------------------ | --------------- | -------
298 Kernel-FileSystems-NFS-1 | `CONFIG_NFSD`   | `n`
299 Kernel-FileSystems-NFS-2 | `CONFIG_NFS_FS` | `n`
300
301 Domain                     | `Partition`         | `Value`
302 -------------------------- | ------------------- | -----------------------------------------------------------------
303 Kernel-FileSystems-Mount-1 | `/boot`             | `nosuid`, `nodev` and `noexec`.
304 Kernel-FileSystems-Mount-2 | `/var` & `/tmp`     | In `/etc/fstab` or `vfstab`, add `nosuid`, `nodev` and `noexec`.
305 Kernel-FileSystems-Mount-3 | _Non-root local_    | If type is `ext2` or `ext3` and mount point not '/', add `nodev`.
306 Kernel-FileSystems-Mount-4 | _Removable storage_ | Add `nosuid`, `nodev` and `noexec`.
307 Kernel-FileSystems-Mount-5 | _Temporary storage_ | Add `nosuid`, `nodev` and `noexec`.
308 Kernel-FileSystems-Mount-6 | `/dev/shm`          | Add `nosuid`, `nodev` and `noexec`.
309 Kernel-FileSystems-Mount-7 | `/dev`              | Add `nosuid` and `noexec`.
310
311 Domain                     | `Config` name           | _State_ or `Value`
312 -------------------------- | ----------------------- | -----------------------------------------------------------------------
313 Kernel-FileSystems-Mount-1 | `CONFIG_DEVTMPFS_MOUNT` | _Disabled_ or add remount with `noexec` and `nosuid` to system startup.
314
315 Domain             | `Label` name | Recommendations
316 ------------------ | ------------ | -----------------------------------------------------------
317 Kernel-MAC-Floor-1 | `^`          | Only for privileged system services.
318 Kernel-MAC-Floor-2 | `*`          | Used for device files or `/tmp` Access restriction via DAC.
319
320 Domain              | `Label` name     | Recommendations
321 ------------------- | ---------------- | -------------------------------------------------------------------------------------------------------------
322 Kernel-MAC-System-1 | `System`         | Process should write only to file with transmute attribute.
323 Kernel-MAC-System-2 | `System::run`    | Files are created with the directory label from user and system domain (transmute) Lock is implicit with `w`.
324 Kernel-MAC-System-3 | `System::Shared` | Files are created with the directory label from system domain (transmute) User domain has locked privilege.
325 Kernel-MAC-System-4 | `System::Log`    | Some limitation may impose to add `w` to enable append.
326 Kernel-MAC-System-5 | `System::Sub`    | Isolation of risky Subsystem.
327
328 Domain              | `Label` name        | Recommendations
329 ------------------- | ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------
330 Kernel-MAC-System-1 | `User::Pkg::$AppID` | Only one Label is allowed per App. A data directory is created by the AppFw in `rwx` mode.
331 Kernel-MAC-System-2 | `User::Home`        | AppFw needs to create a directory in `/home/$USER/App-Shared` at first launch if not present with label app-data access is `User::App-Shared` without transmute.
332 Kernel-MAC-System-3 | `User::App-Shared`  | Shared space between all App running for a given user.
333
334 Domain             | Object         | Recommendations
335 ------------------ | -------------- | ------------------------------------
336 Platform-SystemD-1 | Security model | Use Namespaces for containerization.
337 Platform-SystemD-2 | Security model | Use CGroups to organise processes.
338
339 Domain          | Object         | Recommendations
340 --------------- | -------------- | ------------------------------------
341 Platform-DBus-1 | Security model | Use D-Bus as IPC.
342 Platform-DBus-2 | Security model | Apply D-BUS security patches: [D-Bus CVE](https://www.cvedetails.com/vulnerability-list/vendor_id-13442/D-bus-Project.html)
343
344 Domain               | `Tool` name | _State_
345 -------------------- | ----------- | -------
346 Platform-Utilities-1 | `connman`   | _Used_ as a connection manager.
347 Platform-Utilities-2 | `bluez`     | _Used_ as a Bluetooth manager.
348 Platform-Utilities-3 | `gstreamer` | _Used_ to manage multimedia file format.
349 Platform-Utilities-4 | `alsa`      | _Used_ to provides an API for sound card device drivers.
350
351 Domain                 | Object         | Recommendations
352 ---------------------- | -------------- | --------------------------------
353 Platform-AGLFw-AppFw-1 | Security model | Use the AppFw as Security model.
354
355 Domain                  | Object      | Recommendations
356 ----------------------- | ----------- | -------------------------------------
357 Platform-AGLFw-Cynara-1 | Permissions | Use Cynara as policy-checker service.
358
359 Domain               | `Tool` name | _State_
360 -------------------- | ----------- | ----------------------------------------------------------------------
361 Platform-Utilities-1 | `busybox`   | _Used_ to provide a number of tools. Do not compile development tools.
362
363 Domain                | `Utility` name and normal `path`                     | _State_
364 --------------------- | ---------------------------------------------------- | ----------
365 Platform-Utilities-1  | `chgrp` in `/bin/chgrp`                              | _Disabled_
366 Platform-Utilities-2  | `chmod` in `/bin/chmod`                              | _Disabled_
367 Platform-Utilities-3  | `chown` in `/bin/chown`                              | _Disabled_
368 Platform-Utilities-4  | `dmesg` in `/bin/dmesg`                              | _Disabled_
369 Platform-Utilities-5  | `Dnsdomainname` in `/bin/dnsdomainname`              | _Disabled_
370 Platform-Utilities-6  | `dropbear`, Remove "dropbear" from `/etc/init.d/rcs` | _Disabled_
371 Platform-Utilities-7  | `Editors` in (vi) `/bin/vi`                          | _Disabled_
372 Platform-Utilities-8  | `find` in `/bin/find`                                | _Disabled_
373 Platform-Utilities-9  | `gdbserver` in `/bin/gdbserver`                      | _Disabled_
374 Platform-Utilities-10 | `hexdump` in `/bin/hexdump`                          | _Disabled_
375 Platform-Utilities-11 | `hostname` in `/bin/hostname`                        | _Disabled_
376 Platform-Utilities-12 | `install` in `/bin/install`                          | _Disabled_
377 Platform-Utilities-13 | `iostat` in `/bin/iostat`                            | _Disabled_
378 Platform-Utilities-14 | `killall` in `/bin/killall`                          | _Disabled_
379 Platform-Utilities-15 | `klogd` in `/sbin/klogd`                             | _Disabled_
380 Platform-Utilities-16 | `logger` in `/bin/logger`                            | _Disabled_
381 Platform-Utilities-17 | `lsmod` in `/sbin/lsmod`                             | _Disabled_
382 Platform-Utilities-18 | `pmap` in `/bin/pmap`                                | _Disabled_
383 Platform-Utilities-19 | `ps` in `/bin/ps`                                    | _Disabled_
384 Platform-Utilities-20 | `ps` in `/bin/ps`                                    | _Disabled_
385 Platform-Utilities-21 | `rpm` in `/bin/rpm`                                  | _Disabled_
386 Platform-Utilities-22 | `SSH`                                                | _Disabled_
387 Platform-Utilities-23 | `stbhotplug` in `/sbin/stbhotplug`                   | _Disabled_
388 Platform-Utilities-24 | `strace` in `/bin/trace`                             | _Disabled_
389 Platform-Utilities-25 | `su` in `/bin/su`                                    | _Disabled_
390 Platform-Utilities-26 | `syslogd` in (logger) `/bin/logger`                  | _Disabled_
391 Platform-Utilities-27 | `top` in `/bin/top`                                  | _Disabled_
392 Platform-Utilities-28 | `UART` in `/proc/tty/driver/`                        | _Disabled_
393 Platform-Utilities-29 | `which` in `/bin/which`                              | _Disabled_
394 Platform-Utilities-30 | `who` and `whoami` in `/bin/whoami`                  | _Disabled_
395 Platform-Utilities-31 | `awk` (busybox)                                      | _Enabled_
396 Platform-Utilities-32 | `cut` (busybox)                                      | _Enabled_
397 Platform-Utilities-33 | `df` (busybox)                                       | _Enabled_
398 Platform-Utilities-34 | `echo` (busybox)                                     | _Enabled_
399 Platform-Utilities-35 | `fdisk` (busybox)                                    | _Enabled_
400 Platform-Utilities-36 | `grep` (busybox)                                     | _Enabled_
401 Platform-Utilities-37 | `mkdir` (busybox)                                    | _Enabled_
402 Platform-Utilities-38 | `mount` (vfat) (busybox)                             | _Enabled_
403 Platform-Utilities-39 | `printf` (busybox)                                   | _Enabled_
404 Platform-Utilities-40 | `sed` in `/bin/sed` (busybox)                        | _Enabled_
405 Platform-Utilities-41 | `tail` (busybox)                                     | _Enabled_
406 Platform-Utilities-42 | `tee` (busybox)                                      | _Enabled_
407 Platform-Utilities-43 | `test` (busybox)                                     | _Enabled_
408
409 Domain                | Object           | Recommendations
410 --------------------- | ---------------- | -----------------------------------------------------
411 Platform-Users-root-1 | Main application | Should not execute as root.
412 Platform-Users-root-2 | UI               | Should run in a context on a user with no capability.
413
414 Domain                | `Utility` name | _State_
415 --------------------- | -------------- | -------------
416 Platform-Users-root-3 | `login`        | _Not allowed_
417 Platform-Users-root-4 | `su`           | _Not allowed_
418 Platform-Users-root-5 | `ssh`          | _Not allowed_
419 Platform-Users-root-6 | `scp`          | _Not allowed_
420 Platform-Users-root-7 | `sftp`         | _Not allowed_
421
422 Domain                     | Object    | Recommendations
423 -------------------------- | --------- | -----------------------------------------------------------------------
424 Application-Installation-1 | AppFw     | Provide offline-mode in order to install app with the base image.
425 Application-Installation-2 | Integrity | Allow the installation of applications only if their integrity is good.
426
427 Domain                             | Tech name | Recommendations
428 ---------------------------------- | --------- | --------------------------------------------------------------------------
429 Connectivity-BusAndConnector-Bus-1 | CAN       | Implement hardware solution in order to prohibit sending unwanted signals.
430
431 Domain                                    | Tech name | Recommendations
432 ----------------------------------------- | --------- | ----------------------------------------------------------------------
433 Connectivity-BusAndConnector-Connectors-1 | USB       | Must be disabled. If not, only enable the minimum require USB devices.
434 Connectivity-BusAndConnector-Connectors-2 | USB       | Confidential data exchanged with the ECU over USB must be secure.
435 Connectivity-BusAndConnector-Connectors-3 | USB       | USB Boot on a ECU must be disable.
436 Connectivity-BusAndConnector-Connectors-4 | OBD-II    | Must be disabled outside garages.
437
438 Domain                  | Object | Recommendations
439 ----------------------- | ------ | ------------------------------------------------------------------
440 Connectivity-Wireless-1 | Update | Always follow the latest updates of remote communication channels.
441
442 Domain                       | Tech name or object | Recommendations
443 ---------------------------- | ------------------- | -------------------------------------------------------------------------
444 Connectivity-Wireless-Wifi-1 | WEP, PSK, TKIP      | Disabled
445 Connectivity-Wireless-Wifi-2 | WPA2 and AES-CCMP   | Used
446 Connectivity-Wireless-Wifi-3 | WPA2                | Should protect data sniffing.
447 Connectivity-Wireless-Wifi-4 | PSK                 | Changing regularly the password.
448 Connectivity-Wireless-Wifi-5 | Device              | Upgraded easily in software or firmware to have the last security update.
449
450 Domain                            | Tech name     | Recommendations
451 --------------------------------- | ------------- | ------------------------------------------------------------
452 Connectivity-Wireless-Bluetooth-1 | BLE           | Use with caution.
453 Connectivity-Wireless-Bluetooth-2 | Bluetooth     | Monitoring
454 Connectivity-Wireless-Bluetooth-3 | SSP           | Avoid using the "Just Works" association model.
455 Connectivity-Wireless-Bluetooth-4 | Visibility    | Configured by default as undiscoverable. Except when needed.
456 Connectivity-Wireless-Bluetooth-5 | Anti-scanning | Used, inter alia, to slow down brute force attacks.
457
458 Domain                           | Tech name | Recommendations
459 -------------------------------- | --------- | --------------------------
460 Connectivity-Wireless-Cellular-1 | GPRS/EDGE | Avoid
461 Connectivity-Wireless-Cellular-2 | UMTS/HSPA | Protected against Jamming.
462
463 Domain                        | Tech name | Recommendations
464 ----------------------------- | --------- | --------------------------------------------
465 Connectivity-Wireless-Radio-1 | RDS       | Only audio output and meta concerning radio.
466
467 Domain                      | Tech name | Recommendations
468 --------------------------- | --------- | ------------------------------------------------------
469 Connectivity-Wireless-NFC-1 | NFC       | Protected against relay and replay attacks.
470 Connectivity-Wireless-NFC-2 | Device    | Disable unneeded and unapproved services and profiles.
471
472 Domain                       | Object         | Recommendations
473 ---------------------------- | -------------- | --------------------------------------
474 Application-Cloud-Download-1 | authentication | Must implement authentication process.
475 Application-Cloud-Download-2 | Authorization  | Must implement Authorization process.
476
477 Domain                             | Object        | Recommendations
478 ---------------------------------- | ------------- | ----------------------------------------------------------
479 Application-Cloud-Infrastructure-1 | Packet        | Should implement a DPI.
480 Application-Cloud-Infrastructure-2 | DoS           | Must implement a DoS protection.
481 Application-Cloud-Infrastructure-3 | Test          | Should implement scanning tools like SATS and DAST.
482 Application-Cloud-Infrastructure-4 | Log           | Should implement security tools (IDS and IPS).
483 Application-Cloud-Infrastructure-5 | App integrity | Applications must be signed by the code signing authority.
484
485 Domain                        | Object                                    | Recommendations
486 ----------------------------- | ----------------------------------------- | ---------------------------------
487 Application-Cloud-Transport-1 | Integrity, confidentiality and legitimacy | Should implement IPSec standards.
488
489 <!-- end-section-config -->