• RSS
  • Twitter
  • FaceBook

Security Forums

Log in

FAQ | Search | Usergroups | Profile | Register | RSS | Posting Guidelines | Recent Posts

Detect a screen capture

Users browsing this topic:0 Security Fans, 0 Stealth Security Fans
Registered Security Fans: None
Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> Programming and More

View previous topic :: View next topic  
Author Message
Meia_Dose
Just Arrived
Just Arrived


Joined: 03 Feb 2004
Posts: 0
Location: Portugal

Offline

PostPosted: Sun May 08, 2005 8:49 pm    Post subject: Detect a screen capture Reply with quote

Hi there security fans!

I'm here today to ask you this question:

How can you detect that the screen image was capture to a bitmap file, for instance?

We have 3 options:

Arrow Using GDI;

Arrow Using DirectX.

Arrow Using the Windows Media API.

First let's focus on the GDI option.

With GDI, the function that does the trick is BitBlt(...).

BitBlt:

The BitBlt function performs a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source device context into a destination device context.


Can I detect that a call to this function was made by another program?

If you could point me to tutorials/links on this subject or if you could explain how to do this (c++ if possible) I would be very appreciated!

Thank you all for your time!
Back to top
View user's profile Send private message Visit poster's website
zeedo
SF Reviewer
SF Reviewer


Joined: 01 Sep 2004
Posts: 24
Location: Scotland

Offline

PostPosted: Sun May 08, 2005 9:02 pm    Post subject: Reply with quote

You could hook the relevant API's as described here and use that to monitor screen captures.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Meia_Dose
Just Arrived
Just Arrived


Joined: 03 Feb 2004
Posts: 0
Location: Portugal

Offline

PostPosted: Sun May 08, 2005 9:07 pm    Post subject: Reply with quote

thank you zeedo for your fast reply!

I will read that link and I'll post my progress on this subject here!

More links are more than welcome!
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   

Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> Programming and More All times are GMT + 2 Hours
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Community Area

Log in | Register