raja314 — 2011-11-20T10:26:39-05:00 — #1
recently some hacked into my WP website an uploaded 4 encrypted files (additionally one file named ntunel_mysql.php (no encryption) seems suspicious, not sure if it was by hacker ),
also, two new admins were created in my site.
one of 4 files encrypted is here: http://pastebin.com/ycTHyv0N
i'm unable to decode it using the tools i found. can anyone pls help
Pls let me know if you need additional details
force — 2011-11-20T14:47:51-05:00 — #2
How is the code executed? That would give a clue.
force — 2011-11-20T17:34:01-05:00 — #3
Ok, it looks like that code is self-executing. It's actually rather clever, actually.
The second line essentially spits out this:
Which decodes the array of gibberish into the malicious code that actually runs. However, without a closer inspection, I'm not entirely sure what it does (displays ads, maybe?). Either way, I wouldn't recommend running it, though.
Reverting to backup before this intrusion happened would probably be the best option, since you never know what other malicious pieces of code would've been left behind.
I would also take a closer look at what your file permissions are set at, and also locking down wordpress better.
raja314 — 2011-11-21T01:03:17-05:00 — #4
i'm not sure what the code does, but the hacker was able to create admin users and change my affiliate links to his in a script i use. i have traced down several accesses to the malicious files from someone in vietnam. here is a series of accesses made to the above file (timing: bottom to top):
there were another 50+ commands given
force — 2011-11-21T11:08:55-05:00 — #5
As I said, if you have a backup, or can request a backup restoration from your host, that would be the preferred approach to go.
crazybanana — 2011-11-27T14:03:54-05:00 — #6
a quick look at it reveals that it decodes into chinese - now I'm not so familiar with the language but it looks like (looks like gibberish nonsense) maybe forum posts... or news stuffing... hard to tell without knowing more or speaking the language...