Skip to content

MySQL (3306)

The MySQL module emulates a MySQL database server, allowing you to create honeypots that mimic database services, and log login attempts.

Configuration

json
"mysql": [
  {
    "port": 3306,
    "version": "5.6.4-m7-log",
    "auth_plugin": "mysql_native_password"
  }
]

Options

OptionTypeDescriptionDefault
portintegerTCP port number for the MySQL service3306
versionstringMySQL version string to present"5.6.4-m7-log"
auth_pluginstringAuthentication plugin to use"mysql_native_password"

For the moment, only the mysql_native_password authentication plugin is supported.

Version

The version parameter can be set to emulate different MySQL versions. Here are some common MySQL versions:

  • 5.7.42-46
  • 5.7.23-23
  • 5.7.44-log
  • 8.0.35
  • 8.0.40-0ubuntu0.22.04.1
  • 8.0.36
  • 5.7.44
  • 5.6.50-log
  • 8.0.41-0ubuntu0.22.04.1
  • 5.7.40-log