PuTTY 0.68 has been released
chiark.greenend.org.uk
chiark.greenend.org.uk
Security fix: an integer overflow bug in the agent forwarding code. See vuln-agent-fwd-overflow.
Security fix: the Windows PuTTY binaries should no longer be vulnerable to hijacking
by specially named DLLs in the same directory (on versions of Windows where they previously were).
See vuln-indirect-dll-hijack.
Windows PuTTY no longer sets a restrictive process ACL by default, because this turned out
to inconvenience too many legitimate applications such as NVDA and TortoiseGit.
You can still manually request a restricted ACL using the command-line option -restrict-acl.
The Windows PuTTY tools now come in a 64-bit version.
The Windows PuTTY tools now have Windows's ASLR and DEP security features turned on.
Support for elliptic-curve cryptography (the NIST curves and 25519), for host keys,
user authentication keys, and key exchange.
Support for importing and exporting OpenSSH's new private key format.
Host key preference policy change: PuTTY prefers host key formats for which it already knows the key.
Run-time option (from the system menu / Ctrl-right-click menu) to retrieve other host keys from the same server
(which cross-certifies them using the session key established using an already-known key)
and add them to the known host-keys database.
The Unix GUI PuTTY tools can now be built against GTK 3.
There is now a Unix version of Pageant.I had a quick hunt for it but couldn't see it on the release page.
Security fix: the Windows PuTTY binaries should no longer be vulnerable to hijacking by specially named DLLs in the same directory (on versions of Windows where they previously were). See vuln-indirect-dll-hijack.
Windows PuTTY no longer sets a restrictive process ACL by default, because this turned out to inconvenience too many legitimate applications such as NVDA and TortoiseGit. You can still manually request a restricted ACL using the command-line option -restrict-acl.
The Windows PuTTY tools now come in a 64-bit version.
The Windows PuTTY tools now have Windows's ASLR and DEP security features turned on.
Support for elliptic-curve cryptography (the NIST curves and 25519), for host keys, user authentication keys, and key exchange.
Support for importing and exporting OpenSSH's new private key format.
Host key preference policy change: PuTTY prefers host key formats for which it already knows the key.
Run-time option (from the system menu / Ctrl-right-click menu) to retrieve other host keys from the same server (which cross-certifies them using the session key established using an already-known key) and add them to the known host-keys database.
The Unix GUI PuTTY tools can now be built against GTK 3.
There is now a Unix version of Pageant.
What new private key format is that?
If you can drop a malicious DLL where putty.exe lives, can't you just drop a malicious putty.exe?
Windows, by default requests elevated rights from the user (the UAC dialog) if you run any exe that has 'setup' or 'install' in the name, or if the manifest inside/alongside the exe defines a requirement for elevated rights.
You can spot these files as they have a little Windows 'shield' overlay on their icons (Windows overlays that itself if it detects a file needing elevated rights).
So, unless you can elevate your rights (i.e. be admin, or type in admin credentials), you can't run most installers.
However, prior to Windows 7 your personal start menu folder wasn't locked down - and as a non-admin you could easily add/remove shortcuts from it. Since Windows 7 onwards it's now protected, so you need to elevate to be able to write to it.
Windows allows you to run (by default) software from ANY folder you like, but you can only (by default, again) write to some of your user folders and the the %TEMP% location.
So downloading the PuTTY exe and running it from the downloads folder or desktop is perfectly legitimate, although not good practice.
As an aside: I'm not sure if Chrome still does it, but I recall that if you try to install it and you don't have admin rights, it just puts an icon on your desktop, and installs all the chrome files into a folder under ProgramData which resides in your user hierarchy, instead of the locked down Program Files area. Which is one way of getting around the lack of admin-rights.
Additionally, something can infect your PC and alter your PATH. Then PuTTY might pick up a fake Windows DLL from elsewhere on your machine. But if your machine is infected and something is messing with the Windows path, you have bigger problems.
Screenshot: https://i.imgur.com/MvRwZBi.png
I'm surprised they finally did something since we've been warning people not to use Chrome because of this issue for years.
Enumerating badness has always been a very bad idea.
Windows security model is inadequate, but it's good to work around it anyway.
As of 0.68, PuTTY will no longer fall back to SSH-1 if the server doesn't appear to support SSH-2; you must explicitly ask for SSH-1.
"There were development advantages as well; porting PuTTY to Unix was a valuable path-finding effort for other future ports, and also allowed us to use the excellent Linux tool Valgrind to help with debugging, which has already improved PuTTY's stability on all platforms."
I also use Bitvise for tunneling on the Windows side as well.
With git and tools that use Git, PuTTY distributes plink.exe, which acts as a helper. So you set something like...
GIT_SSH=c:\Program Files\Putty\plink.exe
To make that happen. So PuTTY is not my shell, but is still pretty important for its good set of overall tools.https://conemu.github.io/ https://conemu.github.io/en/BashOnWindows.html
To disable beep of the bash you need to uncomment/add set bell-style none in your /etc/inputrc file
To disable beep of programs like vim (I've tested only with that) you need to create - if it's not already there - a .bash_profile and add setterm -blength 0
Thanks! It worked perfectly!
Turning off the bell in default Putty settings is the first thing I do on a new install.
Also, as mentioned other places on the thread, the downloads are over HTTPS.
Edit: see the following https://technet.microsoft.com/en-us/library/dd723683(v=ws.10...
For later reference, here's some sha512sum excerpts for version 0.68:
ea03a52d344699c10e66e4f0424fba2b31d13d00ed24e1822c8ebe80fa589ce862419e5e852d6e1cb986637ea4e04d6cbe5ff3f1171ca403c9e55681877a712d w32/putty.zip
71c98de058e3f3fda9558cea955a5da28f41ae45464cafe9ea0b22ecf8cfeb56b1b047fb4b694b0c8e7c230f631dce9dd5bad26d70240b07b64ba27c3500d1fb w32/putty.exe
2b6b1acc51fc9cfe8a08e17afc4ac7d962af4575d55806456aa1a42c563f14457cc81d7e625191fd856b4be9a0e885cef78da4018d542010eba18718bb73fecd w32/putty-0.68-installer.msi
debceaa83bb48e7adcc99d03bf152f599477bf960da8c7ea3924925ac5322a9470c4254285d6ff403ad5da78c4c19c25ea5b0c1da45c61d9f0b306b16d0d28f7 w64/putty.zip
29d47c1f5a51e9d59720ccea8eacc317f4b8b839c71f957db713e62d2a9526502fefc01855be97e9e8020d1f343a6a14346a21f4843c12d93ee038a8f9810966 w64/putty.exe
8262c133e3569dcc188e5ac2360ebd3cc09d9edd2f78d6eaaf0e2762fba511de07ce614ba4fedf5f62fe64dd17d5a626dc63a579ee1fc1ef90f45e9e1f0c3d06 w64/putty-64bit-0.68-installer.msi
aacd9ec017e3cf56924d75d69f1610512662630c699ee09b4d9012f4e34e608b5b335444cf2529bcfe9c4edbded1c7247338d859385108544b27eeeb74d505c6 putty-src.zip
I've mirrored the most important checksums here, another HTTPS site, so that if any of them ever differ you know to distrust the files.
Or maybe you're a very motivated attacker.
I find it bizarre that the server is managed by the guy who wrote dpkg (which involves GPG), yet still doesn't have https on it...
http://www.chiark.greenend.org.uk/~sgtatham/putty/releases/0...
It's been years since I was allowed to add a Linux box, and years since I switched to Linux full-time, and now I honestly think that I'd reject a job offer which required Windows (and maybe even one which required macOS) — but for all those years of Just Working™, thanks PuTTY!
On the other hand, its has the only windows Mosh implementation...the best thing since sliced bread and tmux!
If you don't need X-Window support, but rich terminal/ssh features, it may be a ($70) try.
I never got around on writing a blag about how to do this, but I like it a lot
Secure software design and development is what I do for a living, so perhaps I am a bit more paranoid than the casual user - but this is one of the most widely deployed security tools in an enterprise, this shouldn't be "okay". Some defensive efforts are just common sense and are recommended by your compiler (eg. don't use sprintf and strcpy when you can snprintf and strncpy). Also, it doesn't hurt to check error conditions consistently.
PS. To echo what a lot of folks have already said, how on earth can the author implement cryptographic algorithms and simultaneously think there is any value in publishing a hash of the binary "for security". Using a hash as a means of integrity validation in the context of security raises huge red flags about the authors mindset.
It's free for Home/school use. I have tried all Windows SSH clients, and it is by far the best SSH client I have ever used.
It's real nice and even supports 24bit colour if you're into that.
Relevant recent discussion on mosh: https://news.ycombinator.com/item?id=11572146
Is there a reason to not call it 1.0?
Though, for Windows, once I found MobaXterm I never looked back. Of course on the Linux side nothing to me beats tmux or terminator.
If someone does know of an SSH terminal client that does this, please reply.
Indeed as previously mentioned there are xmodem/uuencode alternatives but none of them would be as efficient and reliable as native SFTP/SCP.
This page[1] says SecureCRT can do it, and I saw some things referencing that Konsole can too. I searched for 'drag and drop zmodem' to get started.
Does uuencode or base64 work for you? I use it a lot to move stuff (aka my toolkit) to systems where I'm connected via citrix -> rdp -> ssh -> ssh. Amazingly, it works fine, though it can be slow.
$uuencode sheet1.xml sheet1.xml | pbcopy
(switch to remote session) $uudecode (paste, which varies depending on how I'm connected)
$ls -l sheet1.xml
Ta-da!So we had to:
- zip a directory hierarchy or a single file uuencode
- copy to shared clipboard
- paste into a terminal on the other end using a here document
- uudecode the output
- checksum the source/destination copy for file integrity purposes
This worked on Windows too (using Notepad and saving the file as .uu for use with WinZip). Luckily file transfers were not a frequent use case.sz(1) I assume (a tool with considerable seniority). Found for example in the lrzsz package on Debian.
Has anybody figured out how to do this?
https://noncombatant.org/2014/03/03/downloading-software-saf...
Related comments: https://news.ycombinator.com/item?id=9577861
Two things for those of you who use putty I think would be mosh (chromium if you have to, cygwin my preffered), and winscp.