<?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 Rick Martin on Medium]]></title>
        <description><![CDATA[Stories by Rick Martin on Medium]]></description>
        <link>https://medium.com/@MrAmazin?source=rss-db78edd98f3e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_uCoHuI92c8Kq9TnU3Legw.jpeg</url>
            <title>Stories by Rick Martin on Medium</title>
            <link>https://medium.com/@MrAmazin?source=rss-db78edd98f3e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 13:24:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@MrAmazin/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[I Wanted to Catch Hackers. Two Years Later, I’m Building the Future of Detection Engineering]]></title>
            <link>https://medium.com/@MrAmazin/i-wanted-to-catch-hackers-two-years-later-im-building-the-future-of-detection-engineering-ad2833a64bb4?source=rss-db78edd98f3e------2</link>
            <guid isPermaLink="false">https://medium.com/p/ad2833a64bb4</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[detection-engineering]]></category>
            <dc:creator><![CDATA[Rick Martin]]></dc:creator>
            <pubDate>Mon, 02 Nov 2026 05:13:10 GMT</pubDate>
            <atom:updated>2026-11-02T05:13:10.810Z</atom:updated>
            <content:encoded><![CDATA[<p><em>From writing detection rules to leading engineers, architecting AI-powered workflows, and making business decisions. Two years in cybersecurity have completely changed how I see the industry.</em></p><p>Hi everyone!</p><p>I know it’s been a long time since my last post, but I wanted to give you all an update. And boy, have things changed! Not just personally, but within the cybersecurity industry as well.</p><p>There have been so many changes in this industry over the past year, and I’ve learned more about Detection Engineering than I ever imagined I would.</p><p>I’ve officially been working in my dream career for two years now, and to say it’s been a roller coaster wouldn’t even begin to do my experience justice.</p><p>But I have some exciting news to share.</p><p><strong>I’ve officially been promoted to Detection Engineering Lead, and I’m absolutely loving it!</strong></p><p>I now have two Detection Engineers on my team, and I’m responsible for not only guiding and developing them but also building and leading our entire Detection Engineering program.</p><p>When I initially wanted to become a Detection Engineer, I thought it would be cool to build defenses that catch the bad guys. I wanted to write detection rules, identify malicious behavior, and become really good at recognizing the latest tactics, techniques, and procedures (TTPs).</p><p>Simple enough, right?</p><p><strong>Boy, did I have absolutely no idea what I was signing up for.</strong></p><p>My mindset has completely changed since then, and quite frankly, it had to change for me to grow into the position I’m in today.</p><h3>Detection Engineering Is No Longer Just About Writing Rules</h3><p>One of the biggest lessons I’ve learned is that writing detection rules for the latest TTPs and tuning existing detections to reduce false positives are no longer enough to separate a good Detection Engineer from a great one.</p><p>Don’t get me wrong. Those skills are still essential, and they aren’t going anywhere.</p><p>But the expectations have changed.</p><p>We’re now entering an era where Detection Engineers need to understand automation, Detection-as-Code, artificial intelligence, and how to build and manage agentic workflows.</p><p>The engineer who can write a great SPL, KQL, or ES|QL query is valuable. But the engineer who can architect an entire detection lifecycle, automate repetitive processes, validate detection quality, and understand the business impact of their decisions brings an entirely different level of value.</p><p>And that’s the level I’m challenging myself to reach.</p><p>In my current role, I’m responsible for leading both my team and the Detection Engineering program beyond the SIEM.</p><p>I’m now expected to truly understand the business impact of threats, the architecture of our environment, where our crown jewels reside, and which risks deserve the most attention.</p><p>I’m being asked to make decisions that can directly affect the business.</p><p>Is investing in another security platform worth the cost? Are we getting the most out of our existing tools? Does a particular detection justify the additional telemetry ingestion costs? Could we solve the same problem by improving our architecture instead of purchasing another solution?</p><p>These are questions I never imagined I’d be responsible for answering when I first entered Detection Engineering.</p><p>I’ve also developed a much deeper understanding of the technical limitations of various security platforms. I’m now able to confidently explain those limitations to clients, recommend solutions, and have conversations that I wouldn’t have even known how to approach two years ago.</p><p><strong>I’m no longer just thinking about how to detect a threat. I’m thinking about how to build a program that can continuously detect threats while supporting the business.</strong></p><p>That’s a completely different mindset.</p><h3>AI Has Changed the Game, and We’re Only Getting Started</h3><p>We’re officially living in the future of artificial intelligence.</p><p>And one thing I keep reminding myself is this:</p><p><strong>This is probably the dumbest AI will ever be.</strong></p><p>Think about that for a second.</p><p>We’re already witnessing how AI is changing software development, cybersecurity, threat hunting, incident response, and countless other industries. Yet, we’re still relatively early in understanding just how powerful this technology can become.</p><p>Some companies and leaders are all in, purchasing subscriptions to practically every AI platform available. Others are a little more apprehensive, and understandably so.</p><p>One thing I’ve learned through my own experience is that AI can absolutely improve the speed, efficiency, and quality of our work.</p><p>But there’s a caveat.</p><p><strong>AI is only as effective as the person directing it and the systems governing its actions.</strong></p><p>You can purchase every AI subscription on the market, but if you don’t understand the problem you’re trying to solve, the underlying technology, or how to validate the output, you’re simply finding ways to make mistakes faster.</p><p>I’ve learned this firsthand.</p><p>AI can generate a detection rule in seconds. That doesn’t mean the rule is accurate, that the necessary telemetry exists, or that the logic will actually identify the intended behavior.</p><p>Without proper validation, you could deploy a rule that looks impressive on paper but provides absolutely no security value.</p><p>The more I’ve worked with AI, the more I’ve realized that the real value isn’t simply getting it to produce something faster.</p><p><strong>The real value is building systems that allow AI to produce reliable, repeatable, and measurable results.</strong></p><p>And while we’re figuring out how to use AI to improve our defenses, threat actors are doing the exact same thing to improve their attacks.</p><h3>Threat Actors Are Leveraging AI, Too</h3><p>As of November 2026, we’ve seen threat actors leverage AI across multiple stages of the cyberattack lifecycle, including reconnaissance, vulnerability research, malware development, credential theft, lateral movement, and data exfiltration.</p><p>The biggest shift is that AI is no longer just helping attackers write phishing emails or generate malicious scripts.</p><p>It’s beginning to help them execute, coordinate, and adapt attacks in real time.</p><p>According to <a href="https://cloud.google.com/blog/topics/threat-intelligence/from-prompting-to-autonomy-the-evolution-of-adversarial-ai">Google Threat Intelligence Group’s September 2026 research</a>, some adversaries have evolved from basic AI prompting to agentic workflows capable of automating multiple stages of an attack.</p><p>In one observed case, attackers compromised a cloud resource and subsequently planned, built, and executed an AI-assisted mass credential-harvesting campaign in under six hours.</p><p>Six hours!</p><p>Think about what that means for organizations whose security operations still depend heavily on manual investigation, slow detection development, and lengthy approval processes.</p><p>Attackers are finding ways to operate faster, at greater scale, and with fewer resources.</p><p>And as defenders, we have to evolve with them.</p><h3>What Does This Mean for Detection Engineering?</h3><p>One of the biggest challenges for Detection Engineers is that an AI-assisted attack doesn’t necessarily produce unique AI-specific indicators.</p><p>A malicious PowerShell command generated by an LLM can look identical to one written by a human.</p><p>A credential-harvesting operation supported by AI may still generate the same authentication events, network connections, and process executions we’ve been investigating for years.</p><p>So how do we detect something when we can’t necessarily distinguish whether a human or AI generated the activity?</p><p>We focus on the behavior.</p><p><strong>The objective shouldn’t be to prove that AI was involved in an attack. The objective should be to identify what the attacker is attempting to accomplish.</strong></p><p>Whether a malicious command was written by a human or generated by an AI agent doesn’t change the fact that the behavior may be suspicious.</p><p>This is why I believe behavioral detection engineering, proper telemetry, and detection validation are becoming more important than ever.</p><p>And this brings me to one of the projects I’m most excited about.</p><h3>Building My Own Agentic Detection Engineering Workflow</h3><p>Over the past several months, I’ve been working on something that has completely changed how I approach Detection Engineering.</p><p>I’ve built an AI-assisted, agentic Detection Engineering workflow designed to support the entire detection lifecycle.</p><p>Instead of relying on one AI prompt to accomplish everything, I’ve developed multiple specialized skills, each with a specific responsibility.</p><p>One skill focuses on creating and tuning detection rules. Another handles data validation and ensures the necessary telemetry supports the proposed detection logic. Another focuses on threat hunting and identifying suspicious behaviors that may not yet be covered by our detection library.</p><p>The idea was to build a system where these capabilities could work together rather than function as isolated tasks.</p><p>Sounds great, right?</p><p>Well, there was a problem.</p><p>When I initially started building this framework, our AI platform operated completely offline. It wasn’t connected to our security environment, which meant I had to manually export evidence, copy and paste telemetry, and provide the necessary context before the skills could perform their intended functions.</p><p>It worked, but it wasn’t nearly as efficient as I wanted it to be.</p><p>Then we received the green light to establish connectivity through a Model Context Protocol (MCP) server.</p><p><strong>And needless to say, that was a game changer.</strong></p><p>With the MCP connection established, the workflow could retrieve telemetry directly from the environment through authorized tools rather than depending entirely on manually supplied evidence.</p><p>That opened the door to more streamlined data profiling, detection development, validation, and tuning.</p><p>Instead of spending so much time gathering the information needed to begin the work, I could focus more on evaluating the quality of the results.</p><p>However, solving one bottleneck exposed another.</p><p>And this was something I hadn’t anticipated.</p><h3>Automation Created a Problem I Didn’t See Coming</h3><p>As the workflow became more efficient, detection rules were being created and tuned faster than our traditional peer-review process could comfortably support.</p><p>Think about that.</p><p>I had spent all this time trying to accelerate Detection Engineering, only to discover that our human review process was becoming the new bottleneck.</p><p>Now, I could have simply accepted that as part of the process.</p><p>But that didn’t make sense to me.</p><p>If the objective was to build an efficient and scalable detection program, then the governance process needed to evolve alongside the technology.</p><p>This inspired me to create a structured Quality Assurance (QA) checklist with multiple guardrails.</p><p>The goal was to ensure that each proposed detection or modification satisfied specific quality requirements before it could move forward.</p><p>Did the rule have the necessary telemetry? Was the detection logic valid? Did the changes introduce new risks? Were there unexpected behavioral differences between the previous and revised versions? Did the rule maintain the required boundaries between clients?</p><p>Depending on the outcome of those checks and the significance of the proposed changes, a peer review could become mandatory.</p><p>For lower-risk changes that satisfied the established criteria, the workflow could automate portions of the approval process while maintaining the required governance and deployment controls.</p><p>This wasn’t about removing humans from the equation.</p><p><strong>It was about making sure human expertise was being used where it mattered most.</strong></p><p>Why should an engineer spend the same amount of time reviewing every minor change when some changes introduce significantly more risk than others?</p><p>That shift in thinking made a tremendous difference.</p><p>We could spend less time on repetitive work and more time investigating meaningful detection issues, identifying broken rules, reviewing gaps in telemetry, and improving our overall security posture.</p><p>But perhaps the biggest benefit was something I hadn’t originally set out to accomplish.</p><p>Building this workflow forced me to understand Detection Engineering at a much deeper level.</p><p>I couldn’t simply tell AI to validate a detection if I didn’t understand what proper validation should look like.</p><p>I couldn’t build meaningful guardrails without understanding the risks they were supposed to prevent.</p><p>And I couldn’t automate a process effectively without first understanding every step of that process.</p><p><strong>In the process of teaching AI how to support Detection Engineering, I was forcing myself to become a better Detection Engineer.</strong></p><h3>Learning to Lead Has Been Just as Challenging as Learning the Technology</h3><p>As much as I enjoy the technical side of my job, one of the most rewarding parts of this new chapter has been leadership.</p><p>I’m enjoying my role more than ever because I have the confidence and trust of both my team and leadership.</p><p>That means a lot to me.</p><p>I’m now responsible for setting the direction of our Detection Engineering program, measuring our effectiveness, and ensuring that the work we’re doing is actually making a difference.</p><p>I’m looking at metrics such as our true-positive-to-false-positive ratio, the time it takes analysts to triage alerts, the quality of our detections, and how those metrics change over time.</p><p>I want to know whether our tuning efforts are improving the analyst experience.</p><p>I want to know whether the new detections we’re creating are addressing meaningful threats.</p><p>And most importantly, I want to know whether we’re actually improving our ability to protect our clients.</p><p>Because creating 50 new detection rules means absolutely nothing if those rules are ineffective, unsupported by telemetry, or generating unnecessary noise.</p><p>But leadership has also taught me something that goes far beyond technology and metrics.</p><p><strong>My success is no longer measured solely by what I can accomplish. It’s also measured by how much I can help the people around me grow.</strong></p><p>I have two engineers on my team, and I genuinely want them to become exceptional at what they do.</p><p>I want them to develop confidence in their technical abilities. I want them to challenge ideas, ask questions, and feel comfortable making decisions.</p><p>I’ve intentionally started having them speak more during meetings, present their work, and engage directly with others across the organization.</p><p>Not because I don’t want to speak, but because I want them to receive the recognition, visibility, and respect they deserve.</p><p>I don’t want to be the lead who takes credit for everything the team accomplishes.</p><p>I want to build a team where everyone feels like they have ownership in our success.</p><p>And let me tell you something.</p><p><strong>Yes, I may hold the title of Lead, but we’re a team full of badasses, and I’d put us up against any threat actor that wants to come play in our environment.</strong></p><p>That’s how much confidence I have in the people I work with.</p><p>And I want them to have that same level of confidence in themselves.</p><h3>Two Years In, and I Feel Like I’ve Been Doing This for a Decade</h3><p>It’s crazy to think that I’ve only been a Detection Engineer for two years.</p><p>There are days when I feel like I’ve been sitting in this seat for a decade because of how much I’ve experienced and how quickly my responsibilities have evolved.</p><p>I’m now making decisions that impact the business.</p><p>I’m analyzing the cost and value of technical solutions.</p><p>I’m thinking about what happens when a detection fails, what risks we introduce when we make changes, and how our architecture needs to evolve to address tomorrow’s threats.</p><p>I’m being trusted to lead, innovate, and build strategies that will shape the future of our Detection Engineering program.</p><p>And that’s something I don’t take lightly.</p><p>Two years ago, my goal was to become really good at writing detection rules.</p><p>Today, I’m designing and architecting workflows, developing automation strategies, evaluating security technologies, mentoring engineers, and building systems intended to make our entire team more effective.</p><p>It’s a tremendous amount of responsibility, but I wouldn’t trade the experience.</p><p>I’ve had to become more technical, more strategic, more business-minded, and more comfortable making decisions that don’t always have a straightforward answer.</p><p>And I’ve realized that the higher you grow in your career, the less your job becomes about simply knowing how to do something.</p><p>It becomes about understanding <strong>why something needs to be done, whether it’s worth doing, and how to make it sustainable.</strong></p><p>That’s probably been the biggest transformation in my mindset.</p><h3>What’s Next?</h3><p>If these first two years have taught me anything, it’s that I still have so much more to learn.</p><p>AI is evolving. Threat actors are evolving. Security platforms are evolving. And the expectations placed on Detection Engineers will continue to evolve right alongside them.</p><p>I want to continue strengthening my knowledge of Detection-as-Code, AI engineering, security architecture, and the business side of cybersecurity.</p><p>I want to build systems that don’t simply make our jobs easier but genuinely improve the way we detect and respond to threats.</p><p>I want to help develop engineers who are capable of doing things I haven’t even thought of yet.</p><p>And most importantly, I don’t ever want to become complacent with what I know today.</p><p>Because the moment I believe I’ve learned enough is probably the moment I start falling behind.</p><p>When I started this journey, I just wanted to catch the bad guys.</p><p>Now, I’m helping build the systems, processes, and teams responsible for catching them.</p><p><strong>I’m no longer simply creating a rule because a new CTI report identified the latest TTP. I’m thinking about how we architect detection capabilities that can continuously adapt to the threats of tomorrow.</strong></p><p>And to think, I’m only two years into my dream career.</p><p><strong>We’re just getting started.</strong></p><p><em>To my fellow Detection Engineers and cybersecurity professionals: How has AI changed your responsibilities over the past year? Are you seeing the same shift from traditional detection development toward automation, architecture, and agentic workflows? I’d love to hear how others are adapting.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ad2833a64bb4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PHP2Shell Exposed More Than a Vulnerability. It Exposed the Blind Spots in Your SIEM.]]></title>
            <link>https://medium.com/@MrAmazin/php2shell-exposed-more-than-a-vulnerability-it-exposed-the-blind-spots-in-your-siem-f3efadf67d84?source=rss-db78edd98f3e------2</link>
            <guid isPermaLink="false">https://medium.com/p/f3efadf67d84</guid>
            <category><![CDATA[php2shell]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[detection-engineering]]></category>
            <category><![CDATA[threat-detection]]></category>
            <category><![CDATA[security-operations]]></category>
            <dc:creator><![CDATA[Rick Martin]]></dc:creator>
            <pubDate>Mon, 02 Nov 2026 04:17:35 GMT</pubDate>
            <atom:updated>2026-11-02T04:17:35.140Z</atom:updated>
            <content:encoded><![CDATA[<p>PHP2Shell exposes a critical SIEM challenge: missing telemetry. Explore detection strategies, visibility gaps, and the business cost of cybersecurity monitoring.</p><p>The cybersecurity world has been in a frenzy over the past week following the disclosure of several critical PHP vulnerabilities .CVE-2026–109618 &amp; CVE-2026–109619 (“php2shell”):</p><p>As a Detection Engineer, I’ve spent countless hours in meetings with internal stakeholders, security leadership, and clients discussing the same concerns.</p><p>Two questions continue to come up:</p><p><strong>“Are we vulnerable to this exploit?”</strong></p><p><strong>“Do we have detections in place to capture this activity?”</strong></p><p>Both are reasonable questions. In fact, they are exactly the questions organizations should be asking when a major vulnerability makes headlines.</p><p>Unfortunately, I’ve found myself delivering the same uncomfortable answer repeatedly:</p><p><strong>“We do not currently have the telemetry necessary to reliably detect this activity.”</strong></p><p>And that answer opens the door to a much bigger conversation.</p><p>Because the challenge isn’t necessarily that we don’t know how to build the detections.</p><p>The challenge is that we don’t have the visibility required to make those detections effective.</p><p>There’s a significant difference.</p><h3>The Thankless Reality of Detection Engineering</h3><p>Detection Engineering is one of those disciplines where success often goes unnoticed.</p><p>When detections are working, threats are identified, malicious behavior is investigated, and incidents are contained before they develop into something catastrophic.</p><p>Everything is operating as intended.</p><p>Nobody is necessarily celebrating the engineer who spent days researching an attack technique, reviewing raw logs, analyzing false positives, building detection logic, validating the rule, and ensuring it performs reliably in production.</p><p>But when something slips through?</p><p>Everyone wants answers.</p><p>Why didn’t we detect it?</p><p>Why wasn’t there a rule?</p><p>How did the attacker get past our monitoring?</p><p>What is Detection Engineering doing to prevent this from happening again?</p><p>And while accountability is absolutely necessary in cybersecurity, we also need to recognize something that often gets overlooked:</p><p><strong>A detection engineer cannot detect activity that the organization does not have the telemetry to observe.</strong></p><p>You can build sophisticated correlation logic. You can map detections to MITRE ATT&amp;CK. You can implement Detection-as-Code, automate validation, and leverage AI to accelerate the development lifecycle.</p><p>None of those capabilities can manufacture evidence that was never collected.</p><p>A well-written detection rule operating against incomplete telemetry is still operating with incomplete visibility.</p><p>And that’s where the conversation needs to shift.</p><h3>The PHP Vulnerabilities: A Practical Example</h3><p>In October 2026, the PHP ecosystem was shaken by the disclosure of two critical vulnerabilities, CVE-2026–109618 and CVE-2026–109619, commonly discussed under the name PHP2Shell.</p><p>Both raised concerns about potential unauthenticated remote code execution involving PHP’s session handling and multipart upload functionality.</p><p>A related vulnerability, CVE-2026–115560, was subsequently disclosed. This issue involves session upload progress and an unusual combination of session serialization settings and application behavior.</p><p>These vulnerabilities are related, but their exploitation prerequisites are not identical. Not every PHP deployment is vulnerable to every issue.</p><p>That distinction matters.</p><p>From a vulnerability management perspective, the priority is understanding which systems are exposed, which software versions and configurations are affected, and whether the appropriate patches or mitigations have been applied.</p><p>From a Detection Engineering perspective, the questions are different.</p><p>What does exploitation look like?</p><p>What artifacts might an attacker leave behind?</p><p>Which data sources would provide evidence of an attempted or successful compromise?</p><p>And most importantly:</p><p><strong>Are we actually collecting those data sources?</strong></p><p>This is where I found the conversation becoming considerably more complicated.</p><h3>The Telemetry Required to Detect PHP Exploitation</h3><p>After researching the vulnerabilities and reviewing potential exploitation behaviors, I identified several telemetry sources that would materially improve our ability to detect suspicious activity associated with PHP exploitation.</p><p><strong>1. Web Server Access Logs</strong></p><p>Provide visibility into suspicious HTTP requests, abnormal request frequency, source IP addresses, unusual request sizes, and unexpected HTTP response codes. These logs are particularly useful for identifying potential exploitation attempts against PHP endpoints.</p><p><strong>2. Web Application Firewall (WAF) Logs</strong></p><p>Help identify malicious request patterns, potential exploit payloads, suspicious multipart uploads, and blocked requests. Depending on the WAF configuration, these logs may provide greater visibility into HTTP request contents than standard web server access logs.</p><p><strong>3. PHP Error Logs</strong></p><p>Provide insight into abnormal application behavior, including memory errors, session-handling failures, fatal errors, and unexpected PHP worker failures. These events may help identify exploitation attempts that trigger abnormal application conditions.</p><p><strong>4. EDR Process Telemetry</strong></p><p>Enables detection of suspicious process execution and parent-child relationships. For example, apache2, httpd, or php-fpm spawning sh, bash, curl, or wget could indicate malicious command execution following successful exploitation.</p><p><strong>5. EDR File Telemetry</strong></p><p>Provides visibility into unauthorized PHP file creation, unexpected modifications within web application directories, and potential web-shell deployment. This telemetry is particularly valuable for identifying persistence mechanisms after an initial compromise.</p><p><strong>6. Network and Firewall Logs</strong></p><p>Help identify unusual outbound connections from web servers, unexpected destination IP addresses, uncommon ports, and potential command-and-control communication. Process-aware network telemetry can provide additional context when correlating network activity with suspicious execution.</p><p><strong>7. DNS Logs</strong></p><p>Enable monitoring of suspicious domain lookups originating from web infrastructure, including requests to previously unseen or potentially malicious domains that could be associated with post-exploitation activity.</p><p><strong>8. Asset and Vulnerability Inventory</strong></p><p>Provides the foundation for determining which systems are actually exposed. This includes identifying affected PHP versions, relevant configurations, internet-facing applications, and systems requiring remediation.</p><p>An important distinction: not every data source is equally effective, and collecting all of them does not guarantee exploitation will be detected.</p><p>For example, standard web access logs may record HTTP methods, paths, response codes, and request sizes without capturing multipart request bodies. Identifying exploit-specific upload parameters may require appropriately configured WAF or HTTP inspection telemetry.</p><p>Similarly, EDR may provide compelling evidence of post-exploitation activity without necessarily capturing the original HTTP request responsible for the compromise.</p><p>Each telemetry source contributes a different piece of the investigation.</p><p>The real value comes from bringing those pieces together.</p><h3>Five Detection Opportunities I Would Prioritize</h3><p>If I had the appropriate telemetry available, these would be among my highest-priority detection opportunities.</p><h3>1. Suspicious HTTP POST Activity</h3><p>I would begin by reviewing unusual POST requests directed at PHP endpoints.</p><p>Particular areas of interest would include multipart uploads involving PHP_SESSION_UPLOAD_PROGRESS, repeated abnormal requests, unexpected request sizes, and patterns associated with failed exploitation attempts.</p><p>These behaviors are especially interesting when correlated with unexpected HTTP 500 responses or PHP application errors.</p><p>However, detecting the presence of PHP_SESSION_UPLOAD_PROGRESS alone is insufficient. It is a legitimate PHP feature and should not automatically be considered malicious.</p><p>The goal is to identify suspicious combinations of behaviors rather than generate alerts simply because a request contains a particular parameter.</p><h3>2. Web Server Processes Spawning Unexpected Commands</h3><p>One of the stronger behavioral detection opportunities would be identifying web server processes launching programs they would not ordinarily execute.</p><p>For example:</p><ul><li>apache2 or httpd spawning sh or bash</li><li>php-fpm initiating unexpected command execution</li><li>Web-facing processes launching curl, wget, or other system utilities</li></ul><p>In many environments, these behaviors could indicate successful exploitation followed by attacker-controlled command execution.</p><p>Of course, legitimate application functionality must be considered before treating every such process relationship as malicious.</p><p>But this is precisely where endpoint process telemetry becomes valuable.</p><p>Without that visibility, an attacker could potentially execute commands through a vulnerable web application without the SIEM ever receiving the evidence necessary to identify the behavior.</p><h3>3. Unexpected PHP File Creation or Modification</h3><p>Another valuable opportunity is detecting new or modified .php files within web application directories.</p><p>Attackers who successfully compromise web infrastructure may attempt to establish persistence by deploying web shells or modifying existing application files.</p><p>A detection could identify unusual file changes, especially when performed by web server service accounts or processes that do not normally modify production code.</p><p>File modifications associated with authorized application deployments should be accounted for to reduce false positives.</p><p>Without file telemetry, however, the organization may have little visibility into this form of persistence.</p><h3>4. Unusual Outbound Connections from Web Servers</h3><p>Web servers have legitimate reasons to communicate with external services.</p><p>But a compromised web server initiating connections to previously unseen destinations, unexpected ports, or suspicious infrastructure could indicate post-exploitation activity.</p><p>I would want to correlate network connections with the initiating process, destination reputation, historical communication patterns, and any preceding suspicious HTTP requests.</p><p>An isolated outbound connection may not be enough to justify an alert.</p><p>Combined with unexpected shell execution, however, it becomes much more interesting.</p><h3>5. Correlated Exploitation Sequences</h3><p>This is where detection engineering becomes particularly powerful.</p><p>Instead of relying on a single indicator, consider a sequence of events:</p><p><strong>Suspicious HTTP request → PHP error or abnormal behavior → unexpected process execution → file modification or outbound network connection</strong></p><p>That sequence provides considerably more context than any one event viewed independently.</p><p>It also offers an opportunity to improve detection precision and reduce unnecessary alerts.</p><p>But here’s the catch.</p><p><strong>Correlation is only as strong as the telemetry supporting it.</strong></p><p>If the organization collects web logs but not endpoint telemetry, portions of the sequence are invisible.</p><p>If endpoint telemetry exists but doesn’t cover the affected server, the same limitation applies.</p><p>If neither source is available, even the most sophisticated correlation rule has nothing meaningful to evaluate.</p><p>This is not a problem that can be solved by writing more detection logic.</p><h3>When Detection Engineering Meets Business Reality</h3><p>Initially, my perspective was entirely technical.</p><p>I knew what telemetry I needed.</p><p>I understood what behaviors I wanted to detect.</p><p>And I could explain exactly why the existing visibility was insufficient.</p><p>But after repeatedly having these conversations with clients, I realized that being technically correct wasn’t enough.</p><p><strong>I had to put my business hat on.</strong></p><p>Because collecting additional telemetry isn’t free.</p><p>Every new log source introduced into a SIEM has potential financial and operational implications.</p><p>Depending on the platform and licensing model, organizations may incur additional expenses associated with data ingestion, storage, retention, processing, infrastructure, and operational support.</p><p>Then there are the engineering costs.</p><p>Someone must configure the integrations, validate that the events are being collected properly, normalize the fields, troubleshoot ingestion failures, and maintain the pipelines.</p><p>Additional telemetry may also create more alerts, more investigations, and more opportunities for false positives if detection logic isn’t carefully designed.</p><p>And for organizations operating with constrained security budgets, these expenses matter.</p><p>I understand that.</p><p>Not every organization can afford to ingest every available event from every system.</p><p>Nor should they necessarily do so.</p><p>But organizations need to understand that decisions about telemetry collection directly influence their detection capabilities.</p><p><strong>You cannot make a business decision to limit visibility and then expect unlimited detection coverage.</strong></p><p>That is the disconnect I believe more security leaders and clients need to understand.</p><h3>The Real Conversation Should Be About Risk</h3><p>Instead of simply telling a client that we need additional logs, I believe Detection Engineering teams should approach these discussions through the lens of business risk.</p><p>For example, rather than saying:</p><p>“We need EDR telemetry from your web servers.”</p><p>We should explain:</p><p>“Without endpoint process telemetry from your web servers, our ability to identify suspicious command execution following successful exploitation is limited. Collecting that data would improve visibility into this behavior, but it would also introduce additional licensing or ingestion costs depending on your environment.”</p><p>That conversation gives the client something meaningful to evaluate.</p><p>They can assess the potential security benefit against the financial investment.</p><p>They can determine whether the additional visibility is justified based on the business criticality of the affected systems.</p><p>And they can make an informed decision about accepting, mitigating, or reducing the risk.</p><p>This is an important part of maturing a Detection Engineering program.</p><p>We’re not simply creating rules.</p><p>We’re helping organizations understand what threats they can detect, what threats they cannot reliably detect, and what investments would improve those capabilities.</p><h3>A Detection Gap Is Not Always an Engineering Failure</h3><p>One of the biggest misconceptions in cybersecurity is that having a SIEM automatically means an organization has comprehensive threat detection.</p><p>It doesn’t.</p><p>A SIEM is a platform for collecting, analyzing, and correlating security-relevant data.</p><p>Its effectiveness depends heavily on what data is available, how well that data is normalized, the quality of the detection logic, and the operational processes surrounding alert investigation.</p><p>An organization may have hundreds of detection rules and still have substantial blind spots.</p><p>Another organization may have a smaller, carefully engineered detection library with stronger visibility into the behaviors that matter most.</p><p>Rule count alone is not a meaningful measurement of security effectiveness.</p><p>Coverage matters.</p><p>Telemetry quality matters.</p><p>Detection precision matters.</p><p>And understanding the limitations of the environment matters.</p><p>When a new CVE is disclosed, the immediate response shouldn’t be to blindly deploy another collection of detection rules.</p><p>The response should begin with several fundamental questions.</p><p>Are we exposed?</p><p>What behaviors are relevant to exploitation?</p><p>Do we collect the telemetry necessary to observe those behaviors?</p><p>Can our existing detections identify them?</p><p>What additional visibility would improve our coverage?</p><p>And if the organization chooses not to make that investment, has the resulting risk been properly communicated and acknowledged?</p><p>These are the questions that connect Detection Engineering with security leadership and business strategy.</p><h3>What I’d Like to See Change in Detection Engineering</h3><p>I believe Detection Engineering teams should be evaluated on more than the number of rules they create or the incidents they fail to detect.</p><p>We should be measuring how effectively the detection program understands and communicates its coverage.</p><p>That includes maintaining visibility into telemetry gaps, mapping detection capabilities to attacker behaviors, validating existing rules, identifying blind spots, reducing false positives, and demonstrating meaningful improvements over time.</p><p>It also means communicating the difference between a missing detection and missing telemetry.</p><p>Those are two separate engineering problems, and they often require completely different solutions.</p><p>If the data exists but the detection is missing, that’s an opportunity for Detection Engineering to improve.</p><p>If the detection exists but the telemetry isn’t being collected, the organization has a visibility gap that may require additional investment.</p><p>If the systems are not vulnerable in the first place, that changes the priority entirely.</p><p>And if the organization knowingly accepts a visibility gap because the cost outweighs the assessed risk, that decision should be documented and understood.</p><p>The important thing is that everyone involved recognizes the tradeoff.</p><h3>Final Thoughts</h3><p>The recent PHP vulnerabilities have reminded me that Detection Engineering is about far more than writing queries and creating alerts.</p><p>It’s about understanding attacker behavior, identifying the evidence those behaviors generate, evaluating the quality of available telemetry, and communicating security limitations in a way that business leaders can understand.</p><p>As engineers, we naturally want better visibility.</p><p>We want the logs, the endpoint telemetry, the network data, and the context necessary to develop meaningful detections.</p><p>But we also have to recognize that cybersecurity operates within business constraints.</p><p>Our responsibility is to make those constraints visible and explain their impact.</p><p>There will always be another zero-day.</p><p>There will always be another critical vulnerability.</p><p>And there will always be another meeting where someone asks:</p><p><strong>“Do we have a detection for this?”</strong></p><p>Before that question can be answered confidently, there’s another question I believe every organization should be asking:</p><p><strong>“Have we invested in the visibility required to detect it?”</strong></p><p>Because at the end of the day, <strong>you cannot detect what you cannot see.</strong></p><p>And you cannot expect comprehensive visibility without understanding what it costs.</p><p><em>Topics: Detection Engineering, Cybersecurity, Threat Detection, SIEM, PHP2Shell, Security Operations, Cyber Risk Management</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f3efadf67d84" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LummaC2 Uncovered: Detection Strategies for a Growing Stealer Threat]]></title>
            <link>https://medium.com/@MrAmazin/lummac2-uncovered-detection-strategies-for-a-growing-stealer-threat-03496681dd83?source=rss-db78edd98f3e------2</link>
            <guid isPermaLink="false">https://medium.com/p/03496681dd83</guid>
            <category><![CDATA[threat-detection]]></category>
            <category><![CDATA[detection-engineering]]></category>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[soc]]></category>
            <dc:creator><![CDATA[Rick Martin]]></dc:creator>
            <pubDate>Tue, 10 Jun 2025 21:02:48 GMT</pubDate>
            <atom:updated>2025-06-10T21:02:48.833Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>Inside LummaC2: A Stealthy Infostealer’s Evolution and How to Detect It</strong></h4><p>LummaC2 — also known as Lumma Stealer or LummaC — has been active in the wild for several years, quietly exfiltrating sensitive data from victims across the globe. Though categorized as an “infostealer,” LummaC2 is far more than just a one-trick pony. It’s an evolving piece of malware, available as a service on underground markets, offering customization and payload delivery capabilities that make it a persistent threat to individuals and organizations alike.</p><h4><strong>What is LummaC2?</strong></h4><p>LummaC2 is a modular infostealer designed to harvest credentials, session cookies, and other sensitive data from password managers, web browsers, and even cryptocurrency wallets. Over time, it has developed into a more robust malware platform with loader functionality, giving attackers the option to drop additional payloads via EXE, DLL, or PowerShell scripts.</p><p>Threat actors can purchase and subscribe to LummaC2 from its developers, who offer updates and support — similar to a SaaS model, but for cybercrime. It’s this accessibility, combined with an expanding feature set, that keeps LummaC2 relevant in the malware ecosystem.</p><h4><strong>Customization Capabilities</strong></h4><p>One of LummaC2’s most dangerous features is its flexibility. Threat actors can customize it to:</p><ul><li>Bypass traditional antivirus and EDR solutions</li><li>Target specific browsers or applications</li><li>Inject malicious code into legitimate processes</li></ul><p>These configurations can be fine-tuned to match the attacker’s goals and the victim’s environment, making detection significantly more difficult — especially if your environment lacks deep visibility.</p><h4><strong>The Impact of a LummaC2 Infection</strong></h4><p>Once LummaC2 lands on a system, the consequences can be severe:</p><ul><li><strong>Account Takeover</strong>: Victims may lose access to personal or enterprise accounts.</li><li><strong>Credential Abuse</strong>: Stolen credentials can be used for lateral movement or ransomware deployment.</li><li><strong>Data Breaches</strong>: Organizations may face legal consequences, reputational damage, and compliance violations.</li></ul><p>Because LummaC2 exfiltrates valuable data silently, the impact is often only realized after significant damage has occurred.</p><h4><strong>LummaC2 Full Attack Chain</strong></h4><h4><strong>1. Initial Access</strong></h4><p>Goal: Deliver the LummaC2 loader or dropper to the victim</p><ul><li><strong>Technique:</strong> [T1566.001] Phishing: Malicious Attachment</li><li><strong>Phishing emails</strong> disguised as job offers, invoices, or shipping updates (e.g., .zip, .exe, .docm with macros)</li><li><strong>Technique:</strong> [T1566.002] Phishing: Malicious Link</li><li>Malvertising, Discord/Telegram links, or fake download pages hosting LummaC2</li><li><strong>Technique:</strong> [T1189] Drive-by Compromise</li><li>Compromised or fake software download sites delivering LummaC2 payloads</li></ul><h4><strong>2. Execution</strong></h4><p><strong>Goal:</strong> Run the malware payload (loader or stealer)</p><ul><li><strong>Technique:</strong> [T1059.001] PowerShell</li><li>Encoded or obfuscated PowerShell scripts used to download and execute LummaC2</li><li><strong>Technique:</strong> [T1204.002] User Execution: Malicious File</li><li>Victim manually runs setup.exe, installer.scr, etc.</li><li><strong>Technique:</strong> [T1059.003] Windows Command Shell</li><li>Droppers using cmd.exe to launch second-stage payload</li></ul><h4><strong>3. Persistence</strong></h4><p><strong>Goal:</strong> Maintain access after reboot (some variants)</p><p><strong>Technique:</strong> [T1547.001] Registry Run Keys</p><ul><li>Writes to HKCU\Software\Microsoft\Windows\CurrentVersion\Run</li><li><strong>Technique:</strong> [T1053.005] Scheduled Task</li><li>Creates a scheduled task to re-launch the malware</li></ul><h4><strong>4. Defense Evasion</strong></h4><p><strong><em>Goal:</em></strong><em> Avoid detection by AV/EDR</em></p><ul><li><strong>Technique:</strong> [T1140] Deobfuscate/Decode Files or Information</li><li>Base64, XOR, or RC4 to obfuscate payload</li><li><strong>Technique:</strong> [T1027] Obfuscated Files or Information</li><li>Payloads delivered as .zip, .dll, or encrypted strings</li><li><strong>Technique:</strong> [T1497.001] Virtualization/Sandbox Evasion</li><li>Checks for VBox, VMware, and debugging tools</li></ul><h4><strong>5. Credential Access</strong></h4><p><strong>Goal:</strong> Steal saved credentials from browsers</p><ul><li><strong>Technique:</strong> [T1555.003] Credentials from Web Browsers</li><li>Accesses Login Data, Cookies, Web Data files in Chrome/Edge/Brave</li></ul><h4><strong>6. Collection</strong></h4><p><strong>Goal:</strong> Gather valuable data from the system</p><ul><li><strong>Technique:</strong> [T1005] Data from Local System</li><li>Reads browser files, wallet.dat, clipboard, and common file paths (Desktop, Downloads)</li><li><strong>Technique:</strong> [T1113] Screen Capture (some variants)</li><li>Captures screenshots to steal session data or 2FA QR codes</li></ul><h4><strong>7. Data Staging</strong></h4><p><strong>Goal:</strong> Prepare data for exfiltration</p><ul><li><strong>Technique:</strong> [T1074.001] Local Data Staging</li><li>Aggregates stolen files into a .zip or encrypted archive in %Temp% or %AppData%</li></ul><h4><strong>8. Exfiltration</strong></h4><p><strong>Goal:</strong> Send stolen data to attacker-controlled infrastructure</p><ul><li><strong>Technique:</strong> [T1041] Exfiltration Over C2 Channel</li><li>Sends archive via HTTP POST to hardcoded or dynamically-resolved C2 domains</li><li><strong>Technique:</strong> [T1567.002] Exfiltration Over Asymmetric Encrypted Non-C2 Protocol</li><li>Uses HTTPS with custom User-Agent and hidden request paths</li></ul><h4><strong>9. Command &amp; Control</strong></h4><p><strong>Goal:</strong> Maintain communication or receive further instructions</p><ul><li><strong>Technique:</strong> [T1071.001] Web Protocols</li><li>C2 over HTTP/HTTPS with encrypted payloads</li><li><strong>Technique:</strong> [T1090.002] External Proxy</li><li>Uses bulletproof or proxy infrastructure to hide true server location</li></ul><h4><strong>The Importance of High-Quality Telemetry</strong></h4><p>LummaC2 is stealthy — it doesn’t throw up red flags like ransomware might. Instead, it reads local files, queries the registry, and exfiltrates data over HTTPS. To detect it, you need comprehensive visibility into:</p><ul><li>File access behavior</li><li>Parent-child process relationships</li><li>Unusual HTTPS POST requests</li><li>Applications accessing SQLite DBs (e.g., browser artifacts)</li></ul><p><strong>Without detailed host and network telemetry, you’re flying blind.</strong> Data quality is everything. Detection engineering lives or dies by the fidelity of your logs.</p><h4><strong>Detection Strategy</strong></h4><p>A robust detection strategy against LummaC2 should focus on <strong>tactics, techniques, and procedures (TTPs)</strong> rather than static indicators of compromise (IOCs), which can be easily rotated by attackers.</p><p>Key TTP-based detections include:</p><ul><li>Unusual processes accessing browser credential stores (e.g., Login Login Data or Cookies SQLite files)</li><li>Suspicious PowerShell or LOLBin execution chains</li><li>Outbound HTTPS POSTs from non-browser processes</li><li>Repetitive beaconing to the same IP/domain</li></ul><p>Correlate host activity with network telemetry to paint a complete picture. Use behavioral analytics and integrate threat intel for enhanced context.</p><h4><strong>Final Thoughts</strong></h4><p>LummaC2 isn’t going away — it’s getting smarter, stealthier, and easier to use with each new version. Organizations need to take a proactive stance: invest in quality telemetry, prioritize behavioral detection, and ensure their security teams are equipped to respond to this kind of threat.</p><p>Infostealers like LummaC2 thrive in environments with blind spots. Don’t give them that opportunity.</p><h3><strong>Detection Rule</strong></h3><p>title: Suspicious PowerShell Execution — Possible LummaC2 Delivery<br>id: 8220c09d-73c4–41e4-b3c2-f58a5e0db611<br>description: Detects suspicious PowerShell commands that may indicate the delivery or execution of LummaC2 malware, such as Base64-encoded commands, web requests, or in-memory execution techniques.<br>status: experimental<br>author: Rick Martin <br>date: 2025/06/10<br>logsource:<br> category: process_creation<br> product: windows<br> service: sysmon<br>detection:<br> selection_image:<br> Image|endswith:<br> — ‘\powershell.exe’<br> — ‘\powershell_ise.exe’</p><p>selection_encoded:<br> CommandLine|contains:<br> — ‘-enc’<br> — ‘-encodedcommand’</p><p>selection_web_delivery:<br> CommandLine|contains:<br> — ‘Invoke-WebRequest’<br> — ‘DownloadString’<br> — ‘wget’<br> — ‘curl’<br> — ‘Net.WebClient’</p><p>selection_in_memory:<br> CommandLine|contains:<br> — ‘IEX’<br> — ‘Invoke-Expression’<br> — ‘FromBase64String’<br> — ‘New-Object’</p><p>filter_legit_parents:<br> ParentImage|endswith:<br> — ‘\explorer.exe’<br> — ‘\services.exe’<br> — ‘\taskhostw.exe’</p><p>condition: selection_image AND (selection_encoded OR selection_web_delivery OR selection_in_memory) AND NOT filter_legit_parents<br>fields:<br> — Image<br> — CommandLine<br> — ParentImage<br> — User<br> — Hashes<br> — CurrentDirectory<br> — OriginalFileName<br>falsepositives:<br> — Legitimate administrative scripts (SCCM, Intune, Defender, EDR orchestration tools)<br> — Penetration testing activity<br>level: high<br>tags:<br> — attack.T1059.001 # PowerShell<br> — attack.T1105 # Ingress Tool Transfer<br> — attack.T1055 # Process Injection (potential post-execution behavior)<br> — malware.lummac2<br> — detection.lumma<br> — windows<br>custom:<br> threat_family: lumma<br> detection_phase: initial_access</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=03496681dd83" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Six Months as a Detection Engineer: What I’ve Learned (and Unlearned)]]></title>
            <link>https://medium.com/@MrAmazin/six-months-as-a-detection-engineer-what-ive-learned-and-unlearned-7ace2e5b536f?source=rss-db78edd98f3e------2</link>
            <guid isPermaLink="false">https://medium.com/p/7ace2e5b536f</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[threat-detection]]></category>
            <category><![CDATA[detection-engineering]]></category>
            <dc:creator><![CDATA[Rick Martin]]></dc:creator>
            <pubDate>Tue, 10 Jun 2025 16:46:56 GMT</pubDate>
            <atom:updated>2025-06-10T16:46:56.149Z</atom:updated>
            <content:encoded><![CDATA[<p>I have finally arrived to my six month mark since I stepped into the world of Detection Engineering and what a ride it’s been. This has been an amazing roller-coaster of a ride but I’m loving every bit of it. This role has pushed me technically, mentally, and personally. I’ve failed, I’ve succeeded, and I’ve grown in so many ways.</p><p>I wanted to share my journey, not as someone who has it all figured out, but as someone still deep in the trenches, learning every day. If you’re interested in becoming a Detection Engineer or just starting out in cybersecurity, this might give you some real insight into the path.</p><h3>The Reality Check: Detection Engineering Is More Than Just Alerts</h3><p>Detection Engineering is often misunderstood. Some see it as simply tuning alerts or writing rules. But in reality, it touches every part of cybersecurity from understanding attacker behavior and parsing logs to regex and scripting. It’s about logic, curiosity, and constant iteration.</p><p>In these past six months, I’ve written detection rules that completely missed the mark and others that caught advanced threats like LummaC2. That’s the nature of the job. One key lesson I’ve learned: <strong>every rule has an expiration date</strong>. Threats evolve, and so must your detections. What worked last week may be irrelevant today.</p><h3>My Biggest Challenge? Me.</h3><p>Ironically, my hardest hurdle wasn’t technical, it was personal. In the beginning, I struggled to speak up during meetings. I doubted myself, unsure if I had enough knowledge to contribute. But I kept studying. I reached out to other engineers. I practiced.</p><p>And slowly, I found my voice — not because I was suddenly the smartest person in the room, but because I trusted in the work I put in. There’s a quote that guides me:</p><p><em>“Hard work doesn’t guarantee you anything — but without it, you don’t stand a chance.”</em></p><p>That line fuels me every day.</p><h3>Lessons I’ll Never Forget</h3><ol><li><strong>All rules expire.</strong> You must constantly adapt your logic to the evolving threat landscape.</li><li><strong>The fundamentals matter.</strong> A solid understanding of IT and security concepts will take you far — especially when building complex detections.</li><li><strong>You can’t Google everything.</strong> Some things come only through hands-on trial and error.</li><li><strong>Ask for help.</strong> I still struggle with this, but I’ve learned that growth comes faster when you lean on your team.</li><li><strong>Voice follows confidence.</strong> And confidence follows preparation.</li></ol><h3>Being the Only Detection Engineer</h3><p>Yes, I’m the only Detection Engineer at my company. That means wearing multiple hats researcher, analyst, rule writer, and sometimes responder. It’s a lot, but it’s also the best kind of pressure. It’s taught me how to prioritize, document, and balance technical depth with business value and I absolutely love it!</p><p>What’s helped me succeed isn’t just technical ability it’s the <strong>discipline to review and improve</strong> my own work.</p><h3>My Advice to You</h3><p>If you’re thinking of getting into Detection Engineering, embrace the process. Don’t listen to the noise on social media telling you what you don’t need. <strong>There are no shortcuts.</strong> If you’re coming from a help desk or SOC background, don’t undervalue that experience; communication skills and foundational knowledge are your superpowers.</p><p>Every alert, every rule, every log line teaches you something — if you’re paying attention.</p><p>If you’ve made it this far in my banter, thank you! To those who’ve helped me along the way whether it was a quick chat, a referral, or just encouragement <strong>thank you!</strong> Your impact is real, and I don’t take it for granted.</p><p>Here’s to the next six months — more growth, more lessons, and better detections.</p><p>Stay tuned — I’ll be sharing the detection rule logic I used to identify LummaC2 activity in a follow-up blog post. If you’re interested in practical detection engineering tactics, you won’t want to miss it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7ace2e5b536f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Journey to Becoming a Detection Engineer]]></title>
            <link>https://medium.com/@MrAmazin/my-journey-to-becoming-a-detection-engineer-6461cc033303?source=rss-db78edd98f3e------2</link>
            <guid isPermaLink="false">https://medium.com/p/6461cc033303</guid>
            <category><![CDATA[storytelling]]></category>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[detection-engineering]]></category>
            <category><![CDATA[threat-detection]]></category>
            <dc:creator><![CDATA[Rick Martin]]></dc:creator>
            <pubDate>Mon, 10 Mar 2025 11:47:43 GMT</pubDate>
            <atom:updated>2025-03-10T11:47:43.274Z</atom:updated>
            <content:encoded><![CDATA[<p>When I first wanted to get into cybersecurity in 2019, I didn’t know exactly what I wanted to do. I wasn’t familiar with the industry or the many opportunities it had to offer. As I began researching, I decided that I wanted to become a hacker. I immersed myself in TryHackMe, HackTheBox, and any learning platform that could help me become the greatest hacker on earth. Watching <em>Mr. Robot</em> only fueled my passion further. Seeing Elliot use various hacking techniques inspired me and solidified my vision of things to come.</p><p>During this time (2020), I was broke and broken. I had tried so many different things in life, but nothing was working out. I was exhausted from working in the insurance industry for years, where I did door-to-door sales on straight commission. This was by far the most difficult thing I’ve ever done, but I’m thankful for the experience because it taught me so much about life. I slept in my car many nights, traveling all over Georgia with the hope of making a sale. There were many days I had to choose between eating and putting gas in my car just to make it home. I hit a career block and decided to transition into tech.</p><p>I knew I wasn’t the best student, so traditional education wasn’t the best path for me. Cybersecurity wasn’t as big as it is now, but I had heard about it. Without a second thought or guidance, I enrolled in <em>My Computer Career</em>, where I learned the foundations of IT: CompTIA A+, Network+, and Security+. I didn’t obtain any of those certifications, but the knowledge stuck with me.</p><p>In February 2020, I landed my first job at the help desk. Although I wasn’t in cybersecurity yet, this was my first step toward becoming the greatest hacker in the world — or so I thought. Working at the help desk taught me a lot, but I knew this wasn’t my end goal. Once my contract ended, I found employment as an IT Specialist, where I gained valuable experience with POS systems and networking. This role boosted my confidence because I was introduced to the business side of IT. I attended meetings with CEOs and top executives, learning how IT solutions impacted business strategies. However, my excitement was short-lived — I was laid off due to not being billable.</p><p>This was a devastating blow, especially since I had just moved closer to my job. I applied to every job I could find, and thankfully, within a couple of weeks, I landed another position. The new company was desperate for employees, and I was desperate for a job, so it worked out. Not to mention, I received a $20K pay increase. I stayed at this company for a few years, sharpening my networking and Linux skills while continuing to study penetration testing on the side. I created a home lab to practice different attacks, preparing for my dream pentesting role. However, I began to feel burned out and sought new employment.</p><p>Then, it happened — I landed my first cybersecurity role in 2022. I was ecstatic. This was my introduction to what an MSSP was, and I saw the heaven gates opening up for me. Though it wasn’t a pentesting or SOC Analyst role, I was on my way. I was hired as a Network Technician (Network Security Engineer), where I learned about network security and firewalls. I quickly picked up the skills by working hard, coming in early, staying late, and studying with colleagues. After ten months, a position opened in the SOC, and I expressed my interest. I bugged leadership constantly, making sure they knew I wanted in. Eventually, I got the role and became a <em>Cyber Threat Analyst</em>.</p><p>I felt accomplished — my dream of working in cybersecurity had come true. I poured myself into the role, studying tools, the environment, and honing my analytical skills. This was my introduction to EDR tools and SIEMs. I also started learning cloud security by working on side projects with colleagues. My work ethic was undeniable, and I was certain I was on my way to becoming the world’s greatest hacker.</p><p>Then, I started noticing mass layoffs on LinkedIn. Pentesters — people I considered at the pinnacle of cybersecurity — were getting laid off left and right. I was confused. Why were these highly skilled professionals struggling to find jobs? My dream of becoming the world’s greatest hacker began to crumble. I no longer wanted to pursue pentesting. Everything I had done up to that point was geared toward that goal, but suddenly, it no longer interested me. I had to rethink my entire career strategy.</p><p>As I explored other cybersecurity roles, I stumbled upon <em>Detection Engineering</em>. It was still a relatively new field, but it piqued my interest. Though my goal of becoming a hacker had ended, this felt like the next best thing. I could keep the same hacker mentality but use it to build defenses to catch the bad guys. My adrenaline started rushing — I had found a new passion.</p><p>Once again, I went all in. I consumed everything related to Detection Engineering — books, home labs, research, networking, and more. I applied for a million jobs, and finally, I landed a Detection Engineer role at a leading company. Now, I get to leverage all the skills I’ve accumulated over the years. Every day, I come to work with a smile on my face because I finally feel like I’ve made it. I feel stable and have a clear direction in my career.</p><p>As always, I bring my never-outworked mentality to this new role. However, shifting to an engineering mindset has been challenging. I’m no longer just solving problems for today — I’m solving problems for tomorrow and beyond. This role is everything I thought it would be and more, and I couldn’t be happier.</p><p>Looking ahead, my next goal is to become a <em>Principal Detection Engineer</em> within the next 3–5 years. I want to master multiple SIEM and EDR tools while enhancing my automation and threat-hunting skills. To achieve this, I’m actively seeking mentorship because there’s so much I don’t know, and I want to be fully prepared when my number is called.</p><p>If you’ve made it this far, I appreciate you taking the time to read my journey. It has been a rollercoaster with many ups and downs. I’ve been disappointed, lied to, undervalued, and laid-off, but every challenge has been worth it. If I had to do it all over again, I wouldn’t change a thing.</p><p>#DetectionEngineer #ThreatDetection #BeAmazin #Cybersecurity</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6461cc033303" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[New NailaoLocker ransomware used against EU healthcare orgs]]></title>
            <link>https://medium.com/@MrAmazin/new-nailaolocker-ransomware-used-against-eu-healthcare-orgs-21bf2051a76c?source=rss-db78edd98f3e------2</link>
            <guid isPermaLink="false">https://medium.com/p/21bf2051a76c</guid>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Rick Martin]]></dc:creator>
            <pubDate>Sun, 23 Feb 2025 02:53:00 GMT</pubDate>
            <atom:updated>2025-02-23T02:53:00.067Z</atom:updated>
            <content:encoded><![CDATA[<p>A previously undocumented ransomware payload named NailaoLocker has been spotted in attacks targeting European healthcare organizations between June and October 2024.</p><p>The attacks exploited <a href="https://www.bleepingcomputer.com/news/security/check-point-releases-emergency-fix-for-vpn-zero-day-exploited-in-attacks/">CVE-2024–24919</a>, a Check Point Security Gateway vulnerability, to gain access to targeted networks and deploy the ShadowPad and PlugX malware, two families tightly associated with Chinese state-sponsored threat groups.</p><p>Orange Cyberdefense CERT links the attacks to Chinese cyber-espionage tactics, though there’s not enough evidence to attribute them to specific groups.</p><h3>NailaoLocker details</h3><p>Orange’s researchers <a href="https://www.orangecyberdefense.com/global/blog/cert-news/meet-nailaolocker-a-ransomware-distributed-in-europe-by-shadowpad-and-plugx-backdoors">report</a> that NailaoLocker is a relatively unsophisticated ransomware strain compared to the most prominent families in the space.</p><p>The reason why Orange sees NailaoLocker as a rather basic ransomware is that, it does not terminate security processes or running services, it lacks anti-debugging and sandbox evasion mechanisms, and does not scan network shares.</p><p>“Written in C++, NailaoLocker is relatively unsophisticated and poorly designed, seemingly not intended to guarantee full encryption,” mentions Orange.</p><p>The malware is deployed on target systems via DLL sideloading (sensapi.dll) involving a legitimate and signed executable (usysdiag.exe).</p><p>The malware loader (NailaoLoader) verifies the environment by performing memory address checks and then decrypts the main payload (usysdiag.exe.dat) and loads it into memory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/690/0*Q42wyt0s-zxXkHfZ.jpg" /></figure><p>Next, the NailaoLocker activates and begins encrypting files using an AES-256-CTR scheme, appending the “.locked” extension to encrypted files.</p><p>After the encryption is done, the ransomware drops an HTML ransom note with the very unusually long filename of “unlock_please_view_this_file_unlock_please_view_this_file_unlock_please_view_this_file_unlock_please_view_this_file_unlock_please_view_this_file_unlock_please_view_this_file_unlock_please.html.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Q4UQ1W-Zjnyptjzu.jpg" /></figure><p>This ransom note instructs the victims to contact them at a disposable ProtonMail address, which, in a few cases seen by BleepingComputer, was johncollinsy@proton[.]me.</p><p>The ransom note does not indicate that data was stolen, which is odd for most modern ransomware operations.</p><h3>Espionage and ransomware combined</h3><p>Investigating deeper, Orange says they found some overlap between the content of the ransom note and a ransomware tool sold by a cybercrime group named Kodex Softwares (formerly <a href="https://www.bleepingcomputer.com/news/security/evilextractor-malware-activity-spikes-in-europe-and-the-us/">Evil Extractor</a>). However, there were no direct code overlaps, making the connection blurry.</p><p>Orange has shared several hypotheses for the attacks, including false flag operations meant to distract, strategic data theft operations doubled with revenue generation, and, more likely, a Chinese cyberespionage group “moonlighting” on the side to earn some money.</p><p>Only last week, <a href="https://www.bleepingcomputer.com/news/security/chinese-espionage-tools-deployed-in-ra-world-ransomware-attack/">Symantec reported</a> about suspected Emperor Dragonfly (a.k.a. Bronze Starlight) operatives deploying RA World ransomware against Asian software firms and demanding a ransom of $2 million.</p><p>Compared to North Korean actors who are known to pursue multiple goals in parallel, including financial gains via ransomware attacks, Chinese state-backed actors haven’t followed this approach, so the shift in tactics is concerning.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=21bf2051a76c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[EDRSilencer — Red Team Tool]]></title>
            <link>https://medium.com/@MrAmazin/edrsilencer-red-team-tool-1c311e25374e?source=rss-db78edd98f3e------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c311e25374e</guid>
            <category><![CDATA[detection-engineering]]></category>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[threat-detection]]></category>
            <category><![CDATA[red-team]]></category>
            <dc:creator><![CDATA[Rick Martin]]></dc:creator>
            <pubDate>Wed, 23 Oct 2024 00:10:50 GMT</pubDate>
            <atom:updated>2024-10-23T00:47:00.057Z</atom:updated>
            <content:encoded><![CDATA[<h3>Detecting the Ghost, EDRSilencer</h3><p><strong>EDRSilencer</strong> is a red team tool designed to disable or evade Endpoint Detection and Response (EDR) systems, which are used by security teams to monitor, detect, and respond to potential threats within an organization’s endpoints (like workstations or servers). The tool’s primary goal is to neutralize or bypass EDR solutions, allowing attackers or red teamers to conduct malicious activities without triggering detection mechanisms.</p><h3>How EDRSilencer Works:</h3><ol><li><strong>Targeting EDR Processes</strong>:</li></ol><ul><li>EDRSilencer identifies and targets EDR-related processes or services running on the system. EDR tools often rely on processes to monitor the system’s memory, network traffic, and file access for suspicious activity.</li><li>The tool may attempt to suspend, kill, or otherwise interfere with these processes, effectively silencing the EDR so it can no longer monitor the endpoint.</li></ul><p><strong>2. Manipulating the Windows Filtering Platform (WFP)</strong>:</p><ul><li>The Windows Filtering Platform (WFP) is a set of APIs that allows the creation of custom network filters in Windows. EDRSilencer leverages WFP to manipulate or block network traffic related to EDR telemetry. By blocking outbound traffic from the EDR to its central management server, EDRSilencer can prevent the EDR from reporting suspicious activity.</li><li>It may also tamper with WFP rules to hide malicious network traffic, making it difficult for the EDR to detect or flag network-based attacks, like data exfiltration or command-and-control (C2) communications.</li></ul><p><strong>3. Tampering with EDR Hooks and Drivers</strong>:</p><ul><li>EDR solutions often hook into sensitive APIs or inject code into processes to monitor system behavior at a low level. EDRSilencer may attempt to remove or bypass these hooks, making the EDR blind to certain activities.</li><li>The tool could also interfere with kernel-mode drivers that EDRs use to gain deep visibility into the operating system. By disabling or modifying these drivers, EDRSilencer can reduce the EDR’s ability to detect malicious activity.</li></ul><p><strong>4. Memory Manipulation and Evasion</strong>:</p><ul><li>EDR tools often monitor processes’ memory to detect code injections or other suspicious activities. EDRSilencer can tamper with process memory in a way that bypasses the EDR’s ability to detect or flag these actions.</li><li>It might use techniques like process hollowing, where a legitimate process is created, and then its memory is replaced with malicious code, evading detection from the EDR’s behavioral analysis tools.</li></ul><p><strong>5. Persistence and Stealth</strong>:</p><ul><li>After disabling or bypassing the EDR, EDRSilencer allows the red team or attackers to perform post-exploitation activities, like lateral movement or data theft, without raising alarms.</li><li>The tool also aims to maintain persistence, ensuring that even if the system is rebooted, the EDR remains disabled or limited in its capabilities.</li></ul><h3>Summary of EDRSilencer’s Techniques:</h3><ul><li><strong>Process Tampering</strong>: Disabling or manipulating EDR processes and services.</li><li><strong>Network Manipulation</strong>: Using WFP to block or filter EDR network traffic.</li><li><strong>Hook/Driver Interference</strong>: Bypassing or removing API hooks and tampering with kernel drivers.</li><li><strong>Memory Manipulation</strong>: Hiding malicious code and avoiding memory-based detection techniques.</li><li><strong>Stealth and Persistence</strong>: Maintaining stealth by ensuring that the EDR remains ineffective over time.</li></ul><p>This tool is used in red team assessments to simulate advanced attackers attempting to evade detection and gain long-term access to a system. While powerful, its use can be identified by defenders if they have appropriate detection mechanisms in place, such as monitoring for unusual process behavior, WFP rule changes, or tampering with EDR services.</p><h3>Detection Rule: Detecting the Ghost, EDRSilencer</h3><p>title: Detecting the Ghost, EDRSilencer<br>id: abc1234-edf567-gh890-ijk123-lmn456<br>description: Detects suspicious behavior from EDRSilencer, including WFP hijacking in parent processes and blocking connections via Event ID 5157.<br>status: experimental<br>author: Rick Martin<br>date: 2024/10/18<br>logsource:<br> category: process_creation<br> product: windows<br>detection:<br> # Detect WFP manipulation via netsh<br> selection1:<br> Image: ‘C:\Windows\System32\netsh.exe’<br> CommandLine|contains: ‘wfp’</p><p># Detect EDR service manipulation<br> selection2:<br> EventID: 7045<br> ServiceName: ‘*EDR*’<br> ServiceType: ‘0x1’ # Indicates a kernel driver</p><p># Detect attempts to modify or tamper with drivers<br> selection3:<br> EventID: 4656<br> ObjectType: ‘File’<br> ObjectName: ‘\Device\HarddiskVolume*\Windows\System32\drivers\*.sys’<br> AccessMask: ‘0x2’ # Write access to driver files</p><p># Detect process hijacking involving WFP, where the parent process is netsh<br> selection4:<br> EventID: 4688<br> ParentImage: ‘C:\Windows\System32\netsh.exe’<br> CommandLine|contains: ‘*add*’</p><p># Detect connections blocked by WFP (Event ID 5157)<br> selection5:<br> EventID: 5157<br> Application: ‘*EDR*’<br> LayerName: ‘%%14592’ # Network layer blocked by WFP<br> Message: ‘*Windows Filtering Platform blocked a connection*’</p><p># Detect unexpected EDR service termination<br> selection6:<br> EventID: 7034<br> ServiceName: ‘*EDR*’<br> Message: ‘*terminated unexpectedly*’</p><p># Detect EDR service being stopped<br> selection7:<br> EventID: 7036<br> ServiceName: ‘*EDR*’<br> Message: ‘*stopped*’</p><p>condition: selection1 or selection2 or selection3 or selection4 or selection5 or selection6 or selection7<br>fields:<br> — EventID<br> — Image<br> — CommandLine<br> — ParentImage<br> — ServiceName<br> — ObjectName<br> — Message<br> — Application<br> — LayerName<br>falsepositives:<br> — Legitimate system administration changes to WFP filters.<br> — Routine blocking of traffic by firewall policies.<br> — EDR services legitimately being restarted for updates or maintenance.<br>level: high<br>tags:<br> — attack.defense_evasion<br> — attack.t1562.001<br> — attack.t1070<br> — attack.t1036<br> — attack.t1484</p><h3>Detection Logic:</h3><p>The rule focuses on detecting multiple layers of EDRSilencer activity:</p><ul><li>Tampering with WFP via netsh.</li><li>Blocking EDR network traffic via WFP (Event ID 5157).</li><li>Manipulating or disabling EDR-related processes and services.</li><li>Hijacking parent processes to manipulate network traffic and WFP settings.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c311e25374e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Grade School Graphs Came Full Circle in My Career as a Security Engineer]]></title>
            <link>https://medium.com/@MrAmazin/how-grade-school-graphs-came-full-circle-in-my-career-as-a-security-engineer-07f6358fef6d?source=rss-db78edd98f3e------2</link>
            <guid isPermaLink="false">https://medium.com/p/07f6358fef6d</guid>
            <category><![CDATA[skills]]></category>
            <category><![CDATA[detection-engineering]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[stem]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Rick Martin]]></dc:creator>
            <pubDate>Thu, 26 Sep 2024 15:56:24 GMT</pubDate>
            <atom:updated>2024-09-26T15:57:22.401Z</atom:updated>
            <content:encoded><![CDATA[<p>Once upon a time in grade school, we were taught about statistics and various types of graphs — bar graphs, pie charts, line graphs, you name it. At the time, I didn’t think much of it. I figured I’d never need to use any of these things in “real life.” Silly me. I was young, ignorant, and had no clue what my adult life would entail.</p><p>Looking back now, I chuckle at how naïve I was. Fast forward to my career as a Security Engineer, and here I am — reteaching myself those exact concepts. I’ve had to brush up on my knowledge of different graphs, learning not only how to create them but also when and why to use each one. Turns out, those foundational lessons in data visualization are more important than I ever imagined.</p><p>In the world of cybersecurity — and many other technical fields — building dashboards to visualize data is a key skill. Whether you’re monitoring security threats or analyzing performance metrics, graphs are crucial tools. They help break down complex information and make it easy to understand at a glance.</p><p>For instance, you might need to create a graph that outlines the number of reporting hosts in your network or one that tracks incidents over time. If you’re in a leadership or management position, you’ll likely have to keep up with metrics, not just for your own benefit but for your team as well. Whether it’s bar graphs for comparison or line graphs for trends, selecting the right graph type can make all the difference in how effectively your data is communicated.</p><p>It’s funny how life comes full circle. Never discount those seemingly simple, foundational skills. You never know when they’ll become the cornerstone of something important in your career. For me, the graphs I once dismissed as irrelevant have become vital to my work today, helping me present and understand data with precision.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=07f6358fef6d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Marko Polo — PartyWorld.exe]]></title>
            <link>https://medium.com/@MrAmazin/marko-polo-partyworld-exe-e4efdf3de067?source=rss-db78edd98f3e------2</link>
            <guid isPermaLink="false">https://medium.com/p/e4efdf3de067</guid>
            <category><![CDATA[threat-intelligence]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[detection-engineering]]></category>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[markopolo]]></category>
            <dc:creator><![CDATA[Rick Martin]]></dc:creator>
            <pubDate>Sun, 22 Sep 2024 21:49:03 GMT</pubDate>
            <atom:updated>2024-09-22T22:39:42.787Z</atom:updated>
            <content:encoded><![CDATA[<h3>How Marko Polo Compromised Thousands: A Look at Their Malware Arsenal</h3><p>I was recently introduced to bleepingcomputer.com and I’ve been thoroughly impressed with the information that is presented on what is going on in the cyber industry. Today, I learned about a cybercriminal group named “Marko Polo”.</p><p>In the constantly evolving landscape of cyber threats, few groups stand out as much as the Marko Polo cybercrime syndicate. This group has rapidly made a name for itself, targeting high-value individuals and organizations through a range of malicious campaigns. Their arsenal includes malware, phishing, and cryptocurrency fraud, compromising tens of thousands of devices and exposing both personal and corporate data.</p><p>In this blog, we’ll explore who Marko Polo is, the tactics they use to breach victims, and most importantly, how we can detect and defend against their malicious activities.</p><p><strong>Who is Marko Polo?</strong></p><p>Marko Polo is a sophisticated cybercriminal group that primarily targets cryptocurrency influencers, gamers, software developers, and others who handle valuable data or assets. They’ve been linked to over 30 cybercrime scams, leveraging a variety of techniques ranging from spearphishing to deploying info-stealers and cryptocurrency clippers.</p><p>The group uses social engineering to lure victims into downloading malicious software under the guise of legitimate opportunities such as job offers or project collaborations. These spearphishing attacks are often conducted via direct messages on social media platforms, which is where their targeted victims are most active.</p><p><strong>The Infection Chain: A Closer Look</strong></p><p>Marko Polo’s infection chain typically begins with the victim interacting with a malicious link or file. The infection chain is slightly different for Windows and macOS users but follows a similar pattern.</p><p>Windows Infection Path:<br>1. Social Engineering: The victim receives a message directing them to download what appears to be legitimate software (often delivered as `PartyWorld.exe`).<br>2. Payload 1: Stealc: Once executed, `PartyWorld.exe` connects to a remote server (`testload.pythonanywhere[.]com`), downloading Stealc, a lightweight info-stealer designed to collect browser and cryptocurrency wallet data.<br>3. Command and Control (C2): After infection, the data is exfiltrated to a remote Stealc C2 server.</p><p>macOS Infection Path:<br>1. Social Engineering: macOS users are similarly targeted, receiving links to download `PartySetup.dmg`.<br>2. Payload 2: Rhadamanthys: After installation, Rhadamanthys connects to a C2 server (`rafaelsuarezlopez[.]com`) and exfiltrates sensitive information, targeting broader data sources.<br>3. Advanced Capabilities: Recent updates to Rhadamanthys have introduced features such as:<br> — Clipper plugin to divert cryptocurrency payments.<br> — Recovery of deleted Google Account cookies.<br> — Windows Defender evasion techniques to avoid detection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*AoaSroAojlKQXuLOD4NM4A.png" /></figure><p><strong>Detection: Sigma Rules for Identifying Marko Polo Activity</strong></p><p>Understanding the infection chain gives us critical insight into detecting and stopping the Marko Polo group before significant damage is done. Below are Sigma detection rules designed to detect activity related to Marko Polo’s infection chain.</p><p><strong>Rule 1: Detect Suspicious Execution of `PartyWorld.exe` (Windows Infection Chain)</strong></p><p>title: Suspicious PartyWorld.exe Execution — Marko Polo Infection Chain<br>id: c8b9ef5d-e97a-4991-a244–9b836c671aef<br>description: Detects the execution of PartyWorld.exe and network connections to known malicious domains related to the Marko Polo infection chain.<br>status: experimental<br>author: Rick Martin<br>logsource:<br> category: process_creation<br> product: windows<br>detection:<br> selection:<br> Image: ‘*\\PartyWorld.exe’<br> ParentImage: ‘*\\explorer.exe’<br> condition: selection<br>fields:<br> — Image<br> — ParentImage<br>falsepositives:<br> — Legitimate usage of PartyWorld.exe (if any)<br>level: high<br>tags:<br> — attack.t1566.001<br> — attack.t1204<br> — attack.t1071.001<br> — attack.t1547.001<br>```</p><p>This rule helps detect the execution of the `PartyWorld.exe` binary, which is a key part of the Windows infection chain. It triggers an alert whenever `PartyWorld.exe` is launched.</p><p><strong>Rule 2: Detect Suspicious Network Connections to Malicious Domains (Stealc &amp; AMOS C2)</strong></p><p>title: Suspicious Network Connections to Malicious Domains — Marko Polo Infection Chain<br>id: 9a45de62–2d7b-4c5b-88ff-102d6727d67f<br>description: Detects network connections to domains used in the Marko Polo infection chain.<br>status: experimental<br>author: Rick Martin<br>logsource:<br> category: network_connection<br> product: windows<br>detection:<br> selection:<br> destination_ip:<br> — ‘testload.pythonanywhere.com’ # Stealc C2<br> — ‘rafaelsuarezlopez.com’ # Atomic Stealer (AMOS) C2<br> destination_port:<br> — 80 # HTTP<br> — 443 # HTTPS<br> condition: selection<br>fields:<br> — destination_ip<br> — destination_port<br>falsepositives:<br> — Legitimate traffic to benign services like Dropbox (should be verified)<br>level: critical<br>tags:<br> — attack.t1071.001<br> — attack.t1204<br> — attack.t1547.001</p><p>This rule monitors for network connections to known Marko Polo C2 domains.</p><p><strong>Protecting Your Environment: Best Practices</strong></p><p>While detection rules are an essential part of defending against groups like Marko Polo, the overall security strategy must be comprehensive. Here are a few best practices to enhance your defenses:</p><p>1. Regularly update your threat intelligence feeds: Marko Polo and other advanced threat actors frequently change their infrastructure. Keeping your feeds up to date ensures you’re monitoring the latest domains, IPs, and IOCs.<br> <br>2. Train employees on phishing awareness: Given that Marko Polo’s primary attack vector is spearphishing, educating users on how to recognize and avoid phishing attempts is crucial.</p><p>3. Enable multi-factor authentication (MFA): Especially for high-value targets, MFA can be an effective deterrent, making it more difficult for attackers to compromise accounts even after credential theft.</p><p>4. Use endpoint protection: Advanced endpoint detection and response (EDR) tools can help detect suspicious behaviors, such as unauthorized access or malware execution, at the endpoint level.</p><p>5. Monitor cryptocurrency transactions: If you are in the cryptocurrency industry, implement monitoring tools that can detect unusual transactions, such as those involving cryptocurrency clippers.</p><p><strong>Conclusion</strong></p><p>The Marko Polo group represents a growing threat to individuals and organizations, particularly those involved in cryptocurrency and other valuable digital assets. By using advanced spearphishing tactics and sophisticated malware, they have managed to compromise thousands of devices globally.</p><p>However, with the right detection rules and best practices in place, it is possible to mitigate the risk posed by this cybercrime group. Stay vigilant, stay informed, and ensure that your defenses are capable of identifying and neutralizing the threats posed by Marko Polo and other similar actors.</p><p>References:<br>- [Recorded Future: Marko Polo Threat Analysis](<a href="https://www.recordedfuture.com/">https://www.recordedfuture.com</a>)<br>- [BleepingComputer: Latest Cyber Threat News](<a href="https://www.bleepingcomputer.com/">https://www.bleepingcomputer.com</a>)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e4efdf3de067" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TrevorC2 Sigma Detection Rule]]></title>
            <link>https://medium.com/@MrAmazin/trevorc2-sigma-detection-rule-26d228e7499a?source=rss-db78edd98f3e------2</link>
            <guid isPermaLink="false">https://medium.com/p/26d228e7499a</guid>
            <category><![CDATA[detection-engineering]]></category>
            <category><![CDATA[blue-team]]></category>
            <category><![CDATA[threat-detection]]></category>
            <category><![CDATA[sigma]]></category>
            <category><![CDATA[command-and-control]]></category>
            <dc:creator><![CDATA[Rick Martin]]></dc:creator>
            <pubDate>Wed, 11 Sep 2024 01:11:30 GMT</pubDate>
            <atom:updated>2024-09-11T01:21:04.823Z</atom:updated>
            <content:encoded><![CDATA[<p>Over the past few days, I’ve been diving deeper into writing Sigma rules and learning about various Command and Control (C2) frameworks. One of the more interesting C2s that stood out to me was TrevorC2.</p><p><strong>What is TrevorC2</strong><br>TrevorC2 is a client/server model that cleverly masks command and control (C2) traffic through a seemingly normal, browsable website. What makes it particularly challenging to detect is its ability to vary time intervals between communication and its avoidance of POST requests for data exfiltration.</p><p>This framework will clone any website and inject commands sent by the C2 into the body of the page. The client reads the commands, executes them, and then sends the results back to the server without being detected.</p><p>Here’s a Sigma rule I wrote to detect TrevorC2 activity by monitoring PowerShell commands and network traffic:</p><p>title: Detect TrevorC2 Activity<br>id: 24c6f25e-9fb1–4d2e-9e1a-7bbff19ff6b5<br>status: experimental<br>description: Detects potential TrevorC2 Command and Control communication activity based on PowerShell commands and network traffic.<br>author: Rick Martin<br>date:9–6–2024<br>logsource:<br> category: process_creation<br> product: windows<br> service: elastic <br>detection:<br> selection_process:<br> CommandLine|contains:<br> — ‘powershell’<br> — ‘System.Net.WebClient’<br> — ‘Invoke-WebRequest’<br> — ‘DownloadString’<br> — ‘trevorc2’<br> selection_network:<br> event.category: network<br> event.action: connection_attempt<br> network.protocol: http<br> destination.port: 80 # HTTP communication<br> http.request.body.content|contains:<br> — ‘TrevorC2’ # Indicators in HTTP body<br> selection_dns:<br> event.category: dns<br> <a href="https://www.linkedin.com/redir/phishing-page?url=http%3A%2F%2Fdns%2equestion%2ename">dns.question.name</a>|contains: [‘trevor’, ‘c2’] # DNS queries related to TrevorC2<br> condition: selection_process or selection_network or selection_dns<br>falsepositives:<br> — Legitimate system administration using PowerShell or normal DNS queries<br>level: high<br>tags:<br> — attack.t1071.001 # Application Layer Protocol — Web Protocols<br> — attack.t1071.004 # Application Layer Protocol — DNS<br> — attack.t1043 # Commonly Used Port — HTTP<br> — attack.s0153 # TrevorC2</p><p>This journey of learning C2 detection and creating detection rules has been a fascinating one! Always something new to uncover in cybersecurity.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=26d228e7499a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>