<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article HOW-TO Disable CBC Ciphers and weak MAC Algorithms in Unix / Linux in PAM Self-Hosted Articles</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/how-to-disable-cbc-ciphers-and-weak-mac-algorithms-in-unix-linux/ta-p/1429865</link>
    <description>&lt;P&gt;You may have run a security scan or your auditor may have highlighted the following SSH vulnerabilities and you would like to address them.&lt;/P&gt;
&lt;PRE&gt;
&amp;nbsp;&lt;/PRE&gt;
&lt;OL&gt;&lt;LI&gt;&lt;CODE&gt;SSH Server CBC Mode Ciphers Enabled&lt;/CODE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;CODE&gt;SSH Weak MAC Algorithms Enabled&lt;/CODE&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;H3&gt;Steps&lt;/H3&gt;
To disable CBC mode ciphers and weak MAC algorithms (MD5 and -96), backup the current file and add the following lines into the /etc/ssh/sshd_config file.&lt;BR /&gt;Afterwards, restart the sshd service.&lt;BR /&gt;&lt;BR /&gt;1. Backup:
&lt;PRE class="ckeditor_codeblock"&gt;
# cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak&lt;/PRE&gt;
&lt;BR /&gt;2. Edit file:
&lt;PRE class="ckeditor_codeblock"&gt;
# vi /etc/ssh/sshd_config

Ciphers aes128-ctr,aes192-ctr,aes256-ctr
MACs hmac-sha1,umac-64@openssh.com,hmac-ripemd160&lt;/PRE&gt;
&lt;BR /&gt;3. Restart the SSHD service
&lt;PRE class="ckeditor_codeblock"&gt;
# systemctl restart sshd.service

or 

# service sshd restart&lt;/PRE&gt;
&lt;BR /&gt;&amp;nbsp;</description>
    <pubDate>Wed, 05 Nov 2025 05:01:17 GMT</pubDate>
    <dc:creator>CyberArkAlumni</dc:creator>
    <dc:date>2025-11-05T05:01:17Z</dc:date>
    <item>
      <title>HOW-TO Disable CBC Ciphers and weak MAC Algorithms in Unix / Linux</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/how-to-disable-cbc-ciphers-and-weak-mac-algorithms-in-unix-linux/ta-p/1429865</link>
      <description>&lt;P&gt;You may have run a security scan or your auditor may have highlighted the following SSH vulnerabilities and you would like to address them.&lt;/P&gt;
&lt;PRE&gt;
&amp;nbsp;&lt;/PRE&gt;
&lt;OL&gt;&lt;LI&gt;&lt;CODE&gt;SSH Server CBC Mode Ciphers Enabled&lt;/CODE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;CODE&gt;SSH Weak MAC Algorithms Enabled&lt;/CODE&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;H3&gt;Steps&lt;/H3&gt;
To disable CBC mode ciphers and weak MAC algorithms (MD5 and -96), backup the current file and add the following lines into the /etc/ssh/sshd_config file.&lt;BR /&gt;Afterwards, restart the sshd service.&lt;BR /&gt;&lt;BR /&gt;1. Backup:
&lt;PRE class="ckeditor_codeblock"&gt;
# cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak&lt;/PRE&gt;
&lt;BR /&gt;2. Edit file:
&lt;PRE class="ckeditor_codeblock"&gt;
# vi /etc/ssh/sshd_config

Ciphers aes128-ctr,aes192-ctr,aes256-ctr
MACs hmac-sha1,umac-64@openssh.com,hmac-ripemd160&lt;/PRE&gt;
&lt;BR /&gt;3. Restart the SSHD service
&lt;PRE class="ckeditor_codeblock"&gt;
# systemctl restart sshd.service

or 

# service sshd restart&lt;/PRE&gt;
&lt;BR /&gt;&amp;nbsp;</description>
      <pubDate>Wed, 05 Nov 2025 05:01:17 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-articles/how-to-disable-cbc-ciphers-and-weak-mac-algorithms-in-unix-linux/ta-p/1429865</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2025-11-05T05:01:17Z</dc:date>
    </item>
  </channel>
</rss>

