Preventing Mirror Drivers from allowing remote "snooping" on local activity

Background: I'm looking at ways of capturing data securely. Obviously with keyloggers being so easy to get hold of and/or build, the keyboard is off limits, so there's an on-screen keypad.
I use the CreateDesktop method in winsta to create a desktop, then the other associated methods to push my thread to it and draw the window.
This all works fine - nobody can actually get to the thread to harvest the data or watch the button clicks. Also, nobody can take a screenshot in the traditional manner - I've got that worked out too.
The thorn in my side is mirror drivers. They can see everything on the desktop, even if it's a new desktop. Not only that, but a local application can "hotwire" any installed Mirror Driver and record or transmit data using it, according to a project
on CodeProject that leverages the RDP Encoder Mirror Driver for taking screenshots. (For this reason, simply suspending the processes that I expect to be installed and using mirror drivers is really insufficient.)
So far I have:
- Enumerated display drivers (EnumDisplayDevices in user32)
- Worked out which ones are Mirror Drivers or Remote
- Got the existing mode info with EnumDisplaySettings
- Enabled "unsafe modes" with ChangeDisplaySettingsEx
- Attempted to set the resolution to a very small number (this didn't work)
- Attempted to set the bits per pixel to zero (this didn't work)
I would like to either:
- Block the whole screen
or
- Block the client area where the action is taking place
Any suggestions would be greatly appreciated.
CodeProject article about hijacking the "RDP Encoder Mirror Driver": http://www.codeproject.com/Articles/716128/Using-RDP-Encoder-Mirror-Driver-to-Capture-Screen

Hi,
IMHO, to reliably prevent screen capturing done by mirror driver, you need to write your own video filter which sits on top of microsoft's mirror driver and filters the screen mirroring functions. Please see below link for a similar
discussion:
http://securityresearch.in/index.php/projects/malware_lab/malware-screen-captures/
Also, you may need to monitor any other device attaching to that device stack (as the need may be). Here, I am considering usage of any other mirror drivers (such as that of Ultra VNC). Hope that helps.
(Please mark as answer if it resolves your query. Please upvote if this post is helpful.)
Rajesh.
Thanks for your input Rajesh
The page you linked seems pretty high-level and the referenced page, http://gpalem.web.officelive.com/screencap.html, seems to have an unresolvable hostname.
Writing a mirror driver seems like a potentially viable option - I could call it and tell it which regions to mask, returning a handle to each region. Then I could unmask by passing the pointer back in. However, that would require an additional driver to
be installed which may be beyond the deployment capability available.
Last night (probably your daytime) I was toying with the idea of drawing a bitmap on only the mirror drivers displays - I guess this must be the way Windows displays a "1" on your first screen and a "2" on your second screen when you
click the "Identify Monitors" button and the desktop is duplicated.
-- EDIT --
Enumerating displays with EnumDisplayDevices presents all display devices including the Mirror Drivers, but doesn't provide any DeviceContexts. Enumerating Monitors with EnumDisplayMonitors does not present any Mirror Drivers, only "Displays" that
are actually "connected." This may include the "RDPDD Chained DD" driver if the user's session is being accessed over RDP. This information can also be retrieved by checking the DisplayStateFlags returned by EnumDisplayDevices to see if
the AttachedToDesktop flag is set. This does mean it's possible to detect the use of the Chained DD Driver and thereby prevent data entry over RDP (and perhaps Remote Assistance) but doesn't solve the problem at hand (which would also prevent RDP/RA - and
would therefore be the better problem to solve.)

Similar Messages

  • Can I prevent Visio 2010 from allowing drag and drop of swimlanes?

    I am having a pesky issue while putting together my cross functional flow charts that I would like to prevent.  When I accidentally click and drag a swimlane, it moves.  Is there a way to change a flowchart property where it will not allow a user
    to drag and drop columns?  We have multiple people editing the same flowchart and sometimes people accidentally mess it up by dragging and dropping a swimlane instead of the boxes inside the swimlane.  
    Thank you for your help!  I can't seem to find a setting anywhere that disables drag and drop of swimlanes.

    First, ensure you have the Developer tab enabled. Now select a swimlane, then Developer -> Protection
    and check X Position and Y Position.
    Paul Herber, Sandrila Ltd. Engineering and software shapes for Visio
    Sandrila Ltd

  • How can I eliminate the toolbar that comes up every time I swith websights and says Firefox prevented this page from automatically redirecting to another page and when nothing comes up I have to hit ALLOW and most of the time it screws me up

    I am running OS10 on a MAC and every time I go too another web site (most of the time) a new tool bar pops up that says " Firefox prevented this page from automatically redirecting to another page" and on the other end I must hit the button ALLOW because it is usually screwing me up and Iwant to disable it or use another browser

    Options > Advanced > General, un-check "Warn me when web sites try to redirect or reload the page"
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • When I click on a link in an email I get the following message at the top of the screen: "Firefox prevented this page from automatically redirecting to another page...[Allow]. How can I stop this?

    When I click on a link in an email using gmail in the Mozilla brower, I get the following message at the top of the screen:
    "Firefox prevented this page from automatically redirecting to another page...[Allow].
    How can I stop this?

    # Press Alt+T
    # Select Options
    # Select Advanced Panel
    # Select General Tab
    # You will see option "Warn me when websites try to redirect or reload page"
    # Uncheck it as given in the screenshot.
    <img src=http://dl.dropbox.com/u/7456129/Firefox/advancedgeneraltab.jpg width=600px height=600px>
    ''<hr>Note: If anyone's reply has solved your problem, then please mark that reply as "Solved It" to the right of that reply after logging in your account. It will help us to concentrate on new questions.''

  • AFter the latest download, my e-mail service keeps getting a bar at the top "Firefox prevented this page from automatically redirecting to another page". I have to keep hitting the "Allow" link? How do I get rid of this?

    Ever since the last update, I'm having problem accessing my e-mail account. I keep getting an annoying bar at the top of the screen "Firebox prevented this page from automatically redirecting to another page." I have to keep hitting the allow button, sometimes twice. And when I do get into the accounts the bar jumps in and out every time I open a new e-mail, or delete and old one.
    How do I get rid of this. I've had this account for years, with a very reputable private e-mail provider. This is nuts.

    See:
    *Firefox/Tools > Options > Advanced > General : Accessibility : [ ] "Warn me when web sites try to redirect or reload the page"
    The setting in "Tools > Options > Advanced > General" is meant as an accessibility feature, as you can see by the label of that section, so that people with disabilities or people who use screen readers do not get confused and is not meant as a safety protection to stop redirecting.
    See also:
    *https://support.mozilla.com/kb/Options+window+-+Advanced+panel#General_tab
    *http://kb.mozillazine.org/accessibility.blockautorefresh
    *http://kb.mozillazine.org/Accessibility_features_of_Firefox

  • When going to my hometown paper's site I get a dropdown banner that says Firefox has prevented this site from reloading ,but when I click on the allow button you have on the banner nothing happens so why is the button there?

    When I go to the local paper's from Elmira,NY and some other sites I get a drop down banner at the top of the page that tell me Firefox has prevented this page from reloading,but when I go to the allow button that you put on the right side of the banner and click on it the banner goes away and then it comes right back. It will come back every time you click allow until I click on the x box. So I want to know why is the allow button there if it does nothing?

    Click the Firefox button, go to Options | Options | Advanced and in the General tab, remove the checkmark from "'''Warn me when websites try to redirect or reload the page'''".
    You won't get that dropdown banner anymore afterwards.

  • I don't want to have to click the allow button every 3 seconds uploading video, how do I disable the "firefox prevented the page from reloading" when I've already put the site on my exceptions list?

    I begin uploading video to Facebook and a small window opens to show the progress bar but, the video stops uploading about every 5% when a notification comes from the top bar stating: "Firefox prevented the page from reloading" with an Allow button on the right. Regardless of clicking the allow button and putting Facebook in every exception list Firefox options seems to have or even turning pop up blockers off, that dam button keeps coming! How do I prevent or disable this?
    I am running windows XP media center edition SP2, and have Firefox v3.6.11

    You're welcome

  • Firefox prevented this page from automatically reloading. How do I get trid of that? It asks me to allow every time it wants to refresh?

    I constantly have the following in a bar at the top of the CNN page:
    "Firefox prevented this page from automatically reloading". Ii is accompanied by an "Allow" button. How do I get rid of that. I also have on every site randomly highlighted words in green that, when moused-over, has a little pop-up with a marketing ad.

    See:
    * [http://kb.mozillazine.org/Menu_differences Tools > Options] > Advanced > General : Accessibility : [ ] "Warn me when web sites try to redirect or reload the page"
    * [[Options window - Advanced panel#General_tab]]
    See also: http://kb.mozillazine.org/accessibility.blockautorefresh

  • Foxfire is preventing a page from reloading even after I allow it. How do I stop that?

    I'm enrolled in an online business training program called Power Sellers College. In that site, there is a private messaging system that I may use to correspond with my instructor, other instructors, other students etc. This Private Messaging System refreshes itself automatically every 60 seconds. A bar from Foxfire appears that states "Foxfire prevented this page from automatically reloading" and further down the bar there is an "Allow" button and then an "x" in the top right corner. Even though I push the "Allow" button and the bar disappears, it immediately reappears stating the same thing. I'm not sure if I'm getting my messages or not because I have corresponded with my instructor this way before and I don't recall ever seeing that pop up message from Foxfire before until lately. I only ask this because this is the second time he has missed our scheduled phone appointment. The first time he didn't call me he said he had sent messaged to all his students cancelling all his appointments but I did not get one and I figured he had just missed me. Now this is the second time I've received no message from him or any other message from him or any other instructors and I'm wondering if it's because of Foxfire preventing anything from getting through. My question is : How do I stop Foxfire from preventing that page of refreshing itself even after I allow to do so?

    Did you disable that setting in Tools or Firefox > Options?
    *Firefox/Tools > Options > Advanced > General : Accessibility : [ ] "Warn me when web sites try to redirect or reload the page"
    That setting in "Tools > Options > Advanced > General" is meant as an accessibility feature, as you can see by the label of that section, so that people with disabilities or people who use screen readers do not get confused and is not meant as a safety protection to stop redirecting.

  • When loading a new site using Firefox, why do I get a message that tells me that "firefox prevented this page from automatically directing to another page. Allow?"

    When loading a page using Firefox, at the top of the page, I get a mesage telling me "Firefox prevented this page from automatically redirecting to another page - Allow?" This happens almost every time I begin a new page and Firefox will not allow the page to continue uploading. I have to tell it to allow every time, even on pages I've 'allowed' in the past.

    The Redirection option is an Accessibility feature for people with Disabilities so that they will know when a page is going to be reloaded. It is not a Security feature.
    IF you still want it, click '''Firefox''' button and click '''Options''' -> Advanced -> General -> place Checkmark on '''Warn me when websites try to redirect or reload the page'''
    -> Click OK on Options window -> Restart Firefox

  • My preferences allow pop-ups and yet when I try to generate a letterfrom an online database I'm using for work, FifreFox "prevents po-ups from this site" Why?

    I need to access an online database to generate letters for an assigned project. I click on the appropriate link to generate letters, the file is conveyed to my downloads, and I open it using Adobe to create a pdf. This worked fine for the first 5 letters. When I tried to generate the 6th, a yellow banner appeared informing me that "FireFox prevented this site from opening a pop-up window" which prevented me from getting the letter into downloads to open in Adobe. Even though I don't have the pop-up blocker on, I clicked on preferences and found the site in question already listed as allowed. Why is this happening? How can I continue my work?

    * Go to your concerned website
    * Right-click empty space within the page and click '''View Page Info'''
    * In the '''Page Info''' window, select the '''Permissions''' panel
    * Under '''Load Images''' , '''Open Pop-up windows''', '''Set Cookies''' -> place/Remove Checkmark from '''Use Default''' and change the setting to '''Allow'''
    * Close the Page Info window
    Check and tell if its working.

  • I have allowed remote content from one specific newsletter but images are still not displayed, is there anything further I can do?

    I receive a regular newsletter from the manufacturer of a railsim. I have allowed remote content for this email address only in the security section of the options window in Thunderbird. However, the remote content (images) are still not appearing - only those little box thingies which, if I click on them, take me to various pages on the manufacturer's website. I want this facility but it's a real drag independently clicking each box to see if it is something I wish to add to my railsim.
    So, having set Thunderbird to accept remote content from only this email address (all others are blocked), why is it not displaying the content?

    What exactly have you got in this location.
    Tools > Options > Privacy
    click on 'Exceptions'.
    what is entered in 'Site' and 'status'...word for word.
    It may be easier to post an image.
    ''re: various pages on the manufacturer's website.''
    Is the 'manufacturer's website - various websites or the same website that also owns the email address.
    So email address may say 'info @ foobar .com'
    and the website is www.foobar.com and different pages of that same website?
    eg: noreply @ marshalls-seeds.co.uk Enter: marshalls-seeds.co.uk
    but not sub domain - in example the 'cs' is sub domain:
    eg: noreply @ cs.hm.com Enter: hm.com
    else you would need to enter each sub-domain as a separate site.

  • How come I am not able to prevent Firefox from allowing popup windows even after I enter the website address under Security?

    I have been using Firefox on a Mac computer for a number of years and have been happy with it. I have recently gone to a different trading platform called Trademonster.com and am having issues with its operation. When I call Trademonster, they told me that my Firefox must allow pop-up windows to operate. I do notice that when I log on to Trademonster on Firefox, it does say ".. Firefox prevented 2 pop-up windows from opening". I have gone to Preferences and under Security entered trademonster.com as a site to have access but I am still getting the signal that Firefox is preventing popup windows from coming up on the trading platform.
    PLEASE HELP.
    Thx.
    P. R. Patel

    Mac uses the Menu bar and doesn't have the Firefox menu button.
    You can inspect and manage the permissions for all domains on the <b>about:permissions</b> page.
    *https://support.mozilla.org/kb/how-do-i-manage-website-permissions
    You can inspect and manage the permissions for the domain in the currently selected tab via these steps:
    *Click the "Site Identity Button" (globe/padlock) on the location bar
    *Click "More Information" to open "Tools > Page Info" with the Security tab selected
    *Go to the Permissions tab (Tools > Page Info > Permissions) to check the permissions for the domain in the currently selected tab
    Delete the permissions.sqlite file to reset all permissions.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox

  • Tab closes with no error msg when I click on "Allow". Msg: Firefox prevented this page from automatically redirecting to another page. I had to uncheck the Advance/General/Accessibility option for it to work. Why?

    Msg: Firefox prevented this page from automatically redirecting to another page. When I click on "Allow", The 2nd tab closes with no error msg This was Home Depot redirecting to CitiGroup.
    When I unchecked the Advance/General/Accessibility option to be notified of a "redirect" then things worked.
    Why did clicking on "Allow" not work?
    I posted step by step detail in the Trouble Shooting box below.

    Thank you for your answer. It does stop the redirection notices, but now I have no idea if potentially unsafe sites are redirecting me. I cannot figure out why it has only recently started to happen on my home page though, when nothing has changed on there and I've had it set to show redirections, ever since I set up Firefox.
    I guess I'll just have to make the decision as to whether I want to risk redirections or put up with the semi permanent notice.
    Thanks again mha007

  • Dynadock u3.0 latest drivers prevent Google chrome from connecting to internet

    I am using the Dynadock u3.0 on a Toshiba u845w-s400 and a 17R Dell. Both have Win 7, 64bit. When I initially let the windows find the drivers and figure things itself, Google Chrome worked just fine with Dynadock. The computers told me that I should install the latest drivers from the manufacturer's website and I did as suggested. After that, Chrome stopped working on both computers. Google Chrome opens up but when I type an address, it never executes. It just tries to load the page with nothing and then eventually gives up. Firefox and IE work perfectly fine with no other issues associated with printers or two external monitors or sound. I do not know what to do. I tried uninstalling and reinstalling Chrome with no luck. I generated new user folder under Chrome and that did not work either. I even rolled computers back to a previous date and reinstalled dynadock drivers with no luck. I would really appreciate any help on this matter as I have to use Chrome.

    If you can't solve your issue and no one in the community can help, contact support to speak with a tech support agent at (888) 592-0944.
    - Peter

Maybe you are looking for