windows-server-2012 – 如何确定SMB客户端是否已从我的Windows Server 2012建立了签名SMB通信?

有没有办法从我的 Windows 2012 Server中找到客户端是否建立了 signed communication

Net Session给出了基本的细节,但没有说明签名.

C:\>net session \\a.b.c.d
User name       Administrator
Computer        a.b.c.d
Guest logon     No
Client type
Sess time       00:08:02
Idle time       00:07:50

Share name     Type     # Opens

--------------------------------------
test           Disk     0
The command completed successfully.

是否有任何Powershell cmdlet或任何提供此类信息的管理工具或命令?提前致谢.

编辑1:
我也试过以下.应在客户端上执行Get-SmbConnection以查找客户端已建立连接的服务器.

PS C:\Users\Administrator> Get-SmbConnection | Select-Object -Property *
ContinuouslyAvailable : False
Credential            : domain\administrator
Dialect               : 3.00
Encrypted             : False
NumOpens              : 3
ServerName            : server1
ShareName             : test
UserName              : SERVER1\Administrator
PSComputerName        :
CimClass              : ROOT/Microsoft/Windows/SMB:MSFT_SmbConnection
CimInstanceProperties : {ContinuouslyAvailable,Credential,Dialect,Encrypted...}
CimSystemProperties   : Microsoft.Management.Infrastructure.CimSystemProperties
截至撰写本文时,确切知道这一点的唯一方法是观察通过Wireshark或网络监视器协商的网络连接.

现在,没有任何内容通过API,WMI类等公开这些数据.

Get-SMBConnection Powershell cmdlet将在未来为您提供此信息,但不是今天.

cmdlet只是MSFT_SmbConnection WMI类的包装器.

Get-WmiObject -Namespace 'Root\Microsoft\Windows\SMB' MSFT_SmbConnection

返回完全相同的信息.如果您为该WMI类读取the MSDN documentation,您将看到除了您今天看到的Encrypted属性之外,该文档还列出了Signed属性.

class MSFT_SmbConnection
{
  string  ServerName;
  string  ShareName;
  string  UserName;
  uint32  SmbInstance;
  string  Credential;
  uint64  NumOpens;
  string  Dialect;
  boolean ContinuouslyAvailable;
  boolean Encrypted;
  boolean EnableLoadBalanceScaleOut;
  boolean Signed;  // ^_^ *trollface*
};

然后文档继续说:

Signed

Data type: Boolean

Access type: Read-only

TBD. (To be determined)

Windows Server 2012 R2,Windows 8.1,Windows Server 2012,Windows 8:
This property is not supported before Windows Server Technical Preview
and Windows 10 Technical Preview.

Windows 10预览是它首次显示的时间.所以你有它.

相关文章

文章浏览阅读2.2k次,点赞6次,收藏20次。在我们平时办公工作...
文章浏览阅读1k次。解决 Windows make command not found 和...
文章浏览阅读3.2k次,点赞2次,收藏6次。2、鼠标依次点击“计...
文章浏览阅读1.3w次。蓝光版属于高清版的一种。BD英文全名是...
文章浏览阅读974次,点赞7次,收藏8次。提供了更强大的功能,...
文章浏览阅读1.4w次,点赞5次,收藏22次。如果使用iterator的...