<?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 Faith akerele on Medium]]></title>
        <description><![CDATA[Stories by Faith akerele on Medium]]></description>
        <link>https://medium.com/@secbyarafai?source=rss-a3af3133e371------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*HQdj5tW3mPvPBPWfFS9qPw.jpeg</url>
            <title>Stories by Faith akerele on Medium</title>
            <link>https://medium.com/@secbyarafai?source=rss-a3af3133e371------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 25 Nov 2026 00:11:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@secbyarafai/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[Building an IoT Intruder Alarm with a Raspberry Pi Pico W - PIR Detection and Telegram Alerts]]></title>
            <link>https://secbyarafai.medium.com/building-an-iot-intruder-alarm-with-a-raspberry-pi-pico-w-pir-detection-and-telegram-alerts-441f799f3e02?source=rss-a3af3133e371------2</link>
            <guid isPermaLink="false">https://medium.com/p/441f799f3e02</guid>
            <category><![CDATA[hands-on-tutorials]]></category>
            <category><![CDATA[iot-security]]></category>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[raspberry-pi-pico]]></category>
            <dc:creator><![CDATA[Faith akerele]]></dc:creator>
            <pubDate>Sun, 15 Nov 2026 12:48:12 GMT</pubDate>
            <atom:updated>2026-11-15T12:48:12.762Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/596/0*mnP3Qi4K47Df7rD8.jpg" /></figure><p>In this project, I designed and built an IoT-enabled intruder alarm using a Raspberry Pi Pico W, a PIR motion sensor, a buzzer and an LED. When the system is armed and motion is detected, it sounds a local alarm and sends a real-time alert to the homeowner’s phone through a Telegram bot, wherever they are.</p><p>The brief came from a (scenario) security systems company whose existing product only rang a local bell. They wanted an upgrade that could notify the owner remotely, stay affordable, run reliably and be usable without any technical knowledge. I built the system one component at a time, testing each part on its own before combining them, so every feature in the final build was backed by a confirmed test.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/307/0*nV55nvnW6AtcpBZY.jpeg" /></figure><p><em>Pico on breadboard with PIR sensor, LED and buzzer connected</em></p><h3>Project Overview</h3><p>The system follows a Machine to Machine (M2M) IoT architecture split into three domains:</p><p>· <strong>Device domain:</strong> the Pico W reads the PIR sensor and drives the buzzer and LED</p><p>· <strong>Network domain:</strong> Wi-Fi (IEEE 802.11) connects the device to the LAN and out to the internet</p><p>· <strong>Application domain:</strong> Telegram acts as the user interface for alerts and remote control</p><p>Several factors were considered throughout:</p><p>· Keeping the total hardware cost under £30</p><p>· Making alerts fast enough to be useful in a real break-in</p><p>· Preventing false alarms caused by sensor noise</p><p>· Making sure only the owner can arm or disarm the system remotely</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/0*HcDu4pPtjRFNI8dg.png" /></figure><h3>Tools Used</h3><p><strong>Hardware</strong></p><p>· Raspberry Pi Pico W</p><p>· HC-SR501 PIR motion sensor</p><p>· Active buzzer</p><p>· 1 x LED and 1 x 330 Ohm resistor</p><p>· Breadboard, jumper wires and a micro USB cable</p><p><strong>Software</strong></p><p>· Thonny IDE</p><p>· MicroPython</p><p>· Telegram Bot API (via BotFather)</p><p>· timeapi.io for timestamps</p><h3>Wiring</h3><p>PIR VCC =&gt; VSYS (5V)</p><p>PIR OUT =&gt; GPIO 16</p><p>Buzzer (+) =&gt; GPIO 5</p><p>LED (via 330Ω resistor) =&gt; GPIO 9</p><p>All grounds =&gt;GND</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/307/0*B1oluZcM_twZfENo.jpeg" /></figure><p><em>Close-up of the Pico pin connections</em></p><h3>Step 1: Testing the Pico and the LED</h3><p>Before connecting any external components, I needed to confirm the Pico W was working and that I could control a GPIO output. The onboard LED is the simplest way to do this because it needs no extra wiring.</p><p>from machine import Pin<br>from time import sleep</p><p>led = Pin(‘LED’, Pin.OUT)<br>led.on()<br>sleep(1)<br>led.off()</p><p>Once that worked, I moved the LED to GPIO 9 and used a while True loop to flash it every 0.5 seconds. This confirmed the external wiring and prepared the flashing pattern I would later use for the alarm.</p><h3>Step 2: Testing the Buzzer</h3><p>The buzzer is the main local alarm output. Because it is an active buzzer, it produces a tone on its own when powered, so I only needed to switch GPIO 5 on and off. The buzzer gave a continuous tone when on, confirming it was wired correctly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/307/0*KtfoenGlk3IoNBlB.jpeg" /></figure><p><em>Buzzer wired to the breadboard</em></p><h3>Step 3: Testing the PIR Motion Sensor</h3><p>The PIR sensor is the core detection component. It detects changes in infrared radiation caused by movement and outputs a digital HIGH (1) or LOW (0).</p><p>I set GPIO 16 as an input with a pull-down resistor and printed the reading in a loop. When I waved my hand in front of the sensor, the value changed to 1.</p><p>pir = Pin(16, Pin.IN, Pin.PULL_DOWN)</p><p>while True:<br> if pir.value() == 1:<br> print(‘Motion detected!’)<br> else:<br> print(‘No motion’)<br> sleep(0.5)</p><p>I chose a PIR sensor over an ultrasonic sensor because PIR responds to body heat and movement, which makes it better suited to detecting people. Ultrasonic sensors are designed for measuring distance and are more easily affected by obstacles.</p><h3>Step 4: Fixing False Triggers with a Debounce Filter</h3><p>During testing I noticed a single hand wave was triggering the sensor 3 to 5 times. In the full system, that would mean several Telegram alerts for one event.</p><p>To fix this, I added a 300ms debounce filter. The sensor now has to stay HIGH for at least 300ms before the movement counts as a confirmed detection.</p><p>DEBOUNCE = 300<br>motion_start = 0</p><p>while True:<br> if pir.value() == 1:<br> if motion_start == 0:<br> motion_start = ticks_ms()<br> elif ticks_diff(ticks_ms(), motion_start) &gt; DEBOUNCE:<br> print(‘Confirmed motion!’)<br> else:<br> motion_start = 0</p><p>I also added a cooldown timer so that one confirmed movement can’t flood the user with repeated alerts.</p><h3>Step 5: Connecting to Wi-Fi</h3><p>The Pico W needs an internet connection to send alerts, so I tested Wi-Fi on its own before adding any Telegram code. I created a WLAN object in station mode, connected to my network and printed the IP address to confirm the connection worked.</p><p>wlan = network.WLAN(network.STA_IF)<br>wlan.active(True)<br>wlan.connect(SSID, PASSWORD)</p><p>while not wlan.isconnected():<br> sleep(1)</p><p>print(‘Connected:’, wlan.ifconfig())</p><p>In the final build I added reconnection logic so the device restores its connection automatically if Wi-Fi drops.</p><h3>Step 6: Sending Telegram Alerts</h3><p>I created a Telegram bot with BotFather, then found my chat ID by messaging the bot and checking the getUpdates endpoint. The Pico sends alerts as an HTTPS POST to the sendMessage endpoint.</p><p>URL = ‘https://api.telegram.org/bot&#39; + BOT_TOKEN + ‘/sendMessage’<br>payload = ‘{“chat_id”:”’ + CHAT_ID + ‘“,”text”:”Motion detected!”}’<br>response = urequests.post(URL, data=payload,<br> headers={‘Content-Type’: ‘application/json’})<br>response.close()</p><p>The message appeared on my phone within 2 seconds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/262/0*vTXDkLS-VsBrj3Bj.png" /></figure><h3>Step 7: Remote Arm and Disarm</h3><p>To control the alarm without touching the hardware, the Pico polls the getUpdates endpoint every 2 seconds and checks for /arm, /disarm, /status and /logs commands. An offset stops it from re-reading old messages.</p><p><strong>Security consideration:</strong> anyone who finds the bot could try sending it commands. To stop this, the system only accepts commands from my specific Telegram chat ID, and all traffic to the Telegram API is encrypted over HTTPS. This follows the risk-management guidance in ISO/IEC 27400 for IoT security and privacy.</p><h3>Step 8: Event Logging</h3><p>The client needed an audit trail of every detection and every arm or disarm action. I wrote each event to a log.txt file on the Pico’s flash memory, with a timestamp from timeapi.io. Because the file is stored on flash, it survives reboots, and the /logs command sends the full log to Telegram.</p><p>def log_event(event_type, detail=’’):<br> entry = ‘[{}] {} — {}’.format(timestamp, event_type, detail)<br> with open(LOG_FILE, ‘a’) as f:<br> f.write(entry + ‘\n’)</p><h3>Testing Against Client Requirements</h3><p><strong>Result</strong></p><p>Detect movement using a PIR sensor- Yes: Detects motion within 300ms on GPIO 16</p><p>Send a real-time alert to the user’s phone- Yes: Telegram alert delivered in 1–2 seconds</p><p>Arm and disarm remotely- Yes: /arm and /disarm work via Telegram</p><p>Local alarm (buzzer and LED)- Yes: Siren pattern on GPIO 5 and GPIO 9</p><p>Log all events with timestamps- Yes: Written to log.txt on flash</p><p>Retrieve the log remotely- Yes: /logs returns the full log</p><p>Hardware cost under £30- Yes: Total cost was £14.50</p><p>Run continuously without crashing- Yes: Ran for 12 hours without failure</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/297/0*MlXM63XGxl11ntr1.gif" /></figure><h3>Optimisation Decisions</h3><p>Looking back, a few changes would improve the system:</p><p>· A cleaner log format, for example one line per event with clear labels</p><p>· A fallback alert method, such as SMS or email, for when Wi-Fi is down</p><p>· Tuning the PIR sensitivity and delay potentiometers to further reduce false positives</p><p>· An enclosure and battery backup, so the device can’t simply be unplugged by an intruder</p><h3>Key Takeaways</h3><p>1. Testing each component on its own before combining them made faults easy to isolate. Every feature in the final build had already been confirmed working.</p><p>2. Raw sensor input is noisy. A simple 300ms debounce and a cooldown timer turned 3–5 alerts per movement into one.</p><p>3. Even a small IoT device needs basic security. Restricting control to a single chat ID and using HTTPS protects the arm/disarm function from unauthorised access.</p><p>4. Logging events with timestamps produced an audit trail that can be reviewed remotely, the same principle used in SOC monitoring.</p><p>5. A working, measurable prototype is possible on a tight budget. The full build cost £14.50 against a £30 target.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=441f799f3e02" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[IT Support Placement at Hull College -Seven Real Tickets, Seven Repairs]]></title>
            <link>https://secbyarafai.medium.com/it-support-placement-at-hull-college-seven-real-tickets-seven-repairs-9ee90f46157d?source=rss-a3af3133e371------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ee90f46157d</guid>
            <category><![CDATA[hardware]]></category>
            <category><![CDATA[it-support]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Faith akerele]]></dc:creator>
            <pubDate>Sat, 03 Oct 2026 23:25:01 GMT</pubDate>
            <atom:updated>2026-10-03T23:25:01.131Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/571/0*OncUnONg1TNQkrhI" /></figure><p>In this project, I completed seven IT support and management tasks during my work placement at Hull College IT Services. I worked alongside qualified technicians to respond to live support tickets and carry out hardware, storage, GPU and network work across the college.</p><p>Each task followed the same core process which are to confirm the fault, work safely, document the evidence and verify the fix actually worked before closing it out. This reflects how support tickets are handled in a real IT department, where every repair needs to be traceable back to a confirmed diagnosis.</p><h3>Placement Overview</h3><p>The placement covered a mix of hardware repair and infrastructure tasks:</p><ul><li>Fault logging and triage for a queue of faulty laptops</li><li>Battery diagnosis using a real-world test method</li><li>Battery and keyboard replacement on HP EliteBook laptops</li><li>SSD installation and formatting on a classroom desktop</li><li>GPU installation with before/after performance benchmarking</li><li>Network port cataloguing for a 24-PC classroom</li></ul><p>Several factors were considered throughout:</p><ul><li>Confirming the reported fault before opening any device</li><li>Following safe working practice and the Electricity at Work Regulations 1989</li><li>Recording before and after evidence for every task</li><li>Verifying the fix with a real test, not just a visual check</li></ul><h3>Tools Used</h3><ul><li>Precision screwdriver set and iFixit pry tool</li><li>ESD-safe mat</li><li>Windows Disk Management</li><li>CrystalDiskMark and AS SSD Benchmark</li><li>PugetBench for Photoshop</li><li>NVIDIA GeForce driver installer</li><li>College admin ticketing system</li></ul><h3>Task 1: User Issue and Fault Logging</h3><p>A queue of HP EliteBook laptops arrived with handwritten fault notes Dead Battery and Keys Missing. Before any repair work began, each device was inspected to confirm the reported fault and triaged in priority order.</p><p>All devices were powered off and disconnected from power before handling and no device was opened until the fault was confirmed with the supervising technician. Logging the fault first meant every repair began from a documented, confirmed issue rather than a guess.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/0*0CVoTHawUBxASWXa" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/0*1munQKxRmPjQEhf8" /></figure><h3>Task 2: Battery Fault Diagnosis</h3><p>Windows diagnostic tools such as powercfg can give inaccurate readings on ageing batteries so I used the unplug test instead: boot the laptop on mains, let it stabilise, then disconnect the charger while it&#39;s running.</p><p>The EliteBook shut off instantly, confirming complete battery failure. This gave a definitive pass/fail result rather than relying on a software estimate, and the result was reported to the supervising technician before any disassembly began.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/0*vtUZL2-ntJU2ksJB" /></figure><h3>Task 3: Laptop Battery Replacement</h3><p>With the fault confirmed, I sourced a replacement battery from a second EliteBook that had an unrepairable screen but a working battery.</p><p>Both laptops were fully powered off and disconnected from all power before disassembly. Using a precision screwdriver set and an iFixit pry tool, I removed the base cover, disconnected the dead battery, and transplanted the donor battery across. After reassembly, I repeated the unplug test and the laptop continued running after the charger was disconnected, confirming a successful repair.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/0*twXL2-nBNP-m2Iou" /></figure><h3>Task 4: Laptop Keyboard Replacement</h3><p>The second EliteBook had multiple detached keys. Individual keycap repair isn’t reliable on this model, so the full keyboard assembly was replaced using a donor keyboard.</p><p>This introduced a ZIF (zero insertion force) ribbon connector, which required the latch to be fully unlocked before the cable was removed to avoid damage. Screws were organised by position on the bench so nothing went back in the wrong location. Once reassembled, every key was individually tested and confirmed functional.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/0*nOpDX6g1Q99_MTn9" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/0*jRcEWsf5XCmmxlKj" /></figure><h3>Task 5: SSD Installation</h3><p>This came in as a support ticket requesting a second SSD be installed into a specific desktop, in the front higher-up drive bay rather than the bottom of the case, with the process documented in photographs.</p><p>After confirming the PC was powered off and unplugged, I mounted the SSD, connected the SATA and power cables, then used Disk Management to initialise the disk, create a new volume and format it as NTFS. I then ran CrystalDiskMark and AS SSD Benchmark to confirm the drive was performing correctly, not just detected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/0*sUX8h7LmLvfjunkJ" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/448/0*zVoLX_ENSRP5b2o2" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/0*EnsOMHY8Mkw8Sndj" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/0*mGghyUHjAtrmbCaC" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/939/0*bCQgkXAOiOBI9uRW" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/764/0*XNiXbR8vevllPNz-" /></figure><h3>Task 6: GPU Installation and Performance Benchmarking (AS125)</h3><p>The Digital &amp; Creative department wanted to know whether installing a dedicated GPU would measurably improve their Adobe Creative Cloud workflows, specifically Photoshop.</p><p>I ran PugetBench for Photoshop to record a baseline score on integrated graphics, then installed an NVIDIA GeForce RTX 2060 into the PCIe x16 slot, installed the latest driver and re-ran the benchmark. ESD precautions were followed throughout and the GPU was handled by its edges rather than the PCIe connector.</p><p>Recording a before and after score turned the upgrade into measurable evidence rather than a general claim that “it should be faster.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/0*AEVtLPjKTB7yu1Wt" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/0*GjFU38HvVra6rxh-" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/414/0*PuoToTw1RZfj0dK7" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/0*mSgP0XYjvlgzA7z2" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*HB9xME4STSZh0m30" /></figure><h3>Task 7: Network Port Cataloguing (AS125)</h3><p>The final task involved mapping all 24 computers in a classroom to their wall Ethernet port IDs and producing a reference table.</p><p>I first clarified the scope of the ticket through the ticket system, then checked with the lecturer that the room was free to work in. I traced each Ethernet cable from computer to wall port without disconnecting any cables, recording each pairing as I went.</p><p>This produces a documentation baseline that lets a future technician isolate a network fault in that classroom without having to trace cables from scratch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/0*YYonZKFS3xYMJNmB" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/0*2AFSZMnpszzrzO5R" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/207/0*Gz3RobvOjWhFRXja" /></figure><h3>Optimisation Decisions</h3><p>Looking back across all seven tasks, a few changes would improve the workflow next time:</p><ul><li>A standardised fault log template, filled in live rather than reconstructed afterward, for faster and more consistent evidence gathering</li><li>A pre-task compatibility checklist for hardware replacements, to avoid delays from sourcing the wrong part mid-repair</li><li>Wider health checks that include software and network connectivity, not just physical hardware</li><li>A standard escalation document template, so handovers to a senior technician are consistent instead of relying on notes taken in the moment</li></ul><h3>Key Takeaways</h3><ol><li>Confirming a fault before opening a device using a real test rather than a software estimate prevents wasted parts and repeat repairs.</li><li>Sourcing parts from decommissioned donor devices, like the battery and keyboard transplants, is a practical way to fix hardware at zero additional cost.</li><li>Recording before and after evidence, whether it’s a benchmark score or a formatted drive, turns a repair into measurable proof rather than a general claim.</li><li>Documentation tasks like the port catalogue may not involve any hardware repair, but they build the reference material that makes future fault-finding faster.</li><li>This placement reflects the same underlying loop used in SOC and technical support work generally: confirm, work safely, document, and verify the outcome.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ee90f46157d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Investigating Suspicious Network Traffic Using VirusTotal and WHOIS]]></title>
            <link>https://secbyarafai.medium.com/investigating-suspicious-network-traffic-using-virustotal-and-whois-9dbd17a43992?source=rss-a3af3133e371------2</link>
            <guid isPermaLink="false">https://medium.com/p/9dbd17a43992</guid>
            <category><![CDATA[blog]]></category>
            <category><![CDATA[society]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[soc-analyst]]></category>
            <category><![CDATA[virustotal]]></category>
            <dc:creator><![CDATA[Faith akerele]]></dc:creator>
            <pubDate>Fri, 06 Mar 2026 00:19:02 GMT</pubDate>
            <atom:updated>2026-03-06T00:19:02.035Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/635/0*OOX0mgUC6FmWp1fA.png" /></figure><p>In this project, I investigated suspicious network activity by analysing network logs and verifying the reputation of external IP addresses using threat intelligence tools such as VirusTotal and WHOIS.<br>The goal of this investigation was to determine whether outbound connections from internal systems were legitimate or potentially malicious. By analysing the logs and researching the destination IP addresses, I was able to identify one anomalous connection that could indicate suspicious activity.</p><p>This type of investigation reflects a common task performed by Security Operations Center (SOC) analysts, who monitor alerts and investigate unusual network behaviour.</p><h3>Investigation Overview</h3><p>The investigation focused on analysing network logs that recorded outbound HTTPS connections from internal hosts to various external IP addresses.</p><p>Several factors were considered during the investigation:</p><p>• Destination IP address<br>• Reputation of the IP address<br>• Connection frequency and pattern<br>• Ownership and location of the IP address</p><p>To verify the legitimacy of the external connections, I performed reputation checks using threat intelligence platforms.</p><h3>Tools Used</h3><ul><li>VirusTotal</li><li>WHOIS Lookup</li><li>Darktrace Network Logs</li></ul><p>VirusTotal was used to analyse the reputation of external IP addresses by checking them against multiple security vendor databases.</p><p>WHOIS lookup was used to identify the organisation that owns the IP address and determine whether the connection was likely legitimate.</p><p>The network logs originated from <strong>Darktrace</strong>, which detected unusual connection patterns and generated alerts for investigation.</p><h3>Log Investigation</h3><h3>Log A</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/433/0*OySzC9lmVHn535ol.png" /></figure><p>The internal device <strong>10.104.3.12</strong> was observed repeatedly connecting to the external IP address <strong>52.10.70.80</strong> over HTTPS (port 443).</p><p>A VirusTotal lookup showed that no security vendors flagged the IP address as maliciou<strong>s.</strong></p><p>WHOIS analysis revealed that the IP belongs to <strong>Amazon Web Services (AWS)</strong>, a widely used cloud infrastructure provider. Because AWS hosts many legitimate services, this traffic was considered normal and safe.</p><h3>Log B</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/491/0*iSLhXDNQdlniwOB4.png" /></figure><p>This log showed repeated outbound connections from the internal host <strong>10.22.6.143</strong> to the external IP address <strong>185.176.220.70</strong>.</p><p>Further investigation revealed several suspicious indicators:</p><p>• VirusTotal flagged the IP address as malicious by multiple security vendors<br>• WHOIS lookup showed the IP belongs to <strong>2Cloud Ltd. in Latvia</strong><br>• The internal device attempted to connect to the IP repeatedly over time</p><p>This repeated communication pattern resembles beaconing behaviour, which is commonly associated with malware communicating with a command-and-control (C2) server.</p><p>Because of these indicators, this activity was classified as <strong>suspicious</strong>.</p><h3>Log C</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/423/0*g3ADYGuGPU73SHl7.png" /></figure><p>The internal host <strong>10.104.3.12</strong> also connected to the IP address <strong>54.203.83.74</strong>.</p><p>VirusTotal analysis showed <strong>no malicious detections</strong>, and WHOIS confirmed that the IP belongs to <strong>Amazon Web Services</strong>.</p><p>Since the IP is associated with a trusted cloud provider, the activity was considered legitimate.</p><h3>Log D</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/397/0*kgxb2juxd9Dt_KtN.png" /></figure><p>Additional network logs showed connections from <strong>10.104.3.12</strong> to the IP address <strong>35.163.229.237</strong>.</p><p>Reputation checks confirmed that this IP also belongs to <strong>Amazon Web Services</strong> and was not flagged by any security vendors.</p><p>Therefore, this activity was classified as safe cloud communication.</p><h3>Log E</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/0*JGLFe-cDytxkrVM4.png" /></figure><p>This log contained a <strong>Darktrace alert</strong> indicating an increase in SSL or HTTP connections to the IP address <strong>52.10.70.80</strong>.</p><p>Although the alert indicated unusual connection behaviour, reputation analysis confirmed the IP belongs to <strong>Amazon Web Services</strong> and is not malicious.</p><p>This suggests the alert was triggered due to an increase in traffic volume rather than malicious activity.</p><h3>Identifying the Anomaly</h3><p>After analysing all logs, the IP address <strong>185.176.220.70</strong> stood out as the most suspicious.</p><p>This IP was flagged because:</p><p>• Multiple security vendors identified it as malicious<br>• It belongs to a hosting provider unrelated to normal business operations<br>• The internal system repeatedly attempted to communicate with the address</p><p>These indicators suggest potential malware communication or a potentially unwanted application contacting an external server.</p><h3>Recommended Response</h3><p>If this activity occurred in a real organisational environment, the following actions would be recommended:</p><p>• Isolate the affected host (<strong>10.22.6.143</strong>) from the network<br>• Perform a full malware scan on the device<br>• Block the malicious IP address at the firewall<br>• Monitor the network for additional connections to the same IP address<br>• Investigate the running processes on the host to identify the source of the traffic</p><h3>Key Takeaways</h3><p>1. Through this investigation, I learned how to analyse network logs and verify suspicious IP addresses using threat intelligence tools.</p><p>2. I gained practical experience identifying anomalous network behaviour and distinguishing between legitimate cloud traffic and potentially malicious connections.</p><p>3. This project also strengthened my understanding of how SOC analysts investigate alerts and determine whether suspicious activity represents a real security threat.</p><p>4. By combining log analysis, IP reputation checks, and behavioural indicators, security teams can more effectively detect and respond to potential intrusions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9dbd17a43992" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Practical IDS Lab (SNORT]]></title>
            <link>https://secbyarafai.medium.com/practical-ids-lab-snort-a599915b10d6?source=rss-a3af3133e371------2</link>
            <guid isPermaLink="false">https://medium.com/p/a599915b10d6</guid>
            <category><![CDATA[socanalysis]]></category>
            <category><![CDATA[snort-ids]]></category>
            <category><![CDATA[ids-ips]]></category>
            <category><![CDATA[snort]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Faith akerele]]></dc:creator>
            <pubDate>Sun, 30 Nov 2025 09:11:10 GMT</pubDate>
            <atom:updated>2026-03-15T03:12:40.281Z</atom:updated>
            <content:encoded><![CDATA[<h3>Practical IDS Lab (SNORT)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/548/0*Y_llsmENZaJbSAwZ.JPG" /></figure><h3>Detecting Network Intrusions with Snort in My Home Lab</h3><p>In this project, I built a practical Intrusion Detection System (IDS) lab using <strong>Snort</strong>, an open-source Network Intrusion Detection System widely used by security analysts. The lab environment included an Ubuntu VM running Snort, a Kali Linux VM acting as the attacker machine, and a Metasploitable 2 VM as the intentionally vulnerable target.</p><p>The goal of this project was to simulate basic attacks such as ICMP pings and Nmap SYN scans, detect them using custom Snort rules, and document the alerts for portfolio demonstration.</p><h3>Lab Topology &amp; Overview</h3><p>The virtual lab was set up on an isolated internal/host-only network to ensure all testing remained safely contained. The environment consisted of:</p><p>• Ubuntu (Snort IDS) — Used to install and run Snort, monitor traffic, and store alert logs.<br>• Kali Linux — Used as the attacker machine to generate pings, port scans, and reconnaissance traffic.<br>• Metasploitable 2 — Served as the vulnerable target for testing detection capabilities.</p><p>All systems communicated over the same internal subnet (e.g., 192.168.112.0/24), ensuring a safe and controlled testing environment with no external exposure.</p><h3>Tools Used</h3><ul><li>Ubuntu (Snort)</li><li>Kali Linux</li><li>Metasploitable 2</li><li>Wireshark</li><li>Nmap</li></ul><h3>Setup &amp; Key Configuration</h3><p>I began by verifying network connectivity between all VMs using simple ICMP pings. This ensured each system could communicate with the others over the isolated network segment.</p><p>Next, I installed Snort on the Ubuntu machine. During configuration, I set HOME_NET to match my internal lab subnet, allowing Snort to correctly classify traffic originating from within the environment.</p><p>I then created custom detection rules inside:</p><p>- Custom rules saved to /etc/snort/rules/local.rules</p><p>- Example rules used in this lab are included below.</p><p>These rules defined the specific network activity I wanted Snort to alert on.</p><h3>Snort Rules Used</h3><p>ICMP Ping detection:<br>alert icmp any any -&gt; $HOME_NET any (msg:”ICMP Ping Detected”; sid:100001; rev:1;)</p><p>This rule triggers when any external system sends an ICMP echo request into the internal network.</p><p>Nmap SYN scan detection :<br>alert tcp any any -&gt; $HOME_NET any (msg:”NMAP SYN scan detected”; flags:S; sid:1000001; rev:1;</p><p>This rule identifies half-open SYN scans, a common reconnaissance technique used by Nmap.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/627/0*QRx9t8c2BVcxsn0d.png" /></figure><h3>Running Snort and Testing</h3><p>To begin monitoring, I launched Snort in console alert mode on the correct network interface:<br>sudo snort -A console -q -c /etc/snort/snort.conf -i ens33</p><p>From Kali, test detection:</p><p>• ICMP ping:</p><p>`ping -c 3 &lt;target-ip&gt;`</p><p>• Nmap SYN scan:</p><p>`sudo nmap -sS -sV -A &lt;target-ip&gt;`</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/547/0*JkXkmmMhiDvV39cR.png" /></figure><p>As the attacks ran, Snort immediately displayed alerts in real time on the Ubuntu console. These same alerts also appeared inside the /var/log/snort/alert file for further analysis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/467/0*mxiuporVgIB1GKf9.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/523/0*WLNIAxVrVo4LPqvB.png" /></figure><p>To view the raw packets, I captured the traffic using Wireshark, which allowed me to visually confirm the ICMP and SYN packets generated during the test scenarios.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*wFVHYYIzIlLIwioT.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/0*_L1ywVbjXEXj-upQ.png" /></figure><h3>Results &amp; Observations</h3><p>During testing, Snort reliably detected both ICMP pings and Nmap SYN scan attempts using the custom rules I created. This confirmed the IDS was correctly configured and monitoring the intended network.</p><p>I learned that Snort rule syntax is very strict, even minor mistakes such as missing spaces or incorrect separators will cause rule errors. To avoid this, it is best practice to always validate the configuration using:</p><p>sudo snort -c /etc/snort/snort.conf -T</p><p>Additionally, while console alerts are useful for demonstrations, they can become noisy in real-world environments. Production deployments typically use thresholding or detection_filters to reduce alert fatigue and improve signal-to-noise ratio.</p><p>Finally, maintaining an isolated virtual lab is essential. Keeping Metasploitable 2 and attack traffic inside a host-only network prevents accidental exposure and ensures a safe testing environment.</p><h3>Key Takeaways</h3><ul><li>I learned how to properly configure Snort and set HOME_NET to ensure accurate detection within a controlled lab network.</li><li>I gained hands-on experience writing custom Snort rules to detect ICMP pings and Nmap SYN scans.</li><li>I understood the importance of validating rule syntax, as even small errors can prevent Snort from running correctly.</li><li>I saw firsthand how Snort generates real-time alerts and how these alerts map to specific packets and attack behaviors.</li><li>I improved my ability to simulate common attacker activities using tools like Nmap and Wireshark for verification.</li><li>I strengthened my understanding of why isolated host-only networks are essential for safe IDS and vulnerability testing.</li><li>I developed practical skills in analyzing alerts, reviewing logs, and documenting IDS activity for reporting and portfolio building.</li></ul><p><strong>Future work</strong>: add thresholding, expand rule coverage, integrate alerts into ELK/SIEM, and tune rules to reduce false positives.</p><p><strong><em>This project demonstrates my ability to configure and use IDS tools like Snort to detect and analyze attacks. It also highlights my understanding of network security fundamentals and packet analysis.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a599915b10d6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Malware Traffic Analysis with Wireshark — Detecting Dridex C2 Traffic]]></title>
            <link>https://secbyarafai.medium.com/malware-traffic-analysis-with-wireshark-detecting-dridex-c2-traffic-531d254edb0d?source=rss-a3af3133e371------2</link>
            <guid isPermaLink="false">https://medium.com/p/531d254edb0d</guid>
            <category><![CDATA[dridex]]></category>
            <category><![CDATA[wireshark]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Faith akerele]]></dc:creator>
            <pubDate>Fri, 28 Nov 2025 21:59:37 GMT</pubDate>
            <atom:updated>2025-11-28T21:59:37.028Z</atom:updated>
            <content:encoded><![CDATA[<h3>Malware Traffic Analysis with Wireshark — Detecting Dridex C2 Traffic</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dP-qRjUqdLrNzSCdlqrsWw.png" /><figcaption>Malware Traffic Analysis with Wireshark — Detecting Dridex C2 Traffic</figcaption></figure><p>In this project, I analysed a <a href="https://www.google.com/search?ved=1t:260882&amp;q=PCAP+capture&amp;bbid=209378001243069049&amp;bpid=7603547719231260251">PCAP capture</a> of a compromised Windows machine to uncover signs of a Dridex <a href="https://www.google.com/search?ved=1t:260882&amp;q=banking+Trojan+Dridex&amp;bbid=209378001243069049&amp;bpid=7603547719231260251">banking Trojan </a>infection. Using <a href="https://www.google.com/search?ved=1t:260882&amp;q=Wireshark&amp;bbid=209378001243069049&amp;bpid=7603547719231260251">Wireshark</a> I identified encrypted <a href="https://www.google.com/search?ved=1t:260882&amp;q=TLS&amp;bbid=209378001243069049&amp;bpid=7603547719231260251">TLS</a> sessions, extracted suspicious <a href="https://www.google.com/search?ved=1t:260882&amp;q=define+Server+Name+Indication+%28SNI%29+domains&amp;bbid=209378001243069049&amp;bpid=7603547719231260251">Server Name Indication (SNI) domains</a>, followed malicious TCP streams, and confirmed active C2 beaconing.</p><p>This post shows step-by-step how I discovered the infection along with key Indicators of Compromise (<a href="https://www.google.com/search?ved=1t:260882&amp;q=define+IOCs+cybersecurity&amp;bbid=209378001243069049&amp;bpid=7603547719231260251">IOCs</a>) so you can replicate the same process in your own <a href="https://www.google.com/search?ved=1t:260882&amp;q=malware+traffic+analysis+lab&amp;bbid=209378001243069049&amp;bpid=7603547719231260251">malware traffic analysis lab</a>.</p><h3>Lab Topology &amp; Overview</h3><ul><li>Host OS for analysis: Ubuntu.</li><li>Packet analysis tool: Wireshark</li></ul><h3>Enviroment Setup &amp;Pcap download</h3><p>Before opening the PCAP file, I ensured my virtual machine was isolated from the Interne<strong>t</strong> so that any embedded malware activity could NOT communicate externally.</p><p>I changed my VMware network adapter to LAN Segment<strong> (Away From Internet)</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/755/1*b_AbVnvN8cZ6NyeAmCLw-A.png" /></figure><p>What this guarantees</p><ul><li>No accidental malware execution</li><li>No C2 communication leaving the VM</li><li>Safe packet analysis environment</li></ul><p>I installed Wireshark on Ubuntu and prepared my workspace.<br> Here is Wireshark immediately after installation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/1*QNcciHqy5M4jyqWqDRpluw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dbnjHwzBkKr4Az4oFZsaWQ.png" /></figure><p>I downloaded the PCAP file from the <a href="https://www.google.com/search?ved=1t:260882&amp;q=AlexisAhmed+GitHub+repository&amp;bbid=209378001243069049&amp;bpid=7603547719231260251">AlexisAhmed GitHub repository</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hvpv33I2mMpPWn0lsD2cNQ.png" /></figure><h3>Analysis Steps &amp; Findings</h3><p>After loading the PCAP into Wireshark, I began with a general look at the traffic:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QWFS3g-Z2sEs-JYzy2xAOQ.png" /></figure><p>To make analysis easier, I added <strong>Source Port</strong> and <strong>Destination Port</strong> as unresolved columns:</p><ul><li>Source Port</li><li>Destination Port</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/733/1*Tyv4PPufWQJttVG0621xfQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OeltPYqK11DhFRPBSWmBHw.png" /></figure><p>Once the PCAP file was loaded into Wireshark, the first step was to filter the dataset to focus on TLS and HTTP traffic, as these protocols typically reveal suspicious outbound behaviour. After applying the filter, it became clear that one internal IP address <strong>10.4.1.101</strong> was responsible for repeatedly initiating encrypted TLS connections to multiple external servers. This repetition and consistency suggested automated activity rather than normal user-driven browsing, which immediately raised suspicion about the host being infected or compromised.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6t8tS3tfaVq1ANmBbbCjBQ.png" /></figure><p>With the infected host identified, the next phase involved inspecting the <a href="https://www.google.com/search?ved=1t:260882&amp;q=TLS+Client+Hello+packets&amp;bbid=209378001243069049&amp;bpid=7603547719231260251">TLS Client Hello packets</a>. These packets often contain the Server Name Indication (SNI), which tells us exactly which domain the client is attempting to reach even when the rest of the traffic is encrypted. Most of the SNI values in this capture corresponded to legitimate <a href="https://www.google.com/search?ved=1t:260882&amp;q=Microsoft+related+services+examples&amp;bbid=209378001243069049&amp;bpid=7603547719231260251">Microsoft-related services</a> such as <a href="https://www.google.com/search?ved=1t:260882&amp;q=Skype&amp;bbid=209378001243069049&amp;bpid=7603547719231260251">Skype</a> or telemetry domains. However, one domain stood out: <a href="https://www.google.com/search?ved=1t:260882&amp;q=i05l711.com+threat+intelligence&amp;bbid=209378001243069049&amp;bpid=7603547719231260251"><strong>i05l711.com</strong></a>. This domain is not associated with any known legitimate service and follows a naming pattern commonly used by malware families like Dridex, which often generate random-looking command-and-control (C2) domains. This discovery strongly indicated malicious outbound communication.</p><p>To validate the suspicion further, I followed the TLS stream associated with the connection to <em>i05l711.com</em>. As expected, the content of the stream was fully encrypted, which is typical for modern malware that communicates over <a href="https://www.google.com/search?ved=1t:260882&amp;q=HTTPS+protocol+details&amp;bbid=209378001243069049&amp;bpid=7603547719231260251">HTTPS</a>. However, even without decrypting the traffic, several characteristics confirmed malicious behaviour. The encrypted data appeared in repetitive intervals, mimicking the structure and timing of <a href="https://www.google.com/search?ved=1t:260882&amp;q=botnet+beaconing&amp;bbid=209378001243069049&amp;bpid=7603547719231260251">botnet beaconing</a> essentially periodic check-ins to a remote command server. Additionally, embedded within the binary data were identifiable strings resembling machine profiling information such as city names, company placeholders, and timestamp like <a href="https://www.google.com/search?ved=1t:260882&amp;q=SomeState1+SomeCity1+SomeCompany0+Dridex&amp;bbid=209378001243069049&amp;bpid=7603547719231260251">SomeState1, SomeCity1, SomeCompany0</a>, 2003030211145Z, 220401211145Z. These fields are consistent with how Dridex bots register themselves with their C2 infrastructure, further confirming that this was not normal encrypted traffic but active malware communication.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TVMyOkd6BY6FmeOtUMk6DQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9yR-QI1uLNb5pFa8UoqkhQ.png" /><figcaption>TCP Stream</figcaption></figure><h3>Full Indicators of Compromise (IOC List)</h3><p>Malicious Domain (SNI) — i05l711.com<br>Malicious IP Address (C2 Server) — <a href="https://www.google.com/search?ved=1t:260882&amp;q=162.255.119.253+IP+lookup&amp;bbid=209378001243069049&amp;bpid=7603547719231260251">162.255.119.253</a><br>Infected Internal Host (Victim Machine) — 10.4.1.101<br>Protocols and Ports Used — Protocol: <a href="https://www.google.com/search?ved=1t:260882&amp;q=TLSv1.2&amp;bbid=209378001243069049&amp;bpid=7603547719231260251">TLSv1.2</a>, 443 (HTTPS)<br>Bot Metadata — SomeState1, SomeCity1, SomeCompany0<br><a href="https://www.google.com/search?ved=1t:260882&amp;q=Dridex+timestamp+format&amp;bbid=209378001243069049&amp;bpid=7603547719231260251">C2 Timestamps — 2003030211145Z, 220401211145Z, 200928122056Z</a></p><h3>Key Takeaways</h3><p>1. I learned the importance of isolating my analysis environment to safely handle potentially malicious PCAP files.</p><p>2. I discovered how encrypted malware traffic can still be identified through metadata such as SNI and TLS handshake details.</p><p>3. I improved my Wireshark skills by using custom columns and filters to quickly detect suspicious activity.</p><p>4. I understood how infected hosts communicate with external C2 servers through repeated encrypted outbound traffic.</p><p>5. I gained experience extracting and documenting IOCs, strengthening my malware analysis and reporting abilities.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=531d254edb0d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>