| View previous topic :: View next topic |
| Author |
Message |
Markus
Joined: 27 Jan 2005 Posts: 1
|
Posted: Thu Jan 27, 2005 9:47 am Post subject: Security Considerations |
|
|
Hi all,
I've read about AHK in a computer magazine and decided that it's exactly what I need for automating my daily administrator's business. However, we are wary of unwanted uses of this tool, particularly keylogging.
So before I start wetting my appetite, I want to know if there are any possibilities to prevent such uses of AHK (i.e. recompiling without some commands) without making AHK unusable.
Regards,
Markus |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Thu Jan 27, 2005 10:32 am Post subject: |
|
|
Da AutoHotkey Open Source ist, steht es dir (AFAIK) frei eine "abgespeckte" Version für eure internen Zwecke zu kompilieren.
Extrahieren von Kommandos wie (z.B. Input) sollte proplemlos möglich sein. Unter Vorbehalt (erwarte das Chris dies bestätigt) sag ich mal: Guten Appetit  |
|
| Back to top |
|
 |
Andi
Joined: 11 Feb 2005 Posts: 153 Location: Germany, Niestetal
|
Posted: Fri Feb 25, 2005 7:20 am Post subject: |
|
|
It would be great, when the download section of autohotkey also would offer a "security version" of ahk, without the problematic parts.
A normal user (like me ) is not able to compile such a "security version".
I think there are many people (also like me )who wants to benefit of ahk's advantages at work. |
|
| Back to top |
|
 |
Invalid User
Joined: 14 Feb 2005 Posts: 442 Location: Texas, Usa
|
Posted: Fri Feb 25, 2005 7:33 am Post subject: |
|
|
AHK scripts can be made into .exe with passwords built into them. Ahk can be installed on one PC and the .exe can be distibuted to the other pcs, I dont think this is really what you want but its my first thought of the workaround. _________________ my lame sig  |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Fri Feb 25, 2005 8:12 am Post subject: |
|
|
most keyloggers r coded in C++, asm, or (rarely) delphi... but these languages don't become subjects of security concerns, do they?
what matters is the use u put it to... u make a script just to show a tooltip and that's just what it'd do. it won't send ur passwords to me or Chris! _________________

Last edited by Rajat on Fri Feb 25, 2005 3:12 pm; edited 1 time in total |
|
| Back to top |
|
 |
melic Guest
|
Posted: Fri Feb 25, 2005 9:18 am Post subject: |
|
|
one thing might be good is a default override key.
say a user incorrectly codes a script placed in StartUp with a block function and the code does not end properly although it is "coded" correctly as far as ahk is concerned. the system would boot up and get hung up on a block, with no mouse and or key control. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Fri Feb 25, 2005 1:55 pm Post subject: |
|
|
| If BlockInput ever gets stuck on due to a bug in the script, you can press Ctrl-Alt-Del to get out of it. |
|
| Back to top |
|
 |
Andi
Joined: 11 Feb 2005 Posts: 153 Location: Germany, Niestetal
|
Posted: Fri Feb 25, 2005 11:48 pm Post subject: |
|
|
@Invalid User
Building a .exe is a way, but before I built it, I have to develop the script by starting autohotkey.exe... and this is done mostly on the machine, where the script should run later.
@Rajat
I don't believe, that you're collecting passwords....not a man like you!!
But I think that the IT-Security-Experts in our firm would find it problematic, when the keyboard is logged. So when a user is leaving his workstation and forgets to reload or exit ahk after entering a password an other user could read everything with the built in "key history and script info" function.
I've got a notion that my suggestion to install ahk would shoot down |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 3004 Location: Minnesota
|
Posted: Sat Feb 26, 2005 12:16 am Post subject: |
|
|
Um... well then, their fears are unfounded. AHK is open-source. Any supposed "security concerns" would quickly be found by a proficient C++ prorammer browsing Chris' code, and I might note that there have been at least a few people like this I've seen. An interesting tidbit here is an issue that cropped up more than a year ago, when AHK was still in beta. Here's a quote from the archives of the changelog:
| Quote: | Changed the KeyLog command:
- In an effort to prevent AutoHotkey from becoming branded a key logger or trojan by various security firms and their software -- after which it might be very difficult to "un-brand" it -- the ability to log to a file has been disabled. A version with that feature is available upon request, or you can compile it yourself with that section enabled.
- Renamed the command to be KeyHistory to avoid even the appearance of supporting malicious use. Please change your scripts accordingly.
- Improved the command so that it also displays the info that only the log file used to show: elapsed time between keystrokes and the target window's title.
|
If your IT people need convincing, casually mention that it's open-source and they are perfectly welcome to look at the code themselves to determine if it's malicious.
Also, I found a slight logical error in your reasoning here:
| Quote: | | Building a .exe is a way, but before I built it, I have to develop the script by starting autohotkey.exe... and this is done mostly on the machine, where the script should run later. |
By this, you assume that building an .exe of your own is "safer" than running a script under the interpreter. If Chris were indeed a cracker, though, what would stop him from infecting Ahk2Exe as well as AutoHotkey.exe?  |
|
| Back to top |
|
 |
Andi
Joined: 11 Feb 2005 Posts: 153 Location: Germany, Niestetal
|
Posted: Sat Feb 26, 2005 1:33 am Post subject: |
|
|
there you're right. But what I wrote applies to what Invalid User said:
| Quote: | Ahk can be installed on one PC and the .exe can be distibuted to the other pcs, I dont think this is really what you want but its my first thought of the workaround.
|
...at least the compiled .exe excludes, that other users who have accession to the PC, could read the key history. |
|
| Back to top |
|
 |
Invalid User
Joined: 14 Feb 2005 Posts: 442 Location: Texas, Usa
|
Posted: Sat Feb 26, 2005 1:49 am Post subject: |
|
|
You know....ppl wont look for somthing they dont know is there, unless they have bad intent. you could always hide AHK deep. _________________ my lame sig  |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 3004 Location: Minnesota
|
Posted: Sat Feb 26, 2005 1:56 am Post subject: |
|
|
| I think I'm missing something; what are the exact concerns here? I'm not quite sure I understand what the "security issues" are in this context. |
|
| Back to top |
|
 |
Serenity
Joined: 08 Nov 2004 Posts: 1025
|
Posted: Sat Feb 26, 2005 2:38 am Post subject: |
|
|
I think Markus, the original poster, was concerned with AutoHotkey having keylogging capabilities. _________________ "Anything worth doing is worth doing slowly." - Mae West
 |
|
| Back to top |
|
 |
|