File size: 32,040 Bytes
b2c9ced
458b1d7
b2c9ced
 
 
1e42c44
 
 
 
 
 
3ff38ef
 
 
 
 
 
 
1e42c44
b2c9ced
 
1e42c44
 
 
 
 
 
3ff38ef
 
 
 
 
 
 
1e42c44
b2c9ced
 
1e42c44
 
 
 
 
 
458b1d7
 
 
 
 
 
 
 
 
1e42c44
b2c9ced
 
1e42c44
 
 
 
 
 
3ff38ef
 
 
 
 
 
 
 
 
 
 
458b1d7
 
 
 
 
 
 
1e42c44
b2c9ced
 
1e42c44
 
 
 
 
 
3ff38ef
 
 
 
 
 
 
 
 
 
 
1e42c44
b2c9ced
 
1e42c44
 
 
 
 
 
3ff38ef
 
 
 
 
 
 
458b1d7
 
 
 
 
 
 
1e42c44
b2c9ced
 
1e42c44
 
 
 
 
 
3ff38ef
 
 
 
 
 
 
458b1d7
 
 
 
 
 
 
1e42c44
b2c9ced
 
1e42c44
 
 
 
 
 
3ff38ef
 
 
 
 
 
 
458b1d7
 
 
 
 
 
 
1e42c44
b2c9ced
 
1e42c44
 
 
 
 
 
3ff38ef
 
 
 
 
 
 
458b1d7
 
 
 
 
 
 
1e42c44
b2c9ced
 
1e42c44
 
 
 
 
 
 
 
458b1d7
 
 
 
 
 
 
1e42c44
b2c9ced
 
1e42c44
 
 
 
 
 
 
 
458b1d7
 
 
 
 
 
 
1e42c44
b2c9ced
 
1e42c44
 
 
 
 
 
 
458b1d7
 
 
 
 
 
 
1e42c44
b2c9ced
 
1e42c44
 
 
 
 
 
 
 
 
458b1d7
 
 
 
 
 
 
 
 
1e42c44
b2c9ced
 
1e42c44
 
 
 
 
 
 
 
b2c9ced
 
1e42c44
 
 
 
 
 
 
 
 
b2c9ced
 
1e42c44
 
 
 
 
 
 
458b1d7
 
 
 
 
 
 
 
1e42c44
b2c9ced
 
1e42c44
 
 
 
 
 
 
458b1d7
 
 
 
 
 
 
 
1e42c44
b2c9ced
 
1e42c44
 
 
 
 
 
 
458b1d7
 
 
 
 
 
 
 
1e42c44
b2c9ced
 
1e42c44
 
 
 
 
 
 
 
458b1d7
 
 
 
 
 
 
 
 
1e42c44
b2c9ced
 
1e42c44
 
 
 
 
 
 
 
458b1d7
 
 
 
 
 
 
 
1e42c44
b2c9ced
 
1e42c44
 
 
 
 
 
 
 
b2c9ced
 
1e42c44
 
 
 
 
 
 
 
458b1d7
 
 
 
 
 
 
 
 
1e42c44
b2c9ced
 
1e42c44
 
 
 
 
 
 
458b1d7
 
 
 
 
 
 
 
1e42c44
 
 
 
458b1d7
 
 
 
 
 
 
 
 
3ff38ef
 
 
 
 
 
458b1d7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3ff38ef
1e42c44
458b1d7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b2c9ced
 
 
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
{
  "version": "0.2.0",
  "note": "Fixes Arx can apply or guide. kind 'auto': applied by collectors/<os>/fix.sh after the user clicks Fix and approves the administrator prompt; the old value is saved so it can be undone. kind 'settings': Arx opens the exact settings page and shows the steps (the change needs the user's password, a recovery key, a restart or a decision). The AI never writes or chooses commands; it may only explain these entries.",
  "fixes": {
    "firewall.enabled": {
      "macos": {
        "kind": "auto",
        "title": "Turn on the firewall",
        "changes": "Turns on the macOS firewall, which blocks unwanted incoming connections.",
        "note": "Apps you already allowed keep working.",
        "undo": true
      },
      "linux": {
        "kind": "auto",
        "title": "Turn on the firewall",
        "changes": "Turns on the firewall (ufw, or firewalld on Red Hat-type systems) and blocks incoming connections. If remote login (SSH) is running, it stays allowed.",
        "note": "Outgoing connections are not affected.",
        "undo": true
      }
    },
    "firewall.inbound": {
      "macos": {
        "kind": "auto",
        "title": "Turn on the firewall and stealth mode",
        "changes": "Turns on the firewall and stealth mode, so the Mac does not answer probes from other computers on the network.",
        "note": "Other computers can no longer ping this Mac.",
        "undo": true
      },
      "linux": {
        "kind": "auto",
        "title": "Block incoming connections",
        "changes": "Turns on the firewall (ufw or firewalld) with incoming connections blocked by default. If remote login (SSH) is running, it stays allowed.",
        "note": "Programs that serve other computers (for example a local web server) may need a firewall rule.",
        "undo": true
      }
    },
    "malware.service": {
      "macos": {
        "kind": "auto",
        "title": "Turn on Gatekeeper",
        "changes": "Turns on Gatekeeper, so only apps from the App Store and identified developers can open.",
        "note": "XProtect is always on and cannot be switched by a command.",
        "undo": true
      },
      "windows": {
        "kind": "settings",
        "title": "Turn on Microsoft Defender",
        "url": "windowsdefender://threat/",
        "steps": [
          "If Windows Security says another antivirus is in use, keep that one up to date instead.",
          "Otherwise, turn on Microsoft Defender Antivirus protection."
        ]
      }
    },
    "malware.signatures": {
      "macos": {
        "kind": "auto",
        "title": "Update malware definitions",
        "changes": "Installs the latest XProtect malware definitions from Apple.",
        "note": "An update: there is nothing to undo.",
        "undo": false
      },
      "linux": {
        "kind": "auto",
        "title": "Update malware definitions",
        "changes": "Downloads the latest ClamAV malware definitions (freshclam).",
        "note": "An update: there is nothing to undo.",
        "undo": false,
        "requires": {
          "check": "malware.antivirus",
          "contains": "ClamAV"
        }
      },
      "windows": {
        "kind": "auto",
        "title": "Update security intelligence",
        "changes": "Downloads the latest Microsoft Defender malware definitions (Update-MpSignature).",
        "note": "An update: there is nothing to undo.",
        "undo": false
      }
    },
    "malware.signature_updates": {
      "macos": {
        "kind": "auto",
        "title": "Install security responses automatically",
        "changes": "Turns on 'Install Security Responses and system files' in Software Update, so malware definitions stay current.",
        "note": "",
        "undo": true
      },
      "linux": {
        "kind": "auto",
        "title": "Update malware definitions automatically",
        "changes": "Starts the ClamAV definition updater (clamav-freshclam) and runs it at every start-up.",
        "note": "",
        "undo": true,
        "requires": {
          "check": "malware.antivirus",
          "contains": "ClamAV"
        }
      }
    },
    "gdpr.auto_updates": {
      "macos": {
        "kind": "auto",
        "title": "Turn on automatic updates",
        "changes": "Turns on checking for, downloading and installing macOS updates and security responses automatically.",
        "note": "macOS may restart overnight to finish an update; it warns first.",
        "undo": true
      },
      "linux": {
        "kind": "auto",
        "title": "Turn on automatic security updates",
        "changes": "Installs and turns on unattended-upgrades (Ubuntu, Debian) or dnf-automatic (Red Hat-type systems), so security updates install every day.",
        "note": "Undo turns it off again and removes the tool if Arx installed it.",
        "undo": true
      },
      "windows": {
        "kind": "auto",
        "title": "Turn on automatic updates",
        "changes": "Removes policies that turn automatic updates off, sets updates to download and install automatically, and re-enables the Windows Update service if it was disabled.",
        "note": "Windows may restart outside working hours to finish an update.",
        "undo": true
      }
    },
    "gdpr.guest_account": {
      "macos": {
        "kind": "auto",
        "title": "Turn off the guest account",
        "changes": "Turns off guest login and guest access to shared folders.",
        "note": "",
        "undo": true
      },
      "linux": {
        "kind": "auto",
        "title": "Turn off guest login",
        "changes": "Turns off the guest session on the login screen and the login shell of a 'guest' account.",
        "note": "",
        "undo": true
      },
      "windows": {
        "kind": "auto",
        "title": "Turn off the guest account",
        "changes": "Disables the built-in Guest account.",
        "note": "",
        "undo": true
      }
    },
    "gdpr.telemetry": {
      "macos": {
        "kind": "auto",
        "title": "Stop sharing analytics",
        "changes": "Turns off 'Share Mac Analytics' and 'Share with app developers'.",
        "note": "",
        "undo": true
      },
      "linux": {
        "kind": "auto",
        "title": "Stop usage reporting",
        "changes": "Turns off popularity-contest and the whoopsie error reporter.",
        "note": "",
        "undo": true
      },
      "windows": {
        "kind": "auto",
        "title": "Send only required diagnostic data",
        "changes": "Sets the diagnostic data policy (AllowTelemetry) to 'Required only'.",
        "note": "",
        "undo": true
      }
    },
    "gdpr.time_sync": {
      "macos": {
        "kind": "auto",
        "title": "Set the time automatically",
        "changes": "Turns on 'Set time and date automatically' from Apple's time server, so logs have correct times.",
        "note": "",
        "undo": true
      },
      "linux": {
        "kind": "auto",
        "title": "Set the time automatically",
        "changes": "Turns on network time (timedatectl set-ntp true), so logs have correct times.",
        "note": "",
        "undo": true
      },
      "windows": {
        "kind": "auto",
        "title": "Set the time automatically",
        "changes": "Turns on internet time synchronisation (Windows Time service), so logs have correct times.",
        "note": "",
        "undo": true
      }
    },
    "screen_lock.enabled": {
      "macos": {
        "kind": "settings",
        "title": "Turn on the screen lock",
        "url": "x-apple.systempreferences:com.apple.Lock-Screen-Settings.extension",
        "steps": [
          "Set 'Start Screen Saver when inactive' and 'Turn display off when inactive' to 5 minutes or less.",
          "Set 'Require password after screen saver begins or display is turned off' to Immediately."
        ]
      },
      "windows": {
        "kind": "auto",
        "title": "Lock the screen when idle",
        "changes": "Sets 'Machine inactivity limit' to SCREEN_LOCK_MAX_SECONDS (300 by default): Windows locks after that much idle time and asks for the password to unlock.",
        "note": "Takes effect after the next restart.",
        "undo": true
      }
    },
    "screen_lock.timeout": {
      "macos": {
        "kind": "settings",
        "title": "Lock the screen sooner",
        "url": "x-apple.systempreferences:com.apple.Lock-Screen-Settings.extension",
        "steps": [
          "Set 'Start Screen Saver when inactive' and 'Turn display off when inactive' to 5 minutes or less.",
          "Set 'Require password after screen saver begins or display is turned off' to Immediately."
        ]
      },
      "windows": {
        "kind": "auto",
        "title": "Lock the screen when idle",
        "changes": "Sets 'Machine inactivity limit' to SCREEN_LOCK_MAX_SECONDS (300 by default): Windows locks after that much idle time and asks for the password to unlock.",
        "note": "Takes effect after the next restart.",
        "undo": true
      }
    },
    "screen_lock.password": {
      "macos": {
        "kind": "settings",
        "title": "Ask for the password straight away",
        "url": "x-apple.systempreferences:com.apple.Lock-Screen-Settings.extension",
        "steps": [
          "Set 'Require password after screen saver begins or display is turned off' to Immediately (macOS asks for your password)."
        ]
      },
      "windows": {
        "kind": "auto",
        "title": "Lock the screen when idle",
        "changes": "Sets 'Machine inactivity limit' to SCREEN_LOCK_MAX_SECONDS (300 by default): Windows locks after that much idle time and asks for the password to unlock.",
        "note": "Takes effect after the next restart.",
        "undo": true
      }
    },
    "encryption.enabled": {
      "macos": {
        "kind": "settings",
        "title": "Turn on FileVault",
        "url": "x-apple.systempreferences:com.apple.settings.PrivacySecurity.extension?FileVault",
        "steps": [
          "Scroll to FileVault and click Turn On.",
          "Choose how to unlock the disk if you forget your password, and keep the recovery key somewhere safe (not on this Mac): without it, data can be lost.",
          "Encryption continues in the background; you can keep working."
        ]
      },
      "windows": {
        "kind": "settings",
        "title": "Turn on device encryption (BitLocker)",
        "url": "ms-settings:deviceencryption",
        "steps": [
          "Turn on Device encryption, or choose 'BitLocker drive encryption' if it is offered.",
          "Save the recovery key somewhere safe outside this computer (your Microsoft account or your IT team): without it, data can be lost."
        ]
      }
    },
    "encryption.protection": {
      "macos": {
        "kind": "settings",
        "title": "Finish disk encryption",
        "url": "x-apple.systempreferences:com.apple.settings.PrivacySecurity.extension?FileVault",
        "steps": [
          "Check that FileVault is on. If encryption is in progress, keep the Mac on power until it finishes."
        ]
      }
    },
    "encryption.recovery": {
      "macos": {
        "kind": "settings",
        "title": "Set up a recovery key",
        "url": "x-apple.systempreferences:com.apple.settings.PrivacySecurity.extension?FileVault",
        "steps": [
          "Turn FileVault on (or off and on again) and choose 'Create a recovery key'.",
          "Store the key somewhere safe outside this Mac, or let your IT team escrow it."
        ]
      }
    },
    "vuln.pending_updates": {
      "macos": {
        "kind": "settings",
        "title": "Install pending updates",
        "url": "x-apple.systempreferences:com.apple.Software-Update-Settings.extension",
        "steps": [
          "Click Update Now (or Restart Now). Save your work first: the Mac may restart."
        ]
      },
      "windows": {
        "kind": "settings",
        "title": "Install pending updates",
        "url": "ms-settings:windowsupdate",
        "steps": [
          "Click Download & install (or Restart now). Save your work first: the computer may restart."
        ]
      }
    },
    "gdpr.updates_recent": {
      "macos": {
        "kind": "settings",
        "title": "Install the latest updates",
        "url": "x-apple.systempreferences:com.apple.Software-Update-Settings.extension",
        "steps": [
          "Click Update Now. Save your work first: the Mac may restart."
        ]
      },
      "windows": {
        "kind": "settings",
        "title": "Install the latest updates",
        "url": "ms-settings:windowsupdate",
        "steps": [
          "Click Check for updates, then install them. Save your work first: the computer may restart."
        ]
      }
    },
    "gdpr.os_supported": {
      "macos": {
        "kind": "settings",
        "title": "Upgrade macOS",
        "url": "x-apple.systempreferences:com.apple.Software-Update-Settings.extension",
        "steps": [
          "Install the offered macOS upgrade. Back up first, and check that your apps support it."
        ]
      },
      "windows": {
        "kind": "settings",
        "title": "Upgrade Windows",
        "url": "ms-settings:windowsupdate",
        "steps": [
          "Install the offered Windows version upgrade. Back up first, and check that your apps support it."
        ]
      }
    },
    "gdpr.remote_access": {
      "macos": {
        "kind": "settings",
        "title": "Turn off remote access you do not need",
        "url": "x-apple.systempreferences:com.apple.Sharing-Settings.extension",
        "steps": [
          "Turn off Screen Sharing, Remote Login, Remote Management and File Sharing unless your IT team needs them.",
          "Quit and uninstall remote tools such as TeamViewer or AnyDesk if they are not approved."
        ]
      },
      "windows": {
        "kind": "settings",
        "title": "Turn off remote access you do not need",
        "url": "ms-settings:remotedesktop",
        "steps": [
          "Turn off Remote Desktop unless your IT team needs it.",
          "Uninstall remote tools such as TeamViewer or AnyDesk if they are not approved, and stop sharing folders you do not need."
        ]
      }
    },
    "gdpr.backup_configured": {
      "macos": {
        "kind": "settings",
        "title": "Set up Time Machine",
        "url": "x-apple.systempreferences:com.apple.Time-Machine-Settings.extension",
        "steps": [
          "Connect an external drive or choose a network backup disk, then click Add Backup Disk.",
          "Choose 'Encrypt backups'."
        ]
      },
      "windows": {
        "kind": "settings",
        "title": "Set up backup",
        "url": "ms-settings:backup",
        "steps": [
          "Turn on OneDrive folder backup, or set up File History with an external drive."
        ]
      }
    },
    "gdpr.backup_recent": {
      "macos": {
        "kind": "settings",
        "title": "Back up now",
        "url": "x-apple.systempreferences:com.apple.Time-Machine-Settings.extension",
        "steps": [
          "Connect the backup disk and choose Back Up Now."
        ]
      }
    },
    "user.account_type": {
      "macos": {
        "kind": "settings",
        "title": "Use a standard account for everyday work",
        "url": "x-apple.systempreferences:com.apple.Users-Groups-Settings.extension",
        "steps": [
          "Create a separate administrator account for installing software.",
          "Then turn off 'Allow this user to administer this computer' for your everyday account. Do this only after the other administrator account works."
        ]
      },
      "windows": {
        "kind": "settings",
        "title": "Use a standard account for everyday work",
        "url": "ms-settings:otherusers",
        "steps": [
          "Create a separate administrator account for installing software.",
          "Then change your everyday account type to Standard User. Do this only after the other administrator account works."
        ]
      }
    },
    "admin.unauthorized": {
      "macos": {
        "kind": "settings",
        "title": "Review administrator accounts",
        "url": "x-apple.systempreferences:com.apple.Users-Groups-Settings.extension",
        "steps": [
          "Turn off 'Allow this user to administer this computer' for accounts that are not approved IT administrators. Keep at least one working administrator."
        ]
      },
      "windows": {
        "kind": "settings",
        "title": "Review administrator accounts",
        "url": "ms-settings:otherusers",
        "steps": [
          "Change accounts that are not approved IT administrators to Standard User. Keep at least one working administrator."
        ]
      }
    },
    "account.unique_login": {
      "macos": {
        "kind": "auto",
        "title": "Turn off automatic login",
        "changes": "Turns off automatic login and deletes the saved login password (/etc/kcpassword), so everyone signs in with their own password.",
        "note": "Shared accounts are not changed: a person decides which to remove. To turn automatic login back on, use Users & Groups.",
        "undo": false,
        "requires": {
          "check": "account.unique_login",
          "contains": "automatic login as"
        }
      },
      "linux": {
        "kind": "auto",
        "title": "Turn off automatic login",
        "changes": "Turns off automatic login (GDM, LightDM or SDDM), so everyone signs in with their own password.",
        "note": "Shared accounts are not changed: a person decides which to remove.",
        "undo": true,
        "requires": {
          "check": "account.unique_login",
          "contains": "automatic login as"
        }
      },
      "windows": {
        "kind": "auto",
        "title": "Turn off automatic sign-in",
        "changes": "Turns off automatic sign-in (Winlogon AutoAdminLogon) and deletes the sign-in password stored in the registry, so everyone signs in with their own password.",
        "note": "Shared accounts are not changed: a person decides which to remove.",
        "undo": false,
        "requires": {
          "check": "account.unique_login",
          "contains": "automatic login as"
        }
      }
    },
    "password.min_length": {
      "macos": {
        "kind": "auto",
        "title": "Require longer passwords",
        "changes": "Sets the shortest allowed password to the baseline length (PASSWORD_MIN_LENGTH, 14 by default) in the Mac's account policy.",
        "note": "Applies when a password is next changed; the current password keeps working.",
        "undo": true
      },
      "linux": {
        "kind": "auto",
        "title": "Require longer passwords",
        "changes": "Sets the shortest allowed password to the baseline length (PASSWORD_MIN_LENGTH) with pam_pwquality, installing it on Ubuntu/Debian if needed.",
        "note": "Applies when a password is next changed; the current password keeps working.",
        "undo": true
      },
      "windows": {
        "kind": "auto",
        "title": "Require longer passwords",
        "changes": "Sets 'Minimum password length' in the local security policy to the baseline length (PASSWORD_MIN_LENGTH).",
        "note": "Applies when a password is next changed; the current password keeps working.",
        "undo": true
      }
    },
    "password.complexity": {
      "macos": {
        "kind": "auto",
        "title": "Require stronger passwords",
        "changes": "New passwords must contain both letters and numbers.",
        "note": "Applies when a password is next changed.",
        "undo": true
      },
      "linux": {
        "kind": "auto",
        "title": "Require stronger passwords",
        "changes": "New passwords must use at least 3 kinds of characters (lower case, upper case, digits, symbols), with pam_pwquality.",
        "note": "Applies when a password is next changed.",
        "undo": true
      },
      "windows": {
        "kind": "auto",
        "title": "Require stronger passwords",
        "changes": "Turns on 'Password must meet complexity requirements' in the local security policy.",
        "note": "Applies when a password is next changed.",
        "undo": true
      }
    },
    "password.history": {
      "macos": {
        "kind": "auto",
        "title": "Stop reuse of old passwords",
        "changes": "A new password cannot be one of the last PASSWORD_HISTORY passwords (24 by default).",
        "note": "",
        "undo": true
      },
      "linux": {
        "kind": "auto",
        "title": "Stop reuse of old passwords",
        "changes": "A new password cannot be one of the last PASSWORD_HISTORY passwords (pam_pwhistory: a pam-auth-update profile on Ubuntu/Debian, the authselect feature on Red Hat-type systems).",
        "note": "",
        "undo": true
      },
      "windows": {
        "kind": "auto",
        "title": "Stop reuse of old passwords",
        "changes": "Sets 'Enforce password history' in the local security policy (at most 24 on Windows).",
        "note": "",
        "undo": true
      }
    },
    "password.expiration": {
      "macos": {
        "kind": "auto",
        "title": "Make passwords expire",
        "changes": "Passwords expire after PASSWORD_MAX_AGE_DAYS days (365 by default); macOS asks for a new one at login.",
        "note": "An account whose password is already older than the limit must choose a new password at its next login.",
        "undo": true
      },
      "linux": {
        "kind": "auto",
        "title": "Make passwords expire",
        "changes": "Sets PASS_MAX_DAYS in /etc/login.defs and the same limit on existing accounts with a password (chage -M).",
        "note": "An account whose password is already older than the limit must choose a new password at its next login.",
        "undo": true
      },
      "windows": {
        "kind": "auto",
        "title": "Make passwords expire",
        "changes": "Sets 'Maximum password age' in the local security policy.",
        "note": "An account whose password is already older than the limit must choose a new password at its next login.",
        "undo": true
      }
    },
    "password.min_age": {
      "linux": {
        "kind": "auto",
        "title": "Set a minimum password age",
        "changes": "Sets PASS_MIN_DAYS in /etc/login.defs and the same value on existing accounts with a password (chage -m), so a password cannot be changed back straight away.",
        "note": "After a change, the password cannot be changed again for PASSWORD_MIN_AGE_DAYS day(s).",
        "undo": true
      },
      "windows": {
        "kind": "auto",
        "title": "Set a minimum password age",
        "changes": "Sets 'Minimum password age' in the local security policy.",
        "note": "After a change, the password cannot be changed again for PASSWORD_MIN_AGE_DAYS day(s).",
        "undo": true
      }
    },
    "lockout.threshold": {
      "macos": {
        "kind": "auto",
        "title": "Lock accounts after wrong passwords",
        "changes": "Locks an account for LOCKOUT_DURATION_MIN_MINUTES minutes after LOCKOUT_THRESHOLD_MAX wrong passwords (5 and 15 by default), in the Mac's account policy.",
        "note": "One setting covers threshold, duration and observation period. Someone who forgets their password waits for the lockout to end, or an administrator unlocks the account.",
        "undo": true
      },
      "linux": {
        "kind": "auto",
        "title": "Lock accounts after wrong passwords",
        "changes": "Turns on pam_faillock: after LOCKOUT_THRESHOLD_MAX wrong passwords the account is locked for LOCKOUT_DURATION_MIN_MINUTES minutes (a pam-auth-update profile on Ubuntu/Debian, the authselect feature on Red Hat-type systems).",
        "note": "One setting covers threshold, duration and observation period. Someone who forgets their password waits for the lockout to end, or an administrator unlocks the account.",
        "undo": true
      },
      "windows": {
        "kind": "auto",
        "title": "Lock accounts after wrong passwords",
        "changes": "Sets the account lockout threshold, lockout duration and reset counter in the local security policy.",
        "note": "One setting covers threshold, duration and observation period. Someone who forgets their password waits for the lockout to end, or an administrator unlocks the account.",
        "undo": true
      }
    },
    "lockout.duration": {
      "macos": {
        "kind": "auto",
        "title": "Lock accounts after wrong passwords",
        "changes": "Locks an account for LOCKOUT_DURATION_MIN_MINUTES minutes after LOCKOUT_THRESHOLD_MAX wrong passwords (5 and 15 by default), in the Mac's account policy.",
        "note": "One setting covers threshold, duration and observation period. Someone who forgets their password waits for the lockout to end, or an administrator unlocks the account.",
        "undo": true
      },
      "linux": {
        "kind": "auto",
        "title": "Lock accounts after wrong passwords",
        "changes": "Turns on pam_faillock: after LOCKOUT_THRESHOLD_MAX wrong passwords the account is locked for LOCKOUT_DURATION_MIN_MINUTES minutes (a pam-auth-update profile on Ubuntu/Debian, the authselect feature on Red Hat-type systems).",
        "note": "One setting covers threshold, duration and observation period. Someone who forgets their password waits for the lockout to end, or an administrator unlocks the account.",
        "undo": true
      },
      "windows": {
        "kind": "auto",
        "title": "Lock accounts after wrong passwords",
        "changes": "Sets the account lockout threshold, lockout duration and reset counter in the local security policy.",
        "note": "One setting covers threshold, duration and observation period. Someone who forgets their password waits for the lockout to end, or an administrator unlocks the account.",
        "undo": true
      }
    },
    "lockout.observation": {
      "macos": {
        "kind": "auto",
        "title": "Lock accounts after wrong passwords",
        "changes": "Locks an account for LOCKOUT_DURATION_MIN_MINUTES minutes after LOCKOUT_THRESHOLD_MAX wrong passwords (5 and 15 by default), in the Mac's account policy.",
        "note": "One setting covers threshold, duration and observation period. Someone who forgets their password waits for the lockout to end, or an administrator unlocks the account.",
        "undo": true
      },
      "linux": {
        "kind": "auto",
        "title": "Lock accounts after wrong passwords",
        "changes": "Turns on pam_faillock: after LOCKOUT_THRESHOLD_MAX wrong passwords the account is locked for LOCKOUT_DURATION_MIN_MINUTES minutes (a pam-auth-update profile on Ubuntu/Debian, the authselect feature on Red Hat-type systems).",
        "note": "One setting covers threshold, duration and observation period. Someone who forgets their password waits for the lockout to end, or an administrator unlocks the account.",
        "undo": true
      },
      "windows": {
        "kind": "auto",
        "title": "Lock accounts after wrong passwords",
        "changes": "Sets the account lockout threshold, lockout duration and reset counter in the local security policy.",
        "note": "One setting covers threshold, duration and observation period. Someone who forgets their password waits for the lockout to end, or an administrator unlocks the account.",
        "undo": true
      }
    },
    "firewall.domain.enabled": {
      "windows": {
        "kind": "auto",
        "title": "Turn on the Domain firewall",
        "changes": "Turns on Windows Firewall for Domain networks.",
        "note": "Apps you already allowed keep working.",
        "undo": true
      }
    },
    "firewall.domain.inbound": {
      "windows": {
        "kind": "auto",
        "title": "Block incoming connections (Domain)",
        "changes": "Turns on Windows Firewall for Domain networks and blocks incoming connections that no rule allows.",
        "note": "Apps you already allowed keep working.",
        "undo": true
      }
    },
    "firewall.private.enabled": {
      "windows": {
        "kind": "auto",
        "title": "Turn on the Private firewall",
        "changes": "Turns on Windows Firewall for Private networks.",
        "note": "Apps you already allowed keep working.",
        "undo": true
      }
    },
    "firewall.private.inbound": {
      "windows": {
        "kind": "auto",
        "title": "Block incoming connections (Private)",
        "changes": "Turns on Windows Firewall for Private networks and blocks incoming connections that no rule allows.",
        "note": "Apps you already allowed keep working.",
        "undo": true
      }
    },
    "firewall.public.enabled": {
      "windows": {
        "kind": "auto",
        "title": "Turn on the Public firewall",
        "changes": "Turns on Windows Firewall for Public networks.",
        "note": "Apps you already allowed keep working.",
        "undo": true
      }
    },
    "firewall.public.inbound": {
      "windows": {
        "kind": "auto",
        "title": "Block incoming connections (Public)",
        "changes": "Turns on Windows Firewall for Public networks and blocks incoming connections that no rule allows.",
        "note": "Apps you already allowed keep working.",
        "undo": true
      }
    },
    "malware.realtime": {
      "windows": {
        "kind": "auto",
        "title": "Turn on real-time protection",
        "changes": "Turns on Microsoft Defender real-time protection and scanning of downloads and attachments.",
        "note": "If another antivirus is your main protection, this check does not apply.",
        "undo": true
      }
    },
    "malware.on_access": {
      "windows": {
        "kind": "auto",
        "title": "Turn on real-time protection",
        "changes": "Turns on Microsoft Defender real-time protection and scanning of downloads and attachments.",
        "note": "If another antivirus is your main protection, this check does not apply.",
        "undo": true
      }
    },
    "gdpr.security_logging": {
      "windows": {
        "kind": "auto",
        "title": "Record sign-ins and account changes",
        "changes": "Turns on auditing of sign-ins (successful and failed) and of user account changes, so they appear in the Security event log.",
        "note": "",
        "undo": true
      }
    },
    "usb.write": {
      "windows": {
        "kind": "auto",
        "title": "Block writing to USB drives",
        "changes": "Stops files being written to USB drives and other removable disks (Removable Storage Access policy); reading still works.",
        "note": "Only offered when the baseline sets USB_WRITE=deny. Plug drives in again for the change to apply.",
        "undo": true
      }
    },
    "gdpr.removable_encryption": {
      "windows": {
        "kind": "auto",
        "title": "Block writing to USB drives",
        "changes": "Stops files being written to USB drives and other removable disks (Removable Storage Access policy); reading still works.",
        "note": "Only offered when the baseline sets USB_WRITE=deny. Plug drives in again for the change to apply.",
        "undo": true
      }
    },
    "aiact.os_ai_features": {
      "windows": {
        "kind": "auto",
        "title": "Turn off Windows Recall",
        "changes": "Sets the policy that turns off Recall (saving and analysing snapshots of the screen).",
        "note": "",
        "undo": true
      }
    },
    "malware.tamper": {
      "windows": {
        "kind": "settings",
        "title": "Turn on Tamper Protection",
        "url": "windowsdefender://threatsettings/",
        "steps": [
          "Under 'Virus & threat protection settings', turn Tamper Protection on. Windows does not allow programs to change this setting."
        ]
      }
    }
  }
}