AutoHotkey Community

It is currently May 27th, 2012, 12:26 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 153 posts ]  Go to page 1, 2, 3, 4, 5 ... 11  Next
Author Message
PostPosted: October 14th, 2009, 2:40 am 
Offline
User avatar

Joined: June 8th, 2008, 9:08 pm
Posts: 81
Location: New Europe
Very beta but much improved recent update

Image

Recent Update Information
Download HKC_62.11b.7z

> Fix - Import old HkC config options (menu item) <
Code:
Check for uneccesary dependency resulting in error message.


> New - Packer support method <
Code:
For AutoHotkey basic only, a more robust method of using software
  armoring tools on your output exe has been implemented through
  the execute 'Run' config parameter by using the 'During Build'
  option.

  This is an extension of the old method HkC used to use by patching
  the default upx string within the compiler, which was at best very
  twitchy.

  This time the compiler executes HotkeyCamo and not the packer direct
  So we gain the following benefits:

  A) More than one program can be executed 'During Build'
  B) The commandline length is not restricted to the upx string length
  C) Entrances identical to normal execution which provides a bit more
     control over the program such as:

   * visibility
   * Explicit program path
   * working directory

  Things to note from this method:

  A) During build execution heritage
   HkC.exe
      Compiler.exe
              HkC.exe
                 Desired Program.exe
                 ...

  Look at either of the following to get a greater understanding:

  A) The packer menu elements in the Execute tab.
  B) The packing example templates from the menu invoked by clicking
     on the 'Input' button in the main tab or the large interface icon


> Fix - Resource handling for Ansi bin files <
Code:
Something that has always bothered me concerning resource string
  types and or string id's was the loss of the last character in
  the string thanks to the Ansi resource update api.

> New - Ansi or Unicode bin file resource handling <
Code:
The build config option HKC_BRM can be used with either ANS or UNI
  as a parameter. (Default is Ansi)


> Info - Newer builds of AutoHotkey (L/H/2) <
Code:
Entirely untested but such builds that do not use the exearc header
  will probably work just they won't be protected. (don't blame me)

  Other than that all other elements of HotkeyCamo should work with
  them. (Assuming that the Ahk2Exe commandline has not changed)

  Couple of things to note if you are trying to use HkC with them:

  When packing just use 'Post build' as the run parameter.
  Completely ignore 'During build'.

  You will need to specify the names/paths to the compiler and the
  interpreter since they will likely not be named or located the
  same as the Ahk basic files.


> Fixes <
Code:
Numerous other little things that caused me to facepalm till I bled :/

  Oh and the examples have been modified to go along with recent fixes,
  check em out if in doubt.


VERY old downloads and documentation remain temporarily
Download HotkeyCamo 0.9.5b *Crap*
Recommended Latest Beta HKC_LHU_11.8b.7z

Image
Image
Image
Image

Features
  • Optional countermeasures against official and 3rd party decompilers.
  • Present and backward compatibility with most official releases of AutoHotkey.
  • Compatible with the most recent ansi and unicode build of AutoHotkey_L and AutoHotkey_H
  • Internal pe resource control, add specific types and remove single or all types.
  • Internal pe version info control and builder.
  • Define multiple processes to execute additional tasks at build time.
  • Define the upx or alternate packer commandline parameters that Ahk2Exe uses (1.0.47.5 to 1.0.48.5 only).
  • Configurable from a script or a config file and environment variables.
  • Macros for certain build related files / folders and some programs.
  • Integrated user defined patch system.
  • Depending on its subsystem HkC can be command shell or graphical interface capable.

For more information please see the online help:
Intro
Usage
Options
Interface
Resources
VersionInfo
Execution


OS Compatibility
  • Win98SE - No (thanks Drugwash)
  • Xp - Yes.
  • Vista 32bit - Yes.
  • Vista 64bit - Yes. (thanks Delusion)
  • Win7 64bit - Yes, Admin mode (thanks Aravind)

NEW THIS RELEASE,

General
  • Now supports the most recent ansi and unicode builds of AutoHotkey_L by Lexikos.
  • If upx cannot be found it will be searched for in the compiler directory or the path defined for Ahk2Exe.
  • Fixed the hkc_tmp option, If temp build files already exist they will now be replaced with the new files.
  • Log output for resource jobs with no description will now show the resource filename instead of '?'
  • Log output for execution jobs with no description will now show the program filename instead of '?'
  • Fixed a bug when saving options after a build would save the temp version info resource entry.

Gui
  • Ahk build version menu improved and Ahk_L versions added to it.
  • All browse/save dialog requests should now work as you would expect them too.
  • Fixed bugs in resource and execution tabs where a job element could not be added without a description.
  • Fixed a bug in auto version info inclusion where clicking build multiple times would stop it working.
  • Added alternate packer commandline string field to the options tab.
  • Browsing for alternate build files will auto fill the path and filename if the relative edit boxes are empty.
  • Using the ~np switch will disable camo options and the user seed box becomes the password box.

Config
  • Added the ~np commandline option to disable the camouflage process of the fuzzing procedure.
  • The hkc_rnd option now accepts numbers and characters and controls camo options or password.
  • The hkc_alt option now holds any upx or alternate packer commandline string. hkc_pak still enables it.

Last Updated: Tuesday 13/04/2010 AM 00:34:16

ImageVlad
resources HotkeyCamo AutoHotkey Ahk2Exe compiler protection prevent decompiler

_________________
Image


Last edited by Mobius on April 16th, 2012, 10:46 pm, edited 44 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 14th, 2009, 12:27 pm 
Offline

Joined: May 17th, 2007, 12:07 pm
Posts: 1004
Location: Germany - Deutschland
Do you know?:
http://www.autohotkey.com/forum/viewtopic.php?t=22975
Edit: Downloaded your 7z-program. Without source code I wont trie it..


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 14th, 2009, 2:43 pm 
Offline

Joined: September 8th, 2008, 8:38 pm
Posts: 33
How does this differ in effectiveness with Compile_AHK II using the NoDecompile option?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 14th, 2009, 7:05 pm 
Offline
User avatar

Joined: June 8th, 2008, 9:08 pm
Posts: 81
Location: New Europe
@aaffe & truevis
Lol, Does that tool you hold in such regard actually offer any protection against a real decompiler???
(Not the decompiler that ships with Ahk!)

I think not. Nice looking tool though, kudos to its author but you cannot compare his work and mine, they are both too different.

HkC is primarily for protecting against real decompilers, the fact that it allows you to perform the process of the build as well is circumstantial.

@aaffe
No offense but I doubt that you would understand the source, it is awful.
Even if I were dumb enough to break the condition set by Chris the Admin,
about someone making a script cracking utility out of it.

Try it don't try it, What you don't know (understand) can't harm you I guess.
perhaps i am out of line with this statement but if you had just read you would see that there are no comparisons really


Last edited by Mobius on October 14th, 2009, 8:47 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 14th, 2009, 7:36 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
Having a source would be much more fun I guess.
For people that are scared of running suspicious tools ==> Sandboxie.

Thx for the app Mobious. Very nice.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 14th, 2009, 7:48 pm 
Offline
User avatar

Joined: June 8th, 2008, 9:08 pm
Posts: 81
Location: New Europe
Thankyou majkinetor,

good to see the old community members are still active. *Phew*

Unless the Admin or a moderator asks for the source, or say::
"sure dude post it we don't really care".

I like that tool that I was directed to, It looks like the author has really
nailed automating the ahk build procedure.

Currently in HkC beta, if you set the environment variable HKC_TMP = 1
and just execute HkC without a script value, it will fuzz the compiler and the stub,
but it will leave them in the directory.

These modified build components could surely be used in the Compile_AHK II build procedure could they not?

Vlad


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 14th, 2009, 8:23 pm 
Offline

Joined: June 28th, 2007, 1:08 am
Posts: 662
majkinetor wrote:
Having a source would be much more fun I guess.


/agree

I love to look at code that I initially don't understand, and learn to understand it by reading it.

But I do know that there are people that simply don't want to share their source, and it is understandable.

Great looking utility, and if I ever have need of protecting the source to anything I write, I will give this a shot. Added to the AHK bookmarks list...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 14th, 2009, 8:36 pm 
Offline
User avatar

Joined: June 8th, 2008, 9:08 pm
Posts: 81
Location: New Europe
Thx Elesar

I am not a closed source person, I personally do not see how the source for
hkc could be used as a script cracking util, other than pointing out to people
things that they can find themselves with their own 2 eyes, oh and maybe
a hex editor and binary comparison utility (or any real decompiler).

As soon as I get the nod I will put the source (which is written in purebasic btw)
into the release as well.


Last edited by Mobius on November 3rd, 2009, 10:29 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject: Good update
PostPosted: October 31st, 2009, 9:08 am 
Offline
User avatar

Joined: June 8th, 2008, 9:08 pm
Posts: 81
Location: New Europe
HotkeyCamo 0.6.1 beta is here,

All changes have been documented and amended in first post.

I hope y'all have as much fun using it as I have writing it, I am not
here to replace other types of build solutions that people have written,
merely provide an alternative that offers some things that others do
not. (Protection)

Respect ahk community

Vlad


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 31st, 2009, 1:43 pm 
Very nice! Thanks Mobius.

8)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 15th, 2009, 10:39 pm 
Offline
User avatar

Joined: June 8th, 2008, 9:08 pm
Posts: 81
Location: New Europe
Thanks dude much appreciated. :D

a relatively minor update 0.6.2b this time.
HkC online help page

issues addressed and functionality added was a direct result of feedback so many thanks to all concerned.

amendments made to first post.

Vlad

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
PostPosted: December 9th, 2009, 9:46 am 
Offline

Joined: January 5th, 2007, 2:18 pm
Posts: 33
Hi
i am using the HotKeyCamo 0.6.2 beta for Building AHK 2 Exe but when i click on Build Exe i am getting an Error Cant find: :(

Please tell me what is the problem
Image

Regards,
Kaka

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 10th, 2009, 5:56 am 
Offline
User avatar

Joined: June 8th, 2008, 9:08 pm
Posts: 81
Location: New Europe
Yo kaka,

The problem you are showing means that HkC cannot find the files::

Ahk2Exe.exe
AutoHotkeySC.bin.

If you did not put HkC into your autohotkey compiler directory (recommended) you will need to edit the file MCECS.ahk (the one showed in your picture) and specify alternate paths to these files with the options 'hkc_a2e' and 'hkc_bin' to the config section in that file like so::

Code:
HKC_A2E=c:\yourpath\Ahk2exe.exe
HKC_BIN=c:\yourpath\AutoHotkeySC.bin


This is the entire cfg section of the file MCECS.ahk with the above added
Code:
/*
HKC_OUT=mcecs_eg.exe
HKC_ICO=RES\HkC_4.ico
; Remember to set this value to your actual version.
HKC_VER=10485
HKC_RND=123456789
HKC_ALT=0
HKC_TMP=0
HKC_PAK=0
HKC_DBG=0
HKC_SUB=0
HKC_EAR=1
; Here you will need to change these 2 values.
HKC_A2E=c:\yourpath\Ahk2exe.exe
HKC_BIN=c:\yourpath\AutoHotkeySC.bin
[HKC_RES]
BIO Bitmap=2`1`0`RES\BIO16.bmp
RCDATA GIF=10`1`0`RES\RAMBO.gif
RCDATA TXT=10`1`0`RES\MSC.txt
[HKC_PBE]
; Edit this if Reshack is not in the directory above HkC!
RH ADD ICON_2=@CDP>ResHacker.exe`-addoverwrite @BIN>,@BIN>,RES\BOMB.ico,ICONGROUP,160,0`@SD>`0
[]
*/


On a side note I was never happy with 0.6.2, there are a couple of silly bugs in it that have all been eradicated in version 0.7.3 which will be posted later today. 8)

Thanks kaka

Vlad

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Finally
PostPosted: December 10th, 2009, 11:20 pm 
Offline
User avatar

Joined: June 8th, 2008, 9:08 pm
Posts: 81
Location: New Europe
Please see first post for links and information

Last update of HotkeyCamo for 2009 had to be a fairly decent one in my opinion, so I went all out for a non beta release in version 0.7.3.

Nutshell:

#~ Massive backward compatibility support for older builds of Ahk.

#~ Can now attempt to autodetect build versions.

#~ Improved pathfinding with macros and environment vars being parsed in all option strings

#~ Improved help document (online & chm) And much much more.

If you downloaded 0.6.2 sorry about that *cough*, please consider 0.7.3, you might be pleasantly surprised.

Respect

Vlad

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 24th, 2009, 10:23 pm 
Hello!

First off, awesome work on this compiler! :)
Will you support "Version Information Change" in future versions?

Regards


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 153 posts ]  Go to page 1, 2, 3, 4, 5 ... 11  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Cristi®, tidbit and 52 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