mushorg / conpot

ICS/SCADA honeypot
GNU General Public License v2.0
1.24k stars 415 forks source link

Can a real PLC be linked with Conpot instead of Simulating one? I run it on TPOT. #347

Closed SwapnilDreams100 closed 6 years ago

glaslos commented 6 years ago

You can use the proxy module to attach a real PLC. https://github.com/mushorg/conpot/tree/master/conpot/templates/proxy

SwapnilDreams100 commented 6 years ago

Thanks Ill try it out. What changes do I have to make? I will be using a Seimens S7 1200.

SwapnilDreams100 commented 6 years ago

Hi, can you please list the changes to be done/ steps to be followed for liking the real plc to conpot. Highly appreciated.

glaslos commented 6 years ago

Hi @SwapnilDreams100 have a look at the configuration in the Proxy sample template. You can see how we map 0.0.0.0:dest_port to proxy_host:proxy_port. If you set the proxy host and port to your S7, you should see the connections in Conpot and in your PLC.

xandfury commented 6 years ago

Question seems to be answered. @SwapnilDreams100 If you need any further assistance, feel free to re-open the issue again.