no.
did you truly not understood me?
in PE-header
add new section OR modify any existing(for example RELOC),
SO this PE-header will mapped in memory like DATA/CODE..
Welcome to the new Woodmann RCE Messageboards Regroupment
Please be patient while the rest of the site is restored.
To all Members of the old RCE Forums:
In order to log in, it will be necessary to reset your forum login password ("I forgot my password") using the original email address you registered with. You will be sent an email with a link to reset your password for that member account.
The old vBulletin forum was converted to phpBB format, requiring the passwords to be reset. If this is a problem for some because of a forgotten email address, please feel free to re-register with a new username. We are happy to welcome old and new members back to the forums! Thanks.
All new accounts are manually activated before you can post. Any questions can be PM'ed to Kayaker.
Please be patient while the rest of the site is restored.
To all Members of the old RCE Forums:
In order to log in, it will be necessary to reset your forum login password ("I forgot my password") using the original email address you registered with. You will be sent an email with a link to reset your password for that member account.
The old vBulletin forum was converted to phpBB format, requiring the passwords to be reset. If this is a problem for some because of a forgotten email address, please feel free to re-register with a new username. We are happy to welcome old and new members back to the forums! Thanks.
All new accounts are manually activated before you can post. Any questions can be PM'ed to Kayaker.
RCE exercise for beginners
Seriously, I'm still not sure what you mean 
I'll try again, is this what you mean
hello.exe
hello_weird.exe
[ATTACH]2392[/ATTACH][ATTACH]2393[/ATTACH]

I'll try again, is this what you mean
hello.exe
Code: Select all
name voffset vsize roffset rsize
('.text' , '0x1000', '0xd4', '0x400', '0x200')
('.rdata', '0x2000', '0x80', '0x600', '0x200')
('.data' , '0x3000', '0x20', '0x800', '0x200')
('.reloc', '0x4000', '0x26', '0xa00', '0x200')
Code: Select all
name voffset vsize roffset rsize
('.text' , '0x1000', '0xd4', '0x400', '0x200')
('.rdata' , '0x2000', '0x80', '0x600', '0x200')
('.data' , '0x3000', '0x20', '0x800', '0x200')
('.reloc' , '0x4000', '0x26', '0xa00', '0x200')
('PEHeader', '0x5000', '0x400', '0x0' , '0x400')
- Attachments
-
- hello_weird.zip
- (686 Bytes) Downloaded 76 times
-
- hello.zip
- (659 Bytes) Downloaded 75 times
The problem related to Santa is already solved. He doesn't live in the US 
I think I begin to understand the other problem now. Despite of the specification in the last section header
('PEHeader', '0x5000', '0x400', '0x0' , '0x400')
The header does not seem to be mapped into memory. Is this the problem?
If this is the problem is this then a solution
[ATTACH]2394[/ATTACH]

I think I begin to understand the other problem now. Despite of the specification in the last section header
('PEHeader', '0x5000', '0x400', '0x0' , '0x400')
The header does not seem to be mapped into memory. Is this the problem?
If this is the problem is this then a solution
[ATTACH]2394[/ATTACH]
- Attachments
-
- hello_weird.zip
- (687 Bytes) Downloaded 83 times
Happy NY to you too and thanks for proposing the puzzle.
Can we conclude that a raw offset of 0 is not allowed in the sense that the section doesn't get mapped into memory, however, the loader (windows) doesn't complain about it either. Any raw offset in the range 1 to FileAlignment-1 seems to be truncated (rounded downwards) to 0!
Can we conclude that a raw offset of 0 is not allowed in the sense that the section doesn't get mapped into memory, however, the loader (windows) doesn't complain about it either. Any raw offset in the range 1 to FileAlignment-1 seems to be truncated (rounded downwards) to 0!