Nice. Notepad++ 8.9.8 introduced a useful security hardening feature around sess...

@malmoeb@infosec.exchange

Nice. Notepad++ 8.9.8 introduced a useful security hardening feature around session restoration and UNC paths.

If a Notepad++ session contains a path such as "\server\share\file.ps1", either in the automatically restored "session.xml" or in a manually loaded session file, Notepad++ no longer silently accesses that path during session loading. Instead, it warns that opening the file may cause Windows to authenticate to the remote server automatically.

This is because accessing a UNC path can invoke the Windows SMB client. Depending on the environment and authentication policy, Windows may be useful for offline password cracking or, where the target environment still permits relayable NTLM authentication, NTLM relay attacks.

This does not expose the plaintext password or NT hash directly, but the captured authentication material may be useful for offline password cracking or, in suitable environments, NTLM relay attacks.

The new dialog allows users to skip or load the network path once, or configure Notepad++ to always skip or always load network paths referenced by sessions.

Source: github.com/notepad-plus-plus/n