AutoHotkey Community

It is currently May 27th, 2012, 5:18 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 153 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10, 11  Next
Author Message
 Post subject:
PostPosted: December 31st, 2010, 9:25 am 
Guys,
the Decompiler is available now for the HotKeyCamo version 10.6 and i think it will be available for HKC_PRE_11.6b soon


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 31st, 2010, 10:14 am 
guest3456 wrote:
Guys,
the Decompiler is available now for the HotKeyCamo version 10.6 and i think it will be available for HKC_PRE_11.6b soon


That in fact being the purpose of this whole charade. :lol:

Tell me is that your proffesional opinion or are you one of the feebs that goes slithering to the author of a decompiler because they are butthurt over being served a justified slice of tongue pie?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 2nd, 2011, 4:59 am 
guest3456 wrote:
Guys,
the Decompiler is available now for the HotKeyCamo version 10.6 and i think it will be available for HKC_PRE_11.6b soon


i know this is ridiculous since its all guest accounts, but whoever posted the above was not me, the normal 'guest3456' who has posted previously in these forums


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 9th, 2011, 11:00 pm 
Offline

Joined: December 8th, 2010, 3:45 pm
Posts: 13
is there an opportunity to use Hkc with Autohotkey_H (for multithreading link)

Because for me it is not working.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 10th, 2011, 9:35 pm 
Offline
User avatar

Joined: June 8th, 2008, 9:08 pm
Posts: 81
Location: New Europe
Ronja wrote:
is there an opportunity to use Hkc with Autohotkey_H (for multithreading link)

Because for me it is not working.

I should have replied to your pm sooner Ronja,

Thankyou for the link to Ahk_H i am looking into integrating it into HkC (rather tardy of me to have overlooked this hybrid in the first place to be honest. :oops: )

Vlad


Report this post
Top
 Profile  
Reply with quote  
 Post subject: 11.7b
PostPosted: January 11th, 2011, 2:07 am 
Offline
User avatar

Joined: June 8th, 2008, 9:08 pm
Posts: 81
Location: New Europe
Now supports most recent hybrid (1.0.91.5) of Ahk_L and Ahk_H

HKC_LHU_11.7b.7z


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 13th, 2011, 8:41 pm 
Offline
User avatar

Joined: June 8th, 2008, 9:08 pm
Posts: 81
Location: New Europe
Guesta wrote:
thanks for the new update.

one question, what does the patches tab do?

In all the guestfest excitement I completely missed your post.

The purpose of the the patches tab is to allow the creation of the HKC_PAT configuration section.

User created patches are basically due to personal preference.

If you are patching both the compiler and the interpreter it means you are having a stab at protecting your Ahk binaries for yourself and thus the normal protection applied by HkC must be disabled using the ~NP commandline switch.

If you are patching the interpreter only then it is likely you are just modifying it for matters of personal taste. ie to remove or modify certain strings and values in your output binary.

If you are patching the compiler only.... well I wouldn't want to spoil the fun. but it has its uses. ;)


Last edited by Mobius on February 26th, 2011, 6:01 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 28th, 2011, 10:45 am 
Offline
User avatar

Joined: June 8th, 2008, 9:08 pm
Posts: 81
Location: New Europe
Now supports Ahk_L & Ahk_H hybrid versions 1.0.92.2
Download
HKC_LHU_11.8b.7z

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 30th, 2011, 7:02 am 
Mobius wrote:
Guesta wrote:
thanks for the new update.

one question, what does the patches tab do?

In all the guestfest excitement I completely missed your post.

The purpose of the the patches tab is to allow the creation of the HKC_PAT configuration section.

User created patches are basically due to personal preference.

If you are patching both the compiler and the interpreter it means you are having a stab at protecting your Ahk binaries for yourself and thus the normal protection applied by HkC must be disabled using the ~NP commandline switch.

If you are patching the interpreter only then it is likely you are just modifying it for matters of personal taste. ie to remove or modify certain strings and values in your output binary.

If you are patching the compiler only.... well I wouldn't want to spoil the fun. but it has its uses. ;)



For us lowly folk, could you give some examples as to how to use these different patch methods?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: July 31st, 2011, 6:57 am 
Offline

Joined: March 10th, 2011, 7:17 pm
Posts: 374
latest AHK_L version 1.1.01 has made changes to ahk2exe, how does this affect HotkeyCamo, if at all?

Ahk2Exe must be updated. But don't panic - it's included in the installer, and should be pulled down by the update script if you use that. The EXEarc library has been removed from AutoHotkeySC.bin and Ahk2Exe v1.1.01, so they won't work with older versions of AutoHotkeySC.bin or Ahk2Exe. This also means that Ahk2Exe no longer supports password protection, and supports compression and encryption only through mpress.exe, if it is present. For background information about this change, see this post.

It should now be possible to digitally sign compiled scripts, but that hasn't been tested.

Side note: It is now feasible for Ahk2Exe to be rewritten as a script. Ahk2Exe64 can be used as a starting point.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 31st, 2011, 8:57 pm 
Offline

Joined: August 21st, 2006, 7:07 pm
Posts: 2925
Location: The Shell
Mobius wrote:
Now supports Ahk_L & Ahk_H hybrid versions 1.0.92.2
Download
HKC_LHU_11.8b.7z
Thx 4 this!

_________________
Imageparadigm.shift:=(•_•)┌П┐RTFM||^.*∞


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 31st, 2011, 11:05 pm 
Offline
User avatar

Joined: June 8th, 2008, 9:08 pm
Posts: 81
Location: New Europe
TLM wrote:
Mobius wrote:
Now supports Ahk_L & Ahk_H hybrid versions 1.0.92.2
Download
HKC_LHU_11.8b.7z
Thx 4 this!

np :) but that was quite some time ago and I doubt if that revision is still in use.
guest3456 wrote:
latest AHK_L version 1.1.01 has made changes to ahk2exe, how does this affect HotkeyCamo, if at all?

Ahk2Exe must be updated. But don't panic - it's included in the installer, and should be pulled down by the update script if you use that. The EXEarc library has been removed from AutoHotkeySC.bin and Ahk2Exe v1.1.01, so they won't work with older versions of AutoHotkeySC.bin or Ahk2Exe. This also means that Ahk2Exe no longer supports password protection, and supports compression and encryption only through mpress.exe, if it is present. For background information about this change, see this post.

It should now be possible to digitally sign compiled scripts, but that hasn't been tested.

Side note: It is now feasible for Ahk2Exe to be rewritten as a script. Ahk2Exe64 can be used as a starting point.


Thanks for keeping me posted guest3456 (and for keeping this project alive)

As soon as I have finished the recent update of AutoIt3Camo I will see what can be done about this.

As I recall however the 64 bit editions of Ahk2Exe simply add the source in raw text format in the resource table and if the updated compiler follows this same direction I doubt there is little HotkeyCamo can do for it.

Although there is much that can be done to improve and fix HkC in its current state. (state Being the appropriate word) So all is not lost.

Respect

Vlad


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 1st, 2011, 7:55 am 
Offline

Joined: March 10th, 2011, 7:17 pm
Posts: 374
hey thanks for the reply Mobius, good luck with the autoit3camo. looking forward to your expertise regarding these new ahk_L changes.

some more quotes from lexikos from that same thread linked:

Lexikos wrote:
ruespe wrote:
Lexikos wrote:
This also means that Ahk2Exe no longer supports password protection, and supports compression and encryption only through mpress.exe, if it is present.
Does this mean, that we can't protect our programs any more? And everybody can decompile them with Exe2Ahk or something else?

No. It means Ahk2Exe no longer gives you the illusion of protecting your script. It means you can protect your programs. Unlike older versions, there's nothing to stop you from running whatever executable packer or other protection measures you want after compiling the script. Before you could only compress AutoHotkeySC.bin and rely on Ahk2Exe to compress the script and included files. If you don't want to do the research and implement your own solution, you can just use mpress like I suggested.

Nobody can decompile them with Exe2Ahk. Any tool capable of extracting resources from an executable can extract the script, unless it's been compressed by mpress or some other packer, or some other measure has been taken to prevent it.


and

AHK_L Docs wrote:
As of v1.1.01, password protection and the /NoDecompile switch are not supported.

If mpress.exe is present in the "Compiler" subfolder where AutoHotkey was installed, it is used to compress the script executable. This also compresses the script source code (minus any comments), which can otherwise be extracted from the exe file using a PE resource editor.


so, from my very basic understanding of this all,

1. whatever obfuscation that used to be done with ahk2exe with password protection is now removed.

2. the script text is merely attached as a resource into the exe, and a resource hacker program could easily extract it.

3. the alternative for protection is to use the mpress program which "packs" the exe. i guess this packing is the solution to prevent decompilation.

Mobius wrote:

As I recall however the 64 bit editions of Ahk2Exe simply add the source in raw text format in the resource table and if the updated compiler follows this same direction I doubt there is little HotkeyCamo can do for it.



would HotkeyCamo work for this new version of AHK_L at all? or is now HKC only good for previous versions of AHK? is the new solution for AHK exe protection to simply use mpress? i guess this thread is better to ask: how secure exactly is mpress? a quick google turned up one link...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 2nd, 2011, 10:51 pm 
Offline
User avatar

Joined: June 8th, 2008, 9:08 pm
Posts: 81
Location: New Europe
guest3456 wrote:
hey thanks for the reply Mobius, good luck with the autoit3camo. looking forward to your expertise regarding these new ahk_L changes.

some more quotes from lexikos from that same thread linked:

Lexikos wrote:
ruespe wrote:
Lexikos wrote:
This also means that Ahk2Exe no longer supports password protection, and supports compression and encryption only through mpress.exe, if it is present.
Does this mean, that we can't protect our programs any more? And everybody can decompile them with Exe2Ahk or something else?

No. It means Ahk2Exe no longer gives you the illusion of protecting your script. It means you can protect your programs. Unlike older versions, there's nothing to stop you from running whatever executable packer or other protection measures you want after compiling the script. Before you could only compress AutoHotkeySC.bin and rely on Ahk2Exe to compress the script and included files. If you don't want to do the research and implement your own solution, you can just use mpress like I suggested.

Nobody can decompile them with Exe2Ahk. Any tool capable of extracting resources from an executable can extract the script, unless it's been compressed by mpress or some other packer, or some other measure has been taken to prevent it.


and

AHK_L Docs wrote:
As of v1.1.01, password protection and the /NoDecompile switch are not supported.

If mpress.exe is present in the "Compiler" subfolder where AutoHotkey was installed, it is used to compress the script executable. This also compresses the script source code (minus any comments), which can otherwise be extracted from the exe file using a PE resource editor.

Thanks for the luck dude, both projects need all they can get.
guest3456 wrote:
so, from my very basic understanding of this all,

1. whatever obfuscation that used to be done with ahk2exe with password protection is now removed.

2. the script text is merely attached as a resource into the exe, and a resource hacker program could easily extract it.

3. the alternative for protection is to use the mpress program which "packs" the exe. i guess this packing is the solution to prevent decompilation.


1. No encoding or compression or byte for byte obfuscation, nothing nada zip.

2. Exactly so.

3. The hell it is, do not I repeat do not put your faith in a single point of defense ever, mpress and upx and many other classes of software armoring tools (except the most advanced bloaters) have a single point of weakness where RCE is concerned, and this is a generic memory dump from the original entry point.
(This single weakness only applies to interpreted languages like AutoIt3 and AutoHotkey where the main application in its original unpacked state is not always the most important focus point to achieve the desired result (decompilation))

Sure from mpress' standpoint the binary itself is partially broken but the portable executable structure (if dumped properly) remains mostly intact, most importantly of which is the resource table.

Shit even if a generic unpack fails to rebuild the resource table to an acceptable level to allow a 3rd party tool to open the binary normally I would just scroll down to the static resource index normally used for this revision of AutoHotkey within a hex editor (or regex for common instructions) and dump the source from there.

Software armoring tool inspection and circumvention is a too well documented topic (because of malware and because they are phucking cool at what they do) for them to be taken seriously as defense against the dark arts on their own. (which is why I always advocate using SAT's alongside any homegrown obfuscation methods (and optionally HotkeyCamo) for anything that even resembles piece of mind against n00bs)

Plus SAT's come with thier own problems concerning the ever itchy triggered Anti-virus utils.

You guys think Ahk has had/is having a raw deal concerning AV's? You should see what they are doing (along with malicious software of course but thats not the point) to even the least abstract software armoring tools reputation.
guest3456 wrote:
Mobius wrote:

As I recall however the 64 bit editions of Ahk2Exe simply add the source in raw text format in the resource table and if the updated compiler follows this same direction I doubt there is little HotkeyCamo can do for it.



would HotkeyCamo work for this new version of AHK_L at all? or is now HKC only good for previous versions of AHK? is the new solution for AHK exe protection to simply use mpress? i guess this thread is better to ask: how secure exactly is mpress? a quick google turned up one link...


I cannot write a tool to adapt the static nature of another tool if that tool does not want to be protected or does nothing initially to protect itself.

Yes most definitely it seems HotkeyCamo's fate is tied to Chris's original masterpiece and any (main core dependant) hybrids crafted after it from this point backward.

Don't get me wrong I love software armoring tools in general, and mpress is a beautiful packer (equal to the mighty upx in some cases) which is able to get even the most fat ass binary down to an acceptable size (for those of us that still care for such things) but that is about it.

Changing the EXEArc component <- Good Idea (In current AV climate)

Relocating the crippling overlay (tail data) to be read instead from the resource table. <- Cue fanfare.

Respect

Vlad


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 16th, 2011, 2:46 pm 
Offline

Joined: August 16th, 2011, 2:43 pm
Posts: 2
Hi,
when i click on "Build Exe" press, the following message:
Code:
Jobdir - C:\Users\Sonix\Desktop\ahk-tool\
Compiler unpack - Not packed with upx warning
AutoDetect failed!

What am I doing wrong?


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 153 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10, 11  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Exabot [Bot], Google [Bot], Google Feedfetcher and 12 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group