Patrick Schleizer
c2690efcac
bumped changelog version
2025-08-04 09:27:11 +00:00
Patrick Schleizer
166bc257b0
Merge remote-tracking branch 'ArrayBolt3/arraybolt3/emerg-shutdown'
2025-08-04 05:26:55 -04:00
Aaron Rainbolt
63f2909341
Fix emerg-shutdown and ensure-shutdown libexec scripts, start emerg-shutdown and ensure-shutdown earlier
2025-08-03 15:00:14 -05:00
Patrick Schleizer
d1bca0204f
bumped changelog version
2025-08-03 11:33:03 +00:00
Patrick Schleizer
92bcd824e4
also parse /usr/local/etc
2025-08-03 07:17:25 -04:00
Patrick Schleizer
4da810c8fa
comment
2025-08-03 07:16:00 -04:00
Patrick Schleizer
b9416fa77a
validate configuration file
2025-08-03 07:15:41 -04:00
Patrick Schleizer
4ba029471e
Merge remote-tracking branch 'ArrayBolt3/arraybolt3/emerg-shutdown'
2025-08-03 07:04:20 -04:00
Aaron Rainbolt
1a60da71ed
emerg-shutdown: Add shutdown timeout for preventing stuck shutdowns, briefly document feature set and usage
2025-07-29 21:16:51 -05:00
Aaron Rainbolt
e42078e90d
emerg-shutdown: fix the hang-on-shutdown bug, add autodetection of new keyboards, shutdown key configuration, and instant shutdown option
2025-07-28 20:43:54 -05:00
Aaron Rainbolt
a1d1c56033
Merge branch 'master' into arraybolt3/emerg-shutdown
2025-07-27 21:43:43 -05:00
Patrick Schleizer
c1e76aa52c
bumped changelog version
2025-07-21 10:00:25 +00:00
Patrick Schleizer
36114e29a2
Merge remote-tracking branch 'github-kicksecure/master'
2025-07-21 06:00:11 -04:00
Patrick Schleizer
f851886ffd
Merge pull request #310 from raja-grewal/its
...
Enable `indirect_target_selection=force`
2025-07-21 05:58:44 -04:00
Aaron Rainbolt
5889d134a2
emerg-shutdow: Improve recvmsg handling, call reboot syscall directly
2025-07-20 14:14:09 -05:00
raja-grewal
6f9763f525
Enable indirect_target_selection=force
2025-07-19 05:19:27 +00:00
Aaron Rainbolt
b745c8ddae
emerg-shutdown: Enable actual shutdown code, fix infinite loop when started too early
2025-07-15 00:02:02 -05:00
Aaron Rainbolt
e387086de4
Allow specifying alternative keys in panic key combo, fix optical disk eject handling
2025-07-15 00:01:50 -05:00
Aaron Rainbolt
dfb6f143f0
Add panic key handling to emergency shutdown utility
2025-07-13 20:53:29 -05:00
Aaron Rainbolt
2a7071055f
Merge branch 'master' into arraybolt3/emerg-shutdown
2025-07-13 15:21:34 -05:00
Patrick Schleizer
e3ce9c38c5
bumped changelog version
2025-07-02 20:52:17 +00:00
Patrick Schleizer
b06fb54280
Merge remote-tracking branch 'github-kicksecure/master'
2025-07-02 13:47:12 -04:00
Patrick Schleizer
468cf40e2a
Merge pull request #306 from raja-grewal/erst
...
Set `erst_disable`
2025-07-02 13:45:28 -04:00
Patrick Schleizer
865a052bf4
Merge pull request #309 from RebornRider/patch-1
...
remove TemporaryTimeout=0 in Bluetooth config
2025-07-02 13:44:17 -04:00
raja-grewal
bb208fb134
Merge branch 'Kicksecure:master' into erst
2025-07-02 11:35:50 +10:00
raja-grewal
4314b1e85b
Add comment
2025-07-01 13:36:39 +10:00
Kevin Agwaze
e3c4519179
remove misleading TemporaryTimeout=0 in Bluetooth config
2025-06-16 10:35:16 +01:00
Patrick Schleizer
115b6f6aa2
bumped changelog version
2025-06-14 11:51:44 +00:00
Patrick Schleizer
4639d1aab5
Merge remote-tracking branch 'ArrayBolt3/arraybolt3/approx'
2025-06-13 15:09:52 -04:00
Aaron Rainbolt
109c013467
Add comment related to approx package caching proxy
2025-06-12 01:08:34 -05:00
raja-grewal
72613203b9
Add reference
2025-06-06 13:07:52 +00:00
raja-grewal
dd0b55cc45
Add reference
2025-06-03 12:32:17 +10:00
Patrick Schleizer
5159de6343
bumped changelog version
2025-05-28 13:48:11 +00:00
Patrick Schleizer
3e102df765
fix
2025-05-28 08:37:03 -04:00
Patrick Schleizer
d5edc243ac
bumped changelog version
2025-05-28 12:12:00 +00:00
Patrick Schleizer
eda1d0aef6
Merge remote-tracking branch 'github-kicksecure/master'
2025-05-28 07:22:16 -04:00
Patrick Schleizer
5a10ad031d
Merge pull request #307 from maybebyte/ssh-agent-to-allowlist
...
fix(permission-hardener): ssh-agent gets 2755 perms
2025-05-28 07:21:31 -04:00
Ashlen
3559bc86b7
fix(permission-hardener): ssh-agent gets 2755 perms
...
Change from exactwhitelist to matchwhitelist. Discussion revealed that
there's a good reason to leave setgid in here, which is essentially
defense-in-depth (sometimes users may want to revert Kicksecure's
default of kernel.yama.ptrace_scope=2, e.g. to debug a program, and
Kicksecure should not be less secure than vanilla Debian in that
situation).
2025-05-27 15:32:41 -06:00
maybebyte
c59b2e4bc5
Merge branch 'Kicksecure:master' into ssh-agent-to-allowlist
2025-05-27 20:33:07 +00:00
Patrick Schleizer
e966774862
bumped changelog version
2025-05-27 19:41:25 +00:00
maybebyte
017ee29eb3
Merge branch 'Kicksecure:master' into ssh-agent-to-allowlist
2025-05-27 18:25:47 +00:00
Patrick Schleizer
5195977be4
protect against grep pipefail
2025-05-27 11:57:21 -04:00
Patrick Schleizer
abb2207313
bumped changelog version
2025-05-27 15:51:50 +00:00
Patrick Schleizer
45016146f7
Merge remote-tracking branch 'github-kicksecure/master'
2025-05-27 11:03:23 -04:00
Patrick Schleizer
395169fbce
Merge pull request #308 from maybebyte/permission-hardener-speedboost
...
perf(permission-hardener): optimize string match
2025-05-27 10:58:50 -04:00
raja-grewal
1c35303204
Merge branch 'Kicksecure:master' into erst
2025-05-23 20:20:19 +10:00
Patrick Schleizer
ace45d7c95
bumped changelog version
2025-05-21 22:06:02 +00:00
Patrick Schleizer
142ea21189
fix
2025-05-21 12:42:16 -04:00
Patrick Schleizer
a969fa350e
fix
2025-05-21 12:40:27 -04:00
Patrick Schleizer
f023651c98
nounset
2025-05-21 12:35:37 -04:00
Patrick Schleizer
f086787464
fix
2025-05-21 12:35:23 -04:00
Patrick Schleizer
d7643954d1
minor
2025-05-21 12:33:50 -04:00
Patrick Schleizer
aa905fc887
further validation of output of faillock
2025-05-21 12:32:16 -04:00
Patrick Schleizer
92d3a36a0f
fix
2025-05-21 12:29:01 -04:00
Patrick Schleizer
2c1abb23e0
output
2025-05-21 12:26:46 -04:00
Patrick Schleizer
0801b96ae7
output
2025-05-21 12:25:49 -04:00
Patrick Schleizer
ef8515ba82
improve error handling
2025-05-21 12:23:45 -04:00
Patrick Schleizer
784867e24b
fix
2025-05-21 12:21:45 -04:00
Patrick Schleizer
0eea681ce8
bumped changelog version
2025-05-21 15:52:16 +00:00
Patrick Schleizer
e1bae1c68a
fix
2025-05-21 11:50:59 -04:00
Patrick Schleizer
bd01a68305
bumped changelog version
2025-05-21 13:58:18 +00:00
Patrick Schleizer
14cf205579
fix
2025-05-21 08:36:16 -04:00
Patrick Schleizer
ff6bc5d5b6
bumped changelog version
2025-05-21 11:23:39 +00:00
Patrick Schleizer
353b6e83c5
test that wc
is functional
...
https://github.com/Kicksecure/security-misc/pull/305#issuecomment-2892378246
2025-05-21 07:20:13 -04:00
Patrick Schleizer
5930e27052
pam-info: improve error handling
...
https://github.com/Kicksecure/security-misc/pull/305#issuecomment-2892378246
2025-05-21 07:05:25 -04:00
Patrick Schleizer
5c981e0891
pam-info: fix, consistently write errors and warnings to stderr
2025-05-21 06:55:09 -04:00
Ashlen
e14b81b15e
perf(permission-hardener): optimize string match
...
Replace subprocess grep calls with bash substring matching in
check_nosuid_whitelist function. This eliminates ~10k unneeded
subprocess spawns that were causing significant performance
degradation.
In testing, it improves overall script execution speed by an
order of magnitude:
Before patch:
$ sudo hyperfine -- './permission-hardener enable'
Benchmark 1: ./permission-hardener enable
Time (mean ± σ): 11.906 s ± 0.974 s [User: 3.639 s, System: 8.728 s]
Range (min … max): 10.430 s … 14.090 s 10 runs
After patch:
$ sudo hyperfine -- './permission-hardener enable'
Benchmark 1: ./permission-hardener enable
Time (mean ± σ): 802.8 ms ± 178.5 ms [User: 283.0 ms, System: 471.9 ms]
Range (min … max): 639.4 ms … 1092.3 ms 10 runs
2025-05-20 21:34:03 -06:00
Ashlen
7a079c3de8
fix(permission-hardener): add exactwhitelist here
...
Without this, the permissions for ssh-agent won't be changed properly.
2025-05-20 18:41:48 -06:00
Ashlen
94dc9da4ab
fix(permission-hardener): ssh-agent gets 755 perms
...
Replace the commented-out matchwhitelist entry for ssh-agent with an
explicit permission entry (755) for /usr/bin/ssh-agent.
When ssh-agent's matchwhitelist entry was commented out in commit
7a5f8b87af
, permission-hardener began resetting it to restrictive
defaults (744), preventing non-root users from executing ssh-agent. This
broke split SSH functionality in Qubes OS for me because I was using
Kicksecure in the vault qube, and ssh-agent runs under a non-root user in
that configuration (see https://forum.qubes-os.org/t/split-ssh/19060 ).
As noted in the comment, Debian installs with 2755 permissions as a way
to mitigate ptrace attacks, but this rationale doesn't apply due to
kernel.yama.ptrace_scope=2 being set in Kicksecure.
2025-05-20 18:04:46 -06:00
Patrick Schleizer
19d7e1af5d
bumped changelog version
2025-05-20 11:40:27 +00:00
Patrick Schleizer
405880e63b
handle case of non-existence of /proc/cmdline
2025-05-18 06:44:42 -04:00
Patrick Schleizer
88235cc97b
refactoring
2025-05-18 06:44:04 -04:00
Patrick Schleizer
601ea77b00
end-of-options
2025-05-18 06:42:39 -04:00
Patrick Schleizer
d8feca1276
printf
2025-05-18 06:41:41 -04:00
Patrick Schleizer
7f2ba0980d
refactoring
2025-05-18 06:40:50 -04:00
Patrick Schleizer
4d1f8c44d2
Merge remote-tracking branch 'github-kicksecure/master'
2025-05-18 06:36:08 -04:00
Patrick Schleizer
e478750814
Merge pull request #305 from DMHalford/pam-info-failed_login_counter-fix
...
Prevent erroneous "Login blocked after [negative number] attempts" errors
2025-05-18 06:35:23 -04:00
raja-grewal
35fa32e4ed
Reword
2025-05-17 15:06:49 +10:00
raja-grewal
a1bde21ccb
Set erst_disable
2025-05-17 04:41:06 +00:00
DMHalford
91a76db66b
Prevent erroneous "Login blocked after [negative number] attempts" errors
...
For root, faillock appears to always* return an empty string (i.e. no table headers are present), yielding a zero-initialized pam_faillock_output_count and thus resulting in the calculation of a negative failed_login_counter value.
This can cause erroneous errors of the form "ERROR: Login blocked after [negative number] attempts" during sudo-ing and screen unlocking.
This commit modifies the initialization of failed_login_counter such that it cannot be negative and prevents the display of these incorrect warnings.
* Only rudimentary local tests were conducted
2025-05-15 15:42:50 -04:00
DMHalford
6c3be9ced0
Prevent erroneous "Login blocked after [negative number] attempts" errors
...
For root, faillock appears to always* return an empty string (i.e. no table headers are present), yielding a zero-initialized pam_faillock_output_count and thus resulting in the calculation of a negative failed_login_counter value.
This can cause erroneous errors of the form "ERROR: Login blocked after [negative number] attempts" during sudo-ing and screen unlocking.
This commit modifies the initialization of failed_login_counter such that it cannot be negative and prevents the display of these incorrect warnings.
* Only rudimentary tests were conducted
2025-05-15 15:06:10 -04:00
Aaron Rainbolt
f3d46ee562
Add emergency shutdown feature, triggered by root device removal
2025-05-09 18:46:41 -05:00
Patrick Schleizer
341dce33fb
bumped changelog version
2025-04-25 09:54:23 +00:00
Patrick Schleizer
06e1e44b00
comments
2025-04-25 05:51:21 -04:00
Patrick Schleizer
ba1012ca87
bumped changelog version
2025-04-25 08:19:35 +00:00
Patrick Schleizer
a8f6132bec
output
2025-04-25 03:11:39 -04:00
Patrick Schleizer
1d14a9f324
Merge remote-tracking branch 'ArrayBolt3/arraybolt3/fix-pkexec-umask'
2025-04-25 02:59:09 -04:00
Aaron Rainbolt
612f5f92fd
Fix umask for pkexec-run commands
2025-04-24 20:01:35 -05:00
Patrick Schleizer
e154d0af6d
bumped changelog version
2025-04-21 10:21:54 +00:00
Patrick Schleizer
4bf0e3a636
comments
2025-04-21 04:57:07 -04:00
Patrick Schleizer
502f5953c7
comments
2025-04-21 04:55:19 -04:00
Patrick Schleizer
abb0c83619
comments
2025-04-21 04:54:06 -04:00
Patrick Schleizer
efa2967fca
comments
2025-04-21 04:53:04 -04:00
Patrick Schleizer
dc7e857904
bumped changelog version
2025-04-19 17:33:56 +00:00
Patrick Schleizer
9948ae114d
fix
2025-04-19 13:24:17 -04:00
Patrick Schleizer
4aca622706
fix
2025-04-19 13:23:26 -04:00
Patrick Schleizer
701f4a0e88
output
2025-04-19 13:20:04 -04:00
Patrick Schleizer
a670c0d873
comment
2025-04-19 13:18:23 -04:00
Patrick Schleizer
4799f3ce02
make /usr/libexec/security-misc/apt-get-update
more reliable
2025-04-19 13:17:28 -04:00
Patrick Schleizer
c4f0e1d16f
refactoring
2025-04-19 12:57:14 -04:00
Patrick Schleizer
81634930fa
refactoring
2025-04-19 12:55:32 -04:00
Patrick Schleizer
90330a1ec9
refactoring
2025-04-19 12:49:18 -04:00
Patrick Schleizer
ce2c9a21a3
/usr/libexec/security-misc/apt-get-update: use /run/helper-scripts
folder for pid file instead of $TMP
...
to avoid permission issues
2025-04-19 12:48:19 -04:00
Patrick Schleizer
96ff7c8dc6
refactoring
2025-04-19 12:45:06 -04:00
Patrick Schleizer
5a37790e6b
cleanup
2025-04-19 12:43:15 -04:00
Patrick Schleizer
7512aa6757
bumped changelog version
2025-04-15 20:59:37 +00:00
Patrick Schleizer
e0e2a9b61c
Merge remote-tracking branch 'github-kicksecure/master'
2025-04-15 15:27:10 -04:00
Patrick Schleizer
9f2836d2ba
Merge pull request #304 from raja-grewal/stop_pstore
...
Disable PStore
2025-04-15 15:17:25 -04:00
Patrick Schleizer
5e88dfe809
bumped changelog version
2025-04-10 11:38:17 +00:00
Patrick Schleizer
c0a18c5a71
Merge remote-tracking branch 'ArrayBolt3/arraybolt3/rename-boot-modes'
2025-04-10 06:07:55 -04:00
Aaron Rainbolt
74ca63d12c
Mass-change "PERSISTENCE mode USERNAME" to "PERSISTENCE Mode - USERNAME Session"
2025-04-09 21:01:41 -05:00
raja-grewal
aa0ffff427
README.md: Revert error
2025-04-10 11:49:45 +10:00
Patrick Schleizer
da9dd3c3f1
bumped changelog version
2025-04-09 15:16:00 +00:00
Patrick Schleizer
163d51f32a
newline at the end
2025-04-09 09:47:52 -04:00
Patrick Schleizer
4d2b2e6546
bumped changelog version
2025-04-08 14:08:24 +00:00
Patrick Schleizer
39f4f5b607
comments
2025-04-08 06:53:08 -04:00
Patrick Schleizer
173606891a
output
2025-04-08 06:48:29 -04:00
raja-grewal
f0d17c7e41
README: Fix a few links
2025-03-16 03:31:24 +00:00
raja-grewal
df2fc2cf6b
Set efi_pstore.pstore_disable=1
2025-03-16 03:30:04 +00:00
raja-grewal
f643ebc2f9
Disable pstore processing by systemd-pstore service
2025-03-16 03:28:39 +00:00
Patrick Schleizer
d927fe238c
bumped changelog version
2025-03-03 11:00:38 +00:00
Patrick Schleizer
cd0ba94ac5
no longer disable vivid
kernel module by default,
...
because it breaks Qubes Video Companion
Thanks to @marmarek for the bug report!
https://forums.whonix.org/t/testing-qubes-video-companion-on-whonix/21393
fixes https://github.com/Kicksecure/security-misc/issues/298
2025-03-03 05:57:59 -05:00
Patrick Schleizer
3e7d1b4e23
bumped changelog version
2025-02-09 23:04:36 +00:00
Patrick Schleizer
0615e6e995
Merge remote-tracking branch 'github-kicksecure/master'
2025-02-09 18:01:43 -05:00
Patrick Schleizer
4d62ee3ab3
Merge pull request #297 from raja-grewal/warn_path
...
Update docs on kernel panics
2025-02-09 18:00:59 -05:00
raja-grewal
ce4b57d1cb
Update docs on kernel panics
2025-02-03 00:31:45 +00:00
Patrick Schleizer
2a4a228b15
bumped changelog version
2025-01-31 19:38:42 +00:00
Patrick Schleizer
041caf286b
update pkg_installed function
2025-01-31 14:33:54 -05:00
Patrick Schleizer
ac1493fcfc
comment
2025-01-31 14:33:17 -05:00
Patrick Schleizer
c0f2f11014
bumped changelog version
2025-01-30 12:58:48 +00:00
Patrick Schleizer
9f5e522b83
LC_ALL=C
2025-01-30 07:53:04 -05:00
Patrick Schleizer
7c150d116d
LANG=C str_replace: no longer requires LANG=C, therefore removed
2025-01-30 07:45:08 -05:00
Patrick Schleizer
6aaf708217
bumped changelog version
2025-01-29 14:36:41 +00:00
Patrick Schleizer
10508cb580
Merge remote-tracking branch 'github-kicksecure/master'
2025-01-29 09:36:28 -05:00
Patrick Schleizer
b9dee26331
Merge pull request #296 from raja-grewal/cpu_details
...
Hardware-related Documentation
2025-01-29 09:35:50 -05:00
Patrick Schleizer
6b4fa1ef00
bumped changelog version
2025-01-23 16:28:58 +00:00
Patrick Schleizer
b10f5489a3
copyright
2025-01-23 11:12:26 -05:00
Patrick Schleizer
3c18734db3
bumped changelog version
2025-01-22 14:11:21 +00:00
Patrick Schleizer
f90ffacac3
bump permission hardner migration code version
2025-01-22 09:09:56 -05:00
Patrick Schleizer
3a056c9d9c
bump permission hardner migration code version
2025-01-22 09:05:50 -05:00
Patrick Schleizer
d5ad29a732
add /usr/lib/polkit-1/polkit-agent-helper-1 to permission hardener hardcoded statoverride file
2025-01-22 09:04:44 -05:00
Patrick Schleizer
c8a2483cf6
bumped changelog version
2025-01-22 13:52:29 +00:00
Patrick Schleizer
80bd314436
add .whonix
files to hardcoded files
2025-01-22 08:25:14 -05:00
Patrick Schleizer
9b012bdeee
Merge remote-tracking branch 'ArrayBolt3/arraybolt3/permission-hardener-symlink-fix'
2025-01-22 08:23:49 -05:00
Patrick Schleizer
507130a1cc
Merge remote-tracking branch 'ArrayBolt3/arraybolt3/permission-hardener-diag'
2025-01-22 08:21:39 -05:00
Aaron Rainbolt
42f34f5a4c
Don't handle files with multiple hardlinks
2025-01-21 21:49:03 -06:00
Aaron Rainbolt
5e60416c86
Make permission-hardener always apply changes to real files, not symlinks
2025-01-21 21:05:03 -06:00
Aaron Rainbolt
ed767e00b0
Add some local variable declarations
2025-01-21 16:41:30 -06:00
raja-grewal
4b1e530674
README.md: List CPU mitigations
2025-01-21 12:39:06 +00:00
raja-grewal
15d13a8571
Add info on DBX updates via the UEFI Revocation List
2025-01-21 12:36:04 +00:00
Aaron Rainbolt
a97620a2e4
Add print-diagnostics command to permission-hardener
2025-01-20 22:43:55 -06:00
Patrick Schleizer
f1b6bff30b
bumped changelog version
2025-01-20 11:35:08 +00:00
Patrick Schleizer
df9d058ed9
usrmerge
2025-01-20 06:28:16 -05:00
Patrick Schleizer
8ff5f3b221
bumped changelog version
2025-01-20 10:11:43 +00:00
Patrick Schleizer
4e0d5a196c
delete comment only configuration file (moved to user-sysmaint-split)
2025-01-20 04:30:26 -05:00
Patrick Schleizer
1b4d1edfc3
comments
2025-01-20 04:29:42 -05:00
Patrick Schleizer
51c7010e8f
bumped changelog version
2025-01-17 13:35:28 +00:00
Patrick Schleizer
876d596a07
comment
2025-01-17 07:55:54 -05:00
Patrick Schleizer
c9e2f82bd0
Merge remote-tracking branch 'ArrayBolt3/master'
2025-01-17 07:53:59 -05:00
Aaron Rainbolt
bf73f1f2b5
Avoid impossible-to-satisfy dependency on helper-scripts, improve string handling robustness in postinst
2025-01-15 19:11:01 -06:00
Patrick Schleizer
597186972e
bumped changelog version
2025-01-15 15:02:44 +00:00
Patrick Schleizer
ca25716410
improve permission hardener migration code
2025-01-15 09:44:48 -05:00
Patrick Schleizer
2dfd30a44a
Merge remote-tracking branch 'ArrayBolt3/arraybolt3/more-permission-hardener'
2025-01-15 09:33:57 -05:00
Aaron Rainbolt
328f747179
Restore permission-hardener's notice about how to compare old and new states
2025-01-14 20:35:28 -06:00
Aaron Rainbolt
c6f09748f3
Handle de-corruption of new_mode a bit better
2025-01-14 20:27:53 -06:00
Aaron Rainbolt
a0f81958df
De-corrupt the new_mode permission-hardener statoverride database too
2025-01-14 19:25:15 -06:00
Aaron Rainbolt
396372c129
Avoid scanning unnecessary packages for modified permission-hardener config
2025-01-14 18:56:48 -06:00
Patrick Schleizer
a84d3ba732
bumped changelog version
2025-01-14 14:32:13 +00:00
Patrick Schleizer
709036c79f
debconf-updatepo
2025-01-14 09:31:58 -05:00
Patrick Schleizer
659c7037c6
bumped changelog version
2025-01-14 14:30:58 +00:00
Patrick Schleizer
86d3db15bf
output
2025-01-14 09:30:46 -05:00
Patrick Schleizer
876c0b6187
output
2025-01-14 09:29:35 -05:00
Patrick Schleizer
c46178dee4
output
2025-01-14 09:27:37 -05:00
Patrick Schleizer
f3c07a2451
update link
2025-01-14 09:24:06 -05:00
Patrick Schleizer
bbc4ad7c2a
bumped changelog version
2025-01-14 14:16:45 +00:00
Patrick Schleizer
9bb92e91a8
debhelper
2025-01-14 09:16:25 -05:00
Patrick Schleizer
95dd8f419f
bumped changelog version
2025-01-14 14:07:50 +00:00
Patrick Schleizer
0a2f06b456
use pre.bsh
2025-01-14 09:07:32 -05:00
Patrick Schleizer
6a4f9c1bd8
bumped changelog version
2025-01-14 14:06:50 +00:00
Patrick Schleizer
e60183ec07
output
2025-01-14 09:06:41 -05:00
Patrick Schleizer
a812961bea
verbose
2025-01-14 09:06:12 -05:00
Patrick Schleizer
0e4dfc59dd
bumped changelog version
2025-01-14 13:53:49 +00:00
Patrick Schleizer
cdf179f127
fix
2025-01-14 08:53:38 -05:00
Patrick Schleizer
41cd09933a
bumped changelog version
2025-01-14 09:26:05 +00:00
Patrick Schleizer
eec2e2c8ee
comment
2025-01-14 04:13:39 -05:00
Patrick Schleizer
6d282226ef
comment
2025-01-14 04:12:12 -05:00
Patrick Schleizer
466308e4f9
permission hardener: disable SUID for chrome-sandbox
2025-01-14 04:09:57 -05:00
Patrick Schleizer
7a5f8b87af
permission hardener: disable SUID for ssh-agent
, ssh-keysign
, /lib/openssh/*
...
This might break SSH host-based authentication.
2025-01-14 04:06:44 -05:00
Patrick Schleizer
d89ffcde30
comment
2025-01-14 04:04:09 -05:00
Patrick Schleizer
9f1759ba0e
comment
2025-01-14 03:56:55 -05:00
Patrick Schleizer
0ac85ea9f5
comment
2025-01-14 03:54:35 -05:00
Patrick Schleizer
fce6a5f830
comment
2025-01-14 03:51:43 -05:00
Patrick Schleizer
1e99404813
comment
2025-01-14 03:50:16 -05:00
Patrick Schleizer
b198591537
comment
2025-01-14 03:49:42 -05:00
Patrick Schleizer
7d44db2cb2
usrmerge
2025-01-14 03:49:15 -05:00
Patrick Schleizer
7e7632a553
bumped changelog version
2025-01-14 08:24:05 +00:00
Patrick Schleizer
420cb3f86f
refactoring
2025-01-14 03:19:21 -05:00
Patrick Schleizer
b7e7b2767e
refactoring
2025-01-14 03:18:17 -05:00
Patrick Schleizer
b2a1a0ec9f
refactoring
2025-01-14 03:17:00 -05:00
Patrick Schleizer
69ae2d9ea0
Merge remote-tracking branch 'ArrayBolt3/arraybolt3/permission-hardener-migrate'
2025-01-14 03:15:45 -05:00
Aaron Rainbolt
de9ebabd46
Fix minor migration bugs, don't run the migration code on new image builds
2025-01-13 22:16:02 -06:00
Aaron Rainbolt
a9e87e9d30
Prevent installation failures when installing non-interactively
2025-01-12 21:13:43 -06:00
Aaron Rainbolt
5570d3e5b9
Add a forgotten set -e
2025-01-12 20:40:41 -06:00
Aaron Rainbolt
07786de039
Enable smooth migration from permission-hardener-v1 to permission-hardener-v2
2025-01-12 19:34:41 -06:00
Patrick Schleizer
de1f31e3df
bumped changelog version
2025-01-12 11:47:18 +00:00
Patrick Schleizer
b0baa8baa5
add link
2025-01-12 05:38:35 -05:00
Patrick Schleizer
d6a7cd3e0d
formatting.
...
use chapter to make allow for deep linking
2025-01-12 05:36:16 -05:00
Patrick Schleizer
485d9abd1d
bumped changelog version
2025-01-10 15:34:21 +00:00
Patrick Schleizer
c17485baa1
Merge remote-tracking branch 'github-kicksecure/master'
2025-01-10 10:32:26 -05:00
Patrick Schleizer
e9ef3602dd
Merge pull request #292 from raja-grewal/cpu_table
...
Add link to tabular comparison of CPU mitigations
2025-01-10 10:30:34 -05:00
Patrick Schleizer
1b33e83529
Merge pull request #291 from raja-grewal/drop_gratuitous_arp
...
Drop gratuitous ARP packets
2025-01-10 10:29:30 -05:00
Patrick Schleizer
486757bfae
Merge pull request #290 from raja-grewal/arp_ignore
...
Respond to ARP requests only if the target IP address is on-link
2025-01-10 10:29:12 -05:00
Patrick Schleizer
17ff249150
Merge pull request #289 from raja-grewal/arp_filter
...
Enable ARP filtering
2025-01-10 10:28:48 -05:00
Patrick Schleizer
27d19ba568
Merge pull request #288 from raja-grewal/shared_media
...
Deny sending and receiving shared media redirects
2025-01-10 10:28:05 -05:00
Patrick Schleizer
482960d056
permission-hardener: move to new state folder /var/lib/permission-hardener-v2
without migration
...
https://github.com/Kicksecure/security-misc/pull/294
2025-01-10 10:21:12 -05:00
raja-grewal
cf435a8fa8
README.md: Note importance of microcode updates
2025-01-10 13:22:21 +11:00
Patrick Schleizer
3a31cc99b3
Merge remote-tracking branch 'ArrayBolt3/arraybolt3/usrmerge'
2025-01-09 09:30:58 -05:00
raja-grewal
538b312349
Add comment about microcode updates
2025-01-09 15:28:56 +11:00
raja-grewal
1f8eee4720
Add missing sentence full stop
2025-01-08 18:36:00 +11:00
raja-grewal
5e3785d76e
README.md: Remove double space
2025-01-08 18:35:52 +11:00
Aaron Rainbolt
5941195e96
Don't worry about files under /bin anymore, Bookworm uses a merged /usr directory
2025-01-07 14:10:46 -06:00
Patrick Schleizer
c4cfb8597d
Merge remote-tracking branch 'ArrayBolt3/arraybolt3/permission-hardener-refactor'
2025-01-06 08:43:54 -05:00
Patrick Schleizer
c6be621968
bumped changelog version
2025-01-06 10:31:40 +00:00
Patrick Schleizer
6e0787957b
increase priority of pam wheel so it is checked even before faillock
...
in case of attemtping to use `su` without being a member of the required group `sudo`, it's useful to abort the PAM stack as early as possible to avoid needlessly propmting for a password to later
be rejected tu to lack of group membership
2025-01-06 05:29:40 -05:00
Patrick Schleizer
d4767b7520
fix: apply PAM wheal only to su
PAM service
2025-01-06 04:24:44 -05:00
Aaron Rainbolt
93ebf176c5
Make the main field count check in permission-hardener a bit more elegant
2025-01-02 20:42:06 -05:00
Aaron Rainbolt
895c0f541f
Merge branch 'master' into arraybolt3/permission-hardener-refactor
2025-01-01 15:04:01 -06:00
Patrick Schleizer
40b23cfad4
bumped changelog version
2024-12-31 18:42:01 +00:00
Patrick Schleizer
33114f771a
copyright
2024-12-31 13:26:21 -05:00
Patrick Schleizer
bb24bff296
bumped changelog version
2024-12-31 14:09:34 +00:00
Patrick Schleizer
0640964c35
readme
2024-12-31 06:14:29 -05:00
Aaron Rainbolt
717e6fcfbe
Post-review improvements to permission-hardener
2024-12-30 21:34:23 -06:00
Aaron Rainbolt
dbcb612517
Polish permission-hardener refactor
2024-12-26 00:43:26 -06:00
Patrick Schleizer
397b476a82
bumped changelog version
2024-12-26 04:12:02 +00:00
Patrick Schleizer
66f8c18c65
Merge remote-tracking branch 'ArrayBolt3/arraybolt3/sysmaint'
2024-12-25 22:43:04 -05:00
Aaron Rainbolt
83d3867959
Refactor permission-hardener to be more idempotent
2024-12-25 16:53:55 -06:00
Aaron Rainbolt
6602fb102d
Adjust pam-info messaging for sysmaint mode
2024-12-24 20:52:34 -06:00
Patrick Schleizer
aa82202e70
bumped changelog version
2024-12-24 05:16:22 +00:00
Patrick Schleizer
27d015d58e
Merge remote-tracking branch 'ArrayBolt3/arraybolt3/sysmaint'
2024-12-24 00:08:58 -05:00
Aaron Rainbolt
2f3a2bce77
Add warning about using non-sysmaint accounts in sysmaint mode
2024-12-20 11:04:22 -06:00
Patrick Schleizer
3c73c0cd3a
bumped changelog version
2024-12-20 06:01:27 +00:00
Patrick Schleizer
a4c76c617a
syntax fix
2024-12-20 01:01:13 -05:00
Patrick Schleizer
b40bc0a2c9
bumped changelog version
2024-12-20 05:58:24 +00:00
Patrick Schleizer
b21c394ea5
Trigger permission hardener when new configuration files are being installed.
2024-12-20 00:56:20 -05:00
Patrick Schleizer
cd027b86e7
bumped changelog version
2024-12-20 05:48:48 +00:00
Patrick Schleizer
ad6e1f5ad4
move from /etc/permission-hardener.d
to /usr/lib/permission-hardener.d
2024-12-20 00:41:06 -05:00
Patrick Schleizer
a2c1e8c218
clean up old files in /etc/permission-hardener.d
...
because will be moved to `/usr/lib/permission-hardener.d`
2024-12-20 00:39:51 -05:00
Patrick Schleizer
6de5d2d076
permission hardener: also parse /usr/lib/permission-hardener.d/*.conf
folder
2024-12-20 00:37:44 -05:00
Patrick Schleizer
721b100fb6
bumped changelog version
2024-12-19 10:58:50 +00:00
raja-grewal
642b4eeedc
Add link to tabular comparison of CPU mitigations
2024-12-19 21:57:25 +11:00
Patrick Schleizer
175b442d5b
use long option name
2024-12-19 05:56:50 -05:00
Patrick Schleizer
c99021bb0c
Merge remote-tracking branch 'ArrayBolt3/arraybolt3/sysmaint'
2024-12-19 05:56:01 -05:00
raja-grewal
2e6e1701a0
Set net.ipv4.conf.*.drop_gratuitous_arp=1
2024-12-19 10:35:08 +00:00
raja-grewal
c37f4efadf
Set net.ipv4.conf.*.arp_ignore=2
2024-12-19 10:33:49 +00:00
raja-grewal
af1d06973b
Set net.ipv4.conf.*.arp_filter=1
2024-12-19 10:31:43 +00:00
raja-grewal
750367a906
Set net.ipv4.conf.*.shared_media=0
2024-12-19 10:29:56 +00:00
Patrick Schleizer
95b535764c
bumped changelog version
2024-12-19 09:43:26 +00:00
Patrick Schleizer
daf0a0900b
fix apt-get-update for non-English locale
...
https://forums.kicksecure.com/t/systemcheck-reports-warning-debian-package-update-check-result-apt-get-reports-that-packages-can-be-updated-but-system-is-already-fully-upgraded/785
2024-12-19 04:39:34 -05:00
Patrick Schleizer
e9a5b14a0d
bumped changelog version
2024-12-19 06:57:42 +00:00
Patrick Schleizer
3135a03e21
Merge remote-tracking branch 'github-kicksecure/master'
2024-12-19 00:34:56 -05:00
Patrick Schleizer
c7f7196471
Merge pull request #287 from raja-grewal/patch
...
Refactor and add two CPU mitigations
2024-12-19 00:31:25 -05:00
Patrick Schleizer
f0c611d9ed
comment
2024-12-19 00:18:25 -05:00
Patrick Schleizer
4f681be774
Merge remote-tracking branch 'github-kicksecure/master'
2024-12-19 00:17:44 -05:00
Patrick Schleizer
e5b67e044b
Merge pull request #279 from raja-grewal/arp
...
Provide network-related hardening options via `sysctl`'s
2024-12-19 00:15:02 -05:00
Patrick Schleizer
4cf5757575
Merge pull request #282 from ArrayBolt3/arraybolt3/umask
...
Enable umask hardening
2024-12-19 00:08:56 -05:00
Aaron Rainbolt
9d69cd1912
Add sysmaint account lock detection
2024-12-18 21:34:37 -06:00
raja-grewal
3749f8ff09
Update presentation on user namespaces
2024-12-18 03:36:09 +00:00
raja-grewal
0dff2cd28f
Minor additions
2024-12-18 03:32:35 +00:00
raja-grewal
3e96fdd9cc
Enable kvm.mitigate_smt_rsb=1
2024-12-17 11:44:11 +00:00
raja-grewal
45355aabdc
Enable kvm-intel.vmentry_l1d_flush=always
2024-12-17 11:42:52 +00:00
raja-grewal
defba1f245
Refactor CPU mitigations
2024-12-17 11:42:03 +00:00
raja-grewal
943c421889
Minor refactoring
2024-12-17 11:40:38 +00:00
raja-grewal
ca3a73ac13
Typo
2024-12-17 11:37:10 +00:00
Aaron Rainbolt
4c3ca68453
Disable unnecessary sudoers exceptions
2024-12-16 02:56:52 -05:00
Patrick Schleizer
9d06341c91
Merge pull request #285 from Kicksecure/permission-hardener-mount
...
Permission Hardener: treat mount same as umount
2024-12-14 15:18:56 -05:00
raja-grewal
c116796854
arp_ignore
: Add reference to 2024-12-10 Mullvad VPN audit details
2024-12-12 06:36:47 +00:00
Patrick Schleizer
a9dd592a8b
bumped changelog version
2024-12-10 19:19:10 +00:00
Patrick Schleizer
58722324ec
Merge remote-tracking branch 'ArrayBolt3/arraybolt3/no-recovery-mode'
2024-12-10 14:18:50 -05:00
Patrick Schleizer
518224b8cf
bumped changelog version
2024-12-10 19:17:10 +00:00
Aaron Rainbolt
439fa7f3be
Harden/disable recovery mode options
2024-12-08 03:42:54 -06:00
Patrick Schleizer
7902311c57
do not create /etc/sysctl.d/30-lkrg-virtualbox.conf if LKRG is not installed
2024-12-07 04:54:47 -05:00
Patrick Schleizer
1ce37d42cd
.
2024-12-07 04:50:40 -05:00
Patrick Schleizer
5b88e92e5c
permission hardner: treat mount
the same way we treat umount
...
Thanks to @the-moog for the bug report!
fixes https://github.com/Kicksecure/security-misc/issues/284
2024-12-06 09:48:58 -05:00
Patrick Schleizer
93b51819d4
permission hardener mount chmod change from 745
to 755
...
https://github.com/Kicksecure/security-misc/issues/284
2024-12-06 09:47:08 -05:00
Aaron Rainbolt
1708a03e1e
Enable umask hardening
2024-11-28 15:39:59 -06:00
Patrick Schleizer
59299a6639
bumped changelog version
2024-11-25 21:07:42 +00:00
Patrick Schleizer
98d7c245ee
"|| exit 1" no longer required thanks to errexit
2024-11-25 15:57:30 -05:00
Patrick Schleizer
f9b5d7d3f4
use strict shell options
2024-11-25 15:48:01 -05:00
Patrick Schleizer
d32cb8c95b
use TMP, sponge, refactoring
2024-11-25 15:44:00 -05:00
Patrick Schleizer
62a551cfe3
Merge remote-tracking branch 'ArrayBolt3/arraybolt3/sudoers'
2024-11-25 15:38:01 -05:00
Aaron Rainbolt
d7475e252a
Make apt-get-update able to be terminated securely
2024-11-21 20:03:42 -06:00
Patrick Schleizer
af43472d0c
bumped changelog version
2024-11-14 22:24:50 +00:00
Patrick Schleizer
c7e9460b2a
output
2024-11-14 16:31:12 -05:00
Patrick Schleizer
31804e30ec
bumped changelog version
2024-11-14 20:46:26 +00:00
Patrick Schleizer
ef95b3f9a5
Revert "fix panic-on-oops.service
"
...
This reverts commit 862d23cb10
.
2024-11-14 14:41:14 -05:00
raja-grewal
412b371e85
Merge branch 'Kicksecure:master' into arp
2024-11-13 16:47:57 +11:00
raja-grewal
141b84c40d
Provide option to deny sending and receiving shared media redirects
2024-11-13 05:42:56 +00:00
raja-grewal
18aec201bf
Provide option to harden response to ARP requests
2024-11-13 05:41:25 +00:00
raja-grewal
a25d4f8df8
Provide option to enable ARP filtering
2024-11-13 05:40:21 +00:00
raja-grewal
c2aae73ce1
Add reference and move text
2024-11-13 05:38:03 +00:00
Patrick Schleizer
57e1edde23
bumped changelog version
2024-11-12 09:11:57 +00:00
Patrick Schleizer
7987a3914d
deleted no longer used and out-commented /etc/sudoers.d/xfce-security-misc
leftover
2024-11-12 02:29:42 -05:00
Patrick Schleizer
8c2e8e6979
deleted no longer used and out-commented etc/sudoers.d/pkexec-security-misc
leftover
2024-11-12 01:41:12 -05:00
Patrick Schleizer
65fc0419a8
bumped changelog version
2024-11-11 11:07:57 +00:00
Patrick Schleizer
50161f5d79
moved /etc/dkms/framework.conf.d/30_security-misc.conf (renamed) to usability-misc
2024-11-11 05:48:11 -05:00
Patrick Schleizer
7c06e22c7d
deleted /usr/bin/pkexec.security-misc
...
This was not used anymore for anything. In the past, we used to `config-package-dev` `replace` `/usr/bin/pkexec` with `/usr/bin/pkexec.security-misc` for the purpose of:
> 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
This was a worthwhile effort, interesting approach but ultimately a dead-end.
2024-11-11 05:43:25 -05:00
Patrick Schleizer
ef05b1a160
disable legacy matroxfb_base framebuffer driver
...
fix typo matroxfb_bases -> matroxfb_base
Thanks to @ArrayBolt3 for the bug report!
2024-11-11 05:40:41 -05:00
Patrick Schleizer
862d23cb10
fix panic-on-oops.service
...
remove `After=multi-user.target` because already using `WantedBy=multi-user.target`
Thanks to @ArrayBolt3 for the bug report!
2024-11-11 05:36:41 -05:00
Patrick Schleizer
29ae5f5980
fix optional opt-in harden-module-loading.service
...
by making `/usr/libexec/security-misc/disable-kernel-module-loading` executable
Thanks to @ArrayBolt3 for the bug report!
2024-11-11 05:28:31 -05:00
Patrick Schleizer
4c649577f0
bumped changelog version
2024-11-10 11:52:42 +00:00
Patrick Schleizer
29b1f1ec5f
Merge remote-tracking branch 'github-kicksecure/master'
2024-11-10 06:32:30 -05:00
Patrick Schleizer
5bd0a277bf
fix permission-hardener issue "Removing capabilities failed. File: '/bin/ping'"
...
no longer user end-of-options marker (`--`) for `setcap`
since setcap does not support it
Fixes https://github.com/QubesOS/qubes-issues/issues/9569
https://forums.whonix.org/t/permission-hardener-error/20719
2024-11-10 06:29:17 -05:00
Patrick Schleizer
238f32e81d
Merge pull request #280 from raja-grewal/ssbd
...
Enable `ssbd=force-on`
2024-11-08 07:39:40 -05:00
raja-grewal
8107782fa5
Enable ssbd=force-on
2024-11-08 15:36:04 +11:00
raja-grewal
a1d1f97955
Provide option to drop gratuitous ARP packets
2024-11-08 03:58:23 +00:00
Patrick Schleizer
3af2684134
bumped changelog version
2024-10-30 09:43:05 +00:00
Patrick Schleizer
71c58442ca
minor
2024-10-28 05:10:19 -04:00
Patrick Schleizer
cfe19e31d8
shell options
2024-10-28 05:09:53 -04:00
Patrick Schleizer
0d50615658
local
2024-10-28 05:07:00 -04:00
Patrick Schleizer
ef0eb5f7a0
refactoring
2024-10-28 05:06:26 -04:00
Patrick Schleizer
fdd1f4b7f8
refactoring
2024-10-28 05:06:05 -04:00
Patrick Schleizer
d00235897d
hide-hardware-info: also parse /usr/local/etc/hide-hardware-info.d/*.conf
2024-10-28 05:03:59 -04:00
Patrick Schleizer
6c2e808b9f
refactoring
2024-10-28 05:03:20 -04:00
Patrick Schleizer
b44e507900
bumped changelog version
2024-10-23 09:56:05 +00:00
Patrick Schleizer
566cda5e4b
output
2024-10-21 05:47:38 -04:00
Patrick Schleizer
5991a23049
comment
2024-10-21 05:47:25 -04:00
Patrick Schleizer
fd34baff8f
Merge remote-tracking branch 'ArrayBolt3/master'
2024-10-21 05:43:53 -04:00
Aaron Rainbolt
690e8dd826
Avoid faillock lock/tally reset on reboot or timeout
2024-10-19 23:52:51 -05:00
Patrick Schleizer
b6433309fd
use end-of-options
2024-10-18 12:45:02 -04:00
Patrick Schleizer
0cfcdf4f89
bumped changelog version
2024-10-16 10:57:20 +00:00
Patrick Schleizer
0adb9b7c06
Merge remote-tracking branch 'github-kicksecure/master'
2024-10-16 06:31:09 -04:00
Patrick Schleizer
e50ad807c0
Merge pull request #276 from raja-grewal/KSPP_header
...
Clarify KSPP compliance header
2024-10-16 06:29:25 -04:00
raja-grewal
eb72163d57
README.md: Make line lengths consistent
2024-10-14 03:01:15 +00:00
raja-grewal
a9f238fe04
README.md: Split optional setting to new line
2024-10-14 02:57:31 +00:00
raja-grewal
09fe46adc9
Clarify KSPP compliance header for the undocumented case
2024-10-14 02:54:30 +00:00
Patrick Schleizer
263335f74e
bumped changelog version
2024-10-08 11:24:56 +00:00
Patrick Schleizer
9169611645
Merge remote-tracking branch 'github-kicksecure/master'
2024-10-08 05:54:50 -04:00
Patrick Schleizer
8227a3dde2
Merge pull request #273 from raja-grewal/text_2
...
Documentation update 2
2024-10-08 05:53:48 -04:00
raja-grewal
0c0774f6c0
Merge branch 'master' into text_2
2024-10-06 10:48:52 +00:00
raja-grewal
dc470cac1d
Remmove deprecated link
2024-10-06 10:46:05 +00:00
Patrick Schleizer
8a2d432ffe
bumped changelog version
2024-10-03 07:22:23 +00:00
Patrick Schleizer
0e3ffa3f11
no longer set kernel.unprivileged_userns_clone=0
...
because it breaks too much
fixes https://github.com/Kicksecure/security-misc/issues/274
2024-10-03 02:58:58 -04:00
Patrick Schleizer
f401d94d5e
expand documentation on kernel.unprivileged_userns_clone=0
sysctl
...
https://github.com/Kicksecure/security-misc/issues/274
2024-10-03 02:44:06 -04:00
raja-grewal
ac1378743c
Consistent formatting
2024-09-30 16:56:18 +10:00
raja-grewal
eae38e72f3
README.md: Show the current max_map_count
2024-09-26 13:10:36 +00:00
raja-grewal
f3b50a23c9
Add reference on unprivileged_userns_restriction
2024-09-26 13:10:01 +00:00
raja-grewal
39d063d494
Add KSPP=no definition
2024-09-26 13:09:21 +00:00
Patrick Schleizer
5572eb897a
bumped changelog version
2024-09-25 01:03:42 +00:00
Patrick Schleizer
e04f9cd4c1
Merge remote-tracking branch 'github-kicksecure/master'
2024-09-24 20:16:06 -04:00
Patrick Schleizer
65aa910503
Merge pull request #272 from raja-grewal/text
...
Documentation update
2024-09-24 20:15:03 -04:00
raja-grewal
870ff88605
Comment on Flatpak requiring unprivileged user namespaces
2024-09-25 10:01:45 +10:00
raja-grewal
769767a96a
Update mmap ASLR docs
2024-09-25 09:54:49 +10:00
Patrick Schleizer
18d426f521
bumped changelog version
2024-09-14 02:56:09 +00:00
Patrick Schleizer
3280dbd5d5
Fix VirtualBox audio device ICH AC97.
...
no longer `blacklist snd_intel8x0`
Breaks VirtualBox audio device ICH AC97, which is unfortunately still required by some users.
https://www.kicksecure.com/wiki/Dev/audio
Fixes https://github.com/Kicksecure/security-misc/issues/271
2024-09-13 22:52:47 -04:00
Patrick Schleizer
1bc694fa12
bumped changelog version
2024-09-08 17:41:30 +00:00
Patrick Schleizer
01908d505a
readme
2024-09-05 07:00:11 -04:00
Patrick Schleizer
e914028be7
add KSPP compliance status to readme based on comment by @raja-grewal
...
https://github.com/Kicksecure/security-misc/issues/256#issuecomment-2330376651
2024-09-05 06:03:05 -04:00
Patrick Schleizer
40fb14c654
bumped changelog version
2024-09-04 14:13:15 +00:00
Patrick Schleizer
5a255d4831
Merge remote-tracking branch 'github-kicksecure/master'
2024-09-04 10:12:34 -04:00
Patrick Schleizer
563a898013
Merge pull request #265 from raja-grewal/mmap_min_addr
...
Set `sysctl vm.mmap_min_addr=65536`
2024-09-04 10:11:48 -04:00
Patrick Schleizer
d618f9f35b
Merge remote-tracking branch 'github-kicksecure/master'
2024-09-04 10:07:50 -04:00
Patrick Schleizer
175945ec9a
Merge pull request #268 from raja-grewal/panic_on_warn
...
Enable `panic_on_warn=1`
2024-09-04 10:05:47 -04:00
Patrick Schleizer
b0a8544182
Merge pull request #270 from raja-grewal/typo
...
Small typo
2024-09-04 10:04:45 -04:00
raja-grewal
7393ba1591
Typo
2024-09-04 23:23:24 +10:00
Patrick Schleizer
59374ce902
bumped changelog version
2024-08-29 09:49:51 +00:00
Patrick Schleizer
7e2838ec07
Merge remote-tracking branch 'github-kicksecure/master'
2024-08-29 05:06:07 -04:00
Patrick Schleizer
0762794ff6
Merge pull request #269 from raja-grewal/tidy
...
Minor correction
2024-08-29 04:46:26 -04:00
Raja Grewal
6294729c8e
Follow-up on f70fe308a9
2024-08-29 15:34:24 +10:00
Raja Grewal
3101035a3f
Enable panic_on_warn=1
2024-08-29 01:57:32 +10:00
Patrick Schleizer
9c918eb431
bumped changelog version
2024-08-28 11:01:37 +00:00
Patrick Schleizer
f70fe308a9
no longer set sysctl fs.binfmt_misc.status=0
/
...
no longer disallow registering interpreters for miscellaneous binary formats
causing file/folder permissions issue `d????????? ? ? ? ? ? .`
Firefox no longer starting (probably not not a Firefox issue)
https://github.com/Kicksecure/security-misc/issues/267
2024-08-28 06:49:50 -04:00
Patrick Schleizer
463aa58f28
Merge remote-tracking branch 'github-kicksecure/master'
2024-08-28 06:42:49 -04:00
Patrick Schleizer
328840c933
Merge pull request #264 from raja-grewal/kspp_compliance
...
Add KSPP compliance notices to corresponding parameters and `sysctls`
2024-08-28 06:38:57 -04:00
Raja Grewal
9e91c98cc9
Add details on BPF hardening and split the sysctl
s
2024-08-26 12:40:04 +10:00
Raja Grewal
2c356e8b0e
Add KSPP notice definitions
2024-08-26 11:34:12 +10:00
Raja Grewal
2841d789be
README: Update
2024-08-26 11:21:26 +10:00
Raja Grewal
ac6602ac35
Add detail on disabling user namespaces breaking UPower
2024-08-26 11:19:20 +10:00
raja-grewal
9dbd200be4
Merge branch 'Kicksecure:master' into kspp_compliance
2024-08-26 11:08:21 +10:00
Patrick Schleizer
cf824ddb24
bumped changelog version
2024-08-25 15:34:55 +00:00
Patrick Schleizer
500568e322
Merge remote-tracking branch 'github-kicksecure/master'
2024-08-25 11:01:58 -04:00
Patrick Schleizer
73900b59db
Merge pull request #263 from raja-grewal/max_user_namespaces
...
Provide option to disable user namespaces
2024-08-25 11:00:51 -04:00
Patrick Schleizer
43d13b70f1
Merge remote-tracking branch 'raja/syntax'
2024-08-25 10:55:52 -04:00
Patrick Schleizer
835376418d
Merge remote-tracking branch 'raja/mod'
2024-08-25 10:48:25 -04:00
Patrick Schleizer
ae85fd5b4c
bumped changelog version
2024-08-25 14:33:40 +00:00
Raja Grewal
433b15f985
README.md: Organise sysctl
s
2024-08-25 09:56:53 -04:00
Raja Grewal
af87a84b4f
README.md: Organise kernel boot parameters
2024-08-25 09:56:24 -04:00
Raja Grewal
32de5e7c49
Add details on oopses and warnings
2024-08-25 12:57:22 +10:00
Raja Grewal
e4909b5e28
Add details on kernel panics
2024-08-25 12:47:04 +10:00
Raja Grewal
342caf82b2
README.md: Organise kernel boot parameters
2024-08-21 12:52:48 +10:00
Raja Grewal
b87a18d405
README.md: Organise sysctl
s
2024-08-21 12:51:51 +10:00
Raja Grewal
18ed77ecc9
Refactor modprobe.d to minimise potential future merge conflicts
2024-08-21 12:50:14 +10:00
Raja Grewal
56b28e3826
Typo
2024-08-19 11:50:08 +10:00
Raja Grewal
e61027a40e
Set sysctl vm.mmap_min_addr=65536
2024-08-19 11:32:20 +10:00
Raja Grewal
94dab1b7c5
Partial compliance with the KSPP on kernel panics
2024-08-19 10:53:05 +10:00
Raja Grewal
683110e7f0
Correction
2024-08-19 01:34:14 +10:00
Raja Grewal
1f51d4eeb2
Add details on user namespaces
2024-08-18 13:53:11 +10:00
Raja Grewal
248e094b8e
Include KSPP compliance notices
2024-08-17 01:06:21 +10:00
Raja Grewal
759aee8150
Provide option to disable user namespaces
2024-08-16 22:54:57 +10:00
Raja Grewal
fae586c3c5
Patch bug in existing rp_filter
sysctl
2024-08-16 19:23:48 +10:00
Patrick Schleizer
e962153f84
bumped changelog version
2024-08-16 08:38:12 +00:00
Patrick Schleizer
40b12f5a2a
Merge remote-tracking branch 'github-kicksecure/master'
2024-08-16 04:30:29 -04:00
Patrick Schleizer
305467c652
Merge pull request #245 from raja-grewal/blacklist_to_disable
...
Update `/etc/modprobe.d/*`
2024-08-16 04:25:43 -04:00
Patrick Schleizer
12296c68dc
Merge remote-tracking branch 'github-kicksecure/master'
2024-08-16 04:22:43 -04:00
Patrick Schleizer
036bcea4e6
Merge pull request #262 from raja-grewal/docs
...
Miscellaneous updates to presentation
2024-08-16 04:20:32 -04:00
raja-grewal
81bf7a8f90
Merge branch 'Kicksecure:master' into docs
2024-08-16 16:57:01 +10:00
Patrick Schleizer
ef60c5b153
Merge pull request #249 from raja-grewal/binfmt_misc
...
Disallow registering interpreters for miscellaneous binary formats
2024-08-16 02:43:57 -04:00
Raja Grewal
cea8e75378
Consistent formating
2024-08-16 14:55:22 +10:00
Raja Grewal
84376d23fc
Add details on ASLR and move to user space section
2024-08-16 13:39:11 +10:00
Raja Grewal
a132980023
Update README.md
2024-08-16 13:24:25 +10:00
Raja Grewal
9212a4e937
Typos
2024-08-16 13:12:07 +10:00
Raja Grewal
23a77d4973
Simplify syntax of some network-related sysctl
's
2024-08-16 12:46:51 +10:00
Raja Grewal
e3a3207a44
Clarify DMA hardening
2024-08-16 12:41:36 +10:00
raja-grewal
be9308e490
Merge branch 'Kicksecure:master' into docs
2024-08-16 11:45:43 +10:00
Patrick Schleizer
4bc12b07b4
bumped changelog version
2024-08-15 17:51:18 +00:00
Patrick Schleizer
9e61e37c17
Merge remote-tracking branch 'github-kicksecure/master'
2024-08-15 13:47:33 -04:00
Patrick Schleizer
dfd1c97168
Merge pull request #248 from raja-grewal/secure_redirects
...
Re-enable (default) `secure_redirects` for ICMP redirect messages
2024-08-15 13:46:30 -04:00
Raja Grewal
b552b92401
Add references on fs.binfmt_misc.status
2024-08-15 11:54:21 +10:00
Raja Grewal
326d82a9be
Revert "Provide optional sysctl fs.binfmt_misc.status=0
"
...
This reverts commit debd7a7b7a
.
2024-08-15 11:46:56 +10:00
Raja Grewal
73db68dbf9
Add details on KFENCE
2024-08-09 14:27:30 +10:00
Raja Grewal
f8fa89b245
Add details on tcp_timestamps
2024-08-09 14:21:59 +10:00
Raja Grewal
3456f1c1d7
Minor consistency update in README.md
2024-08-09 13:39:25 +10:00
Raja Grewal
15c638acad
Add reference on RDRAND
2024-08-09 13:36:47 +10:00
Raja Grewal
077bc48a26
Add reference on rp_filter
2024-08-09 13:35:33 +10:00
Raja Grewal
d8bcec881f
Add some notices for future Debian 13 rebase
2024-08-09 13:33:32 +10:00
Raja Grewal
0b0683499a
Consistent line length formatting
2024-08-09 13:30:39 +10:00
Raja Grewal
e5a38fc856
Typo
2024-08-09 13:30:15 +10:00
Raja Grewal
a5373afc55
Details on disabled fbdev
kernel modules
2024-08-07 14:44:14 +10:00
Raja Grewal
e98dc8c4f8
Update notifications for disabled kernel modules
2024-08-07 14:14:47 +10:00
Raja Grewal
50fa721fd5
Update docs regarding Intel module disabling
2024-08-07 14:01:49 +10:00
Raja Grewal
ec3038c7bc
Clarify secure_redirects
2024-08-07 13:48:53 +10:00
Raja Grewal
debd7a7b7a
Provide optional sysctl fs.binfmt_misc.status=0
2024-08-07 13:33:44 +10:00
Patrick Schleizer
89e816dda6
bumped changelog version
2024-08-06 14:01:39 +00:00
Patrick Schleizer
967f9e257b
Merge remote-tracking branch 'github-kicksecure/master'
2024-08-06 09:57:56 -04:00
Patrick Schleizer
a25aaf900a
Merge pull request #260 from raja-grewal/vdso32
...
Enable `vdso32=0`
2024-08-06 09:55:20 -04:00
Patrick Schleizer
6bc039a430
Merge pull request #259 from raja-grewal/kfence
...
Enable `kfence.sample_interval=100`
2024-08-06 09:52:56 -04:00
Patrick Schleizer
ce60d5615f
Merge pull request #258 from raja-grewal/legacy_tiocsti
...
Enable `dev.tty.legacy_tiocsti=0`
2024-08-06 09:48:08 -04:00
Patrick Schleizer
b0278428a7
Merge pull request #257 from raja-grewal/slab_debug
...
Enable `slab_debug=FZ`
2024-08-06 09:39:04 -04:00
Raja Grewal
8559079312
Enable vdso32=0
2024-08-05 15:10:02 +10:00
Raja Grewal
d102ec1997
Enable kfence.sample_interval=100
2024-08-05 15:07:56 +10:00
Raja Grewal
c0d140f221
Enable dev.tty.legacy_tiocsti=0
2024-08-05 15:06:34 +10:00
Raja Grewal
aa34d86598
Enable slab_debug=FZ
2024-08-05 14:27:17 +10:00
Raja Grewal
4f7f820160
Add reference
2024-08-05 14:16:33 +10:00
Patrick Schleizer
fa9091869d
Merge remote-tracking branch 'github-kicksecure/master'
2024-08-04 16:20:36 -04:00
Patrick Schleizer
725118c575
Merge pull request #243 from raja-grewal/namespaces
...
Restrict unprivileged user namespaces
2024-08-04 16:19:52 -04:00
Patrick Schleizer
06f0c27128
Merge remote-tracking branch 'github-kicksecure/master'
2024-08-04 16:15:01 -04:00
Patrick Schleizer
6d97408a6d
Merge pull request #255 from raja-grewal/SLUB
...
Restore option to enable `slub_debug=FZ`
2024-08-04 16:11:46 -04:00
Patrick Schleizer
8abc5ae8f0
Merge remote-tracking branch 'github-kicksecure/master'
2024-08-04 16:09:52 -04:00
Patrick Schleizer
eab66dad09
Merge pull request #254 from raja-grewal/patch
...
Updates to kernel and `sysctl` hardening
2024-08-04 16:08:32 -04:00
Raja Grewal
6f14d68cdc
Update legacy name slub_debug
-> slab_debug
2024-08-03 15:12:15 +10:00
Raja Grewal
22b6cee80c
Add details about slub_debug
2024-08-03 15:11:14 +10:00
Raja Grewal
b77d1a2b98
Revert "Remove the optional slub_debug
parameter since it is no longer recommended"
...
This reverts commit 48e1ac4163
.
2024-08-03 14:49:48 +10:00
Raja Grewal
ca2179bb6a
Provide the option to disable legacy TIOCSTI operation
2024-08-03 00:25:49 +10:00
Raja Grewal
52aeacb4da
Provide option to disable 32 bit vDSO mappings
2024-08-03 00:13:38 +10:00
Raja Grewal
9099ecce8a
Provide option to enable the kernel Electric-Fence
2024-08-03 00:12:50 +10:00
Raja Grewal
f6a16258a1
Add references to KSPP
2024-08-03 00:11:06 +10:00
Raja Grewal
e53d24fc48
Add missing GRUB command lines for disabled boot parameters
2024-08-03 00:09:42 +10:00
Patrick Schleizer
de6f3ea74a
bumped changelog version
2024-07-28 20:50:22 +00:00
Patrick Schleizer
d036094089
Merge remote-tracking branch 'github-kicksecure/master'
2024-07-28 15:44:40 -04:00
Patrick Schleizer
0f86fbd8ce
Merge pull request #242 from raja-grewal/ptrace
...
Disable the usage of `ptrace()` by all processes
2024-07-28 15:43:54 -04:00
Raja Grewal
9cabaa1bd1
Typo
2024-07-28 22:04:30 +10:00
Raja Grewal
d2d024ebe9
Typo
2024-07-28 22:03:33 +10:00
Raja Grewal
9fbee9fc82
Clarify
2024-07-28 21:57:25 +10:00
Patrick Schleizer
e60ce50d30
bumped changelog version
2024-07-27 16:13:35 +00:00
Patrick Schleizer
e86b2e7f8f
output
2024-07-27 12:13:18 -04:00
Raja Grewal
1445457626
Show details regarding secure_redirects
(again)
2024-07-27 14:00:30 +10:00
Raja Grewal
73979d4342
Link to ptrace()
discussion
2024-07-27 13:28:59 +10:00
Raja Grewal
1c9f33f906
Revert "Disable the usage of ptrace()
by all processes"
...
This reverts commit b04828f858
.
2024-07-27 13:24:08 +10:00
Patrick Schleizer
330cf14eab
bumped changelog version
2024-07-26 15:40:24 +00:00
Patrick Schleizer
62bb4bc626
Merge remote-tracking branch 'github-kicksecure/master'
2024-07-26 11:10:25 -04:00
Patrick Schleizer
886f6095db
Merge pull request #250 from raja-grewal/Panik-Kalm
...
Add details on "oopes" and kernel panics
2024-07-26 11:08:30 -04:00
Patrick Schleizer
7969e86071
Merge remote-tracking branch 'github-kicksecure/master'
2024-07-26 11:06:13 -04:00
Patrick Schleizer
0318f577ab
Merge pull request #246 from raja-grewal/cfi
...
Provide the option to change the default CFI implementation in the future
2024-07-26 11:04:29 -04:00
Patrick Schleizer
e2ae93a957
port to safe_echo
2024-07-26 10:30:45 -04:00
Patrick Schleizer
8ec23ed712
echo does not support end-of-options
2024-07-26 10:28:57 -04:00
Patrick Schleizer
6096ed1109
comment
2024-07-26 10:26:43 -04:00
Patrick Schleizer
ac41d1cfff
comment
2024-07-26 10:25:59 -04:00
Patrick Schleizer
3b033ceba2
shellcheck
2024-07-26 10:17:24 -04:00
Patrick Schleizer
04d9ca1ebe
use find
with safe_echo_nonewline
2024-07-26 10:16:20 -04:00
raja-grewal
20454fb811
Merge branch 'Kicksecure:master' into blacklist_to_disable
2024-07-27 00:09:30 +10:00
Patrick Schleizer
6bbf176e3b
consider end-of-options for find
2024-07-26 09:33:45 -04:00
Patrick Schleizer
794f6a25fa
comment
2024-07-26 09:08:29 -04:00
Patrick Schleizer
7e0f1a8701
dpkg-statoverride can actually handle '--file-name'.
2024-07-26 09:08:04 -04:00
Patrick Schleizer
ee037c01a1
Skip file names starting with '--',
...
because this would be interpreted by dpkg-statoverride as an option.
2024-07-26 08:58:44 -04:00
Patrick Schleizer
82d401a7de
sanity test
2024-07-26 08:52:42 -04:00
Patrick Schleizer
0e661bc688
output
2024-07-26 08:49:14 -04:00
Patrick Schleizer
d144f68d1a
output
2024-07-26 08:46:08 -04:00
Patrick Schleizer
05504b9ab2
minor
2024-07-26 08:40:10 -04:00
Patrick Schleizer
d96c0633d4
more use of end of options
2024-07-26 08:39:11 -04:00
Patrick Schleizer
8e40c10c31
comment
2024-07-26 08:31:17 -04:00
Patrick Schleizer
f2c9c2f5d1
output
2024-07-26 08:26:16 -04:00
Patrick Schleizer
2b40ea75e9
cleanup
2024-07-26 08:24:23 -04:00
Patrick Schleizer
6f0551b944
refactoring
2024-07-26 08:23:54 -04:00
Patrick Schleizer
aac450f808
refactoring
2024-07-26 08:22:04 -04:00
Patrick Schleizer
30f46790a4
use end of options whenever possible
2024-07-26 08:21:21 -04:00
Patrick Schleizer
95722d6d79
use long option name
2024-07-26 08:13:33 -04:00
Patrick Schleizer
19f131c742
code simplification
...
https://github.com/Kicksecure/security-misc/pull/251
2024-07-26 08:07:08 -04:00
Patrick Schleizer
9694cf0cd1
output
2024-07-26 07:43:59 -04:00
Patrick Schleizer
bdfe764f9d
Merge remote-tracking branch 'ben-grande/stat-dedup'
2024-07-26 07:19:05 -04:00
Patrick Schleizer
9f135231cc
no longer disable Intel ME related kernel modules
...
because that might break firmware updates
This reverts commit 64f8b2eb58
.
https://github.com/Kicksecure/security-misc/issues/239
2024-07-26 06:43:14 -04:00
Patrick Schleizer
f616da7c06
bumped changelog version
2024-07-26 09:40:59 +00:00
Raja Grewal
4397de0138
Update description of cfi=kcfi
kerenel parameter
2024-07-26 11:30:46 +10:00
Ben Grande
652a06c8e9
Only print SUID or SGID values when set
2024-07-25 12:37:21 +02:00
Ben Grande
3b8a3f9b83
Unduplicate stat call
2024-07-25 12:20:16 +02:00
Raja Grewal
28b25bda3f
Partial inclusion of GrapheneOS infrastructure blacklist
2024-07-25 15:51:32 +10:00
Raja Grewal
ed3336694c
Provide the option to immediately reboot on a kernel panics
2024-07-25 10:28:27 +10:00
Raja Grewal
3926b91dcf
Add documentation on sysctl kernel.panic_on_oops=1
2024-07-25 10:26:23 +10:00
Raja Grewal
f699eb02a2
Set sysctl fs.binfmt_misc.status=0
2024-07-25 10:11:33 +10:00
Patrick Schleizer
9231f05891
todo
2024-07-24 13:31:49 -04:00
Patrick Schleizer
4cc1289e89
output
2024-07-24 13:30:30 -04:00
Patrick Schleizer
10c73b326f
fix delimiter parsing
2024-07-24 12:07:26 -04:00
Patrick Schleizer
a16dd8474b
sanity test
2024-07-24 11:50:30 -04:00
Patrick Schleizer
cc2b335ee6
cleanup
2024-07-24 11:48:32 -04:00
Patrick Schleizer
6cadc70a96
output
2024-07-24 11:47:52 -04:00
Patrick Schleizer
cda0d26af7
cannot use NULL inside a bash variable
...
use custom delimiter instead
2024-07-24 11:45:13 -04:00
Patrick Schleizer
4a5312b3a9
output
2024-07-24 11:27:51 -04:00
Patrick Schleizer
3bf1f26c0b
downgrade warning of non-existing folders to info
...
to avoid all users by default getting a warning for expected non-existing folders
2024-07-24 11:20:26 -04:00
Patrick Schleizer
151ca659a9
output
2024-07-24 11:19:15 -04:00
Patrick Schleizer
c9fd2ceb61
downgrade warning of non-existing files to info
...
to avoid all users by default getting a warning for expected non-existing files
2024-07-24 11:13:35 -04:00
Patrick Schleizer
721392901b
remove duplicate test
2024-07-24 11:12:39 -04:00
Patrick Schleizer
9712b5b4e3
output
2024-07-24 11:12:18 -04:00
Patrick Schleizer
00911df5c1
modify call of stat to use NUL delimiter
...
for more robust string parsing
2024-07-24 11:10:56 -04:00
Patrick Schleizer
d536683511
local clean_output_prefix clean_output
2024-07-24 11:03:28 -04:00
Patrick Schleizer
a6e517736b
local stat_output
2024-07-24 11:02:25 -04:00
Patrick Schleizer
ced02fb9e0
add sanity test for file_name output from stat
2024-07-24 11:01:24 -04:00
Patrick Schleizer
b9dfe70a01
check first if file_name is empty
2024-07-24 10:58:05 -04:00
Patrick Schleizer
1cbda79981
check first if array is empty before parsing further
2024-07-24 10:57:13 -04:00
Patrick Schleizer
a077ae54ea
modify call of stat to use NUL delimiter
...
for more robust string parsing
2024-07-24 10:56:08 -04:00
Raja Grewal
1135d34ab3
Reword description of cfi=kcfi
kerenel parameter
2024-07-24 23:33:36 +10:00
Patrick Schleizer
7200e9bd8c
output
2024-07-24 09:15:02 -04:00
Patrick Schleizer
1b6161c2dc
Merge remote-tracking branch 'ben-grande/fuzz'
2024-07-24 09:13:48 -04:00
Raja Grewal
88c88187f2
Re-enable (default) secure_redirects
for ICMP redirect messages
2024-07-24 17:26:50 +10:00
Ben Grande
8be21b6eff
Handle newlines in file names
2024-07-23 19:36:12 +02:00
Ben Grande
aa99de68d3
Log output with defined levels
2024-07-23 18:50:16 +02:00
Ben Grande
06fbcdac1d
Prettify log messages
2024-07-23 09:55:02 +02:00
Raja Grewal
fb494c2ba5
Update docs relating to the cfi=kcfi
kernel parameter
2024-07-23 13:12:13 +10:00
Ben Grande
7ee1ea2cc7
Unify functions that evaluate commands
2024-07-22 17:06:07 +02:00
Ben Grande
9c3566f524
Delimit file names with null terminator
2024-07-22 16:56:42 +02:00
Raja Grewal
d6fc71dba7
Add option to switch (back) to using kCFI in the future
2024-07-22 17:26:00 +10:00
raja-grewal
f582e54343
Merge branch 'Kicksecure:master' into blacklist_to_disable
2024-07-22 15:12:00 +10:00
Patrick Schleizer
d2563ed923
bumped changelog version
2024-07-21 10:40:14 +00:00
Patrick Schleizer
64f8b2eb58
Revert "no longer disable Intel ME related kernel modules"
...
This reverts commit 6157e328f4
.
https://www.kicksecure.com/wiki/Out-of-band_Management_Technology#Intel_ME_Kernel_Modules
https://github.com/Kicksecure/security-misc/issues/239
2024-07-21 06:36:22 -04:00
Patrick Schleizer
04fb00572f
bumped changelog version
2024-07-20 17:02:05 +00:00
Patrick Schleizer
f0a478c7c9
permission hardener: allow postfix
...
postqueue matchwhitelist
postdrop matchwhitelist
2024-07-20 12:57:56 -04:00
Raja Grewal
a189956adc
Typo
2024-07-20 20:11:09 +10:00
Raja Grewal
3c720a0715
Disable some legacy drivers
...
These were all previously blacklisted for over 2 years.
2024-07-20 15:03:21 +10:00
Raja Grewal
c4965ed838
Disable legacy framebuffer drivers
...
These were all previously blacklisted for over 2 years.
2024-07-20 14:55:10 +10:00
Patrick Schleizer
9f53a0182b
undo io_uring related changes
...
as these should be done in a separate pull request (if apprpriate)
https://github.com/Kicksecure/security-misc/pull/244#issuecomment-2238889062
2024-07-19 07:20:59 -04:00
Patrick Schleizer
8791aecb38
Merge remote-tracking branch 'raja/fixes'
2024-07-19 07:19:09 -04:00
Raja Grewal
06894d1c98
Typo
2024-07-19 18:30:42 +10:00
Patrick Schleizer
2d11436432
bumped changelog version
2024-07-18 18:05:07 +00:00
Patrick Schleizer
cac5bbad99
comment
2024-07-18 14:04:00 -04:00
Patrick Schleizer
a5eed00eba
cleanup comments
2024-07-18 14:02:38 -04:00
Patrick Schleizer
21efacf1b1
cleanup duplicate comments which are already in /etc/dkms/framework.conf
2024-07-18 14:00:28 -04:00
Patrick Schleizer
61628c2baf
bumped changelog version
2024-07-18 14:11:35 +00:00
Patrick Schleizer
05cf438199
no comments / copyright allowed in .displace-extension
2024-07-18 10:11:03 -04:00
Patrick Schleizer
2ccc95f6d4
bumped changelog version
2024-07-18 14:05:23 +00:00
Raja Grewal
95286df502
Update README.md regarding secure ICMP redirects
2024-07-18 15:28:31 +10:00
Raja Grewal
13cc1f0986
Clarify (future) disabling of io_uring
2024-07-18 12:25:00 +10:00
Raja Grewal
9e6facda70
Update module disabling presentation
2024-07-18 12:21:37 +10:00
Raja Grewal
faa9181a6c
Typos
2024-07-18 12:19:27 +10:00
Raja Grewal
6d211faf59
Restrict unprivileged user namespaces
2024-07-18 11:04:54 +10:00
Raja Grewal
b04828f858
Disable the usage of ptrace()
by all processes
2024-07-18 11:01:41 +10:00
Patrick Schleizer
d454f36c63
spelling
2024-07-17 11:52:29 -04:00
Patrick Schleizer
f4da582aa3
spelling
2024-07-17 11:44:17 -04:00
Patrick Schleizer
9e976474d5
spelling
2024-07-17 11:40:51 -04:00
Patrick Schleizer
b569fc02a4
spelling
2024-07-17 11:38:53 -04:00
Patrick Schleizer
a2e26f441b
spelling
2024-07-17 11:04:03 -04:00
Patrick Schleizer
c8be4ac83c
comment
2024-07-17 10:56:14 -04:00
Patrick Schleizer
24cd70a014
spelling
2024-07-17 10:55:12 -04:00
Patrick Schleizer
5cec685cf9
spelling
2024-07-17 10:49:21 -04:00
Patrick Schleizer
821a416fe3
spelling
2024-07-17 10:43:16 -04:00
Patrick Schleizer
9a387f95e9
Merge remote-tracking branch 'raja/miscellaneous'
2024-07-17 10:32:26 -04:00
Patrick Schleizer
fd41acdc72
Merge remote-tracking branch 'raja/fack_off'
2024-07-17 10:27:31 -04:00
Raja Grewal
4afe257a42
minor
2024-07-18 00:14:13 +10:00
Raja Grewal
d0a59617f6
Add missing Copyright (C) statements
2024-07-18 00:13:30 +10:00
Raja Grewal
8f3896c3da
Upgrade hyperlinks to HTTPS
2024-07-17 23:44:37 +10:00
Raja Grewal
1087387b36
Remove obsolete #net.ipv4.tcp_fack=0
2024-07-17 23:35:25 +10:00
Patrick Schleizer
0da22c2031
minor
2024-07-17 09:07:31 -04:00
Patrick Schleizer
c336b266f6
Merge remote-tracking branch 'github-kicksecure/master'
2024-07-17 09:06:44 -04:00
Patrick Schleizer
df80385289
Merge pull request #237 from raja-grewal/intel_pmt
...
Disable some Intel PMT kernel modules
2024-07-17 09:04:18 -04:00
Patrick Schleizer
afe3c25a49
update readme
...
https://github.com/Kicksecure/security-misc/issues/239
2024-07-17 08:58:00 -04:00
Patrick Schleizer
f7772fb85a
minor
2024-07-17 08:57:35 -04:00
Patrick Schleizer
6157e328f4
no longer disable Intel ME related kernel modules
...
https://github.com/Kicksecure/security-misc/issues/239
2024-07-17 08:52:11 -04:00
Patrick Schleizer
daee8b900b
Merge remote-tracking branch 'github-kicksecure/master'
2024-07-17 08:47:55 -04:00
Patrick Schleizer
a4ba6e485d
Merge pull request #236 from raja-grewal/intel_me
...
Disable more Intel ME kernel modules
2024-07-17 08:46:27 -04:00
Patrick Schleizer
954ff1be41
Merge remote-tracking branch 'github-kicksecure/master'
2024-07-17 08:42:52 -04:00
Patrick Schleizer
9a75135633
Merge pull request #238 from raja-grewal/uvcvideo_2
...
Minor additions to `30_security-misc_disable.conf`
2024-07-17 08:41:43 -04:00
Patrick Schleizer
d29a616142
minor
2024-07-17 08:39:20 -04:00
Patrick Schleizer
a2802f352f
Merge remote-tracking branch 'raja/kargs'
2024-07-17 08:38:23 -04:00
Patrick Schleizer
0b873b765e
minor
2024-07-17 08:05:27 -04:00
Patrick Schleizer
070bb46a08
Merge remote-tracking branch 'raja/sysctl'
2024-07-17 08:02:45 -04:00
Patrick Schleizer
6d6e5473f2
minor
2024-07-17 08:00:24 -04:00
Patrick Schleizer
cf5f0edbb8
Merge remote-tracking branch 'raja/sysctl'
2024-07-17 07:59:35 -04:00
Raja Grewal
25fd532ce6
Update README.md relating to sysctl
's
2024-07-17 21:56:40 +10:00
Raja Grewal
39fd125eb0
Provide explanation on the disabling of IPv6 Privacy Extensions
2024-07-17 21:44:44 +10:00
Raja Grewal
a3408990ab
Uncomment disabling of already disabled ATM modules
2024-07-17 15:03:39 +10:00
Raja Grewal
693b47e623
Clarify ICMP redirect acceptance and sending
2024-07-17 14:58:30 +10:00
Raja Grewal
81a3715c7c
Add info regarding the downsides of disabling SMT
2024-07-17 13:32:08 +10:00
Raja Grewal
abafb1945c
Add Intel ME references
2024-07-17 13:26:03 +10:00
Raja Grewal
f317aaebab
Disable two network modules
...
These were previously blacklisted for two years in 61ef9bd59f
.
2024-07-17 01:09:02 +10:00
Raja Grewal
d69fe88091
Provide option to disable uvcvideo
driver
2024-07-17 01:08:01 +10:00
Raja Grewal
49594ccb22
Partially revert f4d652fa7b
2024-07-17 00:49:25 +10:00
Raja Grewal
824d9b82e5
Uncomment redundant disabling of TCP FACK`
2024-07-17 00:36:18 +10:00
Raja Grewal
d1119c38b6
Apply changes from code review
2024-07-17 00:31:23 +10:00
Patrick Schleizer
fe5c840b79
bumped changelog version
2024-07-15 21:18:55 +00:00
Patrick Schleizer
6e63fc8985
Merge remote-tracking branch 'ben-grande/fuzz'
2024-07-15 17:14:25 -04:00
Patrick Schleizer
fe0846c8c2
fix
...
https://github.com/Kicksecure/security-misc/pull/234#discussion_r1678065395
2024-07-15 12:30:38 -04:00
Patrick Schleizer
94df2e3d24
further discussion required
...
https://github.com/Kicksecure/security-misc/pull/234#issuecomment-2228909249
2024-07-15 12:29:52 -04:00
Patrick Schleizer
41f0b53dd6
Merge remote-tracking branch 'raja/kernel_modules'
2024-07-15 12:28:03 -04:00
Raja Grewal
73f6d4b26f
Fix transcription error
2024-07-16 01:03:41 +10:00
Raja Grewal
724435e56e
Disable some Intel Platform Monitoring Technology Telemetry (PMT) modules
2024-07-15 22:38:43 +10:00
Raja Grewal
61941da375
Create disabled-intelpmt-by-security-misc
2024-07-15 22:38:09 +10:00
Raja Grewal
22ba7a7c39
Disable more Intel Management Engine (ME) modules
2024-07-15 22:21:20 +10:00
Raja Grewal
9300c208e2
Fix script
2024-07-15 21:36:25 +10:00
Raja Grewal
f2db11269e
Fix script
2024-07-15 21:18:32 +10:00
Raja Grewal
382f1e9ec0
Fix error
2024-07-15 21:13:25 +10:00
Raja Grewal
a8bc1144c3
Updated wording of error files for disabled modules
2024-07-15 21:10:13 +10:00
Raja Grewal
fda3832eaf
Replace bash file presented for disabling of miscellaneous modules
2024-07-15 21:08:45 +10:00
Raja Grewal
8219a1e257
Update README.md relating to disabled miscellaneous modules
2024-07-15 21:02:10 +10:00
Raja Grewal
cb2fb95b81
Disable more miscellaneous drivers
2024-07-15 21:01:36 +10:00
Raja Grewal
c52b1a3fd2
Create disabled-miscellaneous-by-security-misc
2024-07-15 20:58:45 +10:00
Raja Grewal
96aa63267a
Disable more Thunderbolt modules
2024-07-15 20:57:14 +10:00
Raja Grewal
51f7776bc8
Disable more network protocols/drivers
2024-07-15 20:56:12 +10:00
Raja Grewal
9e40ff0551
Disable more network file systems
2024-07-15 20:54:18 +10:00
Raja Grewal
82c5a93f7c
Disable another GPS module
2024-07-15 20:53:07 +10:00
Raja Grewal
99b0ce7948
Disable more file systems
2024-07-15 20:47:56 +10:00
Raja Grewal
4476a477a7
Provide option to disable more Bluetooth modules
2024-07-15 20:47:07 +10:00
Raja Grewal
e0696d02a2
Update security-misc.maintscript
...
Due to previous splitting IN b02230a783
.
2024-07-15 20:46:04 +10:00
Raja Grewal
b2657bc61f
Improve docs
2024-07-15 15:05:00 +10:00
Raja Grewal
1c2afc1f25
Update presentation of the kernel.printk
sysctl
2024-07-15 15:01:48 +10:00
Raja Grewal
c8385d82fb
Clarify instructions for increasing log verbosity
2024-07-15 14:57:40 +10:00
Raja Grewal
d229e8b04d
Fix link
2024-07-15 14:50:29 +10:00
Raja Grewal
fbfdb0fa99
Update security-misc.maintscript
relating to grub
2024-07-15 14:40:03 +10:00
Raja Grewal
f4d652fa7b
Update presentation of quiet loglevel=0
2024-07-15 14:39:12 +10:00
Raja Grewal
69c8e84927
Fix typos
2024-07-15 14:38:21 +10:00
Raja Grewal
48e1ac4163
Remove the optional slub_debug
parameter since it is no longer recommended
2024-07-15 02:04:25 +10:00
Raja Grewal
99038c7a06
Add option to disable support for x86 processes and syscalls in the future
2024-07-15 02:02:01 +10:00
Raja Grewal
f550fbe07c
Add option to disable the entire IPv6 stack functionality
2024-07-15 01:59:04 +10:00
Raja Grewal
a33d4cd099
Refactor existing kernel parameters for clarity
2024-07-15 01:56:25 +10:00
Raja Grewal
acd60e45d8
Add comment about enabling core dump files
2024-07-14 20:07:31 +10:00
Raja Grewal
5cf9afc215
Include optional sysctl
's in README.md
2024-07-14 17:05:49 +10:00
Raja Grewal
2b9e174c9d
Remove empty lines
2024-07-14 16:22:52 +10:00
Raja Grewal
dd1741c4a1
Some documentation additions and fixes
2024-07-14 13:40:53 +10:00
Raja Grewal
565597c9a2
Minor documentation changes and fixes
2024-07-14 01:21:24 +10:00
Patrick Schleizer
5ba5a85ad0
bumped changelog version
2024-07-13 15:01:16 +00:00
Patrick Schleizer
ad860063ab
Merge remote-tracking branch 'raja/modprobe'
2024-07-13 10:55:45 -04:00
Raja Grewal
9f58266546
Move nf_conntrack_helper disabling into separate file
2024-07-13 23:32:01 +10:00
Raja Grewal
8f2ec75f81
Clarify README.mmd relating to module disabling
2024-07-13 23:30:55 +10:00
Raja Grewal
98580bb39a
Update modprobe presentation
2024-07-13 23:29:52 +10:00
Raja Grewal
2de3a79599
Refactor existing sysctl for clarity
2024-07-13 22:41:40 +10:00
Patrick Schleizer
f34b9d7c45
Merge remote-tracking branch 'raja/modules'
2024-07-13 06:14:43 -04:00
Raja Grewal
5f10cc8bcf
Update README.md relating to modprobe
2024-07-12 16:22:10 +10:00
Raja Grewal
41a3bf92fb
Sort 30_security-misc_disable.conf
2024-07-12 16:21:41 +10:00
Raja Grewal
f31dc8aebc
Fix error in error script
2024-07-12 16:21:03 +10:00
Raja Grewal
b02230a783
Split modprobe into blacklisted and disabled configurations
2024-07-12 02:42:37 +10:00
Raja Grewal
fc792ff232
Alphabetically sort existing modprobe
2024-07-12 02:29:36 +10:00
Raja Grewal
fe20f3240e
Refactor existing modprobe for clarity
2024-07-12 02:28:48 +10:00
Raja Grewal
275a4ffc11
Remove redundant disabled modules
2024-07-12 02:27:56 +10:00
Ben Grande
b7796a5334
Unify method to find SUID files
2024-07-11 11:04:22 +02:00
Patrick Schleizer
05c1711b16
bumped changelog version
2024-06-11 12:56:56 +00:00
Patrick Schleizer
e48115588c
Merge remote-tracking branch 'github-kicksecure/master'
2024-06-11 07:25:47 -04:00
Patrick Schleizer
cad8d85755
Merge pull request #227 from 3uryd1ce/fix-pam.d-path
...
fix(etc): delete typo in /etc/apparmor.d tunables
2024-06-11 07:25:07 -04:00
Ashlen
e198447866
fix(etc): delete typo in /etc/apparmor.d tunables
...
/etc/pam.d was present twice in a row ("/etc/pam.d//etc/pam.d") in this
file: /etc/apparmor.d/tunables/home.d/security-misc.
2024-06-08 22:17:05 -06:00
Patrick Schleizer
b316352ede
bumped changelog version
2024-06-01 18:13:08 +00:00
Patrick Schleizer
c815304026
readme
2024-06-01 14:12:57 -04:00
Patrick Schleizer
641e98e577
bumped changelog version
2024-06-01 17:35:04 +00:00
Patrick Schleizer
e0cd9579d6
remove duplicate fsckobjects = true
from /etc/gitconfig
2024-06-01 13:32:13 -04:00
Patrick Schleizer
bbe64a0b79
bumped changelog version
2024-05-28 12:04:53 +00:00
Patrick Schleizer
ae24a97d4d
Merge remote-tracking branch 'github-kicksecure/master'
2024-05-28 08:02:21 -04:00
Patrick Schleizer
a735857852
Merge pull request #226 from Kicksecure/gitconfig
...
add `/etc/gitconfig` by default for better `git` security
2024-05-28 07:55:31 -04:00
Patrick Schleizer
4efa293f3b
add /etc/gitconfig
by default for better git
security
...
```
[core]
symlinks = false
[transfer]
fsckobjects = true
fsckobjects = true
[fetch]
fsckobjects = true
fsckobjects = true
[receive]
fsckobjects = true
fsckobjects = true
```
+ additional suggestions as comments
fixes https://github.com/Kicksecure/security-misc/issues/225
2024-05-28 07:51:06 -04:00
Patrick Schleizer
bfca98ea89
bumped changelog version
2024-05-18 20:45:12 +00:00
Patrick Schleizer
eb82884fb2
Merge remote-tracking branch 'github-kicksecure/master'
2024-05-18 16:42:41 -04:00
Patrick Schleizer
12e006ef9c
Merge pull request #222 from raja-grewal/text
...
Update Readme and Copyright
2024-05-18 16:30:07 -04:00
raja-grewal
2f716050d1
Update README.md
2024-05-12 01:06:34 +00:00
Raja Grewal
1bb843ec38
Update Copyright (C) to 2024
2024-05-11 13:18:36 +10:00
Raja Grewal
dddac1dc40
Update README.md
2024-05-11 13:15:42 +10:00
Patrick Schleizer
5867b1b014
bumped changelog version
2024-05-10 11:20:36 +00:00
Patrick Schleizer
9b589bc311
comment
2024-05-10 06:49:34 -04:00
Patrick Schleizer
8d01fc2d35
chmod +x
2024-05-10 06:48:26 -04:00
Patrick Schleizer
8a28c1bc38
Merge remote-tracking branch 'github-kicksecure/master'
2024-05-10 06:48:04 -04:00
Patrick Schleizer
0f1119f326
Merge pull request #221 from raja-grewal/firewire
...
Disable Firewire Module
2024-05-10 06:45:57 -04:00
Patrick Schleizer
547757f451
Merge pull request #220 from raja-grewal/block_gps
...
Block Several GPS-related Modules
2024-05-10 06:45:34 -04:00
Patrick Schleizer
7b9fe44a20
Merge pull request #219 from raja-grewal/logging_martians
...
Revert Logging of Martians
2024-05-10 06:43:43 -04:00
Patrick Schleizer
62ea4dc176
Merge pull request #218 from raja-grewal/secure_cpu
...
More CPU Mitigations and Additional References
2024-05-10 06:43:15 -04:00
raja-grewal
677f75ae8e
Disable firewire-net
module
2024-05-09 02:34:02 +00:00
raja-grewal
06f13bb766
Disable GPS modules like GNSS
2024-05-09 02:28:53 +00:00
raja-grewal
f3800a4e2b
Create disabled-gps-by-security-misc
2024-05-09 02:25:46 +00:00
raja-grewal
132b41ae73
Revert logging of martians
2024-05-09 02:16:50 +00:00
raja-grewal
4694268b8f
Remove a word
2024-05-05 12:52:51 +00:00
raja-grewal
8f7768ce96
Add vendor links
2024-05-05 12:50:39 +00:00
raja-grewal
0c031a29d3
RFDS mitigation on Intel Atom CPUs (including E-cores)
2024-05-01 13:55:09 +10:00
raja-grewal
1122b3402c
GDS mitigation for CPUs
2024-05-01 13:50:42 +10:00
raja-grewal
c002bd62e8
Clarify use of mitigations=auto
2024-05-01 13:49:34 +10:00
raja-grewal
d89d7e8ef8
Add reference for RETBleed
2024-05-01 13:49:00 +10:00
raja-grewal
015dcc4212
Add reference for SSB
2024-05-01 13:48:13 +10:00
raja-grewal
de4f4be947
Merge spectre mitigations
2024-05-01 13:47:40 +10:00
raja-grewal
965c8641fd
Update BHI mitigation reference
2024-05-01 13:47:02 +10:00
Patrick Schleizer
a9886a3119
bumped changelog version
2024-04-12 06:56:39 +00:00
Patrick Schleizer
5cbdf3c126
Merge remote-tracking branch 'github-kicksecure/master'
2024-04-12 02:54:17 -04:00
Patrick Schleizer
ab8b6da484
Merge pull request #216 from raja-grewal/spectre_bhi
...
BHI mitigation on Intel CPUs
2024-04-12 02:53:08 -04:00
raja-grewal
493576836c
BHI mitigation on Intel CPUs
2024-04-12 00:17:06 +10:00
Patrick Schleizer
7fba04d148
bumped changelog version
2024-04-01 06:56:45 +00:00
Patrick Schleizer
7dba3fb7be
no longer disable MSR by default
...
fixes https://github.com/Kicksecure/security-misc/issues/215
2024-04-01 02:56:27 -04:00
Patrick Schleizer
d9ac01ba5c
bumped changelog version
2024-03-18 15:10:10 +00:00
Patrick Schleizer
ecaa024f22
lower debugging
2024-03-18 11:01:56 -04:00
Patrick Schleizer
357ea5deab
bumped changelog version
2024-03-11 15:07:50 +00:00
Patrick Schleizer
0a018bdebc
Merge remote-tracking branch 'github-kicksecure/master'
2024-03-11 10:13:57 -04:00
Patrick Schleizer
0b81316300
Merge pull request #211 from wryMitts/patch-1
...
Create proc group on install
2024-03-11 10:12:46 -04:00
wryMitts
03ed546cd8
Create proc group on install
...
Fixes https://github.com/Kicksecure/security-misc/issues/210
2024-03-10 16:55:10 -04:00
Patrick Schleizer
57fc487e5e
bumped changelog version
2024-03-10 13:19:26 +00:00
Patrick Schleizer
a5206bde33
proc-hidepid.service
add gid=proc
...
This allows users that are a member of the `proc` group to be excluded from `hidepid` protections.
https://github.com/Kicksecure/security-misc/issues/208
2024-03-10 08:44:53 -04:00
Patrick Schleizer
0f0d9ca2a4
bumped changelog version
2024-03-04 11:48:30 +00:00
Patrick Schleizer
6b76373395
fix panic-on-oops started every 10s in Qubes-Whonix
...
by changing from a /etc/profile.d etc. related mechanism to start to a systemd unit file based approach
Thanks to @marmarek for the bug report!
https://forums.whonix.org/t/panic-on-oops-started-every-10s/19450
2024-03-04 06:44:26 -05:00
Patrick Schleizer
af6c6971a7
comment
2024-03-04 06:33:51 -05:00
Patrick Schleizer
e013070e0b
newline
2024-03-04 06:33:21 -05:00
Patrick Schleizer
a5cc1774f2
bumped changelog version
2024-02-26 13:32:44 +00:00
Patrick Schleizer
808e72f24b
use long options
...
https://github.com/Kicksecure/security-misc/issues/172
2024-02-26 08:11:26 -05:00
Patrick Schleizer
2d1d1b246f
improve output
...
https://github.com/Kicksecure/security-misc/issues/172
2024-02-26 08:07:29 -05:00
Patrick Schleizer
d8f5376c4f
improve output
...
https://github.com/Kicksecure/security-misc/issues/172
2024-02-26 07:58:06 -05:00
Patrick Schleizer
cf84762a3a
improve output
...
https://github.com/Kicksecure/security-misc/issues/172
2024-02-26 07:52:41 -05:00
Patrick Schleizer
f2958bbfa5
comment
2024-02-26 07:49:30 -05:00
Patrick Schleizer
bc8f9edc31
Merge remote-tracking branch 'github-kicksecure/master'
2024-02-26 07:48:19 -05:00
Patrick Schleizer
b23d167342
Merge pull request #204 from DanWin/sysfs-mount
...
Make /sys hardening optional and allow access to /sys/fs to make polkit work
2024-02-26 07:46:02 -05:00
Patrick Schleizer
02d6f67741
bumped changelog version
2024-02-22 20:08:17 +00:00
Patrick Schleizer
d13d1aa7ec
comments
2024-02-22 15:07:53 -05:00
Patrick Schleizer
a1f898e3b3
bumped changelog version
2024-02-22 19:58:01 +00:00
Patrick Schleizer
c3dd178b19
output
2024-02-22 14:57:50 -05:00
Daniel Winzen
ef44ecea44
Add option to disabe /sys hardening
2024-02-22 17:27:46 +01:00
Daniel Winzen
3bc1765dbb
Allow access to /sys/fs for polkit
2024-02-22 17:27:45 +01:00
Patrick Schleizer
6b73e6c2a9
bumped changelog version
2024-02-22 16:07:16 +00:00
Patrick Schleizer
37a7abdf0c
ConditionKernelCommandLine=!remountsecure=0
2024-02-22 11:07:01 -05:00
Patrick Schleizer
eb3e0b9292
bumped changelog version
2024-02-22 14:52:55 +00:00
Patrick Schleizer
c0924321b8
fix systemd unit ExecStart
2024-02-22 09:52:36 -05:00
Patrick Schleizer
d148a769b7
bumped changelog version
2024-02-22 14:50:05 +00:00
Patrick Schleizer
6d7cf3c12a
output
2024-02-22 09:49:48 -05:00
Patrick Schleizer
f7831db197
do not exit non-zero if folder does not exist
2024-02-22 09:17:41 -05:00
Patrick Schleizer
5bdd7b8475
output
2024-02-22 09:14:52 -05:00
Patrick Schleizer
44a15cd97d
mount --make-private
...
https://github.com/Kicksecure/security-misc/issues/172
2024-02-22 09:13:56 -05:00
Patrick Schleizer
c0f98b05b6
comment
...
https://github.com/Kicksecure/security-misc/pull/202
2024-02-22 06:03:59 -05:00
Patrick Schleizer
1e1613aa93
allow /opt exec as usually optional binaries are placed there such as firefox
...
https://github.com/Kicksecure/security-misc/pull/202
2024-02-22 06:02:28 -05:00
Patrick Schleizer
7c7b4b24b4
fix home_noexec_maybe -> most_noexec_maybe
...
https://github.com/Kicksecure/security-misc/pull/202
2024-02-22 06:02:00 -05:00
Patrick Schleizer
38783faf60
add more bind mounts of mount options hardening
...
as suggested in https://github.com/Kicksecure/security-misc/pull/202
2024-02-22 05:58:53 -05:00
Patrick Schleizer
ad9d913902
bumped changelog version
2024-02-03 18:28:27 +00:00
Patrick Schleizer
02090da08c
Merge remote-tracking branch 'github-kicksecure/master'
2024-02-03 12:51:07 -05:00
Patrick Schleizer
ba13657d89
Merge pull request #197 from raja-grewal/mitigations
...
Additional Explicit CPU Mitigations
2024-02-03 12:50:28 -05:00
raja-grewal
b16c99ab62
Remove hardcoded spec_rstack_overflow
setting
2024-01-29 13:39:40 +00:00
raja-grewal
139b10a9aa
Control RAS overflow mitigation on AMD Zen CPUs
2024-01-29 12:59:13 +00:00
raja-grewal
6c54e35027
Enable mitigations for RETBleed vulnerability and disable SMT
2024-01-29 12:58:51 +00:00
raja-grewal
4509a5fc95
Enable known mitigations for CPU vulnerabilities and disable SMT
2024-01-29 12:58:14 +00:00
raja-grewal
4231155efa
Add reference for kernel parameters
2024-01-29 12:57:48 +00:00
Patrick Schleizer
8037ce52f9
bumped changelog version
2024-01-25 13:59:29 +00:00
Patrick Schleizer
185bfe7497
use interest-noawait
instead of interest-await
...
fixes https://github.com/Kicksecure/security-misc/issues/196
2024-01-25 06:54:36 -05:00
Patrick Schleizer
64e41b113c
bumped changelog version
2024-01-18 14:10:51 +00:00
Patrick Schleizer
1855fa08b1
readme
2024-01-18 08:54:39 -05:00
Patrick Schleizer
f0e2a82b55
bumped changelog version
2024-01-17 19:18:25 +00:00
Patrick Schleizer
314e5b490c
use wildcards
...
instead of outdated, incomplete list
https://github.com/Kicksecure/security-misc/issues/160
2024-01-17 14:03:09 -05:00
Patrick Schleizer
08619d6a73
minor RPM updates
...
https://github.com/Kicksecure/security-misc/issues/160
2024-01-17 13:59:36 -05:00
Patrick Schleizer
3048e0ac76
usrmerge
...
https://github.com/Kicksecure/security-misc/issues/190
2024-01-17 13:54:07 -05:00
Patrick Schleizer
5a6cd4c2ab
remove now empty /bin from copying since it is empty after usrmerge
...
https://github.com/Kicksecure/security-misc/issues/190
2024-01-17 13:51:30 -05:00
Patrick Schleizer
071b984a1e
sort -d
...
https://github.com/Kicksecure/security-misc/issues/190
2024-01-17 13:49:05 -05:00
Patrick Schleizer
011e55e3e5
remove duplicates after usrmerge
...
https://github.com/Kicksecure/security-misc/issues/190
2024-01-17 13:45:17 -05:00
Patrick Schleizer
0efee2f50f
usrmerge
...
fixes https://github.com/Kicksecure/security-misc/issues/190
2024-01-17 13:39:56 -05:00
Patrick Schleizer
18a06935e0
run permission hardener when new packages are install files to /usr or /opt
...
(basically anywhere)
fixes https://github.com/Kicksecure/security-misc/issues/189
2024-01-17 13:23:20 -05:00
Patrick Schleizer
66e6371221
bumped changelog version
2024-01-16 14:26:34 +00:00
Patrick Schleizer
0d78ecaee3
README
2024-01-16 09:26:21 -05:00
Patrick Schleizer
3ba8fe586e
update permission-hardener.service
...
Which is now only an additional opt-in systemd unit,
because permission-hardener is run by default at security-misc
package installation time.
https://github.com/Kicksecure/security-misc/pull/181
2024-01-16 09:23:54 -05:00
Patrick Schleizer
186f6015da
bumped changelog version
2024-01-16 14:14:18 +00:00
Patrick Schleizer
6aa55698ab
delete legacy folder /etc/permission-hardening.d if empty
...
https://github.com/Kicksecure/security-misc/pull/181
2024-01-16 09:10:59 -05:00
Patrick Schleizer
9cafd78fe2
rm_conffile /etc/permission-hardening.d
...
https://github.com/Kicksecure/security-misc/pull/181
2024-01-16 09:05:09 -05:00
Patrick Schleizer
fa53848b5c
bumped changelog version
2024-01-16 13:58:55 +00:00
Patrick Schleizer
4f7973bc56
comment
2024-01-16 08:56:26 -05:00
Patrick Schleizer
ed7c09fc46
permission-hardening -> permission-hardener migration
...
mv --verbose /var/lib/permission-hardening /var/lib/permission-hardener
https://github.com/Kicksecure/security-misc/pull/181
2024-01-16 08:45:13 -05:00
Patrick Schleizer
a90cd43631
fix postinst for new permission-hardener
...
https://github.com/Kicksecure/security-misc/pull/181
2024-01-16 08:32:52 -05:00
Patrick Schleizer
862bf6b5ab
Merge remote-tracking branch 'ben-grande/clean'
2024-01-16 08:19:28 -05:00
Patrick Schleizer
dc8d9eece3
bumped changelog version
2024-01-09 05:52:49 +00:00
Patrick Schleizer
1199871d7b
undo IPv6 privacy due to potential server issues
...
https://github.com/Kicksecure/security-misc/issues/184
2024-01-07 06:37:34 -05:00
Patrick Schleizer
128bb01b35
undo IPv6 privacy due to potential server issues
...
https://github.com/Kicksecure/security-misc/issues/184
2024-01-07 06:36:25 -05:00
Patrick Schleizer
df0f9d3267
README
2024-01-06 09:19:57 -05:00
Patrick Schleizer
86f91e3030
revert umask 027 by default
...
because broken because this also happens for root while it should not
https://github.com/Kicksecure/security-misc/issues/185
2024-01-06 09:11:54 -05:00
Patrick Schleizer
3f1304403f
disable MAC randomization in Network Manager (NM) because it breaks VirtualBox DHCP
...
https://github.com/Kicksecure/security-misc/issues/184
2024-01-06 08:15:31 -05:00
Patrick Schleizer
e8f8dcd0fb
bumped changelog version
2024-01-04 02:03:26 +00:00
Patrick Schleizer
70a86fa994
Merge remote-tracking branch 'github-kicksecure/master'
2024-01-03 05:12:48 -05:00
Patrick Schleizer
71060f1f53
Merge pull request #182 from raja-grewal/io_uring
...
Clarify validity of disabling io_uring
2024-01-03 05:00:41 -05:00
Raja Grewal
74afcc9c63
Clarify validity of disabling io_uring
2024-01-03 17:52:23 +11:00
Ben Grande
bc02c72018
Fix unbound variable
...
- Run messages preceded by INFO;
- Comment unknown unused variables;
- Remove unnecessary variables; and
- Deal with unbound variable due to subshell by writing to a file;
2024-01-02 17:08:45 +01:00
Patrick Schleizer
db0503e71d
bumped changelog version
2024-01-02 14:55:13 +00:00
Ben Grande
abf72c2ee4
Rename file permission hardening script
...
Hardener as the script is the agent that is hardening the file
permissions.
2024-01-02 13:34:29 +01:00
Ben Grande
f138cf0f78
Refactor permission-hardener
...
- Organize comments from default configuration;
- Apply and undo changes from a single file controlled by parameters;
- Arrays should be evaluated as arrays and not normal variables;
- Quote variables;
- Brackets around variables;
- Standardize test cases to "test" command;
- Test against empty or non-empty variables with "-z" and "-n";
- Show a usage message when necessary;
- Require root to run the script with informative message;
- Permit the user to see the help message without running as root;
- Do not create root directories without passing root check;
- Use long options for "set" command;
2024-01-02 12:17:16 +01:00
Patrick Schleizer
a94f2a3f46
Merge remote-tracking branch 'github-kicksecure/master'
2024-01-02 05:30:49 -05:00
Patrick Schleizer
8daf97ab01
Merge pull request #178 from raja-grewal/io_uring
...
Disable asynchronous I/O
2024-01-02 05:29:35 -05:00
Patrick Schleizer
94c0e26a08
bumped changelog version
2023-12-29 20:15:50 +00:00
Patrick Schleizer
5b36599c0c
/dev/, /dev/shm, /tmp
...
https://github.com/Kicksecure/security-misc/issues/157#issuecomment-1869073716
2023-12-29 14:57:38 -05:00
Patrick Schleizer
e15596e7af
bumped changelog version
2023-12-25 16:28:10 +00:00
Patrick Schleizer
f64a869bfd
readme
2023-12-25 11:03:22 -05:00
Patrick Schleizer
c86c83cef7
formatting
...
https://github.com/Kicksecure/security-misc/issues/157
2023-12-25 10:31:58 -05:00
Patrick Schleizer
971ff687b1
do not mount /dev/cdrom by default
...
https://github.com/Kicksecure/security-misc/issues/157
2023-12-25 10:30:35 -05:00
Patrick Schleizer
9fce67fcd9
remove superfluous, broken remount
mount option
...
https://github.com/Kicksecure/security-misc/issues/157
2023-12-25 10:28:47 -05:00
Patrick Schleizer
40fd8cb608
no nofail
mount option to avoid breaking the boot of a system
...
unit testing belongs elsewhere
https://github.com/Kicksecure/security-misc/issues/157
2023-12-25 09:51:09 -05:00
Patrick Schleizer
4aa645f29f
comment
...
https://github.com/Kicksecure/security-misc/issues/157
2023-12-25 09:46:33 -05:00
Patrick Schleizer
2b7aeedb4a
mount /dev/cdrom to /mnt/cdrom (instead of /mnt/cdrom0) and
...
nodev,nosuid,noexec
as per:
https://www.debian.org/doc/manuals/securing-debian-manual/ch04s10.en.html
https://github.com/Kicksecure/security-misc/issues/157
2023-12-25 09:44:51 -05:00
Patrick Schleizer
0d9e9780da
formatting
...
https://github.com/Kicksecure/security-misc/issues/157
2023-12-25 09:37:14 -05:00
Patrick Schleizer
00f9ab4394
/dev devtmpfs
...
https://github.com/Kicksecure/security-misc/issues/157
2023-12-25 09:36:05 -05:00
Patrick Schleizer
55709b3aa0
/tmp tmpfs
...
https://github.com/Kicksecure/security-misc/issues/157
2023-12-25 09:30:57 -05:00
Patrick Schleizer
b0dd967611
usrmerge
...
https://github.com/Kicksecure/security-misc/issues/157
2023-12-25 09:28:08 -05:00
Patrick Schleizer
269fada14a
combine bind lines
...
https://github.com/Kicksecure/security-misc/issues/157
2023-12-25 09:25:14 -05:00
Patrick Schleizer
0810c1ce3c
fix bluetooth in readme
...
fixes https://github.com/Kicksecure/security-misc/issues/180
2023-12-25 09:10:31 -05:00
Patrick Schleizer
37b4ab15a8
readme
2023-12-25 09:04:10 -05:00
Patrick Schleizer
79f398d219
formatting
2023-12-25 08:45:20 -05:00
Patrick Schleizer
c90ada3c39
pandoc -f markdown -t markdown --wrap=auto --columns=80 README.md -o README.md
2023-12-25 08:37:23 -05:00
Patrick Schleizer
34bf297bd1
formatting
2023-12-25 08:32:34 -05:00
Patrick Schleizer
d5fc9f6201
improve bluetooth in readme
...
as suggested by @monsieuremre
https://github.com/Kicksecure/security-misc/issues/180
2023-12-25 08:26:03 -05:00
Patrick Schleizer
7fa597deca
bumped changelog version
2023-12-22 16:31:58 +00:00
Patrick Schleizer
f70a034da2
exclude hardened malloc from SUID disabler
...
fixes https://github.com/Kicksecure/security-misc/issues/179
2023-12-22 08:31:58 -05:00
Raja Grewal
f055fe5da2
Disable asynchronous I/O
...
io_uring creation is disabled for all processes. io_uring_setup always fails with -EPERM. Existing io_uring instances can still be used.
2023-12-15 08:33:36 +00:00
Patrick Schleizer
99f2edd4f6
bumped changelog version
2023-12-12 16:51:21 +00:00
Patrick Schleizer
039de1dc9b
add hardened fstab /usr/share/doc/security-misc/fstab-vm
...
to the documentation folder as an example
not directly used by security-misc
will later be used by Kicksecure VM build process
https://github.com/Kicksecure/security-misc/issues/157
2023-12-12 11:50:11 -05:00
Patrick Schleizer
dcaafa6c8b
bumped changelog version
2023-12-04 17:06:45 +00:00
Patrick Schleizer
5a73817a95
move to /usr/lib/issue.d/20_security-misc.issue
...
https://github.com/Kicksecure/security-misc/pull/167
2023-12-04 11:38:49 -05:00
Patrick Schleizer
dfaea492c7
remove etc/issue.net.d/20_security-misc
...
since not mentioned on debian.org
2023-12-04 11:37:02 -05:00
Patrick Schleizer
69c895af09
Merge remote-tracking branch 'github-kicksecure/master'
2023-12-04 11:27:53 -05:00
Patrick Schleizer
36850f89fb
Merge pull request #167 from monsieuremre/patch-4
...
Non-Identifiable and Generic Issue Banners that include the Recommended Keywords
2023-12-04 11:27:16 -05:00
Patrick Schleizer
c9ea7a4dca
use amd_iommu=force_isolation
instead of amd_iommu=force_enable
...
because we set `iommu=force` already anyhow
fixes https://github.com/Kicksecure/security-misc/issues/175
2023-12-04 11:02:55 -05:00
Patrick Schleizer
e83c1d7ed6
Merge remote-tracking branch 'github-kicksecure/master'
2023-12-04 11:01:02 -05:00
Patrick Schleizer
befd21e0c0
Merge pull request #176 from monsieuremre/patch-1
...
Iommu Kernel Parameters
2023-12-04 11:00:29 -05:00
Patrick Schleizer
c4e21ca5f4
added development philosophy
...
https://github.com/Kicksecure/security-misc/issues/154
2023-12-04 10:58:16 -05:00
Patrick Schleizer
feab1432f9
clarify scope
...
https://github.com/Kicksecure/security-misc/issues/154
2023-12-04 10:48:27 -05:00
Patrick Schleizer
dc04040cb3
typo
2023-12-04 10:36:48 -05:00
Patrick Schleizer
2634dbff2b
shuffle
2023-12-04 10:36:21 -05:00
monsieuremre
f2ad8383cf
fix
2023-12-03 19:51:38 +00:00
monsieuremre
dd15823a97
undo superfluousness
2023-12-03 19:50:07 +00:00
monsieuremre
83e13bb62d
Update 40_enable_iommu.cfg
2023-12-03 19:42:34 +00:00
monsieuremre
0d7af9707f
Update 20_security-misc
2023-12-03 19:31:12 +00:00
monsieuremre
04d27a10b0
Update 20_security-misc
2023-12-03 19:30:55 +00:00
monsieuremre
7963f811e1
Merge branch 'Kicksecure:master' into patch-4
2023-12-03 19:30:22 +00:00
Patrick Schleizer
82bd9138de
bumped changelog version
2023-11-20 13:13:10 +00:00
Patrick Schleizer
c2b3ff5243
moved libpam-tmpdir dependency to kicksecure-meta-packages
...
https://github.com/Kicksecure/security-misc/pull/147
2023-11-20 04:40:28 -05:00
monsieuremre
c8b9f5a917
net
2023-11-18 10:03:19 +00:00
monsieuremre
3b614f3753
20_security-misc
2023-11-18 10:02:16 +00:00
Patrick Schleizer
4e4df5dd7c
bumped changelog version
2023-11-11 22:29:57 +00:00
Patrick Schleizer
a51674410c
fix
2023-11-11 17:29:37 -05:00
Patrick Schleizer
8d58077d68
bumped changelog version
2023-11-11 20:22:34 +00:00
Patrick Schleizer
5b85a0b34d
license
2023-11-11 14:46:35 -05:00
Patrick Schleizer
7757080519
change license to AGPL-3+
...
https://forums.whonix.org/t/license-change-to-agplv3/17455
2023-11-11 13:41:28 -05:00
Patrick Schleizer
20f804f19c
bumped changelog version
2023-11-06 17:28:21 -05:00
Patrick Schleizer
a1e00be0e0
update link
2023-11-06 16:58:23 -05:00
Patrick Schleizer
5bb357cac0
spice-client-glib-usb-acl-helper matchwhitelist
2023-11-06 16:55:00 -05:00
Patrick Schleizer
7309445ee5
comment
2023-11-06 16:52:27 -05:00
Patrick Schleizer
f09d97fc9e
whitelist VirtualBox
2023-11-06 16:50:19 -05:00
Patrick Schleizer
64c8c7a8d5
whitelist SSH
2023-11-06 16:47:31 -05:00
Patrick Schleizer
9682b51d54
whitelist virtualbox
2023-11-06 16:44:36 -05:00
Patrick Schleizer
a40b9bc095
comments
2023-11-06 16:40:22 -05:00
Patrick Schleizer
2c1a3da433
VirtualBoxVM matchwhitelist
2023-11-06 16:38:50 -05:00
Patrick Schleizer
4e96ffaabb
chrome-sandbox matchwhitelist
2023-11-06 16:37:19 -05:00
Patrick Schleizer
df5f3e8056
output
2023-11-06 16:36:22 -05:00
Patrick Schleizer
72f6e6bb9c
output
2023-11-06 16:28:23 -05:00
Patrick Schleizer
3bc831a1f7
lintian
2023-11-06 16:27:29 -05:00
Patrick Schleizer
fd1f38b2eb
remount-secure systemd unit
...
https://github.com/Kicksecure/security-misc/pull/152
2023-11-06 16:22:42 -05:00
Patrick Schleizer
79f9c1fb3a
add sysinit-post.target
...
https://github.com/Kicksecure/security-misc/pull/152
2023-11-06 15:48:09 -05:00
Patrick Schleizer
2de5ab4120
clarify scope of application specific hardening
...
fixes https://github.com/Kicksecure/security-misc/issues/154
2023-11-06 13:47:30 -05:00
Patrick Schleizer
5a96616b39
bumped changelog version
2023-11-05 21:13:14 -05:00
Patrick Schleizer
ad079ac5cc
readme
...
https://github.com/Kicksecure/security-misc/pull/152
2023-11-05 20:55:55 -05:00
Patrick Schleizer
be023c7722
readme
...
https://github.com/Kicksecure/security-misc/issues/159
2023-11-05 20:54:43 -05:00
Patrick Schleizer
e1f413c1ee
disable harden-module-loading.service for now
...
due to issues
https://github.com/Kicksecure/security-misc/issues/159
2023-11-05 20:53:26 -05:00
Patrick Schleizer
f2ea1abc9b
comment
2023-11-05 20:53:03 -05:00
Patrick Schleizer
95d1cfb4a0
Revert "remove no longer required remount-service systemd unit"
...
This reverts commit 479ab61a1d
.
https://github.com/Kicksecure/security-misc/pull/152
2023-11-05 20:49:36 -05:00
Patrick Schleizer
24b4d59ce4
bumped changelog version
2023-11-05 20:14:33 -05:00
Patrick Schleizer
4482f1841c
newline
2023-11-05 20:13:14 -05:00
Patrick Schleizer
c5167c8f0d
fix systemd unit
...
https://github.com/Kicksecure/security-misc/issues/159
2023-11-05 20:12:03 -05:00
Patrick Schleizer
2571bbf315
duplicate
2023-11-05 18:42:25 -05:00
Patrick Schleizer
aa17087883
update path
2023-11-05 18:42:08 -05:00
Patrick Schleizer
d203e539aa
bumped changelog version
2023-11-05 18:17:59 -05:00
Patrick Schleizer
4ebab940c7
description too long, fixed
2023-11-05 17:56:35 -05:00
Patrick Schleizer
ad010ef5b4
debugging
2023-11-05 17:52:44 -05:00
Patrick Schleizer
826e76d037
bumped changelog version
2023-11-05 17:43:33 -05:00
Patrick Schleizer
3130a39d8c
set -e
2023-11-05 17:43:07 -05:00
Patrick Schleizer
18a2d814cc
Merge remote-tracking branch 'github-kicksecure/master'
2023-11-05 17:42:28 -05:00
Patrick Schleizer
36f3c30440
Merge pull request #148 from monsieuremre/module-loading-hardening
...
Harden the loading of new modules to the kernel after install
2023-11-05 17:41:56 -05:00
Patrick Schleizer
4fda9d2e84
bumped changelog version
2023-11-05 16:46:18 -05:00
Patrick Schleizer
4219347f0a
fix permission-hardener config parsing issue
2023-11-05 16:43:44 -05:00
Patrick Schleizer
e72f79236b
refactoring
2023-11-05 16:41:41 -05:00
Patrick Schleizer
dea0d9a78a
fix permission-hardener config parsing issue
2023-11-05 16:40:49 -05:00
Patrick Schleizer
017ae18ad7
fix permission-hardener config parsing issue
2023-11-05 16:39:10 -05:00
Patrick Schleizer
65e3c14643
fix permission-hardener config parsing issue
2023-11-05 16:35:11 -05:00
Patrick Schleizer
40e536a9be
bumped changelog version
2023-11-05 16:04:03 -05:00
Patrick Schleizer
51decff2fd
exclude qfile-unpacker from permission hardener
2023-11-05 16:03:36 -05:00
Patrick Schleizer
52b6e92e00
bumped changelog version
2023-11-05 15:58:21 -05:00
Patrick Schleizer
1900c1ab07
pam exclude from permission-hardener
2023-11-05 15:57:49 -05:00
Patrick Schleizer
76e3a3c5f9
bumped changelog version
2023-11-05 15:29:38 -05:00
Patrick Schleizer
d4494fd3c3
disable remount-secure dracut modules
...
pending new systemd based implementation
https://github.com/Kicksecure/security-misc/pull/152
2023-11-05 15:27:09 -05:00
Patrick Schleizer
949c163370
bumped changelog version
2023-11-05 15:14:43 -05:00
Patrick Schleizer
4a19fbae0b
move permission-hardening to /usr/bin to make it more easily accessible
2023-11-05 15:13:01 -05:00
Patrick Schleizer
c75f80b29f
lower verbosity of permission hardener
...
fixes https://github.com/Kicksecure/security-misc/issues/158
2023-11-05 15:09:29 -05:00
Patrick Schleizer
0544657123
bumped changelog version
2023-11-05 14:56:06 -05:00
Patrick Schleizer
42be631023
readme
2023-11-05 14:54:05 -05:00
Patrick Schleizer
55ba5d4832
renamed: usr/lib/NetworkManager/conf.d/99_ipv6-privacy.conf -> usr/lib/NetworkManager/conf.d/80_ipv6-privacy.conf
...
renamed: usr/lib/NetworkManager/conf.d/99_randomize-mac.conf -> usr/lib/NetworkManager/conf.d/80_randomize-mac.conf
renamed: usr/lib/systemd/networkd.conf.d/99_ipv6-privacy-extensions.conf -> usr/lib/systemd/networkd.conf.d/80_ipv6-privacy-extensions.conf
2023-11-05 14:51:31 -05:00
Patrick Schleizer
eab5d7d4ec
cleanup
2023-11-05 14:50:13 -05:00
Patrick Schleizer
811d1cd0dd
Merge remote-tracking branch 'github-kicksecure/master'
2023-11-05 14:49:43 -05:00
Patrick Schleizer
5a75bcfb19
Merge pull request #145 from monsieuremre/wifi-and-bluetooth
...
Wifi and Bluetooth Patch | Security and Privacy
2023-11-05 14:49:00 -05:00
Patrick Schleizer
93437952b4
readme
2023-11-05 14:41:01 -05:00
Patrick Schleizer
f32b543887
Merge remote-tracking branch 'github-kicksecure/master'
2023-11-05 14:38:20 -05:00
Patrick Schleizer
4946f85d43
Merge pull request #146 from monsieuremre/thunderbird
...
Thunderbird Hardening
2023-11-05 14:37:47 -05:00
Patrick Schleizer
56b90eecbf
Merge remote-tracking branch 'github-kicksecure/master'
2023-11-05 14:35:23 -05:00
Patrick Schleizer
817ca116f6
Merge pull request #153 from monsieuremre/readme
...
Updated Readme
2023-11-05 14:34:13 -05:00
Patrick Schleizer
3178677584
Merge remote-tracking branch 'github-kicksecure/master'
2023-11-05 14:32:21 -05:00
Patrick Schleizer
d9b5d770cf
Merge pull request #150 from monsieuremre/sysreq
...
Disable SysRq by default
2023-11-05 14:31:26 -05:00
Patrick Schleizer
dcead44cc6
output
2023-11-05 11:32:46 -05:00
Patrick Schleizer
f6bf69b41f
update link
2023-11-05 11:31:09 -05:00
monsieuremre
2e64d89b04
undo unnecessary manual activation
2023-11-04 21:18:45 +00:00
monsieuremre
19eceaa810
more fix
2023-11-04 20:56:46 +00:00
monsieuremre
a187d23c41
big fix
2023-11-04 20:56:08 +00:00
monsieuremre
fbd9e5d017
README.md
2023-11-04 14:33:35 +00:00
Patrick Schleizer
97054b2b10
revert enabling kernel module signature enforcement
...
due to issues
https://forums.whonix.org/t/enforce-kernel-module-software-signature-verification-module-signing-disallow-kernel-module-loading-by-default/7880/63
https://github.com/dell/dkms/issues/359
2023-11-03 15:55:17 -04:00
Patrick Schleizer
978e3e4abd
readme
2023-11-03 14:53:40 -04:00
Patrick Schleizer
0242c04dc2
port to DKMS drop-in folder
...
undisplace /etc/dkms/framework.conf.security-misc
moved to /etc/dkms/framework.conf.d/30_security-misc.conf
2023-11-03 14:51:14 -04:00
Patrick Schleizer
d1b5a3ffd5
/usr/sbin/pam-tmpdir-helper exactwhitelist
...
https://github.com/Kicksecure/security-misc/pull/147
2023-11-03 12:55:34 -04:00
Patrick Schleizer
48adb44c6f
bumped changelog version
2023-11-03 12:17:24 -04:00
Patrick Schleizer
b6d53f698d
Revert "allow loading unsigned modules due to issues"
...
This reverts commit 661bcd8603
.
2023-11-03 12:17:00 -04:00
Patrick Schleizer
04b210ee88
bumped changelog version
2023-11-03 12:10:48 -04:00
Patrick Schleizer
5e73f78ed9
Merge remote-tracking branch 'github-kicksecure/master'
2023-11-03 12:10:33 -04:00
Patrick Schleizer
8e66a41778
Merge pull request #147 from monsieuremre/PAM-tmp-files-hardening
...
Depend on libpam-tmpdir for very solid extra security
2023-11-03 12:10:00 -04:00
Patrick Schleizer
7dc99d54c0
fix
2023-11-03 12:09:39 -04:00
Patrick Schleizer
2a602e78d6
Merge branch 'master' into PAM-tmp-files-hardening
2023-11-03 12:08:50 -04:00
Patrick Schleizer
ceffd2b3ee
bumped changelog version
2023-11-03 12:06:43 -04:00
Patrick Schleizer
cdd66ee376
wrap-and-sort
2023-11-03 10:48:46 -04:00
Patrick Schleizer
c33a3d9aad
readme
2023-11-03 10:44:48 -04:00
Patrick Schleizer
d71ac03d96
comment
2023-11-03 10:36:15 -04:00
Patrick Schleizer
8326aecdb4
bumped changelog version
2023-11-03 10:33:02 -04:00
Patrick Schleizer
b85d48eb83
do not change default umask for root
...
since this causes permission issues in `/etc/`
https://github.com/Kicksecure/security-misc/pull/151
2023-11-03 10:31:59 -04:00
Patrick Schleizer
07540db90d
Revert "Revert "set default umask to 027""
...
This reverts commit f8913ceb2e
.
2023-11-03 09:45:12 -04:00
Patrick Schleizer
f8913ceb2e
Revert "set default umask to 027"
...
This reverts commit cd216095eb
.
2023-11-03 09:43:44 -04:00
Patrick Schleizer
43bd789c30
bumped changelog version
2023-11-03 09:28:08 -04:00
Patrick Schleizer
cd216095eb
set default umask to 027
...
using package libpam-umask
https://www.debian.org/doc/manuals/securing-debian-manual/ch04s11.en.html#id-1.5.14.19
https://github.com/Kicksecure/security-misc/pull/151
2023-11-03 09:12:24 -04:00
monsieuremre
ac224b270a
disable sysrq
2023-11-02 13:01:55 +00:00
monsieuremre
07882f61a8
enable service on install
...
not sure if this would be the right way to do it
2023-11-02 10:44:19 +00:00
monsieuremre
9f063584c1
disable-kernel-module-loading
2023-11-02 10:28:41 +00:00
monsieuremre
3e604618a8
harden-module-loading.service
2023-11-02 10:24:35 +00:00
monsieuremre
3ee4be652b
depend on libpam-tmpdir
2023-11-02 09:36:58 +00:00
monsieuremre
1abac794b5
very secure and private defaults
2023-11-02 09:15:20 +00:00
monsieuremre
5a583ca48c
typo in file name
2023-11-02 08:30:26 +00:00
monsieuremre
229032d691
Rename etc/systemd/networkd.conf.d/99_ipv6-privacy-extensions.conf to usr/lib/systemd/networkd.conf.d/99_ipv6-privacy-extensions.conf
2023-11-01 17:54:05 +00:00
monsieuremre
1049298e7b
Update and rename etc/NetworkManager/conf.d/99_randomize-mac.conf to usr/lib/NetworkManager/conf.d/99_randomize-mac.conf
2023-11-01 17:52:40 +00:00
monsieuremre
76e684cc0a
Update and rename etc/NetworkManager/conf.d/99_ipv6-privacy.conf to usr/lib/NetworkManager/conf.d/99_ipv6-privacy.conf
2023-11-01 17:51:27 +00:00
Patrick Schleizer
a768f1f1eb
bumped changelog version
2023-11-01 12:26:21 -04:00
Patrick Schleizer
bb14a05852
Merge remote-tracking branch 'github-kicksecure/master'
2023-11-01 11:11:54 -04:00
Patrick Schleizer
44906e8f39
Merge pull request #142 from monsieuremre/patch-5
...
ssh config
2023-11-01 11:11:27 -04:00
Patrick Schleizer
5ed2a5ce4a
bumped changelog version
2023-11-01 11:10:36 -04:00
Patrick Schleizer
bb1161986b
Merge remote-tracking branch 'github-kicksecure/master'
2023-11-01 10:31:04 -04:00
Patrick Schleizer
b7cddd6e55
Merge pull request #143 from monsieuremre/patch-6
...
new lines 990-security-misc.conf
2023-11-01 10:30:26 -04:00
monsieuremre
fc8e201e84
rename
2023-10-27 14:49:24 +00:00
monsieuremre
90a88225a4
security-misc.maintscript
2023-10-27 14:38:31 +00:00
monsieuremre
13b4ddbb62
30_security-misc.conf
2023-10-27 14:34:21 +00:00
monsieuremre
b298d152fc
30_security-misc.conf
2023-10-27 14:32:08 +00:00
monsieuremre
3d4b04fddc
99_ipv6-privacy.conf
2023-10-27 12:35:39 +00:00
monsieuremre
e90f62eaab
99_randomize_mac.conf
2023-10-27 12:34:15 +00:00
monsieuremre
604d839537
99_ipv6-privacy-extensions.conf
2023-10-27 12:30:26 +00:00
monsieuremre
c975c3c0ff
new lines 990-security-misc.conf
...
added new recommended hardening settings with comments
2023-10-27 11:07:53 +00:00
monsieuremre
f2c23a2831
ssh config
2023-10-27 10:53:45 +00:00
Patrick Schleizer
7d576842fb
bumped changelog version
2023-10-26 20:08:41 -04:00
Patrick Schleizer
7cff267002
remove duplicates
2023-10-26 19:31:14 -04:00
Patrick Schleizer
928cdb81d4
Merge remote-tracking branch 'github-kicksecure/master'
2023-10-26 19:29:55 -04:00
Patrick Schleizer
39fed058f4
Merge pull request #140 from monsieuremre/patch-3
...
New lines in default permission config
2023-10-26 19:27:41 -04:00
Patrick Schleizer
a330a9fd75
refactor permission-lockdown
2023-10-26 19:20:21 -04:00
Patrick Schleizer
8bf5ff82be
Merge remote-tracking branch 'github-kicksecure/master'
2023-10-26 19:15:04 -04:00
Patrick Schleizer
92a6ecc40a
Merge pull request #141 from monsieuremre/patch-4
...
New permission-lockdown
2023-10-26 19:13:34 -04:00
Patrick Schleizer
1123d23114
remount-secure: disable debugging to save space in initrd
2023-10-26 18:45:07 -04:00
monsieuremre
91c445244c
actually we do it once indeed
2023-10-26 19:41:07 +00:00
monsieuremre
88f396264c
avoiding /etc/passwd
2023-10-26 19:35:59 +00:00
monsieuremre
b5ba03247a
readability
2023-10-26 19:31:25 +00:00
monsieuremre
f487752ba1
not limiting ourselves. we do not do this not just once.
2023-10-26 19:30:58 +00:00
monsieuremre
88cd5a905d
strip unnecessary
2023-10-26 19:25:24 +00:00
monsieuremre
d9f10c221a
new permission-lockdown
2023-10-26 18:17:50 +00:00
monsieuremre
99355c6169
new lines 30_default.conf
2023-10-26 17:45:28 +00:00
Patrick Schleizer
ca9603af17
bumped changelog version
2023-10-26 12:23:48 -04:00
Patrick Schleizer
5f4222c1c3
enable SUID Disabler and Permission Hardener by default
...
https://www.kicksecure.com/wiki/SUID_Disabler_and_Permission_Hardener
https://forums.whonix.org/t/suid-disabler-and-permission-hardener/7706
2023-10-26 12:20:48 -04:00
Patrick Schleizer
e5d989af5a
comment
2023-10-26 12:04:13 -04:00
Patrick Schleizer
8557e0963e
bumped changelog version
2023-10-25 17:55:37 -04:00
Patrick Schleizer
b7e2d49f5f
comment
2023-10-25 17:41:05 -04:00
Patrick Schleizer
5d71217e59
Merge remote-tracking branch 'github-kicksecure/master'
2023-10-25 17:40:13 -04:00
Patrick Schleizer
6a22351d29
renamed: usr/lib/sysctl.d/30_security-misc.conf -> usr/lib/sysctl.d/990-security-misc.conf
2023-10-25 17:30:07 -04:00
Patrick Schleizer
b7c52800f4
renamed: etc/sysctl.d/30_security-misc.conf -> usr/lib/sysctl.d/30_security-misc.conf
...
renamed: etc/sysctl.d/30_security-misc_kexec-disable.conf -> usr/lib/sysctl.d/30_security-misc_kexec-disable.conf
renamed: etc/sysctl.d/30_silent-kernel-printk.conf -> usr/lib/sysctl.d/30_silent-kernel-printk.conf
2023-10-25 17:28:43 -04:00
Patrick Schleizer
a2f811aff0
Merge pull request #135 from monsieuremre/kernel-fix
...
Kernel hardening fix
2023-10-25 17:26:46 -04:00
monsieuremre
ee6716e178
security-misc.maintscript
2023-10-24 20:43:10 +00:00
Patrick Schleizer
3317332cb4
bumped changelog version
2023-10-24 05:51:11 -04:00
Patrick Schleizer
42c802cd1e
Merge remote-tracking branch 'github-kicksecure/master'
2023-10-24 05:30:15 -04:00
Patrick Schleizer
5320c11f3f
Merge pull request #134 from monsieuremre/patch-1
...
Fix double mount issue for /var/log and /var/tmp
2023-10-24 05:22:33 -04:00
monsieuremre
1f489719ef
rename
2023-10-23 16:38:58 +00:00
monsieuremre
9dda6f69a7
more rename
2023-10-23 16:38:40 +00:00
monsieuremre
89381fe7ab
rename
2023-10-23 16:38:23 +00:00
monsieuremre
f0857fd560
Fix double mount issue for /var/log and /var/tmp
...
Mounting var with bind and mounting a subdirectory causes /var/tmp and /var/log bind mounted twice each. can be checked with lsblk. When we bind mount var only after having mounted the subdirectories, everything is mounted only one.
2023-10-23 15:33:05 +00:00
Patrick Schleizer
f3b40f12cb
bumped changelog version
2023-10-22 19:23:22 -04:00
Patrick Schleizer
d2e8a6dad3
debugging
2023-10-22 19:21:51 -04:00
Patrick Schleizer
e7aafd64d4
refactoring
2023-10-22 19:16:12 -04:00
Patrick Schleizer
ee15f749bb
bumped changelog version
2023-10-22 16:54:58 -04:00
Patrick Schleizer
d521662d04
comment
2023-10-22 16:49:36 -04:00
Patrick Schleizer
0e80acf38d
fix
2023-10-22 16:45:10 -04:00
Patrick Schleizer
a1c3b87fce
bumped changelog version
2023-10-22 16:29:08 -04:00
Patrick Schleizer
f6d1346e2b
fix
2023-10-22 16:22:08 -04:00
Patrick Schleizer
9a649ddd09
bumped changelog version
2023-10-22 16:16:40 -04:00
Patrick Schleizer
11382881b5
comments
2023-10-22 16:12:26 -04:00
Patrick Schleizer
5182d7502b
improve remount-secure
2023-10-22 16:08:21 -04:00
Patrick Schleizer
555d83792d
bumped changelog version
2023-10-22 15:44:47 -04:00
Patrick Schleizer
a88c0a3ad2
fix
2023-10-22 15:44:30 -04:00
Patrick Schleizer
316282952f
bumped changelog version
2023-10-22 15:40:59 -04:00
Patrick Schleizer
a7629b98cf
fix
2023-10-22 15:40:49 -04:00
Patrick Schleizer
7112eac3be
output
2023-10-22 15:37:21 -04:00
Patrick Schleizer
f80b5fe376
fix
2023-10-22 15:36:16 -04:00
Patrick Schleizer
ce0babce21
comment
2023-10-22 15:35:03 -04:00
Patrick Schleizer
fa0804b7ae
bumped changelog version
2023-10-22 15:33:21 -04:00
Patrick Schleizer
70cbe4daaa
fix
2023-10-22 15:33:11 -04:00
Patrick Schleizer
36f2acb93f
bumped changelog version
2023-10-22 15:28:04 -04:00
Patrick Schleizer
9b9e9ce1c0
fix
2023-10-22 15:27:01 -04:00
Patrick Schleizer
3731716a49
fix
2023-10-22 15:14:22 -04:00
Patrick Schleizer
eec87a0508
fix
2023-10-22 15:11:26 -04:00
Patrick Schleizer
f3286cf440
fix
2023-10-22 15:10:21 -04:00
Patrick Schleizer
eb90d38d8c
fix
2023-10-22 15:05:33 -04:00
Patrick Schleizer
f440209738
bumped changelog version
2023-10-22 14:46:42 -04:00
Patrick Schleizer
7f03c2b137
fix
2023-10-22 14:45:45 -04:00
Patrick Schleizer
c85db586ca
improve
2023-10-22 14:44:58 -04:00
Patrick Schleizer
7c0ea4324a
fix
2023-10-22 14:39:52 -04:00
Patrick Schleizer
b29b626b41
bumped changelog version
2023-10-22 14:30:28 -04:00
Patrick Schleizer
6198ae317c
fix
2023-10-22 14:29:02 -04:00
Patrick Schleizer
245fad0986
fix
2023-10-22 14:00:06 -04:00
Patrick Schleizer
619f1705e1
output
2023-10-22 13:58:55 -04:00
Patrick Schleizer
52fa7db087
output
2023-10-22 13:57:38 -04:00
Patrick Schleizer
8a592c2e37
fix remountsecure kernel parameter logic
2023-10-22 13:56:17 -04:00
Patrick Schleizer
3c183294cd
bumped changelog version
2023-10-22 13:31:55 -04:00
Patrick Schleizer
e689f38ad0
todo
2023-10-22 13:31:44 -04:00
Patrick Schleizer
6675a2e931
fix
2023-10-22 13:30:50 -04:00
Patrick Schleizer
4288e10554
fix, rework remount-secure kernel parameters parsing
2023-10-22 13:25:31 -04:00
Patrick Schleizer
b0181af099
fix
2023-10-22 13:12:25 -04:00
Patrick Schleizer
28cb53341d
remount-secure dracut module: improve output
2023-10-22 13:11:44 -04:00
Patrick Schleizer
f70f36e6cf
bumped changelog version
2023-10-22 12:55:41 -04:00
Patrick Schleizer
479ab61a1d
remove no longer required remount-service systemd unit
2023-10-22 12:55:20 -04:00
Patrick Schleizer
84ca0ac8a0
improve remount-secure
2023-10-22 12:54:25 -04:00
Patrick Schleizer
1696c37251
bumped changelog version
2023-10-22 11:28:18 -04:00
Patrick Schleizer
e7d30955e8
debugging
2023-10-22 11:28:08 -04:00
Patrick Schleizer
975a017dec
bumped changelog version
2023-10-22 11:13:05 -04:00
Patrick Schleizer
8eb4607a0e
improve
2023-10-22 11:12:54 -04:00
Patrick Schleizer
f1da0ce746
fix
2023-10-22 11:11:10 -04:00
Patrick Schleizer
26826e8398
fix
2023-10-22 11:06:34 -04:00
Patrick Schleizer
a423b85f81
bumped changelog version
2023-10-22 10:50:30 -04:00
Patrick Schleizer
233fa4625b
output
2023-10-22 10:49:53 -04:00
Patrick Schleizer
3ebe8cf4de
refactoring
2023-10-22 10:41:42 -04:00
Patrick Schleizer
24d2e26397
no longer reproducible
2023-10-22 10:40:19 -04:00
Patrick Schleizer
fcba70df2e
refactoring
2023-10-22 10:38:48 -04:00
Patrick Schleizer
a05bd3dd0e
/home last because most likely to fail
2023-10-22 10:37:02 -04:00
Patrick Schleizer
41077c94fb
improve remount-secure
2023-10-22 10:32:24 -04:00
Patrick Schleizer
ef69e512bd
refactoring
2023-10-22 10:25:57 -04:00
Patrick Schleizer
d5cb7ecec9
use findmnt
2023-10-22 10:22:21 -04:00
Patrick Schleizer
1120d0652d
bumped changelog version
2023-10-22 10:16:53 -04:00
Patrick Schleizer
45ce0ff74d
debugging
2023-10-22 10:16:43 -04:00
Patrick Schleizer
b81a991731
fix
2023-10-22 10:15:11 -04:00
Patrick Schleizer
292a5c3a8a
fix
2023-10-22 10:11:31 -04:00
Patrick Schleizer
bb57b1a289
fix
2023-10-22 10:10:51 -04:00
Patrick Schleizer
4f6f45fb39
bumped changelog version
2023-10-22 10:01:54 -04:00
Patrick Schleizer
181a642479
root check
2023-10-22 10:01:38 -04:00
Patrick Schleizer
84fd41931c
/var/run -> /run
2023-10-22 09:44:17 -04:00
Patrick Schleizer
33d97a2560
improve output of remount-secure dracut module
2023-10-22 09:39:54 -04:00
Patrick Schleizer
c409e3221e
implement remount-secure
2023-10-22 09:36:03 -04:00
Patrick Schleizer
f472ce690a
comments
2023-10-22 08:57:35 -04:00
Patrick Schleizer
90f2b5e11c
code simplification
2023-10-22 08:51:37 -04:00
Patrick Schleizer
167683ce76
code simplification
2023-10-22 08:50:57 -04:00
Patrick Schleizer
05e9accf64
bumped changelog version
2023-10-22 08:12:30 -04:00
Patrick Schleizer
e065f85c88
add remount-secure dracut module
2023-10-22 08:10:48 -04:00
Patrick Schleizer
f0ee470ecd
comment
2023-10-22 07:51:05 -04:00
Patrick Schleizer
e257f2a380
remount-secure:
...
no longer use /usr/libexec/helper-scripts/pre.bsh as not simple with dracut
2023-10-22 07:50:14 -04:00
Patrick Schleizer
27b3ba8bdf
bumped changelog version
2023-10-22 07:06:00 -04:00
Patrick Schleizer
ed11c68ac6
move remount-secure to /usr/bin/remount-secure to make it easier to manually run
2023-10-22 06:51:52 -04:00
Patrick Schleizer
6f4bf57ff2
remount-secure
: add support for --force
; output
2023-10-22 06:48:56 -04:00
Patrick Schleizer
6dec5cb1d6
debugging
2023-10-22 06:32:19 -04:00
Patrick Schleizer
bc768aa196
output
2023-10-22 06:31:57 -04:00
Patrick Schleizer
c069c73109
refactoring
2023-10-22 06:29:38 -04:00
Patrick Schleizer
abc3592734
remount-secure: stricter error handling
2023-10-22 06:23:48 -04:00
Patrick Schleizer
59a5fea25d
documentation
2023-10-22 05:41:56 -04:00
Patrick Schleizer
ac63b0eb3d
remove duplicate
2023-10-22 05:41:11 -04:00
Patrick Schleizer
ef3f157573
bumped changelog version
2023-10-21 14:19:24 -04:00
Patrick Schleizer
ae2c1c5a7a
fix xession environment variable
2023-10-21 14:18:50 -04:00
Patrick Schleizer
43375fa1f4
bumped changelog version
2023-10-21 12:34:59 -04:00
Patrick Schleizer
d543825d85
comments
2023-10-21 12:24:59 -04:00
Patrick Schleizer
dd43ab634d
bumped changelog version
2023-10-13 15:22:58 -04:00
Patrick Schleizer
645ee814e4
fix
2023-10-13 15:22:48 -04:00
Patrick Schleizer
13a4f37e50
bumped changelog version
2023-10-12 12:51:37 -04:00
Patrick Schleizer
2d45241084
avoid duplicate environment variables
2023-10-12 11:37:01 -04:00
Patrick Schleizer
e96e6aa38e
bumped changelog version
2023-10-12 10:43:40 -04:00
Patrick Schleizer
fa820e8978
refactoring environment variables loading mechanism
2023-10-12 10:40:27 -04:00
Patrick Schleizer
358e4226f1
bumped changelog version
2023-07-17 11:48:35 -04:00
Patrick Schleizer
81ad786dfc
Kicksecure
2023-07-17 11:19:07 -04:00
Patrick Schleizer
ab56b7ca0c
Kicksecure
2023-07-17 11:10:05 -04:00
Patrick Schleizer
29aaf13c13
bumped changelog version
2023-06-23 08:18:12 +00:00
Patrick Schleizer
8a6baea990
comment
2023-06-22 16:16:15 +00:00
Patrick Schleizer
609c8c0697
bumped changelog version
2023-06-21 09:36:44 +00:00
Patrick Schleizer
94a326ec7f
bookworm
2023-06-21 09:11:31 +00:00
Patrick Schleizer
b610cdcbcd
bumped changelog version
2023-06-16 11:09:02 +00:00
Patrick Schleizer
0c56d3d9d2
readme
2023-06-16 10:49:05 +00:00
Patrick Schleizer
63599a09d7
bumped changelog version
2023-06-14 09:59:20 +00:00
Patrick Schleizer
25760f7024
bookworm
2023-06-13 08:34:41 +00:00
Patrick Schleizer
be990188f5
bumped changelog version
2023-06-12 18:01:55 +00:00
Patrick Schleizer
07b3ce0bcd
Standards-Version: 4.6.1.0
2023-06-12 16:22:32 +00:00
Patrick Schleizer
4e28ace103
bumped changelog version
2023-05-15 17:31:59 +00:00
Patrick Schleizer
b11a336b4f
Merge remote-tracking branch 'github-kicksecure/master'
2023-05-15 16:58:11 +00:00
Patrick Schleizer
b0b73db3c8
Merge pull request #126 from raja-grewal/Comment
...
Update comments
2023-05-15 12:57:46 -04:00
Raja Grewal
cf003dfad8
Update comments
2023-05-16 02:11:44 +10:00
Patrick Schleizer
c921d4e915
bumped changelog version
2023-05-15 11:56:30 +00:00
Patrick Schleizer
39676395f8
Merge remote-tracking branch 'github-kicksecure/master'
2023-05-15 11:34:57 +00:00
Patrick Schleizer
1f38fcfefa
Merge pull request #125 from JeremyRand/typo
...
mmap-rnd-bits: Fix typo in error message
2023-05-15 07:34:16 -04:00
Patrick Schleizer
d66a9bac55
Merge pull request #124 from JeremyRand/doc-aslr
...
README: Document mmap-rnd-bits
2023-05-15 07:34:00 -04:00
Jeremy Rand
6ab400c9d9
mmap-rnd-bits: Fix typo in error message
2023-05-09 10:55:31 +00:00
Jeremy Rand
9d23717b6d
README: Document mmap-rnd-bits
2023-05-08 13:45:18 +00:00
Patrick Schleizer
6511dac1d4
bumped changelog version
2023-05-06 12:00:12 +00:00
Patrick Schleizer
0c10b3f038
output
2023-05-06 11:59:59 +00:00
Patrick Schleizer
a815c9b986
bumped changelog version
2023-05-06 11:54:31 +00:00
Patrick Schleizer
5d4d04a2eb
output
2023-05-06 11:54:00 +00:00
Patrick Schleizer
2d465c6249
refactoring
2023-05-06 11:51:25 +00:00
Patrick Schleizer
b756314eb8
bumped changelog version
2023-05-05 15:09:32 +00:00
Patrick Schleizer
014a28ba07
comment
2023-05-05 15:04:21 +00:00
Patrick Schleizer
ec01c1a996
minor mmap-rnd-bits improvements
2023-05-05 15:02:31 +00:00
Patrick Schleizer
3dc406f138
minor
2023-05-05 15:01:22 +00:00
Patrick Schleizer
40e940ec58
minor mmap-rnd-bits improvements
2023-05-05 14:54:24 +00:00
Patrick Schleizer
f4fd0f9012
minor mmap-rnd-bits improvements
2023-05-05 14:53:07 +00:00
Patrick Schleizer
a8e4121bef
minor mmap-rnd-bits improvements
2023-05-05 14:52:07 +00:00
Patrick Schleizer
9184e6bb92
fix
2023-05-05 14:51:19 +00:00
Patrick Schleizer
89168ef40c
minor mmap-rnd-bits improvements
2023-05-05 14:49:56 +00:00
Patrick Schleizer
d6d79e96c9
minor mmap-rnd-bits improvements
2023-05-05 14:44:29 +00:00
Patrick Schleizer
15d0ee1008
Merge remote-tracking branch 'github-kicksecure/master'
2023-05-05 14:37:34 +00:00
Patrick Schleizer
2d40bbc8fe
Merge pull request #120 from JeremyRand/aslr-ppc64le
...
vm.mmap_rnd_bits: Fix ppc64le
2023-05-05 10:14:43 -04:00
Jeremy Rand
48a68ba237
mmap-rnd-bits: Handle unwritable /etc/sysctl.d/
2023-04-24 23:07:40 +00:00
Jeremy Rand
434cfb427f
mmap-rnd-bits: Check that configs are valid integers
2023-04-24 23:07:40 +00:00
Jeremy Rand
76ca8a27f9
mmap-rnd-bits: Handle missing kernel config file
2023-04-24 23:07:40 +00:00
Jeremy Rand
2cf105700a
postinst: Don't fail if mmap-rnd-bits fails
2023-04-24 23:07:40 +00:00
Jeremy Rand
61f63255ac
vm.mmap_rnd_bits: Fix ppc64le
...
Probably fixes a bunch of other non-x86_64 arches too.
2023-04-24 23:07:39 +00:00
Patrick Schleizer
5c6db28881
Merge pull request #122 from raja-grewal/tcp
...
Remove outdated comment about SACK, DSACK, and FACK
2023-03-31 04:52:55 -04:00
Patrick Schleizer
8a34d6c067
Merge pull request #121 from raja-grewal/copyright
...
Update Copyright
2023-03-31 04:52:18 -04:00
Raja Grewal
ed5f8be9eb
Remove outdated comment about SACK, DSACK, and FACK
2023-03-30 19:17:43 +11:00
Raja Grewal
7a4212dd76
Update copyright
2023-03-30 17:08:47 +11:00
Patrick Schleizer
1137e6c910
bumped changelog version
2023-01-30 05:58:47 -05:00
Patrick Schleizer
8c3204a5e4
comment
2023-01-25 15:20:30 -05:00
Patrick Schleizer
65c29f493b
move kexec disabling to dedicated file /etc/sysctl.d/30_security-misc_kexec-disable.conf
...
so ram-wipe can `config-package-dev` `hide` this config file
2023-01-25 15:13:19 -05:00
Patrick Schleizer
56c7c57b3a
bumped changelog version
2023-01-24 07:09:40 -05:00
Patrick Schleizer
b87d9eb865
lintian
2023-01-24 07:08:13 -05:00
Patrick Schleizer
a482008650
bumped changelog version
2023-01-24 07:05:53 -05:00
Patrick Schleizer
7bda2ad3e8
move ram-wipe scripts to dedicated ram-wipe package
2023-01-24 06:34:17 -05:00
Patrick Schleizer
11d0bb2c00
bumped changelog version
2023-01-09 07:05:18 -05:00
Patrick Schleizer
c506652187
fix
2023-01-09 07:05:06 -05:00
Patrick Schleizer
b3d85f115c
bumped changelog version
2023-01-09 07:02:01 -05:00
Patrick Schleizer
6faa050dd8
migrate ram-wipe to dedicated package
2023-01-09 06:54:04 -05:00
Patrick Schleizer
ad5d0d4b12
disable kexec (revert enabling kexec)
...
remove kexec-utils for ram-wipe since moved to its own package
2023-01-09 06:37:45 -05:00
Patrick Schleizer
87c4e77c01
migrate to ram-wipe package
2023-01-09 06:23:00 -05:00
Patrick Schleizer
3867acf723
bumped changelog version
2023-01-09 05:34:48 -05:00
Patrick Schleizer
d769099db1
use warn instead of info for now
...
because dracut does not show info messages when kernel parameter quiet is set
2023-01-09 05:34:07 -05:00
Patrick Schleizer
7fa6946694
bumped changelog version
2023-01-08 07:17:02 -05:00
Patrick Schleizer
f3b84e15be
refactoring
2023-01-08 07:16:18 -05:00
Patrick Schleizer
96d6ca7ae0
improve kernel and initrd file detection
2023-01-08 07:09:09 -05:00
Patrick Schleizer
8367b27a0d
output
2023-01-08 07:08:18 -05:00
Patrick Schleizer
da0fc9f5bd
improve kernel and initrd file detection
2023-01-08 07:07:43 -05:00
Patrick Schleizer
5b11eecaec
refactoring
2023-01-08 06:45:10 -05:00
Patrick Schleizer
e81dd6cd25
bumped changelog version
2023-01-07 18:13:57 -05:00
Patrick Schleizer
938b87d26c
comment
2023-01-07 18:06:10 -05:00
Patrick Schleizer
0b1310a219
output
2023-01-07 18:05:47 -05:00
Patrick Schleizer
2fd302f580
output
2023-01-07 18:02:21 -05:00
Patrick Schleizer
921bc3e867
bumped changelog version
2023-01-07 17:49:24 -05:00
Patrick Schleizer
080abe574b
output
2023-01-07 17:48:21 -05:00
Patrick Schleizer
5689c07f97
comment
2023-01-07 17:37:46 -05:00
Patrick Schleizer
8e2db269b0
cleanup
2023-01-07 17:36:51 -05:00
Patrick Schleizer
a07af63155
output
2023-01-07 17:35:56 -05:00
Patrick Schleizer
1d22ebde08
bumped changelog version
2023-01-07 17:23:35 -05:00
Patrick Schleizer
539156c0da
drop_caches
2023-01-07 17:23:25 -05:00
Patrick Schleizer
02f44459ad
DRACUT_QUIET=no
2023-01-07 17:22:45 -05:00
Patrick Schleizer
abbaea582d
bumped changelog version
2023-01-07 17:16:23 -05:00
Patrick Schleizer
ab89d0e06e
cleanup
2023-01-07 16:59:00 -05:00
Patrick Schleizer
2e833b40a1
prevent "wait: pid 55 is not a child of this shell"
2023-01-07 16:43:09 -05:00
Patrick Schleizer
3777ecba85
comment
2023-01-07 16:34:19 -05:00
Patrick Schleizer
e0ded5e69d
comment
2023-01-07 16:34:04 -05:00
Patrick Schleizer
996c6af2d8
lower debugging
2023-01-07 16:31:23 -05:00
Patrick Schleizer
4fca8f4225
comment
2023-01-07 16:28:11 -05:00
Patrick Schleizer
fa579cad89
bumped changelog version
2023-01-07 16:20:48 -05:00
Patrick Schleizer
c9107bb044
debugging
2023-01-07 16:11:48 -05:00
Patrick Schleizer
b7bb24f984
description
2023-01-07 16:09:11 -05:00
Patrick Schleizer
2bd9cc5bc1
output
2023-01-07 16:08:12 -05:00
Patrick Schleizer
2456fed361
output
2023-01-07 16:00:42 -05:00
Patrick Schleizer
c0b5fea680
protect against wipe RAM reboot loop
2023-01-07 15:59:52 -05:00
Patrick Schleizer
c1b87d250c
bumped changelog version
2023-01-07 15:37:47 -05:00
Patrick Schleizer
91aedb234a
output
2023-01-07 15:36:36 -05:00
Patrick Schleizer
368ad8e636
cleanup
2023-01-07 15:36:05 -05:00
Patrick Schleizer
d8bf40f7a2
refactoring
2023-01-07 15:35:45 -05:00
Patrick Schleizer
166a6863a1
output
2023-01-07 15:35:15 -05:00
Patrick Schleizer
20596488be
long options
2023-01-07 15:34:20 -05:00
Patrick Schleizer
1e19c2cbad
Depends: kexec-tools
...
required for cold boot attack defense second RAM wipe after reboot
2023-01-07 15:32:25 -05:00
Patrick Schleizer
b0630f58c1
debugging
2023-01-07 15:24:05 -05:00
Patrick Schleizer
dde01f3663
long options
2023-01-07 15:23:23 -05:00
Patrick Schleizer
6e0926eece
long options
2023-01-07 15:22:58 -05:00
Patrick Schleizer
51a5f68c76
refactoring
2023-01-07 15:22:25 -05:00
Patrick Schleizer
83800fcb4f
--no-legend
2023-01-07 15:18:58 -05:00
Patrick Schleizer
822cf64618
output
2023-01-07 15:13:36 -05:00
Patrick Schleizer
bb2f0a3c44
minor
2023-01-07 15:12:15 -05:00
Patrick Schleizer
c3a822af0e
test if readable
2023-01-07 15:09:25 -05:00
Patrick Schleizer
227871c12c
output
2023-01-07 15:07:34 -05:00
Patrick Schleizer
c09f4da192
code simplification
2023-01-07 15:06:56 -05:00
Patrick Schleizer
01fee8a7b4
refactoring
2023-01-07 15:06:31 -05:00
Patrick Schleizer
f675f8da0d
quotes
2023-01-07 15:05:58 -05:00
Patrick Schleizer
d0daf75db3
quotes
2023-01-07 15:05:24 -05:00
Patrick Schleizer
8bcf7e3c23
minor
2023-01-07 15:04:57 -05:00
Patrick Schleizer
2cc3c6c59c
lower debugging
2023-01-07 15:04:42 -05:00
Patrick Schleizer
10932bb5d8
minor
2023-01-07 15:04:23 -05:00
Patrick Schleizer
c88e95ce33
output
2023-01-07 15:04:07 -05:00
Patrick Schleizer
06034d2e4f
fix
2023-01-07 15:03:06 -05:00
Patrick Schleizer
059ebb212d
comment
2023-01-07 14:35:30 -05:00
Patrick Schleizer
c0304ec029
minor
2023-01-07 14:35:09 -05:00
Patrick Schleizer
d5271d6250
bumped changelog version
2023-01-07 14:31:40 -05:00
Patrick Schleizer
d31c17ea04
fix
2023-01-07 14:31:14 -05:00
Patrick Schleizer
41d116aa2f
lintian
2023-01-07 14:30:12 -05:00
Patrick Schleizer
e83ba18553
minor
2023-01-07 14:29:12 -05:00
Patrick Schleizer
53ab93d8f6
bumped changelog version
2023-01-07 14:27:42 -05:00
Patrick Schleizer
bb121e52bb
chmod +x
2023-01-07 14:27:22 -05:00
Patrick Schleizer
42ab341a58
bumped changelog version
2023-01-07 12:57:36 -05:00
Patrick Schleizer
d37b19fb6b
comment
2023-01-07 12:55:05 -05:00
Patrick Schleizer
0367250dc7
comment
2023-01-07 12:54:35 -05:00
Patrick Schleizer
c1df2fd601
comment
2023-01-07 12:52:14 -05:00
Patrick Schleizer
c2b20603fd
output
2023-01-07 12:49:18 -05:00
Patrick Schleizer
999a82ed94
output
2023-01-07 12:46:21 -05:00
Patrick Schleizer
2860560edb
minor
2023-01-07 12:43:07 -05:00
Patrick Schleizer
450ff378b0
Merge remote-tracking branch 'friedy10/master'
2023-01-07 12:38:14 -05:00
Friedrich Doku
b8e82fffca
Get rid of /dev/kmsg
2023-01-07 11:31:02 -05:00
Friedrich Doku
78a4fad667
Change echo to info. Included more reliable way of getting initrd and kernel. Allow user custom kexec
2023-01-07 11:14:31 -05:00
Friedrich Doku
8da3b9c40c
fix last line
2023-01-06 21:40:17 -05:00
Friedrich Doku
7cf51a1b43
Checking job queue instead of dbus
2023-01-06 21:32:57 -05:00
Friedrich Doku
4b7053a635
Update wipe-ram.sh
2023-01-06 13:53:28 -05:00
Friedrich Doku
779ad24b57
Update wipe-ram-needshutdown.sh
2023-01-06 13:53:18 -05:00
Friedrich Doku
d45ba826bc
Update module-setup.sh
2023-01-06 13:53:10 -05:00
Friedrich Doku
b3d4314a06
Update wipe-ram.sh
2023-01-06 13:52:51 -05:00
Friedrich Doku
3387725017
Update wipe-ram-needshutdown.sh
2023-01-06 13:52:42 -05:00
Friedrich Doku
ec68ee6ded
Update module-setup.sh
2023-01-06 13:52:32 -05:00
Friedrich Doku
014d10b977
Update cold-boot-attack-defense-kexec-prepare.service
2023-01-06 13:52:09 -05:00
Friedrich Doku
62dcdcf764
Update cold-boot-attack-defense-kexec-prepare
2023-01-06 13:51:45 -05:00
Friedrich Doku
f463750920
Update cold-boot-attack-defense-kexec-prepare.service
2023-01-06 13:48:22 -05:00
Friedrich Doku
14abfbfccd
Update cold-boot-attack-defense-kexec-prepare
2023-01-06 13:48:03 -05:00
Friedrich Doku
37a5264696
Update wipe-ram.sh
2023-01-06 13:47:34 -05:00
Friedrich Doku
7ac45acd0f
Update wipe-ram-needshutdown.sh
2023-01-06 13:47:23 -05:00
Friedrich Doku
114a37fcd3
Update module-setup.sh
2023-01-06 13:47:14 -05:00
Friedrich Doku
1eeb32b7b9
Update wipe-ram.sh
2023-01-06 13:47:01 -05:00
Friedrich Doku
c5accc5ad1
Update wipe-ram-needshutdown.sh
2023-01-06 13:46:51 -05:00
Friedrich Doku
f9ebc3cfa8
Update module-setup.sh
2023-01-06 13:46:40 -05:00
Friedrich Doku
28687092ef
Update cold-boot-attack-defense-kexec-prepare
2023-01-06 12:52:36 -05:00
Friedrich Doku
d67d3c1d7d
Update wipe-ram.sh
2023-01-06 12:51:18 -05:00
Friedrich Doku
7fa64d6842
Update wipe-ram-needshutdown.sh
2023-01-06 12:50:58 -05:00
Friedrich Doku
14c7239681
Update module-setup.sh
2023-01-06 12:50:42 -05:00
Friedrich Doku
73913ea5af
Added checks
2023-01-06 12:49:34 -05:00
Friedrich Doku
a7015f4ddf
added files
2023-01-06 10:50:34 -05:00
Patrick Schleizer
929f49f333
bumped changelog version
2022-12-18 14:37:51 -05:00
Patrick Schleizer
75beb52bd5
Merge remote-tracking branch 'github-kicksecure/master'
2022-12-18 06:24:41 -05:00
Patrick Schleizer
58b622f0fe
Merge pull request #114 from raja-grewal/framebuffer
...
Add some framebuffer drivers into blacklist
2022-12-18 06:23:26 -05:00
Raja Grewal
f81714be50
Merge branch 'Kicksecure:master' into framebuffer
2022-12-13 05:14:56 +00:00
Raja Grewal
d67845fea8
Typo
2022-12-13 16:11:24 +11:00
Patrick Schleizer
98f753d8ff
bumped changelog version
2022-11-24 07:21:58 -05:00
Patrick Schleizer
6d7a782624
fix
2022-11-24 07:21:46 -05:00
Patrick Schleizer
421f03ae9e
fix
2022-11-24 07:20:56 -05:00
Patrick Schleizer
ad1e722879
bumped changelog version
2022-11-24 07:00:33 -05:00
Patrick Schleizer
a806c782d7
fix
2022-11-24 07:00:23 -05:00
Patrick Schleizer
4601e106c4
bumped changelog version
2022-11-24 06:49:26 -05:00
Patrick Schleizer
39b35ef9ac
fix
2022-11-24 06:49:15 -05:00
Patrick Schleizer
73963a9e68
bumped changelog version
2022-11-24 06:31:37 -05:00
Patrick Schleizer
d05c101721
debugging
2022-11-24 06:31:24 -05:00
Patrick Schleizer
36454c2dbf
debugging
2022-11-24 06:25:47 -05:00
Patrick Schleizer
e06b173a1b
debugging
2022-11-24 06:24:14 -05:00
Patrick Schleizer
97722d1926
bumped changelog version
2022-11-24 06:14:15 -05:00
Patrick Schleizer
497b5b4544
fix
2022-11-24 06:14:04 -05:00
Raja Grewal
6f695902fb
Add comment about legacy Apple fiesystems
2022-11-23 23:53:40 +11:00
Patrick Schleizer
d7222b5678
bumped changelog version
2022-11-22 06:03:13 -05:00
Patrick Schleizer
e5255a630a
pam-info: support non-root environments (such as during graphical display manager login and xscreensaver)
2022-11-22 05:57:30 -05:00
Patrick Schleizer
d419898ee4
bumped changelog version
2022-11-17 10:15:36 -05:00
Patrick Schleizer
09e6af5c08
pam-info refactoring
2022-11-16 02:01:23 -05:00
Patrick Schleizer
caf0099064
pam-info refactoring
2022-11-16 02:00:32 -05:00
Patrick Schleizer
487f63bb01
comment
2022-11-16 01:56:01 -05:00
Patrick Schleizer
f59f959a8d
pam-info fix
2022-11-16 01:55:14 -05:00
Patrick Schleizer
ae113442a1
pam-info refactoring
2022-11-16 01:49:45 -05:00
Patrick Schleizer
bb6b509d06
pam-info refactoring
2022-11-16 01:44:21 -05:00
Patrick Schleizer
e5d7ab7082
comment
2022-11-15 12:44:12 -05:00
Patrick Schleizer
23b936b573
also support /usr/local/etc/pam-info-debug
2022-11-15 12:31:14 -05:00
Patrick Schleizer
95487346db
pam-info: create debug log file ~/pam-info-debug.txt
...
when file /etc/pam-info-debug exists
2022-11-15 12:29:41 -05:00
Patrick Schleizer
2872c2ab52
comments
2022-11-15 12:00:59 -05:00
Patrick Schleizer
6033de7815
debugging
2022-11-15 11:58:50 -05:00
Raja Grewal
daa30d4e78
Include several framebuffer drivers into blacklist
...
These were previously commented out to test for compatibility issues.
2022-11-09 20:43:59 +11:00
Patrick Schleizer
2319458e9f
bumped changelog version
2022-08-24 18:28:39 -04:00
Patrick Schleizer
cdfc175953
Merge remote-tracking branch 'github-kicksecure/master'
2022-08-22 06:09:30 -04:00
Patrick Schleizer
ae4d4989b0
Merge pull request #113 from raja-grewal/master
...
Comment out machine check exception
2022-08-22 06:09:40 -04:00
Raja Grewal
d500205f55
Update README.md
2022-08-21 23:03:13 +10:00
Raja Grewal
92669dba18
Comment out machine check exception
2022-08-21 23:02:44 +10:00
Patrick Schleizer
ff8451469a
bumped changelog version
2022-08-13 11:40:04 -04:00
Patrick Schleizer
272a33fe2c
addgroup -> adduser fix
2022-08-13 11:35:25 -04:00
Patrick Schleizer
7d5246693c
bumped changelog version
2022-08-12 07:52:26 -04:00
Patrick Schleizer
82da4ed18f
comments
2022-07-28 09:56:24 -04:00
Patrick Schleizer
a6bee1493d
cold-boot-attack-defense wait longer to make messages readable by user
2022-07-28 09:55:12 -04:00
Patrick Schleizer
1095949523
bumped changelog version
2022-07-26 10:00:53 -04:00
Patrick Schleizer
053142cdb5
fix
2022-07-26 10:00:21 -04:00
Patrick Schleizer
73f6523e09
bumped changelog version
2022-07-23 08:07:37 -04:00
Patrick Schleizer
0c5b1e9f57
undo "force kernel to panic on "oopses"
...
because implemented differently already
https://forums.whonix.org/t/set-oops-panic-kernel-parameter-or-kernel-panic-on-oops-1-sysctl-for-better-security/7713
2022-07-23 07:49:56 -04:00
Patrick Schleizer
c1c04b4619
Merge remote-tracking branch 'github-kicksecure/master'
2022-07-23 07:43:19 -04:00
Patrick Schleizer
bfe6b88839
Merge pull request #111 from raja-grewal/harden
...
Increased kernel hardening at boot
2022-07-23 07:27:24 -04:00
Raja Grewal
ca764d8de0
force kernel to panic on "oopses"
2022-07-20 04:06:35 +10:00
Raja Grewal
1660aaa6dd
update details around disabling SMT
2022-07-19 03:38:41 +10:00
Raja Grewal
bfd78a2c06
update SRBDS mitigation
2022-07-19 03:16:08 +10:00
Raja Grewal
c3ebb9160f
CPU mitigation - MMIO Stale Data
2022-07-19 02:33:16 +10:00
Raja Grewal
59e90ff122
CPU mitigation - L1D FLushing
2022-07-19 02:32:41 +10:00
Raja Grewal
8531fbf99d
CPU mitigation - SRBDS
2022-07-19 02:30:49 +10:00
Raja Grewal
73f1e23332
shuffle and rewording
2022-07-19 02:29:46 +10:00
Raja Grewal
39314b2912
Merge branch 'harden' of https://github.com/raja-grewal/security-misc into harden
2022-07-19 00:49:08 +10:00
Raja Grewal
bb831d57bc
delete repeated commands
2022-07-19 00:38:32 +10:00
Raja Grewal
c77a2a78bc
enforce default net.ipv6.icmp_ignore_bogus_error_responses
2022-07-19 00:37:31 +10:00
Raja Grewal
c4a1094760
Merge branch 'Kicksecure:master' into harden
2022-07-18 13:36:23 +00:00
Patrick Schleizer
465775c9dc
bumped changelog version
2022-07-16 08:00:16 -04:00
Patrick Schleizer
1fafb5f53b
Merge remote-tracking branch 'github-kicksecure/master'
2022-07-15 08:09:16 -04:00
Patrick Schleizer
27aa5231e2
Merge pull request #112 from raja-grewal/blacklist
...
Corrected kernel module disabling
2022-07-15 08:06:08 -04:00
Raja Grewal
a72bbb1883
Corrected kerenl module disabling
2022-07-13 23:42:13 +10:00
Patrick Schleizer
24d6a93eac
bumped changelog version
2022-07-13 08:28:34 -04:00
Raja Grewal
2b237039cf
Update README.md
2022-07-13 22:25:53 +10:00
Patrick Schleizer
8f31e5d1d1
Merge remote-tracking branch 'github-kicksecure/master'
2022-07-13 07:26:58 -04:00
Patrick Schleizer
c410890a8a
Merge pull request #110 from raja-grewal/master
...
Incorporated Ubuntu’s kernel module blacklists and more verbose errors
2022-07-13 07:24:12 -04:00
Raja Grewal
4e93b4d37e
Revert "enforce defualt net.ipv4.ip_forward"
...
This reverts commit 57b5b2145c
.
2022-07-13 21:10:39 +10:00
Raja Grewal
a47922ad28
enforce of IOMMU TLB invalidation
2022-07-13 04:47:07 +10:00
Raja Grewal
33df16af80
disables random.trust_bootloader
2022-07-13 04:37:03 +10:00
Raja Grewal
d0779a96fc
add reference
2022-07-13 04:36:34 +10:00
Raja Grewal
74858d257b
enable randomize_kstack_offset
2022-07-13 04:34:35 +10:00
Raja Grewal
f572332108
disable slub_debug
2022-07-13 04:32:03 +10:00
Raja Grewal
57b5b2145c
enforce defualt net.ipv4.ip_forward
2022-07-13 04:30:43 +10:00
Raja Grewal
79156262c9
enforce default net.ipv4.icmp_ignore_bogus_error_responses
2022-07-13 04:29:42 +10:00
Raja Grewal
dabcaf22e1
enforce default kernel.randomize_va_space
2022-07-13 04:28:03 +10:00
Raja Grewal
fe0cc10890
Updated README.md
2022-07-12 17:18:47 +10:00
Raja Grewal
48089e5ba4
More verbose kernel module blocking error logs
2022-07-12 17:02:12 +10:00
Raja Grewal
40ec791774
Updated comments
2022-07-12 16:58:16 +10:00
Raja Grewal
ef1ef9917d
Blacklist automatic loading of CD-ROM modules
2022-07-10 04:53:25 +10:00
Raja Grewal
61ef9bd59f
Incorporated Ubuntu’s kernel module blacklists
2022-07-10 04:52:00 +10:00
Patrick Schleizer
6aa9a9472f
bumped changelog version
2022-07-09 11:42:24 -04:00
Patrick Schleizer
3b844eaab2
output
2022-07-09 11:42:11 -04:00
Patrick Schleizer
73d2c9d921
output
2022-07-09 11:40:15 -04:00
Patrick Schleizer
adfdac6dea
output
2022-07-09 11:40:01 -04:00
Patrick Schleizer
1df2cfd1ad
comment
2022-07-09 11:38:37 -04:00
Patrick Schleizer
fede41e6e0
fix
2022-07-09 11:38:04 -04:00
Patrick Schleizer
52c46e4706
Merge remote-tracking branch 'github-kicksecure/master'
2022-07-09 11:37:41 -04:00
Patrick Schleizer
dc41a58102
Merge pull request #108 from Krish-sysadmin/master
...
Continue for loop if unable to change one directory's permission
2022-07-09 11:37:57 -04:00
Patrick Schleizer
1b8500cc22
bumped changelog version
2022-07-07 17:41:13 -04:00
Patrick Schleizer
277749f27b
genmkfile debinstfile
2022-07-07 15:49:08 -04:00
Patrick Schleizer
eb8535fe87
renamed: usr/bin/disabled-by-security-misc -> bin/disabled-by-security-misc
2022-07-07 15:48:39 -04:00
Patrick Schleizer
26b2c9727f
not blacklist CD-ROM / DVD yet
...
https://forums.whonix.org/t/blacklist-more-kernel-modules-to-reduce-attack-surface/7989/31
2022-07-07 15:39:40 -04:00
Patrick Schleizer
d5c1650341
shuffle
2022-07-07 15:28:09 -04:00
Patrick Schleizer
ca19d78d48
shuffle
2022-07-07 15:27:15 -04:00
Patrick Schleizer
d018bdaf73
Merge remote-tracking branch 'raja-gerwal/master'
2022-07-07 15:26:08 -04:00
Raja Grewal
780dc8eec9
replace /bin/false -> /bin/disabled-by-security-misc
2022-07-08 04:11:25 +10:00
Raja Grewal
fa2e30f512
Updated descriptions of disabled modules
2022-07-08 03:04:37 +10:00
Raja Grewal
da389d6682
Revert "replace /bin/false -> /bin/true"
...
This reverts commit f0511635a9
.
2022-07-08 02:12:04 +10:00
raja-grewal
28381e81d4
Update README.md
2022-07-07 09:28:30 +00:00
raja-grewal
f0511635a9
replace /bin/false -> /bin/true
2022-07-07 09:27:53 +00:00
raja-grewal
18d67dbc53
Blacklist more modules
2022-07-07 09:26:55 +00:00
Patrick Schleizer
1b287a6430
bumped changelog version
2022-07-05 11:16:33 -04:00
Patrick Schleizer
92ff868ece
readme
2022-07-05 11:05:36 -04:00
Patrick Schleizer
b8ba608535
readme
2022-07-05 10:57:28 -04:00
Patrick Schleizer
949edf3e17
readme
2022-07-05 10:48:58 -04:00
Patrick Schleizer
1c0e071948
comments
2022-07-05 10:45:55 -04:00
Patrick Schleizer
5d47f5f74c
comments
2022-07-05 10:45:09 -04:00
Patrick Schleizer
435c689cf9
comments
2022-07-05 10:44:28 -04:00
Patrick Schleizer
c20d588d78
comments
2022-07-05 10:42:37 -04:00
Patrick Schleizer
8f03ce049a
readme
2022-07-05 10:41:55 -04:00
Patrick Schleizer
b342ce930e
add /etc/default/grub.d/40_cold_boot_attack_defense.cfg
2022-07-05 10:28:22 -04:00
Krish-sysadmin
e5f8004a94
Update hide-hardware-info
2022-07-05 03:37:40 +02:00
Patrick Schleizer
69af8be7b8
drop_caches before and after sdmem
2022-07-02 19:10:55 -04:00
Patrick Schleizer
67bdd58bf2
sync
2022-07-02 19:07:06 -04:00
Patrick Schleizer
01b82bf0f0
bumped changelog version
2022-07-02 18:30:06 -04:00
Patrick Schleizer
973f117aa6
wipe RAM at shutdown: Ensure any remaining disk cache is erased by Linux' memory poisoning
...
by running:
`echo 3 > /proc/sys/vm/drop_caches`
Inspired by Tails:
https://gitlab.tails.boum.org/tails/tails/-/blob/master/config/chroot_local-includes/usr/local/lib/initramfs-pre-shutdown-hook
2022-07-02 18:12:36 -04:00
Patrick Schleizer
e783ddc71e
bumped changelog version
2022-07-02 17:37:16 -04:00
Patrick Schleizer
95187bd357
fix
2022-07-02 17:21:33 -04:00
Patrick Schleizer
3bd87d019f
bumped changelog version
2022-07-02 16:03:52 -04:00
Patrick Schleizer
148a050468
fix
2022-07-02 16:03:45 -04:00
Patrick Schleizer
82e7863d5b
improvement
2022-07-02 16:02:28 -04:00
Patrick Schleizer
aebca1b3dc
bumped changelog version
2022-07-02 15:52:08 -04:00
Patrick Schleizer
1144b39e5e
debugging
2022-07-02 15:50:59 -04:00
Patrick Schleizer
c29b21c08a
output
2022-07-02 15:45:19 -04:00
Patrick Schleizer
ed8ce9a7d0
bumped changelog version
2022-07-02 15:32:51 -04:00
Patrick Schleizer
d34fe21963
fix
2022-07-02 15:32:42 -04:00
Patrick Schleizer
7a448e01a1
bumped changelog version
2022-07-02 14:27:04 -04:00
Patrick Schleizer
32fdcf522b
- introduce wiperam=skip
kernel parameter to skip wipe ram
...
- introduce `wiperam=force` kernel parameter to force wipe ram inside VMs
2022-06-30 14:47:45 -04:00
Patrick Schleizer
036f518ddc
improvement
2022-06-30 13:56:29 -04:00
Patrick Schleizer
0e2fae2b69
skip ram wipe inside VMs
...
https://forums.whonix.org/t/is-ram-wipe-possible-inside-whonix-cold-boot-attack-defense/5596/40
2022-06-30 13:50:18 -04:00
Patrick Schleizer
e06405c7be
undo
2022-06-29 16:56:16 -04:00
Patrick Schleizer
1b97d9cb76
fix
2022-06-29 16:30:31 -04:00
Patrick Schleizer
26be74bfe5
bumped changelog version
2022-06-29 16:25:07 -04:00
Patrick Schleizer
92c543e71f
output
2022-06-29 16:24:52 -04:00
Patrick Schleizer
d4161b2748
output
2022-06-29 16:23:42 -04:00
Patrick Schleizer
1ce7b27297
improvement
2022-06-29 16:23:12 -04:00
Patrick Schleizer
aae4fdcffd
bumped changelog version
2022-06-29 16:06:33 -04:00
Patrick Schleizer
8b584c570a
lintian
2022-06-29 16:06:22 -04:00
Patrick Schleizer
a1f752ad00
bumped changelog version
2022-06-29 16:03:58 -04:00
Patrick Schleizer
f5e0c1742a
credits
2022-06-29 16:02:05 -04:00
Patrick Schleizer
42e24f3c24
update file names
2022-06-29 15:54:49 -04:00
Patrick Schleizer
52aaac9b6d
rename
2022-06-29 15:53:52 -04:00
Patrick Schleizer
619bb3cf4d
rename
2022-06-29 15:53:24 -04:00
Patrick Schleizer
2a8504cf1b
move
2022-06-29 15:51:14 -04:00
Patrick Schleizer
af8b211c23
improvements
2022-06-29 15:50:20 -04:00
Patrick Schleizer
0b0cda8f8f
bumped changelog version
2022-06-29 15:24:40 -04:00
Patrick Schleizer
e9cd5d934b
copyright
2022-06-29 15:24:27 -04:00
Patrick Schleizer
1c51d15649
lintian
2022-06-29 15:23:53 -04:00
Patrick Schleizer
4b0cd53fee
bumped changelog version
2022-06-29 15:22:41 -04:00
Patrick Schleizer
9ab81d4581
do not power off too fast so wipe ram messages can be read
2022-06-29 15:22:00 -04:00
Patrick Schleizer
19439033de
copyright
2022-06-29 15:19:56 -04:00
Patrick Schleizer
fc202ede16
delete no longer required usr/lib/dracut/modules.d/40sdmem-security-misc/README.md
2022-06-29 15:18:28 -04:00
Patrick Schleizer
6d3a08a936
improvements
2022-06-29 15:17:40 -04:00
Patrick Schleizer
87e5f49f8d
bumped changelog version
2022-06-29 14:18:02 -04:00
Patrick Schleizer
6eba53767f
lintian
2022-06-29 14:17:52 -04:00
Patrick Schleizer
81c15e88af
bumped changelog version
2022-06-29 14:15:48 -04:00
Patrick Schleizer
8a072437cc
ram wipe on shutdown: fix, added need_shutdown
hook
...
Otherwise dracut does not run on shutdown.
Without `need_shutdown` file `/run/initramfs/.need_shutdown` does not get created.
And without that file `/usr/lib/dracut/dracut-initramfs-restore`,
which itself is started by `/lib/systemd/system/dracut-shutdown.service` does nothing.
2022-06-29 14:13:30 -04:00
Patrick Schleizer
4d937f551f
bumped changelog version
2022-06-29 13:03:35 -04:00
Patrick Schleizer
924077e04c
verbose
2022-06-29 13:02:53 -04:00
Patrick Schleizer
db301dfd7f
comment
2022-06-29 13:02:39 -04:00
Patrick Schleizer
73d2ada0de
comment
2022-06-29 13:02:01 -04:00
Patrick Schleizer
67eaf8c916
comments
2022-06-29 11:40:38 -04:00
Patrick Schleizer
72908d6b0d
comments
2022-06-29 11:34:55 -04:00
Patrick Schleizer
43ea4dbb83
bumped changelog version
2022-06-29 11:18:59 -04:00
Patrick Schleizer
295811a88f
improvements
2022-06-29 11:14:52 -04:00
Patrick Schleizer
e5d85d69ef
bumped changelog version
2022-06-29 10:02:18 -04:00
Patrick Schleizer
af8ff65f84
comment
2022-06-29 10:01:51 -04:00
Patrick Schleizer
cfae7de6a8
lintian
2022-06-29 09:58:37 -04:00
Patrick Schleizer
83519a58c7
bumped changelog version
2022-06-29 09:54:27 -04:00
Patrick Schleizer
024d52a67e
improve usr/lib/dracut/modules.d/40sdmem-security-misc/module-setup.sh
2022-06-29 09:52:53 -04:00
Patrick Schleizer
29253004b6
minor
2022-06-29 09:38:18 -04:00
Patrick Schleizer
6f19af1542
add shebang /bin/sh
...
to fix lintian warning
security-misc: executable-not-elf-or-script usr/lib/dracut/modules.d/40sdmem-security-misc/wipe.sh
2022-06-29 09:35:08 -04:00
Patrick Schleizer
38cdf2722b
- Wipe LUKS Disk Encryption Key for Root Disk from RAM during Shutdown to defeat Cold Boot Attacks
...
- Confirm in console output if encrypted mounts (root disk) is unmounted. (Because that is a pre-condition for wiping the LUKS full disk encryption key from RAM.)
Thanks to @friedy10!
https://github.com/friedy10/dracut/tree/master/modules.d/40sdmem
https://forums.whonix.org/t/is-ram-wipe-possible-inside-whonix-cold-boot-attack-defense/5596
2022-06-29 09:32:55 -04:00
Patrick Schleizer
adca1ebdf6
bumped changelog version
2022-06-08 11:05:07 -04:00
Patrick Schleizer
d7dd188651
remove unicode
2022-06-08 09:27:02 -04:00
Patrick Schleizer
55d16e1602
remove unicode
2022-06-08 09:04:03 -04:00
Patrick Schleizer
fcaec49675
Merge remote-tracking branch 'github-kicksecure/master'
2022-06-08 08:20:24 -04:00
Patrick Schleizer
995e4ba7fa
Merge pull request #104 from ntninja/patch-1
...
Fix issues found with permission-hardening on my system
2022-06-08 08:19:03 -04:00
Patrick Schleizer
5c43197f10
minor
2022-06-08 08:11:28 -04:00
Kuri Schlarb
6e8f584d88
permission-hardening: Keep pam_unix.so
password checking helper SetGID shadow
2022-06-08 05:29:42 +00:00
Kuri Schlarb
2bdda9d0a0
permssion-hardening: Do not skip config file lines without trailing newline (ancient bash bug)
2022-06-07 08:18:05 +00:00
Kuri Schlarb
3910e4ee15
permission-hardening: Keep passwd
executable but non-SetUID
2022-06-07 08:11:51 +00:00
Kuri Schlarb
9fd8e1c9b0
permission-hardening: Fix issue with pipelining failures causing incorrect user/group lookup results
2022-06-07 08:03:56 +00:00
Patrick Schleizer
616fe857f7
bumped changelog version
2022-05-25 06:07:17 -04:00
Patrick Schleizer
7e2efe0155
readme
2022-05-20 15:27:10 -04:00
Patrick Schleizer
2d37e3a1af
copyright
2022-05-20 14:46:38 -04:00
Patrick Schleizer
78a9956b73
Merge remote-tracking branch 'github-kicksecure/master'
2022-05-19 19:41:33 -04:00
Patrick Schleizer
7651308787
Merge pull request #103 from 0xC0ncord/bugfix/selinuxfs_restrictions
...
hide-hardware-info: re-enable restrictions on sysfs when using SELinux
2022-05-19 19:39:42 -04:00
Patrick Schleizer
4a3ed17160
readme
2022-05-19 17:25:58 -04:00
Patrick Schleizer
bb0307290b
update link
2022-04-16 14:18:35 -04:00
Patrick Schleizer
2677db34ba
readme
2022-04-10 12:40:16 -04:00
0xC0ncord
93efa506da
hide-hardware-info: disable selinux whitelist by default
2022-03-17 11:41:57 -04:00
Patrick Schleizer
0051a6935a
bumped changelog version
2022-02-10 14:06:54 -05:00
Patrick Schleizer
b0a0004a85
output
2022-02-10 13:47:10 -05:00
Patrick Schleizer
4f6f588fb5
fix, skip deletion of system.map files on read-only filesystems
...
This is required for Qubes /lib/modules read-only implementation at time of writing.
Thanks to @marmarek for the bug report!
https://forums.whonix.org/t/remove-system-map-cannot-work-lib-modules-is-mounted-read-only/13324
2022-02-10 13:44:55 -05:00
Patrick Schleizer
356232677a
readme
2021-11-09 14:32:33 -05:00
0xC0ncord
4172232eb7
hide-hardware-info: make indentation consistent
2021-10-10 16:03:40 -04:00
0xC0ncord
060d7d890a
hide-hardware-info: re-enable restrictions on sysfs when using SELinux
...
When using SELinux, restrict the parts of sysfs explicitly to ensure
restrictions are working as expected.
2021-10-10 16:03:07 -04:00
Patrick Schleizer
96026a5e90
bumped changelog version
2021-09-14 14:18:52 -04:00
Patrick Schleizer
c72567dbd2
fix
2021-09-14 14:18:44 -04:00
Patrick Schleizer
03276fbec5
bumped changelog version
2021-09-12 11:57:20 -04:00
Patrick Schleizer
d62bbaab82
fix, unduplicate kernel command line
2021-09-12 11:40:58 -04:00
Patrick Schleizer
fb0540650c
readme
2021-09-11 16:33:14 -04:00
Patrick Schleizer
64e9f0016a
bumped changelog version
2021-09-09 12:35:37 -04:00
Patrick Schleizer
bd31b4085c
remove Debian buster support in /etc/default/grub.d
2021-09-09 12:16:18 -04:00
Patrick Schleizer
d16d9a5455
bumped changelog version
2021-09-06 09:46:20 -04:00
Patrick Schleizer
ac0c492663
do not set kernel parameter quiet loglevel=0
for recovery boot option
...
for easier debugging
2021-09-06 08:22:55 -04:00
Patrick Schleizer
49902b8c56
move grub quiet to separate config file /etc/default/grub.d/41_quiet.cfg
2021-09-06 08:19:41 -04:00
Patrick Schleizer
bb3a3178f1
bumped changelog version
2021-09-06 04:55:23 -04:00
Patrick Schleizer
f5b0e4b5b8
debugging
2021-09-06 04:55:16 -04:00
Patrick Schleizer
a67d1754d4
bumped changelog version
2021-09-05 16:04:28 -04:00
Patrick Schleizer
6257bfa926
debugging
2021-09-05 15:54:20 -04:00
Patrick Schleizer
1b09d56718
bumped changelog version
2021-09-04 18:29:00 -04:00
Patrick Schleizer
a4e18a2ae8
dracut
reproducible=yes
2021-09-04 18:28:37 -04:00
Patrick Schleizer
1a10293b04
bumped changelog version
2021-09-04 12:00:55 -04:00
Patrick Schleizer
e2810f348b
Depends: libpam-modules-bin
2021-09-04 11:50:31 -04:00
Patrick Schleizer
3c64ec8f91
bumped changelog version
2021-09-02 14:36:53 -04:00
Patrick Schleizer
be8c10496f
fix faillock implementation
...
dovecot / ssh are exempted
2021-09-01 15:55:53 -04:00
Patrick Schleizer
8b104f544a
fix, add sshd to pam_service_exclusion_list
...
to avoid faillock
2021-09-01 15:45:36 -04:00
Patrick Schleizer
224ae730c1
bumped changelog version
2021-08-22 05:32:18 -04:00
Patrick Schleizer
db43cedcfd
LANG=C str_replace
2021-08-22 05:23:24 -04:00
Patrick Schleizer
ef2b067c03
bumped changelog version
2021-08-17 15:24:12 -04:00
Patrick Schleizer
08adf4a07d
readme
2021-08-17 15:23:49 -04:00
Patrick Schleizer
7d73b3ffa0
add hardened malloc compatibility for haveged workaround
...
`/lib/systemd/system/haveged.service.d/30_security-misc.conf`
`SystemCallFilter=getrandom`
Otherwise haveged will exit with a core dump.
2021-08-17 15:21:26 -04:00
Patrick Schleizer
8676beef90
bumped changelog version
2021-08-10 18:26:32 -04:00
Patrick Schleizer
582492d6d8
port from pam_tally2 to pam_faillock
...
since pam_tally2 was deprecated upstream
2021-08-10 17:13:00 -04:00
Patrick Schleizer
2bf0e7471c
port from pam_tally2 to pam_faillock
...
since pam_tally2 was deprecated upstream
2021-08-10 15:11:01 -04:00
Patrick Schleizer
2aea74bd71
renamed: usr/libexec/security-misc/pam_tally2-info -> usr/libexec/security-misc/pam-info
...
renamed: usr/libexec/security-misc/pam_tally2_not_if_x -> usr/libexec/security-misc/pam_faillock_not_if_x
renamed: usr/share/pam-configs/tally2-security-misc -> usr/share/pam-configs/faillock-security-misc
2021-08-10 15:06:04 -04:00
Patrick Schleizer
6376bbff80
bumped changelog version
2021-08-05 17:03:43 -04:00
Patrick Schleizer
3756016f42
lintian --suppress-tags obsolete-command-in-modprobe.d-file
...
https://forums.whonix.org/t/blacklist-more-kernel-modules-to-reduce-attack-surface/7989/24
2021-08-03 13:04:34 -04:00
Patrick Schleizer
50bdd097df
move /usr/lib/security-misc to /usr/libexec/security-misc as per lintian FHS
2021-08-03 12:56:31 -04:00
Patrick Schleizer
4fadaad8c0
lintian FHS
2021-08-03 12:52:10 -04:00
Patrick Schleizer
6607c1e4bd
move /usr/lib/helper-scripts and /usr/lib/curl-scripts to /usr/libexec/helper-scripts as per lintian FHS
2021-08-03 12:48:57 -04:00
Patrick Schleizer
0492f28aa1
enable "apt-get --error-on=any
" by default
...
makes apt exit non-zero for transient failures
`/etc/apt/apt.conf.d/40error-on-any`
https://forums.whonix.org/t/debian-bullseye-apt-get-error-on-any/12068
2021-08-03 12:37:39 -04:00
Patrick Schleizer
240ec7672a
replace no longer required /usr/lib/security-misc/apt-get-wrapper
with apt-get --error-on=any
2021-08-03 12:19:26 -04:00
Patrick Schleizer
8eae635668
update lintian tag name
2021-08-03 11:51:31 -04:00
Patrick Schleizer
5e3338f8d3
bullseye
2021-08-03 05:48:25 -04:00
Patrick Schleizer
bb3e65f7a8
bullseye
2021-08-03 03:25:35 -04:00
Patrick Schleizer
c94281121e
comment
2021-08-01 16:37:02 -04:00
Patrick Schleizer
3599e8e2da
readme
2021-08-01 16:24:41 -04:00
Patrick Schleizer
82f3961a71
bumped changelog version
2021-08-01 13:12:08 -04:00
Patrick Schleizer
5a65c35479
port LKRG compatibility settings automation for VirtualBox hosts from systemd to dpkg trigger
2021-08-01 13:11:18 -04:00
Patrick Schleizer
f03c7978c7
bumped changelog version
2021-07-25 11:31:45 -04:00
Patrick Schleizer
b3e34f7f43
comment
2021-07-25 11:27:07 -04:00
Patrick Schleizer
7e128636b3
improve LKRG VirtualBox host configuration
...
as per https://github.com/openwall/lkrg/issues/82#issuecomment-886188999
2021-07-25 11:26:20 -04:00
Patrick Schleizer
3ebe9e7c53
bumped changelog version
2021-07-24 18:10:06 -04:00
Patrick Schleizer
257cef24ba
add LKRG compatibility settings automation for VirtualBox hosts
...
https://github.com/openwall/lkrg/issues/82
2021-07-24 18:03:40 -04:00
Patrick Schleizer
0f86ffef04
bumped changelog version
2021-06-23 11:20:39 -04:00
Patrick Schleizer
74e39cbf69
pam-abort-on-locked-password: more descriptive error handling
...
https://forums.whonix.org/t/restrict-root-access/7658/1
2021-06-20 11:18:56 -04:00
Patrick Schleizer
0f3dbfc4a1
bumped changelog version
2021-06-20 10:16:57 -04:00
Patrick Schleizer
eff5af0318
https://forums.whonix.org/t/restrict-root-access/7658/116
2021-06-20 10:16:33 -04:00
Patrick Schleizer
419f1d89c2
bumped changelog version
2021-06-07 12:13:37 -04:00
Patrick Schleizer
30d1ce36af
Merge remote-tracking branch 'github-whonix/master'
2021-06-07 12:11:58 -04:00
Patrick Schleizer
70a1eb25a5
Merge pull request #101 from madaidan/sudo
...
Restrict sudo's file permissions
2021-06-05 15:55:41 -04:00
madaidan
97d8db3f74
Restrict sudo's file permissions
2021-06-05 19:16:42 +00:00
Patrick Schleizer
0305baf211
bumped changelog version
2021-06-01 07:36:59 -04:00
Patrick Schleizer
d87bee37f7
comment
2021-06-01 07:21:18 -04:00
Patrick Schleizer
809930c021
comment
2021-06-01 05:36:01 -04:00
Patrick Schleizer
5bd59991cb
bumped changelog version
2021-05-05 08:37:56 -04:00
Patrick Schleizer
6e759f9196
config-package-dev displace /etc/dkms/framework.conf
...
https://forums.whonix.org/t/enforce-kernel-module-software-signature-verification-module-signing-disallow-kernel-module-loading-by-default/7880/58
2021-04-29 11:17:30 -04:00
Patrick Schleizer
e2afd00627
modify DKMS configuration file /etc/dkms/framework.conf
...
Lower parallel compilation jobs to 1 if less than 2 GB RAM to avoid freezing of virtual machines.
`parallel_jobs=1`
This does not necessarily belong into security-misc, however likely
security-misc will need to modify `/etc/dkms/framework.conf` in the future to
enable kernel module signing.
https://forums.whonix.org/t/linux-kernel-runtime-guard-lkrg-linux-kernel-runtime-integrity-checking-and-exploit-detection/8477/26
https://forums.whonix.org/t/enforce-kernel-module-software-signature-verification-module-signing-disallow-kernel-module-loading-by-default/7880/58
2021-04-29 11:14:30 -04:00
Patrick Schleizer
3ba3b37187
add /etc/dkms/framework.conf.security-misc
...
original, from
- https://github.com/dell/dkms/blob/master/dkms_framework.conf
- https://raw.githubusercontent.com/dell/dkms/master/dkms_framework.conf
https://forums.whonix.org/t/enforce-kernel-module-software-signature-verification-module-signing-disallow-kernel-module-loading-by-default/7880/58
2021-04-29 11:08:30 -04:00
Patrick Schleizer
1d35bdf291
bumped changelog version
2021-04-05 11:58:47 -04:00
Patrick Schleizer
41734ec523
systemd RemainAfterExit=yes
...
for better usability
https://forums.whonix.org/t/restrict-hardware-information-to-root-testers-wanted/8618/33
2021-04-03 11:44:13 -04:00
Patrick Schleizer
e8ea94325b
bumped changelog version
2021-03-17 12:31:34 -04:00
Patrick Schleizer
a67007f4b7
copyright
2021-03-17 09:45:21 -04:00
Patrick Schleizer
0c4a7207e4
bumped changelog version
2021-03-04 07:09:01 -05:00
Patrick Schleizer
a1819e8cab
comment
2021-03-01 09:15:44 -05:00
Patrick Schleizer
3382192b89
Merge remote-tracking branch 'github/master'
2021-03-01 09:12:18 -05:00
Patrick Schleizer
2e8e3c07c4
Merge pull request #100 from 0xC0ncord/bugfix/selinuxfs_restrictions
...
hide-hardware-info: allow unrestricting selinuxfs
2021-03-01 14:11:28 +00:00
Patrick Schleizer
7f30d70295
bumped changelog version
2021-02-06 06:31:45 -05:00
Patrick Schleizer
83c0be5177
readme
2021-02-06 06:27:54 -05:00
Kenton Groombridge
4db7d6be64
hide-hardware-info: allow unrestricting selinuxfs
...
On SELinux systems, the /sys/fs/selinux directory must be visible to
userspace utilities in order to function properly.
2021-02-06 03:02:08 -05:00
Patrick Schleizer
3120ff3ec9
bumped changelog version
2021-01-29 23:37:03 -05:00
Patrick Schleizer
af3244741d
comment
2021-01-29 23:15:52 -05:00
Patrick Schleizer
d9aaf59105
bumped changelog version
2021-01-28 02:15:46 -05:00
Patrick Schleizer
b0b7f569ee
comment
2021-01-28 02:11:54 -05:00
Patrick Schleizer
f2595cc254
bumped changelog version
2021-01-27 05:50:16 -05:00
Patrick Schleizer
9622f28e25
skip counting failed login attempts from dovecot
...
Failed dovecot logins should not result in account getting locked.
revert "use pam_tally2 only for login"
2021-01-27 05:49:34 -05:00
Patrick Schleizer
480f74cab6
bumped changelog version
2021-01-24 05:10:36 -05:00
Patrick Schleizer
6757104aa4
use pam_tally2 only for login
...
to skip counting failed login attempts over ssh and mail login
2021-01-24 05:04:48 -05:00
Patrick Schleizer
126c31c37d
bumped changelog version
2021-01-19 19:41:43 -05:00
Patrick Schleizer
14d13fb03e
readme
2021-01-19 19:41:42 -05:00
Patrick Schleizer
611fbe2c61
description
2021-01-18 05:39:34 -05:00
Patrick Schleizer
0e8ea5eb72
bumped changelog version
2021-01-14 02:36:49 -05:00
Patrick Schleizer
ddd62c1eef
readme
2021-01-12 03:24:11 -05:00
Patrick Schleizer
468d8b600d
readme
2021-01-12 03:20:58 -05:00
Patrick Schleizer
b5cee63999
new file: README_generic.md
2021-01-12 03:19:31 -05:00
Patrick Schleizer
94627f0875
Merge remote-tracking branch 'github/master'
2021-01-12 03:18:41 -05:00
Patrick Schleizer
79876f7b12
Merge pull request #99 from madaidan/docs
...
Overhaul documentation
2021-01-12 08:17:04 +00:00
madaidan
3066b5ad97
Overhaul documentation
2021-01-12 02:17:13 +00:00
Patrick Schleizer
353e74fb5f
bumped changelog version
2021-01-05 08:30:37 -05:00
Patrick Schleizer
a258f35f38
comment
2021-01-05 02:11:08 -05:00
Patrick Schleizer
a4d7e46141
bumped changelog version
2020-12-10 05:20:57 -05:00
Patrick Schleizer
c5097ed599
comment
2020-12-06 04:23:09 -05:00
Patrick Schleizer
b2b614ed2a
cover more folders in /usr/local
2020-12-06 04:15:52 -05:00
Patrick Schleizer
5bd267d774
refactoring
2020-12-06 04:10:50 -05:00
Patrick Schleizer
11cdce02a0
refactoring
2020-12-06 04:10:10 -05:00
Patrick Schleizer
f73c55f16c
/opt
...
https://forums.whonix.org/t/suid-disabler-and-permission-hardener/7706/68
2020-12-06 04:08:58 -05:00
Patrick Schleizer
261ef85c14
bumped changelog version
2020-12-01 05:53:06 -05:00
Patrick Schleizer
c031f22995
SUID Disabler and Permission Hardener: introduce configuration option to disable all whitelists
...
`whitelists_disable_all=true`
2020-12-01 05:14:48 -05:00
Patrick Schleizer
b09cc0de6a
Revert "SUID Disabler and Permission Hardener: introduce configuration option to disable all whitelists"
...
This reverts commit 36a471ebce
.
2020-12-01 05:10:26 -05:00
Patrick Schleizer
704f0500ba
fix, rename 40_default_whitelist_[...].conf to 25_default_whitelist_[...].conf
...
since whitelist needs to be defined before SUID removal commands
2020-12-01 05:03:16 -05:00
Patrick Schleizer
36a471ebce
SUID Disabler and Permission Hardener: introduce configuration option to disable all whitelists
...
`whitelists_disable_all=true`
2020-12-01 05:02:34 -05:00
Patrick Schleizer
318ab570aa
simplify disabling of SUID Disabler and Permission Hardener whitelist
...
split `/etc/permission-hardening.d/30_default.conf` into multiple files
`/etc/permission-hardening.d/40_default_whitelist_[...].conf`
therefore make it easier to delete any whitelisted SUID binaries
2020-12-01 04:28:15 -05:00
Patrick Schleizer
cf07e977bd
add /bin/pkexec exactwhitelist
for consistency
...
since there is already `/usr/bin/pkexec exactwhitelist`
2020-11-29 09:09:42 -05:00
Patrick Schleizer
fe27483886
bumped changelog version
2020-11-28 06:08:10 -05:00
Patrick Schleizer
28a326a8a1
add feature /usr/lib/security-misc/permission-hardening-undo /path/to/filename
...
to allow removing 1 SUID
fix, show INFO message if file does not exist during removal rather than ERROR
2020-11-28 05:31:12 -05:00
Patrick Schleizer
0ef35f8770
bumped changelog version
2020-11-06 10:18:09 -05:00
Patrick Schleizer
abae787186
usability: pam abort when attempting to login to root when root password is locked
2020-11-05 06:47:16 -05:00
Patrick Schleizer
581e31af81
comment
2020-11-05 06:46:57 -05:00
Patrick Schleizer
dfe9b0f6c7
fix, no longer unconditionally abort pam for user accounts with locked passwords
...
as locked user accounts might have valid sudoers exceptions
Thanks to @mimp for the bug report!
https://forums.whonix.org/t/pam-abort-on-locked-password-and-running-privileged-command-from-web-browser/10521
2020-11-05 06:42:47 -05:00
Patrick Schleizer
211769dc65
comment
2020-11-05 06:41:51 -05:00
Patrick Schleizer
7952139731
comment
2020-11-05 06:39:32 -05:00
Patrick Schleizer
bb72c1278d
copyright
2020-11-05 06:36:39 -05:00
Patrick Schleizer
f4843b1deb
bumped changelog version
2020-10-31 06:29:25 -04:00
Patrick Schleizer
c1e0bb8310
shebang
2020-10-31 06:11:49 -04:00
Patrick Schleizer
b06d4ca299
bumped changelog version
2020-10-31 06:09:22 -04:00
Patrick Schleizer
3f656be574
chmod +x /etc/X11/Xsession.d/50panic_on_oops
...
chmod +x /etc/X11/Xsession.d/50security-misc
2020-10-31 05:48:10 -04:00
Patrick Schleizer
881d695bff
bumped changelog version
2020-10-05 07:03:37 -04:00
Patrick Schleizer
3adb2c92d9
Merge remote-tracking branch 'github/master'
2020-10-03 14:10:32 -04:00
Patrick Schleizer
58560138cd
Merge pull request #77 from madaidan/debugfs
...
Restrict access to debugfs
2020-10-03 18:09:07 +00:00
madaidan
06ffd5d220
Restrict access to debugfs
2020-09-28 19:21:20 +00:00
Patrick Schleizer
feb7cea4c5
bumped changelog version
2020-09-28 10:30:42 -04:00
Patrick Schleizer
da1ac48cde
unblacklist squashfs as this would likely break Whonix-Host ISO
...
https://github.com/Whonix/security-misc/pull/75#issuecomment-700044182
2020-09-28 10:29:50 -04:00
Patrick Schleizer
4070133ed6
unblacklist vfat
...
https://github.com/Whonix/security-misc/pull/75#issuecomment-695201068
2020-09-28 10:25:57 -04:00
Patrick Schleizer
77d461ec08
Merge remote-tracking branch 'github/master'
2020-09-28 10:24:59 -04:00
Patrick Schleizer
3684ab585e
Merge pull request #75 from flawedworld/patch-1
...
Blacklist more modules (based on OpenSCAP for RHEL 8)
2020-09-28 14:24:15 +00:00
Patrick Schleizer
ae90107e6d
Merge pull request #76 from flawedworld/patch-2
...
Add IPv6 sysctl options and enforce kernel.perf_event_paranoid=3
2020-09-28 14:23:42 +00:00
flawedworld
a813e7da07
Blacklist more modules
2020-09-19 20:46:19 +01:00
Patrick Schleizer
5fc7b791db
bumped changelog version
2020-09-19 09:28:27 -04:00
Patrick Schleizer
bff6ce7abb
Merge remote-tracking branch 'github/master'
2020-09-19 06:54:50 -04:00
Patrick Schleizer
9239c8b807
Merge pull request #71 from onions-knight/patch-1
...
Update thunar.xml
2020-09-19 10:54:21 +00:00
flawedworld
8f7727e823
Add some IPv6 options
2020-09-18 23:36:30 +01:00
flawedworld
944fed3c45
Disallow kernel profiling by users without CAP_SYS_ADMIN
...
It's the default on a lot of stuff, but still nice to have.
2020-09-18 23:29:04 +01:00
Patrick Schleizer
98c0decaa4
bumped changelog version
2020-08-03 09:43:43 -04:00
Patrick Schleizer
7e267ab498
fix, allow group sudo
and console
to use consoles
...
fix /etc/security/access-security-misc.conf syntax error
Thanks to @81a989 for the bug report!
https://forums.whonix.org/t/etc-security-hardening-console-lockdown-pam-access-access-conf/8592/31
2020-08-03 08:12:19 -04:00
Patrick Schleizer
b09f5ddc15
bumped changelog version
2020-07-29 08:33:07 -04:00
Patrick Schleizer
ac8bc4f006
readme
2020-07-29 06:30:07 -04:00
Patrick Schleizer
861f9d1022
bumped changelog version
2020-05-14 13:57:32 -04:00
Patrick Schleizer
3cd7b144bb
move "kernel.printk = 3 3 3 3" to separate file /etc/sysctl.d/30_silent-kernel-printk.conf
...
so package debug-misc can easily disable it
https://phabricator.whonix.org/T950
2020-05-14 13:47:58 -04:00
Patrick Schleizer
81cb6ad246
bumped changelog version
2020-04-23 12:27:25 -04:00
Patrick Schleizer
6485df8126
Prevent kernel info leaks in console during boot.
...
add kernel parameter `quiet loglevel=0`
https://phabricator.whonix.org/T950
2020-04-23 12:26:31 -04:00
Patrick Schleizer
aa5631b02b
bumped changelog version
2020-04-16 08:43:40 -04:00
Patrick Schleizer
8d2e4b68dc
Prevent kernel info leaks in console during boot.
...
By setting `kernel.printk = 3 3 3 3`.
https://phabricator.whonix.org/T950
Thanks to @madaidan for the suggestion!
2020-04-16 08:00:31 -04:00
Patrick Schleizer
4898a9e753
fix, sysctl-initramfs: switch log to /run/initramfs/sysctl-initramfs-error.log
...
since ephemeral, in RAM, not written to disk, no conflict with grub-live
https://forums.whonix.org/t/kernel-hardening/7296/435
2020-04-16 07:54:33 -04:00
Patrick Schleizer
701da5f6cc
formatting
2020-04-16 07:24:44 -04:00
Patrick Schleizer
cb51847085
readme
2020-04-15 14:05:37 -04:00
Patrick Schleizer
df218ad658
bumped changelog version
2020-04-14 12:40:31 -04:00
Patrick Schleizer
8851c9ed29
fix: disable proc-hidepid.service
2020-04-14 12:39:34 -04:00
Patrick Schleizer
b6dde34bfb
bumped changelog version
2020-04-13 06:56:34 -04:00
Patrick Schleizer
e0b8640fb9
readme
2020-04-13 06:56:34 -04:00
Patrick Schleizer
253578afdf
/etc/security/access-security-misc.conf white list ttyS0 etc.
...
ttyS0 ttyS1 ttyS2 ttyS3 ttyS4 ttyS5 ttyS6 ttyS7 ttyS8 ttyS9
Thanks to @subpar_marlin for the bug report and helping to fix this!
https://forums.whonix.org/t/how-do-i-enter-the-whonix-shell-from-cli/7271/43
https://forums.whonix.org/t/etc-security-hardening/8592
2020-04-13 06:50:32 -04:00
Patrick Schleizer
b3ce18f0f9
disable proc-hidepid by default because incompatible with pkexec
...
and undo pkexec wrapper
2020-04-12 16:54:10 -04:00
Patrick Schleizer
4429315291
disable proc-hidepid by default because incompatible with pkexec
...
and undo pkexec wrapper
2020-04-12 16:52:55 -04:00
Patrick Schleizer
72be31e870
disable proc-hidepid by default because incompatible with pkexec
...
and undo pkexec wrapper
2020-04-12 16:48:13 -04:00
Patrick Schleizer
938e929f39
add pkexec to suid default whitelist
...
/usr/bin/pkexec exactwhitelist
/usr/bin/pkexec.security-misc-orig exactwhitelist
2020-04-12 16:37:51 -04:00
Patrick Schleizer
695ad5b83d
bumped changelog version
2020-04-09 09:45:30 +00:00
Patrick Schleizer
67b9d06b25
readme
2020-04-09 09:45:29 +00:00
Patrick Schleizer
565ff136e5
vm.swappiness=1
...
import from swappiness-lowest
https://forums.whonix.org/t/vm-swappiness-1-set-swapiness-to-lowest-setting-still-useful-swappiness-lowest/9278
2020-04-08 21:04:02 +00:00
Patrick Schleizer
642d4d8d93
bumped changelog version
2020-04-08 17:13:21 +00:00
Patrick Schleizer
a9d0baffe6
python -> python3
2020-04-08 16:57:32 +00:00
Patrick Schleizer
4153d8d088
apparmor-profile-anondist -> apparmor-profile-dist
2020-04-08 16:51:22 +00:00
Patrick Schleizer
72228946dc
fix etc/default/grub.d/40_kernel_hardening.cfg
...
in Qubes if no kernel package is installed
2020-04-08 16:46:11 +00:00
Patrick Schleizer
bfd6018d8d
bumped changelog version
2020-04-08 12:51:11 +00:00
Patrick Schleizer
0441f2ed7a
readme
2020-04-08 12:30:05 +00:00
Patrick Schleizer
663811a819
anon-base-files -> dist-base-files
2020-04-08 12:04:13 +00:00
Patrick Schleizer
cc8489df2f
bumped changelog version
2020-04-06 13:29:23 -04:00
Patrick Schleizer
350a15dfbf
readme
2020-04-06 13:22:32 -04:00
Patrick Schleizer
5c81e1f23f
import from anon-gpg-conf
2020-04-06 09:25:45 -04:00
Patrick Schleizer
1b2a34ea80
bumped changelog version
2020-04-04 16:51:42 -04:00
Patrick Schleizer
1188a44f47
port to python 3.7
2020-04-04 16:49:30 -04:00
Patrick Schleizer
a2c932aa5a
bumped changelog version
2020-04-02 07:58:51 -04:00
Patrick Schleizer
ae8c5fff3c
readme
2020-04-02 07:22:47 -04:00
Patrick Schleizer
a7f2a2a3b6
console lockdown: allow members of group sudo
to use console
...
https://forums.whonix.org/t/etc-security-hardening/8592
https://github.com/Whonix/security-misc/pull/74#issuecomment-607748407
https://www.whonix.org/wiki/Dev/Strong_Linux_User_Account_Isolation#Console_Lockdown
2020-04-02 06:04:45 -04:00
Patrick Schleizer
7764ee0d20
comments
2020-04-02 05:58:16 -04:00
Patrick Schleizer
d9f2a0e4a1
remove 'Build-Depends: ronn' since no longer required
2020-04-01 17:34:59 -04:00
Patrick Schleizer
eda9c57a62
remove genmkfile
2020-04-01 16:57:33 -04:00
Patrick Schleizer
2609fe9c3e
add debian install file
2020-04-01 16:33:29 -04:00
Patrick Schleizer
d4b2baa9b6
bumped changelog version
2020-04-01 10:58:16 -04:00
Patrick Schleizer
2ceea8d1fe
update copyright year
2020-04-01 08:49:59 -04:00
Patrick Schleizer
b6de867dec
bumped changelog version
2020-04-01 08:26:44 -04:00
Patrick Schleizer
ad022fc0b7
fix
2020-04-01 08:21:06 -04:00
Patrick Schleizer
354af7085b
bumped changelog version
2020-03-31 07:41:45 -04:00
Patrick Schleizer
814f613a2f
When using systemd-nspawn (chroot) then login
requires console 'console' to be permitted.
2020-03-31 07:08:25 -04:00
Patrick Schleizer
a369a0a94d
bumped changelog version
2020-03-30 18:42:02 -04:00
Patrick Schleizer
c22adbd92f
notify if security-misc installation is forced
2020-03-30 18:39:23 -04:00
Patrick Schleizer
7ee5fc1b76
bumped changelog version
2020-03-30 17:16:46 -04:00
Patrick Schleizer
f663b5eff8
skip check if any non-root user is a member of group sudo and console if
...
environment variable `SECURITY_MISC_INSTALL` is set to `force`
2020-03-30 17:15:02 -04:00
Patrick Schleizer
bc22fc9fdb
skip check if any non-root user is a member of group sudo and console if file
...
/var/lib/security-misc/skip_install_check exists
2020-03-30 17:12:43 -04:00
Patrick Schleizer
d7a69628b1
bumped changelog version
2020-03-21 14:56:48 -04:00
Patrick Schleizer
5f0dd8270b
consistent use of quotes
2020-03-21 14:14:35 -04:00
Patrick Schleizer
66ea1a3a12
minor
2020-03-21 14:14:15 -04:00
Patrick Schleizer
23bd7ead59
remove trailing space
2020-03-21 14:12:42 -04:00
Patrick Schleizer
7c25fc517e
Merge remote-tracking branch 'origin/master'
2020-03-21 14:12:25 -04:00
Patrick Schleizer
1cbc7f6bed
Merge pull request #73 from madaidan/sysctl-initramfs
...
Only remount in sysctl-initramfs if already mounted read-only
2020-03-21 18:11:57 +00:00
madaidan
89ada11cf9
Only remount if already mounted read-only
2020-03-21 17:49:07 +00:00
Patrick Schleizer
20f0c574d5
Merge remote-tracking branch 'origin/master'
2020-03-21 13:28:43 -04:00
Patrick Schleizer
2938182ce6
Merge pull request #72 from madaidan/master
...
Fix sysctl-initramfs logs
2020-03-21 17:26:37 +00:00
madaidan
c8826d6702
Fix sysctl-initramfs logs
2020-03-21 17:15:25 +00:00
onions-knight
8dfdec1d3b
Update thunar.xml
...
Adding Delete option for thunar on right mouse click (removed in Debian 10). See https://forums.whonix.org/t/whonix-host-calamares-branding-suggestion/7772/26
2020-03-17 16:38:53 +00:00
Patrick Schleizer
e4118cb21e
bumped changelog version
2020-03-12 04:43:08 -04:00
Patrick Schleizer
e6e7886a6e
Merge remote-tracking branch 'origin/master'
2020-03-11 09:08:41 -04:00
Patrick Schleizer
711e786be5
Merge pull request #70 from madaidan/userfaultfd
...
Fix unprivileged_userfaultfd
2020-03-11 13:06:23 +00:00
madaidan
4d0de87f79
Disable unprivileged userfaultfd use again
2020-03-08 17:49:49 +00:00
madaidan
efb2683cfc
Hide unprivileged_userfaultfd error
2020-03-08 17:49:12 +00:00
Patrick Schleizer
04a87f7029
bumped changelog version
2020-03-08 09:43:24 -04:00
Patrick Schleizer
284a491100
disable vm.unprivileged_userfaultfd=0
for now
...
because broken
https://forums.whonix.org/t/kernel-hardening/7296/406
reverts "Restrict the userfaultfd() syscall to root as it can make heap sprays easier."
https://duasynt.com/blog/linux-kernel-heap-spray
2020-03-08 08:07:10 -04:00
Patrick Schleizer
44351ec9b7
remove no longer needed code for installation of apparmor profiles
2020-03-07 21:44:19 -05:00
Patrick Schleizer
71ae623916
bumped changelog version
2020-03-05 08:36:27 -05:00
Patrick Schleizer
76eb9579a3
readme
2020-03-05 08:33:00 -05:00
Patrick Schleizer
15dde15a36
typo
2020-03-03 09:42:24 -05:00
Patrick Schleizer
8887af26d6
bumped changelog version
2020-03-03 09:19:49 -05:00
Patrick Schleizer
1dea4dbcf6
readme
2020-03-03 09:18:38 -05:00
Patrick Schleizer
cd19c2da00
fix lintian warning
2020-03-03 09:18:24 -05:00
Patrick Schleizer
7e3fedefb2
bumped changelog version
2020-03-03 09:12:50 -05:00
Patrick Schleizer
201d6b5efc
readme
2020-03-03 09:07:42 -05:00
Patrick Schleizer
63c6405ab7
Merge remote-tracking branch 'origin/master'
2020-02-29 07:34:46 -05:00
Patrick Schleizer
453aa8a4eb
Merge pull request #65 from madaidan/userfaultfd
...
Restrict the userfaultfd() syscall to root
2020-02-29 12:28:32 +00:00
Patrick Schleizer
e3e39f2235
Merge remote-tracking branch 'origin/master'
2020-02-29 05:01:41 -05:00
Patrick Schleizer
649ec5dfa1
pkexec wrapper: fix gdebi / synaptic
...
but at cost of checking for passwordless sudo /etc/suders /etc/sudoers.d
exceptions.
http://forums.whonix.org/t/cannot-use-pkexec/8129/53
2020-02-29 04:59:56 -05:00
Patrick Schleizer
32269d32b6
description
2020-02-29 04:59:15 -05:00
Patrick Schleizer
b31caefdeb
description
2020-02-29 04:59:02 -05:00
Patrick Schleizer
bd7678c574
Merge pull request #66 from madaidan/mce
...
Fix docs
2020-02-28 12:04:05 +00:00
madaidan
42d3b986c4
Update control
2020-02-27 17:41:14 +00:00
Patrick Schleizer
d04d4bf095
description
2020-02-25 02:08:10 -05:00
Patrick Schleizer
4043d2af3f
description
2020-02-25 02:06:48 -05:00
Patrick Schleizer
0e5187ff24
description
2020-02-25 02:00:27 -05:00
madaidan
60fbf8b0de
Update control
2020-02-24 18:24:07 +00:00
madaidan
6b64b36b01
Restrict the userfaultfd() syscall to root
2020-02-24 18:23:15 +00:00
Patrick Schleizer
221000db5b
Merge remote-tracking branch 'origin/master'
2020-02-17 03:17:11 -05:00
Patrick Schleizer
c7f2537930
Merge pull request #64 from madaidan/extra_latent_entropy
...
Gather more entropy during boot
2020-02-17 08:16:34 +00:00
madaidan
8ea4e50c8e
Update control
2020-02-16 19:52:40 +00:00
madaidan
f6b6ab374e
Gather more entropy during boot
2020-02-16 19:51:32 +00:00
Patrick Schleizer
01eaee997e
bumped changelog version
2020-02-15 15:35:44 -05:00
Patrick Schleizer
412a83923d
Merge remote-tracking branch 'origin/master'
2020-02-15 15:30:32 -05:00
Patrick Schleizer
dce54d5d0f
bumped changelog version
2020-02-15 15:29:38 -05:00
Patrick Schleizer
3df008f0b9
readme
2020-02-15 15:28:30 -05:00
Patrick Schleizer
4399a512be
Merge pull request #63 from madaidan/ldisc_autoload
...
Document ldisc_autoload better
2020-02-15 19:43:05 +00:00
madaidan
a79ce7fa68
Document ldisc_autoload better
2020-02-15 17:30:21 +00:00
Patrick Schleizer
757df8fceb
Merge remote-tracking branch 'origin/master'
2020-02-15 05:43:43 -05:00
Patrick Schleizer
a9a1581720
Merge pull request #60 from madaidan/sysrq
...
Restrict the SysRq key
2020-02-15 10:42:20 +00:00
Patrick Schleizer
1e5946c795
Merge branch 'master' into sysrq
2020-02-15 10:41:52 +00:00
Patrick Schleizer
9bbae903fe
remove-system.map: lower verbosity output
2020-02-15 05:29:48 -05:00
Patrick Schleizer
cce35e5109
Merge remote-tracking branch 'origin/master'
2020-02-15 05:27:52 -05:00
Patrick Schleizer
e40351796e
Merge pull request #62 from madaidan/shred
...
Shred System.map files
2020-02-15 10:25:15 +00:00
Patrick Schleizer
5124f8cebc
Merge pull request #61 from madaidan/disable_early_pci_dma
...
Avoid holes in IOMMU
2020-02-15 10:18:56 +00:00
Patrick Schleizer
ac8757a031
Merge pull request #59 from madaidan/ldisc
...
Restrict loading line disciplines to CAP_SYS_MODULE
2020-02-15 10:09:46 +00:00
madaidan
31009f0bfa
Shred System.map files
2020-02-14 23:46:19 +00:00
madaidan
9b767139ef
Avoid holes in IOMMU
2020-02-14 18:52:01 +00:00
madaidan
0f49736957
Update control
2020-02-14 18:18:18 +00:00
madaidan
d251c43344
Restrict the SysRq key
2020-02-14 18:17:20 +00:00
madaidan
ace6211176
Update control
2020-02-14 17:51:17 +00:00
madaidan
0ea7dd161b
Restrict loading line disciplines to CAP_SYS_MODULE
2020-02-14 17:50:19 +00:00
Patrick Schleizer
ad6b766886
Merge pull request #57 from madaidan/sysctl
...
Prevent symlink/hardlink TOCTOU races
2020-02-13 18:40:58 +00:00
Patrick Schleizer
14140ad41b
bumped changelog version
2020-02-13 13:39:45 -05:00
Patrick Schleizer
d1fa191bc0
readme
2020-02-13 13:38:21 -05:00
Patrick Schleizer
76a51a3b45
Merge remote-tracking branch 'origin/master'
2020-02-13 13:37:34 -05:00
Patrick Schleizer
5ebab397b2
Merge pull request #58 from madaidan/mitigations
...
Improve CPU mitigations documentation
2020-02-13 18:36:41 +00:00
madaidan
2796c2dd00
Update control
2020-02-12 18:43:19 +00:00
madaidan
700c7ed908
Create 40_cpu_mitigations.cfg
2020-02-12 18:42:13 +00:00
madaidan
ba0043b8a7
Update 40_kernel_hardening.cfg
2020-02-12 18:36:05 +00:00
madaidan
14f8458374
Update control
2020-02-12 18:05:32 +00:00
madaidan
5cb21d0d4d
Prevent symlink/hardlink TOCTOU races
2020-02-12 18:03:23 +00:00
Patrick Schleizer
163e20b886
bumped changelog version
2020-02-05 06:31:48 -05:00
Patrick Schleizer
3024006f63
Merge remote-tracking branch 'origin/master'
2020-02-04 00:24:50 -05:00
Patrick Schleizer
024576e330
Merge pull request #56 from HulaHoop0/patch-1
...
kvm.nx_huge_pages=force
2020-02-04 05:24:05 +00:00
HulaHoop0
e4c6e897cf
kvm.nx_huge_pages=force
2020-02-03 16:06:46 +00:00
Patrick Schleizer
8c5cd865f4
bumped changelog version
2020-02-03 09:23:13 -05:00
Patrick Schleizer
1f6ed2cc70
add support for passing parameters to usr/lib/security-misc/apt-get-update
2020-02-03 08:55:20 -05:00
Patrick Schleizer
2291b7f787
bumped changelog version
2020-02-03 08:43:31 -05:00
Patrick Schleizer
8627c9f76d
/usr/lib/security-misc/apt-get-update increase default timeout_after="600"
2020-01-31 12:18:02 -05:00
Patrick Schleizer
829e28aa90
/usr/lib/security-misc/apt-get-update environment variable timeout_after kill_after support
2020-01-31 12:17:07 -05:00
Patrick Schleizer
0bd0a4a647
bumped changelog version
2020-01-30 06:14:34 -05:00
Patrick Schleizer
85d2aa1365
hide stdout (but not stderr) by sysctl during initramfs
2020-01-30 06:13:42 -05:00
Patrick Schleizer
d69c1839cd
bumped changelog version
2020-01-30 06:02:26 -05:00
Patrick Schleizer
b9d65338bc
unconditionally enable all CPU bugs (spectre, meltdown, L1TF, ...)
...
this might reduce performance
* `spectre_v2=on`
* `spec_store_bypass_disable=on`
* `tsx=off`
* `tsx_async_abort=full,nosmt`
Thanks to @madaidan for the suggestion!
https://forums.whonix.org/t/should-all-kernel-patches-for-cpu-bugs-be-unconditionally-enabled-vs-performance-vs-applicability/7647
2020-01-30 05:55:13 -05:00
Patrick Schleizer
2711d0f7f0
bumped changelog version
2020-01-30 01:22:32 -05:00
Patrick Schleizer
4df0d6c01c
readme
2020-01-30 01:22:06 -05:00
Patrick Schleizer
c1a0da60be
set kernel boot parameter l1tf=full,force
and nosmt=force
...
https://forums.whonix.org/t/should-all-kernel-patches-for-cpu-bugs-be-unconditionally-enabled-vs-performance-vs-applicability/7647/17
2020-01-30 00:46:48 -05:00
Patrick Schleizer
efc40da4fb
bumped changelog version
2020-01-24 12:02:27 -05:00
Patrick Schleizer
07dcb32fc2
readme
2020-01-24 11:55:38 -05:00
Patrick Schleizer
f4c54881ac
description
2020-01-24 04:49:19 -05:00
Patrick Schleizer
25317f23e3
bumped changelog version
2020-01-24 04:41:16 -05:00
Patrick Schleizer
be79f0688a
readme
2020-01-24 04:40:20 -05:00
Patrick Schleizer
c0d3726b00
comment
2020-01-24 04:40:03 -05:00
Patrick Schleizer
a37da1c968
add digits to drop-in file names
2020-01-24 04:39:06 -05:00
Patrick Schleizer
2ab940c603
bumped changelog version
2020-01-24 04:34:18 -05:00
Patrick Schleizer
bac6cd601b
readme
2020-01-24 04:33:54 -05:00
Patrick Schleizer
3a4d283169
description
2020-01-24 04:33:30 -05:00
Patrick Schleizer
e0aa67677d
merge the many modprobe.d config files into 1
...
and use a name starting with double digits
to make it easier to disable settings using a lexically higher config file
2020-01-24 04:30:36 -05:00
Patrick Schleizer
6a4c493213
merge the many sysctl config files into 1
...
and use a name starting with double digits
to make it easier to disable settings using a lexically higher config file
2020-01-24 04:26:36 -05:00
Patrick Schleizer
f653b94e77
bumped changelog version
2020-01-24 03:49:02 -05:00
Patrick Schleizer
ca057713e2
readme
2020-01-24 03:39:04 -05:00
Patrick Schleizer
8616728ce0
remove duplicate
2020-01-24 03:35:15 -05:00
Patrick Schleizer
d4a37b6df2
remove-system.map: source /usr/lib/helper-scripts/pre.bsh
2020-01-24 03:18:17 -05:00
Patrick Schleizer
3b283ec00f
bumped changelog version
2020-01-22 07:10:47 -05:00
Patrick Schleizer
531f17cb68
add update initramfs trigger
...
https://github.com/Whonix/security-misc/pull/53
2020-01-22 07:08:31 -05:00
Patrick Schleizer
df0b2afda1
bumped changelog version
2020-01-21 10:12:32 -05:00
Patrick Schleizer
18041efa2f
fix pam tally2 check when read-only disk boot without ro-mode-init or grub-live
2020-01-21 10:01:17 -05:00
Patrick Schleizer
627b95e0b3
bumped changelog version
2020-01-20 08:51:25 -05:00
Patrick Schleizer
fbe9b60d95
fix Whonix / Kicksecure
...
/var/lib/dpkg/tmp.ci/preinst: ERROR: No user is a member of group 'console'. Installation aborted.
/var/lib/dpkg/tmp.ci/preinst: ERROR: You probably want to run:
sudo adduser user console
2020-01-20 08:49:02 -05:00
Patrick Schleizer
960e1ff6e8
bumped changelog version
2020-01-17 03:32:57 -05:00
Patrick Schleizer
1304341868
readme
2020-01-17 03:10:56 -05:00
Patrick Schleizer
6f8d89c6c5
error handling
2020-01-15 15:54:06 -05:00
Patrick Schleizer
7211f6e019
Merge remote-tracking branch 'origin/master'
2020-01-15 15:53:36 -05:00
Patrick Schleizer
f6cc76acd7
Merge pull request #55 from madaidan/sysctl.conf
...
Process sysctl.conf in initramfs
2020-01-15 20:52:33 +00:00
madaidan
1df48a226d
Update control
2020-01-15 20:30:17 +00:00
madaidan
f7fde60b67
Process sysctl.conf too
2020-01-15 20:28:32 +00:00
Patrick Schleizer
e110ea0b84
bumped changelog version
2020-01-15 11:37:52 -05:00
Patrick Schleizer
0f17596aac
readme
2020-01-15 11:35:41 -05:00
Patrick Schleizer
0618b53464
fix lintian warning
2020-01-15 11:35:07 -05:00
Patrick Schleizer
47ce3bec75
bumped changelog version
2020-01-15 11:05:54 -05:00
Patrick Schleizer
73e830d0ac
readme
2020-01-15 10:08:57 -05:00
Patrick Schleizer
8ab4623f8e
Merge remote-tracking branch 'origin/master'
2020-01-15 06:06:39 -05:00
Patrick Schleizer
087465a0cd
Merge pull request #53 from madaidan/sysctl-initramfs
...
Set sysctl values in initramfs
2020-01-15 11:02:30 +00:00
Patrick Schleizer
528c5fc4c4
Merge branch 'master' into sysctl-initramfs
2020-01-15 11:02:03 +00:00
Patrick Schleizer
80159545a5
fix xfce4-power-manager xfpm-power-backlight-helper pkexec lxsudo popup
...
https://forums.whonix.org/t/xfce4-power-manager-xfpm-power-backlight-helper-pkexec-lxsudo-popup/8764
do show lxqt-sudo password prompt if there is a sudoers exceptoin
improved pkexec wrapper logging
2020-01-15 02:42:10 -05:00
Patrick Schleizer
d90ca4b1ad
refactoring
2020-01-14 15:12:13 -05:00
Patrick Schleizer
082f04f2d4
add logging to pkexec wrapper
2020-01-14 15:04:58 -05:00
Patrick Schleizer
1059ccf225
bumped changelog version
2020-01-14 09:28:28 -05:00
Patrick Schleizer
660837dc38
fix case when user "user" does not exists
2020-01-14 09:25:32 -05:00
Patrick Schleizer
18c726c3ee
comment
2020-01-14 09:23:02 -05:00
Patrick Schleizer
b8652681e7
fix legacy
2020-01-14 09:21:47 -05:00
Patrick Schleizer
cc21f912a3
bumped changelog version
2020-01-14 09:20:36 -05:00
Patrick Schleizer
2078cd237f
readme
2020-01-14 09:18:30 -05:00
Patrick Schleizer
c377c5ff83
Merge remote-tracking branch 'origin/master'
2020-01-14 09:01:38 -05:00
Patrick Schleizer
539f24b65e
Merge pull request #54 from madaidan/panic_on_oops
...
Document panic_on_oops
2020-01-14 14:01:17 +00:00
madaidan
0953bbe1d7
Update control
2020-01-13 21:05:35 +00:00
madaidan
9dc43eae38
Description
2020-01-12 21:42:07 +00:00
madaidan
8c4e0ff1c4
Set sysctl values in initramfs
2020-01-12 21:37:37 +00:00
Patrick Schleizer
8341242abc
bumped changelog version
2020-01-11 15:19:29 -05:00
Patrick Schleizer
130a4cf6d4
readme
2020-01-11 15:17:06 -05:00
Patrick Schleizer
61a2d390a7
lintian
2020-01-11 15:15:12 -05:00
Patrick Schleizer
3fae8e771f
Merge remote-tracking branch 'origin/master'
2020-01-11 15:14:43 -05:00
Patrick Schleizer
e9f4dbdda5
Merge pull request #52 from madaidan/vivid
...
Blacklist the vivid kernel module
2020-01-11 20:14:10 +00:00
madaidan
6088444c37
Update control
2020-01-11 18:38:17 +00:00
madaidan
a662a76a52
Blacklist vivid
2020-01-11 18:37:00 +00:00
Patrick Schleizer
13a1e1321e
bumped changelog version
2020-01-01 05:59:59 -05:00
Patrick Schleizer
5031e7cc4b
better output if trying to login with non-existing user
2019-12-31 08:18:38 -05:00
Patrick Schleizer
b2bdeb9095
bumped changelog version
2019-12-31 06:08:32 -05:00
Patrick Schleizer
2a3aae62b1
fix
2019-12-31 06:06:52 -05:00
Patrick Schleizer
427deec3f5
bumped changelog version
2019-12-31 06:03:48 -05:00
Patrick Schleizer
e89552c984
add user "user" to group "console" in Whonix and Kicksecure
...
enable Console Lockdown in Whonix and Kicksecure
2019-12-31 05:55:44 -05:00
Patrick Schleizer
b5a2d1dc58
bumped changelog version
2019-12-31 02:54:58 -05:00
Patrick Schleizer
20697db3ee
improve console lockdown info output
2019-12-31 02:53:02 -05:00
Patrick Schleizer
788914de95
group ssh check was removed
...
https://forums.whonix.org/t/etc-security-hardening-console-lockdown-pam-access-access-conf/8592/27
2019-12-31 02:46:32 -05:00
Patrick Schleizer
06ed728d79
bumped changelog version
2019-12-30 06:42:14 -05:00
Patrick Schleizer
f3ff32ddbb
Protect /bin/mount from 'chmod -x'.
...
/bin/mount exactwhitelist
/usr/bin/mount exactwhitelist
Remove SUID from 'mount' but keep executable.
/bin/mount 745 root root
/usr/bin/mount 745 root root
https://forums.whonix.org/t/disable-suid-binaries/7706/61
2019-12-30 06:39:24 -05:00
Patrick Schleizer
e4e9c4e3b0
bumped changelog version
2019-12-30 05:59:43 -05:00
Patrick Schleizer
9c0d6b6057
copyright
2019-12-29 05:09:07 -05:00
Patrick Schleizer
edc08988f2
copyright
2019-12-29 05:08:53 -05:00
Patrick Schleizer
9156d3584c
Description
2019-12-29 04:59:05 -05:00
Patrick Schleizer
3ea946b365
RemainAfterExit=yes
2019-12-29 04:56:51 -05:00
Patrick Schleizer
2787ae9765
copyright
2019-12-29 04:56:35 -05:00
Patrick Schleizer
6d56eb9ef0
minor
2019-12-29 04:56:18 -05:00
Patrick Schleizer
0e14706f32
copyright
2019-12-29 04:45:26 -05:00
Patrick Schleizer
1a0f7a7733
debugging
2019-12-29 04:43:32 -05:00
Patrick Schleizer
5271892cb1
debugging
2019-12-29 04:42:54 -05:00
Patrick Schleizer
683028049c
debugging
2019-12-29 04:41:23 -05:00
Patrick Schleizer
e3e1ff2a31
exit with error if a config line cannot be processed rather than skipping
...
https://forums.whonix.org/t/disable-suid-binaries/7706/59
2019-12-29 04:35:46 -05:00
Patrick Schleizer
d5c99f3a60
output
2019-12-29 04:27:21 -05:00
Patrick Schleizer
e5623fcd2b
comment
2019-12-29 04:21:52 -05:00
Patrick Schleizer
d7f58db52c
bumped changelog version
2019-12-27 05:30:12 -05:00
Patrick Schleizer
674840e6f9
/fusermount matchwhitelist
...
unbreak AppImages such as electrum Bitcoin wallet
https://forums.whonix.org/t/disable-suid-binaries/7706/57
2019-12-26 05:44:35 -05:00
Patrick Schleizer
507a30d6e3
bumped changelog version
2019-12-24 18:35:49 -05:00
Patrick Schleizer
04f438f75d
comment
2019-12-24 18:09:37 -05:00
Patrick Schleizer
9da0e428ed
debugging
2019-12-24 17:54:31 -05:00
Patrick Schleizer
e18ec533c3
comment
2019-12-24 17:54:02 -05:00
Patrick Schleizer
0326cd5ee9
bumped changelog version
2019-12-24 08:07:55 -05:00
Patrick Schleizer
ede536913d
no longer hardcode amd64
2019-12-24 06:00:41 -05:00
Patrick Schleizer
d03a3d9ac0
Merge remote-tracking branch 'origin/master'
2019-12-24 05:57:24 -05:00
Patrick Schleizer
27a42a9da8
Merge pull request #50 from madaidan/modules
...
Make /lib/modules unreadable
2019-12-24 10:55:11 +00:00
Patrick Schleizer
ac49c55d1f
Merge pull request #49 from madaidan/kver
...
Detect kernel upgrades
2019-12-24 10:55:03 +00:00
Patrick Schleizer
0c3d4ad255
Merge pull request #48 from madaidan/kernel-hardening
...
Use only one slub_debug parameter
2019-12-24 10:54:23 +00:00
madaidan
79241c5d09
Make /lib/modules unreadable
2019-12-23 20:28:29 +00:00
madaidan
98e88d1456
Detect kernel upgrades
2019-12-23 19:57:43 +00:00
madaidan
d1a0650fd9
Use only one slub_debug parameter
2019-12-23 19:44:52 +00:00
Patrick Schleizer
9d77d88a4d
comments
2019-12-23 09:39:50 -05:00
Patrick Schleizer
7a80837b4f
bumped changelog version
2019-12-23 08:48:04 -05:00
Patrick Schleizer
617c0a0e15
disable remount-secure.service - Disable for now until development finished / tested.
2019-12-23 07:21:26 -05:00
Patrick Schleizer
3e131174d5
comments
2019-12-23 05:00:35 -05:00
Patrick Schleizer
bef41a38c2
bumped changelog version
2019-12-23 03:58:00 -05:00
Patrick Schleizer
046ceeae4d
readme
2019-12-23 03:57:36 -05:00
Patrick Schleizer
9f072ce4f9
comment
2019-12-23 03:46:02 -05:00
Patrick Schleizer
26fe9394ff
disable lockdown for now due to module loading
2019-12-23 03:41:54 -05:00
Patrick Schleizer
9ec5b0ee82
description: lockdown not enabled yet
2019-12-23 03:38:49 -05:00
Patrick Schleizer
b05669accf
Merge branch 'madaidan-kernel-hardening'
2019-12-23 03:38:04 -05:00
Patrick Schleizer
1ff51ee061
merge
2019-12-23 03:37:28 -05:00
madaidan
535c258b83
More kernel hardening
2019-12-23 03:35:07 -05:00
Patrick Schleizer
11b4192fbd
comments
2019-12-23 03:28:42 -05:00
Patrick Schleizer
42ff53e9ad
bumped changelog version
2019-12-23 02:42:07 -05:00
Patrick Schleizer
2152fa2d61
comment
2019-12-23 02:38:53 -05:00
Patrick Schleizer
f8f2e6c704
fix disablewhitelist feature
2019-12-23 02:35:13 -05:00
Patrick Schleizer
47ddcad0c0
rename keyword whitelist to exactwhitelist
...
add new keyword disablewhitelist
refactoring
2019-12-23 02:29:47 -05:00
Patrick Schleizer
175d1c2845
bumped changelog version
2019-12-23 02:13:13 -05:00
Patrick Schleizer
0409aac3ae
readme
2019-12-23 02:09:04 -05:00
Patrick Schleizer
1ff56625a1
polkit-agent-helper-1 matchwhitelist to match both
...
- /usr/lib/policykit-1/polkit-agent-helper-1 matchwhitelist
- /lib/policykit-1/polkit-agent-helper-1
2019-12-23 01:42:03 -05:00
Patrick Schleizer
d484b299ea
matchwhitelist /qubes/qfile-unpacker to match both
...
- /usr/lib/qubes/qfile-unpacker whitelist
- /lib/qubes/qfile-unpacker
2019-12-23 01:38:31 -05:00
Patrick Schleizer
34bf245713
output
2019-12-23 01:35:45 -05:00
Patrick Schleizer
ba30e45d15
output
2019-12-23 01:32:42 -05:00
Patrick Schleizer
ee9c5742da
output
2019-12-23 01:29:48 -05:00
Patrick Schleizer
6d05359abc
output
2019-12-23 01:21:52 -05:00
Patrick Schleizer
a1e78e8515
fix needlessly re-adding entries
2019-12-23 01:20:56 -05:00
Patrick Schleizer
906b3d32e7
output
2019-12-23 01:09:57 -05:00
Patrick Schleizer
4f76867da6
lower debugging
2019-12-23 01:08:02 -05:00
Patrick Schleizer
dc6e5d8508
fix
2019-12-23 01:06:38 -05:00
Patrick Schleizer
87b999f92a
refactoring
2019-12-23 00:59:43 -05:00
Patrick Schleizer
065ff4bd05
sanity_tests
2019-12-23 00:59:24 -05:00
Patrick Schleizer
fef1469fe6
exit non-zero if capability removal failed
2019-12-23 00:51:14 -05:00
Patrick Schleizer
3670fcf48b
depend on libcap2-bin for setcap / getcap / capsh
2019-12-23 00:49:33 -05:00
Patrick Schleizer
17a8c29470
fix capability removal error handling
...
https://forums.whonix.org/t/disable-suid-binaries/7706/45
2019-12-23 00:47:49 -05:00
Patrick Schleizer
b631e2ecd8
refactoring
2019-12-23 00:36:41 -05:00
Patrick Schleizer
7aea304549
comment
2019-12-23 00:26:15 -05:00
Patrick Schleizer
f4b1df02ee
Remove suid / gid and execute permission for 'group' and 'others'.
...
Similar to: chmod og-ugx /path/to/filename
Removing execution permission is useful to make binaries such as 'su' fail closed rather
than fail open if suid was removed from these.
Do not remove read access since no security benefit and easier to manually undo for users.
chmod 744
2019-12-22 19:42:40 -05:00
Patrick Schleizer
58a4e0bc7d
dbus-daemon-launch-helper matchwhitelist
2019-12-22 19:12:10 -05:00
Patrick Schleizer
15e3a2832d
comment
2019-12-22 18:57:23 -05:00
Patrick Schleizer
6eb8fd257a
suid utempter/utempter matchwhitelist
...
to cover both:
/usr/lib/x86_64-linux-gnu/utempter/utempter
/lib/x86_64-linux-gnu/utempter/utempter
2019-12-22 18:56:36 -05:00
Patrick Schleizer
9409209b48
Merge remote-tracking branch 'origin/master'
2019-12-22 10:29:08 -05:00
Patrick Schleizer
bce02ffdc0
Merge pull request #47 from madaidan/msr
...
Blacklist CPU MSRs
2019-12-22 15:26:07 +00:00
madaidan
8f11a520f4
Update control
2019-12-22 13:54:16 +00:00
madaidan
dd93b11321
Blacklist CPU MSRs
2019-12-22 13:52:43 +00:00
Patrick Schleizer
008ce4817c
bumped changelog version
2019-12-21 14:55:03 -05:00
Patrick Schleizer
d300db3cde
output
2019-12-21 14:45:11 -05:00
Patrick Schleizer
3921846df6
comment
2019-12-21 14:36:42 -05:00
Patrick Schleizer
1213415ce6
bumped changelog version
2019-12-21 14:23:35 -05:00
Patrick Schleizer
2ddf7b5db5
/lib/ nosuid
2019-12-21 14:06:51 -05:00
Patrick Schleizer
1e8457ea47
no longer remount /lib
...
https://forums.whonix.org/t/re-mount-home-and-other-with-noexec-and-nosuid-among-other-useful-mount-options-for-better-security/7707/25
2019-12-21 14:06:10 -05:00
Patrick Schleizer
10c19d6a8f
Merge remote-tracking branch 'origin/master'
2019-12-21 13:00:41 -05:00
Patrick Schleizer
fffdf5090c
Merge pull request #46 from madaidan/remount-secure
...
Don't remount /sys/kernel/security
2019-12-21 17:59:56 +00:00
madaidan
f5a52aeddc
Don't remount /sys/kernel/security
2019-12-21 14:55:28 +00:00
Patrick Schleizer
b2260f48f4
add support for /etc/exec / /usr/local/etc/exec
...
to allow enabling exec on a per VM basis
2019-12-21 08:03:33 -05:00
Patrick Schleizer
1c99b56c9b
bumped changelog version
2019-12-21 07:49:55 -05:00
Patrick Schleizer
161b6f6b88
readme
2019-12-21 07:49:29 -05:00
Patrick Schleizer
b74e5ca972
comment
2019-12-21 07:47:00 -05:00
Patrick Schleizer
8fb17624bc
comment
2019-12-21 07:44:51 -05:00
Patrick Schleizer
aef796a524
disable debugging
2019-12-21 07:44:23 -05:00
Patrick Schleizer
1fe83d683f
comment
2019-12-21 07:43:55 -05:00
Patrick Schleizer
7c3da38bd5
comment
2019-12-21 07:42:25 -05:00
Patrick Schleizer
9050058bc2
fix
2019-12-21 07:42:01 -05:00
Patrick Schleizer
0c4db8c2b0
bumped changelog version
2019-12-21 07:38:25 -05:00
Patrick Schleizer
6b13a644df
add /usr/lib/security-misc/permission-hardening-undo
2019-12-21 07:37:41 -05:00
Patrick Schleizer
af8b04b73d
rm_conffile /etc/apparmor.d/usr.lib.security-misc.pam_tally2-info
...
rm_conffile /etc/apparmor.d/usr.lib.security-misc.permission-lockdown
https://github.com/Whonix/security-misc/pull/45
2019-12-21 06:58:01 -05:00
Patrick Schleizer
2350e0f5d0
Merge remote-tracking branch 'origin/master'
2019-12-21 06:57:10 -05:00
Patrick Schleizer
efd65a3f15
Merge pull request #45 from madaidan/apparmor
...
Delete apparmor profiles
2019-12-21 11:56:31 +00:00
Patrick Schleizer
3ea587187e
no need to exclude xorg nosuid on Debian
...
http://forums.whonix.org/t/permission-hardening/8655/25
2019-12-21 06:53:07 -05:00
Patrick Schleizer
c336bc4fd2
comment
2019-12-21 06:39:13 -05:00
Patrick Schleizer
fac17a963d
bumped changelog version
2019-12-21 06:28:19 -05:00
Patrick Schleizer
b5f88efe20
fix
2019-12-21 06:27:01 -05:00
Patrick Schleizer
2088628c8d
debugging
2019-12-21 06:24:08 -05:00
Patrick Schleizer
2dca031527
debugging
2019-12-21 06:22:46 -05:00
Patrick Schleizer
195e00cc87
output
2019-12-21 06:16:38 -05:00
Patrick Schleizer
78d33d8b57
bumped changelog version
2019-12-21 06:12:20 -05:00
Patrick Schleizer
4b21b6df41
fix
2019-12-21 06:11:44 -05:00
Patrick Schleizer
ff48b672a8
bumped changelog version
2019-12-21 06:00:17 -05:00
Patrick Schleizer
8436da2b7b
output
2019-12-21 05:58:50 -05:00
Patrick Schleizer
da15265e1c
fix
2019-12-21 05:55:23 -05:00
Patrick Schleizer
2a248fe0de
fix
2019-12-21 05:54:39 -05:00
Patrick Schleizer
4f12664362
output
2019-12-21 05:54:07 -05:00
Patrick Schleizer
e3355843c8
fix
2019-12-21 05:51:22 -05:00
Patrick Schleizer
234ec5fe93
fix
2019-12-21 05:47:35 -05:00
Patrick Schleizer
65b5adb2d7
bumped changelog version
2019-12-21 05:38:39 -05:00
Patrick Schleizer
7ff900c204
fix
2019-12-21 05:37:43 -05:00
Patrick Schleizer
2b5a49a61b
bumped changelog version
2019-12-21 05:31:55 -05:00
Patrick Schleizer
e1a5ee4bcf
output
2019-12-21 05:26:55 -05:00
Patrick Schleizer
66aaf3e22c
output
2019-12-21 05:25:54 -05:00
Patrick Schleizer
7aa7d0b5a0
improve error handling
2019-12-21 05:22:27 -05:00
Patrick Schleizer
8919d38de9
disable debugging
2019-12-21 05:21:46 -05:00
Patrick Schleizer
cf5dee64fd
refactoring
2019-12-21 05:18:34 -05:00
Patrick Schleizer
29cd9a0c38
fix
2019-12-21 05:17:35 -05:00
Patrick Schleizer
486027a4d7
fix
2019-12-21 05:15:38 -05:00
Patrick Schleizer
1fd26be864
fix
2019-12-21 05:14:51 -05:00
Patrick Schleizer
0fc97c37be
fix
2019-12-21 05:14:39 -05:00
Patrick Schleizer
1018d5b3b0
output
2019-12-21 05:11:51 -05:00
Patrick Schleizer
4388fc4d5a
refactoring
2019-12-21 05:11:19 -05:00
Patrick Schleizer
ed20980f4c
refactoring
2019-12-21 05:07:10 -05:00
Patrick Schleizer
315ce86b9a
refactoring
2019-12-21 04:33:03 -05:00
Patrick Schleizer
0c5848494b
do not remount if already has intended mount options
2019-12-21 04:21:26 -05:00
Patrick Schleizer
203f4ad46e
refactoring
2019-12-21 04:17:10 -05:00
Patrick Schleizer
e7fd0dadb0
output
2019-12-21 04:09:35 -05:00
Patrick Schleizer
e6ea21c775
record existing modes in separate dpkg-statoverwrite databases
...
to have a history of what was modified and to allow to undo changes
2019-12-21 04:08:35 -05:00
Patrick Schleizer
89be5f2ecb
bumped changelog version
2019-12-21 02:05:39 -05:00
madaidan
c28ddf5c4d
Delete usr.lib.security-misc.pam_tally2-info
2019-12-20 22:44:31 +00:00
madaidan
cfe69dd669
Delete usr.lib.security-misc.permission-lockdown
2019-12-20 22:44:27 +00:00
Patrick Schleizer
d220bb3bc4
suid /usr/lib/chromium/chrome-sandbox whitelist
2019-12-20 13:07:01 -05:00
Patrick Schleizer
77b3dd5d6b
comments
2019-12-20 13:02:33 -05:00
Patrick Schleizer
d7bd477e73
add "/usr/lib/xorg/Xorg.wrap whitelist"
...
until this is researched
https://manpages.debian.org/buster/xserver-xorg-legacy/Xorg.wrap.1.en.html
https://lwn.net/Articles/590315/
2019-12-20 12:59:27 -05:00
Patrick Schleizer
17e8605119
add matchwhitelist feature
...
add "/usr/lib/virtualbox/ matchwhitelist"
2019-12-20 12:57:24 -05:00
Patrick Schleizer
3fab387669
suid /usr/bin/firejail whitelist
...
There is a controversy about firejail but those who choose to install it
should be able to use it.
https://www.whonix.org/wiki/Dev/Firejail#Security
2019-12-20 12:50:35 -05:00
Patrick Schleizer
d3f16a5bf4
sgid /usr/lib/qubes/qfile-unpacker whitelist
2019-12-20 12:47:10 -05:00
Patrick Schleizer
508ec0c6fa
comment
2019-12-20 12:34:07 -05:00
Patrick Schleizer
1b569ea790
comment
2019-12-20 12:32:36 -05:00
Patrick Schleizer
f88ca25889
fix terminology, sguid -> sgid
...
Thanks to @madaidan for the bug report!
https://forums.whonix.org/t/permission-hardening/8655/21
2019-12-20 11:58:07 -05:00
Patrick Schleizer
1cd5fb6a00
bumped changelog version
2019-12-20 11:50:25 -05:00
Patrick Schleizer
ff0a26fb5d
comment
2019-12-20 11:49:19 -05:00
Patrick Schleizer
71496a33ab
skip folders are these are not suid / guid
2019-12-20 11:47:53 -05:00
Patrick Schleizer
9321ecff41
no more need to add/remove /
2019-12-20 11:43:53 -05:00
Patrick Schleizer
b95225b6a6
pipefail
2019-12-20 11:37:05 -05:00
Patrick Schleizer
cad6f328f4
minor
2019-12-20 11:34:44 -05:00
Patrick Schleizer
3265f9894d
output
2019-12-20 11:27:43 -05:00
Patrick Schleizer
28d12c3966
bumped changelog version
2019-12-20 11:09:22 -05:00
Patrick Schleizer
1615ebec58
output
2019-12-20 11:07:44 -05:00
Patrick Schleizer
1e11b775cf
output
2019-12-20 11:05:05 -05:00
Patrick Schleizer
731f802895
output
2019-12-20 11:04:12 -05:00
Patrick Schleizer
cd8efe5800
output
2019-12-20 11:03:22 -05:00
Patrick Schleizer
c0ddb76d74
bumped changelog version
2019-12-20 10:50:51 -05:00
Patrick Schleizer
b31abea0af
improve error handling
2019-12-20 10:49:31 -05:00
Patrick Schleizer
79cd3b86b6
comment
2019-12-20 10:47:23 -05:00
Patrick Schleizer
b3458cc6ee
fix checking existing entries to avoid needless calls to dpkg-statoverride
2019-12-20 10:45:59 -05:00
Patrick Schleizer
370f3c5e54
comment
2019-12-20 10:35:05 -05:00
Patrick Schleizer
133d09f298
output
2019-12-20 10:33:16 -05:00
Patrick Schleizer
1ffa8e197e
speed up setuid removal by using find with '-perm /u=s,g=s'
...
https://forums.whonix.org/t/permission-hardening/8655/19
2019-12-20 10:31:26 -05:00
Patrick Schleizer
4cfdf2c65b
fix, re-enforce nosuid even if changed on the disk
2019-12-20 10:21:27 -05:00
Patrick Schleizer
e36868e675
output
2019-12-20 10:02:46 -05:00
Patrick Schleizer
50b8f65490
add sanity test: count if we really processed all files
2019-12-20 09:59:28 -05:00
Patrick Schleizer
e28da89253
/bin/sudo whitelist / /bin/bwrap whitelist
2019-12-20 09:48:06 -05:00
Patrick Schleizer
55faa7b997
fix missing processing files bug
...
https://forums.whonix.org/t/permission-hardening/8655/16
2019-12-20 09:43:23 -05:00
Patrick Schleizer
fbe2479f48
count processed file system objects
...
to be able to verify if any were "forgotten"
2019-12-20 08:54:56 -05:00
Patrick Schleizer
195ea522f5
fix
2019-12-20 08:52:14 -05:00
Patrick Schleizer
6f8231be70
debugging
2019-12-20 08:51:55 -05:00
Patrick Schleizer
ed50f98010
output
2019-12-20 08:47:22 -05:00
Patrick Schleizer
089c40135f
bumped changelog version
2019-12-20 08:15:00 -05:00
Patrick Schleizer
6d30e3b4a2
do not remove suid from whitelisted binaries ever
...
https://forums.whonix.org/t/permission-hardening/8655/13
2019-12-20 08:13:23 -05:00
Patrick Schleizer
d5f1bd8dd2
fix mode sanity check
...
no longer use seq due to issue
https://forums.whonix.org/t/permission-hardening/8655/13
2019-12-20 08:02:30 -05:00
Patrick Schleizer
ddc0eec63d
bumped changelog version
2019-12-20 07:12:36 -05:00
Patrick Schleizer
65248a94ef
readme
2019-12-20 07:06:50 -05:00
Patrick Schleizer
8e112c3423
description
2019-12-20 06:53:24 -05:00
Patrick Schleizer
24ea70384b
description
2019-12-20 06:53:03 -05:00
Patrick Schleizer
0ae3e689b5
comment
2019-12-20 06:35:02 -05:00
Patrick Schleizer
050f4d8b94
comment
2019-12-20 06:34:37 -05:00
Patrick Schleizer
36043fe5cc
comment
2019-12-20 06:33:41 -05:00
Patrick Schleizer
fb4254547b
comment
2019-12-20 06:32:04 -05:00
Patrick Schleizer
cca0908d9a
fix
2019-12-20 06:11:38 -05:00
Patrick Schleizer
e254b8b52d
fix
2019-12-20 06:09:17 -05:00
Patrick Schleizer
7f8b3c76de
output
2019-12-20 06:02:17 -05:00
Patrick Schleizer
071c64dc41
enable 'set -e'
2019-12-20 06:01:49 -05:00
Patrick Schleizer
b97c66707c
minor
2019-12-20 05:59:05 -05:00
Patrick Schleizer
17b4f12276
output
2019-12-20 05:58:42 -05:00
Patrick Schleizer
48fe7312bf
update config
2019-12-20 05:57:41 -05:00
Patrick Schleizer
87d820d84c
comment
2019-12-20 05:54:16 -05:00
Patrick Schleizer
918cbb4e25
output
2019-12-20 05:51:25 -05:00
Patrick Schleizer
c8cf09a4cb
output
2019-12-20 05:50:16 -05:00
Patrick Schleizer
46466c12ad
parse drop-in config folder rather than only one config file
2019-12-20 05:49:11 -05:00
Patrick Schleizer
66fd31189d
improve output if set-user-id / set-group-id is set
2019-12-20 05:37:33 -05:00
Patrick Schleizer
6dd6530fa5
remove hardening-enable
...
please invent package security-paranoid instead
https://forums.whonix.org/t/security-hardening-tool-usr-bin-hardening-enable-by-security-misc/8609
2019-12-20 05:32:26 -05:00
Patrick Schleizer
6c8127e3cd
remove "/lib/ nosuid" from permission hardening
...
Takes 1 minute to parse. No SUID binaries there by default.
remount-secure mounts it with nosuid anyhow.
Therefore no processing it here.
2019-12-20 05:29:37 -05:00
Patrick Schleizer
af0f074987
remount /lib with nosuid,nodev
...
https://forums.whonix.org/t/re-mount-home-and-other-with-noexec-and-nosuid-among-other-useful-mount-options-for-better-security/7707/22
2019-12-20 05:27:11 -05:00
Patrick Schleizer
7f20160477
comment
2019-12-20 05:24:00 -05:00
Patrick Schleizer
a135ae9400
use must manually enable permission-hardening.service
...
until development finished
2019-12-20 05:22:59 -05:00
Patrick Schleizer
fa6f1e1568
output
2019-12-20 05:19:39 -05:00
Patrick Schleizer
a26cb94bfd
globstar no longer required
2019-12-20 04:49:21 -05:00
Patrick Schleizer
c66e9abe18
comment
2019-12-20 04:48:57 -05:00
Patrick Schleizer
d1d0afff34
fix
...
fso: /lib/
usr/lib/security-misc/permission-hardening: line 19: /usr/bin/stat: Argument list too long
https://forums.whonix.org/t/kernel-hardening/7296/326
2019-12-20 04:48:02 -05:00
Patrick Schleizer
e74d2e4f94
output
2019-12-20 04:23:14 -05:00
Patrick Schleizer
eb86359033
refactoring
2019-12-20 04:20:05 -05:00
Patrick Schleizer
bb84fca184
refactoring
2019-12-20 04:08:46 -05:00
Patrick Schleizer
f92b414195
refactoring
2019-12-20 04:06:28 -05:00
Patrick Schleizer
4c44871e9d
comment
2019-12-20 04:02:05 -05:00
Patrick Schleizer
6876a2eaa8
comment
2019-12-20 04:01:40 -05:00
Patrick Schleizer
35c4fce61b
fix "dpkg-statoverride: warning: stripping trailing /"
2019-12-20 03:54:46 -05:00
Patrick Schleizer
9bd9012ab1
refactoring
2019-12-20 03:46:50 -05:00
Patrick Schleizer
788a2c1ba3
comment
2019-12-20 03:45:01 -05:00
Patrick Schleizer
55933f8876
refactoring
2019-12-20 03:43:36 -05:00
Patrick Schleizer
9e493a9f48
refactoring
2019-12-20 03:42:09 -05:00
Patrick Schleizer
b92a690c16
refactoring
2019-12-20 03:40:47 -05:00
Patrick Schleizer
98535e3a2b
refactoring
2019-12-20 03:39:25 -05:00
Patrick Schleizer
ecbba2fd61
refactoring
2019-12-20 03:38:39 -05:00
Patrick Schleizer
20b8a407ac
refactoring
2019-12-20 03:25:17 -05:00
Patrick Schleizer
6cd9eb44fb
refactoring
2019-12-20 03:24:07 -05:00
Patrick Schleizer
706dba104d
code simplification
2019-12-20 03:19:12 -05:00
Patrick Schleizer
01dd567f8b
fix, if fso has exactly the mode we want (not 3 instead of 4 string length), not need to reset it
2019-12-20 03:16:43 -05:00
Patrick Schleizer
4f65b0fc1e
refactoring
2019-12-20 03:13:27 -05:00
Patrick Schleizer
bfee6b60cb
comment
2019-12-20 03:11:11 -05:00
Patrick Schleizer
d64cdc1247
refactoring
2019-12-20 03:04:41 -05:00
Patrick Schleizer
7c5c65a6c1
comment
2019-12-20 03:04:13 -05:00
Patrick Schleizer
b31d8cd3fc
fix
2019-12-20 03:03:40 -05:00
Patrick Schleizer
c626290673
refactoring
2019-12-20 03:02:26 -05:00
Patrick Schleizer
d5ff1d6f28
refactoring
2019-12-20 03:00:39 -05:00
Patrick Schleizer
640ca1d24d
skip symlinks
...
https://forums.whonix.org/t/kernel-hardening/7296/323 ?
2019-12-20 02:57:57 -05:00
Patrick Schleizer
cc8f795799
comment
2019-12-20 02:47:04 -05:00
Patrick Schleizer
4e5b222a08
comment
2019-12-20 02:43:33 -05:00
Patrick Schleizer
fa895ee11e
refactoring
2019-12-20 02:40:42 -05:00
Patrick Schleizer
2c163bf439
check string length of permission variable
...
https://forums.whonix.org/t/kernel-hardening/7296/322
2019-12-20 02:39:53 -05:00
Patrick Schleizer
a89befd902
code simplification
2019-12-20 02:20:54 -05:00
Patrick Schleizer
72812da63f
comment
2019-12-20 02:16:32 -05:00
Patrick Schleizer
39a41cc27b
refactoring
2019-12-20 02:14:45 -05:00
Patrick Schleizer
2ed6452590
downgrade to info
2019-12-20 02:12:43 -05:00
Patrick Schleizer
a5e55dfcfc
quotes
2019-12-20 02:11:39 -05:00
Patrick Schleizer
3187cee4fb
output
2019-12-20 02:10:13 -05:00
Patrick Schleizer
5160b4c781
disable xtrace
2019-12-20 02:08:05 -05:00
Patrick Schleizer
27bfe95d25
add echo wrapper
2019-12-20 02:07:49 -05:00
Patrick Schleizer
a6988f3fb8
output
2019-12-20 02:06:31 -05:00
Patrick Schleizer
1819577b88
fix
2019-12-20 02:04:34 -05:00
Patrick Schleizer
278c60c5a0
exit non-zero if some line cannot be parsed
...
therefore make systemd notice this
therefore allow the sysadmin to notice this
2019-12-20 02:01:36 -05:00
Patrick Schleizer
66bcba8313
improve character whitelisting
2019-12-20 01:58:35 -05:00
Patrick Schleizer
8f14e808a9
send error messages to stderr
2019-12-20 01:32:49 -05:00
Patrick Schleizer
d8c9fac2e5
output
2019-12-20 01:32:08 -05:00
Patrick Schleizer
f19abaf627
refactoring
2019-12-20 01:31:37 -05:00
Patrick Schleizer
c5d1e9dda7
Merge remote-tracking branch 'origin/master'
2019-12-20 01:30:31 -05:00
Patrick Schleizer
a20b30013f
Merge pull request #44 from madaidan/permission-hardening
...
Remove SUID bits
2019-12-20 06:29:58 +00:00
madaidan
9df7407286
Remove SUID bits
2019-12-19 17:01:33 +00:00
madaidan
3c2ca0257f
Support for removing SUID bits
2019-12-19 17:01:08 +00:00
Patrick Schleizer
62eb462920
skip console_users_check for Qubes users
2019-12-16 06:46:48 -05:00
Patrick Schleizer
ab68182e11
bumped changelog version
2019-12-16 06:27:51 -05:00
Patrick Schleizer
2cab38a8b3
readme
2019-12-16 06:24:14 -05:00
Patrick Schleizer
4ca9fc5920
fix
2019-12-16 03:53:10 -05:00
Patrick Schleizer
f68efd53cf
remount /sys/kernel/security with nodev,nosuid[,noexec]
...
as suggested by @madaidan
http://forums.whonix.org/t/apparmor-for-complete-system-including-init-pid1-systemd-everything-full-system-mac-policy/8339/238
2019-12-16 03:52:09 -05:00
Patrick Schleizer
2c4170e6f3
description
2019-12-12 09:47:58 -05:00
Patrick Schleizer
2d5ef378f3
description
2019-12-12 09:39:39 -05:00
Patrick Schleizer
300f010fc2
increase priority of pam-abort-on-locked-password-security-misc
...
since it has its own user help output
so it shows before pam tally2 info
to avoid duplicate non-applicable help text
2019-12-12 09:29:00 -05:00
Patrick Schleizer
a10597de92
bumped changelog version
2019-12-12 09:04:15 -05:00
Patrick Schleizer
729fa26eca
use pam_acccess only for /etc/pam.d/login
...
remove "Allow members of group 'ssh' to login."
remove "+:ssh:ALL EXCEPT LOCAL"
2019-12-12 09:00:08 -05:00
Patrick Schleizer
22b6480bc4
bumped changelog version
2019-12-10 11:44:02 -05:00
Patrick Schleizer
88bea2a6ef
comment
2019-12-10 03:53:10 -05:00
Patrick Schleizer
7d8001ddc9
refactoring
2019-12-10 03:51:39 -05:00
Patrick Schleizer
d2f6ac0491
fix, do user/group modifications in preinst rather than postinst
2019-12-10 03:50:23 -05:00
Patrick Schleizer
64ae53edb9
bumped changelog version
2019-12-09 08:25:30 -05:00
Patrick Schleizer
d80bf036f3
Disable permission hardening now until development finished / tested.
2019-12-09 03:50:43 -05:00
Patrick Schleizer
b72eb30056
quotes
2019-12-09 02:32:05 -05:00
Patrick Schleizer
c258376b7e
use read (built-in) rather than awk (external)
2019-12-09 02:31:10 -05:00
Patrick Schleizer
02165201ab
read -r; refactoring
...
as per https://mywiki.wooledge.org/BashFAQ/001
2019-12-09 02:23:43 -05:00
Patrick Schleizer
7467252122
quotes
2019-12-09 02:22:16 -05:00
Patrick Schleizer
9bea996017
Merge remote-tracking branch 'origin/master'
2019-12-09 02:21:47 -05:00
Patrick Schleizer
af62da3445
Merge pull request #42 from madaidan/permission-hardening
...
File permission hardening
2019-12-08 20:45:16 +00:00
madaidan
d7e2deae92
Create permission-hardening.service
2019-12-08 16:50:54 +00:00
madaidan
6c564f6e95
Create permission-hardening.conf
2019-12-08 16:50:11 +00:00
madaidan
61e19fa5f1
Create permission-hardening
2019-12-08 16:49:28 +00:00
Patrick Schleizer
6f944234a9
bumped changelog version
2019-12-08 05:26:29 -05:00
Patrick Schleizer
e64741c01e
readme
2019-12-08 05:25:19 -05:00
Patrick Schleizer
c192644ee3
security-misc /usr/share/pam-configs/permission-lockdown-security-misc
is no longer required, removed.
...
Thereby fix apparmor issue.
> Dec 08 09:47:50 host audit[3232]: AVC apparmor="DENIED" operation="exec" profile="/usr/bin/whonixcheck" name="/usr/lib/security-misc/permission-lockdown" pid=3232 comm="sudo" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
> Dec 08 09:47:50 host sudo[3232]: pam_exec(sudo:session): execve(/usr/lib/security-misc/permission-lockdown,...) failed: Permission denied
It is no longer required, because...
existing linux user accounts:
* Get permission lock down because security-misc `debian/security-misc.postinst` calls `/usr/lib/security-misc/permission-lockdown`.
new linux user accounts (created at first boot):
* security-misc `/usr/share/pam-configs/mkhomedir-security-misc` pam mkhomedir sets secure permissions using `umask=027`.
2019-12-08 05:21:35 -05:00
Patrick Schleizer
edcc2de71d
bumped changelog version
2019-12-08 04:38:33 -05:00
Patrick Schleizer
1227ccd1f7
After=qubes-sysinit.service
2019-12-08 04:37:53 -05:00
Patrick Schleizer
17d81d0083
bumped changelog version
2019-12-08 04:27:01 -05:00
Patrick Schleizer
ebae9eef38
skip sudo_users_check in Qubes
...
Qubes users can use dom0 to get a root terminal emulator.
For example:
qvm-run -u root debian-10 xterm
2019-12-08 04:25:19 -05:00
Patrick Schleizer
53e4717c62
bumped changelog version
2019-12-08 04:05:29 -05:00
Patrick Schleizer
bc45ed385e
readme
2019-12-08 04:03:02 -05:00
Patrick Schleizer
ac96708b24
improve usr/bin/hardening-enable
2019-12-08 04:01:11 -05:00
Patrick Schleizer
a345a0fb64
abort installation if ssh.service is enabled but no user is member of group ssh
2019-12-08 03:27:12 -05:00
Patrick Schleizer
50ac03363f
output
2019-12-08 03:18:32 -05:00
Patrick Schleizer
c7c65fe4e7
higher priority usr/share/pam-configs/tally2-security-misc
...
so it can give info before pam stack gets aborted by other pam modules
2019-12-08 03:15:53 -05:00
Patrick Schleizer
3bd0b3f837
notify when attempting to use ssh but user is member of group ssh
2019-12-08 03:10:41 -05:00
Patrick Schleizer
cea598dc1a
refactoring
2019-12-08 02:43:05 -05:00
Patrick Schleizer
54f5e02c21
comment
2019-12-08 02:42:30 -05:00
Patrick Schleizer
b4265195f4
refactoring
2019-12-08 02:41:36 -05:00
Patrick Schleizer
0f65b2e85c
abort installation if no user is a member of group "console"; output
...
https://forums.whonix.org/t/etc-security-hardening-console-lockdown-pam-access-access-conf/8592/7
2019-12-08 02:38:19 -05:00
Patrick Schleizer
1dbca1ea2d
add usr/bin/hardening-enable
2019-12-08 02:27:09 -05:00
Patrick Schleizer
19cc6d7555
pam description
2019-12-08 02:10:43 -05:00
Patrick Schleizer
24423b42f0
description
2019-12-08 02:03:05 -05:00
Patrick Schleizer
6b01e5be14
comment
2019-12-08 02:01:22 -05:00
Patrick Schleizer
66bebefc9f
description
2019-12-08 02:00:23 -05:00
Patrick Schleizer
52e0f104cc
comment
2019-12-08 01:59:55 -05:00
Patrick Schleizer
731d486fa0
refactoring
2019-12-08 01:58:58 -05:00
Patrick Schleizer
221a2df2a2
refactoring
2019-12-08 01:58:37 -05:00
Patrick Schleizer
b871421a54
usr/share/pam-configs/console-lockdown -> usr/share/pam-configs/console-lockdown-security-misc
2019-12-08 01:57:43 -05:00
Patrick Schleizer
d36669596f
comment
2019-12-08 01:56:30 -05:00
Patrick Schleizer
1a0f353708
comment
2019-12-08 01:47:40 -05:00
Patrick Schleizer
eed1f0a462
comment
2019-12-08 01:46:32 -05:00
Patrick Schleizer
2491b62393
refactoring, add all groups first before adding any users to any groups
2019-12-08 01:43:45 -05:00
Patrick Schleizer
1464f01d19
description
2019-12-08 01:30:42 -05:00
Patrick Schleizer
491dd4d93d
Merge remote-tracking branch 'origin/master'
2019-12-08 01:22:16 -05:00
Patrick Schleizer
a78a7e5571
Merge pull request #41 from madaidan/system.map
...
Check for more locations of System.map
2019-12-08 06:21:44 +00:00
madaidan
6846a94327
Check for more locations of System.map
2019-12-07 19:38:12 +00:00
Patrick Schleizer
9432d16378
/usr/bin/cat mrix,
2019-12-07 12:13:42 -05:00
Patrick Schleizer
373e8733d3
Merge remote-tracking branch 'origin/master'
2019-12-07 11:34:42 -05:00
Patrick Schleizer
447eb14432
Merge pull request #40 from madaidan/system.map
...
Remove hyphen from remove-system.map
2019-12-07 16:34:21 +00:00
Patrick Schleizer
c1800b13fe
separate group "ssh" for incoming ssh console permission
...
Thanks to @madaidan
https://forums.whonix.org/t/etc-security-hardening-console-lockdown-pam-access-access-conf/8592/16
2019-12-07 11:26:39 -05:00
madaidan
668b6420de
Remove hyphen
2019-12-07 14:15:02 +00:00
Patrick Schleizer
55225aa30e
description
2019-12-07 07:16:07 -05:00
Patrick Schleizer
34a2bc16c8
description
2019-12-07 07:15:58 -05:00
Patrick Schleizer
d823f06c78
description
2019-12-07 07:13:42 -05:00
Patrick Schleizer
9ba84f34c6
comment
2019-12-07 06:51:59 -05:00
Patrick Schleizer
dc1dfc8c20
output
2019-12-07 06:51:16 -05:00
Patrick Schleizer
8636d2f629
add securetty
2019-12-07 06:51:10 -05:00
Patrick Schleizer
532a1525c2
comment
2019-12-07 06:26:55 -05:00
Patrick Schleizer
14aa6c5077
comment
2019-12-07 06:26:23 -05:00
Patrick Schleizer
8b3f5a555b
add console lockdown to pam info output
2019-12-07 06:25:45 -05:00
Patrick Schleizer
021b06dac9
add hvc0 to hvc9
2019-12-07 06:04:45 -05:00
Patrick Schleizer
8a59662a44
comment
2019-12-07 06:02:45 -05:00
Patrick Schleizer
090ddbe96a
description
2019-12-07 06:00:41 -05:00
Patrick Schleizer
cda6724755
add pts/0 to pts/9
2019-12-07 05:56:57 -05:00
Patrick Schleizer
218cbddba9
comment
2019-12-07 05:52:06 -05:00
Patrick Schleizer
6479c883bf
Console Lockdown.
...
Allow members of group 'console' to use tty1 to tty7. Everyone else except
members of group 'console-unrestricted' are restricted from using console
using ancient, unpopular login methods such as using /bin/login over networks,
which might be exploitable. (CVE-2001-0797)
Not enabled by default in this package since this package does not know which
users shall be added to group 'console'.
In new Whonix builds, user 'user" will be added to group 'console' and
pam console-lockdown enabled by package anon-base-files.
/usr/share/pam-configs/console-lockdown
/etc/security/access-security-misc.conf
https://forums.whonix.org/t/etc-security-hardening/8592
2019-12-07 05:40:20 -05:00
Patrick Schleizer
52934c9288
bumped changelog version
2019-12-07 02:02:32 -05:00
Patrick Schleizer
6faa977cd7
readme
2019-12-07 02:02:06 -05:00
Patrick Schleizer
6d92d03b31
description
2019-12-07 01:54:50 -05:00
Patrick Schleizer
5a4eda0d05
also support /usr/local/etc/remount-disable and /usr/local/etc/noexec
2019-12-07 01:53:33 -05:00
Patrick Schleizer
0afcc5e798
bumped changelog version
2019-12-06 12:43:21 -05:00
Patrick Schleizer
2954dcbccf
minor
2019-12-06 12:24:55 -05:00
Patrick Schleizer
f3647e7478
RemainAfterExit=yes
2019-12-06 12:18:18 -05:00
Patrick Schleizer
af0cf058e7
bumped changelog version
2019-12-06 11:18:20 -05:00
Patrick Schleizer
9b14f24d5e
refactoring
2019-12-06 11:17:32 -05:00
Patrick Schleizer
a6133f5912
output
2019-12-06 11:16:43 -05:00
Patrick Schleizer
c1ea35e2ef
output
2019-12-06 11:15:54 -05:00
Patrick Schleizer
4bec41379d
fix remount with noexec if /etc/noexec exists
2019-12-06 11:15:13 -05:00
Patrick Schleizer
bff425fec2
bumped changelog version
2019-12-06 09:32:18 -05:00
Patrick Schleizer
b22289f2a8
readme
2019-12-06 09:30:05 -05:00
Patrick Schleizer
470cad6e91
remount /home /tmp /dev/shm /run with nosuid,nodev (default) and noexec (opt-in)
...
https://forums.whonix.org/t/re-mount-home-and-other-with-noexec-and-nosuid-among-other-useful-mount-options-for-better-security/7707
2019-12-06 05:14:02 -05:00
Patrick Schleizer
8cf5ed990a
comment
2019-12-05 15:52:24 -05:00
Patrick Schleizer
19add3299c
Merge remote-tracking branch 'origin/master'
2019-12-05 15:46:19 -05:00
Patrick Schleizer
9679292878
Merge pull request #39 from madaidan/rp_filter
...
Enable reverse path filtering
2019-12-05 20:33:47 +00:00
madaidan
af9e19c51f
Update control
2019-12-05 20:14:55 +00:00
madaidan
30289c68c2
Enable reverse path filtering
2019-12-05 20:13:10 +00:00
Patrick Schleizer
0c25a96b59
description / comments
2019-12-03 02:18:32 -05:00
Patrick Schleizer
d26ba05c47
Merge remote-tracking branch 'origin/master'
2019-12-03 01:52:04 -05:00
Patrick Schleizer
73c6410a0e
Merge pull request #38 from madaidan/distrust-cpu
...
Distrust the CPU for initial entropy
2019-12-03 06:51:31 +00:00
madaidan
8d63da3cef
Update control
2019-12-02 16:46:12 +00:00
madaidan
5da2a27bf0
Distrust the CPU for initial entropy
2019-12-02 16:43:00 +00:00
Patrick Schleizer
6ca48fffdc
bumped changelog version
2019-11-28 10:22:41 -05:00
Patrick Schleizer
ab696f5571
readme
2019-11-28 10:05:39 -05:00
Patrick Schleizer
25aed91eb1
description
2019-11-28 09:20:46 -05:00
Patrick Schleizer
0c4e5df3e0
description
2019-11-28 09:18:05 -05:00
Patrick Schleizer
5ac2a6f9ac
description
2019-11-28 09:17:32 -05:00
Patrick Schleizer
ff3412fbe0
fix, make sure to undo pam changes on package removal
...
Thanks to minimal for the bug report!
https://forums.whonix.org/t/is-security-misc-suitable-for-hardening-bridges-and-relays/8299/11
2019-11-27 10:22:31 -05:00
Patrick Schleizer
62b924eea7
Merge remote-tracking branch 'origin/master'
2019-11-26 13:00:36 -05:00
Patrick Schleizer
ba02dcb267
Merge pull request #37 from madaidan/apparmor-fixes
...
Fix permission-lockdown
2019-11-26 18:00:11 +00:00
madaidan
d9d6d07714
/dev/pts/[0-9]* rw,
2019-11-26 17:12:12 +00:00
Patrick Schleizer
9091f69edd
bumped changelog version
2019-11-25 08:51:36 +00:00
Patrick Schleizer
57ce06c0eb
readme
2019-11-25 08:41:45 +00:00
Patrick Schleizer
aa5451c8cd
Lock user accounts after 50 rather than 100 failed login attempts.
...
https://forums.whonix.org/t/how-strong-do-linux-user-account-passwords-have-to-be-when-using-full-disk-encryption-fde-too/7698/19
2019-11-25 01:39:53 -05:00
Patrick Schleizer
6277db1383
bumped changelog version
2019-11-23 14:07:45 +00:00
Patrick Schleizer
6a6a638ef0
readme
2019-11-23 14:06:28 +00:00
Patrick Schleizer
fe1f1b73a7
load jitterentropy_rng kernel module for better entropy collection
...
https://www.whonix.org/wiki/Dev/Entropy
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=927972
https://forums.whonix.org/t/jitterentropy-rngd/7204
2019-11-23 11:20:32 +00:00
Patrick Schleizer
d32024a3da
/usr/sbin/pam_tally2 mrix,
...
https://forums.whonix.org/t/apparmor-for-complete-system-including-init-pid1-systemd-everything-full-system-mac-policy/8339/152
2019-11-23 05:53:19 -05:00
Patrick Schleizer
03e8023847
output
2019-11-22 14:11:30 -05:00
Patrick Schleizer
e76e1475b0
comment
2019-11-22 12:24:35 -05:00
Patrick Schleizer
a99dfd067a
bumped changelog version
2019-11-19 15:31:55 +00:00
Patrick Schleizer
81e4f580af
etc/apparmor.d/usr.lib.security-misc.permission-lockdown: /usr/bin/chmod mrix,
2019-11-19 15:29:02 +00:00
Patrick Schleizer
8ad8dbea5a
bumped changelog version
2019-11-18 19:16:16 +00:00
Patrick Schleizer
9a20b85fe1
Merge remote-tracking branch 'origin/master'
2019-11-17 11:20:17 -05:00
Patrick Schleizer
2b17c0f3e4
Merge pull request #36 from madaidan/hidepid-fix
...
Remove proc-hidepid systemd sandboxing
2019-11-17 16:19:55 +00:00
madaidan
e92022a21c
Remove systemd sandboxing
2019-11-16 14:56:28 +00:00
Patrick Schleizer
477d476bb1
etc/apparmor.d/usr.lib.security-misc.pam_tally2-info: add '#include <abstractions/base>'
2019-11-10 08:29:44 -05:00
Patrick Schleizer
11dc23bf08
etc/apparmor.d/usr.lib.security-misc.permission-lockdown: add '#include <abstractions/base>'
2019-11-10 08:28:32 -05:00
Patrick Schleizer
d1d61b106b
bumped changelog version
2019-11-09 18:44:50 +00:00
Patrick Schleizer
9f2932faab
/usr/bin/id rix,
2019-11-09 13:32:21 -05:00
Patrick Schleizer
6b7df973f6
bumped changelog version
2019-11-09 12:57:45 +00:00
Patrick Schleizer
2e73c053b5
fix lintian warning
2019-11-09 12:55:00 +00:00
Patrick Schleizer
6e28774f95
bumped changelog version
2019-11-09 12:23:15 +00:00
Patrick Schleizer
94d40c68d4
do not set kernel boot parameter page_poison=1 in Qubes since does not work
...
https://github.com/QubesOS/qubes-issues/issues/5212#issuecomment-533873012
2019-11-05 10:02:55 -05:00
Patrick Schleizer
f57702c158
comments; copyright
2019-11-05 09:55:43 -05:00
Patrick Schleizer
74293bcd2f
output
2019-11-05 01:59:25 -05:00
Patrick Schleizer
2b5b06b602
output
2019-11-05 01:59:19 -05:00
Patrick Schleizer
d6977becba
refactoring
2019-11-05 01:51:14 -05:00
Patrick Schleizer
daf0006795
comment
2019-11-05 01:50:27 -05:00
Patrick Schleizer
78defc4d0b
add /var/cache/security-misc/state-files/placeholder file
...
to make sure folder already exists to avoid AppArmor issue
https://forums.whonix.org/t/apparmor-for-complete-system-including-init-pid1-systemd-everything-full-system-mac-policy/8339/76
2019-11-03 04:34:31 -05:00
Patrick Schleizer
7c0ec7e507
readme
2019-11-03 04:23:40 -05:00
Patrick Schleizer
b55c2fd62e
Enables punycode (network.IDN_show_punycode
) by default in Thunderbird
...
to make phising attacks more difficult. Fixing URL not showing real Domain
Name (Homograph attack).
https://forums.whonix.org/t/enable-network-idn-show-punycode-by-default-in-thunderbird-to-fix-url-not-showing-real-domain-name-homograph-attack-punycode/8415
2019-11-03 02:50:51 -05:00
Patrick Schleizer
bf62306d4f
bumped changelog version
2019-10-31 16:34:35 +00:00
Patrick Schleizer
e1375802eb
apparmor fix
...
https://forums.whonix.org/t/apparmor-for-complete-system-including-init-pid1-systemd-everything-full-system-mac-policy/8339/67
2019-10-31 16:32:28 +00:00
Patrick Schleizer
6e5d8b357d
bumped changelog version
2019-10-31 16:06:51 +00:00
Patrick Schleizer
203d5cfa68
copyright
2019-10-31 11:19:44 -04:00
Patrick Schleizer
f001250ae6
Merge remote-tracking branch 'origin/master'
2019-10-28 10:31:30 -04:00
Patrick Schleizer
5a3cbe8100
Merge pull request #35 from madaidan/apparmor
...
Apparmor profiles
2019-10-28 14:30:45 +00:00
madaidan
0e49bdc45f
Licensing
2019-10-28 14:26:14 +00:00
madaidan
5d5ad92638
Licensing
2019-10-28 14:26:05 +00:00
madaidan
0699747fcb
Debian packaging
2019-10-28 14:24:37 +00:00
madaidan
fe4e29d392
Depend on dh-apparmor
2019-10-28 14:22:47 +00:00
madaidan
1b8b3610b1
Create usr.lib.security-misc.pam_tally2-info
2019-10-28 14:20:59 +00:00
madaidan
29b05546e4
Create usr.lib.security-misc.permission-lockdown
2019-10-28 14:20:08 +00:00
Patrick Schleizer
d832ab91bd
bumped changelog version
2019-10-23 10:22:03 +00:00
Patrick Schleizer
bce5274a15
quotes fix
2019-10-22 09:22:29 -04:00
Patrick Schleizer
e20b9e2133
better solution when using pkexec with --user: wrap sudo --user with lxqt-sudo
2019-10-22 09:08:18 -04:00
Patrick Schleizer
d4e02de43a
set SUDO_ASKPASS for pkexec wrapper when using sudo --askpass
2019-10-22 09:04:44 -04:00
Patrick Schleizer
1a65a91039
long rather than short option
2019-10-22 08:56:05 -04:00
Patrick Schleizer
b55913637b
silence output by mount/grep
2019-10-22 08:54:48 -04:00
Patrick Schleizer
a1154170c9
Call original pkexec in case there are no arguments.
2019-10-22 08:54:17 -04:00
Patrick Schleizer
9c8f678cb9
bumped changelog version
2019-10-21 09:55:41 +00:00
Patrick Schleizer
1e4d0ea1d0
fix lintian warning
2019-10-21 09:55:05 +00:00
Patrick Schleizer
343d9cc916
fix
2019-10-21 09:53:55 +00:00
Patrick Schleizer
2d436f3602
bumped changelog version
2019-10-21 09:51:36 +00:00
Patrick Schleizer
af3f42dabf
readme
2019-10-21 09:51:12 +00:00
Patrick Schleizer
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
Patrick Schleizer
31b771ac2e
bumped changelog version
2019-10-18 10:39:43 +00:00
Patrick Schleizer
2613525b94
readme
2019-10-18 10:39:19 +00:00
Patrick Schleizer
957deac5cb
fix lintian warning
...
W: security-misc: maintainer-script-should-not-parse-etc-passwd-or-group preinst:19
2019-10-18 10:38:25 +00:00
Patrick Schleizer
d301e7f365
description, fix lintian warning
2019-10-18 10:36:44 +00:00
Patrick Schleizer
ce6b64a9ba
bumped changelog version
2019-10-18 08:55:07 +00:00
Patrick Schleizer
20b7faa61f
readme
2019-10-18 08:54:43 +00:00
Patrick Schleizer
c9d75ef9ea
abort installation if no user is part of group sudo
...
https://forums.whonix.org/t/is-security-misc-suitable-for-hardening-bridges-and-relays/8299/4
Thanks to minimal for the bug report!
2019-10-17 06:46:47 -04:00
Patrick Schleizer
a5045dc26e
set -e
2019-10-17 06:18:32 -04:00
Patrick Schleizer
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
Patrick Schleizer
4aba027566
syntax check
2019-10-17 06:12:36 -04:00
Patrick Schleizer
8b9aa8841a
fix
2019-10-17 06:11:01 -04:00
Patrick Schleizer
cfbd77040a
set "shopt -s nullglob" to avoid failing when folder /etc/hide-hardware-info.d
...
does not exist or is empty
2019-10-17 06:10:29 -04:00
Patrick Schleizer
b05663c5f6
shuffle
...
https://forums.whonix.org/t/restrict-hardware-information-to-root/7329/80
2019-10-17 06:08:55 -04:00
Patrick Schleizer
28a440091d
code simplification
2019-10-17 06:08:16 -04:00
Patrick Schleizer
3c4e261c20
remove trailing spaces
2019-10-17 06:05:23 -04:00
Patrick Schleizer
c8e0303d6d
Merge remote-tracking branch 'origin/master'
2019-10-17 06:04:34 -04:00
Patrick Schleizer
8a42c5b023
Merge pull request #34 from madaidan/whitelist
...
Add a whitelist for /sys and /proc/cpuinfo
2019-10-17 09:59:12 +00:00
Patrick Schleizer
994ca024c2
Merge pull request #33 from madaidan/documentation
...
Improve documentation
2019-10-17 06:19:46 +00:00
madaidan
61f742304d
return 0
2019-10-16 19:46:59 +00:00
madaidan
259b1f2c71
Update control
2019-10-16 19:21:24 +00:00
madaidan
ffba0e0179
Elaborate
2019-10-16 19:04:15 +00:00
madaidan
4f5b7816ec
Elaborate
2019-10-16 19:01:49 +00:00
madaidan
99a762d3dc
KASLR is different from ASLR
2019-10-16 18:53:04 +00:00
madaidan
a14a2854c6
Elaborate
2019-10-16 18:52:14 +00:00
madaidan
f08c03ab21
Restrict sysfs/cpuinfo if the whitelist is disabled
2019-10-16 15:39:23 +00:00
madaidan
af607d5eb2
Create sysfs and cpuinfo groups
2019-10-15 21:02:03 +00:00
madaidan
42c1701d5c
Whitelist user@.service
2019-10-15 21:00:03 +00:00
madaidan
a47a2fca8b
Create 30_whitelist.conf
2019-10-15 20:58:58 +00:00
madaidan
6b78dbcd07
Add way to whitelist things
2019-10-15 20:57:02 +00:00
Patrick Schleizer
4b1b3b7d66
bumped changelog version
2019-10-14 10:23:01 +00:00
Patrick Schleizer
c19964360a
readme
2019-10-14 10:10:08 +00:00
Patrick Schleizer
c22738be02
comments
2019-10-07 08:25:45 +00:00
Patrick Schleizer
75f36bc2c9
comments
2019-10-07 08:25:07 +00:00
Patrick Schleizer
e92a8a6966
comments
2019-10-07 08:24:02 +00:00
Patrick Schleizer
60c044a9d6
copyright / comments
2019-10-07 05:30:56 +00:00
Patrick Schleizer
cd2135ff82
comments
2019-10-06 10:18:24 +00:00
Patrick Schleizer
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
Patrick Schleizer
02096f8d7c
Revert "undo Disabling TCP SACK, DSACK, FACK"
...
This reverts commit 5fb4eb8e56
.
2019-10-05 13:13:46 +00:00
Patrick Schleizer
62a0239207
bumped changelog version
2019-10-05 11:33:15 +00:00
Patrick Schleizer
54b83ae44d
readme
2019-10-05 07:20:18 -04:00
Patrick Schleizer
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
Patrick Schleizer
c19942f72b
Merge remote-tracking branch 'origin/master'
2019-10-05 06:58:27 -04:00
Patrick Schleizer
a33851a3c9
Merge pull request #32 from madaidan/disable-dsack-fack
...
Disable TCP DSACK and FACK
2019-10-05 10:58:08 +00:00
Patrick Schleizer
213aef6eb9
bumped changelog version
2019-10-05 09:40:26 +00:00
Patrick Schleizer
aaebb32b66
readme
2019-10-05 09:39:05 +00:00
Patrick Schleizer
c87fc75f2a
fix, run remove-system-map.service during sysinit.target
2019-10-05 09:36:21 +00:00
Patrick Schleizer
25b6746784
fix systemd unit file proc-hidepid.service: WantedBy=sysinit.target
2019-10-05 09:14:54 +00:00
Patrick Schleizer
d2bc3a2a08
chmod +x usr/lib/security-misc/hide-hardware-info
2019-10-05 09:14:41 +00:00
Patrick Schleizer
ffe0d62c81
Merge remote-tracking branch 'origin/master'
2019-10-05 04:49:05 -04:00
Patrick Schleizer
7bcf73deaa
Merge pull request #31 from madaidan/hide-hardware-info
...
Restrict /proc/cpuinfo, /proc/bus, /proc/scsi and /sys to root
2019-10-05 08:46:21 +00:00
madaidan
d0c6bb1e90
Disable TCP DSACK and FACK
2019-10-04 17:35:54 +00:00
madaidan
7345287560
Use sysinit.target instead
2019-10-04 17:32:52 +00:00
madaidan
e06eeec678
Disable hide-hardware-info.service by default
2019-10-03 21:42:06 +00:00
madaidan
87917d2f03
Add licensing
2019-10-03 21:38:07 +00:00
madaidan
b06ab912c0
Add licensing
2019-10-03 21:37:29 +00:00
madaidan
ec5fcf813b
Update control
2019-10-03 20:50:48 +00:00
madaidan
ce97e5ed82
Create hide-hardware-info.service
2019-10-03 20:45:29 +00:00
madaidan
9449f5017a
Create hide-hardware-info
2019-10-03 20:45:14 +00:00
Patrick Schleizer
ddc778b452
bumped changelog version
2019-09-16 13:34:11 +00:00
Patrick Schleizer
75258843e9
copyright
2019-09-16 13:03:43 +00:00
Patrick Schleizer
8e39cea876
comment
2019-09-16 13:03:25 +00:00
Patrick Schleizer
bac462f211
comment
2019-09-16 13:03:02 +00:00
Patrick Schleizer
bec680d4f3
pam_tally2-info: fix, do nothing when started as user "user"
...
xscreensaver runs as user "user", therefore pam_tally2 cannot function.
xscreensaver has its own failed login counter.
as user "user"
/sbin/pam_tally2 -u user
pam_tally2: Error opening /var/log/tallylog for update: Permission denied
/sbin/pam_tally2: Authentication error
https://askubuntu.com/questions/983183/how-lock-the-unlock-screen-after-wrong-password-attempts
https://forums.whonix.org/t/how-strong-do-linux-user-account-passwords-have-to-be-when-using-full-disk-encryption-fde-too/7698
2019-09-16 12:30:23 +00:00
Patrick Schleizer
c2e444479c
bumped changelog version
2019-09-15 14:08:13 +00:00
Patrick Schleizer
c9425a1404
readme
2019-09-15 14:07:50 +00:00
Patrick Schleizer
619550da23
description
2019-09-15 14:00:24 +00:00
Patrick Schleizer
b95b66e429
description
2019-09-15 13:56:37 +00:00
Patrick Schleizer
ae804a15e7
description
2019-09-15 13:21:02 +00:00
Patrick Schleizer
3d187dab99
bumped changelog version
2019-09-12 12:50:42 +00:00
Patrick Schleizer
f13a73e569
undo SysRq restrictions
...
https://forums.whonix.org/t/sysrq-magic-sysrq-key/8079
2019-09-10 12:35:42 -04:00
Patrick Schleizer
fbd1a5bde9
hidepid before sysinit.target
2019-09-10 12:23:00 -04:00
Patrick Schleizer
1f75a10650
bumped changelog version
2019-09-09 12:10:24 +00:00
Patrick Schleizer
1b43914176
Merge remote-tracking branch 'origin/master'
2019-09-09 11:45:36 +00:00
Patrick Schleizer
d0b3bc7d3d
Merge pull request #30 from madaidan/patch-23
...
fix typo
2019-09-09 11:45:19 +00:00
madaidan
60db7e6294
fix typo
2019-09-07 20:08:56 +00:00
Patrick Schleizer
9d875d7c31
bumped changelog version
2019-09-07 06:11:32 +00:00
Patrick Schleizer
b3103b1ba8
readme
2019-09-07 06:10:35 +00:00
Patrick Schleizer
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
Patrick Schleizer
8132052ce0
run update-grub from postinst so /etc/default/grub.d changes take effect
2019-09-07 05:44:23 +00:00
Patrick Schleizer
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
Patrick Schleizer
9ee9309f54
bumped changelog version
2019-09-06 13:04:57 +00:00
Patrick Schleizer
ea0779e42a
rm_conffile /etc/sudoers.d/umask-security-misc
2019-09-06 13:00:20 +00:00
Patrick Schleizer
3a9939dccb
bumped changelog version
2019-09-06 11:47:40 +00:00
Patrick Schleizer
51705c201b
readme
2019-09-06 11:47:17 +00:00
Patrick Schleizer
5960c1682a
description
2019-09-06 11:46:22 +00:00
Patrick Schleizer
fccfacfdaf
description
2019-09-06 11:45:54 +00:00
Patrick Schleizer
cb8170fd80
comment
2019-09-06 11:44:56 +00:00
Patrick Schleizer
ccdbc52b82
comment
2019-09-06 11:43:55 +00:00
Patrick Schleizer
051856bc8e
remove trailing space
2019-09-06 11:42:38 +00:00
Patrick Schleizer
610d3488e9
bumped changelog version
2019-09-06 09:33:06 +00:00
Patrick Schleizer
b15becd48d
readme
2019-09-06 09:32:42 +00:00
Patrick Schleizer
0e20e33d16
description
2019-09-05 02:31:57 -04:00
Patrick Schleizer
0b3dcef13d
description
2019-09-05 02:30:40 -04:00
Patrick Schleizer
f2e5883b4c
description
2019-09-05 02:29:48 -04:00
Patrick Schleizer
a4913ae092
description
2019-09-05 02:28:43 -04:00
Patrick Schleizer
a2aeb401a2
bumped changelog version
2019-08-31 13:44:37 +00:00
Patrick Schleizer
3a5bdddf5c
depend on adduser
2019-08-31 08:43:46 -04:00
Patrick Schleizer
8bbebf64cf
bumped changelog version
2019-08-24 16:41:27 +00:00
Patrick Schleizer
07cba361ed
readme
2019-08-24 16:39:56 +00:00
Patrick Schleizer
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
Patrick Schleizer
41c4682280
bumped changelog version
2019-08-23 16:57:12 +00:00
Patrick Schleizer
e77260fd9c
readme
2019-08-23 16:53:55 +00:00
Patrick Schleizer
793c9b6801
Merge remote-tracking branch 'origin/master'
2019-08-19 12:48:23 +00:00
Patrick Schleizer
a74b983283
remove LLC - IEEE 802.2 from blacklist
...
since required by KVM
https://forums.whonix.org/t/whonix-desktop-installer-with-calamares-field-report/7350/107
https://forums.whonix.org/t/blacklist-uncommon-network-protocols/7391/22
https://github.com/Whonix/security-misc/pull/29
2019-08-19 12:46:59 +00:00
Patrick Schleizer
44d62e05b5
Merge pull request #29 from onions-knight/patch-1
...
Update uncommon-network-protocols.conf
2019-08-19 12:45:52 +00:00
onions-knight
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
Patrick Schleizer
0140df8668
virusforget
2019-08-19 08:43:28 +00:00
Patrick Schleizer
113ab42568
virusforget
2019-08-19 08:31:23 +00:00
Patrick Schleizer
416906d4f9
virusforget
2019-08-19 08:19:35 +00:00
Patrick Schleizer
2d867d9fee
virusforget
2019-08-19 08:10:18 +00:00
Patrick Schleizer
8e76e6b8b3
fix
2019-08-19 07:48:12 +00:00
Patrick Schleizer
3f068f77fe
keep cache folder outside of reach of user since even user can remove files
...
owned by root in its home folder
2019-08-19 07:47:20 +00:00
Patrick Schleizer
1fa1efa58e
credits
2019-08-19 07:22:09 +00:00
Patrick Schleizer
1e026a3ebb
initial development version of VirusForget
2019-08-18 22:50:44 +00:00
Patrick Schleizer
e15b560305
bumped changelog version
2019-08-17 10:54:08 +00:00
Patrick Schleizer
c897682794
readme
2019-08-17 10:53:45 +00:00
Patrick Schleizer
e535232728
description
2019-08-17 10:37:49 +00:00
Patrick Schleizer
7ffdd7c240
description
2019-08-17 10:37:42 +00:00
Patrick Schleizer
207399439f
description
2019-08-17 10:37:36 +00:00
Patrick Schleizer
d4fb485e70
description
2019-08-17 10:35:31 +00:00
Patrick Schleizer
41b2819ec8
PAM: abort on locked password
...
to avoid needlessly bumping pam_tally2 counter
https://forums.whonix.org/t/restrict-root-access/7658/1
2019-08-17 10:33:47 +00:00
Patrick Schleizer
e0e25364e2
bumped changelog version
2019-08-17 09:57:48 +00:00
Patrick Schleizer
cfd18d4486
readme
2019-08-17 09:56:29 +00:00
Patrick Schleizer
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
Patrick Schleizer
b9127faac3
bumped changelog version
2019-08-16 16:05:51 +00:00
Patrick Schleizer
e004a5e0cf
readme
2019-08-16 16:05:25 +00:00
Patrick Schleizer
f9e3825e91
fix lintian warning
2019-08-16 16:05:09 +00:00
Patrick Schleizer
ec99720811
bumped changelog version
2019-08-16 15:59:14 +00:00
Patrick Schleizer
6a68c3bd9c
readme
2019-08-16 15:57:30 +00:00
Patrick Schleizer
224f95799c
sudo default umask 006
...
https://forums.whonix.org/t/change-default-umask/7416/43
2019-08-16 11:15:25 -04:00
Patrick Schleizer
17cfcb63b6
code simplification; report locked account earlier
2019-08-16 10:50:56 -04:00
Patrick Schleizer
5754671c46
Merge remote-tracking branch 'origin/master'
2019-08-16 10:36:43 -04:00
Patrick Schleizer
9781598632
Merge pull request #27 from madaidan/patch-21
...
Blacklist bluetooth
2019-08-16 14:36:00 +00:00
Patrick Schleizer
85502ad430
Merge branch 'master' into patch-21
2019-08-16 14:35:51 +00:00
Patrick Schleizer
34672b88a8
bumped changelog version
2019-08-15 15:18:02 +00:00
Patrick Schleizer
a11e3cea9e
readme
2019-08-15 15:08:48 +00:00
Patrick Schleizer
ff9bc1d7ea
informational output during PAM:
...
* Show failed and remaining password attempts.
* Document unlock procedure if Linux user account got locked.
* Point out, that there is no password feedback for `su`.
* Explain locked (root) account if locked.
* /usr/share/pam-configs/tally2-security-misc
* /usr/lib/security-misc/pam_tally2-info
2019-08-15 13:37:28 +00:00
Patrick Schleizer
454e135822
pam_tally2.so even_deny_root
2019-08-15 07:33:41 +00:00
Patrick Schleizer
63b476221c
use requisite rather than required to avoid asking for password needlessly
...
if login will fail anyhow
2019-08-15 07:30:56 +00:00
Patrick Schleizer
ce4a30d3ce
bumped changelog version
2019-08-14 11:52:26 +00:00
Patrick Schleizer
a7c25a451c
remove unneeded dependency on libpam-cgfs
2019-08-14 11:50:53 +00:00
Patrick Schleizer
633854c6be
bumped changelog version
2019-08-14 11:13:25 +00:00
Patrick Schleizer
0feb54b28e
add Depends: apparmor-profile-anondist to fix apparmor issue
...
sudo[19806]: pam_exec(sudo:session): execve(/usr/lib/security-misc/permission-lockdown,...) failed: Permission denied
sudo[18961]: pam_exec(sudo:session): /usr/lib/security-misc/permission-lockdown failed: exit code 13
kernel: audit: type=1400 audit(1565780860.972:224): apparmor="DENIED" operation="exec" profile="/usr/bin/whonixcheck" name="/usr/lib/security-misc/permission-lockdown" pid=19806 comm="sudo" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
2019-08-14 11:10:18 +00:00
Patrick Schleizer
8fdc77fed5
output to stdout
2019-08-14 10:33:23 +00:00
Patrick Schleizer
5213cfbcdc
bumped changelog version
2019-08-14 10:08:18 +00:00
Patrick Schleizer
2875adb722
readme
2019-08-14 10:07:55 +00:00
Patrick Schleizer
01b3a0bfae
description
2019-08-14 09:52:53 +00:00
Patrick Schleizer
547ba91d79
sanity test
2019-08-14 09:45:30 +00:00
Patrick Schleizer
dee195d89e
description
2019-08-14 09:40:41 +00:00
Patrick Schleizer
799acad724
skip, if not a folder
2019-08-14 09:39:43 +00:00
Patrick Schleizer
6321ff5ad5
refactoring
2019-08-14 09:38:44 +00:00
Patrick Schleizer
15094cab4f
avoid ' character in usr/share/pam-configs; in description
2019-08-14 09:36:30 +00:00
Patrick Schleizer
97d1945e61
no log needed, informative output to stdout instead
2019-08-14 09:32:58 +00:00
Patrick Schleizer
a085d46c56
change priories so "pam_umask.so usergroups umask=006" runs before pam_exec.so /usr/lib/security-misc/permission-lockdown
2019-08-14 09:31:58 +00:00
Patrick Schleizer
f8c828b69a
output
2019-08-14 05:19:02 -04:00
Patrick Schleizer
e5da6d9699
copyright
2019-08-14 05:17:54 -04:00
Patrick Schleizer
1595789d7c
comment
2019-08-14 05:17:16 -04:00
Patrick Schleizer
ce06fdf911
formatting
2019-08-14 05:15:53 -04:00
Patrick Schleizer
21489111d1
run permission lockdown during pam
...
https://forums.whonix.org/t/change-default-umask/7416
2019-08-14 08:34:03 +00:00
Patrick Schleizer
42f2d5f666
description
2019-08-14 07:39:28 +00:00
Patrick Schleizer
52df8dc014
optional pam_umask.so usergroups umask=006
2019-08-14 07:37:21 +00:00
Patrick Schleizer
f210294f40
description
2019-08-14 07:24:24 +00:00
Patrick Schleizer
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
Patrick Schleizer
f1d8cbc9fb
bumped changelog version
2019-08-14 07:02:09 +00:00
Patrick Schleizer
41f4441d9d
readme
2019-08-14 07:01:47 +00:00
Patrick Schleizer
a82448d46a
description
2019-08-14 07:01:25 +00:00
Patrick Schleizer
ff8c097943
Merge remote-tracking branch 'origin/master'
2019-08-14 06:59:50 +00:00
Patrick Schleizer
a8ea379526
Merge pull request #28 from madaidan/patch-22
...
Require all loaded kernel modules to be signed with a valid key.
2019-08-14 06:59:34 +00:00
madaidan
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
Patrick Schleizer
6f8acf06d7
bumped changelog version
2019-08-11 12:07:07 +00:00
Patrick Schleizer
52cee91283
readme
2019-08-11 11:39:32 +00:00
Patrick Schleizer
aacd9c7679
description
2019-08-11 10:34:38 +00:00
Patrick Schleizer
c0b5c70de4
description
2019-08-11 10:33:22 +00:00
Patrick Schleizer
2f37a66fd0
description
2019-08-11 10:31:29 +00:00
Patrick Schleizer
e83ec79a25
enable usr/share/pam-configs/mkhomedir-security-misc by default
2019-08-11 10:30:51 +00:00
Patrick Schleizer
1eb806a03e
pam_mkhomedir.so umask=006
2019-08-11 10:29:49 +00:00
Patrick Schleizer
c50eb3c9b0
add usr/share/pam-configs/mkhomedir-security-misc based on
...
/usr/share/pam-configs/mkhomedir
2019-08-11 10:28:55 +00:00
Patrick Schleizer
75769151cd
bumped changelog version
2019-08-10 11:37:02 +00:00
Patrick Schleizer
a2fa18c381
pam_tally2.so deny=100
...
during testing, due to issues
d17e25272b
https://forums.whonix.org/t/how-strong-do-linux-user-account-passwords-have-to-be-when-using-full-disk-encryption-fde-too/7698/12
2019-08-10 07:07:28 -04:00
Patrick Schleizer
d17e25272b
effectively (not directly) add "required pam_tally2.so debug" to /etc/pam.d/common-account
...
This is required because otherwise something like "sudo bash" would count as a
failed login for pam_tally2 even though it was successful.
https://bugzilla.redhat.com/show_bug.cgi?id=707660
https://forums.whonix.org/t/restrict-root-access/7658
2019-08-10 06:06:39 -04:00
Patrick Schleizer
0f896a9d8d
add onerr=fail audit to pam_tally2
2019-08-10 06:05:37 -04:00
Patrick Schleizer
a703865dcf
bumped changelog version
2019-08-01 12:02:41 +00:00
Patrick Schleizer
1fe3036a49
readme
2019-08-01 11:13:43 +00:00
Patrick Schleizer
e076470f68
renamed: usr/share/pam-configs/usergroups -> usr/share/pam-configs/usergroups-security-misc
2019-08-01 11:04:58 +00:00
Patrick Schleizer
830111e99a
split usr/share/pam-configs/security-misc
...
into
usr/share/pam-configs/tally2-security-misc
usr/share/pam-configs/wheel-security-misc
2019-08-01 11:04:22 +00:00
Patrick Schleizer
5d0aec1321
bumped changelog version
2019-07-31 19:12:27 +00:00
Patrick Schleizer
89d32402b2
fix, do not use "," inside /usr/share/pam-configs files
2019-07-31 14:52:29 -04:00
madaidan
4a6f87f3fa
Update control
2019-07-31 18:33:28 +00:00
madaidan
5a4ea39566
Create blacklist-bluetooth.conf
2019-07-31 18:30:57 +00:00
Patrick Schleizer
864de10659
bumped changelog version
2019-07-31 15:17:51 +00:00
Patrick Schleizer
47368ae4fc
readme
2019-07-31 15:15:30 +00:00
Patrick Schleizer
c09fb208d1
bumped changelog version
2019-07-31 07:44:50 +00:00
Patrick Schleizer
ac1220e14b
depend on sudo so group sudo exists during postinst
2019-07-31 07:32:59 +00:00
Patrick Schleizer
09f75fb1ff
description
2019-07-31 07:32:36 +00:00
Patrick Schleizer
2ad087dcd9
description
2019-07-31 07:30:40 +00:00
Patrick Schleizer
404f597c0a
description
2019-07-31 07:29:42 +00:00
Patrick Schleizer
c921872016
description
2019-07-31 07:27:13 +00:00
Patrick Schleizer
39e1b1c5f0
update file path
2019-07-31 07:26:25 +00:00
Patrick Schleizer
cf90668756
lock user accounts after 5 failed authentication attempts using pam_tally2
2019-07-31 03:25:02 -04:00
Patrick Schleizer
3e29761560
debug at the end
2019-07-31 03:17:06 -04:00
Patrick Schleizer
5cdb3edb32
usr/share/pam-configs/wheel -> usr/share/pam-configs/security-misc
2019-07-31 03:16:41 -04:00
Patrick Schleizer
031a1c8751
bumped changelog version
2019-07-22 01:16:18 +00:00
Patrick Schleizer
f38f307b37
Merge remote-tracking branch 'origin/master'
2019-07-21 09:12:33 -04:00
Patrick Schleizer
b2582fbd4c
Merge pull request #26 from fepitre/fix-files
...
Fix files
2019-07-21 12:40:37 +00:00
Frédéric Pierret (fepitre)
077899c23d
Add .gitignore
2019-07-21 11:23:35 +02:00
Frédéric Pierret (fepitre)
5fbe753761
spec: update %files section
...
QubesOS/qubes-issues#1885
2019-07-21 11:23:26 +02:00
Patrick Schleizer
8c538ba318
bumped changelog version
2019-07-17 21:38:26 +00:00
Patrick Schleizer
1c7441ddf1
alias /etc/securetty -> /etc/securetty.security-misc,
2019-07-17 21:16:14 +00:00
Patrick Schleizer
940054d53f
bumped changelog version
2019-07-17 21:08:23 +00:00
Patrick Schleizer
08d37471d4
readme
2019-07-17 21:06:17 +00:00
Patrick Schleizer
c0a4a10d6b
description
2019-07-17 21:05:11 +00:00
Patrick Schleizer
7352b2ac31
description
2019-07-17 21:03:54 +00:00
Patrick Schleizer
b153e8f7df
fix path
2019-07-17 21:02:48 +00:00
Patrick Schleizer
4bf2360b95
description
2019-07-17 21:02:27 +00:00
Patrick Schleizer
9f2e300e72
description
2019-07-17 20:48:33 +00:00
Patrick Schleizer
d044780c04
description
2019-07-17 20:42:14 +00:00
Patrick Schleizer
75e5714d18
description
2019-07-17 20:40:01 +00:00
Patrick Schleizer
8c2f983578
description
2019-07-17 20:39:42 +00:00
Patrick Schleizer
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
Patrick Schleizer
50036b2934
bumped changelog version
2019-07-17 19:13:57 +00:00
Patrick Schleizer
3f9437f1ec
Revert "set back to default group "root" rather than group "sudo" membership required to use su"
...
This reverts commit 2f276cdb10
.
2019-07-17 14:25:19 -04:00
Patrick Schleizer
1b772c6a9a
bumped changelog version
2019-07-16 19:45:52 +00:00
Patrick Schleizer
2499ae0890
description
2019-07-16 07:28:50 -04:00
Patrick Schleizer
d0124b24d1
description
2019-07-16 07:27:56 -04:00
Patrick Schleizer
4b604bbb24
bumped changelog version
2019-07-15 13:26:47 +00:00
Patrick Schleizer
f21fa8d95d
readme
2019-07-15 13:03:30 +00:00
Patrick Schleizer
5c741d2149
shuffle
2019-07-15 13:02:30 +00:00
Patrick Schleizer
d247b7534b
sort description by categories
2019-07-15 13:01:46 +00:00
Patrick Schleizer
168ea5a660
shuffle
2019-07-15 08:48:17 -04:00
Patrick Schleizer
2f276cdb10
set back to default group "root" rather than group "sudo" membership required to use su
...
since root login will be locked by default anyhow
Thanks to @madaidan for providing the rationale!
https://forums.whonix.org/t/restrict-root-access/7658/42
2019-07-15 08:44:28 -04:00
Patrick Schleizer
6d1e8ac9a4
description
2019-07-14 11:16:49 +00:00
Patrick Schleizer
ffb61f43ea
fix, add 'group=sudo' and 'debug' for debugging
...
https://forums.whonix.org/t/restrict-root-access/7658
2019-07-14 11:11:59 +00:00
Patrick Schleizer
1731196c9f
bumped changelog version
2019-07-13 18:51:32 +00:00
Patrick Schleizer
6af2d7facb
copyright
2019-07-13 18:12:25 +00:00
Patrick Schleizer
75f0ca565d
set -e
2019-07-13 18:12:04 +00:00
Patrick Schleizer
c389e13e1a
use pre.bsh
2019-07-13 17:59:49 +00:00
Patrick Schleizer
7afddb028f
bumped changelog version
2019-07-13 16:30:39 +00:00
Patrick Schleizer
c13485f532
readme
2019-07-13 16:29:10 +00:00
Patrick Schleizer
ea90f95f1c
cleanup
2019-07-13 16:26:40 +00:00
Patrick Schleizer
ea8b22ee78
shuffle
2019-07-13 16:26:14 +00:00
Patrick Schleizer
ca7e0e0161
description
2019-07-13 16:25:08 +00:00
Patrick Schleizer
ffb5a9c482
formatting
2019-07-13 16:23:39 +00:00
Patrick Schleizer
41675ddcff
removed: The amount of hashing rounds used by shadow is bumped to 65536.
...
This increases the security of hashed passwords.
Since we do not do that currently.
https://forums.whonix.org/t/restrict-root-access/7658/37
2019-07-13 16:21:34 +00:00
Patrick Schleizer
3f031a297d
Removes read, write and execute access for others for all users who have home
...
folders under folder /home by running for example "chmod o-rwx /home/user"
during package installation or upgrade. This will be done only once per folder
in folder /home so users who wish to relax file permissions are free to do so.
This is to protect previously created files in user home folder which were
previously created with lax file permissions prior installation of this
package.
2019-07-13 16:20:14 +00:00
Patrick Schleizer
4740e8b335
cleanup
2019-07-13 16:13:55 +00:00
Patrick Schleizer
834fcc4671
bumped changelog version
2019-07-13 15:17:16 +00:00
Patrick Schleizer
e9eb38b5db
formatting
2019-07-13 15:04:09 +00:00
Patrick Schleizer
e2b6268702
bumped changelog version
2019-07-13 14:58:47 +00:00
Patrick Schleizer
1d8a0dbec7
remove no longer shipped files in etc/pam.d/*
2019-07-13 14:57:51 +00:00
Patrick Schleizer
8e5d45352e
bumped changelog version
2019-07-13 14:55:31 +00:00
Patrick Schleizer
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
Patrick Schleizer
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
Patrick Schleizer
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
Patrick Schleizer
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