Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

S7-1200 module - error: [Errno 104] Connection reset by peer #10

Closed
payne747 opened this issue Jan 16, 2021 · 3 comments
Closed

S7-1200 module - error: [Errno 104] Connection reset by peer #10

payne747 opened this issue Jan 16, 2021 · 3 comments

Comments

@payne747
Copy link

Testing the S7-1200 PLC Control module against a real S7-1200 (1212C), when sending the stop command, get:

isf (S7-1200 PLC Control) > set target 192.168.1.190
[+] {'target': '192.168.1.190'}
isf (S7-1200 PLC Control) > set command 2
[+] {'command': '2'}
isf (S7-1200 PLC Control) > run
[*] Running module...
[+] Target is alive
[*] Sending packet to target
[*] reset plc
[-] Traceback (most recent call last):
  File "/root/isf/icssploit/interpreter.py", line 337, in command_run
    self.current_module.run()
  File "/root/isf/icssploit/modules/exploits/plcs/siemens/s7_1200_plc_control.py", line 122, in run
    self.exploit()
  File "/root/isf/icssploit/modules/exploits/plcs/siemens/s7_1200_plc_control.py", line 107, in exploit
    self.start_ctrl(stop_cpu_packet)
  File "/root/isf/icssploit/modules/exploits/plcs/siemens/s7_1200_plc_control.py", line 95, in start_ctrl
    s.recv(1024)
error: [Errno 104] Connection reset by peer
@dark-lbp
Copy link
Owner

Hi @payne747 what's the s7-1200 firmware version?
s7_1200_plc_control module might only work with S7-1200 V3.x firmware.

@payne747
Copy link
Author

It's on 4.4, that might explain it.

@dark-lbp
Copy link
Owner

Duplicate of #3

@dark-lbp dark-lbp marked this as a duplicate of #3 Jan 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants