Conpot is an ICS honeypot with the goal to collect intelligence about the motives and methods of adversaries targeting industrial control systems
Code is based on http://scadahoneynet.sourceforge.net/ and examples from https://code.google.com/p/modbus-tk/
See: https://github.com/glastopf/conpot/blob/master/docs/source/installation/installation_ubuntu.rst