<?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 Ulvu Khalilli on Medium]]></title>
        <description><![CDATA[Stories by Ulvu Khalilli on Medium]]></description>
        <link>https://medium.com/@UlvuKhalilli?source=rss-21068e1485e7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*WEYgKj8zqUglGfte</url>
            <title>Stories by Ulvu Khalilli on Medium</title>
            <link>https://medium.com/@UlvuKhalilli?source=rss-21068e1485e7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 07:40:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@UlvuKhalilli/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[TryHackMe Mr. Robot CTF: From robots.txt to Root]]></title>
            <link>https://medium.com/@UlvuKhalilli/tryhackme-mr-robot-ctf-from-robots-txt-to-root-fb888383c539?source=rss-21068e1485e7------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb888383c539</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[tryhackme]]></category>
            <dc:creator><![CDATA[Ulvu Khalilli]]></dc:creator>
            <pubDate>Wed, 26 Aug 2026 06:05:31 GMT</pubDate>
            <atom:updated>2026-08-26T06:05:31.963Z</atom:updated>
            <content:encoded><![CDATA[<p>A screenshot-driven walkthrough of enumeration, WordPress credential discovery, reverse-shell access, lateral movement, and SUID Nmap privilege escalation.</p><p><strong>Platform</strong></p><p>TryHackMe</p><p><strong>Room</strong></p><p>Mr. Robot CTF</p><p><strong>Difficulty</strong></p><p>Medium</p><p><strong>Focus</strong></p><p>Web enumeration · WordPress · Reverse shell · Linux privilege escalation</p><p><strong>Spoiler warning: </strong>This is a full solution and includes all three keys. All activity was performed against the intentionally vulnerable TryHackMe lab.</p><p><strong>In This Walkthrough</strong></p><p>1. Lab Setup and Scope</p><p>2. Reconnaissance: A Boot-Timing Gotcha</p><p>3. Web Enumeration: robots.txt Gives the First Lead</p><p>4. Wordlist Hygiene Before Brute Force</p><p>5. Directory Enumeration and WordPress Discovery</p><p>6. Username Enumeration with Response-Size Filtering</p><p>7. Password Discovery and WordPress Access</p><p>8. From WordPress Admin to a Reverse Shell</p><p>9. Post-Exploitation: Moving from daemon to robot</p><p>10. Privilege Escalation: Hunting SUID Binaries</p><p>11. SUID Nmap to Root and Key 3</p><p>12. Attack Chain Summary</p><p>13. What This Room Teaches</p><p>14. Final Result</p><p>15. Research Notes: Validating the Nmap Privilege-Escalation Path</p><p><strong>1. Lab Setup and Scope</strong></p><p>This walkthrough documents my solution of TryHackMe’s intentionally vulnerable Mr. Robot CTF lab. The goal is to recover three hidden keys while moving through a complete attack chain: reconnaissance, web enumeration, credential discovery, initial access, post-exploitation, and privilege escalation.</p><p>All commands shown here are for the TryHackMe lab environment. The machine IP is temporary. My first instance used 10.112.181.148; later the lab timed out and a restarted instance received a different internal address, which is why the final screenshots show a different hostname.</p><p>I started from the Mr. Robot CTF room page. Before touching the target, I confirmed the scope and challenge objective: deploy the lab and recover three keys.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cQXI1dynpaRM-i96v90A0w.png" /><figcaption><em>Figure 1 — The TryHackMe Mr. Robot CTF room</em></figcaption></figure><p>The room first requires a connection to the TryHackMe network. The OpenVPN configuration is what places the attacker machine on the same private lab network as the target.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zEqkWAm6Jg0QviWYD3CGzA.png" /><figcaption>Figure 2 — TryHackMe’s VPN connection instructions.</figcaption></figure><p>After connecting, the access page shows the VPN/network status and the internal virtual IP assigned to the attacker. This is the interface/IP a reverse shell must connect back to later.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IbUjoa9sru6qYH_8IBQeVQ.png" /><figcaption>Figure 3 — Network information after connecting to the lab network.</figcaption></figure><p>Next I started the lab machine. This step matters because the target services are not necessarily ready the instant the machine changes to “On.”</p><p>Figure 4 — Starting the deployable Mr. Robot lab machine.</p><p>Once the target was deployed, TryHackMe assigned the lab IP 10.112.181.148. I use &lt;TARGET_IP&gt; in the commands below so the walkthrough remains reusable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZUV4SHGvY9fiWK1wQeulag.png" /><figcaption>Figure 5 — The first target IP assigned by TryHackMe.</figcaption></figure><p>2. Reconnaissance: A Boot-Timing Gotcha</p><p>I first verified basic reachability with ICMP and then ran a service scan. The host replied to ping, but the first Nmap result showed the expected web/SSH ports as closed. Instead of assuming the box was misconfigured, I checked the target in a browser.</p><p>ping &lt;TARGET_IP&gt;<br>nmap -sC -sV &lt;TARGET_IP&gt;</p><p>The target answered ping, proving the lab route was working. However, the early Nmap scan still showed ports 22, 80, and 443 as closed. That contradiction suggested a timing issue rather than a routing failure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j09Q3PMU7uiCLyXMXSyIfQ.png" /><figcaption>Figure 6 — Reachability succeeded while the first service scan was too early.</figcaption></figure><p>Opening the target immediately showed Linux boot messages in the browser. The machine was still initializing, which explains the misleading early scan. Waiting for services to finish starting prevented me from chasing a false networking problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v_vbYYyOw9HBvVoW6U1SHA.png" /><figcaption>Figure 7 — The target was still booting when the first scan ran.</figcaption></figure><p>3. Web Enumeration: robots.txt Gives the First Lead</p><p>Once the web service was ready, I checked a simple but high-value file first: /robots.txt. In CTFs, it often reveals paths that were hidden from crawlers but are still publicly accessible.</p><p>http://&lt;TARGET_IP&gt;/robots.txt</p><p>The file disclosed two interesting names: fsocity.dic and key-1-of-3.txt. One is a custom dictionary; the other is clearly the first flag. This immediately gave both a win and a likely credential-enumeration resource.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jnup7fpWmS6QwKeOpnJjmw.png" /><figcaption>Figure 8 — robots.txt discloses the custom dictionary and the first key file.</figcaption></figure><p>Requesting key-1-of-3.txt returned the first key directly from the web root.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rrlBgZc2Rsvf0pcy5ACeqg.png" /><figcaption>Figure 9 — Key 1 recovered from a publicly accessible text file.</figcaption></figure><p>The fsocity.dic file contained a very large list of words. The content strongly suggested it was meant to be reused against the application rather than read manually.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BFdznW3hnVx3tngp0Bzl6g.png" /><figcaption>Figure 10 — A portion of the fsocity.dic wordlist.</figcaption></figure><p>4. Wordlist Hygiene Before Brute Force</p><p>Before sending thousands of login attempts, I cleaned the dictionary. This is one of the most useful practical lessons in the room: optimize the input before optimizing the attack.</p><p>wc -l passwords.txt<br>sort -u passwords.txt &gt; unikal_passwords.txt<br>wc -l unikal_passwords.txt</p><p>The raw list contained 858,160 lines. After removing duplicates with sort -u, only 11,451 unique entries remained. That reduces unnecessary requests by roughly 98.7% and makes later enumeration dramatically faster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_v9grOleYnBhW90lrr1l9Q.png" /><figcaption>Figure 11 — Deduplicating the supplied wordlist from 858,160 to 11,451 entries.</figcaption></figure><p>5. Directory Enumeration and WordPress Discovery</p><p>I then mapped the web surface with ffuf using SecLists. The goal was not merely to find “hidden folders,” but to identify the application framework and its administrative entry points.</p><p>ffuf -w /usr/share/wordlists/seclists/Discovery/Web-Content/big.txt -u http://&lt;TARGET_IP&gt;/FUZZ</p><p>The ffuf scan began returning common web paths and status codes. Redirects and 200 responses are especially useful because they reveal real application routes even when directory listing is disabled.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GMxOg1udmboZHBCZU8mt_g.png" /><figcaption>Figure 12 — Starting directory/content enumeration with ffuf.</figcaption></figure><p>The completed output exposed wp-admin, wp-content, wp-includes, wp-login, xmlrpc, readme, robots.txt, and other WordPress-related paths. At this point the application stack was clear: the target was running WordPress.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*72-eKSzDC7J6C_26PZWvvA.png" /><figcaption>Figure 13 — WordPress endpoints discovered through ffuf.</figcaption></figure><p>A manual login test produced WordPress’s “Invalid username” message. That message is important because a different response for a valid username can be used as an enumeration oracle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W16T-n1XsWlddvW2vFj6-A.png" /><figcaption>Figure 14 — The WordPress login page reveals a distinguishable invalid-username response.</figcaption></figure><p>6. Username Enumeration with Response-Size Filtering</p><p>Instead of blindly testing every username/password combination, I split the problem into two stages. First I enumerated valid usernames with a fixed dummy password. ffuf’s response-size filter made the difference between invalid and valid usernames easy to isolate.</p><p>ffuf -w unikal_passwords.txt:USER -u http://&lt;TARGET_IP&gt;/wp-login.php -X POST \<br> -d “log=USER&amp;pwd=test&amp;wp-submit=Log+In” \<br> -H “Content-Type: application/x-www-form-urlencoded” -fs 3608</p><p>The baseline invalid-username response was 3608 bytes, so I filtered that size with -fs 3608. The remaining responses were elliot/ELLIOT/Elliot at 3659 bytes, identifying elliot as a valid account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s-l9l1mhEtGKk9bY6UlQ1g.png" /><figcaption>Figure 15 — ffuf isolates the valid WordPress username by response size.</figcaption></figure><p>7. Password Discovery and WordPress Access</p><p>With the username known, the second stage brute-forced only the password field. I filtered the known “valid user, wrong password” response size so that the successful redirect would stand out.</p><p>ffuf -w unikal_passwords.txt:PASS -u http://&lt;TARGET_IP&gt;/wp-login.php -X POST \<br> -d “log=elliot&amp;pwd=PASS&amp;wp-submit=Log+In” \<br> -H “Content-Type: application/x-www-form-urlencoded” -fs 3659</p><p>The successful candidate was ER28–0652. Unlike the failed responses, it returned HTTP 302 with an empty body, which made the result unambiguous.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SK7jhEQoAnXF5zv74uNWvQ.png" /><figcaption>Figure 16 — Password discovery: ER28–0652 produces the success redirect.</figcaption></figure><p>Logging in with the recovered credentials opened the WordPress dashboard. The screenshot also shows WordPress 4.3.1 and the Elliot Alderson account, confirming authenticated administrative/editor-level access to the CMS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mn3k08njV2H-mroUdWpXnA.png" /><figcaption>Figure 17 — Authenticated access to the WordPress dashboard.</figcaption></figure><p>8. From WordPress Admin to a Reverse Shell</p><p>Administrative access to a WordPress instance can become code execution when the account is allowed to edit PHP theme files. I used the Twenty Fifteen theme editor and placed a PHP reverse-shell payload in 404.php, configured to call back to my TryHackMe VPN IP on TCP port 9001.</p><p>rlwrap nc -lvnp 9001</p><p>The Theme Editor exposed raw PHP for the 404 template. This was the code-execution point: once the edited template was executed by the web server, the target initiated a connection back to my listener.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4vaEEbGJUwQ75sz7YYWUyg.png" /><figcaption>Figure 18 — A PHP reverse shell placed into the active theme’s 404.php template.</figcaption></figure><p>My first netcat syntax attempt omitted the listen flags; the corrected command was rlwrap nc -lvnp 9001. The listener then received a connection from the target and dropped me into a shell running as the low-privileged daemon user (uid=1).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I5RDvravf6z6fy-vCOYG6w.png" /><figcaption>Figure 19 — Reverse shell received as the daemon account.</figcaption></figure><p>A direct request to /wp-admin/404.php returned HTTP 404. This is a useful troubleshooting reminder: theme templates do not live under /wp-admin. The relevant file is under the active theme path (for example /wp-content/themes/twentyfifteen/404.php), or it is executed when WordPress handles a non-existent route.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KiPF-b_s3inJBD4oqnPBbA.png" /><figcaption>Figure 20 — A failed direct trigger path; the theme template is not served from /wp-admin/404.php.</figcaption></figure><p>9. Post-Exploitation: Moving from daemon to robot</p><p>The reverse shell gave code execution, but not the permissions needed to read the second key. In /home/robot, key-2-of-3.txt was protected while password.raw-md5 was readable. The hash c3fcd3d76192e4007dfb496cca67e13b is MD5 and resolves to abcdefghijklmnopqrstuvwxyz. With the recovered password, I authenticated as the robot user.</p><p>cat password.raw-md5<br>ssh robot@&lt;TARGET_IP&gt;</p><p>As daemon, reading key-2-of-3.txt failed with “Permission denied,” but password.raw-md5 exposed the robot account hash. After recovering the password, I used SSH to log in as robot and read the second key.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ePT1meYtlgZ7SGouavhBIg.png" /><figcaption>Figure 21 — The readable MD5 hash enables access to the robot account and Key 2.</figcaption></figure><p>The new session confirms whoami = robot and shows the second key. sudo -l then reports that robot is not allowed to run sudo, so a different privilege-escalation path is required.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z060n6pMYK4ySyyuqLyKNQ.png" /><figcaption>Figure 22 — Key 2 recovered; sudo is not available to the robot user.</figcaption></figure><p>10. Privilege Escalation: Hunting SUID Binaries</p><p>When sudo is unavailable, SUID binaries are a standard place to look. A SUID executable runs with the effective permissions of its owner; if a root-owned binary exposes a shell escape, it can become a direct path to root.</p><p>find / -perm -u=s -type f 2&gt;/dev/null</p><p>The SUID search returned several normal system binaries, but one entry was unusual: /usr/local/bin/nmap. An old Nmap binary with SUID set is a classic privilege-escalation clue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hg0VEH1pSJG_pbi7PWD2vg.png" /><figcaption>Figure 23 — SUID enumeration reveals /usr/local/bin/nmap.</figcaption></figure><p>During this stage the lab instance stopped responding and the session timed out. This is why the final root screenshot uses a different internal hostname: the TryHackMe machine had to be restarted. In a write-up, documenting environment changes avoids confusing readers when IPs do not match across screenshots.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WudESAc4154AssxhDTr3JA.png" /><figcaption>Figure 24 — The original lab instance timed out during privilege-escalation work.</figcaption></figure><p>After the restart, I repeated the SUID enumeration and again confirmed the same important finding: /usr/local/bin/nmap. Re-validating the prerequisite before exploitation is better than assuming the new instance is identical.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GN-nBGiwYxNZ2JOoMvUrNQ.png" /><figcaption>Figure 25 — Reconfirming the SUID Nmap binary on the restarted instance.</figcaption></figure><p>11. SUID Nmap to Root and Key 3</p><p>The installed Nmap is an old build (the screenshot shows Nmap 3.81) with interactive mode. Because the binary is SUID, the interactive shell escape inherits elevated privileges on this lab image. The sequence is short: launch the SUID binary, enter interactive mode, escape to a shell, and verify the effective user.</p><p>/usr/local/bin/nmap — interactive<br>nmap&gt; !sh<br>whoami<br>cat /root/key-3-of-3.txt</p><p>The interactive Nmap prompt accepted !sh and spawned a shell. whoami returned root, after which /root/key-3-of-3.txt was readable. That completed the machine with full root access and the third key.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uOU8a3f9dLidExwvarE-zg.png" /><figcaption>Figure 26 — SUID Nmap interactive mode yields a root shell and the final key.</figcaption></figure><p>12. Attack Chain Summary</p><p>Connect to the TryHackMe network and deploy the lab</p><p>Verify reachability; wait for the machine to finish booting</p><p>Read /robots.txt → discover fsocity.dic and Key 1</p><p>Deduplicate the custom wordlist (858,160 → 11,451 lines)</p><p>Enumerate web content → identify WordPress and wp-login.php</p><p>Use response-size differences to enumerate username elliot</p><p>Brute-force only the password field → recover ER28–0652</p><p>Log into WordPress → edit a PHP theme template → reverse shell as daemon</p><p>Read robot’s MD5 hash → recover password → SSH as robot → Key 2</p><p>Enumerate SUID files → identify /usr/local/bin/nmap</p><p>Use Nmap interactive shell escape → root → Key 3</p><p>13. What This Room Teaches</p><p><strong>Boot state matters</strong><br> A reachable host can still have services unavailable while it is starting. Validate with multiple signals before debugging the wrong layer.</p><p><strong>robots.txt is not access control</strong><br> Anything listed there is still public. Sensitive paths should be protected by authorization, not crawler directives.</p><p><strong>Clean wordlists first</strong><br> Removing duplicates cut the supplied list by roughly 98.7%, reducing time and unnecessary traffic.</p><p><strong>Response behavior is data</strong><br> Different status codes, body sizes, and error messages can act as enumeration oracles even when the UI looks generic.</p><p>14. Final Result</p><p>The box was fully compromised from a web-only starting point to root. The path was not a single exploit; it was a chain of small weaknesses: public disclosure, distinguishable login responses, weak credentials, editable server-side PHP, a crackable password hash, and a dangerous SUID binary. That chaining mindset is the real lesson of the room.</p><p>References</p><p>TryHackMe — Mr Robot CTF room: <a href="https://tryhackme.com/room/mrrobot">https://tryhackme.com/room/mrrobot</a></p><p>GTFOBins — nmap: <a href="https://gtfobins.github.io/gtfobins/nmap/">https://gtfobins.github.io/gtfobins/nmap/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb888383c539" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Defense in Depth: Building Strong Cybersecurity with Multiple Layers]]></title>
            <link>https://medium.com/@UlvuKhalilli/defense-in-depth-building-strong-cybersecurity-with-multiple-layers-f25a7b344636?source=rss-21068e1485e7------2</link>
            <guid isPermaLink="false">https://medium.com/p/f25a7b344636</guid>
            <category><![CDATA[security-strategy]]></category>
            <category><![CDATA[defense-in-depth]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[cyber-awareness]]></category>
            <dc:creator><![CDATA[Ulvu Khalilli]]></dc:creator>
            <pubDate>Fri, 22 May 2026 16:01:10 GMT</pubDate>
            <atom:updated>2026-05-22T16:01:10.896Z</atom:updated>
            <content:encoded><![CDATA[<p>Cybersecurity is not about depending on one tool or one protection method. A company cannot stay safe only by using a firewall, antivirus, or strong password policy. Modern attackers use many different techniques, so organizations need many different layers of protection. This idea is called <strong>Defense in Depth</strong>.</p><p>Defense in Depth means using multiple security controls together to protect systems, networks, applications, data, and people. If one layer fails, another layer can still reduce the risk or stop the attacker. It is one of the most important principles in cybersecurity because it creates stronger and more reliable protection.</p><h3>Historical Context</h3><p>The idea of Defense in Depth originally comes from military strategy. In war, an army does not usually protect a base with only one wall. Instead, it uses several layers such as fences, guards, checkpoints, barriers, surveillance, and backup forces. If an enemy passes one layer, they still face another layer.</p><p>Cybersecurity uses the same idea. A company should not depend on only one security control. For example, if an attacker bypasses a firewall, endpoint protection, access controls, monitoring systems, and employee awareness can still help protect the organization.</p><p>Over time, this military concept became a key cybersecurity strategy. Today, Defense in Depth is used by companies, governments, schools, banks, hospitals, and cloud service providers to protect important digital assets.</p><h3>Layered Security Explained</h3><p>Defense in Depth includes different layers of security. Each layer has a specific role.</p><p>The first layer is <strong>physical security</strong>. This protects buildings, offices, servers, and devices. Examples include locked doors, security cameras, ID cards, guards, and restricted server rooms. If attackers can physically access a server, they may be able to steal or damage data.</p><p>The second layer is <strong>network security</strong>. This protects the organization’s network from unauthorized access and malicious traffic. Examples include firewalls, intrusion detection systems, intrusion prevention systems, VPNs, network segmentation, and secure Wi-Fi settings.</p><p>The third layer is <strong>endpoint security</strong>. Endpoints are devices such as laptops, desktops, servers, and mobile phones. Endpoint protection includes antivirus, EDR, patch management, device encryption, and secure configuration. This layer is important because attackers often target user devices first.</p><p>The fourth layer is <strong>application security</strong>. This protects software and web applications. Examples include secure coding, input validation, authentication, authorization, and regular vulnerability testing. If an application has weak security, attackers may use it to access sensitive data.</p><p>The fifth layer is <strong>data security</strong>. Data is often the main target of attackers. Organizations should protect data with encryption, backups, access control, data classification, and data loss prevention tools. Sensitive data should be protected both when it is stored and when it is transmitted.</p><p>The sixth layer is <strong>administrative security</strong>. This includes policies, procedures, risk management, employee training, and incident response plans. Technology alone is not enough. People and processes are also important parts of cybersecurity.</p><h3>Real-World Example</h3><p>Imagine a technology company that stores customer information in a cloud database.</p><p>If the company only uses a password to protect the database, the risk is high. If an attacker steals the password, they may access everything.</p><p>With Defense in Depth, the company uses many protections:</p><ul><li>Multi-factor authentication for logins</li><li>Least privilege access for employees</li><li>Firewall rules to limit network access</li><li>Encryption for sensitive data</li><li>Logging and monitoring with SIEM</li><li>Endpoint protection on employee laptops</li><li>Regular vulnerability assessments</li><li>Employee phishing awareness training</li><li>Backups for disaster recovery</li></ul><p>Now, even if one password is stolen, the attacker still faces many other security layers.</p><h3>Implementation in Technology Companies</h3><p>Technology-driven companies should use Defense in Depth across the whole organization.</p><p>For <strong>network security</strong>, companies should use firewalls, VPNs, network segmentation, and monitoring tools. Network segmentation is especially useful because it separates important systems from normal user networks. If an attacker compromises one area, segmentation can stop them from moving easily to other systems.</p><p>For <strong>application security</strong>, companies should build security into the software development process. Developers should use secure coding practices, code reviews, vulnerability scanning, and penetration testing. Security should be included from the design stage, not added only after the product is finished.</p><p>For <strong>endpoint security</strong>, companies should protect laptops, servers, and mobile devices with EDR tools, antivirus, patch updates, disk encryption, and strong configuration. Since many attacks begin with phishing or malware on a user device, endpoint security is very important.</p><p>For <strong>data security</strong>, companies should encrypt sensitive data, control who can access it, and keep secure backups. Backups are especially important against ransomware attacks because they help the company recover without paying attackers.</p><p>For the <strong>human element</strong>, companies should train employees regularly. Many attacks start with social engineering, such as phishing emails. Employees should know how to recognize suspicious links, report security incidents, and follow company security policies.</p><h3>Visual Elements</h3><p>A good visual for Defense in Depth would be a layered diagram.</p><p>At the center, place the company’s critical assets:</p><p><strong>Data, systems, applications, and users</strong></p><p>Around the center, show protective layers:</p><ol><li>Physical Security</li><li>Network Security</li><li>Endpoint Security</li><li>Application Security</li><li>Data Security</li><li>Monitoring and Detection</li><li>Policies and Employee Awareness</li></ol><p>This diagram shows that cybersecurity is not one wall. It is a complete structure with many connected protections.</p><h3>Why Defense in Depth Matters</h3><p>Defense in Depth is important because no security control is perfect. Firewalls can be bypassed. Passwords can be stolen. Software can have vulnerabilities. Employees can make mistakes. Attackers only need one weak point, but defenders need to protect many areas.</p><p>By using many layers, organizations reduce the chance of a successful attack. They also improve detection and response. If an attacker enters one part of the system, monitoring tools and security teams may still detect suspicious activity before serious damage happens.</p><h3>Conclusion</h3><p>Defense in Depth is one of the strongest ideas in cybersecurity. It teaches us that security should not depend on one single control. Instead, organizations should use many layers of protection across people, processes, and technology.</p><p>A strong Defense in Depth strategy includes physical security, network security, endpoint security, application security, data protection, monitoring, policies, and employee training. When these layers work together, they create a much stronger defense against cyber threats.</p><p>In the next part of this blog series, we will explore another important cybersecurity principle: <strong>Least Privilege</strong>. This principle explains why users and systems should only have the access they truly need.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f25a7b344636" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Synthesizing Security Concepts: Building a Cohesive Strategy]]></title>
            <link>https://medium.com/@UlvuKhalilli/synthesizing-security-concepts-building-a-cohesive-strategy-0d30cb6e8087?source=rss-21068e1485e7------2</link>
            <guid isPermaLink="false">https://medium.com/p/0d30cb6e8087</guid>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[cyber-awareness]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[security-strategy]]></category>
            <dc:creator><![CDATA[Ulvu Khalilli]]></dc:creator>
            <pubDate>Fri, 22 May 2026 15:58:00 GMT</pubDate>
            <atom:updated>2026-05-22T15:58:00.450Z</atom:updated>
            <content:encoded><![CDATA[<p>Cybersecurity is not built with one tool, one policy, or one strong password. A strong security posture is created when multiple principles work together as a complete strategy. Concepts such as Defense in Depth, Least Privilege, Separation of Duties, Secure by Design, and Security Through Obscurity all play different roles, but together they help organizations reduce risk and respond better to modern cyber threats.</p><p>In this final post, I will explain how these principles connect and how a technology-driven company can use them as one cohesive security framework.</p><h3>Overview of Discussed Concepts</h3><p><strong>Defense in Depth</strong> means using multiple layers of security instead of depending on only one protection method. For example, an organization may use firewalls, endpoint protection, strong authentication, network monitoring, encryption, backups, and employee training at the same time. If one layer fails, another layer can still protect the system.</p><p><strong>Least Privilege</strong> means users, applications, and systems should only have the access they truly need to do their job. For example, a normal employee should not have administrator privileges if they only need access to email and documents. This reduces the damage an attacker can cause if an account is compromised.</p><p><strong>Separation of Duties</strong> means important tasks should be divided between different people or roles. This prevents one person from having too much power. For example, one employee may request a financial transaction, but another employee must approve it. In cybersecurity, this helps reduce fraud, insider threats, and accidental mistakes.</p><p><strong>Secure by Design</strong> means security should be included from the beginning of a system’s development, not added later as a quick fix. Developers should think about authentication, encryption, input validation, access control, and secure coding before the product is released.</p><p><strong>Security Through Obscurity</strong> means hiding information that could help attackers. For example, a company may avoid exposing software version numbers or internal system details. However, this should never be the main security method. It can support security, but it cannot replace strong technical controls.</p><h3>Interconnectivity of Principles</h3><p>These principles are strongest when they work together. For example, imagine a company that builds an online banking application.</p><p>First, <strong>Secure by Design</strong> ensures that the application is created with strong authentication, encrypted data, secure APIs, and safe coding practices. Then, <strong>Least Privilege</strong> makes sure users and services only have the permissions they need. A customer service employee may view customer information, but they should not be able to change backend database settings.</p><p>Next, <strong>Separation of Duties</strong> prevents one person from controlling the whole system. Developers, system administrators, security analysts, and auditors should have different responsibilities. This makes it harder for one mistake or one malicious insider to cause serious damage.</p><p>At the same time, <strong>Defense in Depth</strong> protects the organization with many layers. Even if an attacker steals one password, multi-factor authentication, monitoring tools, firewalls, endpoint detection, and access controls can stop or slow the attack.</p><p>Finally, <strong>Security Through Obscurity</strong> can add a small extra layer. For example, the company can avoid revealing unnecessary system details to the public. But it should only support the main controls, not replace them.</p><p>Together, these principles create a layered and balanced security strategy.</p><h3>Designing a Cohesive Security Strategy</h3><p>A cohesive cybersecurity strategy should include people, processes, and technology.</p><p>First, organizations should build a culture where security is everyone’s responsibility. Employees must understand phishing, password safety, social engineering, and the importance of reporting suspicious activity. Even the best technical tools can fail if employees are not trained.</p><p>Second, companies need strong policies. Access control policies should define who can access which systems. Password and MFA policies should protect user accounts. Incident response policies should explain what to do when an attack happens. These policies must be clear, practical, and regularly updated.</p><p>Third, security should be part of the development and business process. Secure by Design should be used during planning, coding, testing, deployment, and maintenance. Security testing, vulnerability assessment, and penetration testing should be done regularly.</p><p>Fourth, organizations should continuously improve. Cyber threats change over time, so security cannot stay the same forever. Companies should review logs, learn from incidents, patch systems, update tools, and improve employee training.</p><p>A strong framework may look like this:</p><ol><li>Design systems securely from the beginning.</li><li>Limit user and system access with Least Privilege.</li><li>Divide responsibilities using Separation of Duties.</li><li>Protect systems with multiple layers through Defense in Depth.</li><li>Hide unnecessary technical information as an extra support layer.</li><li>Monitor, test, and improve continuously.</li></ol><h3>Visualizing the Strategy</h3><p>A useful diagram for this strategy would be a layered model.</p><p>At the center, we can place the organization’s critical assets, such as data, applications, and systems. Around them, we can show multiple layers:</p><ul><li>Secure design and secure coding</li><li>Identity and access management</li><li>Least privilege permissions</li><li>Separation of duties</li><li>Network security</li><li>Endpoint protection</li><li>Monitoring and SIEM</li><li>Incident response</li><li>Employee awareness training</li></ul><p>This visual model shows that cybersecurity is not one wall. It is a full structure with many connected layers.</p><p>Another useful infographic could show the relationship between red teams, blue teams, and purple teams. Red teams test security by simulating attackers. Blue teams defend systems and respond to incidents. Purple teams connect both sides by sharing feedback and improving defenses.</p><h3>Looking Forward</h3><p>Cybersecurity is becoming more complex because of cloud computing, remote work, artificial intelligence, ransomware, supply chain attacks, and advanced persistent threats. Because of this, foundational security principles are more important than ever.</p><p>In the future, companies will need to use more automation, better threat intelligence, stronger identity protection, and continuous monitoring. However, the basic ideas will remain the same. Organizations must still limit access, divide responsibilities, design securely, use multiple layers of protection, and improve over time.</p><p>Security is not a one-time project. It is a continuous process.</p><h3>Call to Action and Conclusion</h3><p>Every organization should ask itself important questions:</p><ul><li>Do our users have more access than they need?</li><li>Are our systems secure from the design stage?</li><li>Do we rely on only one security control?</li><li>Are responsibilities separated clearly?</li><li>Do we train employees regularly?</li><li>Can we detect and respond to attacks quickly?</li></ul><p>A strong cybersecurity strategy is not created by one principle alone. It is created when multiple principles work together. Defense in Depth, Least Privilege, Separation of Duties, Secure by Design, and Security Through Obscurity each provide value. When they are combined correctly, they help organizations build a stronger, smarter, and more resilient security posture.</p><p>In the end, cybersecurity is about balance. Organizations must prevent attacks, detect suspicious activity, respond quickly, and continuously learn from new threats. By using these principles together, companies can protect their systems, their data, and their users more effectively.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0d30cb6e8087" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>