Skip to content

Commit f37d597

Browse files
authored
Merge pull request #7 from IceCodeNew/migrate-terrapin-attack
disable AES CTR ciphers to mitigate the Terrapin attack
2 parents b1efcd4 + 736e799 commit f37d597

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

sshd_config

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Name: K4YT3X Hardened OpenSSH Configuration
22
# Author: K4YT3X
33
# Date Created: October 5, 2020
4-
# Last Updated: November 20, 2020
4+
# Last Updated: December 21, 2023
55

66
# Licensed under the GNU General Public License Version 3 (GNU GPL v3),
77
# available at: https://www.gnu.org/licenses/gpl-3.0.txt
8-
# (C) 2020 K4YT3X
8+
# (C) 2020-2023 K4YT3X
99

1010
########## Binding ##########
1111

@@ -96,7 +96,9 @@ PubkeyAuthentication yes
9696
########## Cryptography ##########
9797

9898
# explicitly define cryptography algorithms to avoid the use of weak algorithms
99-
Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr
99+
# AES CTR modes have been removed to mitigate the Terrapin attack
100+
# https://terrapin-attack.com/
101+
Ciphers aes256-gcm@openssh.com,aes128-gcm@openssh.com
100102
HostKeyAlgorithms rsa-sha2-512,rsa-sha2-256,ssh-ed25519
101103
MACs hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,umac-128-etm@openssh.com
102104

0 commit comments

Comments
 (0)