diff --git a/dionaea/log_wardenfiler.py b/dionaea/log_wardenfiler.py
index 123748620fbe74f4f43444295790a50d23533b63..e85d4afeb7bb355532a86a91b9bcb5b61c015415 100644
--- a/dionaea/log_wardenfiler.py
+++ b/dionaea/log_wardenfiler.py
@@ -413,17 +413,17 @@ class LogWardenfilerHandler(ihandler):
 
     def handle_incident_dionaea_modules_python_ftp_login(self, icd):
         con = icd.con
-        self._register_connection(con, "ftp",  cred = {"User": icd.username, "Password": icd.password})
+        self._register_connection(con, "ftp",  cred = {"User": self._bytes_to_str(icd.username), "Password": self._bytes_to_str(icd.password)})
         logger.info("new FTP login within connection from %s:%i to %s:%i" % (con.remote.host, con.remote.port, con.local.host, con.local.port))
 
     def handle_incident_dionaea_modules_python_mssql_login(self, icd):
         con = icd.con
-        self._register_connection(con, "ms-sql-s",  cred = {"User": icd.username, "Password": icd.password})
+        self._register_connection(con, "ms-sql-s",  cred = {"User": self._bytes_to_str(icd.username), "Password": self._bytes_to_str(icd.password)})
         logger.info("new MSSQL login within connection from %s:%i to %s:%i" % (con.remote.host, con.remote.port, con.local.host, con.local.port))
 
     def handle_incident_dionaea_modules_python_mysql_login(self, icd):
         con = icd.con
-        self._register_connection(con, "mysql",  cred = {"User": icd.username, "Password": icd.password})
+        self._register_connection(con, "mysql",  cred = {"User": self._bytes_to_str(icd.username), "Password": self._bytes_to_str(icd.password)})
         logger.info("new MySQL login within connection from %s:%i to %s:%i" % (con.remote.host, con.remote.port, con.local.host, con.local.port))
 
     def handle_incident_dionaea_modules_python_p0f(self, icd):