When we investigate compromised websites, it’s not unusual to find malicious files that have been obfuscated through forms of encoding or encryption — however, these are not the only methods that attackers use to obfuscate code.
Obfuscation via Predefined PHP Variables
Here’s an example of obfuscation that doesn’t use encoding or encryption in any way:
Instead, this example splits a PHP predefined variable, $_COOKIE, into segmented strings assigned to variables before concatenating them.
Continue reading Assemble the Cookies at Sucuri Blog.