Course 16 - Red Team Ethical Hacking Beginner Course | Episode 6: Windows Persistence Strategies: Registry, Scheduled Tasks, Services, WMI episode artwork

EPISODE · Jan 3, 2026 · 10 MIN

Course 16 - Red Team Ethical Hacking Beginner Course | Episode 6: Windows Persistence Strategies: Registry, Scheduled Tasks, Services, WMI

from CyberCode Academy · host CyberCode Academy

In this lesson, you’ll learn about:The purpose of persistence in red team operationsCommon local Windows persistence mechanisms and how they functionEvent-driven persistence using WMIThe difference between host-level and domain-level persistenceWhy Kerberos Golden Tickets represent a critical enterprise riskOverview This lesson provides a comprehensive technical explanation of Windows persistence strategies, focusing on how attackers maintain long-term access after an initial compromise. Persistence is a post-exploitation objective that ensures access survives:System rebootsUser logoutsPassword changesPartial remediation effortsAll techniques discussed are framed within authorized red team engagements, defensive awareness training, and detection engineering contexts. 1. Local System Persistence Techniques Local persistence mechanisms ensure continued execution of malicious code on a single compromised host. 1.1 Registry Run Keys Concept Windows supports registry keys that automatically launch applications when users log in. How It WorksA startup entry is added to a global registry locationThe payload executes whenever any user logs inThe method survives reboots and user changesWhy It’s EffectiveSimple and reliableCommonly abused by malwareOften overlooked during basic incident responseDefensive Insight Security teams should monitor:Startup registry locationsUnsigned or unusual binaries referenced by run keys1.2 Scheduled Tasks Concept Scheduled Tasks allow programs to execute automatically based on time or system conditions. How It WorksA background task is created to run repeatedlyExecution can be time-based or event-basedThe task operates independently of user interactionWhy It’s EffectiveBlends in with legitimate administrative activityCan execute frequently to re-establish accessFlexible timing and execution contextDefensive Insight Blue teams should audit:Newly created or modified tasksTasks executing from unusual directories1.3 Windows Services (SCM) Concept Windows services start automatically when the system boots and typically run with elevated privileges. How It WorksA service is configured to launch at startupExecution occurs before user loginOften runs with SYSTEM-level permissionsWhy It’s EffectiveHighly persistentVery powerful privilege contextSurvives reboots consistentlyDefensive Insight Detection should focus on:New or modified servicesServices running unsigned or unexpected executables1.4 WMI Event Subscriptions (Advanced Persistence) Concept Windows Management Instrumentation (WMI) supports event-driven automation, which can be abused for stealthy persistence. Architecture WMI persistence consists of three logical components:Event Filter – Watches for a specific system conditionConsumer – Defines the action to performBinding – Connects the event to the actionWhy It’s EffectiveNo visible startup entriesNo scheduled tasks or servicesTriggers only when specific events occurDefensive Insight This is one of the hardest techniques to detect. Monitoring requires:WMI repository inspectionEvent subscription auditingBehavioral correlation2. Domain-Level Persistence: Golden Tickets Concept Golden Tickets exploit Kerberos authentication to provide permanent domain-wide access. How It Works (High-Level)The Kerberos service account secret is compromisedA forged authentication ticket is createdThe ticket grants Domain Admin privileges to any chosen identityWhy This Is CriticalAccess persists even if:Passwords are resetAccounts are disabledAdministrators are removedThe attacker can generate new valid credentials at willImpact This technique effectively gives an attacker:Unlimited access to the domainFull control over users, systems, and policiesA near-undetectable persistence mechanism if not monitoredDefensive Insight Mitigation requires:Rotating Kerberos service secretsMonitoring authentication anomaliesImplementing strong domain hygiene and detection toolingHost vs Domain Persistence ComparisonPersistence TypeScopeRisk LevelRegistry / TasksSingle HostMediumServicesSingle HostHighWMI SubscriptionsSingle HostHigh (Stealthy)Golden TicketsEntire DomainCriticalWhy Persistence Matters in Red Teaming Persistence is not about destruction—it’s about testing resilience. Professional red teams use persistence to:Measure detection and response maturityTest cleanup effectivenessIdentify gaps in monitoringImprove blue team readinessEvery persistence mechanism must also include a clean removal path. Conceptual Analogy Think of persistence as hiding spare access keys:Registry & Services → A key hidden where you check every dayScheduled Tasks → A door that unlocks automatically on a timerWMI Subscriptions → A smart sensor that opens the door only under specific conditionsGolden Tickets → Access to the locksmith’s master system that can mint new keys on demandSome keys affect one door. Others open the entire city. Key Educational TakeawaysPersistence is a post-exploitation objective, not an exploitSimpler methods are more common, advanced methods are stealthierDomain-level persistence is exponentially more dangerousDetection is possible—but requires deep visibilityEthical red team operations prioritize documentation and cleanupYou can listen and download our episodes for free on more than 10 different platforms:https://linktr.ee/cybercode_academy

In this lesson, you’ll learn about:The purpose of persistence in red team operationsCommon local Windows persistence mechanisms and how they functionEvent-driven persistence using WMIThe difference between host-level and domain-level persistenceWhy Kerberos Golden Tickets represent a critical enterprise riskOverview This lesson provides a comprehensive technical explanation of Windows persistence strategies, focusing on how attackers maintain long-term access after an initial compromise. Persistence is a post-exploitation objective that ensures access survives:System rebootsUser logoutsPassword changesPartial remediation effortsAll techniques discussed are framed within authorized red team engagements, defensive awareness training, and detection engineering contexts. 1. Local System Persistence Techniques Local persistence mechanisms ensure continued execution of malicious code on a single compromised host. 1.1 Registry Run Keys Concept Windows supports registry keys that automatically launch applications when users log in. How It WorksA startup entry is added to a global registry locationThe payload executes whenever any user logs inThe method survives reboots and user changesWhy It’s EffectiveSimple and reliableCommonly abused by malwareOften overlooked during basic incident responseDefensive Insight Security teams should monitor:Startup registry locationsUnsigned or unusual binaries referenced by run keys1.2 Scheduled Tasks Concept Scheduled Tasks allow programs to execute automatically based on time or system conditions. How It WorksA background task is created to run repeatedlyExecution can be time-based or event-basedThe task operates independently of user interactionWhy It’s EffectiveBlends in with legitimate administrative activityCan execute frequently to re-establish accessFlexible timing and execution contextDefensive Insight Blue teams should audit:Newly created or modified tasksTasks executing from unusual directories1.3 Windows Services (SCM) Concept Windows services start automatically when the system boots and typically run with elevated privileges. How It WorksA service is configured to launch at startupExecution occurs before user loginOften runs with SYSTEM-level permissionsWhy It’s EffectiveHighly persistentVery powerful privilege contextSurvives reboots consistentlyDefensive Insight Detection should focus on:New or modified servicesServices running unsigned or unexpected executables1.4 WMI Event Subscriptions (Advanced Persistence) Concept Windows Management Instrumentation (WMI) supports event-driven automation, which can be abused for stealthy persistence. Architecture WMI persistence consists of three logical components:Event Filter – Watches for a specific system conditionConsumer – Defines the action to performBinding – Connects the event to the actionWhy It’s EffectiveNo visible startup entriesNo scheduled tasks or servicesTriggers only when specific events occurDefensive Insight This is one of the hardest techniques to detect. Monitoring requires:WMI repository...

NOW PLAYING

Course 16 - Red Team Ethical Hacking Beginner Course | Episode 6: Windows Persistence Strategies: Registry, Scheduled Tasks, Services, WMI

0:00 10:31

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

Lead with Faith: Empowering the Next Generation Jermaine Whiteside The Empowering Future Leaders Podcast – Presented by Anointed Connect Academy and hosted by Jermaine E. Whiteside, Doctoral Candidate in Christian Education, this podcast is your gateway to faith-driven leadership, lifelong learning, and real-world success strategies. Each episode blends inspiration with action, spotlighting career pathways, professional exam preparation, and innovative educational resources designed to equip the next generation of leaders.With candid conversations, expert insights, and transformative stories from students, educators, and industry leaders, we address the challenges facing at-risk and underserved communities while providing tangible tools to overcome them. Rooted in Christian values and a commitment to generational impact, this podcast empowers students, parents, and professionals to break barriers, build skills, and boldly pursue their God-given purpose. Reconnect Radio Tara Kemp, PhD Reconnect Radio is a show for mindful women seeking a more aligned life. Hosted by leading mental health expert, researcher, and coach Tara Kemp, PhD - each episode brings the latest evidence-based tools, practical tips, and personal stories to support you in building a healthy relationship with food, your body, and yourself. If you’re ready to do the inner work that will lead you to thrive in your most authentic and aligned life, hit the follow button and get ready to experience true healing and transformation.Follow Tara on Instagram @tarakemp_ : https://www.instagram.com/tarakemp_Join Reconnect’s FREE Private Facebook Community for Plant-based Women: https://www.facebook.com/groups/reconnectplantbasedwomenSign up for Reconnect Academy: https://www.reconnectcollective.com/reconnect-academyLearn about other Reconnect Collective programs: https://www.reconnectcollective.com The Injury Prevention Academy Podcast DORN Companies Welcome to The Injury Prevention Academy Podcast with DORN!Tune in for your ultimate source of cutting-edge insights on workplace injury prevention, safety, ergonomics and wellness. Hosted by DORN and Cheryl Roy, this podcast is your go-to destination for staying informed about the latest news, trends, and data in the realm of employee well-being and workplace safety.Join us as we bring you expert interviews and thought-provoking discussions with leading voices in the field. Our goal? Empowering you to create safer, healthier work environments for your valued employees.🌟 Key Highlights 🌟🔍 Stay Updated: Get the freshest news and data surrounding workplace injury prevention, ergonomics and safety.🧠 Expert Insights: Discover valuable insights from experts covering pain management, injury prevention, safety programs and technology.🤝 Supportive Strategies: Gain actionable strategies to prioritize the safety and well-being of your employees.Whether you're a business owner, HR prof Fearless Podcasting Academy | Unlock Your Voice and Audience Dr. Stephanie Dean | Podcasting Strategist Your voice has the power to inspire, impact, and ignite change—but only if people hear it. Join Dr. Stephanie Dean at Fearless Podcasting Academy, where creators and entrepreneurs learn podcasting strategies to amplify their voices and build podcasts that demand attention. Here, we don't just talk about podcasting. We talk about bold storytelling, creative innovation, and the courage to show up unapologetically. Whether you're launching your first episode or leveling up your platform, you'll get proven strategies, expert insights, and the confidence to make your message matter. Because your story isn't just worth telling—it's worth hearing. Hit subscribe and step into your fearless voice.

Frequently Asked Questions

How long is this episode of CyberCode Academy?

This episode is 10 minutes long.

When was this CyberCode Academy episode published?

This episode was published on January 3, 2026.

What is this episode about?

In this lesson, you’ll learn about:The purpose of persistence in red team operationsCommon local Windows persistence mechanisms and how they functionEvent-driven persistence using WMIThe difference between host-level and domain-level persistenceWhy...

Is there a transcript available for this episode?

Yes, a full transcript is available for this episode. You can read the complete transcript on the episode page.

Can I download this CyberCode Academy episode?

Yes, you can download this episode by clicking the download button on the episode player, or subscribe to the podcast in your preferred podcast app for automatic downloads.
URL copied to clipboard!