Process Parameter Poisoning: 4 EDRs, Zero Alerts

By 13 min read
Process Parameter Poisoning moves shellcode into a child process through its startup parameters

Most EDR products catch process injection by watching for one program writing into another program’s memory. Process Parameter Poisoning skips that write entirely: it hands the payload to Windows as part of a new process’s startup data and lets the operating system deliver it.

In short: Process Parameter Poisoning (P3) is a Windows injection technique that hides shellcode in a child process’s command line, environment block or a reserved startup field, then redirects a thread to run it. SensePost says it worked against four market-leading EDRs with zero alerts, and nobody has yet reported it in real attacks.

That combination, a public loader plus no in-the-wild sightings, is exactly the window in which defenders should build detections. This article explains how P3 works at a conceptual level, what the follow-up testing showed and which signals give it away.

What is Process Parameter Poisoning?

Process Parameter Poisoning is a code injection technique published on 6 July 2026 by Max Hirschberger and Ogulcan Ugur of SensePost, the offensive research team at Orange Cyberdefense. Code injection means running your own code inside another process, usually to borrow that process’s identity and hide from security tools.

P3 belongs to the process injection family that MITRE ATT&CK tracks as T1055. What makes it different is the delivery route. Instead of allocating memory in a target and writing into it, P3 places the payload in data that Windows itself copies into every new process.

Why the name?

Every Windows process starts with a block of startup information called the process parameters. These hold the command line, the environment variables, the window title and a few other values. P3 poisons that block with shellcode, which is raw machine code meant to run directly.

Is it actually new?

Partly. SensePost credits X-C3LL with pointing out that the researcher modexp had published the same basic primitive in a 2020 blog post that was later deleted, with an archived copy still available. SensePost’s contribution is a full working loader, a null-free shellcode generator and tests against current EDR products.

Why does P3 matter now?

EDR stands for endpoint detection and response: software on each machine that records behaviour and blocks suspicious actions. For process injection, SensePost says EDRs concentrate on a small set of calls, chiefly VirtualAllocEx, WriteProcessMemory and their lower-level equivalents NtAllocateVirtualMemory and NtWriteVirtualMemory.

Those calls are the classic fingerprint of one process tampering with another. Attackers have spent years looking for routes that avoid them, and defenders have spent years tuning rules around them. P3 is another route around the most watched part of the chain.

It also arrives in a year when EDR evasion has been a recurring theme in real incidents. The GodDamn EDR killer and its 61 vulnerable drivers attacked security tools from the kernel, and the LostTrust ransomware operators tested their Streamer implant against Microsoft Defender until it stopped alerting. P3 is quieter than either: it does not disable the EDR, it simply avoids the calls the EDR looks for.

How does Process Parameter Poisoning work?

At a conceptual level, P3 has five stages. None of them is exotic on its own; the trick is that the one stage EDRs watch most closely never happens.

Five-stage Process Parameter Poisoning chain from poisoned startup parameters to a redirected thread.
P3 replaces the remote memory write with data Windows copies into the child process on its own. Data: SensePost, Flashpoint.

Stage 1: poisoning the startup parameters

SensePost identified three fields that can carry the payload when a process is created with CreateProcessW: the command line, the environment block, and an undocumented reserved field in the STARTUPINFO structure. That reserved field ends up in a value called ShellInfo inside the new process. Flashpoint adds that the window title field works the same way.

Stage 2: Windows delivers it

When the child process starts, Windows copies these values into a structure called RTL_USER_PROCESS_PARAMETERS. The Process Environment Block, or PEB, is the per-process data structure that points to it. The payload is now inside the target, and the attacker never wrote a byte there.

Stage 3: finding the payload

The parent process then needs the payload’s address. SensePost’s loader asks Windows for the child’s PEB address and reads the parameter structure. Only read operations are used at this stage.

Stage 4: making it executable

The parameter memory is readable and writable but not executable. The loader changes its protection to read and execute. Both SensePost and Flashpoint treat this permission change as one of the best places to catch P3.

Stage 5: redirecting execution

Finally the loader changes the context of the child’s main thread so that its instruction pointer, the register that says which instruction runs next, points at the payload. This is thread execution hijacking, ATT&CK T1055.003.

SensePost deliberately does not create the child in a suspended state, which is a common tell for process hollowing. The thread handle is already available from process creation, and the authors say the final code only needs to change the control part of the thread context.

What are the limits of P3?

P3 is not a universal injection method. The sources describe several hard constraints.

It only works on new child processes

The payload rides in the parameters supplied at creation time. SensePost says plainly that P3 cannot target a process that is already running. An attacker must launch a sacrificial process.

The payload cannot contain null bytes

Process parameters are null-terminated strings, so a zero byte ends the payload early. SensePost wrote a dedicated generator, ShellCodeWriter, to build null-free stubs, and Flashpoint warns that standard MSFVenom output may fail for this reason. Flashpoint also notes that code running from read-and-execute memory cannot modify itself.

Size is capped

The command line is limited to 32,767 characters, according to SensePost. In practice the poisoned field usually carries a small first stage that loads a larger payload from elsewhere.

Four figures on P3: four EDRs tested, zero alerts, three startup fields, 250 GitHub stars.
SensePost's headline result was four EDRs and zero alerts, but only for the injection step itself. Data: SensePost, Flashpoint, GitHub API.

How well does P3 evade EDR?

The two published tests tell a more nuanced story than the headline.

SensePost’s results

SensePost tested P3 against four market-leading EDR products configured to detect, block and remediate. Injection succeeded in all four and no alerts were created. SensePost does not name the products or give per-product detail, so the result cannot be checked independently.

The researchers also tried an existing technique, Dirty Vanity, first. Several EDRs raised alerts on it, which SensePost attributes to its internal use of NtWriteVirtualMemory and NtCreateThreadEx.

Flashpoint’s results

Flashpoint published its own analysis on 22 September 2026. It ported the proof of concept to Rust, wrote shellcode that downloads and runs a second-stage payload, and tested it against a commonly used open-source EDR platform with an XDR component. XDR, or extended detection and response, correlates signals across endpoints and other sources. Flashpoint does not name the platform.

The EDR produced no alerts for the malicious binary. The XDR component, however, blocked the creation of the new process and the second stage’s COM activity. Only after Flashpoint added DLL unhooking and a policy that blocks non-Microsoft DLLs from loading into the sacrificial process did the XDR record no blocks and the platform raise no alerts.

DLL unhooking means restoring a clean copy of system libraries in memory so that the EDR’s monitoring hooks are removed. Flashpoint’s conclusion is that P3 will most likely need other evasion techniques alongside it to succeed reliably.

Test Who Setup Outcome
Injection only SensePost 4 unnamed commercial EDRs, block mode Injection succeeded, no alerts
P3 plus second stage Flashpoint Open-source EDR with XDR EDR silent, XDR blocked process creation and COM activity
P3 plus unhooking and DLL policy Flashpoint Same platform No blocks, no alerts

How does P3 compare with other injection techniques?

SensePost places P3 next to the techniques it was designed to improve on. The table below uses only the distinctions the sources draw.

Technique Writes into target? Typical tell named in the sources
Classic injection Yes VirtualAllocEx, WriteProcessMemory, CreateRemoteThread
Early Bird APC injection Yes NtQueueApcThread on a new process
Process hollowing Yes Suspended process creation, SuspendThread
Dirty Vanity Yes, internally NtWriteVirtualMemory and NtCreateThreadEx inside process reflection
Process Parameter Poisoning No Parameter memory turned executable, thread context change

The pattern is clear: every older method leaves a write into the target somewhere in the chain. P3 moves the payload through process creation instead, which shifts the detection burden to later stages.

If you work on offensive tooling, P3 fits the same trend as AdaptixC2, the red team framework now seen in real intrusions: public research becomes public code, and public code eventually turns up in incident reports.

Who is affected?

Any Windows environment that relies on EDR alerts for remote memory writes as its main injection signal is in scope. SensePost’s examples use standard Windows process creation, and none of the sources describe a Windows version that blocks the technique.

How to check your exposure

The practical test is whether your own stack sees anything. The Orange Cyberdefense P3-Loader is public on GitHub under GPL-2.0 with a whitepaper, and Ciphers Security suggests running it in a lab against your own EDR before trusting any vendor claim. Do this only on systems you own or are authorised to test.

Is it spreading?

GitHub shows early signs of reuse. On 29 November 2026 the original repository had 250 stars and 33 forks. Variants created since then include a port that uses the window title field, published in October 2026, and a Crystal Palace implementation, also from October. Each has only a handful of stars, but they show the idea is being adapted.

Timeline of Process Parameter Poisoning from a 2020 blog post to October 2026 variants.
The primitive existed in 2020; a public loader and independent testing in 2026 turned it into a tool others are now adapting. Data: SensePost, Flashpoint, GitHub API.

How do you detect Process Parameter Poisoning?

No single event reliably marks P3. Both SensePost and Flashpoint warn that individual signals are noisy, so the strongest detections join several of them within a short time window on the same parent and child.

Signal 1: unusual process arguments

Shellcode in a command line or environment block looks nothing like normal arguments. SensePost suggests flagging unusual entropy, excessive length and large numbers of unusual characters, and warns that this is prone to false positives on its own. Flashpoint ties this check to ATT&CK T1564.010, process argument spoofing.

Ciphers Security proposes concrete starting thresholds for Sysmon Event ID 1 (process creation): entropy above 4.5 bits per byte or arguments longer than 500 characters. Treat these as values to tune against a baseline of your own environment, not as fixed rules.

Signal 2: a parent reading the child’s PEB

Right after creating the child, the loader reads the child’s PEB and parameter structure. SensePost lists a remote process reading the parameters structure as a detection opportunity. Ciphers Security suggests Sysmon Event ID 10 (process access) with read-oriented access masks as one way to see this.

Signal 3: parameter memory becoming executable

This is the strongest single signal. SensePost and Flashpoint both point to memory permission changes that make non-image memory executable, especially memory holding process parameters. Flashpoint notes that many organisations tune these alerts down because legitimate software triggers them too.

Ciphers Security says standard Sysmon does not show these permission changes and that defenders need the Microsoft-Windows-Threat-Intelligence ETW provider, the kernel telemetry source many commercial EDRs consume. Ask your EDR vendor whether it uses that feed.

Signal 4: a thread redirected into that memory

The final step changes a thread’s instruction pointer. SensePost suggests alerting when an executable permission change is followed by a thread context change. Flashpoint cautions that rules keyed on explicit suspend and resume calls will miss P3, because it does not need them. Ciphers Security adds that Sysmon Event ID 8 does not fire for this kind of context change.

Four detection signals for P3: odd arguments, PEB read, executable parameters, thread context change.
Each signal is noisy alone; together, on one parent and child within seconds, they describe P3 closely. Data: SensePost, Flashpoint, Ciphers Security.

ATT&CK mapping

Technique ID Where it shows in P3
Process Injection T1055 Code runs inside the child process
Thread Execution Hijacking T1055.003 Instruction pointer moved to the payload
Process Argument Spoofing T1564.010 Payload hidden in startup arguments

Mapping as published by Flashpoint.

What should defenders do?

Prioritise in this order:

  1. Test your own EDR against the public loader. Run P3-Loader in a lab against your production EDR policy and record which, if any, of the four signals appear in your telemetry.
  2. Confirm you receive memory permission telemetry. Check whether your EDR or SIEM sees non-image memory being made executable. Without it, the strongest P3 signal is invisible.
  3. Build a correlated hunt, not a single rule. Join process creation with odd arguments, a PEB read by the parent and an executable permission change on the child within seconds.
  4. Do not rely on suspend and resume indicators. Review injection rules that assume a suspended child or explicit thread suspension; P3 avoids both.
  5. Baseline command-line length and entropy. Collect process creation arguments for a few weeks so that outliers stand out without flooding analysts.
  6. Harden high-value processes. Ciphers Security recommends Arbitrary Code Guard, a Windows exploit protection that stops a process from creating or modifying executable code, on processes where it does not break functionality.
  7. Watch for the follow-on steps. Flashpoint’s test shows XDR caught the second stage before unhooking was added, so keep detections for DLL unhooking and unusual DLL load policies on sacrificial processes.

What is still unknown?

Several important points are not settled by the sources.

  • Which EDRs were tested. Neither SensePost nor Flashpoint names the products, so readers cannot tell whether their own vendor was among them.
  • Vendor responses. No source reports EDR vendors adding P3-specific detections since July.
  • Small factual conflicts. Ciphers Security dates SensePost’s publication to 22 September 2026, which is actually Flashpoint’s publication date; SensePost’s own page says 6 July. Ciphers also describes creating the child suspended, while SensePost says the technique avoids that. This article follows SensePost on both points.
  • Language of the original loader. Ciphers Security describes the Orange Cyberdefense loader as Rust. Flashpoint says it ported the researchers’ C++ code to Rust, and GitHub lists C as the repository’s main language.
  • Real-world use. No incident report links P3 to a threat actor so far.

The bottom line

Process Parameter Poisoning moves shellcode into a new process through its own startup data, so the remote memory write that most EDR rules depend on never happens. It is limited to new child processes and small null-free stubs, and independent testing shows a decent XDR can still catch what comes next. Test the public loader against your own stack now, and hunt for the chain of odd arguments, executable parameter memory and a redirected thread before someone uses it outside a lab.

Sources

This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.

Frequently asked questions

What is Process Parameter Poisoning?

Process Parameter Poisoning, or P3, is a Windows process injection technique that hides shellcode in the parameters used to start a new process, such as the command line or environment block. Windows copies the data into the child process, so no remote memory write is needed.

Who discovered Process Parameter Poisoning?

Max Hirschberger and Ogulcan Ugur of SensePost, the research team of Orange Cyberdefense, published it on 6 July 2026. SensePost also notes that the researcher modexp described the same primitive in a 2020 blog post that has since been deleted.

Does Process Parameter Poisoning bypass EDR?

In SensePost's tests it injected code into four unnamed market-leading EDR products without a single alert. Flashpoint found an open-source XDR still blocked later activity until extra evasion was layered on, so results depend on the product and the rest of the attack.

Is Process Parameter Poisoning used by real attackers?

Neither SensePost nor Flashpoint reports any in-the-wild use. Both describe lab proofs of concept. The public loader and several variants on GitHub mean that could change.

How do you detect Process Parameter Poisoning?

Look for a chain: a child process created with unusually long or high-entropy arguments, the parent reading the child's PEB, the parameter memory being made executable, and the thread's instruction pointer being moved into that memory. Any one signal alone is noisy.

Which MITRE ATT&CK techniques map to P3?

Flashpoint maps it to T1055 Process Injection, T1055.003 Thread Execution Hijacking and T1564.010 Hide Artifacts: Process Argument Spoofing.

Can P3 inject into a process that is already running?

No. The payload travels in the parameters supplied when a process is created, so P3 only works on new child processes that the attacker launches.

Is the P3 loader code public?

Yes. Orange Cyberdefense publishes P3-Loader on GitHub under the GPL-2.0 licence, together with a whitepaper. GitHub showed 250 stars and 33 forks on 29 November 2026.

Keep reading

Process Parameter PoisoningP3process injectionEDR evasionred team toolsthreat detectionWindows security