Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

covert_channel improvement #47

Open
Mera-balou opened this issue Jan 17, 2020 · 4 comments
Open

covert_channel improvement #47

Mera-balou opened this issue Jan 17, 2020 · 4 comments

Comments

@Mera-balou
Copy link

I deployed the covert channel on a CU-12 and it works very well. But if the targeted dongle is not with the LIGHTSPEED firmware (e.g: original C-U0012 not flashed), It takes a few minutes to deploy the covert channel (a few seconds for the powershell terminal then a few minutes for the rest of the hidden code).

During these few minutes, if the targeted user clicks with his mouse on a text zone, the entire payload will not be transmitted to the powershell terminal and the covert channel will not work.
To avoid this and increase the chances of success, would it be possible to force the mouse pointer in a corner of the screen (example: upper right corner)?

@RoganDawes
Copy link
Owner

RoganDawes commented Jan 18, 2020 via email

@mame82
Copy link
Collaborator

mame82 commented Jan 18, 2020

I totally agree with @RoganDawes.

Anyways, in one of my test systems I inspected weird behavior: Once the payload typing to the hidden powershell Window starts, I'm not able to switch the input focus away (neither with mouse, nor with alt+tab etc).

The first time I observed this was with P4wnP1 HID channel. Same behavior with Lightspeef Logitech receivers. My initial thought was it occurs when stdin if the console is filled faster than characters could be displayed. This doesn't hold true, as the same behavior occured even with slow typing Unifying receivers.

Now all of this is worth nothing, as it 9nly happened on my test system and can't be reproduced (I never investigated the root cause).

But whenever Rogan jumps into discussion like this, I end up with new ideas ... here is mine:

What if we manage to manipulate the input receiving powershell window, not only to be hidden, but to behave like a modal window till typing has finished.

The user wouldn't be able to do anything about it, other than triggering higher priority key combos (ctrl + alt + del, alt + f4 ...).

I have no time to test if this is possible, but I won't say it isn't without trying

@RoganDawes
Copy link
Owner

Modal is all very well, but will still definitely be susceptible to “rogue” keystrokes from the real keyboard unfortunately.

Ie if the users presses A, it will still be captured in the modal window and corrupt the payload.

@RoganDawes
Copy link
Owner

But if anyone wants to try it, here is a starting point, for “system modal dialog boxes”: https://en.wikibooks.org/wiki/Windows_Programming/Dialog_Boxes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants