首页 > 其他分享 >事件查看器

事件查看器

时间:2022-11-12 20:22:08浏览次数:64  
标签:查看器 Windows logon User https 日志 Logon 事件

事件查看器

日志位置:

%SystemRoot%\System32\Winevt\Logs\

Windows的事件查看器可以查看各种日志,对应的可执行程序是 eventvwr.exe。
相应的命令行工具为 wevtutil.exe,功能较少,过滤不方便。

可以筛选一个时间段内的日志

可以把日志导出为各种格式,支持的有: evtx/xml/txt/csv
导出的csv用excel查看很方便,可以各种筛选,行高可以调整成一行的高度,查看更方便。
用EvtxECmd转换的csv日志会拆分出更多属性,可能更好看一些。

可以通过事件ID筛选某种类型的日志,一些事件ID如下:

# 应用程序和服务日志->Microsoft->Windows->TerminalServices-LocalSessionManager->Operational
# 21和25作为成功日志
21 登录成功
25 重新连接成功

# 应用程序和服务日志->Microsoft->Windows->TerminalServices-RemoteConnectionManager->Operational
# 除去21和25相应日志,作为失败日志
1149 网络连接

# Windows日志->安全
4624 登录成功  # 对于win7,远程登陆的LogonType是10,进程名是C:\Windows\System32\winlogon.exe,可以看到连接ip地址和端口
              # 对于win10,远程登录的LogonType(可能是2/3/5/7)和进程名不确定,可以看到连接ip地址,看不到端口
4625 登录失败


# Windows日志->系统
6005 开机
6006 关机

https://ponderthebits.com/2018/02/windows-rdp-related-event-logs-identification-tracking-and-investigation/
https://jpcertcc.github.io/ToolAnalysisResultSheet/details/mstsc.htm

安全日志快速参考:

# User Account Changes
4720 Created
4726 Deleted

# Logon Session Events
# 4624和4627可以通过 Logon ID 关联
4624 Successful logon
4647 User initiated logooff
4625 Logon failure (See Logon Failure Codes)
4778 Remote desktop session reconnected
4779 Remote desktop session disconnected
4800 Workstation locked
4801 Workstation unlocked
4802 Screen saver invoked
4803 Screen saver dismissed

# Logon Types
2   Interactive
3   Network (i.e. mapped drive)
4   Batch (i.e. schedule task)
5   Service (service startup)
7   Unlock (i.e. unnattended workstation with password protected screen saver)
8   Network Cleartext (Most often indicates a logon to IIS with “basic authentication”)
10  Remote Desktop
11 Logon with cached credentials

# Logon Failure Codes
0xC0000064  User name does not exist
0xC000006A  User name is correct but the password is wrong
0xC0000234  User is currently locked out
0xC0000072  Account is currently disabled
0xC000006F  User tried to logon outside his day of week or time of day restrictions
0xC0000070  Workstation restriction
0xC00000193 Account expiration
0xC0000071  Expired password
0xC0000133  Clocks between DC and other computer too far out of sync
0xC0000224  User is required to change password at next logon
0xC0000225  Evidently a bug in Windows and not a risk
0xC000015b  The user has not been granted the requested logon type (aka logon right) at this machine

https://www.ultimatewindowssecurity.com/securitylog/quickref/default.aspx
https://www.ultimatewindowssecurity.com/securitylog/quickref/downloads/quickref.zip

完整的事件ID描述列表:
https://www.ultimatewindowssecurity.com/securitylog/encyclopedia

2021/7/9

标签:查看器,Windows,logon,User,https,日志,Logon,事件
From: https://www.cnblogs.com/-rvy-/p/16884565.html

相关文章

  • 【Azure 事件中心】 org.slf4j.Logger 收集 Event Hub SDK(Java) 输出日志并以文件形
    问题描述在使用AzureEventHub的SDK时候,常规情况下,发现示例代码中并没有SDK内部的日志输出。因为在Java项目中,没有添加SLF4J依赖,已致于在启动时候有如下提示:SLF4J:Fa......
  • 事件在 react 中的处理方式?(必会)
    事件在react中的处理方式?(必会)点击查看代码React元素的事件处理和DOM元素类似,但有一点语法上的不同:React事件绑定属性的命名采用驼峰式写法,而不是小写如果采用JSX的......
  • 一文学会JavaScript计时事件
    文章目录​​JavaScript计时事件​​​​setInterval()方法​​​​clearInterval()方法​​​​setTimeout()方法​​​​clearTimeout()方法​​JavaScript计时事件......
  • windows socket网络编程--事件选择模型
    目录事件选择模型概述API详解工作原理代码实现事件选择模型概述Winsock提供了另一种有用的异步事件通知I/O模型——WSAEventSelect模型。这个模型与WSAAsyncSelect模型类......
  • 【MySQL(二十一)】binlog 事件
    binlog时机事务提交时写入binlog,但是binlog持久化到磁盘与sync_binlog参数有关:0:只fwrite写入操作系统cache,由操作系统决定什么时候持久化到磁盘,及fsync;1:fsync直接写入磁盘;n:......
  • 自定义顶部标题栏和其事件监听设置
    iOS系统上方的工具栏很漂亮,也很实用,下面让我们来仿制一下吧。首先新建一个布局文件title.xml:<?xmlversion="1.0"encoding="utf-8"?><LinearLayoutxmlns:android="http://......
  • 事件溯源
    PS:原创文章,如需转载,请注明出处,谢谢!   ​ 前几天团队内做了DDD如何有效指导拆分微服务的分享,中间关于微服务集成提到了“事件溯源”,今天就此做下整理。 1、关于事件......
  • 学习笔记-组件和事件hook核心原理和案例
    组件和事件的hook核心原理和案例0x01构造方法的hook的例子(java.lang.String这个随便哪个类都行)#构造方法的hookJava.use("java.lang.String").$init.implementation=........
  • threejs raycaster 鼠标事件的监听
    91行,传入scene.childern,那么就是监听整个场景中所有的childern其实也可传入一个特定的物体的孩子,这样就会监听这个物体上的鼠标事件......
  • Android基于坐标对View进行模拟点击事件
    在Android中,我们对于View进行模拟点击事件,很容易,比如调用​​View.performClick​​即可。但是有些时候,我们想要更加精细的点击,比如View的某一区域或者某一点进行点击。比如......