Disable insecure "Triple DES" cipher
- Windows onlyThis script improves your privacy on Windows
- Single actionThis page belongs to a script, containing basic changes to achieve a task.
- Impact: Medium
System Functionality / Data Loss Risk: Moderate
This action improves privacy with minimal impact when you run the recommended script.
This action improves privacy with some impact when you run the recommended script. - Batch (batchfile)These changes use Windows system commands to update your settings.
- Administrator rights requiredThis script requires privilege access to do the system changes
- Fully reversible
You can fully restore this action (revert back to the original behavior) using this website.
The restore/revert methods provided here can help you fix issues.
Overview
This script disables the Triple DES 168
1 2 3 (Triple DES 168/168
before Windows Vista 2 4) cipher,
also known as 3DES 1 3 5 6, The Triple Data Encryption Algorithm (TDEA) 6 7 and TDES 8.
This script only affects the SSL/TLS handshake process. The SSL/TLS handshake is a key part of establishing a secure connection over the internet. By disabling this weak algorithm, the script improves the security of the connection.
Authorities like Apple 5 9, NIST 5 7 Federal Office for Information Security (BSI) 4, NSA (National Security Agency) 8, and Office of the Chief Information Security Officer 6 classify this cipher as weak and recommend against its use.
This algorithm is enabled by default on Windows 2.
Disabling 3DES secures your communication by mitigating vulnerabilities like Sweet32 Birthday attacks 5, and the limited amount of data that can be processed under a single key 6.
Disabling this algorithm will disallow the following cipher suites:
SSL_CK_DES_192_EDE_CBC_WITH_MD5
1SSL_RSA_WITH_3DES_EDE_CBC_SHA
2SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA
2TLS_RSA_WITH_3DES_EDE_CBC_SHA
1 2TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA
1 2
This may cause compatibility issues with older devices or software.
This script is only recommended if you understand its implications.
Some non-critical or features may no longer function correctly after running this script.
This script can be fully reversed to restore changes if something goes wrong.
Sources
- Triple DES 168. admx.help. (2024).
Original: https://admx.help
Archived: https://web.archive.org/web/20240421101519/https://admx.help/?Category=Schannel&Policy=JMU.Policies.Schannel::3DES - Restrict cryptographic algorithms and protocols - Windows Server. Microsoft Learn. learn.microsoft.com. (2024).
Original: https://learn.microsoft.com/en-us/troubleshoot/windows-server/certificates-and-public-key-infrastructure-pki/restrict-cryptographic-algorithms-protocols-schannel
Archived: https://web.archive.org/web/20240420183152/https://learn.microsoft.com/en-us/troubleshoot/windows-server/certificates-and-public-key-infrastructure-pki/restrict-cryptographic-algorithms-protocols-schannel - CIS Microsoft IIS 8 Benchmark v1.4.0. paper.bobylive.com. (2024).
Original: https://paper.bobylive.com/Security/CIS/CIS_Microsoft_IIS_8_Benchmark_v1_4_0.pdf
Archived: https://web.archive.org/web/20240421101142/https://paper.bobylive.com/Security/CIS/CIS_Microsoft_IIS_8_Benchmark_v1_4_0.pdf - Hilfsmittel zur Umsetzung von Anforderungen des IT Grundschutzes für Windows 10. Bundesamt für Sicherheit in der Informationstechnik. bsi.bund.de. (2024).
Original: https://www.bsi.bund.de/SharedDocs/Downloads/DE/BSI/Grundschutz/Hilfsmittel/Hilfsmittel_Anforderungen_des_IT_Grundschutzes_fuer_Windows_10.pdf
Archived: https://web.archive.org/web/20240402183249/https://www.bsi.bund.de/SharedDocs/Downloads/DE/BSI/Grundschutz/Hilfsmittel/Hilfsmittel_Anforderungen_des_IT_Grundschutzes_fuer_Windows_10.pdf?__blob=publicationFile&v=2 - Sweet32: Birthday attacks on 64-bit block ciphers in TLS and OpenVPN. (2024).
Original: https://sweet32.info
Archived: https://web.archive.org/web/20240421101545/https://sweet32.info/ - IT Security Procedural Guide: SSL/TLS Implementation CIO-IT Security-14-69. www.gsa.gov. (2024).
Original: https://www.gsa.gov/system/files
Archived: https://web.archive.org/web/20240429201312/https://www.gsa.gov/system/files?file=SSL-TLS-Implementation-%5BCIO-IT-Security-14-69-Rev-7%5D-06-12-2023.pdf - NIST Special Publication 800-131A Revision 2. Transitioning the Use of Cryptographic Algorithms and Key Lengths. nvlpubs.nist.gov. (2024).
Original: https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-131Ar2.pdf
Archived: https://web.archive.org/web/20240402105205/https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-131Ar2.pdf - Eliminating Obsolete Transport Layer Security (TLS) Protocol Configurations. National Security Agency. Cybersecurity Information. media.defense.gov. (2024).
Original: https://media.defense.gov/2021/Jan/05/2002560140/-1/-1/0/ELIMINATING_OBSOLETE_TLS_UOO197443-20.PDF
Archived: https://web.archive.org/web/20240429194121/https://media.defense.gov/2021/Jan/05/2002560140/-1/-1/0/ELIMINATING_OBSOLETE_TLS_UOO197443-20.PDF - macOS Sierra 10.12. developer.apple.com. (2024).
Original: https://developer.apple.com/library/archive/releasenotes/MacOSX/WhatsNewInOSX/Articles/OSXv10.html
Archived: https://web.archive.org/web/20240426092153/https://developer.apple.com/library/archive/releasenotes/MacOSX/WhatsNewInOSX/Articles/OSXv10.html
Apply Now
Choose one of three ways to apply:
Download script
Download and run the script directly- No app needed
- Offline usage
- Easy-to-apply
- Free
- Open-source
Help
How to apply or restore "Disable insecure "Triple DES" cipher" using script
- ≈ 2 min to complete
- Tools: Web Browser
- Difficulty: Simple
- ≈ 5 instructions
- 1
Download
Download the script file by clicking on thebutton above.
Use button above to restore changes. - 2
Keep the file
If warned by your browser, keep the file. - 3
Open
Open the downloaded file. - 4
Exit
Once it's done, press any key to exit the window. - 5
Restart
Restart your computer for all changes to take effect.
Apply with privacy.sexy
Guided, automated application with safety checks- Recommended for most users
- Includes safety checks
- Free
- Open-source
- Popular
- Offline/Online usage
Help
How to apply or restore "Disable insecure "Triple DES" cipher" using privacy.sexy
- ≈ 3 min to complete
- Tools: privacy.sexy
- Difficulty: Simple
- ≈ 4 instructions
- 2
Choose script
- Search for the script name: Disable insecure "Triple DES" cipher
- Check the script by clicking on the checkbox.
- 3
Run
Click on ▶️ Run button at the bottom of the page.This button only appears on desktop version (recommended). On browser, use 💾 Save button.
- Apply
- Revert
:: Disable the use of "Triple DES 168" cipher algorithm for TLS/SSL connections
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\Triple DES 168!Enabled"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\Triple DES 168'; $data = '0'; reg add 'HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\Triple DES 168' /v 'Enabled' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: Disable the use of "Triple DES 168/168" cipher algorithm for TLS/SSL connections
:: Set the registry value: "HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\Triple DES 168/168!Enabled"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\Triple DES 168/168'; $data = '0'; reg add 'HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\Triple DES 168/168' /v 'Enabled' /t 'REG_DWORD' /d "^""$data"^"" /f"
Ijo6IFJlc3RvcmUgdGhlIHVzZSBvZiBcIlRyaXBsZSBERVMgMTY4XCIgY2lwaGVyIGFsZ29yaXRobSBmb3IgVExTL1NTTCBjb25uZWN0aW9uc1xuOjogRGVsZXRlIHRoZSByZWdpc3RyeSB2YWx1ZSBcIkhLTE1cXFNZU1RFTVxcQ3VycmVudENvbnRyb2xTZXRcXENvbnRyb2xcXFNlY3VyaXR5UHJvdmlkZXJzXFxTQ0hBTk5FTFxcQ2lwaGVyc1xcVHJpcGxlIERFUyAxNjghRW5hYmxlZFwiXG5Qb3dlclNoZWxsIC1FeGVjdXRpb25Qb2xpY3kgVW5yZXN0cmljdGVkIC1Db21tYW5kIFwicmVnIGRlbGV0ZSAnSEtMTVxcU1lTVEVNXFxDdXJyZW50Q29udHJvbFNldFxcQ29udHJvbFxcU2VjdXJpdHlQcm92aWRlcnNcXFNDSEFOTkVMXFxDaXBoZXJzXFxUcmlwbGUgREVTIDE2OCcgL3YgJ0VuYWJsZWQnIC9mIDI+JG51bGxcIlxuOjogUmVzdG9yZSB0aGUgdXNlIG9mIFwiVHJpcGxlIERFUyAxNjgvMTY4XCIgY2lwaGVyIGFsZ29yaXRobSBmb3IgVExTL1NTTCBjb25uZWN0aW9uc1xuOjogRGVsZXRlIHRoZSByZWdpc3RyeSB2YWx1ZSBcIkhLTE1cXFNZU1RFTVxcQ3VycmVudENvbnRyb2xTZXRcXENvbnRyb2xcXFNlY3VyaXR5UHJvdmlkZXJzXFxTQ0hBTk5FTFxcQ2lwaGVyc1xcVHJpcGxlIERFUyAxNjgvMTY4IUVuYWJsZWRcIlxuUG93ZXJTaGVsbCAtRXhlY3V0aW9uUG9saWN5IFVucmVzdHJpY3RlZCAtQ29tbWFuZCBcInJlZyBkZWxldGUgJ0hLTE1cXFNZU1RFTVxcQ3VycmVudENvbnRyb2xTZXRcXENvbnRyb2xcXFNlY3VyaXR5UHJvdmlkZXJzXFxTQ0hBTk5FTFxcQ2lwaGVyc1xcVHJpcGxlIERFUyAxNjgvMTY4JyAvdiAnRW5hYmxlZCcgL2YgMj4kbnVsbFwiIg==
Help
How to apply or restore "Disable insecure "Triple DES" cipher" using commands
- ≈ 2 min to complete
- Tools: Command Prompt
- Difficulty: Medium
- ≈ 3 instructions
- 1
Open Command Prompt
Open Command Prompt as Administrator. - 2
Copy code
Copy the code: - 3
Paste & run
Paste the commands into Command Prompt and press Enter to run.Some changes require a system restart to take effect
Similar Guides
Wider Goal
Guides below includes this guide to achieve a wider goal.See other more general settings that includes this one as one of its actions.
These plans combine multiple privacy settings, including this one, for stronger protection.
- Disable insecure ciphers
- Disable insecure connections
- Improve network security
- Security improvements
This category improves network security by disabling outdated and less secure cipher suites. Cipher suites are sets of cryptographic algorithms used to secure netw...
This category includes scripts designed to enhance users' security and privacy by disabling outdated or vulnerable connections across the system. It safeguards dat...
This category is dedicated to improving network security. It aims to minimize vulnerabilities by offering various settings that improve the integrity and confident...
This category encompasses a range of scripts designed to improve the security of your system by enforcing security best practices. These scripts help protect your ...
Same Goal
Other guides in Disable insecure ciphersSee settings that are in the same category as this guide.
Using other actions in the same category may help you achieve your goal better.
About the Creators
These people have authored this documentation and written its scripts:
Reviewed By
This guide has undergone comprehensive auditing and peer review:Expert review by undergroundwires
- Verified technical accuracy and editorial standards
- Assessed system impact and user privacy risks
Public review by large community
- Privacy enthusiasts and professionals peer-reviewed
- Millions of end-users tested across different environments
History
We continually monitor our guides, their impact and all other privacy options. We update our guides when new information becomes available. On every update, we publicly store who made the change, what has been changed, why the change was made and when the change was made.