Commit Graph

261 Commits

Author SHA1 Message Date
29b05546e4 Create usr.lib.security-misc.permission-lockdown 2019-10-28 14:20:08 +00:00
40707e70db Redirect calls for pkexec to lxqt-sudo because pkexec is incompatible with hidepid.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860040

https://forums.whonix.org/t/cannot-use-pkexec/8129

Thanks to AnonymousUser for the bug report!
2019-10-21 05:46:49 -04:00
0b8725306f renamed: etc/hide-hardware-info.d/30_whitelist.conf -> etc/hide-hardware-info.d/30_default.conf 2019-10-17 06:13:44 -04:00
8a42c5b023 Merge pull request #34 from madaidan/whitelist
Add a whitelist for /sys and /proc/cpuinfo
2019-10-17 09:59:12 +00:00
4f5b7816ec Elaborate 2019-10-16 19:01:49 +00:00
99a762d3dc KASLR is different from ASLR 2019-10-16 18:53:04 +00:00
a14a2854c6 Elaborate 2019-10-16 18:52:14 +00:00
a47a2fca8b Create 30_whitelist.conf 2019-10-15 20:58:58 +00:00
c22738be02 comments 2019-10-07 08:25:45 +00:00
75f36bc2c9 comments 2019-10-07 08:25:07 +00:00
e92a8a6966 comments 2019-10-07 08:24:02 +00:00
60c044a9d6 copyright / comments 2019-10-07 05:30:56 +00:00
cd2135ff82 comments 2019-10-06 10:18:24 +00:00
8b4f2befd4 comment out sack by default
https://forums.whonix.org/t/disabling-tcp-sack-dsack-fack/8109/8?u=patrick
2019-10-05 13:15:34 +00:00
02096f8d7c Revert "undo Disabling TCP SACK, DSACK, FACK"
This reverts commit 5fb4eb8e56.
2019-10-05 13:13:46 +00:00
5fb4eb8e56 undo Disabling TCP SACK, DSACK, FACK
https://forums.whonix.org/t/disabling-tcp-sack-dsack-fack/8109/5
2019-10-05 07:00:47 -04:00
d0c6bb1e90 Disable TCP DSACK and FACK 2019-10-04 17:35:54 +00:00
f13a73e569 undo SysRq restrictions
https://forums.whonix.org/t/sysrq-magic-sysrq-key/8079
2019-09-10 12:35:42 -04:00
60db7e6294 fix typo 2019-09-07 20:08:56 +00:00
7affddb3bb blacklist modules with /bin/false rather than /bin/true to fail with error
message rather than failing without notification
2019-09-07 05:47:34 +00:00
661bcd8603 allow loading unsigned modules due to issues
https://forums.whonix.org/t/allow-loading-signed-kernel-modules-by-default-disallow-kernel-module-loading-by-default/7880/23
2019-09-07 05:39:56 +00:00
cb8170fd80 comment 2019-09-06 11:44:56 +00:00
ccdbc52b82 comment 2019-09-06 11:43:55 +00:00
051856bc8e remove trailing space 2019-09-06 11:42:38 +00:00
0ae5c5ff14 remove umask changes since these are causing issues are are not needed anymore
thanks to home folder permission lockdown

https://forums.whonix.org/t/change-default-umask/7416/45
2019-08-24 12:14:22 -04:00
a8b6281119 Update uncommon-network-protocols.conf
Removing llc from blacklisted network protocols as it is needed by KVM for networking.
See https://hub.packtpub.com/kvm-networking-libvirt/ and https://forums.whonix.org/t/whonix-desktop-installer-with-calamares-field-report/7350/107
2019-08-19 11:30:57 +00:00
ed90d8b025 change default umask to 027
as per:

https://forums.whonix.org/t/change-default-umask/7416/47
2019-08-17 09:55:20 +00:00
224f95799c sudo default umask 006
https://forums.whonix.org/t/change-default-umask/7416/43
2019-08-16 11:15:25 -04:00
85502ad430 Merge branch 'master' into patch-21 2019-08-16 14:35:51 +00:00
dbea7d1511 add hook etc/kernel/postinst.d/30_remove-system-map to remove system.map
on kernel package upgrade;

self-document this package: during upgrade the following will be written
to stdout:

Setting up linux-image-4.19.0-5-amd64 (4.19.37-5+deb10u2) ...
/etc/kernel/postinst.d/30_remove-system-map:
removed '/boot/System.map-4.19.0-5-amd64
2019-08-14 07:22:14 +00:00
9a49b8ecbb Create 40_only_allow_signed_modules.cfg
Require all loaded kernel modules to be signed with a valid key.
2019-08-13 13:33:07 +00:00
5a4ea39566 Create blacklist-bluetooth.conf 2019-07-31 18:30:57 +00:00
1c7441ddf1 alias /etc/securetty -> /etc/securetty.security-misc, 2019-07-17 21:16:14 +00:00
b153e8f7df fix path 2019-07-17 21:02:48 +00:00
2299ed041f passwordless recovery / emergency console
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802211
bc5ca2de85

https://forums.whonix.org/t/restrict-root-access/7658/46
2019-07-17 20:36:51 +00:00
cb668459e8 port umask from /etc/pam.d to /usr/share/pam-configs implementation
https://forums.whonix.org/t/change-default-umask/7416
2019-07-13 10:35:10 -04:00
ac25733de8 remove etc/pam.d/common-password.security-misc rounds=65536
due to unclean implementation, see:

https://forums.whonix.org/t/restrict-root-access/7658/37
2019-07-13 14:01:53 +00:00
69b97981f3 convert etc/pam.d/su.security-misc to usr/share/pam-configs/wheel
https://forums.whonix.org/t/restrict-root-access/7658/32
2019-07-13 12:33:51 +00:00
4079632d1a remove modifying to /etc/pam.d directly (unrelased)
config-package-dev displace /etc/securetty
remove trailing spaces

https://forums.whonix.org/t/restrict-root-access/7658/31
2019-07-13 11:41:37 +00:00
b63d4ccb41 Update uncommon-network-protocols.conf 2019-07-11 15:28:56 +00:00
4058e283a5 Blacklist more uncommon network protocols 2019-07-10 14:27:19 +00:00
d70440aaed Remove duplicate 2019-07-09 21:57:37 +00:00
2d27bdd808 Blacklist more uncommon network protocols 2019-07-09 21:55:37 +00:00
3df6a44e98 also allow members of group sudo to run /usr/lib/security-misc/panic-on-oops 2019-07-09 06:56:23 -04:00
0f15303eb4 Merge branch 'master' into patch-16 2019-07-09 10:54:24 +00:00
24d9eadcb2 Use 65536 hashing rounds 2019-07-08 23:19:59 +00:00
86117d9577 Create common-password.security-misc 2019-07-08 23:19:19 +00:00
8ad9a54b09 Don't allow root login from a terminal 2019-07-08 23:17:17 +00:00
890298a3c8 Restrict su to users in the root group 2019-07-08 23:15:56 +00:00
38099a2a5d Create su.security-misc 2019-07-08 23:11:17 +00:00