Offensive PowerShell for Red Teamer with Defense Evasion Techniques
This guide covers offensive PowerShell techniques for red team operations, focusing on defense evasion methods to bypass security controls such as AMSI, logging, and antivirus detection during penetration testing engagements.
Background
- PowerShell is a scripting language and shell built into Windows that gives deep access to system internals. Red teams (ethical hackers simulating real attacks) heavily abuse it because it is already installed on every Windows machine and is often trusted by security software.
- "Defense evasion" refers to techniques attackers use to avoid detection by antivirus, endpoint detection (EDR), and security logs. This includes obfuscating code, disabling logging, bypassing execution policies, and using in-memory execution (loading malware directly into RAM without writing files to disk).
- Many corporate security tools are trained to flag obvious PowerShell attacks. The article covers methods to modify or disguise PowerShell commands so they slip past these defenses — a constant cat-and-mouse game between attackers and security vendors.
- "Red teaming" differs from standard penetration testing: the goal is to test an organization's people, processes, and detection capabilities, not just find technical vulnerabilities. Offensive PowerShell is a core tool in their arsenal.
Max Weinbach says he had early access to OpenAI's new model GPT-5.6 Sol, calling it his favorite model by far. He highlights that it never gives up and will keep reasoning until it's done. OpenAI announced that GPT-5.6 Sol, along with Terra and Luna, will launch publicly on Thursday, with preview access expanding globally now.
The US government ordered Anthropic to suspend access to its Fable 5 and Mythos 5 models for all customers, citing a potential jailbreak technique that involved asking the model to review a codebase for vulnerabilities—a capability Anthropic says is available in other public models. Access was abruptly cut off on June 12.
Andrej Karpathy announces the release of Claude Fable 5, the same underlying model as Mythos but with added safeguards. He calls it a major step forward, particularly for long problem-solving sessions on difficult tasks, and describes it as state-of-the-art on nearly all benchmarks with exceptional performance in software engineering, research, and vision.
Roman Storm warns that the legal theory in his case could set a precedent making open-source developers liable for how others use their code, potentially criminalizing the mere publication of privacy, messaging, or crypto tools. He notes that developer Michael Lewellen cannot publish lawful code due to prosecution fears, and argues this chilling effect extends beyond any single case.
Meta's engineering culture is deteriorating under Mark Zuckerberg and Scale AI CEO Alexandr Wang, who have introduced keyboard tracking, reassignments to data labeling, and AI-centric performance metrics. Critics argue this incentivizes performative AI use, drives away experienced engineers, and contributed to a major Instagram hijacking incident caused by AI-written and AI-reviewed code.