Rapid7 Vulnerability & Exploit Database

Modbus Banner Grabbing

Back to Search

Modbus Banner Grabbing

Created
09/09/2020

Description

This module grabs the banner of any device running the Modbus protocol by sending a request with Modbus Function Code 43 (Read Device Identification). Modbus is a data communications protocol originally published by Modicon (now Schneider Electric) in 1979 for use with its programmable logic controllers (PLCs).

Author(s)

  • Juan Escobar <juan@null-life.com>
  • Ezequiel Fernandez

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/scanner/scada/modbus_banner_grabbing
msf auxiliary(modbus_banner_grabbing) > show actions
    ...actions...
msf auxiliary(modbus_banner_grabbing) > set ACTION < action-name >
msf auxiliary(modbus_banner_grabbing) > show options
    ...show and set options...
msf auxiliary(modbus_banner_grabbing) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;