<?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 Kaan Uzun on Medium]]></title>
        <description><![CDATA[Stories by Kaan Uzun on Medium]]></description>
        <link>https://medium.com/@27uzunkaan?source=rss-bd6685e8fb38------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*OhFfjt580sRqvkGOh1ni1A.jpeg</url>
            <title>Stories by Kaan Uzun on Medium</title>
            <link>https://medium.com/@27uzunkaan?source=rss-bd6685e8fb38------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 25 Nov 2026 00:50:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@27uzunkaan/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[How to Analyze Malware Safely]]></title>
            <link>https://medium.com/@27uzunkaan/how-to-analyze-malware-safely-96579c733f9f?source=rss-bd6685e8fb38------2</link>
            <guid isPermaLink="false">https://medium.com/p/96579c733f9f</guid>
            <category><![CDATA[malware-analysis]]></category>
            <category><![CDATA[malware]]></category>
            <category><![CDATA[sandbox]]></category>
            <dc:creator><![CDATA[Kaan Uzun]]></dc:creator>
            <pubDate>Thu, 20 Mar 2025 14:07:59 GMT</pubDate>
            <atom:updated>2025-03-20T14:07:59.756Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/938/0*vun2oaAbx2H1qo_A.jpg" /></figure><h3>Understanding Malware</h3><p>Before diving into malware analysis, let’s first define what malware is. The term “malware” is derived from “malicious software,” which refers to any software designed to harm, exploit, or infiltrate a system without the user’s consent. Malware comes in various forms, including viruses, worms, trojans, ransomware, and spyware.</p><p>When analyzing malware, safety is the top priority. Malware analysis can be performed in two ways:</p><ol><li><strong>Static &amp; Passive Analysis</strong></li><li><strong>Dynamic &amp; Active Analysis</strong></li></ol><h3>1) Static &amp; Passive Analysis</h3><p>Static analysis involves examining the malware file without executing it. This method is safer and allows researchers to gather preliminary information about the malware’s behavior.</p><h3>Setting Up a Safe Environment</h3><p>To prevent accidental infection, always analyze malware in a <strong>closed or controlled network</strong> and use a <strong>virtual machine</strong>.</p><h3>Steps for Static Analysis</h3><h4>1. Identify the File Type</h4><p>Use the file command to determine the type of file.</p><h4>2. Extract Readable Strings</h4><p>Use strings command</p><p>Strings within the binary can provide clues about its functionality, such as URLs, function names, or error messages:</p><p>To save the extracted strings for further analysis:</p><h4>3. Generate Hashes</h4><p>Use sha256sum , md5sum , sha1sumcommands.</p><p>Calculating hash values allows comparison with known malware samples in online databases:</p><p>Once you have the hash, search for it on <a href="https://www.virustotal.com/">VirusTotal</a> to check if the sample has been analyzed before.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/777/1*Ec-EzbUPgOYwQxw27ki_pQ.png" /></figure><h4>4. Examine the PE Header</h4><p>If the malware is a Windows executable, analyzing its PE (Portable Executable) header can provide insights into its imports and structure:</p><p>This helps determine dependencies and potential functions the malware interacts with.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/909/0*V-R6UyELsq3aO4xb" /></figure><h3>2) Dynamic &amp; Active Analysis</h3><p>Dynamic analysis involves running the malware in a controlled environment to observe its behavior in real time.</p><h3>Tools for Dynamic Analysis</h3><p>To safely execute and monitor malware behavior, use online sandboxing services such as:</p><ul><li><strong>AnyRun</strong> (<a href="https://any.run/">any.run</a>)</li><li><strong>CrowdStrike Falcon Sandbox</strong></li><li><strong>HybridAnalysis</strong> (<a href="https://www.hybrid-analysis.com/">hybrid-analysis.com</a>)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*medcHyFKQ9R9myG2.png" /></figure><h3>Steps for Dynamic Analysis</h3><ol><li>Upload the malware sample to an online sandbox.</li><li>Analyze the generated report, which includes:</li></ol><ul><li>File system changes (new files, modifications, deletions)</li><li>Network activity (connections to command-and-control servers)</li><li>Registry modifications</li><li>Process execution details</li></ul><p>If the sample has been previously analyzed on <strong>HybridAnalysis</strong>, searching for the hash can reveal valuable insights about the malware’s behavior and its impact on infected machines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f9qSCGDBFOlaY1l6qQNICg.png" /></figure><h3>Conclusion</h3><p>Understanding how to analyze malware safely is crucial for cybersecurity professionals. By combining <strong>static analysis</strong> (examining the file without execution) and <strong>dynamic analysis</strong> (running it in a controlled environment), analysts can gain a deeper understanding of the malware’s behavior, capabilities, and potential mitigation strategies.</p><p><strong><em>Remember</em>:</strong> <em>Always conduct malware analysis in an </em><strong><em>isolated environment</em></strong><em> to prevent unintentional infections. Stay safe and keep learning!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=96579c733f9f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Wazuh SIEM Kurulumu]]></title>
            <link>https://medium.com/@27uzunkaan/wazuh-siem-kurulumu-3383273f1d6b?source=rss-bd6685e8fb38------2</link>
            <guid isPermaLink="false">https://medium.com/p/3383273f1d6b</guid>
            <category><![CDATA[wazuh-agent]]></category>
            <category><![CDATA[wazuh]]></category>
            <category><![CDATA[siem]]></category>
            <category><![CDATA[wazuh-manager]]></category>
            <category><![CDATA[siber-guvenlik]]></category>
            <dc:creator><![CDATA[Kaan Uzun]]></dc:creator>
            <pubDate>Wed, 20 Nov 2024 13:15:33 GMT</pubDate>
            <atom:updated>2024-11-20T13:16:42.234Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*y8b8j6_JE3PqH_A0.png" /></figure><h3>Wazuh Nedir?</h3><p>Wazuh, açık kaynak kodlu bir güvenlik platformudur ve birleşik güvenlik izleme, tehdit tespiti ve uyumluluk yönetimi hizmetleri sunar. Güçlü bir <em>host-based intrusion detection system</em> (HIDS) ile gelişmiş log analizi yeteneklerini bir araya getirerek, kuruluşların güvenlik duruşlarını güçlendirmelerine yardımcı olur.</p><h3>Temel Özellikler:</h3><ul><li><strong>Tehdit Tespiti</strong>: Sistem aktivitelerini izler, kötü amaçlı yazılımları, anormallikleri ve yetkisiz değişiklikleri tespit eder.</li><li><strong>Log Yönetimi</strong>: Birden fazla kaynaktan gelen logları toplar ve analiz ederek potansiyel güvenlik olaylarını ortaya çıkarır.</li><li><strong>Uyumluluk Yönetimi</strong>: PCI DSS, GDPR, HIPAA ve ISO 27001 gibi standartlarla uyum sağlamaya yardımcı olur.</li><li><strong>Gerçek Zamanlı Uyarılar</strong>: Güvenlik ekiplerine gerçek zamanlı uyarılar göndererek hızlı müdahaleyi mümkün kılar.</li><li><strong>Ölçeklenebilirlik</strong>: Dağıtılmış mimarisi sayesinde küçük işletmelerden büyük kurumsal ortamlara kadar her ölçekte kullanılabilir.</li></ul><h3>Neden Wazuh Kullanmalısınız?</h3><p>Wazuh, Elasticsearch, Kibana gibi araçlarla kolayca entegre olabilmesi sayesinde oldukça popülerdir. Açık kaynaklı yapısı, maliyet etkinliği, şeffaflığı ve büyüyen bir topluluk tarafından desteklenmesiyle dikkat çeker.</p><h3>Kurulum:</h3><p>Wazuh Manager, Ubuntu sistemimizde kurulu olması gerekiyor. Bunun için öncelikle, bir Ubuntu VM kurmak için <a href="https://ubuntu.com/download/desktop">https://ubuntu.com/download/desktop</a> sitesinden güncel bir Ubuntu indirip kuruyoruz.</p><p>Daha sonrasında, Wazuh kurulum asistanını indirip çalıştırıyoruz:</p><pre>curl -sO https://packages.wazuh.com/4.9/wazuh-install.sh</pre><pre>sudo bash ./wazuh-install.sh -a</pre><p>Kurulum sonunda, Wazuh Dashboard’a erişim sağlamak için bir şifre oluşturulacak ve verilecektir.</p><pre>INFO: --- Summary ---<br>INFO: You can access the web interface https://&lt;wazuh-dashboard-ip&gt;<br>    User: admin<br>    Password: &lt;ADMIN_PASSWORD&gt;<br>INFO: Installation finished.</pre><p>Şifreyi kaybetmemek için terminalden kolayca bir .txt dosyası oluşturup, oraya kaydedelim. Bunun için:</p><pre>nano psw.txt</pre><p>nano editörü açılacaktır. User ve Password bilgilerini kaydettikten sonra sırasıyla:<br><strong>CTRL + O</strong>, <strong>Enter</strong>, <strong>CTRL + X</strong><br>komutlarını kullanarak dosyayı oluşturup, kapatmış olacağız.</p><p>ifconfig komutu ile IP adresinizi öğrenip, tarayıcınızdan Wazuh Dashboard ekranına ulaşabilirsiniz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*id_Jp7YJIbS41Ujffou8WA.png" /></figure><p><strong>Dashboard üzerinden kontrol edebilmek için Wazuh Agent eklememiz gerekmektedir.</strong><br>Sol üst köşeye tıklayıp,<br><strong>Server Management -&gt; Endpoints Summary</strong> kısmına gelerek yeni bir Agent ekliyoruz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gAmEvf12ns0RqbLOkEg3rg.png" /></figure><p><strong>Deploy new agent</strong> tıkladığımızda karşımıza aşağıdaki gibi bir sayfa gelecektir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/969/1*MaJh92Uh5uC7YLUxiNU7YQ.png" /></figure><p>Sırasıyla:</p><ul><li>Takip edeceğimiz makinanın sistemi,</li><li>Wazuh Manager kurulu olan IP adresi (Agent’ın bağlanacağı Manager Wazuh IP adresi),</li><li>Makinanın Dashboard üzerinde görünecek ismi,</li><li>Ulaşım kolaylığı açısından, içinde bulunacağı grup.</li></ul><p>4. aşamada ise:</p><pre>wget https://packages.wazuh.com/4.x/apt/pool/main/w/wazuh-agent/wazuh-agent_4.9.2-1_amd64.deb &amp;&amp;<br>sudo WAZUH_MANAGER=&#39;MANAGER_IP_ADRESS&#39; WAZUH_AGENT_GROUP=&#39;default&#39; WAZUH_AGENT_NAME<br>dpkg -i ./wazuh-agent_4.9.2-1_amd64.deb</pre><p>Seçtiğiniz sisteme, isime ve gruba göre üst kısımda aşağıdaki gibi bir bash komutu göreceksiniz.<br>5. ve son aşamada,</p><pre>sudo systemctl daemon-reload<br>sudo systemctl enable wazuh-agent<br>sudo systemctl start wazuh-agent</pre><p>Kodları sırasıyla terminalde çalıştırdıktan sonra, Agent’ı Wazuh Dashboard’a eklemiş oluyorsunuz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BPPueowuInfuEF4EnfBVAw.png" /></figure><p>Artık Agent kuruldu, detay kısmından bütün olayları ve detaylarını görüntüleyebilirsiniz.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3383273f1d6b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introduction to Cyber Threat Intelligence (CTI)]]></title>
            <link>https://medium.com/@27uzunkaan/introduction-to-cyber-threat-intelligence-cti-bcf74f650e01?source=rss-bd6685e8fb38------2</link>
            <guid isPermaLink="false">https://medium.com/p/bcf74f650e01</guid>
            <category><![CDATA[cyber-threat-intelligence]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Kaan Uzun]]></dc:creator>
            <pubDate>Tue, 12 Nov 2024 11:01:31 GMT</pubDate>
            <atom:updated>2024-11-12T11:01:31.366Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3DPej39jqR5Mj8aP.png" /></figure><p><strong>What is Cyber Threat Intelligence?</strong> Cyber Threat Intelligence (CTI) involves the systematic collection, analysis, and interpretation of data on potential cyber threats. It focuses on understanding the motivations, tactics, and methods of cybercriminals, enabling organizations to proactively defend against potential cyber attacks.</p><p><strong>Why Cyber Threat Intelligence Matters</strong></p><ul><li><strong>Proactive Defense</strong>: Allows organizations to anticipate and mitigate cyber threats before they can cause harm.</li><li><strong>Risk Management</strong>: Helps to prioritize and address security risks based on intelligence-driven insights.</li><li><strong>Identification of Threats</strong>: Supports early detection of potential threats, especially emerging ones.</li><li><strong>Brand Protection</strong>: Safeguards reputation by preventing or limiting the damage of cyber incidents.</li></ul><h3>Objectives of Cyber Threat Intelligence</h3><ul><li><strong>Proactive Threat Identification</strong>: CTI aims to detect potential threats before they escalate, using data from a variety of sources, including the dark web.</li><li><strong>Improving Incident Response</strong>: CTI enhances the speed and accuracy of incident response by providing detailed intelligence on threat actors, including their tactics, techniques, and procedures (TTPs).</li><li><strong>Supporting Strategic Decision-Making</strong>: CTI aligns cybersecurity strategies with broader business objectives by offering valuable insights.</li><li><strong>Threat Actor Profiling</strong>: A critical CTI objective, profiling enables organizations to understand threat actors’ motivations, capabilities, and preferred methods.</li><li><strong>Reducing the Attack Surface</strong>: By identifying and mitigating vulnerabilities early, CTI minimizes potential entry points for attackers.</li><li><strong>Promoting Cooperation and Information Sharing</strong>: Collaboration is essential in CTI to strengthen defenses through shared knowledge and collective intelligence.</li></ul><h3>Types of Cyber Threat Intelligence</h3><ul><li><strong>Strategic Intelligence</strong>: Offers a high-level overview of threats affecting specific geographical areas or industries. It also assesses how threats may evolve over time.</li><li><strong>Tactical Intelligence</strong>: Focuses on specific attack types, including the TTPs used by threat actors, as well as recommended defensive steps.</li><li><strong>Operational Intelligence</strong>: Provides day-to-day threat intelligence bulletins, including Indicators of Compromise (IOCs) and Indicators of Attack (IOAs), to inform security teams of ongoing threats.</li><li><strong>Technical Intelligence</strong>: Involves the analysis of newly discovered malware and vulnerabilities, providing detailed technical insights for mitigating these threats.</li></ul><h3>Requirements for a CTI Analyst</h3><ul><li><strong>Strong Analytical Skills</strong>: To accurately interpret complex data and identify patterns.</li><li><strong>Technical Expertise</strong>: Knowledge of network security, malware analysis, and cyber attack methodologies.</li><li><strong>Awareness of Threat Environment and TTPs</strong>: Familiarity with the specific techniques used by various threat actors.</li><li><strong>Communication Skills</strong>: The ability to translate complex findings into actionable recommendations for different stakeholders.</li><li><strong>Critical Thinking and Problem-Solving</strong>: Essential for anticipating and mitigating advanced threats.</li><li><strong>Knowledge of Intelligence Frameworks and Tools</strong>: Familiarity with frameworks like the MITRE ATT&amp;CK and tools like SIEMs.</li><li><strong>Continuous Learning and Adaptability</strong>: Given the ever-evolving threat landscape, staying current on threats and technologies is crucial.</li><li><strong>Understanding Legal and Ethical Considerations</strong>: CTI professionals must respect legal constraints and ethical guidelines in intelligence gathering.</li></ul><h3>The CTI Lifecycle</h3><ol><li><strong>Direction</strong>: Begins by defining goals, objectives, and scope. It’s essential to plan the collection phase based on specific intelligence requirements.</li><li><strong>Collection</strong>: Involves gathering relevant information from multiple sources.</li><li><strong>Processing</strong>: Transforms collected information into usable data by filtering out irrelevant data.</li><li><strong>Analysis</strong>: Human-led analysis that delves into data details to provide actionable insights.</li><li><strong>Dissemination</strong>: Distributes advisory reports and threat intelligence to relevant stakeholders.</li><li><strong>Feedback</strong>: The final phase focuses on gathering feedback on the report’s timeliness, relevance, and actionability to continuously improve CTI processes.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/732/0*XMRG8CgrZzW9cK0E" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bcf74f650e01" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Elastic SIEM Lab Oluşturma Rehberi]]></title>
            <link>https://medium.com/@27uzunkaan/elastic-siem-lab-olu%C5%9Fturma-rehberi-e0cb2c7c9a9d?source=rss-bd6685e8fb38------2</link>
            <guid isPermaLink="false">https://medium.com/p/e0cb2c7c9a9d</guid>
            <dc:creator><![CDATA[Kaan Uzun]]></dc:creator>
            <pubDate>Sun, 03 Nov 2024 20:07:48 GMT</pubDate>
            <atom:updated>2024-11-03T20:07:48.436Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*moflDCYLdNE8W9tS" /></figure><p>Siber güvenlik dünyasında, SIEM (Security Information and Event Management) sistemleri kurumların güvenlik tehditlerine karşı daha hazırlıklı olmalarını sağlayan kritik araçlardır. SIEM sayesinde güvenlik olayları toplanır, analiz edilir ve anlamlandırılır. Bu rehberde, kendi SIEM lab ortamınızı oluşturmanın adımlarını paylaşacağım. Bu ortam, temel seviyede güvenlik olaylarının nasıl toplanıp analiz edileceğini öğrenmek isteyenler için harika bir başlangıç olacaktır.</p><h3>SIEM Nedir ve Neden Önemlidir?</h3><p>SIEM, güvenlik verilerini toplama, analiz etme ve bu verilerden anlamlı sonuçlar çıkarma amacıyla kullanılan bir teknolojidir. SIEM araçları sayesinde güvenlik olayları hızlıca tespit edilebilir ve kurumlar tehditlere karşı daha hızlı reaksiyon gösterebilir. Özellikle siber güvenlik alanında kariyer yapmak isteyenler için SIEM lab ortamı kurmak, teorik bilgiyi pratiğe dökmek açısından büyük bir fırsattır.</p><h3>SIEM Lab İçin Gerekenler</h3><p>Bir SIEM lab ortamı kurarken ihtiyacınız olan temel gereksinimleri şöyle sıralayabiliriz:</p><ul><li><strong>VirtualBox veya VMware</strong>: Sanal makineler kullanarak lab ortamı oluşturmak için gereklidir.</li><li><strong>Elastic SIEM</strong>: Logların toplanması, analizi ve görselleştirilmesi için kullanılacak SIEM platformudur.</li><li><strong>Linux OS</strong>: Güvenlik olaylarını toplayacak ve Elastic SIEM’in çalışacağı işletim sistemi olarak tercihen Kali Linux önerilir.</li></ul><h3>Elastic SIEM’in Kurulumu</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*3-YBcIPpqMEDpdrI" /></figure><p>Elastic Stack, logları toplamak ve analiz etmek için oldukça popüler bir araçtır.</p><p><strong>Görevler:</strong></p><ul><li>Ücretsiz bir Elastic hesabı oluşturun.</li><li>Kali VM’i kurun.</li><li>Logları toplamak ve SIEM’e iletmek için Linux VM üzerinde Elastic Agent’ı yapılandırın.</li><li>Kali VM üzerinde güvenlik olayları oluşturun.</li><li>Elastic SIEM’de güvenlik olaylarını bulmak için sorgu yapın.</li><li>Güvenlik olaylarını görselleştirmek için bir Dashboard oluşturun.</li><li>Güvenlik olayları için uyarılar oluşturun.</li></ul><h4>Host Linux Sunucusunda Elastic Agent’ı Yükleyin, Yapılandırın ve Yönetin</h4><ol><li><strong>Elastic Defender</strong> <strong>Agent </strong>entegrasyonunu aratın ve ekleyin<strong>.</strong></li><li>Sayfadaki talimatları takip ederek devam edin.</li></ol><h4>Oluşturulan Sanal Makinede Güvenlik Olayları Oluşturma</h4><ol><li><strong>Nmap</strong> gibi ağ keşfi için ücretsiz ve açık kaynaklı bir araç kullanın.</li></ol><ul><li>Nmap, portları taramak, hedefte çalışan işletim sistemi ve yazılımı belirlemek için kullanılabilir.</li><li>Ağ hakkında bilgi toplamak için kullanılır.</li></ul><p><strong>Nmap komutunu çalıştırın:</strong></p><p>sudo nmap &lt;vm-ip&gt;</p><ul><li>IP adresini bulmak için “ifconfig” komutunu kullanabilirsiniz.</li><li>Alternatif olarak, nmap -p- localhost komutunu çalıştırın.</li><li>Birkaç Nmap komutu çalıştırarak çeşitli güvenlik olaylarını gözlemleyin:</li><li>Birkaç Nmap komutu çalıştırarak çeşitli güvenlik olaylarını gözlemleyin:</li></ul><p>sudo nmap -sS localhost</p><ul><li><strong>TCP SYN taraması</strong>: Stealth Scan (diğer adıyla “yarı açık” tarama) olarak da bilinir. SYN paketi gönderir, yanıt bekler ve yanıt alınırsa bağlantıyı kapatır.</li><li>Bu tarama daha hızlıdır ve tam TCP el sıkışmasını tamamlamadığı için güvenlik duvarları veya saldırı tespit sistemleri tarafından daha az tespit edilir.</li></ul><p>nmap -p- localhost</p><ul><li>Varsayılan olarak, Nmap yalnızca en yaygın 1000 portu tarar. -p- ile tüm TCP portları hedeflenir.</li><li>Bu seçenek, kapsamlı taramalar için faydalı olabilir ancak ağdaki açık portların sayısına bağlı olarak çok daha uzun sürebilir.</li><li>sayısına bağlı olarak çok daha uzun sürebilir.</li></ul><p>nmap -sT localhost</p><ul><li><strong>TCP Connect Scan</strong>: Tam bir TCP Bağlantı Taramasıdır. Hedef makineyle tam bir üç yönlü el sıkışma gerçekleştirir ve TCP bağlantısını tamamen kurar.</li><li>Eğer bağlantı başarılı olursa, portun açık olduğunu gösterir. Aksi takdirde kapalı veya filtrelenmiştir.</li><li>Kullanımı daha kolaydır ve kök yetkisi gerektirmez, ancak daha yavaş ve tespit edilmesi daha kolaydır çünkü portla tamamen bağlantı kurması gerekir.</li></ul><p>3. Nmap, birkaç port bulacaktır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/0*3-bgrMguH3ANXldZ" /><figcaption>nmap örneği</figcaption></figure><p><strong>Elastic SIEM’de Güvenlik Olaylarını Sorgulama</strong></p><ol><li><strong>Bağlantı kurulduktan sonra</strong> verilerimizi SIEM Lab’imize iletmiş olacağız.</li><li>Artık SIEM üzerinde logları sorgulamaya ve analiz etmeye başlayabiliriz.</li><li>Elastic Cloud’da <strong>Observability</strong> sayfasına gidin ve <strong>Logs → Stream</strong> seçeneğini seçin.</li><li>Sunucumuzdan gelen çok sayıda log göreceksiniz. Nmap taramaları ile ilgili tüm logları bulmak için bir sorgu girin, örneğin:</li></ol><ul><li>event.action: &quot;nmap_scan&quot; veya process.args: &quot;sudo&quot;</li></ul><p>Her olayın yanındaki üç noktaya tıklayarak log detaylarını rahatlıkla görüntüleyebilirsiniz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*-08TWLL0cQ6ZbZB7" /></figure><h4>6. Olayları Görselleştirmek için Bir Dashboard Oluşturma</h4><ol><li><strong>Analytics</strong> bölümüne gidin ve <strong>Dashboards</strong> sekmesine tıklayın.</li><li><strong>Dashboard</strong> oluştururken yatay ekseni @timestamp, dikey ekseni ise count olarak ayarlayın.</li><li>Dashboard’u kaydedin ve tamamlayın.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*Zn1276SbwPPDROYX" /></figure><h4>Kurallarımız Bir Olayı Tespit Ettiğinde Bildirim Almak için Uyarı Oluşturmak</h4><ol><li><strong>Security</strong> bölümüne gidin ve <strong>Alerts</strong> seçeneğini seçin.</li><li>Yeni bir kural oluşturmak için <strong>Custom Query</strong> seçeneğini seçin.</li></ol><ul><li>Nmap ile çalıştığımız için, buna göre bir uyarı oluşturacağız.</li><li>process.name: &quot;nmap&quot; veya event.action: &quot;nmap_scan&quot; adlı sorguyu girin ve diğer bölümleri varsayılan ayarlarda bırakın.</li><li><strong>Actions</strong> bölümünde, tetiklendiğinde bildirim almak istediğiniz işlemi seçin.</li></ul><ol><li><strong>Actions</strong> bölümünde, tetiklendiğinde bildirim almak istediğiniz işlemi seçin.</li></ol><p>Son olarak, tüm işlemler tamamlandı. Bu uyarıları görüntüleyebilir ve yönetebilirsiniz. Farklı uyarılar ekleyerek kendinizi test etmeyi unutmayın.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*AOzb2Ln7XgXIwUOQ" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e0cb2c7c9a9d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Swift vs. Java: A Showdown for iOS Development]]></title>
            <link>https://medium.com/@27uzunkaan/swift-vs-java-a-showdown-for-ios-development-a068eaf03c67?source=rss-bd6685e8fb38------2</link>
            <guid isPermaLink="false">https://medium.com/p/a068eaf03c67</guid>
            <dc:creator><![CDATA[Kaan Uzun]]></dc:creator>
            <pubDate>Sat, 18 May 2024 11:37:54 GMT</pubDate>
            <atom:updated>2024-05-18T11:37:54.383Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*luD7W0hjfONAp_wBMood9w.png" /></figure><p>In the realm of mobile development, choosing the right programming language is crucial. Both Swift and Java are titans in their own right, but they serve different ecosystems and development needs. Here’s a comprehensive breakdown of their strengths and weaknesses, especially in the context of iOS development, to help you make an informed decision.</p><h3>Swift: The Modern Marvel</h3><p><strong><em>Strengths</em></strong>:</p><ol><li><em>Modern and Concise Syntax: </em><br>Swift’s syntax is designed to be clear and expressive, often resembling natural language. This makes it easier to read and write, reducing the time needed to learn the language and the effort required to maintain the code. Developers often praise Swift for its brevity and elegance, which can lead to increased productivity and fewer errors.</li><li><em>Safety First Approach</em>: <br>Swift incorporates numerous safety features to prevent common programming errors. One of its key features is Automatic Reference Counting (ARC), which handles memory management automatically. This reduces the likelihood of memory leaks and other related issues, allowing developers to focus more on functionality rather than managing resources.</li><li><em>Seamless Integration with Apple’s Ecosystem:</em> <br>Swift was created by Apple specifically for its platforms, including iOS, iPadOS, macOS, watchOS, and tvOS. This means that Swift enjoys first-class support within Apple’s development environment, Xcode. Apple’s frameworks, such as UIKit and SwiftUI, are designed to work seamlessly with Swift, providing a smooth and efficient development experience.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lT55y3ftH0QOHsJOAVvUkw.png" /></figure><p><strong><em>Weaknesses</em></strong>:</p><ol><li><em>Limited Platform Support</em>: <br>While Swift is an excellent choice for Apple’s ecosystem, its utility diminishes when it comes to cross-platform development. Swift’s primary focus is on Apple’s platforms, and although there are efforts like the Swift for TensorFlow project and Swift’s integration into server-side development, it’s not as versatile as Java in supporting a wide range of platforms.</li><li><em>Relative Youth</em>: <br>Swift was introduced in 2014, making it a relatively young language compared to Java, which has been around since 1995. As a result, Swift’s community is smaller, and there are fewer resources, libraries, and tools available. However, this is changing rapidly as Swift gains popularity and the community grows.</li></ol><h3>Java: The Cross-Platform Veteran</h3><p><strong><em>Strengths</em></strong>:</p><ol><li><em>Mature and Established Ecosystem:</em><br>Java has stood the test of time, being one of the most widely used programming languages for over two decades. This longevity has resulted in a vast and mature ecosystem, a robust community, and an abundance of resources, from extensive libraries to comprehensive documentation and tutorials. For new developers, this means plenty of support and learning materials are readily available.</li><li><em>Cross-Platform Powerhouse</em>: <br>Java’s philosophy of “write once, run anywhere” (WORA) is a significant advantage for developers aiming for cross-platform compatibility. Java code can run on any device equipped with a Java Virtual Machine (JVM), making it a popular choice for building applications that need to operate across different platforms, including Android, desktop, and web applications.</li></ol><p><strong><em>Weaknesses</em></strong>:</p><ol><li><em>Verbose Syntax: </em><br>Java is known for its verbosity, often requiring more lines of code and boilerplate to achieve the same functionality that might be done with fewer lines in Swift. This can sometimes make Java code harder to read and maintain, especially for beginners or when working on large projects.</li><li><em>Manual Memory Management: </em><br>Java uses garbage collection for memory management, which automates the process of reclaiming unused memory. While this can be convenient, it also introduces potential performance issues and memory leaks if not managed carefully. Unlike Swift’s ARC, which provides more predictable and efficient memory management, Java’s garbage collection can occasionally result in less efficient resource usage.</li><li><em>Integration with Xcode</em>: <br>Java is not native to Apple’s ecosystem, making iOS development with Java less straightforward. While frameworks like RoboVM allow Java code to be compiled for iOS, the integration is not as smooth as using Swift directly within Xcode. This can lead to additional complexity and potential performance issues.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*nHl_5a_Q_0RN0oLBYWNZkw.png" /><figcaption>“Printing Hello World in Swift”</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9YXxGmWazfEESawkxy2yDA.png" /><figcaption>“Printing Hello World in Java”</figcaption></figure><h3>Conclusion: Choosing the Right Tool for the Job</h3><p>When it comes to native iOS development, Swift is the clear frontrunner. Its modern syntax, safety features, and seamless integration with Xcode make it the optimal choice for developing high-quality iOS applications efficiently and effectively. Swift’s design aligns perfectly with Apple’s vision for app development, ensuring a smooth and intuitive development experience.</p><p>However, if your project requires a cross-platform approach, Java’s strengths come to the fore. Java’s mature ecosystem, extensive libraries, and “write once, run anywhere” capability make it an excellent choice for building applications that need to run on multiple platforms, including both iOS and Android.</p><p>Ultimately, the choice between Swift and Java depends on your project’s specific needs and goals:</p><ul><li>If you are targeting iOS exclusively and prioritize a clean, safe, and efficient development experience, Swift is the way to go. Its tight integration with Apple’s tools and frameworks ensures a seamless development process.</li><li>If you need to reach both iOS and Android users and leverage a robust cross-platform capability, Java’s extensive ecosystem and cross-platform strengths might be more suitable.</li></ul><p>In the ever-evolving landscape of mobile development, both Swift and Java have their places. Understanding their strengths and weaknesses will help you make the best choice for your specific development needs, ensuring the success of your project and the satisfaction of your users.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a068eaf03c67" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>