BanMe
March 13th, 2011, 13:20
OK so this is a 'blog' entry..what defines a blog?..usually its written by 1 person with some lore about something..sometimes it contains insight to the person writing it, and sometimes it's just nothing..well that isn't how I roll..The dark scowl, calculating eyes, and the 'fuck it I'll help' attitude. Sometimes it shortens, but I am not perfect..
So google shellcoders handbook and find that code and review it the first chaps code available is the triangle function..
and the rules changed.. o0
1.no nulls
2.api can be used, and only api's from kernel32,and ntdll.they should be accessed using 'funner' tactics then hashing the names,and not just signature finding..(think beside the box..)
3.a console program is the aim..yea ..
3. not malicious or insane(at least make it insanely understandable...)
4. should use pic(position independent code) without a data or relocation section...(thats the 'fun' one..)
5. the code should be able to 'modify itself'...
avoid using PEB_LDR_DATA...unless you can 'peb link stack memory' in that case pass it on over..I want to see..
So conceptually compiling the first chapters code to fastcall...(ie I didn't really do this 'yet').. This function would take width in ecx, and height in edx, then multiply them and divide by 2, and then return the result..I think I can get it to be able to get input from user into ecx edx and display result.
Essentially I want to pillage data to find code..so all 'normal' programs' use relocations for the usage of data in code..now its just a simple measure of finding the proper signature around that data.. :d
So google shellcoders handbook and find that code and review it the first chaps code available is the triangle function..
and the rules changed.. o0
1.no nulls
2.api can be used, and only api's from kernel32,and ntdll.they should be accessed using 'funner' tactics then hashing the names,and not just signature finding..(think beside the box..)
3.a console program is the aim..yea ..
3. not malicious or insane(at least make it insanely understandable...)
4. should use pic(position independent code) without a data or relocation section...(thats the 'fun' one..)
5. the code should be able to 'modify itself'...
avoid using PEB_LDR_DATA...unless you can 'peb link stack memory' in that case pass it on over..I want to see..
So conceptually compiling the first chapters code to fastcall...(ie I didn't really do this 'yet').. This function would take width in ecx, and height in edx, then multiply them and divide by 2, and then return the result..I think I can get it to be able to get input from user into ecx edx and display result.
Essentially I want to pillage data to find code..so all 'normal' programs' use relocations for the usage of data in code..now its just a simple measure of finding the proper signature around that data.. :d