|
EH-Net
|
|
May 21, 2013, 01:33:38 AM
|
|
782
|
Ethical Hacking Discussions and Related Certifications / Programming / Re: Problem with a shellcode...
|
on: May 13, 2010, 05:50:44 PM
|
|
Thanks guys, you are really helping me here!!
First, I could easily get the exploit on the internet, but I want to learn, so here I am!
Also, here is what I was successful doing: 1) I can set, let say, \x41\x41\x41\x41 in EIP (basicaly, I control EIP) 2) I successfully encoded my shellcode. 3) I have added a 16 bit long NOP sled at the beginning of ESP and my shellcode is right after. 4) I have verified that my shellcode in the memory of the program is identical to the one I have in my code. It is indeed identical.
I keep trying...
|
|
|
|
|
783
|
Ethical Hacking Discussions and Related Certifications / Programming / Re: Problem with a shellcode...
|
on: May 13, 2010, 05:13:02 PM
|
I just checked and like I thought, it becomes too big! When I "msfencode" \x0A\xAF\xD8\x77, I get: "\xda\xc9\xd9\x74\x24\xf4\xbb\x6d\x18\xd7\xa6\x2b\xc9\x5a" + "\xb1\x05\x83\xc2\x04\x31\x5a\x14\x03\x5a\x79\xfa\x22\xfa" + "\xf9\xca\x8d\x5f\x81\x6b\x48\x3c\x09\x28\x6c\xe0\x91\x87" + "\xbb\x12" This can't fit in EIP. I am so humble now...  But I will mak it work!!! 
|
|
|
|
|
787
|
Ethical Hacking Discussions and Related Certifications / Programming / Problem with a shellcode...
|
on: May 13, 2010, 07:17:28 AM
|
Hi, I have an odd problem when trying to write my own exploit. I am doing the "extra mile" exercises for Win32 the Buffer-Overflow in the PWB course. So everything I am doing is legal here. Everything goes very well but one little thing. I understand that injecting a null byte (\x00) will cause problems during the execution. But I have discovered that when I try to inject bytes ranging from \x0A to \x0F, I get a similar problem. Here is an example: Let's say I want to inject the following code: \x41\x42\x43\x44\x45 \x0A\x46\x47\x48\x49 The debugger will show that the end result is something like: \x41\x42\x43\x44\x45 \x5A\x6B\x31\x5C\x61But if I remove this \x0A character, I get the full message copied at the proper location: \x41\x42\x43\x44\x45\x46\x47\x48\x49 Basically, it seems I successfully copy my code, but starting at one of the mentioned characters, I only get garbage... Any REAL experts? 
|
|
|
|
|
789
|
Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Re: Penetration Testing in the Real World
|
on: May 12, 2010, 07:08:44 AM
|
Hey, @mtgarden: I have showed the video to the developers, managers and even a director where I work. I paused the video every minute or so and explained in simple words what he was doing. It was very, very well received!!! I will probably start demos and presentations during lunch time on topics such as "How to secure a wireless router", "SQL Injection", "How to code securely", etc... Even if it wasn't my goal at all, it kind of put me on the map!  I encourage you guys to do the same.
|
|
|
|
|
790
|
Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Re: Capture The Flag in High Schools
|
on: May 11, 2010, 01:35:14 PM
|
|
Ok, let's say I can gather 20 teenagers.
After about 10 hours of training, demonstrations and exercises, what kind of challenge should I give them?
I guess I will know their level once I can evaluate them, but with CTF in mind, what kind of vulnerabilities should I expect them to compromise? I just can't throw a reverse engineering problem at them...
So password cracking, ARP cache poisoning, maybe some basic SQL injection?!?
|
|
|
|
|
793
|
Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Re: Capture The Flag in High Schools
|
on: May 11, 2010, 10:43:20 AM
|
|
Thanks chrisj,
I agree with you, I will be responsible of this kids until they are picked up. Also, I will start with one school, talk to the teachers and the director before I "see too big"!
My expectation is that any school will be afraid of us using their network. So I though of supplying the server, the switches, the cables, etc and the students bring their laptops. And since I wanted to put them in teams anyway, if one doesn't have a laptop, it should be alright.
But what about the CTF part. I don't want it to be too tough, but I want them to have a good challenge nevertheless. So what about this:
1) We meet twice a month and I give them a lecture on a single topic. Fro example, scanning with nmap using 4 or 5 switches.
2) The same day, they practice against the lab's server. Again for example, they use nmap to discover ports and enumerate services.
3) Every month or so, there is a bigger challenge where they will apply the knowledge they have learned recently. Ex: Reconnaissance, scanning, and an easy hack.
I also really, really want to put a big emphasis on ethic and defense!
It is a vast field and my biggest challenge will probably be to choose among many, many subjects...
|
|
|
|
|
795
|
Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Re: Capture The Flag in High Schools
|
on: May 11, 2010, 08:50:32 AM
|
|
I was going to start by visiting high schools and try to talk to IT teachers and try to get some ideas from them to. They know their students after all...
Then I could do a little presentation to push the interest. I will probably have to write a letter to parents, school directors, etc.
Then we can start a web site, find a place to gather, do a few presentations and demos to really get the interest going. Then as you said Equix3n, have a workshop and organize a competition.
And you are right ETHICAL would be the keyword here...
|
|
|
|
|
Loading...
|