News for hackers. Stuff that matters.
Re: by hsbauauvhabzb on Thursday August 31, 2023 @05:40PM (#37344033)
I doubt the latest assertion, the impacket tooling is well known for executing code over various interfaces. I have no idea how it works, but I imagine it would be difficult to truely prevent exec over smb.

Fwiw though, windows now supports openssh via a powershell command to install (e.g it’s not some third party binary). I’m not sure if it supports sftp, but it may be worth looking into.

Re: by Zambyte on Thursday August 31, 2023 @05:45PM (#37344073)
I'll have to give execing over smb another look.

I did try using OpenSSH, but there were issues with using Powershell through eshell over TRAMP. It expects a POSIX shell. I also tried using Cygwin to run OpenSSH, but that didn't work well for my needs.