Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      tRPC vs GraphQL vs REST: Choosing the right API design for modern web applications

      June 26, 2025

      Jakarta EE 11 Platform launches with modernized Test Compatibility Kit framework

      June 26, 2025

      Can Good UX Protect Older Users From Digital Scams?

      June 25, 2025

      Warp 2.0 evolves terminal experience into an Agentic Development Environment

      June 25, 2025

      My laptop webcam wasn’t cutting it for video calls – then I discovered this accessory

      June 26, 2025

      The top 6 TVs ZDNET readers are buying (no. 1 has the best picture quality we’ve ever seen)

      June 26, 2025

      You should probably delete any sensitive screenshots you have in your phone right now. Here’s why

      June 26, 2025

      Can these $100 Android phones replace my flagship? The result after weeks of testing

      June 26, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      Are Semantic Layers Sexy Again? or The Rise and Fall and Rise of Semantic Layers

      June 26, 2025
      Recent

      Are Semantic Layers Sexy Again? or The Rise and Fall and Rise of Semantic Layers

      June 26, 2025

      Salesforce Marketing Cloud Engagement vs. Oracle Eloqua

      June 26, 2025

      Exploring Lucidworks Fusion and Coveo Using Apache Solr

      June 26, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Microsoft Launches Teams Client Health Dashboard to Help Admins Spot & Fix Issues Faster

      June 26, 2025
      Recent

      Microsoft Launches Teams Client Health Dashboard to Help Admins Spot & Fix Issues Faster

      June 26, 2025

      Fix: Windows 11 Update (KB5039302) Not Installing

      June 26, 2025

      Raycast for Windows (Beta) first-look with clipboard upgrades, AI, and third-party extensions

      June 26, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Operating Systems»Program Execution, follow-up pt II

    Program Execution, follow-up pt II

    June 26, 2025

    On the heels of my previous post on this topic, it occurred to me that this tendency to incorrectly refer to ShimCache and AmCache artifacts as “evidence of execution” strongly indicates that we’re also not validating program execution. That is to say, when we “see” a program execution event, or something that indicates that a program may have executed, are we validating that it was successful? Are we looking to determine if it completed its intended task, or are we simply assuming that it did?

    For example, let’s say we have an alert based on a threat actor running a net user command to add a new user account to an endpoint; when I see this command, I want to check the Security Event Log to see if there are any Security-Auditing/4720 records at about the same time, to indicate that the command succeeded. The command will very likely be accompanied by other Security Event Log records related to the account being enabled, the password being reset, etc; however, the ../4720 event record is what primarily interests me, because sometimes, you’ll see the net user command that does not include the /add or /ad switch, but is still reported as a “new user being created”, when, in fact, the account already exists and the password is being changed.

    Regardless of what’s reported, the point here is, are we validating what we’re seeing? Another example is the use of msiexec.exe; when we see a command using this LOLBin run, do we also see accompanying MsiInstaller records in the Application Event Log? I’ve seen reports of msiexec.exe being run against HTTP resources, stating that something was installed; however, there are no corresponding MsiInstaller records in the Application Event Log.

    Another use of the Application Event Log, when validating program execution, comes when you timeline the log records alongside EDR telemetry or process launch (Sysmon, Security-Auditing/4688) records. For example, if you see Application Pop-up or Windows Error Reporting messages for the program around the same time as the program execution, this would indicate that the program did not successfully launch. 

    Another similarly valuable resource is AV logs. You may see the program execution attempt, followed by an AV message indicating that the process was detected and quarantined. Or, as has occurred several times, Window Defender may generate a detection record, and rather than a successful quarantine message, the detection is followed by a critical failure message, and the malware continues to execute.

    The great folks over at Cyber Triage posted this guide on Malware WMI Event Consumers; pg 6 illustrates the “Classic Detection” techniques. Looking at these, EDR/Sysmon, and the WMI-Activity/Operational Event Log can be incorporated into a timeline to not only illustrate program execution, but that the execution succeeded and resulted in the intended (by the threat actor) outcome. For example, if you incorporate EDR into a timeline that includes the Windows Event Logs, then you’d likely look for WMI-Activity/5861 event records to see if a new event consumer had been successfully created. 

    From there, the next step would be to parse the Objects.DATA file to determine if the event consumer is still visible in the WMI repository. 

    Summary
    Continuing to see artifacts such as ShimCache and AmCache referred to in the community as “evidence of execution” really showed me how we’re overall too focused on the one thing that illustrates that something happened. While it’s important to have a correct, accurate understanding of the nature of various individual artifacts, as a community we need to start processing this understanding within a system framework, understanding that each data source plays an important role within the system, as a whole. Nothing happens in isolation; whenever something happens on a live system, impressions and tool marks are going to be left in a variety of data sources. Some may be extremely transient, existing in memory for only a very short time, while others may be written to logs or to the Registry, and persist well beyond the removal of the “offending” application. 

    But, I get it. It’s easy to simply state that something happened, and hope that no one questions your statement. It’s much harder to make a statement supported by data, because doing so isn’t something we’re familiar with, it’s not something we’ve been doing for years at this point. It’s not part of our process, nor is it part of our culture. But remember…everything is difficult, sometimes even after the first time we do it. Climbing a rope in gym class was hard, until you first did it. It may even have been hard the second or third time, but eventually you realized you could do it. 

    Validation of your findings is important, because when you complete the ticket or the report you’re writing, and send it off to your “customer”, someone may be making a decision and allocating resources based on those findings. My previous blog post provides one example of how I’ve experienced the need to validate findings during my time in the industry. Whether you see it right now or not, at some point, someone’s very likely going to take your findings and make a decision based on what you’re provided, and you want to be as sure as you can that those findings are correct, and supported by the data.

    Source: Read More 

    windows
    Facebook Twitter Reddit Email Copy Link
    Previous ArticleMicrosoft says new Outlook for Windows 11 is now better. It’s time to embrace it
    Next Article Windows 11 KB5060829 adds taskbar features, direct download for 24H2

    Related Posts

    Operating Systems

    Microsoft Launches Teams Client Health Dashboard to Help Admins Spot & Fix Issues Faster

    June 26, 2025
    Operating Systems

    Fix: Windows 11 Update (KB5039302) Not Installing

    June 26, 2025
    Leave A Reply Cancel Reply

    For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

    Continue Reading

    CVE-2025-4184 – PCMan FTP Server Buffer Overflow Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    I swapped my favorite JBL speaker for this new Bose, and it’ll be hard to give it up

    News & Updates

    The Return of the UX Generalist

    Web Development

    Nintendo Switch 2 is here with better screen, faster hardware & smarter multiplayer features

    Operating Systems

    Highlights

    Microsoft Edge 137 rolls out to Stable channel with secure password sharing & more

    June 15, 2025

    Microsoft has released Edge version 137.0.3296.83 in the Stable Channel. The update adds a new…

    CVE-2025-40567 – Siemens SCALANCE Web Interface Load Rollback Authorization Vulnerability

    June 10, 2025

    Nintendo Switch 2 is here with better screen, faster hardware & smarter multiplayer features

    June 5, 2025

    CVE-2025-5582 – CodeAstro Real Estate Management System SQL Injection Vulnerability

    June 4, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.