数千个带有登录类型 8 (NetworkCleartext) 的 4625 登录失败错误的根源是什么?

数千个带有登录类型 8 (NetworkCleartext) 的 4625 登录失败错误的根源是什么?

我有一台 Windows Server 2008 R2 系统,每天都会在 Windows 日志的安全部分显示数千个 4625 登录失败错误,登录类型为 8(NetworkCleartext)。源网络地址中没有列出试图获取访问权限的系统的 IP 地址,因此我为阻止失败次数过多的 IP 而构建的脚本无法找到它们。

这些登录尝试可能来自哪些服务?

以下是其中一个示例:

An account failed to log on.

Subject:
    Security ID:        SYSTEM
    Account Name:       server-name$
    Account Domain:     example
    Logon ID:       0x3e7

Logon Type:         8

Account For Which Logon Failed:
    Security ID:        NULL SID
    Account Name:       Administrator
    Account Domain:     

Failure Information:
    Failure Reason:     Unknown user name or bad password.
    Status:         0xc000006d
    Sub Status:     0xc0000064

Process Information:
    Caller Process ID:  0x4d0
    Caller Process Name:    C:\Windows\System32\svchost.exe

Network Information:
    Workstation Name:   system-name
    Source Network Address: -
    Source Port:        -

Detailed Authentication Information:
    Logon Process:      Advapi  
    Authentication Package: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0
    Transited Services: -
    Package Name (NTLM only):   -
    Key Length:     0

This event is generated when a logon request fails. It is generated on the computer where access was attempted.

The Subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.

The Logon Type field indicates the kind of logon that was requested. The most common types are 2 (interactive) and 3 (network).

The Process Information fields indicate which account and process on the system requested the logon.

The Network Information fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.

The authentication information fields provide detailed information about this specific logon request.
    - Transited services indicate which intermediate services have participated in this logon request.
    - Package name indicates which sub-protocol was used among the NTLM protocols.
    - Key length indicates the length of the generated session key. This will be 0 if no session key was requested.

答案1

有多个登录源可能会产生这些错误:

  1. FTP 登录 - 检查您的 FTP 日志,查看是否同时出现登录失败。这是我遇到的问题的根源,我花了很长时间才弄清楚,这也是我发布这篇文章的原因。
  2. 通过 http 或 https 上的基本身份验证登录(简单但可能很危险,使用密码保护网站的方式)
  3. ASP 脚本
  4. 可能还有其他我不知道的

WindowsSecurity.com 上提到了 2 和 3

此登录类型表示与登录类型 3 类似的网络登录,但密码以明文形式通过网络发送。Windows 服务器不允许使用明文身份验证连接到共享文件或打印机。我知道的唯一情况是使用 ADVAPI 从 ASP 脚本内部登录,或用户使用 IIS 的基本身份验证模式登录到 IIS。在这两种情况下,事件描述中的登录过程都会列出 advapi。基本身份验证只有在未包装在 SSL 会话(即 https)中时才危险。就由 ASP 脚本生成的登录而言,请记住将密码嵌入源代码中对于维护目的来说是一种不好的做法,并且存在恶意人士查看源代码并由此获取密码的风险。

答案2

我会运行一个程序netstat -a -n | find "1232"来查看进程 ID (PID) 1232 正在监听哪些端口。这就是导致这些身份验证失败的 PID。您可以嗅探这些端口上的传入流量以追踪来源。

(我很难想出在进程中运行svchost.exe并监听身份验证的服务。对我来说它几乎感觉是第三方的......)

答案3

登录类型 8发生在密码以明文形式通过网络发送基本身份验证IIS 中的登录失败是导致此类登录失败的最可能原因。据我所知,有五种常用的基于 Microsoft IIS 的服务,基本身份验证由最终用户通过其桌面或移动设备,例如OWA 客户端微软 Exchange ActiveSync随时随地展望FTP 客户端SharePoint 服务器

当最终用户连接启用基本身份验证时OWA 客户端从他们的台式电脑/移动设备输入错误的密码,事件 4625 和登录类型 8 将被记录在托管 OWA 的 Exchange Server 中。

查看这篇文章:http://www.morgantechspace.com/2014/12/Find-Account-Lockout-Source-for-Logon-Type-8.html

相关内容