<?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 Mo Figueroa on Medium]]></title>
        <description><![CDATA[Stories by Mo Figueroa on Medium]]></description>
        <link>https://medium.com/@mo.figueroa?source=rss-17c4c55927fc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*9KeAIW0by06_b28v</url>
            <title>Stories by Mo Figueroa on Medium</title>
            <link>https://medium.com/@mo.figueroa?source=rss-17c4c55927fc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 05:05:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mo.figueroa/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[Running Hermes Agent on MicroK8s and Leveraging K8s CronJobs]]></title>
            <link>https://medium.com/@mo.figueroa/running-hermes-agent-on-microk8s-and-leveraging-k8s-cronjobs-c24403373a24?source=rss-17c4c55927fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/c24403373a24</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[hermes]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Mo Figueroa]]></dc:creator>
            <pubDate>Sun, 26 Apr 2026 18:52:24 GMT</pubDate>
            <atom:updated>2026-04-26T19:42:50.921Z</atom:updated>
            <content:encoded><![CDATA[<p>I’ve finally made the switch from OpenClaw to Hermes Agent for some of my personal automation needs. For work I use the Microsoft Agent Framework or CrewAI and thought about standards we have to set in corporate environments. One standard is running agents in isolation and only allowing them to specific things. Being a long time Kubernetes engineer gave me an idea to deploy the agents in my cluster and treat the agent like a service so that I can have a simple pattern: run the long-lived Hermes agent inside Kubernetes, keep its state on a persistent volume, and use native features for everything around it.</p><p>Running Hermes Agent on my local MicroK8s cluster gives me hosting benefits without paying for cloud overhead. By keeping everything local — gateway, CronJobs, PVCs, and ConfigMaps — you avoid VPC, NATing, and load balancer costs while gaining full control over state and scheduling. It’s a clean, cost-free, prod-like architecture that feels like a real system for my personal agentic AI needs.</p><p>I like to keep up with news in my field so I followed the daily brief doc in the Hermes examples (<a href="https://hermes-agent.nousresearch.com/docs/guides/daily-briefing-bot">Tutorial: Daily Briefing Bot | Hermes Agent</a>)but modified to use my platform.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*-w0k5VpnV02XcdqksWQtmw.jpeg" /></figure><p>Instead of treating Hermes like a laptop-bound CLI, this setup turns it into a small cluster service:</p><ul><li>a stateful Hermes gateway running in MicroK8s</li><li>a webhook interface exposed through a Kubernetes Service</li><li>a daily multi-topic briefing generated by a Kubernetes CronJob and delivered to WhatsApp</li><li>a resilient retry system that re-attempts delivery if the main job fails</li><li>a Helm chart and helper scripts to make the whole thing reproducible</li></ul><p>This post walks through the architecture, the interesting design choices, and what I learned while putting it together.</p><h3>Why run Hermes this way?</h3><p>Hermes’ upstream Docker model is already a strong fit for Kubernetes:</p><ul><li>the image itself is stateless</li><li>all runtime state lives under /opt/data</li><li>configuration can be seeded from env files and config files</li><li>the gateway process is naturally a long-running workload</li></ul><p>That gives you a clean split:</p><ol><li>Gateway deployment for the live interactive Hermes instance</li><li>Bootstrap job for initial state setup</li><li>Scheduled jobs for isolated one-shot automations</li></ol><p>In practice, that means you get a deployment that feels like a real system component, not just a container.</p><h3>The high-level design</h3><p>At the center of the system is a single Hermes gateway Deployment:</p><pre>Webhook client<br>  -&gt; Kubernetes Service (:8644)<br>  -&gt; Hermes gateway Deployment<br>  -&gt; PVC-backed /opt/data</pre><p>That deployment is intentionally conservative:</p><ul><li>one replica</li><li>persistent /opt/data</li><li>runtime config injected through Secret + ConfigMap</li><li>upstream Hermes entrypoint preserved</li></ul><p>Around that, there are two supporting pieces:</p><h3>1. Bootstrap Job</h3><p>The bootstrap job prepares the Hermes home directory on the PVC:</p><ul><li>creates the required directory structure</li><li>copies a seeded .env, config.yaml, and SOUL.md (I can integrate with Vaults later on)</li><li>falls back to upstream defaults otherwise</li><li>syncs bundled skills</li></ul><p>This keeps initialization explicit and avoids overloading the runtime deployment with first-run setup concerns.</p><h3>2. Kubernetes CronJob for the daily briefing</h3><p>The daily briefing started as a Hermes-internal scheduled job, but it was moved to a Kubernetes CronJob for one important reason:</p><p>The daily brief should not compete with the gateway for the same writable Hermes home directory.</p><p>The CronJob now runs Hermes in a separate one-shot container with:</p><ul><li>an isolated temporary /opt/data</li><li>a feed collection script packaged in a ConfigMap</li><li>a prompt packaged in the same ConfigMap</li><li>generated output enqueued to a persistent PVC and delivered to WhatsApp via a bridge sidecar</li><li>a second retry CronJob that re-attempts every 15 minutes if the main run fails</li></ul><p>This makes the briefing scheduler <strong>a Kubernetes concern, not a long-running Hermes concern</strong>.</p><h3>The architecture in one diagram</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TPdf49ZudQWOdGLi.png" /></figure><h3>The webhook gateway</h3><p>The live Hermes deployment is configured as a local webhook gateway.</p><p>That gives us a lightweight integration surface without requiring Telegram, Discord, or Slack tokens just to test the system.</p><p>The flow looks like this:</p><ol><li>port-forward the service locally</li><li>hit /health to verify the server is up</li><li>POST a JSON payload to /webhooks/local</li><li>let Hermes process it and persist the resulting session</li></ol><p>This was a useful design choice because it gave me an immediately testable runtime without depending on an external messaging platform.</p><h3>Why the daily briefing uses Kubernetes CronJob</h3><p>The daily briefing bot is a good example of where Kubernetes primitives are often the right answer.</p><p>Hermes has its own cron system, but the Kubernetes CronJob has a few advantages for this deployment:</p><ul><li>the schedule is visible with kubectl get cronjob</li><li>run history is visible with kubectl get jobs</li><li>logs are available directly from the Job</li><li>each execution is isolated</li><li>the gateway and briefing bot do not share a writable runtime home</li></ul><p>That last point mattered most.</p><p>Hermes upstream guidance already implies that /opt/data should be treated as a single-writer state directory. Running a second Hermes process against the same state for scheduled work is possible in some setups, but it’s not the cleanest operational model.</p><p>Using a Kubernetes CronJob sidesteps that problem neatly.</p><h3>How the daily briefing works</h3><p>The scheduled briefing does two things:</p><h3>Step 1: Collect source data</h3><p>A small Python script fetches public RSS and Atom feeds across several topics I need around AI, Security, DevOps and Platform engineering.</p><p>The script normalizes the entries into structured JSON and labels each source as:</p><ul><li>recent</li><li>fallback</li><li>empty</li><li>error</li></ul><p>This matters because real feeds are messy. Some days a source has no new posts in the last 24 hours. Some days a feed returns an error. The job doesn’t fail just because one source is sparse.</p><h3>Step 2: Ask Hermes to write the briefing</h3><p>Hermes then gets a single prompt with the collected source JSON injected into it. Instead of spending tool calls on scraping, the model is focused on the part it’s best at:</p><ul><li>selecting the most important stories</li><li>turning them into readable summaries</li><li>producing a concise briefing format</li></ul><p>That division of labor made the scheduled job much more reliable.</p><h3>Step 3: Deliver to WhatsApp</h3><p>After generation, the briefing text is enqueued on a PVC-backed delivery queue (/var/briefing-queue/pending/). The job then attempts to deliver it by POSTing to the WhatsApp bridge that runs as a sidecar inside the gateway pod, reached via the hermes-whatsapp-bridge ClusterIP Service which I am thinking about decoupling later.</p><p>If delivery fails, the item stays in pending/ for the retry CronJob to pick up. Once delivered, it moves to sent/. Items that outlive their delivery window move to expired/.</p><p>This means the briefing pod itself never needs to know whether the gateway is healthy. It just enqueues and tries; the retry system handles the rest. This is important because my firewall restricts traffic on certain times of the day so I need to make sure the retries are around the allowed period.</p><h3>What went wrong along the way</h3><p>The most interesting problems were operational, not conceptual.</p><h3>1. Hermes-internal cron was the wrong abstraction here</h3><p>The first version used Hermes’ built-in scheduler. It worked conceptually, but it shared too much surface area with the running gateway and wasn’t the cleanest fit for Kubernetes operations.</p><p>That’s what pushed the migration to a native CronJob.</p><h3>2. localhost:32000 and multi-node scheduling</h3><p>The MicroK8s local registry at localhost:32000 is node-local: it only works for pods scheduled onto the same node that runs the registry.</p><p>An early version of the briefing CronJob overrode its image to nousresearch/hermes-agent:latest as a quick workaround for ImagePullBackOff on non-registry nodes. That split was always awkward — different images for gateway and CronJob, potential version drift.</p><p>The clean resolution was to commit to single-node MicroK8s. With all pods guaranteed to land on the same node, localhost:32000 works reliably everywhere. Both the gateway and every briefing CronJob now use the same pinned local image:</p><pre>localhost:32000/hermes-agent:v2026.4.23</pre><p>The lesson: the image strategy and the cluster topology are not independent decisions.</p><h3>3. Feed gathering inside the model path was brittle</h3><p>An early attempt had Hermes gather the feeds directly during the scheduled run. That introduced unnecessary complexity and produced failures that were really data-collection problems, not summarization problems.</p><p>Moving feed collection into a deterministic script and reserving Hermes for the actual briefing generation was a much better split.</p><h3>Why this design works well</h3><p>A few properties make this deployment feel clean:</p><h3>Stateful where it should be</h3><p>The gateway has durable state:</p><ul><li>sessions</li><li>logs</li><li>config</li><li>skills</li></ul><p>That state lives in one PVC-backed Hermes home.</p><h3>Stateless where it should be</h3><p>The briefing job is disposable:</p><ul><li>temporary Hermes home (emptyDir) discarded on pod exit</li><li>no shared state contention with the gateway</li><li>one deliberate shared resource: the briefing-queue PVC, which holds the delivery queue between the main job and the retry job</li></ul><p>The delivery queue is the right exception. It intentionally outlives any single pod so that a retry can pick up where a failed main job left off.</p><h3>Reproducible from the repo</h3><p>The whole thing is now chart-managed:</p><ul><li>bootstrap job</li><li>gateway deployment</li><li>service and WhatsApp bridge proxy sidecar</li><li>main briefing CronJob</li><li>retry briefing CronJob</li><li>feed script ConfigMap and prompt</li><li>briefing queue PVC</li><li>scripts/push-briefing.sh for manual triggers</li></ul><p>That makes it much easier to redeploy or explain to someone else.</p><h3>What this setup is good for</h3><p>This architecture is especially nice for:</p><ul><li>homelab Kubernetes</li><li>small internal agent services</li><li>event-driven automations</li><li>scheduled summaries and reports</li><li>teams that want Kubernetes visibility around an agent workload</li></ul><p>It’s a pragmatic middle ground between “run Hermes manually in a shell” and “build a bunch of custom infrastructure around it.”</p><h3>The big takeaway</h3><p>The most useful lesson from this deployment is that Hermes works well when you separate stateful interaction from stateless automation.</p><p>The gateway is a stateful service. The briefing bot is a stateless scheduled batch job.</p><p>Putting both under the same Helm chart, but giving them different runtime models, keeps the system simple without flattening everything into one pattern.</p><p>So the high level architecture I’ll be using for most small Kubernetes-based Hermes deployments is:</p><ul><li>Deployment + PVC for the always-on agent</li><li>CronJob + emptyDir for one-shot scheduled automations</li><li>Secrets + ConfigMaps for configuration</li><li>Helm for repeatability</li></ul><p>It’s not a giant platform. It’s just a solid, understandable way to run a useful agent system in a cluster.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c24403373a24" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Azure, like other clouds, has a private link feature that allows connectivity to services to stay…]]></title>
            <link>https://medium.com/@mo.figueroa/azure-like-other-clouds-has-a-private-link-feature-that-allows-connectivity-to-services-to-stay-3e326e373bb7?source=rss-17c4c55927fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e326e373bb7</guid>
            <dc:creator><![CDATA[Mo Figueroa]]></dc:creator>
            <pubDate>Tue, 21 Feb 2023 01:56:41 GMT</pubDate>
            <atom:updated>2023-02-21T01:56:41.390Z</atom:updated>
            <content:encoded><![CDATA[<p>Azure, like other clouds, has a private link feature that allows connectivity to services to stay “inside” the network if you have an Express Route or a P2P. The one advantage is that you don’t have to have an internet/external endpoint, you don’t have to configure your internal services to be allowed external access through your firewall, whitelist cloud domains in your proxies and you can also use your internal DNS and certs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TYz3PjpWzYzvLSOM" /><figcaption>Connect to cloud resources inside your network.</figcaption></figure><p>I like to use Terraform to build the different PaaS offerings and in the same templates I can add the private endpoints to the services. The one thing that took me a while to find is the sub resource names. See below:</p><p>resource &quot;azurerm_private_endpoint&quot; &quot;keyvault&quot; {<br>name = &quot;key_vault-terraform-endpoint&quot;<br>location = azurerm_resource_group.rg.location<br>resource_group_name = azurerm_resource_group.rg.name<br>subnet_id = &quot;${data.azurerm_subnet.rg.id}&quot;</p><p><em>private_service_connection {<br>name = “key_vault-terraform-privateserviceconnection”<br>private_connection_resource_id = azurerm_key_vault.main.id<br>subresource_names = [ “vault” ]<br>is_manual_connection = false<br>}</em></p><blockquote><em>A private-link resource is the destination target of a specified private endpoint.</em></blockquote><h3>Some Benefits</h3><p>The benefits to most common private endpoints I’ve used are for the following services are</p><ol><li>Azure Container Registry<br> → The benefit here is that I can have a Docker Hub like container registry and I can push/pull containers to my local dev without having to go out to the internet<br> → Another benefit is that I can hook up security scans as well</li><li>Azure SQL DBs<br> → The benefit is that again you can connect from a local server to this DB using internal IPs and DNS</li><li>Azure Key Vault<br> → The benefit here is that your services and vault are not in the internet. Even in the internet they will need accounts to login but I like to know that the service can only be used inside the network.</li></ol><p>If all dependencies and users are inside the network then there is no need to allow public networks. You can disable access and only allow trusted Microsoft Services (Log Analytics, Defender, etc.)</p><h3>Disable public access to Azure Container Registry</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/0*ixXzm7Py6rx8v2er.png" /></figure><h3>Sources</h3><p>Subresources for Terraform, Bicep, etc: <a href="https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource">https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-overview#private-link-resource</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e326e373bb7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Bitwarden as a source for secrets and using them in the Powershell vault to keep them hidden!]]></title>
            <link>https://medium.com/@mo.figueroa/using-bitwarden-as-a-source-for-securest-and-using-them-in-the-powershell-vault-to-keep-them-hidden-39df3f0972d7?source=rss-17c4c55927fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/39df3f0972d7</guid>
            <category><![CDATA[vault]]></category>
            <category><![CDATA[passwords]]></category>
            <category><![CDATA[secrets]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[powershell]]></category>
            <dc:creator><![CDATA[Mo Figueroa]]></dc:creator>
            <pubDate>Tue, 31 Jan 2023 02:49:39 GMT</pubDate>
            <atom:updated>2024-05-18T18:38:31.851Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3OxyF7jMnZBUpR3G.png" /></figure><p>SHHHH! It’s a secret! If you are using Bitwarden to store your secrets you are awesome since I am doing the same as it is my favorite vault for personal use. My main use case is for the browser plugin but with the CLI I’ve been using it in my powershell and python scripts. In this article I will cover a function I created to retrieve secrets from Bitwarden and pass them in Powershell.</p><p>In upcoming articles I will show how to use it in Python, Azure DevOps or Jenkins depending on demand for increased security and automation.</p><p>If you ONLY want to use Bitwarden as your vault the function outlined in this article will help you. Retrieving is a little redundant since you can easily copy your Bitwarden secrets to the Powershell vault and call it a day but this is the baseline for establishing connectivity with Bitwarden so that you can use other features like saving outputs from Powershell directly into Bitwarden and other features from the CLI that you’d want to automate.</p><p>When working with secrets it is HIGHLY recommended to create a separate vault and a separate account with restricted access to read only the secrets that will be used in scripts. It is a common practice for security teams to create group based access to DevOps personnel so we can only see and use the necessary secrets in the scripts.</p><p>If you have a single script you want to run with secrets there are a few steps to do before running the script:</p><h3>I. Add Bitwarden Creds to the Powershell Secret Vault</h3><p>The Bitwarden API login is the preferred method for automating tasks. This login looks for environment variables to be set which is a common practice on Dev environments specially in Linux. We can set the environment variables in clear text but to increase security a bit I will be using the <a href="https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.secretmanagement/?view=ps-modules">Powershell Secret Management </a>to store the credentials for the environment variables and then clearing them so that they are not stored in memory but only stored in the Powershell vault. The Powershell vault can be locked with another password or scoped to only the profile or all users for further protection.</p><p>I created the secrets for the API login and added the dev account’s master password to unlock the Bitwarden vault.</p><pre>Set-Secret -Name BWPass -Secret ##xx$$!!AAbbCCDd<br>Set-Secret -Name BWAPIClient -Secret ##xx$$!!AAbbCCDd<br>Set-Secret -Name BWAPIClientSecret -Secret ##xx$$!!AAbbCCDd</pre><h3>II. Environment Variables for API Login</h3><p>Now I can set the environment variables by getting the secrets from the Powershell vault.</p><pre>$env:BW_CLIENTID = Get-Secret -Vault vName -Name BWAPIClient -AsPlainText<br>$env:BW_CLIENTSECRET = Get-Secret -Vault vName -Name BWAPIClientSec -AsPlainText<br>$env:BW_PASSWORD = Get-Secret -Vault vName -Name BWPass -AsPlainText</pre><p>You are storing this information in memory for the session. I do not recommend leaving the creds on the environment variables. The environment variables are protected by your user profile but in the event of a breach they can be retrieved easily. Also this is the reason why you create a separate vault and use an account with restricted access. At the end of the script I will be clearing these values.</p><h3>III. Powershell / CLI Trickery</h3><h3>Login</h3><p>The first step is to login using the API key which looks for the environment variables we set in the previous step</p><pre>[void](Invoke-Command -ScriptBlock {bw login --apikey})</pre><p>I am using void to suppress the output of that command, when the command runs it will look for the env variables. If you take out void you will see the prompt that you are logged in.</p><h3>Unlock Bitwarden’s vault</h3><p>The next step is to unlock the vault and here’s where you need the password, you could also use a text file with the password but again, not a good practice to have text files with passwords so might as well use environment variables since they only last for the session. I am storing the output of the command so that I can extract the session key.</p><pre>$unlockSesh = Invoke-Command -ScriptBlock {bw unlock --passwordenv BW_PASSWORD}</pre><p>If you run this command and look at the variable you will see the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/0*gJaG8_fVGMLeVh9y.png" /></figure><h3>String manipulation</h3><p>Now I have to manipulate the variable so that I can isolate the line with the session key and extract it which I accomplished in 2 steps:</p><pre>$pwline = $unlockSesh | Select -Last 4 | Select -First 1</pre><p>This line grabs the first line out of the last 4 lines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/801/0*KNfdSWo-ytk6aBUk.png" /></figure><p>I still have the prompt character (&gt;) and info I don’t want so to isolate the session key I can split the string by using the double quotes as my delimiter. Then I can select the second value which is 1 since the count starts at zero. Zero would be anything before the double quotes.</p><pre>$seshkey = $pwline.Split(&#39;&quot;&#39;)[1]</pre><p>The result of this string is the session key!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/654/0*AXScOcukOOkg7RxE.png" /></figure><h3>III. Getting Bitwarden secrets with the session key.</h3><p>Now that I have the session key isolated in the variable called $seshkey I can use it to pull secrets, store them in variables and use them in my scripts.</p><pre>$powershellsecret = Invoke-Command -ScriptBlock {bw get password TestingAzDo --session $seshkey}</pre><p>Again, we are wrapping the Bitwarden CLI into powershell by saving the output as a variable that we can then take and use for our scripts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Lox0wo60lqJNbhHc.png" /></figure><h3>Link to function</h3><p>Feel free to use the function and can be downloaded or pulled from here: <a href="http://bitwardenfn.ps1/">https://github.com/mdf-ido/sharetocare/blob/main/powershell/BitwardenFN.ps1</a></p><h3>Wrap Up (Part I)</h3><p>With this in your scripts you will be able to run scripts and retrieve passwords from Bitwarden. I highly recommend that you rotate your API Keys constantly, create a separate vault with ONLY the secrets you want to use in scripts and create a separate user account with access to the separate vault so you can use it in your scripts.</p><p>In upcoming articles I will share a function I wrote to make it easier to use and also will share how to use it in Azure DevOps for increased security.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=39df3f0972d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Book Review: Sandworm — A New Era of Cyberwar and the Hunt for Kremlin’s Most Dangerous Hackers]]></title>
            <link>https://medium.com/@mo.figueroa/book-review-sandworm-a-new-era-of-cyberwar-and-the-hunt-for-kremlins-most-dangerous-hackers-522b6c49fcd5?source=rss-17c4c55927fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/522b6c49fcd5</guid>
            <category><![CDATA[hacker-news]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[devsecops]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Mo Figueroa]]></dc:creator>
            <pubDate>Tue, 31 Jan 2023 02:43:43 GMT</pubDate>
            <atom:updated>2023-01-31T02:45:13.753Z</atom:updated>
            <content:encoded><![CDATA[<h3>Book Review: Sandworm — A New Era of Cyberwar and the Hunt for Kremlin’s Most Dangerous Hackers</h3><p>Imagine you are in the office, in front of your computer, focused on your work but all of the sudden your computer reboots but this time it doesn’t come back to a login screen, instead it shows a ransomware message.</p><p>What do you do now?</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FbqBpnDNN7Mk%3Fstart%3D269%26feature%3Doembed%26start%3D269&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DbqBpnDNN7Mk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FbqBpnDNN7Mk%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/e4a969c06195fa4b6cda76b99be61fcf/href">https://medium.com/media/e4a969c06195fa4b6cda76b99be61fcf/href</a></iframe><p>One of my favorite books I recently finished is Sandworm: A New Era of Cyberwar and the Hunt for the Kremlin’s Most Dangerous Hackers” by Andy Greenberg. I highly recommend this book not only for Cyber Security and Tech professionals but also for anyone that wants to better understand the motives and evolution of hacking groups around the world. It reads like a true crime story and it provides a good background to understand how the hacking group evolved and was able to launch a devastating attack.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*_SXvpVOMcYUE-uGT.jpeg" /></figure><p><a href="https://amzn.to/3P6Iqsv">BUY THE BOOK!</a></p><p>Imagine you are in the office, in front of your computer, focused on your work but all of the sudden your computer reboots but this time it doesn’t come back to a login screen, instead it shows a ransomware message.</p><p>What do you do now?</p><p>One of my favorite books I read last year was Sandworm: A New Era of Cyberwar and the Hunt for the Kremlin’s Most Dangerous Hackers” by Andy Greenberg. I highly recommend this book not only for Cyber Security and Tech professionals but also for anyone that wants to better understand the motives and evolution of hacking groups around the world. It reads like a true crime story and it provides a good background to understand how the hacking group evolved and was able to launch a devastating attack.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*b31hiO4ynbDLRrXWEFF4aQ.png" /></figure><p><a href="https://amzn.to/3P6Iqsv">BUY THE BOOK!</a></p><h3>Who is Sandworm?</h3><p>Sandworm, also known as APT28 and Fancy Bear, is a state-sponsored hacking group that is believed to operate on behalf of the Russian government. Other countries have their state-sponsored groups as well but in this article we will only focus on Sandworm. Investigations show that the group has been active since at least 2007 although it could be an evolution of another set of groups. They have been linked to a number of high-profile cyberattacks against governments, military organizations, and other targets around the world.</p><h3>What are their motives?</h3><p>According to experts, Sandworm has primarily been motivated by geopolitical objectives and has been used as a tool of Russian statecraft. The group has been used to gather intelligence, disrupt critical infrastructure, and spread propaganda and disinformation. Some of the specific goals that Sandworm has been associated with include:</p><ul><li>Gathering intelligence on governments and military organizations in order to advance Russian interests</li><li>Disrupting the operations of governments and military organizations in order to weaken their ability to resist Russian aggression</li><li>Spread propaganda and disinformation in order to shape public opinion in favor of Russian policies</li><li>Sabotaging critical infrastructure in order to disrupt the economies and societies of targeted countries</li></ul><p>Overall, Sandworm’s activities have been aimed at furthering the interests of the Russian state and undermining the security and stability of other countries.</p><h3>Hackers and Software Development — Evolving from mimikatz</h3><p>Mimikatz is a tool that can be used to obtain the passwords of Windows users, allowing an attacker to gain unauthorized access to a system. It was developed by French security researcher Benjamin Delpy and has been used by a variety of hacking groups, including Sandworm.</p><p>It is not clear exactly how Sandworm came to use Mimikatz in its operations. However, Mimikatz has become a popular tool among hackers due to its effectiveness at extracting passwords, and it is likely that Sandworm, like many other groups, adopted it as a means of gaining access to targeted systems.</p><p>Once Mimikatz has been used to obtain passwords, an attacker can use them to log into systems and gain access to sensitive data, install malware, or perform other malicious actions. Sandworm and other groups have used Mimikatz as part of their toolkit for conducting cyber espionage and other types of attacks.</p><h3>Damage and Impact</h3><p>Maersk, a Danish shipping and logistics company, was one of the organizations that was significantly impacted by the NotPetya cyberattack in 2017. NotPetya was a strain of ransomware that was initially spread through a software update mechanism for a Ukrainian accounting program, but it quickly spread to other countries and caused widespread damage to businesses and government organizations around the world.</p><p>Maersk was one of the hardest hit companies, with the attack causing significant disruption to its operations. The attack encrypted the company’s data and rendered its systems inoperable, resulting in the shut down of a number of its critical systems, including its email and financial systems. The company estimated that the attack cost it upwards of $300 million in lost revenue and expenses related to the recovery effort.</p><p>In the aftermath of the attack, Maersk worked to restore its systems and rebuild its operations, but the damage caused by the attack took months to fully repair. The incident highlights the significant risks and costs that businesses can face as a result of cyberattacks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=522b6c49fcd5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creando un contenedor con Kasm y Github Actions para usar XChat IRC.]]></title>
            <link>https://medium.com/@mo.figueroa/creando-un-contenedor-kasm-con-github-actions-para-usar-xchat-irc-93f4a8d7cad3?source=rss-17c4c55927fc------2</link>
            <guid isPermaLink="false">https://medium.com/p/93f4a8d7cad3</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[contenedores]]></category>
            <category><![CDATA[seguridad]]></category>
            <dc:creator><![CDATA[Mo Figueroa]]></dc:creator>
            <pubDate>Mon, 30 Jan 2023 18:32:06 GMT</pubDate>
            <atom:updated>2023-01-30T18:38:05.385Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*N-VYVdl3tgYP-g0XVj05fQ.jpeg" /><figcaption>Kasmweb</figcaption></figure><p>Los contenedores de Kasm son mis favoritos ya que los puedo configurar para usar mis aplicaciones de forma segura ya que no tengo que instalarlos en mi computadora. Aquí les muestro como hacer un contenedor para accederlo en Kasm.</p><h3>Crea el contenedor</h3><p>Estoy usando la imagen base que proveen, ya la mayoría de las configuraciones están hechas y solo tengo que agregar mi aplicación.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/659/0*FaSjAYVZvt4oczIp.png" /><figcaption>Contenedor Kasm en código.</figcaption></figure><h3>Configura el Github Action</h3><p>Para usar Github Actions tienes que crear dos secretos en tu cuenta:</p><ol><li>DOCKER_HUB_USERNAME con el valor de tu cuenta</li><li>DOCKER_HUB_ACCESS_TOKEN con una ficha PAT de tu cuenta en Github.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/873/0*kNN_hHRDm_qXbRCI.png" /><figcaption>Github action para crear un contenedor Kasm.</figcaption></figure><p>Este Github action va a ingresar a tu cuenta de DockerHub y va a crear el repositorio para guardar y bajar el contenedor.</p><h3>Configura Kasm</h3><p>Como yo instale Kasm en un servidor encima de ProxMox, de ahi ingreso por la consola para bajar mi contenedor. Tambien puedes hacerlo por SSH.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/0*T7ekQOj7qJFLg5lC.png" /></figure><p>Una vez ya esta listo en Docker (docker images) lo puedo configurar como imagen para de uso en Kasm.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NlLtGQjKYqpMrcgF.png" /></figure><h3>Listo!</h3><p>Ya una vez esta configurado puedes usarlo como aplicación si eres el usuario Admin or si estas en el grupo asignado.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cqUhsSezIl78-4sU.png" /><figcaption>Opciones de contenedores configurados en Kasm</figcaption></figure><p>Esta configuración nos lleva a un contenedor de Ubuntu pero lo podemos hacer que no se vea el sistema operativo y nada mas la aplicación pero hacemos eso en otro articulo!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-G9dmWiffU56vFuz.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93f4a8d7cad3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>