So, today I grabbed a sample of the leaked “Zemra” botnet source code, and quickly did a “10 second analysis” of the webpanels source code. I often do this to see can I locate any “GLARING SECURITY FLAWS” in the C&C. I am also working on finding a google-dork to find Zemra installations.
For information about Zemra the following links are useful ![]()
http://www.symantec.com/connect/blogs/ddos-attacks-zemra-bot
http://threatpost.com/en_us/blogs/new-crimeware-bot-zemra-behind-ddos-attacks-062712
http://thehackernews.com/2012/06/zemra-botnet-leaked-cyber-criminals.html
http://news.softpedia.com/news/Zemra-DDOS-Crimeware-Kit-Used-to-Extort-Organizations-278041.shtml
So. This was on sale in various places online (Russian forums apparently), however I suspect (based on the backdoor and the fact it is written in C#) that is is German in origin. Some of the stuff in there seems to be German also, so I assume it is another product of the German Skid Scene. Basically “Rippers Inc”. LAME!
Anyway, I was looking at the webpanels source (I will eventually rip the bots source apart) and noticed that gate.php has some lulzy SQLi (possibly).
Far more interesting was the backdoor. Located at /Zemra/Panel/Zemra/system/command.php, it is your basic “BACKDOOR”. It takes the GET parameter “cmd” and executes it.
Example: localhost/Zemra/Panel/Zemra/system/command.php?cmd=cat /etc/passwd
I will be researching this in greater depth… Sometime in the near-ish future. But as always, there be backdoors in your backdoors!
Finally: Zemra.rar file is here: Zemra
I think that the source code is broken, what is that:” {15439A59-21B6-4268-85FC-B75D4C80FFCA}.smethod_12() “???
Where in the code is that? What file? There seem to be (lame) hardcoded registry keys in the persistence part, and likely hardcoded encryption keys. Still doing the analysis in my free time
You can find it in Socks5Class.cs line 53:
AuthData[4].ToString() + {15439A59-21B6-4268-85FC-B75D4C80FFCA}.smethod_1() + AuthData[5].ToString()Info:
https://encrypted.google.com/search?q=PrivateImplementationDetails
Many thanks! Was assuming it was hardcoded registry keys for now as it “looked kinda like regkeys”.
the same style backdoor was in the bit seeq system coded by wicked it was in C# also.
just saw zemra panel and it is 1:1 Seeq botnet
Pingback: Zemra木马源代码泄露(更新源码) - 中国绿客联盟
Pingback: 【转】Zemra木马源代码泄露(含源码下载) | 网络大学|Network University