<?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 Mert Turan on Medium]]></title>
        <description><![CDATA[Stories by Mert Turan on Medium]]></description>
        <link>https://medium.com/@mertTrn?source=rss-ecea2df6d525------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*IKoNY-VqEQPbH5lg8wqu8w.jpeg</url>
            <title>Stories by Mert Turan on Medium</title>
            <link>https://medium.com/@mertTrn?source=rss-ecea2df6d525------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 21:45:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mertTrn/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[Web Uygulamalarında OWASP Top 10 Zafiyetleri]]></title>
            <link>https://medium.com/@mertTrn/web-uygulamalar%C4%B1nda-owasp-top-10-zafiyetleri-846e4810c595?source=rss-ecea2df6d525------2</link>
            <guid isPermaLink="false">https://medium.com/p/846e4810c595</guid>
            <dc:creator><![CDATA[Mert Turan]]></dc:creator>
            <pubDate>Tue, 08 Apr 2025 15:26:06 GMT</pubDate>
            <atom:updated>2025-04-08T15:26:06.722Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/683/1*fkQr5WpFkyZxlxTCpPGxjA.png" /></figure><p>Web uygulamaları hayatımızın vazgeçilmez bir parçası haline geldi. Bankacılıktan eğitime, e-ticaretten sosyal medyaya kadar hemen her işlemi web üzerinden yapıyoruz. Ancak bu kolaylık beraberinde birçok güvenlik riskini de getiriyor. İşte tam bu noktada OWASP (Open Web Application Security Project), web uygulamalarında en sık karşılaşılan ve en tehlikeli güvenlik açıklarını belirleyip geliştiricilere, güvenlik uzmanlarına ve sistem yöneticilerine rehberlik etmek için devreye giriyor.</p><p>OWASP’ın hazırladığı “Top 10” listesi, web uygulamalarında sık karşılaşılan 10 temel güvenlik zafiyetini kapsar. Bu makalede, bu zafiyetler herkesin anlayabileceği sade bir dille açıklanacak, örnek senaryolarla nasıl çalıştıkları gösterilecek ve bu tehditlerden nasıl korunabileceğiniz anlatılacaktır.</p><h3>Broken Access Control (Bozuk Erişim Kontrolü)</h3><p><strong>Bu ne demek?</strong> Sistemdeki kullanıcıların yalnızca kendilerine ait bilgilere erişmesi gerekir. Ancak bu kontrol düzgün yapılmazsa, kullanıcılar başkalarının bilgilerine de erişebilir.</p><p><strong>Basit bir örnek:</strong> Bir öğrenci portalında, URL şu şekilde:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/616/1*wX98AGSYNtR-oPLfyU70ug.png" /></figure><p>Kendi öğrenci numarasını 124 olarak değiştirirse başka bir öğrencinin bilgilerine ulaşabiliyorsa, bu bir “Broken Access Control zafiyetidir”.</p><p><strong>Nasıl önlenir?</strong></p><ul><li>Her kullanıcı için hangi kaynaklara erişebileceği sunucu tarafında kontrol edilmelidir.</li><li>“Rol tabanlı erişim kontrolü (RBAC)” kullanılmalıdır.</li><li>Yetkisiz denemeler loglanmalı ve engellenmelidir.</li></ul><h3>2. Cryptographic Failures (Şifreleme Hataları)</h3><p><strong>Bu ne demek?</strong> Kişisel bilgiler (şifreler, kredi kartı bilgileri, e-posta adresleri) düzgün şekilde şifrelenmezse, saldırganlar bu bilgileri kolayca ele geçirebilir.</p><p><strong>Basit bir örnek:</strong> Bir site, kullanıcı şifrelerini şifrelemeden veri tabanında saklıyorsa, veri sızdığında tüm şifreler açık olarak görülebilir.</p><p><strong>Nasıl önlenir?</strong></p><ul><li>Güçlü şifreleme algoritmaları kullanılmalı (örneğin bcrypt, Argon2).</li><li>Veriler taşınırken HTTPS kullanılmalı.</li><li>Şifreleme anahtarları güvenli ortamlarda saklanmalı.</li></ul><h3>3. Injection (Enjeksiyon Saldırıları)</h3><p><strong>Bu ne demek?</strong> Kullanıcılardan alınan veriler kontrol edilmeden sisteme gönderilirse, saldırganlar bu boşluğu kullanarak sistem komutları çalıştırabilir.</p><p><strong>Basit bir örnek:</strong> Bir giriş formuna kullanıcı adını şu şekilde yazarsak:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*AYmFgLGCg2iSuf47nTPUIw.png" /></figure><p>bu, veri tabanındaki sorguyu bozarak şifre kontrolünü atlayabilir.</p><p><strong>Nasıl önlenir?</strong></p><ul><li>Kullanıcıdan gelen veriler asla doğrudan sisteme gönderilmemeli.</li><li>“Hazırlanmış sorgular (prepared statements)” kullanılmalı.</li><li>Girdi doğrulama yapılmalı.</li></ul><h3>4. Insecure Design (Güvensiz Tasarım)</h3><p><strong>Bu ne demek?</strong> Uygulamanın güvenliği, en baştan itibaren düşünülmemişse, daha sonra yapılan yama ve düzeltmeler yetersiz kalabilir.</p><p><strong>Basit bir örnek:</strong> Şifre sıfırlama bağlantısının süresi sınırsızsa, bağlantı kötü niyetli kişilerin eline geçtiğinde hesabınız tehlikeye girebilir.</p><p><strong>Nasıl önlenir?</strong></p><ul><li>Yazılım tasarımı yapılırken güvenlik de öncelik olmalı.</li><li>Tehdit modelleme yöntemleri kullanılmalı.</li><li>Güvenlik uzmanları projeye baştan dahil olmalı.</li></ul><h3>5. Security Misconfiguration (Hatalı Güvenlik Ayarları)</h3><p><strong>Bu ne demek?</strong> Varsayılan şifreler, açık bırakılmış ayarlar, bilgi sızdıran hata mesajları sistemin kolayca ele geçirilmesine neden olabilir.</p><p><strong>Basit bir örnek:</strong> Sunucuda PHP ayarları yanlış yapılandırılmışsa, saldırganlar hata mesajlarından dosya yollarını veya veri tabanı bilgilerini öğrenebilir.</p><p><strong>Nasıl önlenir?</strong></p><ul><li>Gereksiz servis ve özellikler kapatılmalı.</li><li>Hata mesajları üretim ortamında gösterilmemeli.</li><li>Ayarlar düzenli olarak gözden geçirilmeli.</li></ul><h3>6. Vulnerable and Outdated Components (Eski ve Güvensiz Yazılım Parçaları)</h3><p><strong>Bu ne demek?</strong> Kullandığınız yazılım kütüphaneleri veya modüller eskiyse, bunlarda bilinen açıklar olabilir.</p><p><strong>Basit bir örnek:</strong> Kullandığınız jQuery sürümünde bir güvenlik açığı varsa, bu açık sizin uygulamanızda da var demektir.</p><p><strong>Nasıl önlenir?</strong></p><ul><li>Yazılım bileşenleri güncel tutulmalı.</li><li>Kütüphaneler yüklenmeden önce güvenlik taramasından geçirilmeli.</li><li>Bilinen zafiyet veritabanları (CVE) takip edilmeli.</li></ul><h3>7. Identification and Authentication Failures (Kimlik Doğrulama Hataları)</h3><p><strong>Bu ne demek?</strong> Sisteme giriş (login) işlemi güvenli değilse, saldırganlar başka kullanıcıların hesaplarına erişebilir.</p><p><strong>Basit bir örnek:</strong> Bir site, çok sayıda yanlış şifre girişine izin veriyorsa, saldırgan milyonlarca deneme yaparak doğru şifreyi bulabilir.</p><p><strong>Nasıl önlenir?</strong></p><ul><li>Girişlerde deneme limiti (rate limiting) konmalı.</li><li>2 faktörlü kimlik doğrulama (2FA) kullanılmalı.</li><li>Şifreler güçlü politikalarla belirlenmeli.</li></ul><h3>8. Software and Data Integrity Failures (Yazılım ve Veri Bütünlüğü Hataları)</h3><p><strong>Bu ne demek?</strong> Sisteme yüklenen dosyalar, yapılan güncellemeler ya da veri değişikliklerinin kaynağı doğrulanmıyorsa, saldırganlar kötü amaçlı kod yerleştirebilir.</p><p><strong>Basit bir örnek:</strong> Bir web uygulaması CDN üzerinden dışarıdan JS dosyası yüklüyor ama bu dosyanın güvenilirliğini kontrol etmiyorsa, saldırgan bu dosyayı değiştirip zararlı kod çalıştırabilir.</p><p><strong>Nasıl önlenir?</strong></p><ul><li>Yazılım bileşenleri dijital olarak imzalanmalı.</li><li>CI/CD süreçlerinde doğrulama adımları olmalı.</li><li>Subresource Integrity (SRI) kullanılmalı.</li></ul><h3>9. Security Logging and Monitoring Failures (Kayıt Tutma ve İzleme Eksiklikleri)</h3><p><strong>Bu ne demek?</strong> Sistemdeki şüpheli hareketler kayıt altına alınmaz veya izlenmezse, saldırılar fark edilmeden gerçekleşebilir.</p><p><strong>Basit bir örnek:</strong> Yönetici paneline yapılan başarısız giriş denemeleri kayıt altına alınmıyorsa, saldırgan deneme-yanılma ile giriş yapabilir.</p><p><strong>Nasıl önlenir?</strong></p><ul><li>Tüm önemli olaylar loglanmalı.</li><li>Anormal durumlar için alarmlar kurulmalı.</li><li>Loglar güvenli ortamlarda saklanmalı.</li></ul><h3>10. Server-Side Request Forgery (SSRF — Sunucu Taraflı İstek Sahteciliği)</h3><p><strong>Bu ne demek?</strong> Saldırgan, sistemin iç ağdaki kaynaklara erişmesini sağlayarak hassas bilgilere ulaşabilir.</p><p><strong>Basit bir örnek:</strong> Bir uygulama, kullanıcının verdiği URL’ye istek gönderiyorsa ve bu URL doğrulanmıyorsa, saldırgan şu adresi verebilir:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/504/1*25lB1y-cYSRfhQdS-1cLvw.png" /></figure><p>Bu, yalnızca iç ağda erişilebilen bir kaynağa sunucu üzerinden erişim sağlar.</p><p><strong>Nasıl önlenir?</strong></p><ul><li>Harici URL’ler sıkı şekilde filtrelenmeli.</li><li>Dahili IP’lere erişim engellenmeli.</li><li>İstekler bir proxy üzerinden kontrol edilerek gönderilmeli.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=846e4810c595" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Log4Shell (Log4j Zafiyeti) Nedir?]]></title>
            <link>https://medium.com/@mertTrn/log4shell-log4j-zafiyeti-nedir-a8ea0b6caff6?source=rss-ecea2df6d525------2</link>
            <guid isPermaLink="false">https://medium.com/p/a8ea0b6caff6</guid>
            <dc:creator><![CDATA[Mert Turan]]></dc:creator>
            <pubDate>Mon, 17 Mar 2025 13:00:18 GMT</pubDate>
            <atom:updated>2025-03-17T13:00:18.763Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/906/1*KJwVNHoW4VhaAs3ELqrctQ.png" /></figure><p>Log4j, Java uygulamalarında loglama işlemleri için kullanılan popüler bir kütüphanedir. Apache tarafından geliştirilen bu kütüphane, sistem olaylarını kaydetmek, hata ayıklamak ve uygulama performansını izlemek için kullanılır.</p><p>Ancak, Log4Shell (CVE-2021–44228) adlı kritik bir güvenlik açığı, Log4j’nin bazı sürümlerinde keşfedilmiştir. Bu açık, saldırganların özel hazırlanmış bir girişle uzaktan kod çalıştırmasına (RCE) zafiyetine olanak tanır. Özellikle JNDI lookup mekanizmasını kötüye kullanarak zararlı kodları sisteme enjekte edebilirler.</p><p><strong>JNDI Lookup Nedir?</strong></p><p>JNDI (Java Naming and Directory Interface), Java uygulamalarında uzak ve yerel dizin servislerine erişim sağlamak için kullanılan bir API’dir. LDAP, DNS, RMI gibi farklı dizin servisleri üzerinden veri almak için kullanılır</p><p><strong>Nasıl Çalışır?</strong></p><p>Birçok uygulama, <strong>kullanıcıdan gelen verileri Log4j ile kaydeder</strong>. Eğer saldırgan aşağıdaki gibi bir payload gönderirse:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*Sd9zEKIxzwKBbz-vRPgJ4g.png" /></figure><p>Log4j bunu <strong>JNDI lookup işlemi olarak çalıştırır</strong> ve saldırganın belirttiği ldap://attacker.com:1389/Exploit adresine bağlanır.</p><p><strong>Örnek Saldırı Senaryosu</strong></p><p>Bir Java web uygulaması, aşağıdaki gibi Log4j ile kullanıcı girişlerini logluyor olsun:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*aElsIQF5NG76WUb__l8o8w.png" /></figure><p>Eğer bu uygulama saldırganın yukarıdaki JNDI payload’unu loglarsa, Log4j otomatik olarak uzak LDAP sunucusuna bağlanıp saldırganın zararlı kodunu çalıştıracaktır!</p><p><strong>Log4Shell Saldırısının Gerçekleştirilmesi</strong></p><p>Bir hacker şu adımları izleyerek saldırıyı gerçekleştirebilir:</p><p>Kötü amaçlı bir LDAP sunucusu başlatır:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*LjcTo0xPNKNu8GqCx5oXzw.png" /></figure><p>Kurbandaki Java uygulamasına aşağıdaki HTTP isteğini gönderir:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*5G26mSjPYLWvZzXUVKuZPw.png" /></figure><p>Log4j, “User-Agent” başlığını logladığı için JNDI isteğini çalıştırır ve saldırganın sunucusuna bağlanır.</p><p>Saldırganın zararlı kodu hedef sistemde çalıştırılır!</p><p><strong>Log4Shell’den Korunma Yöntemleri</strong></p><p><strong>Log4j Güncellemesi Yapın:</strong></p><ul><li>Log4j’yi 2.16.0 veya daha yeni bir sürüme güncelleyin.</li><li>Log4j 2.15.0 sürümü JNDI’yi devre dışı bırakmıştır ancak yine de saldırılara açıktır.</li></ul><p><strong>JNDI Kullanımını Engelleyin:</strong></p><ul><li>JNDI sorgularını sınırlayın. log4j2.formatMsgNoLookups=true ayarını etkinleştirin.</li></ul><p><strong>Gelen Verileri Doğrulayın:</strong></p><ul><li>Kullanıcıdan gelen tüm girdileri sanitize edin ve ${jndi: gibi şüpheli ifadeleri filtreleyin.</li></ul><p><strong>Web Güvenlik Duvarı (WAF) Kullanın:</strong></p><ul><li>Web sunucunuzda JNDI saldırılarını tespit eden güvenlik önlemleri alın.</li></ul><p><strong>Kötü Amaçlı Dizin Sunucularına Erişimi Engelleyin:</strong></p><ul><li>Sunucunuzun dış dünyaya açık LDAP, RMI veya DNS isteklerini engelleyin.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a8ea0b6caff6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PHP Type Juggling Zafiyeti ve Güvenlik Riskleri]]></title>
            <link>https://medium.com/@mertTrn/php-type-juggling-zafiyeti-ve-g%C3%BCvenlik-riskleri-b440e871fd75?source=rss-ecea2df6d525------2</link>
            <guid isPermaLink="false">https://medium.com/p/b440e871fd75</guid>
            <dc:creator><![CDATA[Mert Turan]]></dc:creator>
            <pubDate>Wed, 05 Mar 2025 09:09:21 GMT</pubDate>
            <atom:updated>2025-03-05T09:09:21.615Z</atom:updated>
            <content:encoded><![CDATA[<h3>PHP Nedir ve Nerelerde Kullanılır?</h3><p>PHP (Hypertext Preprocessor), özellikle web geliştirme alanında yaygın olarak kullanılan, sunucu taraflı, açık kaynaklı bir programlama dilidir. Dinamik ve esnek yapısı sayesinde birçok web uygulamasında tercih edilmektedir. PHP’nin yaygın kullanım alanları şunlardır:</p><ul><li><strong>Web Siteleri ve Uygulamaları:</strong> WordPress, Joomla gibi içerik yönetim sistemleri (CMS) PHP ile geliştirilmiştir.</li><li><strong>E-Ticaret Platformları:</strong> WooCommerce, Magento gibi popüler e-ticaret sistemleri PHP kullanır.</li><li><strong>API Geliştirme:</strong> RESTful ve SOAP tabanlı API’ler PHP ile oluşturulabilir.</li><li><strong>Framework Kullanımı:</strong> Laravel, CodeIgniter gibi PHP framework’leri, ölçeklenebilir ve güvenli uygulamalar geliştirmeye olanak tanır.</li></ul><p>Ancak PHP’nin esnekliği, bazı güvenlik zafiyetlerine yol açabilir. Bunlardan biri de <strong>type juggling</strong> olarak bilinen, değişken türlerinin otomatik dönüştürülmesi sonucu oluşan güvenlik açığıdır.</p><h3>PHP Type Juggling Zafiyeti</h3><p>PHP, <strong>zayıf tür denetimine sahip bir dil</strong> olduğu için, farklı veri tipleri arasında otomatik dönüşümler yapabilir. Bu durum bazen beklenmeyen sonuçlar doğurabilir ve güvenlik açıklarına sebep olabilir. <strong>Type juggling</strong>, PHP’nin bir değişkenin türünü programcı müdahale etmeden değiştirmesi anlamına gelir.</p><h3>== ve === Operatörleri Arasındaki Fark</h3><p>PHP’de iki farklı eşitlik karşılaştırma operatörü bulunmaktadır:</p><ul><li><strong>== (Gevşek Karşılaştırma):</strong> Değişkenlerin değerini karşılaştırırken, gerekirse tür dönüşümü yapar.</li><li><strong>=== (Sıkı Karşılaştırma):</strong> Hem değerleri hem de türleri karşılaştırır.</li></ul><p>Örnek:</p><p>var_dump(0 == “0e12345”); // true döner</p><p>var_dump(0 === “0e12345”); // false döner</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Ws0rsrLixZRGDvSL" /></figure><p>İlk durumda PHP, string’i sayı olarak yorumladığı için iki değer eşit kabul edilir. Ancak ikinci durumda, türler farklı olduğu için false döner.</p><h3>Type Juggling Zafiyeti ile Bypass Örneği</h3><p>Özellikle kimlik doğrulama veya parola doğrulama gibi kritik alanlarda bu zafiyet büyük bir risk oluşturur.</p><p>Örnek olarak, bir web uygulamasında kullanıcı girişinin şu şekilde kontrol edildiğini düşünelim:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uIc5w7bPOhmISkgC" /></figure><p>Bu durumda, kullanıcı giriş yaparken “0” girdiğinde, PHP bunu sayısal olarak değerlendirip karşılaştırma yapar. Sonuç olarak giriş başarılı olur, çünkü “0e…” ifadesi PHP tarafından “0” olarak algılanır.</p><h3>Zafiyetten Korunma Yöntemleri</h3><p>Bu tür güvenlik açıklarını önlemek için aşağıdaki yöntemler kullanılmalıdır:</p><ol><li><strong>Sıkı Karşılaştırma Kullanımı:</strong></li></ol><ul><li>=== operatörü kullanarak tür kontrolü yapılmalıdır.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xu70Jnqfhttnvtvn" /></figure><ol><li><strong>Doğru Hashleme Yöntemleri Kullanımı:</strong></li></ol><ul><li>Parola saklama ve doğrulama işlemlerinde password_hash() ve password_verify() fonksiyonları kullanılmalıdır.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6fNjersGEB72CV68" /></figure><ol><li><strong>Tür Dönüşümlerine Dikkat Edilmesi:</strong></li></ol><ul><li>Kullanıcı girdileri belirli bir türe zorlanmalıdır.</li></ul><p>$user_id = (int) $_GET[‘id’]; // String yerine doğrudan tam sayı formatına dönüştürülerek kullanılır.</p><h3>Sonuç</h3><p>PHP’nin esnekliği, bazen güvenlik riskleri doğurabilir. Type juggling zafiyeti, özellikle kimlik doğrulama ve yetkilendirme mekanizmalarında büyük riskler oluşturur. Güvenli kod yazmak için <strong>sıkı karşılaştırma kullanımı, güvenilir hashleme algoritmaları ve tür dönüşümlerine dikkat etmek</strong> gerekmektedir. Bu önlemler alındığında, PHP projeleri daha güvenli hale getirilebilir.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b440e871fd75" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hızlı Kararlar, Büyük Fikirler: Global Game Jam’de Etkili Takım Çalışması]]></title>
            <link>https://medium.com/divizyon/h%C4%B1zl%C4%B1-kararlar-b%C3%BCy%C3%BCk-fikirler-global-game-jamde-etkili-tak%C4%B1m-%C3%A7al%C4%B1%C5%9Fmas%C4%B1-8ab21cc88577?source=rss-ecea2df6d525------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ab21cc88577</guid>
            <category><![CDATA[birlikteneleryapabiliriz]]></category>
            <category><![CDATA[ggj25]]></category>
            <category><![CDATA[oyun-geliştirme]]></category>
            <category><![CDATA[teamwork]]></category>
            <dc:creator><![CDATA[Mert Turan]]></dc:creator>
            <pubDate>Thu, 23 Jan 2025 18:03:19 GMT</pubDate>
            <atom:updated>2025-02-06T11:04:14.351Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tW7RjfWPx35q_sIO-DWLcw.png" /></figure><p>Global Game Jam (GGJ), her yıl dünya genelinde düzenlenen ve oyun geliştirme tutkusunu paylaşan bireylerin bir araya geldiği, 48 saatlik yoğun bir etkinliktir. Bu etkinlik, katılımcılara hem bireysel hem de ekip olarak çalışma fırsatı sunar. Takım çalışması, GGJ’nin başarısında kritik bir rol oynar. Bu yazıda, etkinliğe katılanların nasıl etkili bir ekip dinamiği oluşturabileceğini, görev paylaşımını nasıl yapabileceğini, kriz yönetimini nasıl gerçekleştirebileceğini ve hızlı karar alma becerilerini nasıl geliştirebileceğini ele alacağız.</p><h4><strong>Bireysel Katılımcılar için Fırsatlar</strong></h4><p>Global Game Jam, bireysel katılımcılar için mükemmel bir networking fırsatı sunar. Etkinlik öncesinde veya sırasında, katılımcılar diğer oyun geliştiricileriyle tanışabilir, fikir alışverişinde bulunabilir ve potansiyel ekip arkadaşlarıyla bağlantı kurabilirler. Bu süreç, katılımcıların kendi becerilerini tanıtmaları ve hangi alanlarda katkıda bulunabileceklerini belirlemeleri açısından önemlidir.</p><p>Bireysel katılımcılar, etkinlik sırasında kendilerine uygun bir ekip bulduklarında, ekip dinamiklerini yönetme konusunda daha fazla sorumluluk alabilirler. Bu, hem kişisel gelişim hem de ekip başarısı için kritik bir adımdır. Ayrıca, bireysel katılımcılar, farklı disiplinlerden gelen insanlarla çalışarak, yeni bakış açıları kazanma ve farklı yetenekleri öğrenme fırsatı bulurlar<strong>.</strong></p><h4><strong>Ekip Dinamiklerini Yönetmek</strong></h4><p>Ekip olarak katılanlar için, etkinliğin başlangıcında ekip dinamiklerini belirlemek büyük önem taşır. İlk adım, ekip üyelerinin güçlü ve zayıf yönlerini anlamaktır. Her bireyin hangi alanda daha yetkin olduğunu belirlemek, görev paylaşımını kolaylaştırır. Örneğin, bir ekip üyesi programlama konusunda yetkinken, diğeri grafik tasarımda daha başarılı olabilir. Bu tür bir görev dağılımı, ekip içindeki verimliliği artırır<strong>.</strong></p><p>Ekip üyeleri arasında açık bir iletişim sağlamak da kritik bir unsurdur. Herkesin fikirlerini rahatça ifade edebileceği bir ortam yaratmak, yaratıcı düşünmeyi teşvik eder. Ayrıca, ekip içindeki sorunların hızlı bir şekilde çözülmesine yardımcı olur. Ekip toplantıları düzenlemek, ilerlemeyi değerlendirmek ve sorunları tartışmak için etkili bir yöntemdir. Bu toplantılarda, ekip üyeleri projeye dair düşüncelerini paylaşabilir ve yeni fikirler geliştirebilirler.</p><h4><strong>Kriz Yönetimi</strong></h4><p>48 saatlik bir süre zarfında, beklenmedik durumlarla karşılaşmak kaçınılmazdır. Kriz anlarında ekiplerin nasıl tepki vereceği, projenin başarısını doğrudan etkiler. Kriz yönetimi, ekip üyelerinin stres altında nasıl çalıştığını ve sorunları nasıl çözdüğünü belirler.</p><p>Ekipler, kriz anlarında soğukkanlı kalmalı ve durumu analiz etmelidir. Hızlı bir şekilde çözüm önerileri geliştirmek ve bu önerileri ekip içinde tartışmak, krizin üstesinden gelmek için etkili bir yöntemdir. Örneğin, bir teknik sorunla karşılaşıldığında, ekip üyeleri sorunun kaynağını belirlemek için birlikte çalışmalı ve alternatif çözümler üzerinde beyin fırtınası yapmalıdır. Ayrıca, ekip üyelerinin birbirlerine destek olması, moral ve motivasyonu artırır. Kriz anlarında, ekip üyelerinin birbirlerine olan güveni, sorunların daha hızlı çözülmesine yardımcı olur.</p><h4><strong>Hızlı Karar Alma</strong></h4><p>Global Game Jam süresince zaman kısıtlıdır ve bu nedenle hızlı karar alma becerisi büyük önem taşır. Ekipler, fikirlerin hızla değerlendirilmesi ve uygulanması gereken bir ortamda çalışır. Bu noktada, ekip liderinin rolü büyüktür. Lider, ekip üyelerinin fikirlerini dinlemeli, en uygun olanı seçmeli ve hızlı bir şekilde uygulamaya geçmelidir.</p><p>Hızlı karar alma sürecinde, ekip üyelerinin güven duyması ve birbirlerine destek olması da önemlidir. Ekip içinde sağlanan güven ortamı, karar alma sürecini kolaylaştırır ve ekip üyelerinin daha cesur adımlar atmasına olanak tanır. Ayrıca, ekip üyeleri arasında sağlıklı bir tartışma ortamı oluşturmak, farklı bakış açılarını değerlendirmek ve en iyi çözümü bulmak için kritik bir adımdır.</p><h4>Divizyon GGJ’de Oyun Geliştirme Tutkunu Ortaya Koy!</h4><p>Global Game Jam, takım çalışmasının önemini vurgulayan bir etkinliktir. Bireysel katılımcılar, ekip kurma ve network oluşturma fırsatını değerlendirirken, ekip olarak katılanlar etkili bir ekip dinamiği yönetimi, görev paylaşımı, kriz yönetimi ve hızlı karar alma becerilerini geliştirme şansı bulurlar. Bu deneyim, katılımcılara sadece oyun geliştirme becerileri kazandırmakla kalmaz, aynı zamanda iş birliği ve iletişim becerilerini de güçlendirir. GGJ, oyun geliştirme tutkusunu paylaşan herkes için unutulmaz bir deneyim sunar.</p><p><em>Sende bu deneyimi en etkili şekilde yaşamak istiyorum diyorsan Divizyon’da GGJ seni bekliyor! </em><a href="http://www.divizyon.org/"><em>Divizyon hakkında daha fazla detaya ulaş ve Açık İnovasyon Ağı’na katılarak tüm etkinliklerinden haberdar ol!</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ab21cc88577" width="1" height="1" alt=""><hr><p><a href="https://medium.com/divizyon/h%C4%B1zl%C4%B1-kararlar-b%C3%BCy%C3%BCk-fikirler-global-game-jamde-etkili-tak%C4%B1m-%C3%A7al%C4%B1%C5%9Fmas%C4%B1-8ab21cc88577">Hızlı Kararlar, Büyük Fikirler: Global Game Jam’de Etkili Takım Çalışması</a> was originally published in <a href="https://medium.com/divizyon">Divizyon</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Güçlü Bir Güvenlik Duruşu İçin Koruma Stratejileri]]></title>
            <link>https://medium.com/@mertTrn/g%C3%BC%C3%A7l%C3%BC-bir-g%C3%BCvenlik-duru%C5%9Fu-i%CC%87%C3%A7in-koruma-stratejileri-c35e3e2ada6e?source=rss-ecea2df6d525------2</link>
            <guid isPermaLink="false">https://medium.com/p/c35e3e2ada6e</guid>
            <dc:creator><![CDATA[Mert Turan]]></dc:creator>
            <pubDate>Sun, 20 Oct 2024 07:44:40 GMT</pubDate>
            <atom:updated>2024-10-20T07:46:22.052Z</atom:updated>
            <content:encoded><![CDATA[<h4>1. DMARC (Domain-based Message Authentication, Reporting &amp; Conformance):</h4><ul><li><strong>DMARC</strong>, kimlik sahtekarlığına (phishing) karşı koruma sağlayan bir e-posta güvenlik protokolüdür ve mevcut <strong>SPF (Sender Policy Framework)</strong> ve <strong>DKIM (DomainKeys Identified Mail)</strong> protokollerinin üzerine inşa edilmiştir. DMARC’ın amacı, sizin adınıza sahte e-postalar gönderen saldırganları engellemektir. Örneğin, bir saldırgan sizin şirketinizden geliyormuş gibi görünen bir e-posta gönderirse, DMARC bu e-postayı alıcıya ulaşmadan reddeder.</li><li><strong>Testlerin Önemi:</strong> DMARC’ı etkinleştirmek oldukça kolay ve ucuzdur, ancak test yapılmadan kullanıldığında, meşru e-postaların yanlışlıkla reddedilmesi gibi ciddi sonuçlarla karşılaşılabilir.</li><li><strong>Gelişmiş Filtreleme:</strong> Bazı e-posta sistemleri, DMARC kontrolü yaparak e-postanın geçtiğini veya başarısız olduğunu belirten bir başlık ekler. Bu başlıklar üzerinden ek filtrelemeler yaparak DMARC başarısız olan e-postalara karşı daha güçlü önlemler alabilirsiniz. Ancak bu yöntem de titiz testler gerektirir çünkü “başkası adına gönderilen” meşru e-postaların yanlışlıkla reddedilmesi riski vardır.</li></ul><h3>2. Endpoint Hardening ve EDR (Endpoint Detection and Response):</h3><h3>* LLMNR/NetBIOS’u Devre Dışı Bırakma:</h3><ul><li>LLMNR (Link-Local Multicast Name Resolution) ve NetBIOS, ağ üzerindeki cihazların ad çözümlemesi için kullanılan eski protokollerdir. Ancak, saldırganlar bu protokolleri kullanarak ağda istenmeyen bilgi toplama (reconnaissance) ve kimlik bilgilerini çalma saldırıları yapabilir. Bu nedenle bu protokolleri devre dışı bırakmak önemlidir.</li></ul><h3>* LAPS Kullanma ve Yönetici Yetkilerini Kaldırma:</h3><ul><li>LAPS (Local Administrator Password Solution), Windows sistemlerinde yerel yönetici hesaplarının şifrelerini güvenli bir şekilde yönetmek için Microsoft tarafından sunulan bir çözümdür. LAPS kullanarak, her cihaz için farklı bir yerel yönetici şifresi oluşturulur ve merkezi bir şekilde yönetilir. Ayrıca, düzenli kullanıcıların yönetici ayrıcalıklarını kaldırarak, onların sistemde zararlı değişiklikler yapmasını engellemek de önemlidir.</li></ul><h3>* PowerShell’i “ConstrainedLanguage” Moduna Alma:</h3><ul><li>PowerShell, siber saldırganların sistemde yetkilerini artırmak ve komut çalıştırmak için sıklıkla kullandığı güçlü bir araçtır. PowerShell’in “ConstrainedLanguage” moduna alınması, bu komut satırını kısıtlayarak zararlı komutların çalışmasını zorlaştırır.</li></ul><h3>* Microsoft Defender’da Attack Surface Reduction (ASR) Kurallarını Etkinleştirme:</h3><ul><li>ASR (Attack Surface Reduction), Microsoft Defender’da bulunan bir dizi kuraldır ve bu kurallar sayesinde kötü niyetli yazılımlar, istismarlar ve zararlı aktiviteler engellenir. ASR kurallarının etkinleştirilmesi, saldırı yüzeyini önemli ölçüde küçültür.</li></ul><h3>* Uygulama Beyaz Listeleme (Whitelisting):</h3><ul><li>Uygulama beyaz listeleme, yalnızca izin verilen yazılımların çalışmasına izin veren bir güvenlik önlemidir. Bu, kötü amaçlı yazılımların sistemde çalışmasını engeller. Tam bir beyaz listeleme genelde zor olsa da, en azından kullanıcı tarafından yazılabilir klasörlerde (Downloads, Desktop, AppData) çalışmayı engellemek önemlidir, çünkü bu klasörler zararlı yazılımlar için ilk hedef alanlardır. Ayrıca .hta, .vbs, .cmd, .bat, .js gibi komut dosyalarının da çalışmasını engellemek gereklidir.</li><li>LOLBins (Living Off The Land Binaries): Bu, saldırganların meşru sistem dosyalarını (örneğin, PowerShell veya Certutil) kötüye kullanarak saldırı yapması anlamına gelir. Beyaz listeleme yapılırken bu dosyaların göz ardı edilmemesi çok önemlidir.</li></ul><h3>* Host Tabanlı Güvenlik Duvarlarını Kullanın:</h3><ul><li>Host tabanlı güvenlik duvarları, her cihazın kendi üzerindeki trafiği kontrol eden bir güvenlik çözümüdür. Minimum olarak, bilgisayarlar arası (workstation-to-workstation) iletişimi engellemek ve LOLBin’ler üzerinden yapılan dışa dönük (outbound) trafiği durdurmak gereklidir. Bu, ağın içinde yatay yayılmayı önlemek için çok etkili bir çözümdür.</li></ul><h3>* EDR (Endpoint Detection and Response) Ürünü Kullanın:</h3><ul><li>EDR, uç noktalardaki tehditleri tespit etmek ve yanıt vermek için kullanılan bir çözümdür. AMSI (Antimalware Scan Interface), özellikle obfuscation (kod karartma) kullanılarak gizlenen zararlı betikleri analiz eden bir yapıdır. Bu yüzden, AMSI ile entegre çalışan bir EDR ürünü seçmek, zararlı yazılım tespitini ciddi oranda güçlendirir.</li></ul><h3>3. Ağ Koruması (Network Protection):</h3><ul><li><strong>Ağ segmentasyonu</strong>, bir siber saldırının yayılmasını önlemenin güçlü bir yoludur. Kritik sistemler izole edilmelidir ve sadece gerekli bağlantılara izin verilmelidir. <strong>DMZ (Demilitarized Zone)</strong> dışında, iç ağ kaynakları doğrudan internete bağlanmamalıdır.</li><li><strong>IDS/IPS Sistemleri:</strong> Bu sistemler, özellikle SSL/TLS trafiğini inceleyebildiklerinde, ağdaki kötü niyetli aktiviteleri algılamada çok etkilidir. Geleneksel IP adresi tabanlı tespit yöntemleri etkisiz olabilir.</li><li><strong>Ağ Erişim Kontrolü:</strong> Sadece organizasyon tarafından onaylanmış cihazların ağa bağlanmasını sağlamak önemlidir. <strong>802.1x</strong> gibi çözümler veya bulut tabanlı şirketlerde <strong>Azure AD ve Koşullu Erişim (Conditional Access)</strong> politikaları, bu korumayı sağlayabilir.</li></ul><h3>4. Yetkili Kimlik Yönetimi / MFA / Şifreler (Privilege Identity Management / MFA / Passwords):</h3><ul><li><strong>Yetkili Kullanıcı Kimlik Bilgilerini Çalmak:</strong> Günümüzde en yaygın yetki artırma yöntemlerinden biridir. Admin kullanıcılar genellikle zayıf, ancak karmaşık görünen (örneğin, “Password1!”) şifreler kullanabilir. Bunun yerine, <strong>şifre ifadeleri (pass phrases)</strong> kullanılmalıdır. Örneğin, “i LIK3 my coffeE warm” uzun, karmaşık ve hatırlaması kolaydır.</li><li><strong>MFA (Çok Faktörlü Kimlik Doğrulama):</strong> Tüm yönetici erişimlerinde çok faktörlü kimlik doğrulama zorunlu hale getirilmelidir.</li></ul><h3>5. Zafiyet Taraması (Vulnerability Scanning):</h3><ul><li>Sürekli olarak ağınızdaki zafiyetleri tarayın ve <strong>yüksek</strong> ve <strong>kritik</strong> seviyedeki zafiyetleri hızlıca düzeltin. Eğer yamalar uygulanamıyorsa, savunmasız sistemleri segmentlere ayırın.</li></ul><h3>6. Kullanıcı Farkındalık Eğitimi (User Awareness Training):</h3><ul><li>Kullanıcıları şüpheli davranışları tanımak ve raporlamak konusunda eğitmek büyük bir kazanç sağlar. Bu eğitimler, başarılı saldırı sayısını ciddi ölçüde azaltabilir. Eğitimlerde sürpriz testler yapmak (örneğin, sahte oltalama e-postaları göndermek) etkili bir yöntemdir.</li></ul><h3>7. Active Directory Güvenlik Değerlendirmesi (Active Directory Security Assessment):</h3><ul><li>Bir saldırganın bakış açısından, Active Directory’nin güvenliğini değerlendirmek önemlidir. Bir uç nokta ele geçirildiğinde, saldırganın ağda yüksek yetkilere hemen ulaşamaması gerekir. Active Directory, genellikle bilinen veya yeni keşfedilen zafiyetlerle hedef alınır. Sisteminizi düzenli olarak değerlendirin veya bu konuda uzman üçüncü taraflardan yardım alın.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c35e3e2ada6e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Metasploit: A Powerful Penetration Testing Tool Used in Security Assessments]]></title>
            <link>https://medium.com/@mertTrn/metasploit-a-powerful-penetration-testing-tool-used-in-security-assessments-253a99e51c8a?source=rss-ecea2df6d525------2</link>
            <guid isPermaLink="false">https://medium.com/p/253a99e51c8a</guid>
            <category><![CDATA[metasploit]]></category>
            <dc:creator><![CDATA[Mert Turan]]></dc:creator>
            <pubDate>Tue, 26 Dec 2023 13:21:49 GMT</pubDate>
            <atom:updated>2023-12-26T13:21:49.767Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*0UqkVCW7gWhQC_MEgGvxfw.png" /></figure><p>In the ever-evolving world of cybersecurity, there are many tools used to test defense strategies as attack tactics develop. One such tool is Metasploit. Metasploit is an open-source framework used for effective penetration testing, uncovering security vulnerabilities, and simulating attacks on systems.</p><p><strong>What is Metasploit?</strong></p><p>Metasploit is a framework utilized for penetration testing, vulnerability assessment, and penetration testing. Developed by Rapid7 and continually updated, this tool allows security professionals and ethical hackers to conduct controlled attacks on target systems. Metasploit boasts an extensive collection of modules, enabling the simulation of various attack scenarios.</p><p><strong>Key Features of Metasploit:</strong></p><ol><li>Modular Structure: Metasploit approaches attacks in a modular fashion. Modules focus on specific security vulnerabilities and provide access to target systems through exploiting these vulnerabilities.</li><li>Payload and Exploit Options: It offers various payload (data transport) and exploit (attack) options, providing users with the flexibility to perform desired operations on target systems.</li><li>Graphical Interface and Command-Line Support: Metasploit provides users with both a graphical interface (Metasploit Framework Armitage) and command-line (msfconsole) options.</li><li>Database Support: It integrates with databases to store and analyze attack results.</li></ol><p><strong>Using Metasploit:</strong></p><p>Using Metasploit requires a learning curve and mastery over time. However, to simulate a basic attack scenario, you can follow these steps:</p><ol><li>Selecting a Target: Identify the target you want to attack. This could be an IP address, domain name, or network device.</li><li>Vulnerability Analysis: Use Metasploit to perform vulnerability analysis on the target system. This step helps identify open ports, running services, and potential security vulnerabilities.</li><li>Choosing an Exploit: Select an exploit that targets the identified security vulnerabilities. Metasploit offers a wide range of exploit modules.</li><li>Payload Creation: Create a payload suitable for the chosen exploit. A payload contains malicious code to be executed on the target system.</li><li>Initiating the Attack: Launch the attack using the chosen exploit and payload. Metasploit allows you to impact and control the target system during this step.</li></ol><p>To run Metasploit Framework, it is sufficient to click on the icon on the left taskbar in Kali Linux or use the <strong>msfconsole</strong> command in the console.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rvutjh-77rKMEQawuxWMFA.png" /></figure><p>We can get help with the help command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7Q3wjsgOAKcWwvBBMGkcOg.png" /></figure><p>We can search for exploit, payload, etc. with the search command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gaB9kTngL8_bT0OKYJujsQ.png" /></figure><p>The desired exploit or payload is selected with the use command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YSpovVkw_X93BeHAoBxWZg.png" /></figure><p>With the show options command, the settings we need to make for the exploit or payload are displayed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*VkwWcgiwt943tB98Ahf1cg.png" /></figure><p>Finally, the selected exploit or payload is applied with the exploit or run command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*idJ-291y4IsJfJXC-FiRJQ.png" /></figure><p>Remember that tools like Metasploit should be used legally and responsibly by ethical hackers and security professionals. They should only be applied to systems with explicit permission and in authorized testing scenarios.</p><p>While Metasploit can be a powerful tool in the hands of security experts, responsible use is paramount.</p><p>I hope this article provides an understanding of the fundamental principles of Metasploit and guides you toward deeper knowledge in this field. Don’t forget to explore resources and training for further insights into security topics!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=253a99e51c8a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Siber Security Step by Step: Penetration Tests and Objectives]]></title>
            <link>https://medium.com/@mertTrn/pentest-8738ac7e889d?source=rss-ecea2df6d525------2</link>
            <guid isPermaLink="false">https://medium.com/p/8738ac7e889d</guid>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[Mert Turan]]></dc:creator>
            <pubDate>Fri, 08 Dec 2023 14:20:06 GMT</pubDate>
            <atom:updated>2023-12-18T19:39:26.403Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*BsW36Tdt0mCZ07qGh01sQA.png" /></figure><p><strong>Definition:</strong></p><p>Penetration Testing or PenTest, is a security test that evaluates a computer system, network, or application from the perspective of a simulated attacker, aiming to identify security vulnerabilities.</p><p><strong>Objectives:</strong></p><ul><li>Detect potential security vulnerabilities.</li><li>Evaluate the effectiveness of existing security measures.</li><li>Test the resilience of systems, networks, and applications.</li><li>Assess business continuity and sustainability.</li></ul><p><strong>Types:</strong></p><p><strong>Black-Box Testing</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*fX5eCJbVQT5wEs-xlwiXoQ.png" /></figure><p>This testing process is a high-level process where the tester is not given any information about the inner workings of the application or service.</p><p>The tester acts as a regular user testing the functionality and interaction of the application or piece of software. This testing can involve interacting with the interface, i.e. buttons, and testing to see whether the intended result is returned. No knowledge of programming or understanding of the programme is necessary for this type of testing.</p><p>Black-Box testing significantly increases the amount of time spent during the information gathering and enumeration phase to understand the attack surface of the target.</p><p><strong>Grey-Box Testing</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sCsARlWCBWK0C53iOXTY_A.png" /></figure><p>This testing process is the most popular for things such as penetration testing. It is a combination of both black-box and white-box testing processes.The tester will have some <strong>limited</strong> knowledge of the internal components of the application or piece of software. Still, it will be interacting with the application as if it were a black-box scenario and then using their knowledge of the application to try and resolve issues as they find them.</p><p>With Grey-Box testing, the limited knowledge given saves time, and is often chosen for extremely well-hardened attack surfaces.</p><p><strong>White-Box Testing</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*2zfcRkNOqEvEnVgf.png" /></figure><p>This testing process is a low-level process usually done by a software developer who knows programming and application logic. The tester will be testing the internal components of the application or piece of software and, for example, ensuring that specific functions work correctly and within a reasonable amount of time.</p><p>The tester will have <strong>full</strong> knowledge of the application and its expected behaviour and is much more time consuming than black-box testing. The full knowledge in a White-Box testing scenario provides a testing approach that guarantees the entire attack surface can be validated.</p><p><strong>External to Internal PenTest:</strong></p><ul><li>Starts from outside the organization and progresses towards internal systems, representing efforts to penetrate from the external world to inside systems.</li></ul><p><strong>Internal to External PenTest:</strong></p><ul><li>Starts from within the organization and progresses towards external systems, representing efforts to penetrate from within an organization to external systems.</li></ul><p><strong>Application-Based PenTest:</strong></p><ul><li>Targets an application, website, or similar software for testing. It is often conducted to assess the security of web applications.</li></ul><p><strong>Physical Security Test:</strong></p><ul><li>Conducted to test security controls related to physical access. It includes areas such as building entrances, server rooms, and other physical spaces.</li></ul><p><strong>Social Engineering Test:</strong></p><ul><li>Symbolizes the efforts of an attacker to manipulate people to obtain information. Methods may include phone calls, fake emails, and other manipulative approaches.</li></ul><p><strong>Stages:</strong></p><ul><li><strong>Information Gathering (Reconnaissance):</strong> The stage where information about the target is collected.</li><li><strong>Vulnerability Analysis (Scanning):</strong> The stage where the target is scanned, and security vulnerabilities are sought.</li><li><strong>Attack (Gaining Access):</strong> The stage where access to systems or networks is gained using discovered vulnerabilities.</li><li><strong>Persistence (Maintaining Access):</strong> The stage where persistence is established on accessed systems.</li><li><strong>Analysis and Reporting:</strong> The stage where test results are analyzed and reported.</li></ul><p><strong><em>Note: </em></strong><em>The term “Penetration Testing” and its associated concepts are widely used in the cybersecurity field. Some variations in terminology or interpretation may exist based on specific contexts or industry standards.</em></p><h4>Internal Network Penetration Testing</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BA3hBMI-ktCjDrNyY7LcmA.png" /></figure><p>Internal network penetration testing is a security assessment conducted to identify vulnerabilities within an organization’s internal network and evaluate how cyber attackers could potentially infiltrate internal systems and resources. Here are the general stages of the internal network penetration testing methodology:</p><p><strong>1. Information Gathering (Reconnaissance):</strong></p><ul><li>The stage where general information about the target organization is collected.</li><li>Information such as network infrastructure, IP addresses, domain names, employees, and technology usage is obtained.</li><li>Social engineering techniques and open-source intelligence (OSINT) tools may be employed.</li></ul><p><strong>2. Network Scanning (Scanning):</strong></p><ul><li>The organization’s internal network is scanned using scanning tools.</li><li>Open ports, services, and employed security devices are identified.</li><li>Tools like Nmap, Nessus, and others may be utilized.</li></ul><p><strong>3. Vulnerability Analysis:</strong></p><ul><li>Security vulnerabilities in scanned systems are identified.</li><li>Automatic and manual vulnerability scanning tools are used.</li><li>Open-source or commercial vulnerability databases are referenced.</li></ul><p><strong>4. Exploitation:</strong></p><ul><li>Attempting to gain unauthorized access to systems using the identified vulnerabilities.</li><li>Tools like Metasploit, ExploitDB, and others may be employed.</li><li>Malicious payloads controlled by the attacker can be used to gain access to target systems.</li></ul><p><strong>5. Lateral Movement:</strong></p><ul><li>Moving within the network, transitioning from one system to another.</li><li>Involves elevating access levels and attempting to infiltrate more critical systems.</li></ul><p><strong>6. Privilege Escalation:</strong></p><ul><li>Searching for vulnerabilities to escalate obtained privileges.</li><li>Investigating and leveraging specific vulnerabilities for Linux or Windows.</li></ul><p><strong>7. Persistence:</strong></p><ul><li>Establishing continuous access to systems by leaving backdoors or malicious software.</li><li>Malicious software like rootkits, trojans, etc., may be used.</li></ul><p><strong>8. Data Collection and Analysis (Data Exfiltration):</strong></p><ul><li>Collecting and extracting sensitive data from systems.</li><li>Employing data exfiltration methods.</li></ul><p><strong>9. Reporting:</strong></p><ul><li>Presenting detailed results of the conducted test in a comprehensive report.</li><li>Severity, impacts, and recommended remediation measures for vulnerabilities and findings are outlined in the report.</li></ul><h4>External Network Penetration Testing</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jagfIHR6AxOFwXlh1Fk7gQ.png" /></figure><p>External Network Penetration Testing is a security test conducted to identify vulnerabilities in an organization’s external network infrastructure, typically accessible over the internet, and evaluate how cyber attackers might infiltrate this network. Here are the general stages of the external network penetration testing methodology:</p><p><strong>Information Gathering (Reconnaissance):</strong></p><ul><li>This phase involves collecting general information about the target organization.</li><li>Information such as domain names, IP addresses, employees, infrastructure details, and technology usage is gathered.</li><li>Social engineering techniques and open-source intelligence (OSINT) tools may be utilized.</li></ul><p><strong>Network Scanning (Scanning):</strong></p><ul><li>The organization’s external network is scanned using scanning tools.</li><li>Open ports, services, and employed security devices are identified.</li><li>Tools like Nmap, Nessus, or similar applications may be employed.</li></ul><p><strong>Target Analysis (Target Analysis):</strong></p><ul><li>More detailed analysis is performed on the identified targets.</li><li>Security vulnerabilities in target systems and potential attack points are assessed.</li></ul><p><strong>Vulnerability Analysis (Vulnerability Analysis):</strong></p><ul><li>Security vulnerabilities in the scanned systems are identified.</li><li>Open-source or commercial vulnerability databases may be referenced.</li></ul><p><strong>Exploitation:</strong></p><ul><li>Attempts are made to gain access to systems or networks by exploiting identified vulnerabilities.</li><li>Tools like Metasploit, ExploitDB, or similar applications may be used.</li><li>Malicious software (payloads) under the attacker’s control may be utilized to gain access.</li></ul><p><strong>Lateral Movement:</strong></p><ul><li>Movement within the system is executed, transitioning from one system to another.</li><li>Includes attempts to elevate access levels and infiltrate more critical systems.</li></ul><p><strong>Privilege Escalation:</strong></p><ul><li>Searches for vulnerabilities to escalate obtained privileges.</li><li>Investigates and utilizes specific vulnerabilities for Linux or Windows systems.</li></ul><p><strong>Persistence of Access:</strong></p><ul><li>Malicious backdoors or software are left to ensure continuous access to systems.</li><li>Utilizes rootkits, trojans, or similar malicious software.</li></ul><p><strong>Data Collection and Analysis (Data Exfiltration):</strong></p><ul><li>Involves collecting and extracting sensitive data from systems.</li><li>Utilizes data exfiltration methods.</li></ul><p><strong>Reporting:</strong></p><ul><li>Results of the conducted test are presented in a detailed report.</li><li>The severity, impacts, and recommended corrective measures for identified vulnerabilities and findings are explained in the report.</li></ul><p>External network penetration tests evaluate how resilient an organization is against external attacks and assess the effectiveness of security measures. Such tests assist organizations in strengthening their cybersecurity and proactively addressing potential vulnerabilities.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8738ac7e889d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Recon-ng: Target Analysis with Open Source Intelligence Tools]]></title>
            <link>https://medium.com/@mertTrn/recon-nedi%CC%87r-141687dab46e?source=rss-ecea2df6d525------2</link>
            <guid isPermaLink="false">https://medium.com/p/141687dab46e</guid>
            <category><![CDATA[recon]]></category>
            <dc:creator><![CDATA[Mert Turan]]></dc:creator>
            <pubDate>Fri, 08 Dec 2023 09:07:07 GMT</pubDate>
            <atom:updated>2023-12-18T19:44:30.358Z</atom:updated>
            <content:encoded><![CDATA[<p>Recon-ng is an open-source framework used as an open-source intelligence (OSINT) tool, particularly preferred by cybersecurity professionals, ethical hackers, and intelligence analysts. OSINT refers to the process of gathering information from publicly available sources and is utilized to obtain various details related to a target. Recon-ng is designed to serve this purpose, providing a range of modules, analysis tools, and reporting features. It serves as a comprehensive toolkit for conducting OSINT activities, aiding users in efficiently collecting, analyzing, and reporting information about their targets.</p><p>We can run the tool by typing (recon-ng) on ​​the command line</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/1*HjBWtV3GI4rMHGosFUyx5Q.png" /></figure><p><strong>Modular Structure:</strong> One of the most prominent features of Recon-ng is its modular structure. Modularity enables the tool to adapt to different tasks. Modules provide access to specific information sources, and users can activate these modules based on their needs. For example, one module can extract information related to the target’s domain, while another module can collect data from social media accounts.</p><p><strong>Extensive Module Library: </strong>Recon-ng boasts an extensive module library. These modules provide access to various information sources and may include:</p><p><strong>Domain Profiling:</strong> Retrieving information related to the target’s domain. <strong>Network Profiling:</strong> Gathering information about the target’s IP addresses, open ports, and network structures. People Profiling: Collecting social media profiles and personal information associated with individuals linked to the target. Reporting: Presenting the obtained information in organized and understandable reports. Data Analysis: Recon-ng includes tools that support the analysis of collected data. This allows users to evaluate the gathered information in a meaningful and useful way. For example, users can identify relationships between similar IP addresses or analyze keywords derived from social media profiles.</p><p><strong>Reporting:</strong> Recon-ng enables users to present the collected information in organized reports. These reports can highlight critical information about the target and provide users with a concrete assessment.</p><p><strong>Integration: </strong>Recon-ng can integrate with other cybersecurity tools and frameworks. This allows users to combine Recon-ng with other tools, creating a more comprehensive information gathering and analysis process.</p><p>Recon-ng is a powerful tool that provides cybersecurity professionals and ethical hackers with the ability to gain a broad and detailed view of targets using information obtained from open sources. However, it is crucial to pay attention to legal and ethical limitations when using such tools.</p><h3>Using recon-ng</h3><p>From the console it is easy to get help and get started with your recon.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/879/1*3qkrpXHG-QYWwZZMYG3NLg.png" /></figure><h3>Recon-ng Marketplace and Modules</h3><p>Here again the help comes in handy marketplace help shows commands for removing modules, how to find more info, search, refresh and install.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/912/1*ffhk6J7mYvMj3EOANQWl1Q.png" /></figure><p>Typing marketplace search displays a list of all the modules. From which you can start following the white rabbit exploring and getting deeper into recon and open source intelligence.</p><h3>Recon-ng modules</h3><p>Modules are grouped together under various categories and can be found searching on marketplace</p><p>-discovery<br>- exploitation<br>- import<br>- recon<br>- reporting</p><p>Use marketplace search for a full table providing information on version, status (installed or not-installed), date updated, dependencies or require keys.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9u93A4GFsNnKAHZ0P7BV0A.png" /></figure><p>To find out more info on a specific module</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4EY4InzD5ykA9nEgC1774Q.png" /></figure><p>“Recon-ng contains more than 100 modules, but the modules do not come installed, all of the modules can be installed with a single line of code: The &lt;marketplace install all&gt; command is used to install all modules.” we said.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*i_ZiANqN8n-YWPCOM4ak1g.png" /></figure><p>Integrated modules can be viewed by typing &lt;module search&gt; in the terminal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SyQwoqjTOrqxDJGw_r1_ew.png" /></figure><p>To select any module, the module is added using the &lt;modules load&gt; parameter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gBRxntYTVZh30_aNCNYRIA.png" /></figure><p>The &lt;info&gt; command is used to get detailed information about the module.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aLU670tdn_jv8kKA6QAxXQ.png" /></figure><p>The information that needs to be added for the module to work is located in the “Options” section. &lt;options set SOURCE&gt; parameters are used to add information to the module.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*7F4DQ_N-ydC7yHYRJcGjvQ.png" /></figure><p>After the information is added to the module, the &lt;run&gt; command is used to run the module.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gtmCTZ2SlChzcEq9gcT-mw.png" /></figure><p>If you want to find out which APIs are needed, you can list them all with the &lt;keys list&gt; command.</p><h3>API keys</h3><p>show keys — list available API keys</p><p>keys add api_key_name #api_key_value — add key to module</p><h3>Interesting APIs</h3><p>builtwith — discover the technology used without touching the hosts</p><p>google — who doesn’t know it?</p><p>shodan — search engine for IoT</p><h3>Contacts</h3><p>show contacts — list contacts in DB</p><h3>recon</h3><p>use recon/domains-contacts/whois_pocs</p><h3>Companies</h3><p>show companies — list companies in DB</p><p>add companies — add company to DB</p><h3>Domains</h3><p>show domains — list domains in database</p><p>add domains — add domain to DB for pentesting</p><p>delete domains #ID — remove unwanted domain (ID available in show domains)</p><h3>recon</h3><p>use recon/domains-hosts/findsubdomains</p><p>use recon/domains-hosts/bing_domain_web</p><p>use recon/domains-hosts/brute_hosts</p><p>use recon/domains-hosts/hackertarget</p><h3>Hosts</h3><p>show hosts — list hosts in DB</p><h3>recon</h3><p>use discovery/info_disclosure/interesting_files</p><h3>Modules</h3><p>search xyz — search recon-ng for nodule ‘xyz’</p><p>use xyz — select module ‘xyz’</p><p>show info — display module help and usage</p><p>run — execute previously selected module</p><h3>Reports</h3><p>show dashboard — display DB info</p><p>search reporting — list available report formats</p><p>set customer — set customer name for reports</p><h3>Workspace</h3><p>show workspaces — list available workspaces</p><p>workspaces add my-worspace — adds ‘my-workspace’</p><p>workspace select my-workspace — selects ‘my-workspace’ to use</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=141687dab46e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Netcat: A Powerful Tool for Network Connections and Troubleshooting]]></title>
            <link>https://medium.com/@mertTrn/netcat-3266d65a1755?source=rss-ecea2df6d525------2</link>
            <guid isPermaLink="false">https://medium.com/p/3266d65a1755</guid>
            <category><![CDATA[netcat]]></category>
            <dc:creator><![CDATA[Mert Turan]]></dc:creator>
            <pubDate>Thu, 07 Dec 2023 11:00:48 GMT</pubDate>
            <atom:updated>2023-12-18T19:53:29.631Z</atom:updated>
            <content:encoded><![CDATA[<p>Netcat is a service that reads the network and writes network connections using the Transmission Control Protocol (TCP) or User Datagram Protocol (UDP). It is also a versatile tool for network troubleshooting and investigation, capable of generating almost any type of connection needed in the future.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*QmgnGpv6U9Pb5iSNj9dvlQ.jpeg" /></figure><p><strong>Syntax:</strong> nc [options] host port</p><p><strong>Host:</strong> The target’s IP address.</p><p><strong>Port:</strong> The target’s port number or numbers. Multiple ports can be listened to.</p><p><strong>Options:</strong></p><p><strong>-v</strong>: Specifies verbose mode, providing detailed messages during the connection.</p><p><strong>-vv:</strong> An optional option for more detailed output than -v.</p><p><strong>-l:</strong> Listen mode for incoming connections.</p><p>In the example above, a random port (36773 in this case) on our machine is started to listen.</p><p><strong>-p:</strong> (Local port) For the server, this is the port being listened to. For the client, this is the source port.</p><p>In the example above, we started listening on port 3131 on our machine.</p><p><strong>-L: </strong>A better listen mode. It is only valid in versions of Netcat designed for Windows operating systems. It restarts the listening mode even if the client terminates the connection, turning Netcat into a persistent server.</p><p><strong>-z:</strong> Zero-Input/Output (Zero-I/O) mode. It means sending no data. It is used to send only one packet other than the payload.</p><p>In the example above, we can check if port 80 is open on the machine with IP address 193.140.168.124.</p><p><strong>-u:</strong> Listen mode for User Datagram Protocol (UDP) packets.</p><p><strong>-e:</strong> Specifies the command to execute after a successful connection.</p><p>In the example above, a Netcat server is started on port 1806 on the server side, executing the /bin/bash shell. In other words, an unauthorized access passage shell is set up on a Linux operating system.</p><p><strong>-n:</strong> Used to prevent changes or tampering with machine names in Domain Name System (DNS).</p><p><strong>-wN:</strong> Defines the timeout value. For example, w specifies that it will wait 5 seconds before timing out.</p><ul><li><strong>c:</strong> Shell command.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/1*jMcNHC52pbPyb5cbeHHYnQ.png" /></figure><p>In the example above, a Netcat server is started on port 1806, and all connections are redirected to port 80 of the machine with IP address <a href="http://www.google.com/">www.google.com</a>. If a web browser sends a request to the Netcat server, this request is forwarded to <a href="http://www.google.com/">www.google.com</a>. The response is also sent back to the web browser.</p><p><strong>TCP Port Scan:</strong></p><p>In the example above, a TCP scan in the range of 10 to 1000 ports is performed on the machine with IP address 10.0.2.5.</p><p><strong>TCP Port Range Scan:</strong><br>In the example above, a TCP scan is performed on the machine with IP address 10.0.2.5 for ports 1 to 10 and 15 to 20, with 1 second allocated to each.</p><p><strong>TCP Banner Grabbing</strong>:<br>In the example above, TCP operations are captured on ports 988 to 1000 on the machine with IP address 10.0.2.5. A blank string is sent to the ports, and the returned flag is printed on the screen.</p><p><strong>UDP Port Scan:</strong><br>In the example above, a UDP scan is performed on the machine with IP address 10.0.2.5 for ports 53 to 69.</p><p><strong>UDP Banner Grabbing</strong>:<br>In the example above, a UDP operation is captured on ports 53 to 69 on the machine with IP address 10.0.2.5. A “Hello” string is sent to the ports, and the returned flag is printed on the screen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*BWNzou64D6a1SwULEoBoaw.png" /></figure><p><strong>Chat Between Client and Server:</strong><br><strong>Step 1:</strong> Let’s find out the IP address of the server’s device (IP Address 10.0.2.19) and start listening on port 1806.</p><p><strong>Step 2:</strong> From the client’s device, send a connection request to the server’s device.</p><p><strong>Step 3:</strong> The server accepts the connection request from the client.</p><p><strong>Step 4:</strong> The client sent the message “hello” to the server.</p><p><strong>Step 5: </strong>The server saw the message “hello” sent by the client.</p><p><strong>Step 6:</strong> The server first sent “how are you” and then “by the way, I’m fine” messages.</p><p><strong>Step 7</strong>: The client saw the messages “how are you” and “by the way, I’m fine” sent by the server.</p><p><strong>Sending a File from Client to Server:</strong></p><p><strong>Step 1:</strong> Let’s find out the IP address of the server’s device (IP Address 10.0.2.19) and start listening on port 1806. Save the file to which the png extension will be received on the server’s machine. Note: The file must have a png extension, but the extension of the file to be received or sent may be different.</p><p><strong>Step 2:</strong> From the client’s device, send a connection request to the server’s device and send the netcat.png file to the server.</p><p><strong>Note: </strong>The command (cat netcat.txt | nc 10.0.2.19 1806) can also be used to send the file.</p><p><strong>Step 3:</strong> The server accepts the connection request from the client and saves the file sent by the client to the netcat.png file.</p><p><strong>Step 4:</strong> We terminated the connection between the server and the client, and viewed the netcat.png file on the server’s device.</p><p><strong>Listening to Backdoor Shell:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/344/1*Mr7sx7-dbWlu2vaATl6FqA.png" /></figure><p><strong>Step 1: </strong>Let’s find out the IP address of the server’s device (IP Address 10.0.2.19) and start listening on port 1806.</p><p>In the example above, a backdoor shell (/bin/bash shell) is executed on port 1806 on the server side. In other words, an unauthorized access passage shell is started on a Linux operating system. Note: For the Windows operating system, the command is nc -e cmd.exe -vlp port.</p><p><strong>Step 2:</strong> From the client’s device, send a connection request to the server’s device.</p><p><strong>Step 3:</strong> The server accepts the connection request from the client and saves the file sent by the client to the netcat.png file.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3266d65a1755" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring Nmap: A Comprehensive Guide to Network Scanning and Security Assessment]]></title>
            <link>https://medium.com/@mertTrn/nmap-d1db6e9d549c?source=rss-ecea2df6d525------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1db6e9d549c</guid>
            <dc:creator><![CDATA[Mert Turan]]></dc:creator>
            <pubDate>Thu, 07 Dec 2023 10:01:00 GMT</pubDate>
            <atom:updated>2023-12-18T19:58:01.545Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*Mvmx0GkCTkCR-qN_zj96vg.jpeg" /></figure><p>In this article, I will what Nmap ( Mapper), one of the network scanning tools.</p><h4>What is Nmap (Network Mapper)?</h4><p>Nmap (Network Mapper) is a free and open-source security tool used for network security and mapping purposes. Nmap is employed to scan computers and devices on a network, identify open ports, determine active services, and assess security vulnerabilities within the network.</p><ul><li><strong>Host Discovery</strong>: Nmap can identify hosts that are active on a network, allowing you to determine the scope of your scans.</li><li><strong>Port Scanning</strong>: It can scan for open ports on target systems, providing information about the services running on those ports.</li><li><strong>Service and Version Detection</strong>: Nmap can identify the versions and types of services running on open ports, aiding in vulnerability assessment.</li><li><strong>Operating System Detection</strong>: Nmap can analyze network responses to deduce the operating system (OS) running on a target host.</li><li><strong>Scripting Engine:</strong> Nmap has a built-in scripting engine that allows the execution of custom scripts to automate tasks and perform advanced scans.</li><li><strong>Output Formatting</strong>: Nmap offers various output formats, including interactive, XML, and plain text, providing flexibility in result analysis and reporting.</li></ul><h4>What is Zenmap?</h4><p>Zenmap is a graphical interface version of Nmap. It provides a user-friendly interface for Nmap’s command-line-based usage. While incorporating all the features of Nmap, Zenmap allows users to create scanning profiles more easily, visually inspect results, and configure specific scanning types.</p><p>Zenmap is a preferred tool among network security professionals and system administrators. The graphical interface assists users, even those unfamiliar with the complex commands of Nmap, in effectively conducting network scans. It enables users to analyze computers and devices on a network quickly and securely.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K9bYi5ZERXBdDpd1Kz0WIw.jpeg" /></figure><h4>To scan an IP address → nmap 192.168.1.1</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/956/1*heX6lsP4aYkTWKPrWuJp1w.png" /></figure><h4>To scan an IP address range → nmap 192.168.1.1–100</h4><h4>To get DNS information of a target → nmap — dns-servers example.com</h4><h4>To scan a specific port (e.g., 80) → nmap -p 80 example.com</h4><h4>To determine running services on the target → nmap -sV example.com</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/877/1*NmhiW6y3NcRzveHUpLrj6w.png" /></figure><h4>To perform a TCP SYN scan → nmap -sS example.com</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/542/1*v2HnOR3MM6qLpwuxaRwqkw.png" /></figure><h4>To perform a UDP scan → nmap -sU example.com</h4><h4>To check if the target is active using ping → nmap -sn example.com</h4><h4>To determine open ports → nmap — open example.com</h4><h4>To determine the operating system of the system → nmap -O example.com</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/887/1*vMEl7xHDtt3Xqr2s8HKfww.png" /></figure><h4>To perform script scanning → nmap — script default example.com</h4><h4>To perform a fast scan → nmap -T4 example.com</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*-ir4SgoSQhNHiaw93HBgvw.png" /></figure><h4>To get system version information → nmap -sV — version-intensity example.com</h4><h4>To perform firewall testing →nmap — script firewall-bypass example.com</h4><h4>To perform MTU probing → nmap — mtu 32 example.com</h4><h4>For integration with the Metasploit framework → nmap — script msrpc-enum — script-args unsafe=1 example.com</h4><h4>To sort services according to the targe → nmap — service-perf-stats example.com</h4><h4>To save scan results in XML format → nmap -oX scan_results.xml example.com</h4><h4>To graphically map devices on the network → nmap — open -p 80 -s</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*nKvJB2iYx3updPiBWlYz4A.jpeg" /></figure><p><strong>$ nmap 10.0.2.5 --top-ports 100</strong> → We can scan the top 100 ports using the following command</p><p><strong>$ nmap 10.0.2.5 -p 1–100</strong> → Here we can have it scan for ports in the specified range.</p><h4>ATTENTION</h4><blockquote>By the way, let me give an important warning, friends. Nmap is an active tool, so do not run Nmap scans on devices or IP addresses without permission. Try practicing on platforms like TryHackMe or Hack The Box in laboratories. Because Nmap is an active tool, it leaves traces, and unauthorized usage may lead to legal issues. Always make sure to get permission from the owner of the target system and use it within legal limits.</blockquote><blockquote>Moreover, as you mentioned, using such tools on platforms (e.g., ethical hacking laboratories like TryHackMe or Hack The Box) in a secure environment can be a great way to experiment with these tools, learn, and enhance your skills. However, it’s crucial to consider legal aspects before using such tools in the real world. Unauthorized scanning or testing of others’ systems may be illegal and lead to severe consequences.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1db6e9d549c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>