Permalink
Browse files

Added signature for DirtJumper bots

  • Loading branch information...
botherder committed Sep 11, 2012
1 parent c492584 commit c070cc345d73b84c6569c66e5630813855b67585
Showing with 32 additions and 0 deletions.
  1. +32 −0 modules/signatures/dirtjumper.py
@@ -0,0 +1,32 @@
+# Copyright (C) 2012 Claudio "nex" Guarnieri (@botherder)
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+from lib.cuckoo.common.abstracts import Signature
+
+class DirtJumper(Signature):
+ name = "dirtjumper"
+ description = "Recognized to be a DirtJumper bot"
+ severity = 3
+ categories = ["malware", "ddos"]
+ authors = ["nex"]
+
+ def run(self, results):
+ if results["network"]:
+ for http in results["network"]["http"]:
+ if http["method"] == "POST" and http["body"].startswith("k="):
+ self.data.append({"url" : http["uri"], "data" : http["body"]})
+ return True
+
+ return False

0 comments on commit c070cc3

Please sign in to comment.