Adding Sections

Private Discussion on Helbreath Hack Development, (Do not release hacks which are talked about in here to the rest of the forum unless you write the hacks)
Post Reply
charlie
Outpost4lyfe
Posts: 3324
Joined: Sun Apr 06, 2003 12:24 am
Location: Mt GOD
Contact:

Post by charlie »

Huhuhaha if you still read this area can you teach me what you used to add sections? ive been bafflied for a long time
Girlfriends are dedicated hookers.
binarydata
DBfiller
Posts: 3816
Joined: Fri Oct 31, 2003 5:30 am
Location: San Diego CA, USA
Contact:

Post by binarydata »

charlie wrote: Huhuhaha if you still read this area can you teach me what you used to add sections? ive been bafflied for a long time
lol.... huhuhahah is never coming back, i think you can find an empty section, ask gs
<img src='http://img88.exs.cx/img88/2290/7666.jpg' border='0' alt='user posted image' />
charlie
Outpost4lyfe
Posts: 3324
Joined: Sun Apr 06, 2003 12:24 am
Location: Mt GOD
Contact:

Post by charlie »

funny that you cant see hidden users and if you coul you could see huhuhaha logs in almost everyday
Girlfriends are dedicated hookers.
huhuhaha
Regular
Posts: 30
Joined: Wed Nov 19, 2003 12:10 pm

Post by huhuhaha »

yep, charlie is 1/2 right. My housemate friend check this forum & some other hb forum everyday using my login.

as for adding section, I use lordpe as well as procdump.
delinquent
&lt;3 bd long time
Posts: 869
Joined: Fri Nov 14, 2003 12:08 am
Location: binarys underpants
Contact:

Post by delinquent »

I used LordPE once, but I couldn't quite figure out how to do it
<img src='http://deli.lazyslacker.com/stupidnigga.jpg' border='0' alt='user posted image' /><br><a href='http://deli.lazyslacker.com' target='_blank'>http://deli.lazyslacker.com</a><br>Don't ban me, ban the idiot!
charlie
Outpost4lyfe
Posts: 3324
Joined: Sun Apr 06, 2003 12:24 am
Location: Mt GOD
Contact:

Post by charlie »

alright :)

thanks dude
Girlfriends are dedicated hookers.
charlie
Outpost4lyfe
Posts: 3324
Joined: Sun Apr 06, 2003 12:24 am
Location: Mt GOD
Contact:

Post by charlie »

acutaly ive been looking at it how which one do you add sections with? procdump? :blink: everytime i try to rebuild it the cunt crashes
Girlfriends are dedicated hookers.
huhuhaha
Regular
Posts: 30
Joined: Wed Nov 19, 2003 12:10 pm

Post by huhuhaha »

I use lordpe deluxe v1.4 for adding sections & then rebuild it using procdump.
huhuhaha
Regular
Posts: 30
Joined: Wed Nov 19, 2003 12:10 pm

Post by huhuhaha »

This is to answer binarydata & charlie's question.
I'm very lazy to explain. So I use the old helgame v2.95 2003-11-05 as an example.

1. I add a 'filler'/empty section header (VOffset=00172000 VSize=0008E000) so that the next section will start at address 0x600000 (VOffset 0x200000). I do that bcoz I'm a lazy fuck & want to reuse the code from the older hack by simply add the section with the code.
2. I add the real section that I will use to add the hack codes. You can either use load section from file (will set the RSize to the size of the filesize), or add the section header (note, RSize is still 0, meaning you cannot save the data to that section in the exe yet) & then either rebuild it using makepe or pad & edit the header again or some other way u prefer.

Remember to set the section so that 'uninitialiazed data' flag is unchecked. This is important if you plan to compress your exe later since compressor like UPX will ignore the data contained in it.

- PE optimizer/rebuilder normally truncate the trailing chunk of 0 bytes of the end of each sections.
- RSize is how many bytes of the section are in the exe. The remaining bytes are interpreted as 0 bytes & can be accessed physically (you can only modify it virtually --> in the memory) unless you rebuild it.


here is the old helfart (helgame v2.95 2003-11-05)
<a href='http://www.geocities.com/siementechsux/v2.95.zip' target='_blank'>http://www.geocities.com/siementechsux/v2.95.zip</a>

Do what ever you want with it. I will remove it in few days time.
charlie
Outpost4lyfe
Posts: 3324
Joined: Sun Apr 06, 2003 12:24 am
Location: Mt GOD
Contact:

Post by charlie »

You can either use load section from file (will set the RSize to the size of the filesize), or add the section header (note, RSize is still 0, meaning you cannot save the data to that section in the exe yet) & then either rebuild it using makepe or pad & edit the header again or some other way u prefer
hey when you load section do you add a file? or what :S
Girlfriends are dedicated hookers.
huhuhaha
Regular
Posts: 30
Joined: Wed Nov 19, 2003 12:10 pm

Post by huhuhaha »

when you load a section from file you basically add a new section with the content of a file.
charlie
Outpost4lyfe
Posts: 3324
Joined: Sun Apr 06, 2003 12:24 am
Location: Mt GOD
Contact:

Post by charlie »

so you add a simple file then clear it out with a debugger so you can add your own code?

btw thanks for helping i really respect you for it :)
Girlfriends are dedicated hookers.
charlie
Outpost4lyfe
Posts: 3324
Joined: Sun Apr 06, 2003 12:24 am
Location: Mt GOD
Contact:

Post by charlie »

hey ghost found me this niffy little program called SADD its dos base and adds sections for you works out all the sizes and everything ill upload it in a sec for ya
Girlfriends are dedicated hookers.
charlie
Outpost4lyfe
Posts: 3324
Joined: Sun Apr 06, 2003 12:24 am
Location: Mt GOD
Contact:

Post by charlie »

Girlfriends are dedicated hookers.
Post Reply