AutoIt Forums: Altering Compiled Scripts - AutoIt Forums

Jump to content

  • (3 Pages)
  • +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • This topic is locked

Altering Compiled Scripts Dont click here Rate Topic: ***** 3 Votes

#1 User is offline   w0uter 

  • resreveR nA
  • PipPipPipPipPipPipPip
  • Group: Full Members
  • Posts: 2,262
  • Joined: 11-January 05
  • Location:The Netherlands

Posted 28 June 2006 - 04:42 PM

I AM NOT AN AUTOIT DEVELOPER
I DONT KNOW HOW AUTOIT WORKS
IT CAN BE UNSTABLE
IT CAN CRASH
I AM NOT RESPONSIBLE FOR ANYTHING THAT HAPENS TO YOUR SCRIPT OR OTHER DATA
THIS IS FOR LEARNING PURPOSE ONLY
USE IT AT YOUR OWN RISK


There ... now for the people that still want to listen after i shouted at them :)

Well i had some fun and made binaries undecompilable by exe2aut.

HOW:

<Removed>

NOTES:

<Removed>

also you might need to change RegRead('HKEY_LOCAL_MACHINE\SOFTWARE\AutoIt v3\AutoIt', 'InstallDir')
i dont use a seperate beta and dont know where the beta autoit goes. (i remember something about \beta\)

PS.

If someone still has trouble with this code after that huge disclaimer
and "Dont click here" feel free to send me a pm and ill remove it.

[ autoIt ]    ( Popup )
<Removed>


[edit] removed an U in Browse [/edit]

This post has been edited by Valik: 08 April 2009 - 10:25 PM


#2 User is offline   SmOke_N 

  • It's not what you know .... It's what you can prove!
  • Icon
  • Group: Moderators(Mod)
  • Posts: 15,183
  • Joined: 21-February 05
  • Gender:Male
  • Location:UNITED STATES

Posted 28 June 2006 - 04:51 PM

:)

Edit:
After some trial and error, no more decompile... very nice job w0uter! Hope this sticks around for a while... with this and EnCodeIt mixed ... would pi** most reverse engineers completely off :lmao:

This post has been edited by SmOke_N: 28 June 2006 - 06:09 PM


#3 User is offline   Skrip 

  • (Previously known as Firestorm)
  • PipPipPipPipPipPipPip
  • Group: Full Members
  • Posts: 2,281
  • Joined: 26-November 05
  • Gender:Male
  • Location:Look behind you...

Posted 28 June 2006 - 09:16 PM

I changed them all to 0 in that first collum, then in the next one I used 30 then I repeated, and it worked! Thanks wouter!

This post has been edited by Firestorm: 28 June 2006 - 09:17 PM


#4 User is offline   Jos 

  • Mass Spammer!
  • Icon
  • Group: Developers(Dev)
  • Posts: 17,192
  • Joined: 03-December 03
  • Gender:Not Telling

Posted 28 June 2006 - 09:44 PM

Believe the line of thinking here was:

When you can identify the true "Script" section and the "Runtime" section its easier for the AV companies to detect Virusses written in AU3 without qualifying ALL AU3 scripts as a virus.

This post has been edited by JdeB: 28 June 2006 - 09:45 PM


#5 User is offline   jftuga 

  • Spammer!
  • PipPipPip
  • Group: Full Members
  • Posts: 293
  • Joined: 14-March 05
  • Location:Athens, GA

Posted 29 June 2006 - 01:18 AM

If you actually try to click on 'Don't click here', nothing happens. :D
Seriously, nice work!

-John

#6 User is offline   RazerM 

  • cowinkeedenky - coincidence?
  • PipPipPipPipPipPip
  • Group: Full Members
  • Posts: 1,240
  • Joined: 27-February 06
  • Location:Scotland

Posted 29 June 2006 - 08:59 AM

This works well w0uter. I just had to be careful with what bytes i changed.

This post has been edited by RazerM: 26 June 2007 - 04:23 PM


#7 User is offline   PartyPooper 

  • Mass Spammer!
  • PipPipPipPipPip
  • Group: Full Members
  • Posts: 655
  • Joined: 03-November 05
  • Gender:Male
  • Location:Australia

Posted 29 June 2006 - 02:47 PM

GUICtrlCreateButton('Browse', 263, 175, 59, 18)

#8 User is offline   JSThePatriot 

  • carpe diem. vita brevis.
  • Icon
  • Group: AutoIt MVPs(MVP)
  • Posts: 3,664
  • Joined: 26-August 04
  • Location:Tennessee, USA

Posted 29 June 2006 - 04:17 PM

As always w0uter love your work!

JS

#9 User is offline   Busti 

  • Mass Spammer!
  • PipPipPipPip
  • Group: Full Members
  • Posts: 337
  • Joined: 04-April 06

Posted 29 June 2006 - 06:26 PM

its really nice work, but what does this do, i dont get the point :P

#10 User is offline   JSThePatriot 

  • carpe diem. vita brevis.
  • Icon
  • Group: AutoIt MVPs(MVP)
  • Posts: 3,664
  • Joined: 26-August 04
  • Location:Tennessee, USA

Posted 29 June 2006 - 07:24 PM

View PostBusti, on Jun 29 2006, 12:26 PM, said:

its really nice work, but what does this do, i dont get the point :P


It is for those that dont want someone to be able to decompile their script without some troubles. Just like using EnCodeIt.

Just an extra precaution. It wont "prevent" any of the malitious attempts, but it would slow the determined down and stop the kiddies.

JS

#11 User is offline   Busti 

  • Mass Spammer!
  • PipPipPipPip
  • Group: Full Members
  • Posts: 337
  • Joined: 04-April 06

Posted 29 June 2006 - 07:38 PM

oh wow thats really nice !!! thx wouter

#12 User is offline   YoseMite 

  • Advanced Member
  • PipPip
  • Group: Full Members
  • Posts: 168
  • Joined: 28-May 05
  • Location:The Netherlands

Posted 29 June 2006 - 09:04 PM

Respect!

#13 User is offline   Spanky 

  • Newbie
  • Group: Members
  • Posts: 7
  • Joined: 30-June 06

Posted 30 June 2006 - 02:00 PM

<Removed>

This post has been edited by Valik: 08 April 2009 - 10:27 PM


#14 User is offline   w0uter 

  • resreveR nA
  • PipPipPipPipPipPipPip
  • Group: Full Members
  • Posts: 2,262
  • Joined: 11-January 05
  • Location:The Netherlands

Posted 30 June 2006 - 03:39 PM

Always fun to have another reverser here :P

This was only ment to stop decompiling for the masses. :)
Also this was the only method in my head for wich i could create a patcher.
I have other POC code laying around here. Ill post a sample for you later.

This post has been edited by w0uter: 01 July 2006 - 12:08 PM


#15 User is offline   Spanky 

  • Newbie
  • Group: Members
  • Posts: 7
  • Joined: 30-June 06

Posted 30 June 2006 - 04:30 PM

View Postw0uter, on Jun 30 2006, 06:39 AM, said:

Always fun to have another reverser here :P

This was only ment to stop decompiling for the masses. :)

Why I can't ride of the feeling most ppl considering RE as some kinda 'Black Art' or 'computer heretic stuff' when I reading this. :shifty:

View Postw0uter, on Jun 30 2006, 06:39 AM, said:

Also this was the only method in my head for wich i could create a patcher.
I have other POC code laying around here. Ill post a sample for you later.

Yeh I felt that there's more potential.
Indeep this methode is really usefull to keep the noobs off or amaze them.
But in my eyes some other really nasty stuff is obfucation(as for ex. EncodeIt does). To me this can be more bitching than a 'nonstandard' AutoIT file.
:idea: Anyway there is nothing against putting those two together.

#16 User is offline   jftuga 

  • Spammer!
  • PipPipPip
  • Group: Full Members
  • Posts: 293
  • Joined: 14-March 05
  • Location:Athens, GA

Posted 30 June 2006 - 04:31 PM

Would it be possible to use EncodeIt, and then the script Wouter mentions in the first post, and then manually compress with UPX? But then use something similar to Wouter did, but do it to the UPX header so that it could not be decompressed by UPX?

I hope this makes sense. :-)

-John

#17 User is offline   JSThePatriot 

  • carpe diem. vita brevis.
  • Icon
  • Group: AutoIt MVPs(MVP)
  • Posts: 3,664
  • Joined: 26-August 04
  • Location:Tennessee, USA

Posted 30 June 2006 - 05:04 PM

@jftuga
Using EnCodeIt is already possible with w0uter's script to modify the header.

What you are asking is possible if I am not mistaken. The question would be how rough it would be to get that accomplished.

IMHO,
JS

#18 User is offline   w0uter 

  • resreveR nA
  • PipPipPipPipPipPipPip
  • Group: Full Members
  • Posts: 2,262
  • Joined: 11-January 05
  • Location:The Netherlands

Posted 30 June 2006 - 05:55 PM

upx doesnt compress the script.
so thats kinda pointless :)

#19 User is offline   WTS 

  • Spammer!
  • PipPipPip
  • Group: Full Members
  • Posts: 247
  • Joined: 19-June 06

Posted 30 June 2006 - 09:41 PM

MZ
MZ^ Error
Error: Unable to parse line

This post has been edited by WTS: 30 June 2006 - 09:45 PM


#20 User is offline   w0uter 

  • resreveR nA
  • PipPipPipPipPipPipPip
  • Group: Full Members
  • Posts: 2,262
  • Joined: 11-January 05
  • Location:The Netherlands

Posted 30 June 2006 - 09:52 PM

you (alted / used) a wrong byte :P

we dont have the source so its guesswork :)

  • (3 Pages)
  • +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users