mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-02-08 20:58:39 -05:00
replace /bin/false -> /bin/true
This commit is contained in:
parent
18d67dbc53
commit
f0511635a9
@ -8,25 +8,25 @@ options nf_conntrack nf_conntrack_helper=0
|
|||||||
# Bluetooth also has a history of security vulnerabilities:
|
# Bluetooth also has a history of security vulnerabilities:
|
||||||
#
|
#
|
||||||
# https://en.wikipedia.org/wiki/Bluetooth#History_of_security_concerns
|
# https://en.wikipedia.org/wiki/Bluetooth#History_of_security_concerns
|
||||||
install bluetooth /bin/false
|
install bluetooth /bin/true
|
||||||
install btusb /bin/false
|
install btusb /bin/true
|
||||||
|
|
||||||
# Blacklist thunderbolt and firewire to prevent some DMA attacks.
|
# Blacklist thunderbolt and firewire to prevent some DMA attacks.
|
||||||
install thunderbolt /bin/false
|
install thunderbolt /bin/true
|
||||||
install firewire-core /bin/false
|
install firewire-core /bin/true
|
||||||
install firewire_core /bin/false
|
install firewire_core /bin/true
|
||||||
install firewire-ohci /bin/false
|
install firewire-ohci /bin/true
|
||||||
install firewire_ohci /bin/false
|
install firewire_ohci /bin/true
|
||||||
install ohci1394 /bin/false
|
install ohci1394 /bin/true
|
||||||
install sbp2 /bin/false
|
install sbp2 /bin/true
|
||||||
install dv1394 /bin/false
|
install dv1394 /bin/true
|
||||||
install raw1394 /bin/false
|
install raw1394 /bin/true
|
||||||
install video1394 /bin/false
|
install video1394 /bin/true
|
||||||
install firewire-sbp2 /bin/false
|
install firewire-sbp2 /bin/true
|
||||||
|
|
||||||
# Blacklist CPU MSRs as they can be abused to write to
|
# Blacklist CPU MSRs as they can be abused to write to
|
||||||
# arbitrary memory.
|
# arbitrary memory.
|
||||||
install msr /bin/false
|
install msr /bin/true
|
||||||
|
|
||||||
# Disables unneeded network protocols that will likely not be used as these may have unknown vulnerabilties.
|
# Disables unneeded network protocols that will likely not be used as these may have unknown vulnerabilties.
|
||||||
#
|
#
|
||||||
@ -36,41 +36,41 @@ install msr /bin/false
|
|||||||
#
|
#
|
||||||
# > Other distributions like Ubuntu[1] and Fedora[2] already ship a blacklist for various network protocols which aren't much in use by users and have a poor security track record.
|
# > Other distributions like Ubuntu[1] and Fedora[2] already ship a blacklist for various network protocols which aren't much in use by users and have a poor security track record.
|
||||||
#
|
#
|
||||||
install dccp /bin/false
|
install dccp /bin/true
|
||||||
install sctp /bin/false
|
install sctp /bin/true
|
||||||
install rds /bin/false
|
install rds /bin/true
|
||||||
install tipc /bin/false
|
install tipc /bin/true
|
||||||
install n-hdlc /bin/false
|
install n-hdlc /bin/true
|
||||||
install ax25 /bin/false
|
install ax25 /bin/true
|
||||||
install netrom /bin/false
|
install netrom /bin/true
|
||||||
install x25 /bin/false
|
install x25 /bin/true
|
||||||
install rose /bin/false
|
install rose /bin/true
|
||||||
install decnet /bin/false
|
install decnet /bin/true
|
||||||
install econet /bin/false
|
install econet /bin/true
|
||||||
install af_802154 /bin/false
|
install af_802154 /bin/true
|
||||||
install ipx /bin/false
|
install ipx /bin/true
|
||||||
install appletalk /bin/false
|
install appletalk /bin/true
|
||||||
install psnap /bin/false
|
install psnap /bin/true
|
||||||
install p8023 /bin/false
|
install p8023 /bin/true
|
||||||
install p8022 /bin/false
|
install p8022 /bin/true
|
||||||
install can /bin/false
|
install can /bin/true
|
||||||
install atm /bin/false
|
install atm /bin/true
|
||||||
|
|
||||||
# Disable uncommon file systems to reduce attack surface
|
# Disable uncommon file systems to reduce attack surface
|
||||||
install cramfs /bin/false
|
install cramfs /bin/true
|
||||||
install freevxfs /bin/false
|
install freevxfs /bin/true
|
||||||
install jffs2 /bin/false
|
install jffs2 /bin/true
|
||||||
install hfs /bin/false
|
install hfs /bin/true
|
||||||
install hfsplus /bin/false
|
install hfsplus /bin/true
|
||||||
install udf /bin/false
|
install udf /bin/true
|
||||||
|
|
||||||
# Disable uncommon network filesystems to reduce attack surface
|
# Disable uncommon network filesystems to reduce attack surface
|
||||||
install cifs /bin/false
|
install cifs /bin/true
|
||||||
install nfs /bin/false
|
install nfs /bin/true
|
||||||
install nfsv3 /bin/false
|
install nfsv3 /bin/true
|
||||||
install nfsv4 /bin/false
|
install nfsv4 /bin/true
|
||||||
install ksmbd /bin/false
|
install ksmbd /bin/true
|
||||||
install gfs2 /bin/false
|
install gfs2 /bin/true
|
||||||
|
|
||||||
## Blacklists the vivid kernel module as it's only required for
|
## Blacklists the vivid kernel module as it's only required for
|
||||||
## testing and has been the cause of multiple vulnerabilities.
|
## testing and has been the cause of multiple vulnerabilities.
|
||||||
@ -78,12 +78,12 @@ install gfs2 /bin/false
|
|||||||
## https://forums.whonix.org/t/kernel-recompilation-for-better-hardening/7598/233
|
## https://forums.whonix.org/t/kernel-recompilation-for-better-hardening/7598/233
|
||||||
## https://www.openwall.com/lists/oss-security/2019/11/02/1
|
## https://www.openwall.com/lists/oss-security/2019/11/02/1
|
||||||
## https://github.com/a13xp0p0v/kconfig-hardened-check/commit/981bd163fa19fccbc5ce5d4182e639d67e484475
|
## https://github.com/a13xp0p0v/kconfig-hardened-check/commit/981bd163fa19fccbc5ce5d4182e639d67e484475
|
||||||
install vivid /bin/false
|
install vivid /bin/true
|
||||||
|
|
||||||
# Disable CD-ROM
|
# Disable CD-ROM
|
||||||
install cdrom /bin/false
|
install cdrom /bin/true
|
||||||
install sr_mod /bin/false
|
install sr_mod /bin/true
|
||||||
|
|
||||||
# Disable Intel Management Engine (ME) interface with OS
|
# Disable Intel Management Engine (ME) interface with OS
|
||||||
install mei /bin/false
|
install mei /bin/true
|
||||||
install mei-me /bin/false
|
install mei-me /bin/true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user