mosart_keylogger¶
Presentation¶
mosart_keylogger allows to capture and display the unencrypted keystrokes transmitted over the air by a Mosart Device. It works with a RFStorm Device.
You have to provide a target using the TARGET parameter and you can choose the channel thanks to the CHANNEL parameter.
You can enable the SYNC mode if you want to inject your frames synchronously with the Sync packets transmitted by the target dongle.
You can choose the locale in use by providing a value composed of two characters to LOCALE parameter.
There is a possiblity to limit the execution time with the TIME parameter (execution duration in seconds). If this parameter is set to an empty string (“”), the execution doesn’t automatically stop and requires to press Ctrl + C for exit.
This module allows to generate a text file containing the sequence of captured keystrokes. It can be used to identify a password or some similar sensitive data.
Compatible devices¶
Input parameters¶
Name |
Default value |
Possible values |
Description |
---|---|---|---|
INTERFACE |
rfstorm0 |
rfstormX |
Interface to use |
TARGET |
<Mosart adress> |
Address of the target device |
|
CHANNEL |
36 |
<integer> |
Channel to monitor |
LOCALE |
fr |
<file path> |
Locale in use |
TIME |
yes |
yes|no |
Execution duration |
TEXT_FILE |
<file path> |
File dedicated to store the sequence of collected keystrokes |
Output parameters¶
Name |
Possible values |
Description |
---|---|---|
TEXT |
<string> |
Sequence of collected keystrokes |
Usage¶
If you want to passively collect keystrokes on the channel 20, targeting the device F0:BF:1E:86, you must type the following command :
$ mirage mosart_keylogger TARGET=F0:BF:1E:86 CHANNEL=20
[INFO] Module mosart_keylogger loaded !
[INFO] b
[INFO] o
[INFO] n
[INFO] j
[INFO] o
[INFO] u
[INFO] r
[INFO] [ENTER]
^C[INFO] Captured keystrokes: bonjour[ENTER]
[INFO] Mirage process terminated !
You can also provide a filename as TEXT_FILE in order to save the captured keystrokes in a text file:
$ mirage mosart_keylogger TARGET=F0:BF:1E:86 CHANNEL=20 TEXT_FILE=out.txt
[INFO] Module mosart_keylogger loaded !
[INFO] b
[INFO] o
[INFO] n
[INFO] j
[INFO] o
[INFO] u
[INFO] r
[INFO] [ENTER]
^C[INFO] Captured keystrokes: bonjour[ENTER]
[SUCCESS] Captured keystrokes stored as out.txt
[INFO] Mirage process terminated !
$ cat out.txt
bonjour[ENTER]