Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
z9 — 이벤트 로그에서 PowerShell 기반 악성코드 아티팩트를 탐지하고, PowerShell 스크립트에 대한 정적 분석을 수행하여 악성 활동을 식별합니다. | Kitploit
도구/GitHubGitHub/sh1n0g1/z9
Static AnalysisForensicsMalware AnalysisThreat IntelligenceLog Analysis
GitHubsh1n0g1/z9

z9

이벤트 로그에서 PowerShell 기반 악성코드 아티팩트를 탐지하고, PowerShell 스크립트에 대한 정적 분석을 수행하여 악성 활동을 식별합니다.

저장소 보기
6882년 전Kitploit 검토 완료

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

z9 PowerShell 로그 분석기

일본어

Z9 로고

개요

이 도구는 PowerShell 로깅의 이벤트 로그에서 PowerShell 기반 악성코드의 아티팩트를 탐지합니다.
온라인 데모

설치

root@kitploit:~
git clone https://github.com/Sh1n0g1/z9
cd z9
pip install -r requirements.txt

사용 방법

root@kitploit:~
usage: z9.py [-h] [--output OUTPUT] [-s] [--no-viewer] [--utf8] input

positional arguments:
  input                 Input file path

options:
  -h, --help            show this help message and exit
  --output OUTPUT, -o OUTPUT
                        Output file path
  -s, --static          Enable Static Analysis mode
  --no-viewer           Disable opening the JSON viewer in a web browser
  --utf8                Read scriptfile in utf-8 (deprecated)

이벤트 로그 분석 (권장)

root@kitploit:~
python z9.py <input file> -o <output json>
python z9.py <input file> -o <output json> --no-viewer
인수의미
input file이벤트 로그에서 내보낸 XML 파일
-o output jsonz9 결과 파일 이름
--no-viewer 뷰어를 열지 않음

예시)

root@kitploit:~
python z9.py util\log\mwpsop.xml -o sample1.json

PowerShell 파일 정적 분석

  • 이 방법은 정적 분석만 수행하며, 특히 샘플이 난독화된 경우 적절한 결과를 제공하지 않을 수 있습니다.
root@kitploit:~
python z9.py <input file> -o <output json> -s
python z9.py <input file> -o <output json> -s --utf8
python z9.py <input file> -o <output json> -s --no-viewer

예시)

root@kitploit:~
python z9.py malware.ps1 -o sample1.json -s

XML 파일 준비 방법

PowerShell 로깅 활성화

  1. 이 레지스트리 파일을 마우스 오른쪽 버튼으로 클릭하고 병합합니다:util/enable_powershell_logging.reg .
  2. PC를 재부팅합니다.
  3. 모든 PowerShell 실행이 이벤트 로그에 기록됩니다.

이벤트 로그를 XML로 내보내기

  1. 이 배치 파일을 실행합니다:util/collect_psevent.bat .
  2. util/log 디렉터리 아래에 XML 파일이 생성됩니다.
  3. 두 XML 파일 모두 이 도구로 파싱할 수 있습니다.

기존 이벤트 로그 삭제 방법

  • 이 배치 파일을 "관리자 권한으로 실행"하여 실행합니다:util/collect_psevent.bat

작성자

hanataro-miz
si-tm
take32457
Bigdrea6
azaberrypi
Sh1n0g1

도구 다운로드
인수의미
input file분석할 PowerShell 파일
-o output jsonz9 결과 파일 이름
-s정적 분석 수행
--utf8입력 파일이 UTF-8일 때 지정
--no-viewer 뷰어를 열지 않음