<?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 Tatiele Freitas on Medium]]></title>
        <description><![CDATA[Stories by Tatiele Freitas on Medium]]></description>
        <link>https://medium.com/@tatielefreitas?source=rss-f69489480941------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*17N3EQCD0Zrnm1SstLE-jQ.jpeg</url>
            <title>Stories by Tatiele Freitas on Medium</title>
            <link>https://medium.com/@tatielefreitas?source=rss-f69489480941------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 03:57:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tatielefreitas/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[Securing On-Prem LLM Platforms: Key Requirements for Air-Gapped Deployments]]></title>
            <link>https://medium.com/@tatielefreitas/securing-on-prem-llm-platforms-key-requirements-for-air-gapped-deployments-8eb9f280448b?source=rss-f69489480941------2</link>
            <guid isPermaLink="false">https://medium.com/p/8eb9f280448b</guid>
            <category><![CDATA[llm-security]]></category>
            <category><![CDATA[airgapped]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Tatiele Freitas]]></dc:creator>
            <pubDate>Wed, 17 Sep 2025 06:20:22 GMT</pubDate>
            <atom:updated>2025-09-17T06:22:07.124Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oqYFCmeIzIGr_nxF" /></figure><p>Large Language Models (LLMs) are quickly moving from experiments to core enterprise tools. But not every organization can consume them through a public API. In regulated industries and sovereign contexts, many enterprises are asking for <strong>on-premise deployments</strong>, sometimes even in <strong>air-gapped environments</strong> with no Internet connectivity.</p><p>That shift changes the security landscape. Running AI infrastructure in a disconnected environment introduces unique risks and requirements. Here’s a practical breakdown of what security architects should be thinking about.</p><h3>1. Controlling Identity and Access</h3><p>The first line of defence is who gets in — and what they can do once inside.</p><ul><li>Enforce <strong>role-based access control (RBAC)</strong>.</li><li>Integrate with enterprise identity providers (Active Directory, LDAP, OIDC).</li><li>Replace default credentials immediately.</li><li>Require MFA for administrative users whenever feasible.</li></ul><h3>2. Protecting Data Everywhere</h3><p>LLM platforms process sensitive information. That data must be secure across its lifecycle.</p><ul><li><strong>At rest</strong>: Encrypt all data stores, logs, and backups with AES-256 or equivalent. Use customer-managed keys (CMKs) stored in HSMs.</li><li><strong>In transit</strong>: Require TLS 1.2+ (ideally 1.3) and enable Perfect Forward Secrecy.</li><li><strong>Residency &amp; sovereignty</strong>: Keep data within national or regulatory boundaries where applicable.</li></ul><h3>3. Hardening Systems Before Delivery</h3><p>On-prem customers expect software to arrive locked down, not wide open.</p><ul><li>Disable unnecessary services and ports.</li><li>Run processes with the principle of least privilege (no root defaults).</li><li>Follow CIS/NIST hardening benchmarks.</li><li>Ship with secure configurations enabled by default.</li></ul><h3>4. Securing the Network Layer</h3><p>In disconnected or sovereign environments, network exposure must be minimized.</p><ul><li>Only required ports should be open.</li><li>Outbound traffic must be blocked unless explicitly authorized.</li><li>Service-to-service communication should be restricted to the minimum required paths.</li><li>No “phone home” traffic or hidden dependencies should exist.</li></ul><h3>5. Monitoring, Logging, and Visibility</h3><p>Even without Internet access, operators need observability.</p><ul><li>Log API calls and user actions.</li><li>Offer logs in formats consumable by customer SIEMs (JSON, Syslog).</li><li>Provide dashboards that work offline.</li><li>Support alerting mechanisms that integrate with local monitoring tools.</li></ul><h3>6. Safeguarding Against Data Loss</h3><p>Resilience is just as important as protection.</p><ul><li>Encrypt all backups and snapshots with CMKs.</li><li>Store backups inside national boundaries for sovereign customers.</li><li>Implement controls to prevent exfiltration over unauthorized protocols.</li><li>Provide documented offline recovery procedures.</li></ul><h3>7. Managing Third-Party Risks</h3><p>Modern platforms rely heavily on external components. Each one introduces potential vulnerabilities.</p><ul><li>Provide a <strong>Software Bill of Materials (SBOM)</strong>.</li><li>Continuously scan dependencies for known vulnerabilities.</li><li>Patch and communicate critical findings quickly.</li></ul><h3>8. Validating Security with Testing</h3><p>Trust is earned, not assumed. Independent validation helps.</p><ul><li>Conduct penetration tests before major releases.</li><li>Validate hardening settings against benchmarks.</li><li>Share summary results or attestations with customers.</li></ul><h3>9. Planning for Offline Patching</h3><p>In air-gapped environments, patch management is often the toughest challenge.</p><ul><li>Provide <strong>signed offline update bundles</strong>.</li><li>Notify customers quickly about critical vulnerabilities.</li><li>Make patches reversible to support rollback.</li><li>Design secure update workflows that work without Internet connectivity.</li></ul><h3>Closing Thoughts</h3><p>Securing an on-prem LLM deployment isn’t just about re-packaging cloud software. It’s about enabling trust in environments where compliance, sovereignty, and isolation are non-negotiable.</p><p>The recipe is straightforward:</p><ul><li>Strong identity and access controls.</li><li>End-to-end encryption.</li><li>Hardened systems and networks.</li><li>Clear monitoring and recovery processes.</li><li>A strategy for offline patching and maintenance.</li></ul><p>When these requirements are in place, enterprises can safely unlock the value of LLMs — even in their most sensitive, disconnected environments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8eb9f280448b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Guide to your first Trace Labs CTF]]></title>
            <link>https://medium.com/@tatielefreitas/guide-to-your-first-trace-labs-ctf-a08ec681cf2?source=rss-f69489480941------2</link>
            <guid isPermaLink="false">https://medium.com/p/a08ec681cf2</guid>
            <category><![CDATA[osint]]></category>
            <category><![CDATA[osint-investigation]]></category>
            <category><![CDATA[trace-labs]]></category>
            <category><![CDATA[osintforgood]]></category>
            <category><![CDATA[ctf]]></category>
            <dc:creator><![CDATA[Tatiele Freitas]]></dc:creator>
            <pubDate>Tue, 13 Dec 2022 13:04:05 GMT</pubDate>
            <atom:updated>2022-12-14T07:03:34.019Z</atom:updated>
            <content:encoded><![CDATA[<h4>Why not use your OSINT skills for a good cause?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DRHd7rgcyjSKr84LelzhYg.jpeg" /><figcaption>Photo by <a href="https://burst.shopify.com/@matthew_henry?utm_campaign=photo_credit&amp;utm_content=Picture+of+Team+Hands+Middle+%E2%80%94+Free+Stock+Photo&amp;utm_medium=referral&amp;utm_source=credit">Matthew Henry</a> from <a href="https://burst.shopify.com/hands?utm_campaign=photo_credit&amp;utm_content=Picture+of+Team+Hands+Middle+%E2%80%94+Free+Stock+Photo&amp;utm_medium=referral&amp;utm_source=credit">Burst</a></figcaption></figure><h4>What is Trace Labs?</h4><p>If you haven’t heard about it, Trace Labs is a wonderful nonprofit organization that uses open-source intelligence (OSINT) to help find information about missing people. They organize Search Partys in the format of a capture-the-flag (CTF) event, that normally runs for about 4 to 6 hours, where teams of 1–4 members are presented with a list of missing persons. The winner is the team that accumulates more points along the CTF or, in other words, the team that finds the higher amount of valuable information that will be sent to law enforcement to help advance the cases.</p><h4>Why should I join?</h4><p>Trace Labs works directly with law enforcement and you will be working on real-case scenarios. Some of the reasons why you should consider joining the next Search Party are:</p><ul><li>use your OSINT/SOCMINT skills for a good cause;</li><li>learn new skills and tools;</li><li>work in a team;</li><li>being involved in a community initiative;</li><li>awesome prizes for the top three winners.</li><li>ultimately and more importantly, helping families to reunite with their loved ones;</li></ul><h4>How should I prepare for it?</h4><p>First, check out this video from Trace Labs where you will find all the details regarding registration, rules of engagement as well as how the platform works.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Ff526PYm6cqU%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Df526PYm6cqU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Ff526PYm6cqU%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/4bd9ccb9b43d624b9f66a5ba322ab812/href">https://medium.com/media/4bd9ccb9b43d624b9f66a5ba322ab812/href</a></iframe><p>One of the best resources while learning or improving your OSINT skills, either for the CTF or for your professional goals, is <a href="https://www.osintcombine.com/">OSINT COMBINE</a>. They are specialized in OSINT training, offering a variety of courses from OSINT Foundations to Dark Web. In addition to that, you will also find a compilation of free OSINT tools that will be of great help during the CTF.</p><p>The good news is that Trace Labs normally give away vouchers to the first ones that sign up for the CTF, and you could get one OSINT COMBINE training for free. I’d recommend following Trace Labs on Social Media and/or joining their Discord channel, to keep updated about the next dates. They are normally announced on short notice.</p><h4>Tips on how to get the best of the event:</h4><ul><li>include as many details as possible when submitting evidence. Give some context, so the judges will be able to understand why you are submitting it and how it can help the case.</li><li>be familiar with free OSINT tools before the CTF. A good example is <a href="https://whatsmyname.app/">Whatsmyname</a>, where you can search for a username and find a list of websites where the same username was found, allowing you to pivot from one account to another.</li><li>be familiar with advanced search on social medial platforms, for example, <a href="https://twitter.com/search-advanced?lang=en&amp;new">Twitter</a> advanced search or <a href="https://graph.tips/beta/">Facebook </a>graph search.</li></ul><p>I hope this post was able to give you an idea of how Trace Labs work and, hopefully, inspire you to join the next Trace Labs Search Party.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a08ec681cf2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Splunk SDK for Python using Jupyter Notebooks]]></title>
            <link>https://medium.com/@tatielefreitas/splunk-sdk-for-python-using-jupyter-notebooks-c68583ba850?source=rss-f69489480941------2</link>
            <guid isPermaLink="false">https://medium.com/p/c68583ba850</guid>
            <category><![CDATA[jupyter-notebook]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[splunk-administration]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[splunk]]></category>
            <dc:creator><![CDATA[Tatiele Freitas]]></dc:creator>
            <pubDate>Wed, 30 Nov 2022 05:31:28 GMT</pubDate>
            <atom:updated>2022-11-30T06:13:42.187Z</atom:updated>
            <content:encoded><![CDATA[<p>Quick Guide on how to use it and some practical applications</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*q5eWoW4_4HAmikat" /><figcaption>Photo by <a href="https://unsplash.com/@hiteshchoudhary?utm_source=medium&amp;utm_medium=referral">Hitesh Choudhary</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Splunk is one of the most prominent and respected solutions in the Cybersecurity world and, not a coincidence, it has been named a “Leader” for 9 years in a row by Gartner® Magic Quadrant™ for Security Information and Event Management (SIEM). <a href="https://www.edureka.co/blog/what-is-splunk/">Edureka.co</a> defines Splunk as “<em>a software platform to search, analyze and visualize the machine-generated data gathered from the websites, applications, sensors, devices, etc, which make up your IT infrastructure and business</em>”.</p><p>Besides the fact that Splunk GUI can offer a vast number of outstanding features, here we are going to explore the Splunk Software Development Kit (SDK) for Python, which is open source, uses the Apache v2.0 license, and, allows you to programmatically interact with the Splunk platform. The IDE of choice here is <a href="https://jupyter.org/">Jupyter </a>notebook.</p><p>Following are a few functionalities of Splunk SDK for Python:</p><ul><li>Search your data, run saved searches, and work with search jobs.</li><li>Manage Splunk configurations and objects.</li><li>Integrate search results into your applications.</li><li>Log directly to Splunk Enterprise.</li><li>Present a custom UI.</li></ul><p><strong>How to actually connect to your Splunk instance using Python?</strong></p><p>Connecting to Splunk is quite straightforward and does not differ from other REST API applications. To understand the code, keep in mind that Splunk SDK for Python architecture contains the following modules:</p><ul><li>The <strong>binding</strong> module provides an abstraction layer over raw HTTP.</li><li>The <strong>client</strong> module provides an abstraction layer over the Splunk REST API.</li><li>The <strong>results</strong> module provides a Splunk-specific streaming XML reader.</li><li>The <strong>data</strong> module converts Atom Feed data to a Pythonic format.</li></ul><p>First of all, you will need to import the following Python libraries. Keep in mind that Pandas and Numpy are not needed to connect to Splunk, still, they will be used later to save the results into a dataframe.</p><pre>import pandas as pd<br>import numpy as np<br>import splunklib.client as client<br>import splunklib.results as results<br>import requests<br>from time import sleep</pre><p>Second, you will establish the connection, here I’m using an API key, however, you could also use a username/password:</p><pre>HOST = insert the IP of your Splunk instance<br>PORT = insert the port number, defaut port is 8089<br>API_KEY = insert your API key<br><br>service = client.connect(host=HOST, port=PORT, token=API_KEY)</pre><p>From here it will depend on your goal, the following is an example code that had been used for IOCs search on Splunk, and the results from the search are being saved in a dataframe variable called matches. Make sure you insert the appropriate Search Processing Language (SPL) query. You can find the complete notebook in my GitHub account <a href="https://github.com/tatieleof/IOCs-search-using-splunk-api/blob/main/Searching%20for%20IOCs%20on%20Splunk%20using%20Splunk%20API.ipynb">here</a>.</p><pre>job = service.jobs.create(&#39;INSERT YOUR SPL HERE&#39;)<br>while not job.is_done():<br>    sleep(.2)<br>rr = results.JSONResultsReader(job.results(output_mode=&#39;json&#39;))<br>matches = pd.DataFrame()<br>for result in rr:<br>    if isinstance(result, results.Message):<br>        # Diagnostic messages might be returned in the results<br>        print(&#39;%s: %s&#39; % (result.type, result.message))<br>    elif isinstance(result, dict):<br>        # Results will be saved in the variable matches<br>        matches = matches.append(result, ignore_index= True)<br>assert rr.is_preview == False</pre><p>A few notes regarding the syntax you must follow when building your SPL:</p><ul><li>it should always start with the command <strong><em>search</em></strong>;</li><li>an example SPL could be: ‘search index=main earliest=-1h username=”john” | stats count by host’</li></ul><p>By now, you might be asking yourself:</p><p><strong>Why Jupyter notebooks and how all this could be useful?</strong></p><p>There are a few use cases where using Jupyter Notebooks is just the perfect tool when dealing with Splunk data:</p><ol><li><strong>Threat Hunting</strong>: Jupyter Notebook allow you to track and document all the steps taken during your hunting, allowing you to go back to your queries in the future and reproduce similar results whenever necessary.</li><li><strong>IOCs search</strong>: let’s say you have a list of IOCs in a .csv file from a threat report and want to check if you have any matches in your environment over the past 30 days. You could easily do that by uploading the .csv to your notebook and running the job with the appropriate SPL query.</li><li><strong>Data Visualization</strong>: even though Splunk has awesome visualization features, you might want to customize it according to your needs.</li><li><strong>Infosec python libraries</strong>: you might want to use some infosec python libraries to work with your Splunk data, such as <a href="https://msticpy.readthedocs.io/en/latest/index.html">msticpy</a>, <a href="https://pypi.org/project/iocide/">iocide</a>, <a href="https://github.com/VirusTotal/yara-python">yara</a> or <a href="https://pypi.org/project/python-nmap/">Nmap</a>.</li><li><strong>Machine Learning</strong>: you might want to try some ML algorithms on your Splunk data.</li></ol><p>Hopefully, this blog post, associated with your field expertise and your creativity can give you insights into extra functionalities you could add to your Splunk environment.</p><p>Reference:</p><p><a href="https://dev.splunk.com/enterprise/docs/devtools/python/sdk-python/">https://dev.splunk.com/enterprise/docs/devtools/python/sdk-python/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c68583ba850" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to prepare for the Splunk Power User Certification]]></title>
            <link>https://medium.com/@tatielefreitas/how-to-prepare-for-the-splunk-power-user-certification-f729ad7dc0b2?source=rss-f69489480941------2</link>
            <guid isPermaLink="false">https://medium.com/p/f729ad7dc0b2</guid>
            <category><![CDATA[splunk-enterprise]]></category>
            <category><![CDATA[splunk-administration]]></category>
            <category><![CDATA[splunk]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[splunk-certification]]></category>
            <dc:creator><![CDATA[Tatiele Freitas]]></dc:creator>
            <pubDate>Fri, 25 Nov 2022 21:08:57 GMT</pubDate>
            <atom:updated>2022-11-25T21:08:57.493Z</atom:updated>
            <content:encoded><![CDATA[<p>Tips I wish I had found while preparing for this certification</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IUpjpaHGr9ziCBfO.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@jefflssantos">Jefferson Santos</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>I will assume you are already familiar with Splunk and its learning path, otherwise check the official website <a href="https://www.splunk.com/en_us/training/learning-paths-certifications.html">here</a>. I decided to go straight to Splunk Core Certified Power User, instead of starting with Splunk Core Certified User. The reason is that I have been using Splunk recently and have had the opportunity to have some hands-on experience. If this is not your case, you might want to start with the first certification in their path instead.</p><ol><li><strong>Register for the exam</strong></li></ol><p>In order to register for the exam with Pearson Vue, you will need a free Splunk account, you can register <a href="https://idp.login.splunk.com/signin/register?fromURI=https%253A%252F%252Fidp.login.splunk.com%252Fapp%252Fsplunk-ext_wwwaem_1%252Fexk9jrrdivHzSWhlX2p7%252Fsso%252Fsaml%253FRelayState%253Dhttps%25253A%25252F%25252Fwww.splunk.com%25252Fen_us%25252Ftraining%25252Fpearson-vue-registration-form.html%25253F_gl%25253D1*13nkd4d*_ga*NzUzMTcyNDA0LjE2NDg5MzYxOTk.*_ga_5EPM2P39FV*MTY2OTAzMTc4Ny4yNC4xLjE2NjkwMzI1MDAuNTMuMC4w%252526locale%25253Den_us&amp;locale=en_us">here</a>. After that, you should receive your Splunk ID by email, in case you don’t, just send an email to <a href="/service/mailto:certification@splunk.com">certification@splunk.com</a> asking for your Splunk ID and they will quickly reply. After all that, you can register for the certification <a href="https://home.pearsonvue.com/splunk">here</a>. The price at the moment is $130 USD and the exam is currently available in English or Japanese. You will have 60 minutes for the 65 multiple-choice questions. That’s it! You have a date for the exam, now it’s time to prepare for it!</p><p><strong>2. Exam Preparation</strong></p><p>After not finding many free resources available while preparing for this certification, my last option was to study by reading the official documentation from Splunk’s website. Surprisingly, it turns out to be a wonderful material, it’s quite straightforward and it will give you examples of every command. <a href="https://www.testpreptraining.com/tutorial/splunk-core-certified-power-user/">Here </a>you can find the certification content and a link to where you can find it in the documentation.</p><p>At the same time, a second resource I used was an Udemy <a href="https://www.udemy.com/course/splunk-zero-to-power-user/">course </a>called Splunk: Zero to Power User, created by Hailie Saw. While her course is a total success, with nearly 10.000 students at the time I’m writing this post, I found the course pace was quite fast to follow, which I managed by slowing down the video speed whenever needed. The duration of this course is 4,5 hours.</p><p><strong>3. Hands-on experience</strong></p><p>The best way to learn is by practising, so while you are reading the documentation you should put your hands on some commands to try out some cool SPLs. You have a few options here:</p><ul><li><a href="https://www.splunk.com/en_us/download.html">Splunk </a>free trial -&gt; 14 days for Splunk Cloud and 60 days for Splunk Enterprise.</li><li><a href="https://tryhackme.com/">TryHackMe </a>offers some awesome free rooms where you can practice Splunk queries.</li><li><a href="https://bots.splunk.com/">Splunk </a>Boss of the SOC -&gt; free Splunk resource in a CTF style.</li></ul><p><strong>4. Practice for the exam</strong></p><p>If you’ve ever taken any certification you might be aware that sometimes even if you are an expert in the field, you might fail an exam only because you are not familiar with the way the questions are formulated. Considering that, I would strongly recommend that before taking the exam you should find some example questions online. The resource I used is this <a href="https://www.testpreptraining.com/tutorial/splunk-core-certified-advanced-power-user/">one</a>.</p><p>I believe after taking the above steps you will be ready to get a great score on your first attempt. Best of luck!!</p><p>Feel free to leave any other tips in the comments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f729ad7dc0b2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>