<?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 Ilkinallahverdiyev on Medium]]></title>
        <description><![CDATA[Stories by Ilkinallahverdiyev on Medium]]></description>
        <link>https://medium.com/@ilkinallahverdiyev104?source=rss-ad9c731238d9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*9_wHKOjJHTYL9Ypqup78Yw.png</url>
            <title>Stories by Ilkinallahverdiyev on Medium</title>
            <link>https://medium.com/@ilkinallahverdiyev104?source=rss-ad9c731238d9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 11:04:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ilkinallahverdiyev104/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[AD core (Auth & Priv Esc) ?]]></title>
            <link>https://medium.com/@ilkinallahverdiyev104/ad-core-auth-priv-esc-b8ecb7af60a2?source=rss-ad9c731238d9------2</link>
            <guid isPermaLink="false">https://medium.com/p/b8ecb7af60a2</guid>
            <category><![CDATA[kerberos]]></category>
            <category><![CDATA[active-directory]]></category>
            <category><![CDATA[pass-the-hash]]></category>
            <category><![CDATA[overpass-the-hash]]></category>
            <category><![CDATA[pass-the-ticket]]></category>
            <dc:creator><![CDATA[Ilkinallahverdiyev]]></dc:creator>
            <pubDate>Sun, 02 Nov 2025 19:54:03 GMT</pubDate>
            <atom:updated>2025-11-02T19:54:03.529Z</atom:updated>
            <content:encoded><![CDATA[<h3>AD core (Auth &amp; Priv Esc) ?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2x0e8tNpZcmgsBu84pfFow.png" /></figure><p>Burada biz ilk olaraq AD nedir sualina cavab verek. AD(Active Directory) umumi komputerleri ve domainleri bir yerden idare etmek ucun Microsoft terefinden yaradilan bir xidmetdir . Burada biz esasen nelerden istifade edirik onlara baxaq . Biz burada</p><p>Domain</p><p>Users, Group …</p><p>Domain Controller (DC)</p><p>Group Policy (GPO)</p><p>Burada umumi sistemi idare eden ise AD core adlanir ve indi ise onun ne oldugunu arasdiraq .</p><p>AD core butun mexanizmlerin Authentication , Authorization , melumat saxlama ve paylasma burada yeni AD core-de bas verir .</p><h3>AD core nedir,AD core-nin esas komponentleri?</h3><h4><strong>1.NTDS.dit Active Directory-nin esas verilenler bazasidir.</strong></h4><ul><li>User passwords (encyrpted)</li><li>Groups</li><li>Computer</li><li>Domen ve Forest haqqinda melumatlar</li><li>C:\\Windows\NTDS\NTDS.dit</li></ul><h4>2.Authentication services (kimlik yoxlanisi)</h4><p>Yeni bu adam dogurdanda “Ilkin Allahverdiyev”-dirmi? Belke kiminse parolunu ogurlayib?</p><p>2 esas protokolu var</p><ul><li>Kerberos(esas ve daha tehlukesiz)</li><li>NTLM (kohne ehtiyat kimi istifade olunur)</li></ul><p>Kerberos movzusunu asagida izah etmeye calisacagiq detalli amma burada sethi toxunaq tutalim</p><p>a)Sen login olmaga cehd edirsen</p><p>b) Komputer senin melumatlarini AD Core gonderir</p><p>c) AD Core senin credentiallarini yoxlayir.</p><p>d) duzdurse “kerberos ticket” verir.</p><p>e) o resurs ile sen sebekede printerlere falan daxil ola bilirsen</p><h4>3.Directory System Agent(DSA)</h4><p>Bu hissede LDAP (Lightweight Directory Access Protocol) vasitesile verilenler bazasina giris imkani yaradir . Yeniki biz sistemden melumat isteyende DSA bu prosesi qebul edib cavab verir . (Bu hansi qrupa daxildir?)</p><h4>4.Replication service</h4><p>Burada , bele nezerde tutaq sirket daxilinde bir DC olmur birden daha cox DC olur , bu zaman da tutaq Baki-DC -da bir user yaratdiq bu bir nece deqiqe sonra Gence-DC-da yaranacaq . Bu zaman DC-lar arasinda replikasiya bas vermis sayilir. Bu da AD core-nin Replication Engine terefinde olur .</p><h4>5.Global Catalog</h4><p>Bu butun DOMAINLERIN qisa mecmusun saxlayan kataloqdur, yeni sen “Ilkin” userini axtarirsan bu zaman user basqa domende olsa da onu sene tapib getirecek</p><h4>6.Authorization (icaze sistemi)</h4><p>Burada istifadecinin icazeleri teyin olunur yeni ki, Bu istifadeci hansi fayli oxuya biler? hansi printerden istifade ede biler? Bunlari GPO ve ya ACL (Access Control List)-den ede bilerik .</p><p><em>Elave qeyd: ACL bir obyekte (Fayl, qovluq,printer) kimin ne edeceyi baresinde icazeler tertib edir, GPO ise umumi userler ve komputerlerin sistemde nece davranmali oldugunu bildirir. Həyatdakı qarşılığı İzah </em><strong><em>ACL</em></strong><em> Ofisdə qapının üzərində “yalnız HR şöbəsi daxil ola bilər” yazısı var. </em><strong><em>GPO</em></strong><em> Ofis qaydası: “Bütün işçilər səhər saat 9-da gəlməlidir, telefonlar səssiz rejimdə olmalıdır.”</em></p><h3>Senari: istifadeci komputeri acib login olan zaman ve sisteme giren zaman hansi prosesler bas verir?</h3><p>Senari:</p><ol><li>Ilkin komputeri yandirdi CTRL+ALT+DEL basdi</li><li>“Ilkin” adli username ve “password” yazdi</li><li>ENTER-e basdi ve Ilkin useri olaraq komputere daxil oldu .</li><li>Ne bas verdi?</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2T0Re6UPK4HwHdz02ADhPQ.png" /></figure><h3>1)Istifadeci Login olmaq isteyende</h3><ul><li>Komputer (Local Security Authority) LSA vasitesile parolu (Key Distribution Center) KDC-e gonderir.(KDC, AD DC-nin bir hissesidir.)</li><li>KDC 2 hisseden ibaretdir.</li></ul><p>— (Authentication Service) AS</p><p>— (Ticket Granting Service) TGS</p><h3>2. AS-REQ (Authentication Service Request)</h3><ul><li>Komputer istifadecinin adinnan terkibinde UPN (User Principal Name)<em>(ilkin.al@domain.local)</em> olan AS-REQ mesajini KDC-e gonderir.</li></ul><h3>3. AS-REP (Authentication Service Reply)</h3><p>KDC istifadəçinin parolunun <strong>hash</strong>-ı ilə verilən məlumatı şifrələyərək cavab göndərir:</p><p>İstifadəçiyə bir <strong>TGT (Ticket Granting Ticket)</strong> verilir.</p><p>Bu TGT yalnız KDC-nin <strong>TGS hissəsi</strong> tərəfindən oxuna bilər.</p><h3>4. TGS-REQ (Ticket Granting Service Request)</h3><p>İndi istifadəçi, məsələn, <strong>fayl serverə</strong> (\\fileserver) daxil olmaq istəyir.<br> Bu halda o, <strong>TGS-REQ</strong> göndərir — yəni, “mənim TGT-im var, indi mənə bu servisin bileti lazımdır”.</p><h3>5. TGS-REP (Ticket Granting Service Reply)</h3><p>KDC, həmin servisin (məsələn, cifs/fileserver) üçün istifadəçiyə <strong>Service Ticket</strong> göndərir.</p><p>Bu bilet:</p><p>KDC tərəfindən şifrələnib.</p><p>İstifadəçinin identifikasiyasını və etibarlılıq müddətini saxlayır.</p><h3>6. AP-REQ (Application Request)</h3><p>İndi istifadəçi həmin bileti götürür və <strong>servisə (məsələn, file serverə)</strong> təqdim edir.</p><h3>7. AP-REP (Application Reply)</h3><p>Servis bileti yoxlayır, şifrəsini açır, və əgər hər şey düzgündürsə, “OK” cavabı verir.<br> İndi istifadəçi artıq həmin servisdə (məsələn, \\fileserver) <strong>autentifikasiya olunub</strong> və resurslara çıxışı var.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/607/1*Di1B5md2aCjDnXFlWM802A.png" /></figure><blockquote>clinet-&gt; timestamp ve username ac-req gedir KDC-e sonra as-rep olaraq ona tgt ve session key verilir ve tgt krbtgt userinin password hashi ile encyrpt edilir , session key ise userin passwordunun hashi ile encyrpt edilir ve bununla yanasi geden as-req sorgusu zamani timestamp -i yoxlayir kdc gorum duzmu gonderilib , bundan sonra as-rep geldikden sonra clinetde timestamp ,tgt, username, session key olur</blockquote><blockquote>Bundan sonra user yeniden TGS e sorgu gonderir ve bu zaman service ticket almaq usun sorgu gonderilir ve bundan sonra tgs ona tgs ve service session key verir ve session service key ise evvelki session key in passwordu ile encyrpt olunur. Bundan sonra service ticket alir ve onu aplication service requset olaraq daxilnde SPN (service principials name) olaraq gonderir ve hansi servise daxil olmaq istediyini bildirir ve bundan sonra ise hemin servise uygun olaraq daxil ola bilir. sekilde her bir seye diqqetle baxsaq acar ve kilidden mentiqini tuta bilerik .</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/884/1*z176uNS1OZdfCkRj6jCecA.png" /><figcaption>bu da NTLM -in isleme mentiqidir .</figcaption></figure><h3>Pass the hash/ticket and Overpass-the-Hash (AD)</h3><p>demeli biz bu gun AD -de pass the hash ve pass the ticket hucumlarini izah edeceyik.</p><p><strong>Pass-the-hash </strong>— Burada NTLM ile parollarin hashi saxlanilir tutaqki, NTLM de evvelki sistemlerde istifadecinnin autentifikasiyasini deqiqlesdirmek ucun istifade olunurdu , hansiki parol plaintext olmadan yoxlamaq ucun istifade olunan protokoldur, pass-the-hash hucumunda ise hacker mimikatz kimi toolardan istifade ederek hemin hash-i goturerek sisteme daxil ola biler.</p><p><strong>Pass-the-ticket </strong>— Gunumuzde NTLM evezine kerberos protokolundan istifade olunur ve kerberos protokolu istifadecini ticketler vasitesile autentikasiyasi ve avtorizasiyasini deqiqlesdirir bu zaman hacker TGT verilen zaman ve TGS sorgusu geden zaman hemin ticketi goturerek bu hucumu heyata kecirir,</p><p><strong>OverPass-the-hash </strong>— ele bil ki , NTLM hashindan istifade ederek kerberos ticket alirsan ve sen sistemde NTLM-den yola cixaraq Kerberos selahiyyetlerine uygun olaraq hereket edirsen . NTLM hashini NTLM autentikasiya almaq ucun istifade etmirsen Kerberos ticketi almaq ucun istifade edirsen ve neticede kerberos tiketi ile sistemde islediyin gorunur .Texniki terefden izaha gelsek ele bilki , NTLM hash-i RC4/RC4-HMAC desteyi olan muhitlerde kerberos da istifade olunan acarla eynidir. Buna gore de hucumcu hemin hash ile KDC e sanki parol gonderirimis kimi davranir ve sonra TGT alir ondan sonra onu TGS e gonderir ve belelike sisteme kerberos selahiyyetleri ile daxil olmus olur.</p><p><strong>Service account abuse </strong>— ele bil burada sistemde service account-lar olur bu nedi hansi ki , SQL, IIS , ve s. kimi servislerin userleri olur ve administrator secviyyesinde selahiyyetlere sahib olur ve onlar sayesinde emeliyyatlar icra olunur burada da esasen bu kimi service accountlara qarsi olan sui qesdler nezerde tutulur . Yeni burada hacker bele service accountlarin hashini passwordunu ele kecirerse o zaman bu hucuma service account abuse deyilir. Texniki izahina baxaq .</p><ul><li><strong>LSASS</strong>-dan və ya <strong>SAM</strong>-dan credential dump edir;</li><li>İçəridə <strong>xidmət hesablarının hash-larını və ya parollarını</strong> tapır;</li><li>Bu hesabların çox vaxt <strong>kerberos SPN</strong>-i (Service Principal Name) olur — bu isə <strong>Kerberoasting</strong> hücumuna zəmin yaradır;</li><li>Nəticədə, hücumçu <strong>service account-un hash-ını offline şəkildə qırıb</strong> həmin hesabla <strong>lateral movement</strong> edə bilir.</li></ul><p><strong>Unconstrained Delegation — Mehdudiyyetsiz Numayendelik demekdir .</strong></p><p>Bu o demekdir ki , bir user ve ya xidmet hemin istifadecilerin sisteme Kerberos ticketi ile daxil olan zaman TGT -lerini RAM da saxlayir ve sonradan basqa xidmetlere hemin istifadeci adindan giris ede bilir demekdir. Yeni bu xususiyyet basqalari adindan davranmaq imkani verir . Məsələn, sən bir printer serverinə və ya web serverə daxil olursan — və bu server “unconstrained delegation” aktivdirsə, <strong>sənin TGT-n</strong> həmin serverdə saxlanılır.<br> Hücumçu bu serveri ələ keçirsə, <strong>istənilən istifadəçinin (hətta Domain Adminin)</strong> TGT-sini oğurlaya bilər. Bunun qarsisini almaq ucun <strong><em>constrained delegation</em></strong> olsa daha yaxsi olar</p><ul><li>Server hesabının (computer$ və ya service account) <strong>Active Directory-də “Trusted for Delegation”</strong> flag-ı aktiv olur.</li><li>İstifadəçi bu serverə daxil olduqda onun <strong>TGT-si (krbtgt ilə imzalanmış bilet)</strong> serverin RAM-da saxlanılır (məs. lsass.exe içində).</li><li>Hücumçu bu serveri ələ keçirərsə, həmin TGT-ni çıxarıb <strong>başqa sistemlərə</strong> “orijinal istifadəçi” kimi keçə bilər — yəni <strong>Pass-the-Ticket</strong> hücumu.</li></ul><p>Praktika gelecekde…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b8ecb7af60a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[X-Force in Qradar]]></title>
            <link>https://medium.com/@ilkinallahverdiyev104/x-force-in-qradar-d8ef7e2f36fe?source=rss-ad9c731238d9------2</link>
            <guid isPermaLink="false">https://medium.com/p/d8ef7e2f36fe</guid>
            <dc:creator><![CDATA[Ilkinallahverdiyev]]></dc:creator>
            <pubDate>Tue, 28 Oct 2025 14:05:04 GMT</pubDate>
            <atom:updated>2025-10-28T14:05:04.981Z</atom:updated>
            <content:encoded><![CDATA[<p>burada biz ne edeceyik demeli X-force nedir?</p><p>Biz TI inteqrasiyasi edeceyik Qradara ve bunu etmek ucun X-force den istifade edirik bu da hansiki ozu default rule ler yazir ve qradarda bas veren hadiseleri ozu analiz edir ve malicious bir ip ve ya zererli diger fayllar falan gorerse o zaman onu offense olaraq bize bildirir, cox maraqlidir .</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FC7ihCMPcQ80%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DC7ihCMPcQ80&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FC7ihCMPcQ80%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/0db11161110d24e3a73af6c2df7218f5/href">https://medium.com/media/0db11161110d24e3a73af6c2df7218f5/href</a></iframe><p><strong>Admin-&gt; System Settings-&gt; Enable X-Force Threat Intelligence Feed-&gt;yes-&gt; save -&gt; deploy changes</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*InXDpKykWMjVqNA5dc1bRA.png" /></figure><p>bundan sonra <strong>Extensions Management -&gt; IBM Security App Exchange</strong> buraya daxil olub x-force deye axtarisa veririk , ondan sonra <strong>IBM QRadar Security Threat Monitoring Content Extension </strong>yukleyib ondan sonra extension olaraq Extension Managementden <strong>add</strong> edirik. Bundan sonra bizim rules hissesinde Threat olaraq basliq gelecek</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jzMK2B4m2F8RHDUj9SRk5w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dG0svu0aPRzOz0Zh36GsiQ.png" /><figcaption>burada men threat intelligenceni yukleyende cekdiyim ekran qeydidir, content faylii olani yukleyende cekmek yadimdan cixib amma eyni goruntu olur.</figcaption></figure><p>a ) QRadar Community Edition: Open-Source Threat Intelligence Feed Integration<br>b) Meeqsed: Community Edition da resmi X-Force olmadigindan, open-source feed-dən istifade edeceyik ,;<br>c ) IP/domain/hash -ları Reference Set-e elave edib Custom Rule ile offense yaratmaq</p><p><a href="https://www.ibm.com/docs/en/qradar-common?topic=monitoring-enabling-x-force-threat-intelligence-in-qradar">Enabling X-Force Threat Intelligence in QRadar</a></p><p>bu meqaleden istifade ede bilerik</p><p><a href="https://www.reddit.com/r/QRadar/comments/1fabpum/how_to_verify_xforce_rules_in_qradar/">https://www.reddit.com/r/QRadar/comments/1fabpum/how_to_verify_xforce_rules_in_qradar/</a></p><p>burada redit de sorgu verilib ve oradan da melumat elde ede bilerik .</p><p>Sonda ise biz rule hissesinden x-force ruleleri desable olaraq gelir onlari enable ederek isleyisini gore bilerik</p><h3>PULLU X-FORCE ☻ ) (yaddasim kifayet etmedi)</h3><p>Biz X-force den Threat INItelligence applicationundan istifade ede bilerik sadece o cox yer tutur . oradn API key generate edib proqramii elaqelendire bilerik. Bu linkden istifaed ederek yukleye bilerik .</p><p><a href="https://apps.xforce.ibmcloud.com/extension/01d113730a63f5117a7e1f4c85850127">IBM Application Exchange</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FtwZX-c6WI4w%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DtwZX-c6WI4w&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FtwZX-c6WI4w%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/4926bf150b8a2da782cb83c58573a3e5/href">https://medium.com/media/4926bf150b8a2da782cb83c58573a3e5/href</a></iframe><p>bu videolardan istifade ederek de isi daha rahat gore bilerik .</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F-yWepLFePJI%3Flist%3DPLHh9jhztlMyrHf1Zayf_iB1_Ki-kiYxtk&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D-yWepLFePJI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F-yWepLFePJI%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/8b57e752c7880f69274702a4844c9319/href">https://medium.com/media/8b57e752c7880f69274702a4844c9319/href</a></iframe><p>umumi olaraq tovsiye edeceyim kanal Jose Bravo dur xForce adli playlisti var .</p><p>1️ Threat Intelligence Feed</p><p>Open-source feeds numunelerii;<br> — AlienVault OTX: <a href="https://otx.alienvault.com/">https://otx.alienvault.com/</a><br> — AbuseIPDB: <a href="https://www.abuseipdb.com/">https://www.abuseipdb.com/</a><br> — EmergingThreats: <a href="https://rules.emergingthreats.net/">https://rules.emergingthreats.net/</a><br> Feed-leeri CSV ve ya JSON formatında saxla<br> meselen, malicious_ips.csv:<br> 192.168.1.100<br> 203.0.113.5<br> 198.51.100.23</p><p>2️ QRadar-da Reference Set yarat</p><p>Admin → Reference Sets → Create Reference Set<br>meselen:<br> name: Malicious_IPs<br> type: IP<br>allow duplicates: No<br>description: Open-source malicious IP list</p><p>3 Data import</p><p>Manual import:<br>Admin → Reference Data → Manage Reference Sets → Select Malicious_IPs → Upload CSV</p><p>Alternativ avtomatik import (linux shell):<br> qradar@host:~$ scp malicious_ips.csv qradar@QRADAR:/tmp/<br>qradar@host:~$ /opt/qradar/bin/ReferenceDataUpdater -s /tmp/malicious_ips.csv -r Malicious_IPs</p><p>4 Custom Rule yarat</p><p>Offenses → Rules → Create New Rule → Event Rule<br> Rule numuneesi:<br>When “Source IP” IN reference set “Malicious_IPs”<br>Then Dispatch New Event</p><p>Event Name: Suspicious Traffic Detected<br> Event Description: Source IP matches malicious IP reference set<br> Severity: 7<br>Credibility: 8<br> Relevance: 8<br> Annotate this offense: Ensure the detected event is part of an offense<br> Index offense based on Username</p><p>5️ Regex / AQL numunesi</p><p>eger log içinde IP varsa ve onu reference set ilə yoxlamaq isteyirsense:<br>AQL filter query:<br>“Source IP” IN reference set “Malicious_IPs”</p><p>Regex numunesi (log icinden IP çıxarmaq ucun):<br> IP-ler logun Message sahesindedirse:<br>Message IMATCHES ‘.*Source Network Address:\s+(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}).*’</p><p>6 Rule Response</p><p>— Dispatch New Event<br> — Include detected events by Username from this point forward, for 300 seconds<br> — Offense Naming: set or replace the name of the associated offense(s)<br> — Optional: Email notification, add to reference set, etc.<br> — Enable Rule immediately</p><p>7️ Test</p><p>— Log daxil et test IP ilə (məs: 192.168.1.100)<br> — Log Activity → Event Count yoxla<br> — Offenses → yeni offense yaranıb-yaranmadığını yoxla<br> — Əgər offense yaranmayıbsa, regex və reference set yoxla</p><p>son olaraq biz community edition da package yukledik amma Threat intelligende ozu proqramdir ,</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FeRC1HQx2CoE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DeRC1HQx2CoE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FeRC1HQx2CoE%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6eb663e7beac8f79c6e91c151c6abfbc/href">https://medium.com/media/6eb663e7beac8f79c6e91c151c6abfbc/href</a></iframe><p>aralarinda ki ferq nedir ,</p><h3>1. Threat Intelligence App (Tətbiq)</h3><p>burada bu proqram qradarda oz interfacesi olur ve kenardan gelen zererli linkleri falan x-force excahneg serverlerine baglanir ve tehdid melumatlarini STIX/TAXII formatinda Qradara cekir ona gore de API dan istifade olunur . Bu QRadara melumat getiren motordur.</p><h3>2. Təhlükəsizlik Təhdidi Monitorinqi Məzmun Genişlənməsi (Məzmun Paketi)</h3><p>bu sadece Qradarin daxilinde rule yazir ve onlar ucun offense yaratmagina komedk edir her hansi bir proqrama sahib deyil ve RAM ve API teleb etmir bu Qradarin beyin funksiyasini guclendirir</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8ef7e2f36fe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DCSync Attack Detected in Qradar]]></title>
            <link>https://medium.com/@ilkinallahverdiyev104/dcsync-attack-detected-in-qradar-44006d5ee5ca?source=rss-ad9c731238d9------2</link>
            <guid isPermaLink="false">https://medium.com/p/44006d5ee5ca</guid>
            <dc:creator><![CDATA[Ilkinallahverdiyev]]></dc:creator>
            <pubDate>Tue, 28 Oct 2025 14:04:05 GMT</pubDate>
            <atom:updated>2025-10-28T14:04:05.141Z</atom:updated>
            <content:encoded><![CDATA[<p>Burada biz DC replicitation bu privilege basqa usere verilende offense yaratmagini isteyirik</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F_m3u13Df7Fc%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D_m3u13Df7Fc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F_m3u13Df7Fc%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/4bbfa63eb7231f8f0dd3f63621d6a28a/href">https://medium.com/media/4bbfa63eb7231f8f0dd3f63621d6a28a/href</a></iframe><p>bu videodan baxaraq biz DCSync attack -in nece bas verdiyini ve DC replication permissionslarini deyisdirilmesini gore bilerik</p><p><a href="https://www.alteredsecurity.com/post/a-primer-on-dcsync-attack-and-detection">Altered Security</a></p><p>bu blogdan istifade ederek DCSync attackin senarisini basa duse bilerik .</p><p>maraqli bir aydinlalnma hissesi:</p><h3>DC replikasiya nedir?</h3><p>misal ucun sirketde 3 dene DC -in var, ve sen DC-1-de yeni bir istifadeci yaradirsan bu zaman bu deyisikliklerin DC-2 ve DC-3 de bas vermeyini isteyirsense DC-1 <strong>MS-DRSR protokolu vasitesile </strong>, DC-2-den “deyisiklikleri replikasiya etmeyi xahis edir ” istifade edirsen ve gelek DCSync attacka</p><p><strong>Sadə Məna: Məlumatın Kopyalanması və Sinxronlaşdırılması</strong></p><p>Təsəvvür edin ki, sizin <strong>üç ədəd</strong> Domen Kontrolleriniz (DC) var: <strong>DC1</strong>, <strong>DC2</strong> və <strong>DC3</strong>.</p><ol><li><strong>Dəyişiklik Baş Verir:</strong> Bir administrator <strong>DC1</strong>-də “Əli” adlı yeni bir istifadəçi yaradır.</li><li><strong>Replikasiya Başlayır:</strong> DC1, bu yeni istifadəçi məlumatını (onun adı, şifrəsinin <strong>hash-ı</strong>, qrup üzvlükləri və s.) DC2 və DC3-ə göndərməlidir ki, hər üç DC-də məlumat eyni olsun.</li><li><strong>Məlumat Bərabərləşir:</strong> DC2 və DC3 bu məlumatı alırlar və öz verilənlər bazalarına əlavə edirlər. İndi hər üç DC-də “Əli” istifadəçisinin qeydi var.</li></ol><p><strong>Nəticə:</strong> Bu proses sayəsində, şəbəkədəki istənilən kompüter hansı DC-yə qoşulmasından asılı olmayaraq, həmin istifadəçini tanıya və onun autentifikasiyasını (şifrə yoxlanışını) həyata keçirə bilər.</p><blockquote><strong>Microsoft Directory Replication Service Remote Protocol (MS-DRSR):</strong>bu protokol Active directory de DC-lar arasindaki elaqeni tenzimleyir , bes nece isleyir<strong>? </strong>Bu protokol vasitesile DC o biri DC-lerden son etdiyi deyisiklikleri teleb edir ki , ozunde deyisdirsin.<strong>IDL_DRSGetNCChanges </strong>adli esas funksiya vasitesile heyata kecirilir. Bundan sonra o biri DC-ler deyisiklik olan butun melumatlari MS-DRSR protokolu vasitesile sorgu gondermis DC-e gonderir.</blockquote><p><strong>Neye gore lazimdir?</strong></p><p>bas veren deyisikliklerin butun DC lerde olmagini temin edir ki, sabah bir DC islemese o biri DC -dan melumatlar elde oluna bilsin</p><p><strong>DCSync attack nedir?</strong></p><p>burada DC replikasiyadan istifade ederek mimikatz toolu vasitesile yalandan ozunu bir DC kimi gosterir ve diger DC lerden deyisiklikleri teleb etmeyini isteyir bu zaman da melumatlari (NTLM hash) ele kecirmis olur . burada prosesin mentiqi bu cur olur esas demeli DCSync attackda hucumcu ozunu DC kimi gosterir ve diger DC-lere MS-DRSR protokolundan istifade ederek <strong><em>IDL_DRSGetNCChanges </em></strong>adli sorgu gonderir ve bundan sonra diger DC-ler onun daxilinde<strong><em>IDL_DRSGetNCChanges</em></strong>funksiyasinin oldugunu gorerek onun heqiq yeni legit bir DC oldugunu dusunur ve NTDS.DIT -de olan butun credential-lari hucumcuya gondermis olur belelikle DCSync attack olur. Bu cox maraqli bir hucumdur , cunki burada her hansi bir logon cehdi bas vermir ve her hansi kod icra olunmur .Qayidaq taskimiza</p><p>Plan</p><ol><li>Windows da mimikatsz toolundan istifade ederek DCSync hucumu edeceyik</li><li>Hemin hucumun loglarini Windows Security loglarda gormeye calisacagiq</li><li>Hemin loglarin Qradara gelib gelmediyini yoxlayacayiq</li><li>Eger logda neyise parse etmek lazimdirsa hemin filedleri parse edeceyik.</li><li>Qradara gelmis loglara esasen Rule yazacagiq</li></ol><h4>1)Windows da mimikatsz toolundan istifade ederek DCSync hucumu edeceyik</h4><p>Demeli burada ne edeceyik bize sade hucumu reallasdirmaq ve onun loglari uzerinde Qradarda rule yazmaq lazimdir bunun ucun men Windows serverde evvelce yaratdigim test5 userinden istifade edeceyem ve hucumu test5 userinden icra ederek sadece hemin hucumun loglarini gormeye calisacagam .</p><p>TEST5 Userinden hucumu reallasdirmaq ucun neler etdim?</p><p><strong>Windows Server DC-yə daxil olun</strong> (Domain Administrator hesabı ilə).</p><p><strong>Active Directory Users and Computers (ADUC)</strong> konsolunu açın.</p><p>Yuxarı menyudan <strong>View</strong> → <strong>Advanced Features</strong> (Əlavə funksiyalar) aktiv edin.</p><p>Domeninizin kök obyekti üzərinə (məsələn, yourdomain.local) sağ klik edin və <strong>Properties</strong> (Xüsusiyyətlər) seçin.</p><p><strong>Security</strong> (Təhlükəsizlik) tabına keçin.</p><p><strong>Advanced</strong> (Qabaqcıl) düyməsini sıxın.</p><p><strong>Add</strong> (Əlavə et) düyməsini sıxın və test5 istifadəçisini axtarıb əlavə edin.</p><p>test5 istifadəçisinin icazələrini təyin edərkən <strong>Properties</strong> tabına keçin və aşağıdakı <strong>iki xüsusi icazəni</strong> (Extended Rights) axtarıb <strong>Allow</strong> (İcazə ver) qutusunu işarələyin:</p><p>Replicating Directory Changes</p><p>Replicating Directory Changes All</p><p>Replicating Directory Changes in filtered set</p><p>Bundan sonra test5 useri administratot olmasa da DCSync hucumu etmeye komek edecek user olacaq cunki o Replication directory changes permissionlarina sahibdir .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4jukvmnGw3dl205xcP1Z8A.png" /><figcaption>burada neticesini gore bilerik</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aW2R3DvFZSGihB1Ek5tvPg.png" /><figcaption>bu permissionlari secirik testimiz ugurlu alinsin deye</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6h29iWxHS2dZrqrDsHj3xg.png" /><figcaption>burada biz server masini ile daxil olmaq ucun policylerde deyisiklikler tetbiq edirik</figcaption></figure><p>biz hesab olaraq test5 useri ile daxil olduq.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*5qnBwaNakTB3cdc8fgFR6A.png" /><figcaption>bundan sonra mimikatz tootlundan istifadeye kecirik</figcaption></figure><p>Bundan sonra biz mimikatz toolundan istifade ederek DCSync hucumu reallsdirmaga calisacagiq</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9e7e2FyyChhv6iOwKFvo_Q.png" /></figure><p>mimikatz toolunu artiq test5 userine qurasdirdiq indi ise bu tooldan istifade ederek DCSync hucumu etmeye calisacagiq</p><p><strong>Mimikatz Əmri:</strong> lsadump::dcsync /domain:kerberosting.lcoal /user:krbtgt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*wS9gUhaWAd6UTju5zQAjrA.png" /><figcaption>burada biz ntlm hash -i gore bilerik</figcaption></figure><p>bu hadisenin event ID-i 4662-dir. Biz bu event ID ni normal Administrator hesabinda event viewerde axtaracayiq gorek gorunur?</p><h3><strong>2)Hemin loglari event viewerde gormek ucun policie-lerde deyisiklikler etdik</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Htien09KMi_n11G6As853w.png" /><figcaption>burada haminsi success ve failure edirik ki loglar gelsin</figcaption></figure><p>yeniden test edirik gorek event viewerde loglar gorunurmu?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9tJYgaUBJ8TKtjFsP8hRAg.png" /></figure><p>beli log gelir amma log 4768 ve 4769 event idlerine uygun olaraq gelir amma error_code olaraq 0x12 gelir bu o demekdirki :</p><p><strong>4768Kerberos Authentication Service Ticket Granted</strong> (Kerberos Autentifikasiya Xidməti Bileti Verildi)Domen Kontrolleri (DC) bir istifadəçiyə <strong>TGT</strong> (Ticket Granting Ticket) verdikdə yaranır. Bu, normal domenə daxilolmanın ilk mərhələsidir.</p><p><strong>4769Kerberos Service Ticket Granted</strong> (Kerberos Xidməti Bileti Verildi)İstifadəçi (Mimikatz) bir xidmətə (məsələn, DC replikasiya xidmətinə) daxil olmaq üçün <strong>xidmət bileti</strong> (Service Ticket - ST) tələb etdikdə yaranır.</p><p><strong>Error Code: 0x12KDC_ERR_BADOPTION</strong> (Bilet Verən Mərkəzdə Pis Seçim Xətası)Bu Kerberos xətası adətən <strong>Kerberos biletinin parametrlərindəki səhv konfigurasiyanı</strong> və ya Mimikatz tərəfindən icra edilən <strong>Qızıl/Gümüş Bilet (Golden/Silver Ticket)</strong> hücum cəhdini göstərir.</p><p>bundan sonra biz yeniden policylerde duzelisler etdikden sonra</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xBKZBmuRz49j0DT40nYUQg.png" /></figure><p>artiq biz event viewerde 4662 id sini goruruk ve buda DCSync hucumunun ugurlu oldugunu bildirir.</p><h3>3) Biz artiq Qradarda 4662 logunu gore bilirik.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5g1KwsbM_HkJCZnQ6mQzUg.png" /></figure><p>Biz test meqsedli olaraq Event id =4662 adli Building block yaratdiq ve ona uygun bir rule yazdiq gorek offense olaraq gelirmi ve beli gelir</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eZ-RIzBwUvi7hQWWRTgfdA.png" /><figcaption>burada yaranmis offenseni gore bilerik 4662 id si ucun</figcaption></figure><p>bize burda lazim olan deyerler <strong>(Event ID, Account Name, Properties, Account Domain)</strong> fieldleri lazimdir ki , men tam duzgun offense yaradim indi hemin hisseleri parsing etmeliyik .</p><h3>4)Log parsing</h3><p>bunu DSM editordan regex yazaraq edirik.</p><p>Burada bize lazim olan hisse properties hissesidir, cunki</p><p>Bize lazim olan GUID-ler</p><p>1131f6aa-9c07-11d1-f79f-00c04fc2dcd2 — <strong>DS-Replication-Get-Changes</strong>.</p><p>1131f6ad-9c07-11d1-f79f-00c04fc2dcd2 — <strong>DS-Replication-Get-Changes-All</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wl-5TMy5N43uPcJemjHomA.png" /></figure><p>hemcinin Access Mask:0x100 de bize lazimdir Umumi olaraq loglarimizi parse etdik indi ise onun rule-ni yazamaga baslayaq</p><p>Ilki olaraq BB: yaradaq</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*EdWIcTngUhcGrcaQNKFFuw.png" /><figcaption>Building Block</figcaption></figure><p>burada event ID =4662 ve Access Mask=0x100 olaraq teyin etmisik .</p><p>bundan sonra ise properties hissesinden bize detect etmeyimizde bize komek edecek olan GUID -leri condition olaraq veririk , hansi ki , DCSync attack zamani bu GUIDlerden istifade olunur</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/813/1*CDymso9xucB2b1LYVL4GsQ.png" /><figcaption>burda əlavə GUİD də verə bilərik.</figcaption></figure><p>Son olaraq yazdigimiz rule bu curdur ve burada</p><p><strong>1)serverwinn</strong> -log source</p><p><strong>2)BB:DCSync</strong> -yuxarida yaratdigimiz Building block-dur</p><p><strong>3)Properties-ler:</strong>- bunlar yuxarida bizim windowsdan gelen loglardan parse etdiyimiz fieldlerdir , bunu daha deqiq offense yaranmasi ucun veririk</p><p><strong>4)Sonda ise Username-nin bir DC olmadigini mueyyenlesdiririk</strong> ki, bizim false postive offensemiz yaranmasin , cunki DC -lar her an replikasiya sorgusu yarada biler bu da false positive getirib cixarmasin deye edirik , hansi ki , bize lazim olan DC olmayan ozunu DC kimi gosteren Useri detect etmekdir</p><ul><li><strong>Kompüter Hesabı (DC):</strong> WIN-6IJRAMB8UGC$</li><li><strong>İstifadəçi Hesabı (</strong><strong>test5):</strong> test5</li></ul><p>burada goruruk ki , istifadeci adi ile komputer name arasinda ferq $ isaresindedir. ve bizde bu eventin bir user terefinden icra olundugunu bilmek ucun bu AQL sorgusunu yaziriq</p><p>offense-i gore bildik☻</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FLTPYsfYmxLM&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DLTPYsfYmxLM&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2FLTPYsfYmxLM%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b10bfd20d350147e50bd92b533d29852/href">https://medium.com/media/b10bfd20d350147e50bd92b533d29852/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=44006d5ee5ca" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kerberos User Enumeration Detected in Qradar]]></title>
            <link>https://medium.com/@ilkinallahverdiyev104/kerberos-user-enumeration-detected-in-qradar-b5f8de82801e?source=rss-ad9c731238d9------2</link>
            <guid isPermaLink="false">https://medium.com/p/b5f8de82801e</guid>
            <dc:creator><![CDATA[Ilkinallahverdiyev]]></dc:creator>
            <pubDate>Sun, 05 Oct 2025 01:37:45 GMT</pubDate>
            <atom:updated>2025-10-05T01:37:45.729Z</atom:updated>
            <content:encoded><![CDATA[<p>KERBRUTE TOOL-undan istifade ederek biz kerberos user enumeration hucumu edeceyik test meqsedli</p><h3>Senari</h3><p>burada biz PLAN olaraq</p><ol><li>windows serverde DC Active Directory yaradacayiq ve bir nece user yaradacayiq ki , bizim coxlu userlerimiz olsun ki biz hemin userleri pentest zamani istifade ede bilek.</li><li>Kali linux masini lazim olacaq ki , hucumu ede bilek ve burada kerbrute toolunu qurasdiracagiq</li><li>NAT konfiqurasiyasi lazimdir butun masinlar NAT olaraq internete cixis etmelidirki , danisa bilsinn bir birile ve en easasi Kali masininin DC-a ping ata bildiyinden emin olmaliyiq</li><li>Kali den Kerberute vasitesile hucum edeceyik</li><li>Windows serveri Qradar ile elaqelendireceyik ve onu oradan loglarini izleyeceyik .</li></ol><p>Bize bu hucumu simulasiya etmek ucun <strong>Windows Server 2016</strong> ve <strong>Kali linux</strong> masini lazimdir sonra ise windows serveri qradar ile agent kimi elaqelendirib hucumu loglar vasitesile detect ede bilerik .</p><ol><li>Windows serverde <strong>kerberosting.loca</strong>l adli domain yaratdim</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*EYPGu5pj5gW0xMpM4Cnisw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/627/1*QxU6pG9pRfnw__RSc8sjEw.png" /></figure><p>burada test1–test5 adli 5 user yaratdim ve her birinin passwordu FDxuw89451 (…451–…455) olaraq yaratdim</p><p>2. Kali linuxda kerbrute toolunu (githubdan) qurasdirdim ve username.txt pass.txt adli fayllar yaratdim bundan sonra /etc/hosts faylina dcnin iopsi ve yaratdigim domainin adini yazzdim</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ePtr9_MsUE-Kc_TSvK6T8Q.png" /></figure><p>burada gorduyumuz kimi daxilde yaratdigimiz userleri tapa bildik amma onu biz event viewerde gormedik ID 4768-dir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ib-8pJYyOOu-5P_v40GysA.png" /></figure><p>yuxaridaki sekidle etdiyimiz deyisikliyi gore bilerik policylerden biz kerberos loglarini aktivlesdirdikki event viewerde gore bilek.</p><p>artiq biz Kerberoasting User Enumeration hucumunu etdik</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F_9MmTes7-EQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D_9MmTes7-EQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F_9MmTes7-EQ%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d1f09cfdd70895281011b0a12ce528e8/href">https://medium.com/media/d1f09cfdd70895281011b0a12ce528e8/href</a></iframe><pre>./kerbrute userenum - dc 192.168.107.141 -d kerberos.local usernames.txt</pre><p>indi ise biz bunu qradarla inteqrasiya edib Offense kimi getirmeliyik bunun ucun PLAN</p><ol><li>Windows serveri Qradar ile elaqelendir</li><li>Security loglarini qradara yonlendir</li><li>Log Activityden 4768 ID sini filter et ve gor</li><li>rule yaz</li><li>Offense gor</li></ol><p>Planin icrasi</p><ol><li>windows serveri log source olaraq qradarda teyin etdik</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F8P9Rqy7X1-UFV6cYubgTg.png" /></figure><p>2. loglarin geldiyini failed login ile test etdik ve loglar qradara gelir</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-BuDJ9xFkvDbraoy3tTDRA.png" /></figure><p>3.indi ise kali linuxdan kerbrute ile windows servere user enumeration hucumu edeceyik ve ID sini 4768 i qradarda filter edeceyik</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*88UVN3pyMVagbRmgf8QLDg.png" /></figure><p>Burada biz artiq kerberosun loglarini qradarda gore bilirik amma bir problem var bize 0x18 error code lazimdir , user enumeration ucun amma bize gelen error code 0x6-dir. yeni ki biz eslinde duzgun hucum etsek de hele de mueyyen problemler var sistem de , Bunun sebebi Windows server ve Kali Linux masinimda 2de de vaxtlar sehvdir onlari duzeltmek lazimdir ,vaxt problemini duzeltdikden sonra yene problem var. onu axtarib duzeltmeye calisiriq, uzun arasdirmalar sonrasinda men 0x18 error code getier bilmesem de 0x6 error coduna uygun olaraq rule yazmaq qerarina geldim unutmayaqki meqsedimiz detect etmekdir .</p><p><strong>4) Rulenin mentiqi:</strong></p><p>mueyyen zaman araliginda mueyyen defe sorgu tekrarlanarsa onu offense kimi gormek isteyirik</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*u4MRquEyqckit4XrBCbTIw.png" /></figure><p>burada yaratdigimiz BB(building block) -da event id = 4768 ve error_code=0x6 olaraq sert qoymusuq ve bu cur rule ni yazdiq.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FpZh-Z6zKxJo%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DpZh-Z6zKxJo&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FpZh-Z6zKxJo%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/a3f0ec72e619131aa2ec5082b197fc14/href">https://medium.com/media/a3f0ec72e619131aa2ec5082b197fc14/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b5f8de82801e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TryHackMe Forensics(hard) Azərbaycanca -Volatility ilə necə işləmək olar. Cavablar və izah]]></title>
            <link>https://medium.com/@ilkinallahverdiyev104/tryhackme-forensics-hard-az%C9%99rbaycanca-volatility-il%C9%99-nec%C9%99-i%C5%9Fl%C9%99m%C9%99k-olar-cavablar-v%C9%99-izah-cc869af5b3d2?source=rss-ad9c731238d9------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc869af5b3d2</guid>
            <category><![CDATA[azərbaycan-dilində]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[forensics]]></category>
            <category><![CDATA[tryhackme]]></category>
            <category><![CDATA[tryhackme-writeup]]></category>
            <dc:creator><![CDATA[Ilkinallahverdiyev]]></dc:creator>
            <pubDate>Sat, 23 Aug 2025 08:06:44 GMT</pubDate>
            <atom:updated>2025-08-23T08:06:44.050Z</atom:updated>
            <content:encoded><![CDATA[<p>İlk olaraq bildirmək istərdim ki, aşağıdakı linkdən keçid edərək videoya baxasınız , çünki biz bu challange-ləri sadəcə bitirmək üçün yox, <strong>öyrənmək</strong> üçün işləyirik!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FF_DS6jgqimM%3Fstart%3D3%26feature%3Doembed%26start%3D3&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DF_DS6jgqimM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FF_DS6jgqimM%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/eed5efcf9681e688ee61b59b0c32a05e/href">https://medium.com/media/eed5efcf9681e688ee61b59b0c32a05e/href</a></iframe><p>Bu challnage adından da göründüyü kimi <strong><em>Forensic</em></strong> mövzusuna aiddir. Biz burada <strong><em>Volatility2</em></strong> alətindən istifadə edəcəyik.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GnA-eiBN_XemRbsWMBIYcw.png" /></figure><p>Challange <strong>3 hissədən</strong> ibarətdir.</p><blockquote><strong><em>Task 1- Volatility Forensics</em></strong></blockquote><blockquote><strong><em>Task 2</em></strong></blockquote><blockquote><strong><em>Task 3 — İOC SAGA</em></strong></blockquote><p>Bu challange-i işləmək üçün sizə verilmiş <strong>.zip</strong> faylını virtual maşınıza yükləyin. Bundan sonra .zip faylının içində olan <strong>victim.raw</strong> faylı ilə işləyəciyik.</p><p>Suallara keçək )</p><p><strong>Task1-Volatility Forensics</strong></p><blockquote>Sual 1:</blockquote><p><strong>Download the victim.zip</strong> — cavab tələb olunmur.</p><blockquote>Sual 2:</blockquote><p><strong>What is the Operating System of this Dump file? (OS name)</strong></p><pre>python2 vol.py -f victim.raw imageinfo</pre><p><strong>1. python2 vol.py </strong>— Volatility — işə salmaq üçün istifadə edilən əmrdir.</p><p><strong>2. -f</strong> — hansı faylı analiz edəcəyiksə onu təyin etmək üçün istifadə olunan option-dur.</p><p><strong>3. victim.raw </strong>— bizə verilən və analiz edilməyi tələb olunan fayldır. Burada <strong>.raw</strong> uzantısı onun yaddaş faylı “<strong>memory dump</strong>” olduğunu yəni, kiber-təhlükəsizlik və forensics işlərində <strong>.raw</strong>uzantılı fayl <strong>“raw image” (disk və ya RAM dump faylı)</strong> adlanır.</p><p><strong>4. imageinfo</strong> — Volatility vasitəsilə fayl analiz edərkən imageinfo bizə həmin fayl haqqında ilkin məlumatı verir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*MJkXl5-1R1ONO_EgcB1zhw.png" /></figure><h4>Cavab: Windows</h4><blockquote>Sual 3:</blockquote><p><strong>What is the PID of SearchIndexer?</strong></p><pre>python2 vol.py -f victim.raw --profile=Win7SP1x64 pslist | grep &quot;SearchIndexer&quot;</pre><p>Burada biz əvvəlki suada ilkin məlumat alarkən profile- i də görmüş oluruq və bu dəfəki sualda həmin profile-dən istifadə edirik.</p><p><strong>1. — profile=Win7SP1x64 </strong>— profili təyin edirik ki, daha dəqiq məlumat alaq</p><p><strong>2. pslist</strong>- bizə prosesləri list edir və oradan <em>grep</em> ilə “Searchİndexer” -in PİD -i tapa bilirik.</p><h4>Cavab: 2180</h4><blockquote>Sual 4:</blockquote><p><strong>What is the last directory accessed by the user?</strong></p><p><strong>(The last folder name as it is?)</strong></p><pre>python2 vol.py -f victim.raw --profile=Win7SP1x64 shellbags | awk &#39;{print $10,&quot;  &quot;,$11,&quot;  &quot;,$15}&#39; | grep -E &quot;^[0-9]{4}-[0-9]{2}-[0-9]{2}&quot; | sort </pre><ol><li><strong>shellbags</strong> — hansı qovluq açılıbsa, hansı pəncərədə baxılıbsa, hətta bəzən necə sıralanıbsa – bunların hamısı “shellbag” adlı strukturlarda yadda qalır.</li><li><strong>awk ‘{print $10,” “,$11,” “,$15}’</strong> — burada biz sadəcə biz shellbags əmrini işə saldıqda qaytarılan cavablarda bizə lazım olan sütunları ekrana çıxarmışıq ki, səliqəli şəkildə yalnız tarix və qovluğun adını görə bilək .</li><li><strong>grep -E “^[0–9]{4}-[0–9]{2}-[0–9]{2}”</strong> — Burada biz regex yazmışıq , hansı ki, “<strong>^</strong>”— işarədən istifadə etməyimizdə məqsəd odurki yanlız bizə tarixlə başlayan hissələri ekrana çıxarsın çünki sütunları awk ilə ekrana çıxaranda istəmədiyimiz məlumatlar da gorünür.</li><li><strong>sort</strong> — Bu əmr vasitəsilə də biz tarixləri zamana uyğun olaraq sıralayırıq.</li></ol><figure><img alt="ən sonuncu hissədə bizim qovlğumuzun adını görə bilərik" src="https://cdn-images-1.medium.com/max/923/1*d5FETh8aQbkBkb5hgcPNuw.png" /><figcaption>Ən sonuncu hissədə qovluğun adı görünür.</figcaption></figure><h4>Cavab: deleted-files</h4><p><strong>Task2</strong></p><blockquote>Sual 5:</blockquote><p><strong>There are many suspicious open ports; which one is it? (ANSWER format: protocol:port)</strong></p><pre>python2 vol.py -f victim.raw --profile=Win7SP1x64 netscan</pre><ol><li><strong>netscan</strong> — Bu komanda RAM-dakı <strong>TCP və UDP bağlantılarının</strong> strukturlarını (EPROCESS → TCP/UDP table-lar) analiz edir.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/953/1*36P4E9xwRgS9rT1mpP1k0w.png" /><figcaption>Burada ilk yazılan hissəyə baxsaq UDPv4 və 5005 portunu görə bilərik.<strong> Hint-də qeyd edildiyi kimi )</strong></figcaption></figure><h4>Cavab: UDP:5005</h4><blockquote>Sual 6:</blockquote><p><strong>Vads tag and execute protection are strong indicators of malicious processes; can you find which they are? (ANSWER format: Pid1;Pid2;Pid3)</strong></p><pre>python2 vol.py -f victim.raw --profile==Win7SP1x64 malfind | grep -i pid </pre><ol><li><strong>malfind </strong>— Bu komand <strong>RAM-da gizlənmiş və ya inject olunmuş şübhəli kod parçalarını tapmaq</strong> üçün istifadə olunur.Yəni əgər bir malware özünü gizlədibsə və başqa prosessin içində (məsələn explorer.exe-nin içində) işləyirsə, malfind onu RAM-dan çıxarıb göstərir.</li><li><strong>grep -i </strong>— bizə<strong> böyük</strong> və<strong> kiçik </strong>hərflərin 2 nində olduğu sətrləri göstər deməkdir.</li></ol><h4>Cavab: 1860,1820,2464</h4><p><strong>Task 3 -İOC SAGA</strong></p><p>Bundan sonrakı suallarda biz <strong>strings</strong>-dən isitfadə edəcəyik.</p><p><strong>strings </strong>— Hər hansı bir faylda <strong>oxuna bilən mətn parçalarını</strong> çıxarır.</p><blockquote>Sual 7:</blockquote><p><strong>&#39;www.go****.ru&#39; (write full url without any quotation marks)</strong></p><pre>strings victim.raw | grep &quot;www.go.....ru&quot;</pre><p>Burada və bundan sonraki suallarda hintlərə baxaraq cavablarımızı tapa bilərik və <strong>grep</strong> əmrində <strong>“*”</strong> işarəsinin yerinə <strong>“.”</strong> qoyaraq tapacayıq, çünki grep əmrində <strong>“.” </strong>bir simvolu əvəz edir.</p><h4>Cavab: www.goporn.ru</h4><blockquote>Sual 8:</blockquote><p><strong>‘www.i****.com&#39; (write full url without any quotation marks)</strong></p><pre>strings victim.raw | grep &quot;www.i.....com&quot;</pre><h4>Cavab: www.ikaka.com</h4><blockquote>Sual 9:</blockquote><p><strong>‘www.ic******.com&#39;</strong></p><pre>strings victim.raw | grep &quot;www.ic.......com&quot;</pre><h4>Cavab: www.icsalabs.com</h4><blockquote>Sual 10:</blockquote><p><strong>202.***.233.*** (Write full IP)</strong></p><pre>strings victim.raw | grep &quot;202.....233....&quot;</pre><h4>Cavab: 202.107.233.211</h4><blockquote>Sual 11:</blockquote><p><strong>***.200.**.164 (Write full IP)</strong></p><pre>strings victim.raw | grep &quot;....200....164&quot;</pre><h4>Cavab: 209.200.12.164</h4><blockquote>Sual 12:</blockquote><p><strong>209.190.***.***</strong></p><pre>strings victim.raw | grep &quot;209.190........&quot;</pre><h4>Cavab: 209.190.122.186</h4><blockquote>Sual 13:</blockquote><p><strong>What is the unique environmental variable of PID 2464?</strong></p><pre>python2 vol.py -f victim.raw --profile=Win7SP1x64 envars | grep 2464</pre><ol><li>envars — Bu komanda RAM dump içində hər bir prosess üçün hansı <strong>mühit dəyişənləri</strong> mövcuddur, onları çıxarır.<br> Məsələn:</li></ol><p>%PATH% → proqramların axtarıldığı yollar</p><p>%TEMP% → müvəqqəti faylların saxlandığı qovluq</p><p>%USERNAME% → istifadəçi adı</p><p>%COMPUTERNAME% → kompüterin adı</p><p>%SystemRoot% → Windows-un əsas qovluğu</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*B15UuoaF-PPpv64HPChUkQ.png" /><figcaption>Burada unikal olan yəni fərqli və tək olan dəyəri seçəcəyik.)</figcaption></figure><h4>Cavab: OANOCACHE</h4><p>Son olaraq ümidvaram məqaləm və videom sizlərə kömək olmuşdur. Dəstək olsanız sevinərəm ). Hər kəsə uğurlar.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc869af5b3d2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>