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
62dcdcf764
Update cold-boot-attack-defense-kexec-prepare
2023-01-06 13:51:45 -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
6d7a782624
fix
2022-11-24 07:21:46 -05:00
Patrick Schleizer
421f03ae9e
fix
2022-11-24 07:20:56 -05:00
Patrick Schleizer
a806c782d7
fix
2022-11-24 07:00:23 -05:00
Patrick Schleizer
39b35ef9ac
fix
2022-11-24 06:49:15 -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
497b5b4544
fix
2022-11-24 06:14:04 -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
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
Patrick Schleizer
272a33fe2c
addgroup -> adduser fix
2022-08-13 11:35:25 -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
053142cdb5
fix
2022-07-26 10:00:21 -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
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
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
95187bd357
fix
2022-07-02 17:21:33 -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
1144b39e5e
debugging
2022-07-02 15:50:59 -04:00
Patrick Schleizer
c29b21c08a
output
2022-07-02 15:45:19 -04:00
Patrick Schleizer
d34fe21963
fix
2022-07-02 15:32:42 -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
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
8b584c570a
lintian
2022-06-29 16:06:22 -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
e9cd5d934b
copyright
2022-06-29 15:24:27 -04:00
Patrick Schleizer
1c51d15649
lintian
2022-06-29 15:23:53 -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
6eba53767f
lintian
2022-06-29 14:17:52 -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
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
295811a88f
improvements
2022-06-29 11:14:52 -04:00
Patrick Schleizer
cfae7de6a8
lintian
2022-06-29 09:58:37 -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
d7dd188651
remove unicode
2022-06-08 09:27:02 -04:00
Patrick Schleizer
55d16e1602
remove unicode
2022-06-08 09:04:03 -04: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
9fd8e1c9b0
permission-hardening: Fix issue with pipelining failures causing incorrect user/group lookup results
2022-06-07 08:03:56 +00:00
Patrick Schleizer
2d37e3a1af
copyright
2022-05-20 14:46:38 -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
bb0307290b
update link
2022-04-16 14:18:35 -04:00
0xC0ncord
93efa506da
hide-hardware-info: disable selinux whitelist by default
2022-03-17 11:41:57 -04: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
0xC0ncord
4172232eb7
hide-hardware-info: make indentation consistent
2021-10-10 16:03:40 -04:00