Anyway MS generated chars can't be intercepted by keylogers?

General Macro Scheduler discussion

Moderators: JRL, Dorian (MJT support)

Post Reply
Dick99999
Pro Scripter
Posts: 84
Joined: Thu Nov 27, 2008 10:25 am
Location: Netherlands

Anyway MS generated chars can't be intercepted by keylogers?

Post by Dick99999 » Wed Jul 04, 2012 5:37 pm

Is there any way to make it difficult for keyloggers to intercept keystrokes generated by MS scripts? For example any way to directly insert a string into a browser field?

User avatar
JRL
Automation Wizard
Posts: 3529
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Thu Jul 05, 2012 3:55 am

Perhaps put the text string on the clipboard then paste it into to browser field?

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Thu Jul 05, 2012 10:08 am

By "browser field" do you mean a form field in a web browser?

If you use WebRecorder's functions, or IETagEvents, then you can directly set the value of a form field WITHOUT simulating keystrokes.

In a similar vein, if you are automating a desktop application and if the object supports it you might be able to use SetControlText or SetObjectText, which again set the published text property directly without simulating key strokes.

ObjectSendKeys and ObjectSendText use a lower level way of sending characters compared to SendText, so give those a try also - depends on how the keylogger works as to whether it will make a difference.

I ought to add that I don't know why you are wanting to circumvent a keylogger, or whether it is legit or not, and we cannot condone breaking terms and conditions of services which may prohibit "robots" or try to detect them. I'm just answering a technical question.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Dick99999
Pro Scripter
Posts: 84
Joined: Thu Nov 27, 2008 10:25 am
Location: Netherlands

Post by Dick99999 » Thu Jul 05, 2012 2:12 pm

Thanks for the eleboate answer, I'll try a few. And yes I meant a (logon) field in a browser page.
mtettmar wrote: [.................] I ought to add that I don't know why you are wanting to circumvent a keylogger, or whether it is legit or not, and we cannot condone breaking terms and conditions of services which may prohibit "robots" or try to detect them. I'm just answering a technical question.
Yes it is for legit purposes, I'm trying to defeat a possibly infected system when filling in part of an encryption key. The encryption for which the key is, is quite strong. One of the left over risks is a key logger on an infected system. So it would strengthen the whole security if that MS-generated part of the key is much more difficult to log.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts