

<feed xmlns="http://www.w3.org/2005/Atom">
  <id>https://www.badapple.win/</id>
  <title>badapple</title>
  <subtitle>Offensive Security, Windows Internals, CTFs and software engineering.</subtitle>
  <updated>2026-11-16T17:42:04+01:00</updated>
  <author>
    <name>0xabadface</name>
    <uri>https://www.badapple.win/</uri>
  </author>
  <link rel="self" type="application/atom+xml" href="https://www.badapple.win/feed.xml"/>
  <link rel="alternate" type="text/html" hreflang="en"
    href="https://www.badapple.win/"/>
  <generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator>
  <rights> © 2026 0xabadface </rights>
  <icon>/assets/img/favicons/favicon.ico</icon>
  <logo>/assets/img/favicons/favicon-96x96.png</logo>


  
  <entry>
    <title>Active Directory Internals: Structure, Replication and Security</title>
    <link href="https://www.badapple.win/posts/active-directory-internals-structure-replication-security/" rel="alternate" type="text/html" title="Active Directory Internals: Structure, Replication and Security" />
    <published>2026-11-16T09:30:00+01:00</published>
  
    <updated>2026-11-16T09:30:00+01:00</updated>
  
    <id>https://www.badapple.win/posts/active-directory-internals-structure-replication-security/</id>
    <content type="text/html" src="https://www.badapple.win/posts/active-directory-internals-structure-replication-security/" />
    <author>
      <name>0xabadface</name>
    </author>

  
    
    <category term="Windows Internals" />
    
    <category term="Active Directory" />
    
  

  <summary>How Active Directory Domain Services is structured and operated: forests, domains, OUs, directory partitions, domain controllers, LDAP, the Global Catalog, replication, FSMO roles, Group Policy, SYSVOL, attack paths, telemetry and hardening.</summary>

  </entry>

  
  <entry>
    <title>Windows Persistence: Run Keys, Services, Scheduled Tasks and WMI</title>
    <link href="https://www.badapple.win/posts/windows-persistence-run-keys-services-tasks-wmi/" rel="alternate" type="text/html" title="Windows Persistence: Run Keys, Services, Scheduled Tasks and WMI" />
    <published>2026-11-16T09:00:00+01:00</published>
  
    <updated>2026-11-16T09:00:00+01:00</updated>
  
    <id>https://www.badapple.win/posts/windows-persistence-run-keys-services-tasks-wmi/</id>
    <content type="text/html" src="https://www.badapple.win/posts/windows-persistence-run-keys-services-tasks-wmi/" />
    <author>
      <name>0xabadface</name>
    </author>

  
    
    <category term="Windows Internals" />
    
    <category term="Security" />
    
  

  <summary>How common Windows persistence mechanisms work internally: Registry Run keys, Startup folders, services, scheduled tasks and permanent WMI event subscriptions. Execution context, artifacts, telemetry, investigation and hardening from a blue-team perspective.</summary>

  </entry>

  
  <entry>
    <title>Windows Identity: SIDs, Access Tokens, Integrity Levels and UAC</title>
    <link href="https://www.badapple.win/posts/windows-identity-sids-tokens-mic-uac/" rel="alternate" type="text/html" title="Windows Identity: SIDs, Access Tokens, Integrity Levels and UAC" />
    <published>2026-11-15T14:24:00+01:00</published>
  
    <updated>2026-11-15T14:24:00+01:00</updated>
  
    <id>https://www.badapple.win/posts/windows-identity-sids-tokens-mic-uac/</id>
    <content type="text/html" src="https://www.badapple.win/posts/windows-identity-sids-tokens-mic-uac/" />
    <author>
      <name>0xabadface</name>
    </author>

  
    
    <category term="Windows Internals" />
    
    <category term="Security Model" />
    
  

  <summary>How Windows turns an authenticated account into an authorization context: SID structure and allocation, access-token contents, the Security Reference Monitor access check, Mandatory Integrity Control, UAC elevation, attack paths, telemetry and hardening.</summary>

  </entry>

  
  <entry>
    <title>How an EDR Works: Architecture and Telemetry Sources</title>
    <link href="https://www.badapple.win/posts/edr-architecture-and-telemetry-sources/" rel="alternate" type="text/html" title="How an EDR Works: Architecture and Telemetry Sources" />
    <published>2026-11-15T14:23:00+01:00</published>
  
    <updated>2026-11-15T14:23:00+01:00</updated>
  
    <id>https://www.badapple.win/posts/edr-architecture-and-telemetry-sources/</id>
    <content type="text/html" src="https://www.badapple.win/posts/edr-architecture-and-telemetry-sources/" />
    <author>
      <name>0xabadface</name>
    </author>

  
    
    <category term="Windows Internals" />
    
    <category term="Telemetry" />
    
  

  <summary>The architecture of an Endpoint Detection and Response sensor on Windows: the kernel-mode sources it relies on (ETW, process, thread, image, registry and object callbacks, file system minifilters, WFP callouts), the user-mode agent that consumes and correlates them, the cloud back end, and how the sensor protects itself and can be verified by a defender.</summary>

  </entry>

  
  <entry>
    <title>Windows Exceptions: Dispatching, SEH and VEH</title>
    <link href="https://www.badapple.win/posts/windows-exceptions-seh-and-veh/" rel="alternate" type="text/html" title="Windows Exceptions: Dispatching, SEH and VEH" />
    <published>2026-11-15T14:22:00+01:00</published>
  
    <updated>2026-11-15T14:22:00+01:00</updated>
  
    <id>https://www.badapple.win/posts/windows-exceptions-seh-and-veh/</id>
    <content type="text/html" src="https://www.badapple.win/posts/windows-exceptions-seh-and-veh/" />
    <author>
      <name>0xabadface</name>
    </author>

  
    
    <category term="Windows Internals" />
    
    <category term="Kernel" />
    
  

  <summary>How Windows turns a CPU fault or an explicit RaiseException into a call to a handler: hardware and software exceptions, the EXCEPTION_RECORD, the kernel-to-user dispatch through KiUserExceptionDispatcher, frame-based Structured Exception Handling on x86 and table-based unwinding on x64, vectored exception handlers, and the related mitigations and telemetry.</summary>

  </entry>

</feed>


