<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ilqar Mammadli on Medium]]></title>
        <description><![CDATA[Stories by Ilqar Mammadli on Medium]]></description>
        <link>https://medium.com/@ilqarmammadli?source=rss-6f8cacea1288------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*bn84FMesmgG1AmnXb8sS8Q.jpeg</url>
            <title>Stories by Ilqar Mammadli on Medium</title>
            <link>https://medium.com/@ilqarmammadli?source=rss-6f8cacea1288------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 02:58:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ilqarmammadli/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Prosesler 2]]></title>
            <link>https://medium.com/@ilqarmammadli/prosesler-2-7b1b715a14b4?source=rss-6f8cacea1288------2</link>
            <guid isPermaLink="false">https://medium.com/p/7b1b715a14b4</guid>
            <dc:creator><![CDATA[Ilqar Mammadli]]></dc:creator>
            <pubDate>Wed, 20 May 2026 12:59:03 GMT</pubDate>
            <atom:updated>2026-05-20T12:59:03.402Z</atom:updated>
            <content:encoded><![CDATA[<h3>Taskhostw.exe</h3><p><strong>Taskhostw.exe prosesi</strong>, Windows-un <strong>Task Scheduler</strong>-də təyin olunmuş tapşırıqların arxa planda işləməsini təmin edir. Bu səbəbdən, Task Scheduler-in servisləri üçün host prosesi olaraq fəaliyyət göstərir və həmin servislərin DLL-lərini yükləyərək tapşırıqların icrasına imkan verir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/805/1*TXrsw57tCIT8W8Dld6qoSg.png" /></figure><h3>sihost.exe</h3><p><strong>Sihost.exe</strong> = Windows Shell Infrastructure Host, yəni Windows-un Start menyusu, taskbar, masaüstü interfeysi və vizual elementlərini işlədən əsas sistem prosesidir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/748/1*qwvMpdhpPeSHFvW0-ZErUA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*abvrBlUOGxwW72ru3f7AUQ.png" /></figure><h3>WmiPrvSE.exe</h3><p>WmiPrvSE.exe Windows-un WMI (Windows Management Instrumentation) mexanizminin icraedici prosesidir və əsas məqsədi sistem resursları (CPU, RAM, disk, proseslər və s.) haqqında məlumatları toplamaq və proqramlara ötürməkdir.</p><p>Sən resurslarla bağlı query göndərəndə (məsələn wmic, Get-WmiObject, monitoring tool-lar və ya XDR agentləri vasitəsilə), bu sorğu əvvəlcə WMI servisə (winmgmt) gedir. Daha sonra həmin sorğu WmiPrvSE.exe tərəfindən emal olunur və lazım olan məlumatlar kernel, driver və sistem komponentlərindən yığılaraq cavab kimi qaytarılır. Yəni WmiPrvSE.exe burada bir növ vasitəçi (broker/proxy) rolunu oynayır.</p><p>Windows bu mexanizmi ona görə istifadə edir ki, proqramlar birbaşa kernel və hardware-ə çıxış etməsin, bütün sistem məlumatları standart, təhlükəsiz və nəzarət olunan interfeys üzərindən verilsin. Bu həm təhlükəsizlik, həm də stabil işləmə baxımından vacibdir.</p><p>Normal halda WmiPrvSE.exe yalnız sorğu zamanı qısa müddət aktiv olur, az CPU və RAM istifadə edir və C:\Windows\System32\ qovluğunda yerləşir. Bu, sistem və monitoring üçün tam normal davranışdır.</p><p>Security/SOC baxımından isə WmiPrvSE.exe vacibdir, çünki hücumçular da onu “legitimate Windows prosesi” kimi istifadə edib sistem haqqında məlumat toplamaq və ya remote əmrlər icra etmək üçün abuse edə bilirlər. Buna görə də bu prosesin uzun müddət yüksək aktivliyi, qeyri-adi parent process-i və ya fərqli path-dən işləməsi şübhəli sayılır.</p><p>Qısa desək: sən resurs query atanda WmiPrvSE.exe işə düşür, sistemdən məlumatları yığır, təhlükəsiz formada emal edir və nəticəni sənə qaytarır. Bu Windows-un normal və vacib mexanizmidir.</p><p>Vizual:</p><p>wmic process list brief əmri Windows-da <strong>WMI vasitəsilə sistemdə işləyən bütün proseslərin qısa siyahısını</strong> almaq üçün istifadə olunur.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/766/1*buewLYjaHl4qbU3yVFC_GQ.png" /></figure><p>Bu əmri icra edəndə WmiPrvSE.exe-nin icra olduğunu görə bilərik:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/731/1*K0YmdeLZnxAi5-VDrNh4UA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7b1b715a14b4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Windows-da əsas proseslər]]></title>
            <link>https://medium.com/@ilqarmammadli/windows-da-%C9%99sas-prosesl%C9%99r-819bc9a1f0d6?source=rss-6f8cacea1288------2</link>
            <guid isPermaLink="false">https://medium.com/p/819bc9a1f0d6</guid>
            <dc:creator><![CDATA[Ilqar Mammadli]]></dc:creator>
            <pubDate>Wed, 20 May 2026 12:44:05 GMT</pubDate>
            <atom:updated>2026-05-20T13:11:36.269Z</atom:updated>
            <content:encoded><![CDATA[<p>Kompüterə zərərli fayl yoluxduqda onun yaratdığı prosesi müəyyən etmək və legitim proseslərdən fərqləndirmək üçün aşağıdakı Windows proseslərini bilmək vacibdir.Kompüter işə düşəndə proseslər aşağıdakı şəkildəki iyerarxiyadakı kimi ardıcıllıqla işə düşür:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*Q9bU3Lo6ItWuTBpOXbM_nA.png" /><figcaption>Proses ağacı</figcaption></figure><h4><strong>SYSTEM</strong></h4><p><strong>System (PID 4)</strong> — Windows yüklənərkən ntoskrnl.exe faylından başlayan, nüvə rejimində (Kernel Mode) çalışan və aparat(hardware) resursları ilə drayverlərin idarə edilməsini təmin edən mərkəzi prosesdir.Bu proses <strong>Kernel Mode</strong> daxilində drayverləri yükləyir, yaddaşı idarə edir və sistemin aparat təminatı ilə proqram təminatı arasındakı əlaqəni yaradır.Daha sonra kernel tərəfindən ilk user-mode prosesi olan <strong>smss.exe (Session Manager)</strong> yaradılır.</p><p>System Idle Process (PID 0) və System (PID 4) istisna olmaqla, digər bütün proseslərin ID-si (PID) sistem hər dəfə başladıqda dəyişir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/773/1*KxKa1vdlcumJPMbdmJCWQQ.png" /><figcaption>Task Manager</figcaption></figure><h3>smss.exe</h3><p>Windows nüvəsi (kernel) tərəfindən başladılan ilk user-mode prosesdir və %SystemRoot%\System32 qovluğunda yerləşir. Bu proses əməliyyat sisteminin ilkin iş mühitini qurur. O, Registry-də (xüsusilə HKLM\SYSTEM\CurrentControlSet\Control\Session Manager bölməsindəki) konfiqurasiyaları oxuyaraq sistem dəyişənlərini təyin edir, səhifələmə fayllarını (<strong>pagefile.sys</strong>) yaradır və Win32 alt sisteminin işə düşməsi üçün ilkin mühiti hazırlayır.</p><blockquote><strong>Pagefile.sys</strong> virtual yaddaş mexanizminin bir hissəsidir. RAM dolduqda və ya boş RAM miqdarı azaldıqda, Windows-un <strong>Memory Manager</strong> komponenti daha az istifadə olunan yaddaş səhifələrini (RAM bloklarını) diskdə yerləşən <strong>pagefile.sys</strong> faylına köçürür.Qeyd edək ki, “RAM bloku” dedikdə RAM-ın kiçik hissələri nəzərdə tutulur. RAM adətən ölçüsü 4 KB olan səhifələrə (<em>page</em>) bölünür. Proseslərin istifadə etdiyi yaddaş məhz bu səhifələrdən ibarətdir.Məsələn, siz Word proqramını açmısınız, lakin hazırda Google Chrome istifadə edirsiniz və RAM dolmağa başlayır. Bu zaman Windows uzun müddətdir aktiv istifadə olunmayan Word-a aid yaddaş səhifələrini diskdə yerləşən <strong>pagefile.sys</strong> faylına köçürür və beləliklə RAM-da boş yer yaradır.Əgər Word həmin məlumatlara yenidən ehtiyac duysa, həmin səhifələr diskdən RAM-a geri qaytarılır. Bu mexanizm sistemin sabit işləməsini təmin edir və yaddaş çatışmazlığı səbəbindən sistemin dayanmasının (crash) qarşısını almağa kömək edir.</blockquote><p>Bundan əlavə, smss.exe istifadəçi sessiyalarının başlanması və idarə olunmasında mərkəzi rol oynayır. O, kritik sistem proseslərini — məsələn, <strong>csrss.exe</strong> (Client/Server Runtime Subsystem) və <strong>winlogon.exe</strong> — işə salır. csrss.exe Win32 istifadəçi alt sisteminin user-mode hissəsini idarə edir, winlogon.exe isə istifadəçi giriş (logon) mexanizmini həyata keçirir. Bu proseslərin başladılması nəticəsində Windows-un qrafik interfeysi və giriş ekranı istifadəyə hazır vəziyyətə gəlir.</p><p>Smss.exe registery key-lərini oxuyaraq istifadəçi üçün environment-i hazır edir.</p><p><strong><em>smss.exe</em></strong><em> (Session Manager Subsystem) həmçinin aşağıdakı Registry yollarındakı konfiqurasiya açarlarını oxuyur və sistemə tətbiq edir:</em></p><p>•HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/956/1*3ecJJiNuBfjxGivT2lmvag.png" /><figcaption>Registry Editior</figcaption></figure><ul><li>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/811/1*PCpDW6yL5TzzCwvOKXLhXA.png" /><figcaption>Registry Editior</figcaption></figure><ul><li>HKLM\System\CurrentControlSet\Control\Session Manager\SubSystems</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*O9lCqIZH7xt_2kJs7aAhaA.png" /><figcaption>Registry Editior</figcaption></figure><p>Qeyd edim ki, şəkildə də göründüyü kimi, smss.exe prosesi csrss.exe və wininit.exe proseslərini başladır; bu prosesləri icra etdikdən sonra child smss.exe özünü söndürür, lakin sistem ilk dəfə açılanda Session 0-da yaradılan parent smss.exe aktiv qalır və hər dəfə yeni istifadəçi login olanda yeni child smss.exe yaranaraq mühiti qurduqdan sonra işini bitirir.</p><p>Əgər smss.exe prosesinin fayl yolu C:\Windows\System32 qovluğundan fərqlidirsə və sistemdə eyni anda birdən çox aktiv smss.exe nüsxəsi uzun müddət qalırsa, bu, çox böyük ehtimalla zərərli proqram (malware) fəaliyyətinin göstəricisidir.</p><h3>Wininit.exe</h3><p><strong>Wininit.exe</strong> (Windows Initialization Process), əməliyyat sisteminin yüklənmə mərhələsində arxa plan mühitini quran əsas sistem komponentidir. Smss.exe tərəfindən başladılan bu proses, yalnız sistem xidmətlərinə ayrılmış <strong>Session 0</strong> mühitində fəaliyyət göstərir və istifadəçinin daxil ola bilməsi üçün zəruri olan təhlükəsizlik və idarəetmə infrastrukturunu formalaşdırır.</p><p>Sistemin işə düşməsi zamanı smss.exe tərəfindən çağırılan Wininit, dərhal kritik child proseslərini işə salmağa başlayır. Bura sistem servislərini və drayverlərini idarə edən <strong>services.exe</strong>, istifadəçinin autentifikasiya edən <strong>lsass.exe</strong>, həmçinin şrift faylları vasitəsilə törədilə biləcək “Kernel-level” (nüvə səviyyəli) kiberhücum risklərini minimallaşdırmaq üçün şrift emalını izolyasiya olunmuş bir <strong>sandbox</strong> mühitində icrasına cavabdeh olan <strong>fontdrvhost.exe</strong> daxildir. Bu proseslərin hər biri Wininit-in child prosesləri hesab olunur və onun nəzarəti altında Session 0-da işləyirlər.</p><p>Qeyd etmək lazımdır ki, bu prosesin legitim faylı yalnız <strong>C:\Windows\System32</strong> qovluğunda yerləşir. Wininit o dərəcədə kritikdir ki, əgər o və ya onun başlatdığı lsass.exe kimi proseslər hər hansı səbəbdən dayandırılarsa, Windows sistemin bütövlüyünü qorumaq üçün dərhal Göy Ekran (BSOD) xətası verərək fəaliyyətini dayandırır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/764/1*ciLu5nOg-2M85byg_RqvHw.png" /><figcaption>Process Explorer</figcaption></figure><h3>Svchost.exe</h3><p><strong>Windows-da servislər iki formada olur: EXE və DLL.</strong></p><ul><li><strong>EXE formatlı servislər</strong> özləri birbaşa işə düşüb ayrıca proses yarada bilirlər.</li><li><strong>DLL formatlı servislər</strong> təkbaşına işləyə və proses yarada bilmirlər.</li></ul><p><strong>Svchost.exe prosesi nədir:</strong><br> DLL formatlı servislərin işləməsi üçün Windows <strong>svchost.exe</strong> adlı host prosesi yaradır.<br> Svchost.exe həmin DLL-i yükləyir və servisin işləməsini təmin edir.</p><p><strong>Niyə bütün servislər EXE və ya DLL deyil:</strong></p><p>Kiçik, paylaşılabilən funksiyalar → <strong>DLL</strong> (resurs qənaəti, modul paylaşımı, asan yenilənmə)</p><p>Müstəqil, öz prosesi lazım olan funksiyalar → <strong>EXE</strong> (resurs tələb edən, GUI göstərən və ya müstəqil servis)</p><p><strong>Qısa olaraq </strong>EXE servislər öz prosesini yaradır, DLL servislər isə svchost.exe içində işləyir.</p><p>Vizual:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/1*d9PgZZcy4kPCYDQPkCgexQ.png" /><figcaption>Task Manager</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TkrzHXN2IfhrBkYxkDH-vw.png" /><figcaption>Process Explorer</figcaption></figure><h3><strong>csrss.exe</strong></h3><p><strong>csrss.exe</strong> — Windows-un Win32 subsystem prosesidir və console pəncərələrinin, thread-lərin və bəzi GUI funksiyalarının idarəsinə cavabdeh olan kritik sistem prosesidir.</p><p><strong>Csrss.exe</strong> (Client/Server Runtime Subsystem), Windows əməliyyat sisteminin user-mode prosesidir. Bu proses əməliyyat sisteminin qrafik və idarəetmə nüvəsi ilə istifadəçi proqramları arasında əsas körpü rolunu oynayır. Wininit-dən fərqli olaraq, csrss.exe yalnız sistem sessiyasında (Session 0) deyil, kompüterə daxil olan hər bir istifadəçi üçün yaradılan ayrıca sessiyalarda (Session 1, 2 və s.) fəaliyyət göstərir. Bu o deməkdir ki, sistemdə neçə aktiv istifadəçi sessiyası varsa, bir o qədər də müstəqil csrss.exe prosesi çalışır.</p><p>Bu prosesin əsas funksionallığı Windows-un “Win32” alt sisteminin idarə olunmasına dayanır. O, xüsusilə <strong>konsol pəncərələrinin</strong> (CMD, PowerShell) yaradılması, proses və tehred(threads) idarə edilməsi, həmçinin istifadəçi sessiyasının qapadılması və ya sistemin söndürülməsi kimi kritik əməliyyatlara nəzarət edir. Məsələn, siz bir cmd açdıqda, csrss.exe dərhal bu istəyi emal edir və həmin pəncərənin vizual idarəsini təmin edən <strong>conhost.exe</strong> (Console Window Host) köməkçi prosesini işə salır. Beləliklə, arxa planda bütün interaktiv işlərin qaydasında getməsini təmin edir.</p><p>Təhlükəsizlik və sistem sabitliyi baxımından csrss.exe əvəzedilməzdir. Legitim fayl həmişə <strong>C:\Windows\System32</strong> qovluğunda yerləşir və ən yüksək imtiyazlı <strong>SYSTEM</strong> hesabı altında çalışır.</p><p>Praktiki baxaq:</p><p>Process Explorer-də axtarış etdikdə birdən çox <strong>csrss.exe</strong> prosesi görməyimiz normaldır, çünki Windows hər bir aktiv istifadəçi sessiyası (məsələn, Session 1) üçün ayrıca bir nüsxə yaradır. Bu proseslər mütləq <strong>SYSTEM</strong> imtiyazı ilə çalışır və həmin sessiya daxilində konsol pəncərələrinin (CMD, PowerShell) infrastrukturunu qurmaq üçün <strong>conhost.exe</strong>-ni işə salmaq, həmçinin proses və thread-lərin idarəetməsini(yaradılma,silinmə və s.) təmin etmək funksiyasını daşıyır.</p><p>Şəkildə gördüyümüz bu konkret proses isə, sistemə ilk daxil olan istifadəçinin sessiyasına (Session 1) xidmət edir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/477/1*SzIJExmFtMrciK0rrDHZ1g.png" /></figure><p>Process Explorer alətində həmin prosesin funksionallıqlarını <strong>DLL </strong>hissəsinə baxaraq müəyyən edə bilərik.Məsələn, <strong>csrss.exe</strong> prosesi sessiya daxilindəki proses və thread-lərin idarə etmək(yaratmaq,silmək) üçün <strong>basesrv.dll</strong> kitabxanasından istifadə edir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/739/1*Ly8tOMNCV-b4AlR4m_3POg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=819bc9a1f0d6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Windows-da logon type-lar]]></title>
            <link>https://medium.com/@ilqarmammadli/windows-da-logon-type-lar-345342d1df53?source=rss-6f8cacea1288------2</link>
            <guid isPermaLink="false">https://medium.com/p/345342d1df53</guid>
            <dc:creator><![CDATA[Ilqar Mammadli]]></dc:creator>
            <pubDate>Mon, 26 Jan 2026 08:54:26 GMT</pubDate>
            <atom:updated>2026-11-13T06:03:23.657Z</atom:updated>
            <content:encoded><![CDATA[<h3>Logon types in Windows</h3><p>Logon type is a number in Windows events that indicates the method a user used to log in.</p><p>For example, if you turn on the computer and enter your password on the Windows login screen, this is considered Logon Type 2. It is very important for distinguishing between different types of logins in events. In the list below, you can see the logon types and their numerical representations:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/906/1*hrMhQpVbiteVHa0xbbwHcg.png" /><figcaption>Mənbə:<a href="https://learn.microsoft.com/en-us/windows-server/identity/securing-privileged-access/reference-tools-logon-types">https://learn.microsoft.com/en-us/windows-server/identity/securing-privileged-access/reference-tools-logon-types</a></figcaption></figure><p>Let’s take a visual look at these logon types:</p><h3>Logon type 2</h3><p>If you are physically logging into the computer, this is considered Logon Type 2.</p><p>Let’s see this visually:</p><p>Suppose you have just turned on your computer and are entering your username and password on a screen that looks like the one below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w_2rGoMoT3BjswU1PJMlrA.png" /><figcaption>Windows Login Page</figcaption></figure><p>After logging into your account, filter Event Viewer for Event ID 4624, and you will see that the logon type of the newly created event is 2:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZwQ7LDxB0UNkv68gRAnfJQ.png" /><figcaption>Event Viewer</figcaption></figure><h3>Logon Type 3</h3><p>Logon Type 3 occurs when a user wants to connect to network resources located on another device.</p><p>For example, logins that happen while using protocols like SMB, FTP, SSH, or printer sharing belong to Logon Type 3.</p><p>Let’s visualize this: First, I am creating a folder to be shared over the network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/1*fvqGkWI8ShpIYlqgMEwhdA.png" /></figure><p>Next, we go to the Properties of the folder to be shared, enable the “Share this folder” option from the Advanced Sharing section, and click Apply.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/766/1*0GKE7jhecfFpa7WNwMMA7g.png" /></figure><p>Now, to gain access to the resource in CMD, we enter the username and password credentials of the user where that resource is located, as shown in the command below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/788/1*1HLbxzX94dbIiTjBu-hsmg.png" /><figcaption>cmd</figcaption></figure><p>After applying a filter for Event ID 4624 in Event Viewer, we can see the IP address, name, and that the Logon Type is 3 of the computer that attempted to access that resource.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/791/1*VE-f41UY0qD_xifxM6MpmA.png" /></figure><h3>Logon type 4</h3><p>Logon Type 4 is the logon type generated when a scheduled task runs. The user does not log in interactively; rather, it is a logon type created when system-generated scheduled tasks run in the background under the user’s account.</p><p>Let’s visualize how this happens:</p><p>First, to create a new task, we open Task Scheduler and click the “Create Task” button on the right side. In the window that opens, we enter the name of the task and select the “Run whether user is logged on or not” option. This option ensures that the task runs smoothly in the background regardless of whether the user is logged on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9a_x_PjnaMb1xaUlTIMt0g.png" /></figure><p>Next, from the Actions section, we define which task the scheduled task will perform. For example, I have specified the following command:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/629/1*as267f48SAQhhfBwsCx7fQ.png" /></figure><p>When you click the OK button in the window above, a prompt like the one below appears and asks for the password of the user named “test” so that the task can run on their behalf.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/1*wJx15KCAO6zf7mZ4AhSkgQ.png" /></figure><p>We run the created task.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/484/1*vnmC8Iu11wbd09f7CEYVPQ.png" /></figure><p>In Event Viewer, we can see that a logon occurred from the user named “test” with Logon Type 4.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*4SGO0OM_03uPhu2E2s-_Ag.png" /></figure><h3>Logon type 5</h3><p>In this type of logon, Windows services automatically log in using a service account to operate.</p><p>Let’s look at this visually.</p><p>To do this, we create a service named LogonType5Test and specify which service account name it will run under.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f1tMukR9cCDh31uVV2I-IA.png" /></figure><p>Next, we create the user account after specifying which account the service named LogonType5Test will run under.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*P4Zbl-jXGsWkiUznJZkAiQ.png" /></figure><p>Now, we run that service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/390/1*cojY1HeqVgRNxpsUbCtdCQ.png" /></figure><p>From Event Viewer, we can see that the user named “servicetest” has logged in with Logon Type 5.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/1*gAEYz46C0BtQwSSFCXoyqw.png" /></figure><h3>Logon type 7</h3><p>After locking the computer and logging back in, we can see a login event with Logon Type 7.</p><p>To visualize this, we lock the computer screen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/416/1*bqzU_A-BpnDcgAFGiSeH7g.png" /></figure><p>Then we log back in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/773/1*KqzIu3TS6nuIDrMB-2P1Ag.png" /></figure><p>We can see the Event Viewer entry for Logon Type 7.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/542/1*xTPl6m7Ilf5Hp8E5qkHdGQ.png" /></figure><h3>Logon type 8</h3><p>Over the network, the username and password are sent in plain text, making it a risky logon type (passwords can be intercepted via sniffing/MITM). It mainly occurs in older protocols lacking encryption (e.g., FTP, legacy SMB).</p><p>Note: Since modern services transmit passwords in an encrypted format, I won’t be able to demonstrate this logon visually.</p><h3>Logon type 9</h3><p>Logon Type 9 is the logon type generated when accessing network resources using “NewCredentials” in Windows. In other words, in this type of logon, a user within their current session can create processes and perform tasks using the username and password of a different account.</p><p>As an example, it is possible to open a CMD window using the credentials of the “servicetest” user. To do this, we execute the following command in CMD:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/682/1*J-Ftl8Fdc17OC8lbBip8Zw.png" /></figure><p>In Event Viewer, we can see that a Logon Type 9 event was generated for the “servicetest” user account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1018/1*Ih0DwDo89phNl6_BAm_WXA.png" /></figure><h3>Logon Type 10</h3><p>Logon Type 10 occurs when a user logs in via the RDP (Remote Desktop) service to obtain a graphical session on another computer.</p><p>To do this, we first open the RDP application and enter the IP address of the computer we want to connect to.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/404/1*KoUIesfTkVD7eOke3Ij7YA.png" /></figure><p>Now, we enter the credentials (username and password) of the user account we are using to log in to that computer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/430/1*dmihsa1Lh33uxabqXd0Q5w.png" /></figure><p>After successfully connecting, we can see that a logon event with <strong>Logon Type 10</strong> has been generated in the Event Viewer of the remote computer (or the session host), capturing the incoming RDP connection details, source IP address, and authenticated user account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0OTnqa5HgjGoOX6EW_KSJg.png" /></figure><p>#Logon #Authentication #WindowsSecurity #CyberSecurity</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=345342d1df53" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Windows-da Handle,Thread və DLLs-nədir.]]></title>
            <link>https://medium.com/@ilqarmammadli/windows-da-handle-thread-v%C9%99-dlls-n%C9%99dir-3ef00713aa8e?source=rss-6f8cacea1288------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ef00713aa8e</guid>
            <dc:creator><![CDATA[Ilqar Mammadli]]></dc:creator>
            <pubDate>Sat, 24 Jan 2026 15:24:36 GMT</pubDate>
            <atom:updated>2026-01-26T12:20:46.935Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>Windows-da Handle nədir?</em></strong></p><p><strong>Windows əməliyyat sistemində handle</strong> — hər hansı bir prosesin əməliyyat sistemi tərəfindən idarə olunan resurslara (fayl, registry key, proses və s.) müraciət etmək üçün istifadə etdiyi istinaddır.</p><p>Məsələn, istifadəçi Microsoft Word-də hər hansı bir faylı redaktə etdikdə, winword.exe prosesi həmin fayla handle əldə edir. Bu zaman əməliyyat sistemi fayla giriş icazələrini (read, write, delete, share) tənzimləyir. Nəticədə, digər proseslər həmin fayla yalnız icazə verilən səviyyədə müraciət edə bilər və redaktə və ya silmə əməliyyatları məhdudlaşdırıla bilər.</p><p>Nümunə:Word-də hər-hansısa fayl açırıq və onu redaktə edirik:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qmdUesRqKqRNLgPAVz_rbg.png" /><figcaption>Word</figcaption></figure><p>Bildiyimiz kimi, Microsoft Word icra edildikdə onun prosesi olan winword.exe işə düşür. İstifadəçi Word proqramında test.docx faylını açdıqda, winword.exe prosesi həmin fayla <strong>handle əldə edir(yaradır)</strong> və bu handle vasitəsilə test.docx faylına istinad edir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*_V-nNTkpBlleFRUvmdVc4g.png" /><figcaption>Process Explorer</figcaption></figure><p>Bu zaman həmin faylı silməyə və ya adını dəyişməyə cəhd etdikdə, əməliyyat sistemi faylın başqa bir proses (winword.exe) tərəfindən istifadə edildiyi barədə istifadəçiyə bildiriş göstərir və bu əməliyyata icazə vermir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/437/1*0zQ9MV4t_5sEbKKEm11dXA.png" /></figure><p><strong><em>Windows-da Thread nədir?</em></strong></p><p>Thread -proqramın funksionallığını yerinə yetirmək üçün yaranan və işləyən kiçik icra moduludur. Məsələn, Word proqramında hər hansı bir faylı redaktə edərkən “Read Aloud” (oxu funksiyası) aktivləşdirilirsə, bu funksiyanı yerinə yetirmək üçün ayrıca bir thread yaradıla bilər. Thread həmin funksiyanı icra edərkən müvafiq kodu işlədər və bu kod adətən uyğun DLL-ə müraciət edir.</p><p><strong>Nümunə: Windows-da “Read Aloud” funksiyasına klikləyirik:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/543/1*fNNkxo6PogYp26zThQCEWA.png" /><figcaption>word</figcaption></figure><p><strong>Bu zaman Process Explorer ilə Word-un </strong><strong>winword.exe prosesi üçün yaranan thread-ləri və onların icra etdiyi DLL-ləri görə bilərik.Yaşıl olanlar &quot;Read Aloud&quot; -a klikləyən kimi yeni yaranan thread-lərdir.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/551/1*RCxyWvHEwXyiHS8Z6okvEg.png" /><figcaption>Process Explorer</figcaption></figure><p>DLL nədir?</p><p><strong>DLL (Dynamic Link Library)</strong> — proqramların ümumi istifadə etdiyi və içində funksiyalar olan fayldır. Bu fayllarda proseslərin icra edəcəyi kod blokları yerləşir. DLL-lər proqramların kodunu təkrar yazmaması üçün istifadə olunur; eyni funksiyanı bir neçə proqram paylaşa bilər. Proqram işə düşəndə DLL yaddaşa yüklənir və proqram DLL-də olan funksiyanı çağıraraq onu icra edir. Bu, proqramın ölçüsünü kiçildir və kodun yenidən istifadə edilməsini təmin edir.</p><p>Məsələn, Word-də “Read Aloud” funksiyasını işə salanda audioses.dll adlı müvafiq DLL işləyir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*cajQr2gLc9vlDaJyTS3U8g.png" /><figcaption>Process Explorer</figcaption></figure><p>#Malware #OperatingSystems #Process #Thread #DLL</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ef00713aa8e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[QRadar-ın Arxitekturası]]></title>
            <link>https://medium.com/@ilqarmammadli/qradar-%C4%B1n-arxitekturas%C4%B1-d611c014aabc?source=rss-6f8cacea1288------2</link>
            <guid isPermaLink="false">https://medium.com/p/d611c014aabc</guid>
            <category><![CDATA[architecture]]></category>
            <category><![CDATA[siem]]></category>
            <category><![CDATA[ibm-qradar]]></category>
            <category><![CDATA[log-management]]></category>
            <category><![CDATA[components]]></category>
            <dc:creator><![CDATA[Ilqar Mammadli]]></dc:creator>
            <pubDate>Tue, 18 Nov 2025 12:24:48 GMT</pubDate>
            <atom:updated>2026-11-13T06:18:32.718Z</atom:updated>
            <content:encoded><![CDATA[<h3>QRadar’s Architecture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/956/0*q2B7_yVKesiU_wpK.png" /><figcaption>QRadar Components</figcaption></figure><p>First, I would like to talk about the installation types of QRadar. There are two options for installing QRadar:</p><ul><li><em>All-in-One — In this type of installation, there is no need to install QRadar’s components separately. During the installation, a single Virtual Machine consolidates all components within itself.</em></li></ul><p>As seen in this image, by selecting All-In-One, all components can be installed on a single VM (Virtual Machine).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*OT4poqiJ90SFNvbe.jpeg" /></figure><ul><li><em>Distributed — As seen from the figure above, all components are listed separately. If All-In-One is not selected, in this type of installation, it is necessary to spin up a separate VM for each component and then link them. This type of installation is recommended when a large volume of logs is received.</em></li></ul><p><strong>QRadar Architecture</strong></p><p>QRadar’s architecture is complex, as it is composed of several separate components. These components will be explained in detail individually ahead.</p><p>The figure below shows the general components of QRadar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*haeuy-aT_ZaLIKux4_ng7g.png" /></figure><blockquote><strong>Event Collector</strong> — This component receives logs sent via WinCollect or Syslog, normalizes (parses) them, and forwards them to the Event Processor.</blockquote><blockquote><strong>Event Processor</strong> — Receives the logs sent by the Event Collector, checks whether they match the configured rules, and then routes those events to the Ariel database for storage.</blockquote><blockquote><strong>Flow Collector</strong> — Receives NetFlow, sFlow, J-Flow, and other flow data sent by network devices (routers, switches, firewalls, etc.). This data reflects the session-level metadata of traffic flows passing through the network.</blockquote><blockquote><strong>Flow Processor</strong> — Combines and correlates flow data sessions, extracts the necessary metadata, and subsequently writes the processed flows into the Ariel Database. Through this process, the data displayed in QRadar’s Network Activity tab is generated.</blockquote><blockquote><strong>Console</strong> — Handles presenting QRadar’s user interface, displaying events in real time, and managing overall administration.</blockquote><blockquote><strong>App Host</strong> — When new functionalities (such as User Entity Behavior Analytics — UEBA, additional rules, dashboards, applications, etc.) are added to QRadar, the workload falls directly on the Console, which can degrade system performance. To prevent this, a dedicated App Host should be deployed. The App Host runs QRadar applications (apps) on a separate server, reducing the load on the Console and improving overall performance.</blockquote><p>Let’s discuss these components and their details more extensively:</p><h4><strong>Architecture of the Event Collector</strong></h4><p><strong>Event Collector</strong> — This component receives logs sent from log sources via the WinCollect agent or Syslog, normalizes them — meaning it ensures values are extracted from raw data using methods such as regex and assigned to specific fields — and forwards these normalized (parsed) events to the Event Processor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1019/1*aEFnJndn3mbcoohqJH0j7A.png" /></figure><ol><li>As shown in the image above, sample Firewall Deny events (logs) enter the Event Collector from the log source.</li><li>In the Overflow Filter, the rate of incoming events per second (EPS — Events Per Second) is compared against the QRadar license limit. If the number of events passing through the Overflow Filter exceeds the license limit, the excess events are temporarily held in a queue (buffer). Once the incoming event rate decreases, these queued events are sequentially forwarded to the next processing stages. Events within the limit are processed normally. However, if the buffer is full and the EPS license limit is still exceeded, the excess events are dropped, and QRadar generates a system notification (event) regarding this.</li><li>After being analyzed in the Traffic Analysis stage, QRadar identifies the source of the incoming events. If the events belong to an already recognized and existing Log Source, they are sent directly to the DSM for normalization (parsing). If the incoming traffic originates from a new source (a new IP, a new device, or a new log sender), QRadar attempts to automatically create a new Log Source for it. If the Log Source creation and selection of the appropriate DSM are successful, the events are routed to the DSM for normalization (parsing). If the source of the incoming event — such as Windows Event Log, Palo Alto Firewall, etc. — cannot be identified, QRadar cannot assign a suitable DSM parser. In this case, normalization is not possible, and the events are stored in the system as ‘unknown’.</li><li>The Device Support Module (DSM) Editor extracts values from raw events using regex (as well as LEEF, CEF, JSON, XML) and maps them to specific fields.</li><li>Finally, the events pass through the coalescing filter and are forwarded to the Event Processor. The coalescing filter merges identical events arriving at QRadar simultaneously; instead of creating a new event, it simply increments the Event Count value of the existing event. This mechanism helps reduce database storage usage, prevents exceeding the EPS limit, and improves overall system performance. As you can also see in the image below, some events have an event count greater than 1. This indicates that identical events have been merged via the coalescing filter.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hDsMky1A4FYLFAbRB2Ipxw.png" /></figure><p>6. Finally, the normalized events are forwarded to the Event Processor to carry out the remaining steps.</p><h4>Architecture of the Event Processor</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1017/1*mWdMaYw7F-V-VI3E2fQbXw.png" /><figcaption>Event Processor Architecture</figcaption></figure><p>1.In the Overflow Filter, just like in the Event Collector, the rate of incoming events per second (EPS — Events Per Second) is compared against the QRadar license limit. If the number of events passing through the Overflow Filter exceeds the license limit, the excess events are temporarily held in a queue (buffer). Once the incoming event rate decreases, these queued events are sequentially forwarded to the subsequent processing stages. Events within the limit are processed normally. However, if the buffer is full and the EPS license limit is still exceeded, the excess events are dropped, and QRadar generates a system notification (event) regarding this.</p><p>2. Next, the events arriving at the Custom Rule Engine (CRE) are checked to see if they match any rules. If an event satisfies a rule’s conditions, the CRE sends a notification to the Magistrate located within the Console, indicating that the event has triggered the rule’s conditions. This notification includes the details of the rule triggered by the event (Rule ID, Name, type, severity, etc.). Based on this information, the Magistrate creates an offense.</p><p>3. The Custom Rule Engine (CRE) sends the events to the console so that they appear in real-time within the QRadar Log Activity tab.</p><p>4. In the Host Profiler, after the events and flows passing through the CRE are analyzed, if these events originate from a new source for QRadar (such as a previously unseen IP address), this source is automatically added to QRadar’s asset list. This list resides on the console, and when a new asset is discovered, it is sent to the console to be added. It is important to note here that Log Source and Asset concepts are different. A Log Source represents a specific source sending logs to QRadar via WinCollect, Syslog, or other methods. An Asset, on the other hand, is the general list of devices encountered across all logs. For example, firewall logs can receive logs (events) from devices inside the company that do not have an agent installed, and even if the IP addresses of those devices are not Log Sources, QRadar recognizes these IPs as new assets and adds them to the asset list.</p><p>5. The Accumulator stores statistical data related to events. For example, it aggregates and records how many failed login attempts occurred within a second by a specific user. This statistical data is used in QRadar for creating dashboards, as well as building anomaly and threshold-based rules. The data formed by the Accumulator is stored separately in the Ariel DB, and this information is sent to the Console to be used in creating dashboards and writing rules.</p><p>6. Finally, the events are sent to QRadar’s database, called Ariel, for storage.</p><h4>Architecture of the Console</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*hraaBxEyVnxPs7WkNPm8OA.png" /><figcaption>Console Architecture</figcaption></figure><p>1.Events forwarded from the Event or Flow Processor to the Console are checked once again against the license limit, just as in other components.</p><p>2. As mentioned earlier, when an event in the Event Processor meets a rule’s conditions and triggers the rule, a notification is sent to the Magistrate component located on the Console to generate an offense. Based on this information, the Magistrate decides whether to create a new offense or append the event to an existing one. If additional event or flow data is needed, the Magistrate retrieves this information via the Ariel Proxy.</p><p>3. The CRE (Custom Rule Engine) within the Magistrate evaluates anomaly-based rules against the statistical data collected in the Accumulator. If these statistical metrics match the rule’s conditions, the Magistrate creates an offense.</p><p>4. Offenses generated by the Magistrate are stored in a database called PostgreSQL.</p><p>5. New assets discovered by the Host Profiler (which we mentioned in the Event Processor) are stored in the PostgreSQL-based asset database located on the Console.</p><p>6. The offense and asset data stored in this manner are displayed on the screen via the Graphical User Interface (GUI).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d611c014aabc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Qradar-da Wincollect-in və sysmon-un quraşdırılması]]></title>
            <link>https://medium.com/@ilqarmammadli/qradar-da-wincollect-in-v%C9%99-sysmon-un-qura%C5%9Fd%C4%B1r%C4%B1lmas%C4%B1-67da68d72c2e?source=rss-6f8cacea1288------2</link>
            <guid isPermaLink="false">https://medium.com/p/67da68d72c2e</guid>
            <dc:creator><![CDATA[Ilqar Mammadli]]></dc:creator>
            <pubDate>Thu, 18 Sep 2025 13:39:44 GMT</pubDate>
            <atom:updated>2025-09-19T08:22:05.445Z</atom:updated>
            <content:encoded><![CDATA[<h3>Wincollect Quraşdırılması</h3><p>Wincollect agent-i quraşdırmaq üçün ilk növbədə aşağıdakı kimi Google-da axtarıb İBM-im rəsmi səhifəsinə daxil olub,login olmaq lazımdır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vs4q5F1oXloTdQQaym70QA.png" /></figure><p>Burada <em>Download WinCollect 10</em> düyməsinə klikləyirik.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H1Enq2c3qJF-0aWgYaFwjA.png" /></figure><p><em>Download using your browser(HTTPS)</em>-i seçirik:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dGfShF5Djb8V7-pOFy9LSw.png" /></figure><p>Şəkildə göründüyü kimi ikinci linkə klikləyirik:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/946/1*jyJeC72o8rhLXGJDWdkRGA.png" /></figure><p>Burada isə birinci linkə klikliyərək w<em>incollect agent-</em>i yükləyirik.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*xxSv54pLLXh5oSaWRCQRrg.png" /></figure><p>Göründüyü kimi fayl Downloads hissəsindədir.Sağ klikləyib <em>Properties </em>hisəsini seçib faylın Path-ini götürürük.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/931/1*qrHeJpxWKGg2lFA2MlxFZw.png" /></figure><p>CMD-ini Run as Administrator kimi icra edib,kopyaladığımız Path-ə keçid edirik və wincollect faylını icra edirik.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/637/1*s9ddujDQ7cNOSRfa46L9Lg.png" /></figure><p>Göründüyü kimi bu səhifə açılır və next-ə klikləyirik.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/519/1*cBRzoWIG4TG_RKjJG-5zGg.png" /></figure><p>Burada lisenziyanı qəbul edib next edirik.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/509/1*1LoRDvlFQ4WAOdxdm76nGg.png" /></figure><p>Next edirik.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/517/1*EDMXVTHZd8ATWPGXpq9WpQ.png" /></figure><p>Quick-i seçib(default seçilib), next edirik.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/501/1*9xuswyLRH3IdvOfKIYl9uA.png" /></figure><p>Burada QRadar-ın IP-sini qeyd edirik.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/1*6BRidgi31g0wfHjeB20kLA.png" /></figure><p>Və Install düyməsini klikləyib bitiririk.Artıq agent hazırdır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/515/1*VV6z3aHI4UygInYK3MGwWA.png" /></figure><p>Qradar-a daxil oluruq.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YjJyO7mqtntIKgrRfgTKRQ.png" /></figure><p>Agentin quraşdırıldığı windows-un hostname-i öyrənirik.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/391/1*tkK3nYjh1DHe6YRSdAgF6g.png" /></figure><p>Log source hissəsində həmin hostname-ni görə bilərik.Bu o deməkdir ki agent uğurla quraşdırılıb.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eg7qOTtqH8-_rbR14YICXw.png" /></figure><p>İndi isə log-ların gəlib-gəlmdəiyini təasdiq etmək üçün<em> Log Activity</em> hissəsində <em>Add Filter</em>-ə klikləyib,<em>Parameter</em> hissəsində Source or Destination IP-i seçib <em>Value </em>hissəsinə agentin quraşdırıldığı windows-un IP-ni qeyd edirik və <em>Add Filter</em> edirik.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/968/1*Eo1IusaIy-JMYkrHV9RuTg.png" /></figure><p>Artıq görə bilərik ki həmin agent-dən loq-lar gəlir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*olUA3cKss7oEz9Oa4jZN7A.png" /></figure><h3><strong>Sysmon quraşdırılması</strong></h3><p>Sysmon quraşdırmaq üçün aşağıdakı xml faylını log-lar toplanacaq windows-da yükləmək lazımdır.</p><p><a href="https://github.com/SwiftOnSecurity/sysmon-config/blob/master/sysmonconfig-export.xml">sysmon-config/sysmonconfig-export.xml at master · SwiftOnSecurity/sysmon-config</a></p><p>XML-faylı notepad-də açıb,içində aşağıdakı hissəni tapıb, <em>md5,sha256,IMPHASH</em> hissəsini * ilə əvəz edirik</p><pre>&lt;HashAlgorithms&gt;md5,sha256,IMPHASH&lt;/HashAlgorithms&gt;</pre><pre>&lt;HashAlgorithms&gt;*&lt;/HashAlgorithms&gt;</pre><p>Sonra isə,Microsoft-un rəsmi səhifəsindən <em>Sysmon</em>-u yükləyirik(aşağıda qeyd olunub).</p><p><a href="https://docs.microsoft.com/en-us/sysinternals/downloads/sysmon">Sysmon - Sysinternals</a></p><p>Download sysmon-a klikləyirik.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/685/1*aVXuRTwuTpgg7IDr0JydEQ.png" /></figure><p>Yüklənmiş arxiv faylı arxivdən çıxarırıq.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/1*PwNerO_FUCly1cfN3wnJsg.png" /></figure><p>Sonra isə əvvəl yüklədiyimiz xml faylın həmin arxivdən çıxardığımız Sysmon folderinə köçürürük.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/1*grmLyvs3dCblZt6yxQVlvA.png" /></figure><p>İndi isə CMD-ni administrator kimi açırıq və <em>Sysmon </em>qovluğuna cd ilə keçirik.Sonra isə şəkildə göründüyü kimi aşağıdakı əmri icra edirik</p><pre>Sysmon64.exe -i &lt;configuration_file/sysmonconfig-export.xml&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/993/1*UIH2o0k_3JrdgK8Vk3gHGw.png" /></figure><p>İcra etdikdən sonra aşağıdakı səhifə açılır.Bu səhifədə lisenziyanı qəbul edirik.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*WUlUm7xDFxGVKauwB9rniw.png" /></figure><p>Sonra isə,Event Viwer-i açırıq və səhifənin sağında yerləşən Actions hissəsində yerləşən Create Custom View düyməsinə klikləyirik.Bu hissədə <em>Filter </em>tabında Event logs hissəsində <strong>Applications and Services Logs</strong>-&gt;<strong>Microsoft</strong>-&gt; <strong>Windows</strong>-&gt;<strong>Sysmon&gt;Operational-ı </strong>seçirik.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_-9gT-COZHb0YZEQtOlsFg.png" /></figure><p>İndi isə XML tabına keçid edirik və query-ni kopyalayırıq.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*zwNaDlSlporhzxx6-7NTGA.png" /></figure><p>Şəkildəki kimi <em>IBM WinCollect 10 Console</em>-a daxil oluruq.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/684/1*c91r2GVdWfSEu2JEmdjdpQ.png" /></figure><p><em>Source Wizard</em>-a keçid edirik.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/988/1*anCf_ATjkPtXY3npM34U2g.png" /></figure><p><em>Local</em>-ı seçib next edirik.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PAA3kS22nmr2c5YgID-bmQ.png" /></figure><p>Şəkildəki kimi seçib, next edirik.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ERSVI6lP-9mbs65Z1TVsJw.png" /></figure><p>Next edirik.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AGPzl43djR-D7-Vm9-GgnA.png" /></figure><p>Burada <em>XPath Query</em>-ni seçib,Name hissəsinə istədiyimiz adı daxil edib,<em>XPath Query</em> hissəsinə <em>Event Viewer</em>-də kopyaladığımız <em>XML</em>-i yapışdırırıq və next edirik.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fEujBZmNiThQ7ullfE6z-Q.png" /></figure><p><em>Apply </em>edirik və <em>success </em>nəticəsini alırıq.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VGJuuiVtYyYBC5IBCzGDBQ.png" /></figure><p>Sysmon-un doğru quraşdırıldığını yoxlamaq üçün Qradar-da <em>Log Activity </em>hissəsində log-ların gəldiyi IP-yə görə filtirləyirik və Windows-da yeni fayl yaradırıq.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*7LKcI3A2nPbFml7UVoWu-A.png" /></figure><p>Sonra isə loglara <em>pause</em>(oxla göstərilib) veririk.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-2gPwsVwhL25T6igaH_IjQ.png" /></figure><p><em>File Create</em> log-na daxil olduqda <em>Payload information</em>-da yaradılan faylı görə bilərik.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DU9nfngPfapP2c5qrwSGUg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=67da68d72c2e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>