Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- centos 8
- pfsense
- ELASTIC
- Proxy
- XCP-ng
- xe guest utilities
- bash
- GitLab
- Windows
- macos
- proxycfg
- x-pack
- Kibana server is not ready yet
- PlayBook
- miniconda
- elastic stack
- freebsd
- docker
- 한글가이드
- 로그인불가
- ssh key 배포
- G-suite
- hardening
- Kibana
- ansible
- endpoint security
- 보안양파
- application security
- Elasticsearch
Archives
- Today
- Total
선 밖에 선 자유인
wevtutil logontype 옵션 본문
@echo off
REM (C) 2008 Microsoft Corporation
REM All Rights Reserved
set outputfile=%temp%\interactive-logon-events.xml
if "%1" NEQ "" set outputfile=%1
REM The next command is all one line and has no carriage returns
REM The only spaces in the XPath are around the AND keywords
wevtutil qe Security /q:"*[System[Provider[@Name='Microsoft-Windows-Security-Auditing'] and Task=12544 and (EventID=4624)] and EventData[Data[@Name='LogonType']='2']]" /e:Events > %outputfile%
start %outputfile%
set outputfile=
로그온 이벤트 저장 (원격 접속 logontype=10)
wevtutil qe Security /q:"*[System[(EventID=4624)] and EventData[Data[@Name='LogonType']='10']]" /f:text > result.txt
Comments