RF Transceiver Transmitter - Metasploit
This page contains detailed information about how to use the post/hardware/rftransceiver/transmitter metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.
Module Overview
Name: RF Transceiver Transmitter
Module: post/hardware/rftransceiver/transmitter
Source code: modules/post/hardware/rftransceiver/transmitter.rb
Disclosure date: -
Last modification time: 2017-07-24 06:26:21 +0000
Supported architecture(s): -
Supported platform(s): Hardware
Target service / protocol: -
Target network port(s): -
List of CVEs: -
This module powers an HWBridge-connected radio transceiver, effectively transmitting on the frequency set by the FREQ option. NOTE: Users of this module should be aware of their local laws, regulations, and licensing requirements for transmitting on any given radio frequency.
Module Ranking and Traits
Module Ranking:
- normal: The exploit is otherwise reliable, but depends on a specific version and can't (or doesn't) reliably autodetect. More information about ranking can be found here.
Basic Usage
There are two ways to execute this post module.
From the Meterpreter prompt
The first is by using the "run" command at the Meterpreter prompt. It allows you to run the post module against that specific session:
meterpreter > run post/hardware/rftransceiver/transmitter
From the msf prompt
The second is by using the "use" command at the msf prompt. You will have to figure out which session ID to set manually. To list all session IDs, you can use the "sessions" command.
msf > use post/hardware/rftransceiver/transmitter
msf post(transmitter) > show options
... show and set options ...
msf post(transmitter) > set SESSION session-id
msf post(transmitter) > exploit
If you wish to run the post against all sessions from framework, here is how:
1 - Create the following resource script:
framework.sessions.each_pair do |sid, session|
run_single("use post/hardware/rftransceiver/transmitter")
run_single("set SESSION #{sid}")
run_single("run")
end
2 - At the msf prompt, execute the above resource script:
msf > resource path-to-resource-script
Required Options
SESSION: The session to run this module on.
FREQ: Frequency to transmit on
Knowledge Base
Simple module to transmit a given frequency for a specified amount of seconds. This code was ported from AndrewMohawk.
NOTE: Users of this module should be aware of their local laws, regulations, and licensing requirements for transmitting on any given radio frequency.
Options
FREQ
Frequency to brute force.
BAUD
Baud rate. Default: 4800
POWER
Power level to specify. Default: 100
SECONDS
How many seconds to transmit the signal. Default: 4
INDEX
USB Index number. Default: 0
Scenarios
Transmit a given signal for 4 seconds
hwbridge > run post/hardware/rftransceiver/transmitter FREQ=433880000
[*] Transmitting on 433880000 for 4 seconds...
[*] Finished transmitting
Go back to menu.
Msfconsole Usage
Here is how the hardware/rftransceiver/transmitter post exploitation module looks in the msfconsole:
msf6 > use post/hardware/rftransceiver/transmitter
msf6 post(hardware/rftransceiver/transmitter) > show info
Name: RF Transceiver Transmitter
Module: post/hardware/rftransceiver/transmitter
Platform: Hardware
Arch:
Rank: Normal
Provided by:
Craig Smith
Compatible session types:
Hwbridge
Basic options:
Name Current Setting Required Description
---- --------------- -------- -----------
BAUD 4800 no Baud rate to use
FREQ yes Frequency to transmit on
INDEX 0 no USB Index to use
POWER 100 no Power level
SECONDS 4 no Seconds to transmit
SESSION yes The session to run this module on.
Description:
This module powers an HWBridge-connected radio transceiver,
effectively transmitting on the frequency set by the FREQ option.
NOTE: Users of this module should be aware of their local laws,
regulations, and licensing requirements for transmitting on any
given radio frequency.
References:
https://github.com/AndrewMohawk/RfCatHelpers
Module Options
This is a complete list of options available in the hardware/rftransceiver/transmitter post exploitation module:
msf6 post(hardware/rftransceiver/transmitter) > show options
Module options (post/hardware/rftransceiver/transmitter):
Name Current Setting Required Description
---- --------------- -------- -----------
BAUD 4800 no Baud rate to use
FREQ yes Frequency to transmit on
INDEX 0 no USB Index to use
POWER 100 no Power level
SECONDS 4 no Seconds to transmit
SESSION yes The session to run this module on.
Advanced Options
Here is a complete list of advanced options supported by the hardware/rftransceiver/transmitter post exploitation module:
msf6 post(hardware/rftransceiver/transmitter) > show advanced
Module advanced options (post/hardware/rftransceiver/transmitter):
Name Current Setting Required Description
---- --------------- -------- -----------
VERBOSE false no Enable detailed status messages
WORKSPACE no Specify the workspace for this module
Post Actions
This is a list of all post exploitation actions which the hardware/rftransceiver/transmitter module can do:
msf6 post(hardware/rftransceiver/transmitter) > show actions
Post actions:
Name Description
---- -----------
Evasion Options
Here is the full list of possible evasion options supported by the hardware/rftransceiver/transmitter post exploitation module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):
msf6 post(hardware/rftransceiver/transmitter) > show evasion
Module evasion options:
Name Current Setting Required Description
---- --------------- -------- -----------
Go back to menu.
Error Messages
This module may fail with the following error messages:
Check for the possible causes from the code snippets below found in the module source code. This can often times help in identifying the root cause of the problem.
Not an RF Transceiver
Here is a relevant code snippet related to the "Not an RF Transceiver" error message:
37:
38: end
39:
40: def run
41: unless is_rf?
42: print_error("Not an RF Transceiver")
43: return
44: end
45: unless set_index(datastore['INDEX'])
46: print_error("Couldn't set usb index to #{datastore['INDEX']}")
47: return
Couldn't set usb index to <INDEX>
Here is a relevant code snippet related to the "Couldn't set usb index to <INDEX>" error message:
41: unless is_rf?
42: print_error("Not an RF Transceiver")
43: return
44: end
45: unless set_index(datastore['INDEX'])
46: print_error("Couldn't set usb index to #{datastore['INDEX']}")
47: return
48: end
49: set_modulation("ASK/OOK")
50: set_freq(datastore['FREQ'])
51: set_sync_mode(0)
Go back to menu.
Related Pull Requests
- #8716 Merged Pull Request: Print_Status -> Print_Good (And OCD bits 'n bobs)
- #8338 Merged Pull Request: Fix msf/core and self.class msftidy warnings
- #8155 Merged Pull Request: Style fixes for HWBridge RF and a couple small bug fixes
- #7935 Merged Pull Request: HWBridge RF transceiver extension
References
See Also
Check also the following modules related to this module:
Authors
- Craig Smith
Version
This page has been produced using Metasploit Framework version 6.1.24-dev. For more modules, visit the Metasploit Module Library.
Go back to menu.