
يكتشف مؤشرات البرامج الضارة المعتمدة على PowerShell من سجلات الأحداث ويقوم بتحليل ثابت لسكربتات PowerShell لتحديد النشاط الخبيث.

تكتشف هذه الأداة أثر البرامج الضارة القائمة على PowerShell من سجل أحداث تسجيل PowerShell.
عرض توضيحي عبر الإنترنت
git clone https://github.com/Sh1n0g1/z9
cd z9
pip install -r requirements.txt
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)
python z9.py <input file> -o <output json>
python z9.py <input file> -o <output json> --no-viewer
| الوسائط | المعنى |
|---|---|
input file | ملف XML تم تصديره من سجل الأحداث |
-o output json | اسم ملف نتيجة z9 |
--no-viewer | لا تفتح العارض |
مثال)
python z9.py util\log\mwpsop.xml -o sample1.json
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
مثال)
python z9.py malware.ps1 -o sample1.json -s
util/enable_powershell_logging.reg .util/collect_psevent.bat .util/log.util/collect_psevent.bat مع "تشغيل كمسؤول"| الوسائط | المعنى |
|---|
input file | ملف PowerShell المراد تحليله |
-o output json | اسم ملف نتيجة z9 |
-s | إجراء تحليل ثابت |
--utf8 | حدد عندما يكون ملف الإدخال بتنسيق UTF-8 |
--no-viewer | لا تفتح العارض |