In short
Behinder, also called Ice Scorpion or Rebeyond, is an open-source webshell manager published on GitHub. A small server-side script on a PHP, Java or .NET web server decrypts commands sent from a graphical client. Its traffic is encrypted with AES, which helps it evade network signatures. Attackers use it to keep control of breached web servers.
Key takeaways
- What it is
- An open-source webshell manager, known as Behinder, Rebeyond, Ice Scorpion or 冰蝎, with server components for .NET, PHP and Java.
- How it works
- A graphical client sends encrypted code in HTTP POST bodies. A tiny script on the web server decrypts and runs it, then returns encrypted output.
- Why it matters
- Kaspersky's SOC found Behinder running in memory inside an IIS worker on a SharePoint server, with no web shell file ever recovered.
- What Odin Research saw
- Two Behinder-compatible PHP webshells on an attacker's open directory, one rebuilt to run on PHP 8, both keyed with Behinder's public default.
- What to do first
- Watch web server processes that start shells, inspect memory as well as files, and alert on encrypted POST bodies to rarely used pages.
What is Behinder?
Behinder is an open-source webshell manager published on GitHub by the author rebeyond. A small script on a web server receives encrypted code from a graphical client, decrypts it and runs it. Its project page calls it a website management client built on dynamic binary encryption.
The tool is also known as Rebeyond, Ice Scorpion and by its Chinese name 冰蝎 (Bīng xiē). Kaspersky describes it as a cross-platform web shell designed to work with common PHP, Java and ASP.NET web servers. Malpedia notes that it is openly distributed through GitHub.
Behinder belongs to a family of Chinese-origin webshell managers. The best-known older member is China Chopper. Behinder's main difference is that it encrypts its traffic, which makes simple network signatures much less useful.
MITRE ATT&CK covers this activity under Web Shell (T1505.003). ATT&CK does not list Behinder as a separate software entry.
How Behinder works
Behinder has two parts.
- The server-side script. A small file placed on the web server. The project README lists server runtimes for .NET 2.0 and later, PHP 5.3 to 7.4, and Java 6 and later. Kaspersky calls the shell itself lightweight and basic.
- The client. A graphical tool on the operator's machine. Kaspersky notes that it gives operators many capabilities, including loading extra modules.
The exchange works like this:
- The client encrypts a piece of code with AES and sends it in an HTTP
POSTbody. - The server-side script decrypts the body and runs the code inside the web server process.
- The output is encrypted the same way and returned in the response.
Because the real logic arrives with each request, the file on disk can stay tiny and generic. Every interesting function lives in the client and in memory. Kaspersky's investigation found .NET modules loaded inside the IIS worker process memory, which it called a fully functional backdoor.
The encryption is the selling point. Kaspersky notes that built-in AES helps attackers evade traditional network detection. That is why defenders need host signals, not only network ones. See Encrypted Channel (T1573).
How attackers use Behinder
Webshells are a persistence tool. After an attacker exploits a public-facing application, a webshell keeps the door open. It survives password resets and needs no outbound connection from the server.
In February 2025, Kaspersky described a SOC case on a SharePoint server in Southeast Asia. Its heuristic engine flagged an obfuscated attempt to download an ASPX payload with a built-in Windows utility. Later phases showed reconnaissance and privilege escalation. Analysts found several .NET modules in the IIS worker process memory and identified Behinder by inspecting them. The initial web shell file was never recovered.
Kaspersky also notes why the tool stays popular. It comes as a pre-built GitHub project, and Chinese-language tutorials make it easy for opportunistic actors to adopt.
The NSA and the Australian Signals Directorate warned in 2020, in guidance CISA promoted, that attackers increasingly plant web shells on breached servers to run commands and keep lasting footholds. Behinder is one of the tools behind that trend.
What Odin Research observed
Behinder appears in Monograph 30, which centers on a stolen cloud key used to backdoor WordPress through a storage bucket. On a separate open directory, Odin Research found two small PHP webshells that speak the Behinder v3 protocol.
- Twin files. The two files are 569 and 755 bytes. Each reads a POST body, Base64-decodes it and decrypts it with OpenSSL AES-128. If the OpenSSL extension is missing, it falls back to a 16-byte rolling XOR.
- The public default key. Both derive their key from Behinder v3's public default. Odin notes that this lets standard Behinder traffic signatures apply.
- A repair for PHP 8. The first version runs decrypted code through
create_function. PHP deprecated that function in 7.2 and removed it in 8.0, so the shell fails on modern servers. The second version switches to bufferedevaland encrypts its response, so it runs on PHP 8.
The repair fits the README's PHP 5.3 to 7.4 range. Someone adapted a Behinder-compatible shell for newer PHP rather than waiting for upstream support. Monograph 30 sees the same fix-and-retry habit in the report's pax_cmd WordPress playbook.
These are files on an attacker's server. The report does not show either shell running on a victim site.
How to detect Behinder
- Web workers starting shells.
php-fpm,apache2,httpdorw3wp.exestartingcmd.exe, a Unix shell,whoamiorcurlis a strong signal. - Memory, not only files. Kaspersky's case shows Behinder modules living only in the IIS worker's memory. Use EDR memory scanning on web servers.
- Small files with decryption code. A tiny script that combines Base64 decoding,
openssl_decryptand dynamic code execution is suspicious in a web root. - Encrypted POST bodies. Repeated POSTs of high-entropy Base64 data to a rarely used page, with similar-sized encrypted responses, match the protocol.
- Default keys. Shells left on Behinder's public default key can be matched by published Behinder signatures.
Monograph 30 publishes a YARA rule for the Behinder twin webshells, a Sigma rule for PHP or web workers spawning shells, and a KQL hunt for the same behavior. They are on the report page and in the Defense Kit. See our primer on YARA and Sigma rules.
How to defend against and respond to Behinder
- Patch the way in. Webshells follow exploitation. Keep internet-facing CMS, SharePoint and Java apps on a short patch cycle.
- Lock down the web root. Web server accounts should not be able to write executable files where they are served. Monitor new or changed scripts.
- Hunt in memory. When you find one webshell, scan worker process memory for loaded modules, as Kaspersky did.
- Assume credential exposure. Rotate secrets the web server could read, such as database passwords and cloud keys.
- Rebuild if in doubt. A clean redeploy from known-good code is safer than deleting one file.
Behinder compared with other webshell tools
| Tool | Server languages | Traffic | Notes |
|---|---|---|---|
| Behinder | .NET, PHP, Java | AES-encrypted POST bodies | Graphical client with modules; in-memory .NET use reported by Kaspersky |
| China Chopper | Server payload on web servers; MITRE lists Windows | Code sent in HTTP POST | No callback to a C2 server needed; UPX-packed client (MITRE S0020) |
| pax_cmd gate | PHP, injected into WordPress theme files | Command in a hidden request parameter | Staged through a stolen cloud key in Monograph 30 |
Frequently asked questions about Behinder
What is Behinder?
Behinder, also called Ice Scorpion or Rebeyond, is an open-source webshell manager. A small server-side script on a PHP, Java or .NET web server decrypts AES-encrypted commands from a graphical client and runs them.
Is Behinder malware?
Behinder is published openly on GitHub as a website management client, but it is used mainly as a webshell. A Behinder script on your server that you did not place there is a backdoor and should be treated as an incident.
Who made Behinder?
The project is published on GitHub by the author rebeyond, which is why the tool is also called Rebeyond.
Why is Behinder called Ice Scorpion?
Ice Scorpion is the English translation of its Chinese name, 冰蝎 (Bīng xiē). Kaspersky lists Behinder, Rebeyond, Ice Scorpion and 冰蝎 as names for the same tool.
How do I detect Behinder?
Look for web server processes that start shells, small scripts that combine Base64 decoding with decryption and dynamic code execution, and encrypted POST bodies to rarely used pages. Scan web worker memory too. Odin Research publishes YARA, Sigma and KQL rules in its Defense Kit.
Behinder vs China Chopper: what is the difference?
Both are webshell tools with a client and a tiny server-side component that runs code sent over HTTP POST. Behinder encrypts its traffic with AES, which makes network detection harder than with China Chopper.
Does Behinder work on PHP 8?
The project README lists PHP 5.3 to 7.4. Odin Research found a Behinder-compatible shell that had been rebuilt to run on PHP 8 after the original version failed there.
Sources
- rebeyond, Behinder README, GitHub. raw.githubusercontent.com/rebeyond/Behinder/master/README.md (checked 21 November 2026)
- Kaspersky Securelist, "The SOC files: Chasing the web shell", 28 February 2025. securelist.com/soc-files-web-shell-chase/115714/ (checked 21 November 2026)
- Malpedia, Behinder (php.behinder). malpedia.caad.fkie.fraunhofer.de/details/php.behinder (checked 21 November 2026)
- MITRE ATT&CK, Server Software Component: Web Shell, T1505.003. attack.mitre.org/techniques/T1505/003/ (checked 21 November 2026)
- MITRE ATT&CK, China Chopper, S0020. attack.mitre.org/software/S0020/ (checked 21 November 2026)
- CISA, "NSA-ASD Release Guidance on Mitigating Web Shell Malware", 22 April 2020. www.cisa.gov/news-events/alerts/2020/04/22/nsa-asd-release-guidance-mitigating-web-shell-malware (checked 21 November 2026)
- PHP Manual, create_function. www.php.net/manual/en/function.create-function.php (checked 21 November 2026)
Related tools and terms
What is Sliver?
Sliver is an open-source command-and-control (C2) framework from Bishop Fox, written in Go. Red teams use it for adversary emulation, and criminal and state operators use it as a free alternative to Cobalt Strike.
C2 frameworkWhat is Brute Ratel C4?
Brute Ratel C4 is a commercial red-team C2 framework built to evade endpoint detection. Leaked copies have been used by criminal operators.
C2 frameworkWhat is Havoc?
Havoc is an open-source post-exploitation C2 framework with a Windows implant called Demon.
C2 frameworkWhat is Mythic?
Mythic is an open-source, multi-user C2 platform with pluggable agents and transports, built for red-team operations.
Offensive frameworkWhat is Metasploit?
Metasploit is an open-source penetration testing framework maintained by Rapid7. It bundles exploits, payloads and the Meterpreter post-exploitation agent.
Offensive frameworkWhat is Viper?
Viper is an open-source browser front end for Metasploit. It adds a multi-operator web interface and a module runner on top of the Metasploit RPC service.
Odin Research
Get the rules, not just the definition
Every Odin Research report ships with verified indicators and detection rules you can load today.