![]() |
|
Tutorial How to start Hacking. Part 1. - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Hacking (https://sinister.li/Forum-Hacking) +--- Forum: Tutorials (https://sinister.li/Forum-Tutorials) +--- Thread: Tutorial How to start Hacking. Part 1. (/Thread-Tutorial-How-to-start-Hacking-Part-1) |
RE: How to start Hacking. Part 1. - Oni - 06-25-2014 This is awfully specific, for such a general title. I'd argue that this has little to do with hacking and more with basic Linux usage. Like @misnar I also prefer nano much more. vim does have its benefits, though. RE: How to start Hacking. Part 1. - Alan Turing - 06-26-2014 Not really related to hacking like @Oni said, more *nix usage, even that's not too much detail because there's literally a clusterfuck ton of commands that could be helpful for pentesting. Also, for the auditing it'd be cool if it weren't like the same classic buffer overflow with the strcpy() function, seems to be a ton of those. RE: How to start Hacking. Part 1. - Adorapuff - 06-26-2014 (06-26-2014, 03:18 AM)Kosaki Wrote: Not really related to hacking like @Oni said, more *nix usage, even that's not too much detail because there's literally a clusterfuck ton of commands that could be helpful for pentesting. memcpy() is cool because you have to avoid null bytes in the attack vector, so you need to to point eip to the address of a jump esp that has no null bytes in a dll and make a payload without null bytes. RE: How to start Hacking. Part 1. - superMAUS - 06-26-2014 (06-26-2014, 03:18 AM)Kosaki Wrote: Not really related to hacking like @Oni said, more *nix usage, even that's not too much detail because there's literally a clusterfuck ton of commands that could be helpful for pentesting. Definitely agree, but hacking is very much about programming and *nix usage (any os usage for that matter). If you cant do the above there is not much point `hacking`. Its also just a step for beginners. Also in regards to the auditing, don't worry because I'm heavily basing it off king copes guide which is great. (06-25-2014, 11:44 PM)Oni Wrote: This is awfully specific, for such a general title. I'd argue that this has little to do with hacking and more with basic Linux usage. Like @misnar I also prefer nano much more. vim does have its benefits, though. If you cannot program or you cannot utilize Linux outside of hacking then are very unlikely to excel. RE: How to start Hacking. Part 1. - Alan Turing - 06-26-2014 (06-26-2014, 06:48 AM)Adorapuff Wrote: memcpy() is cool because you have to avoid null bytes in the attack vector, so you need to to point eip to the address of a jump esp that has no null bytes in a dll and make a payload without null bytes. You can't have any nullbytes in any payload period. All you do is XOR the registers. RE: How to start Hacking. Part 1. - superMAUS - 06-26-2014 (06-26-2014, 06:48 AM)Adorapuff Wrote: memcpy() is cool because you have to avoid null bytes in the attack vector, so you need to to point eip to the address of a jump esp that has no null bytes in a dll and make a payload without null bytes. you cant ever have null bytes EVER or it will end the execution. RE: How to start Hacking. Part 1. - Adorapuff - 06-27-2014 (06-26-2014, 10:47 PM)superMAUS Wrote: you cant ever have null bytes EVER or it will end the execution. That depends on the vuln function. Some vuln functions don't use null bytes to mark the end of execution. RE: How to start Hacking. Part 1. - Alan Turing - 06-27-2014 (06-27-2014, 01:17 AM)Adorapuff Wrote: That depends on the vuln function. Some vuln functions don't use null bytes to mark the end of execution. I think you're confused. We're talking about the payload, not the function you're exploiting itself. Null bytes terminate. How do you expect to successfully exploit a function if only 1/3'd of the payload is sent? /x94/x84/x00/x84/x34/x29/x94 Only /x94/x84 get sent. The vuln function doesn't matter. Lets say strcpy() is one vuln function and memcpy() is the other, just because they're different or do different things doesn't mean that the payload can or can't have null bytes in it. That's basic and elementary when learning about payloads. RE: How to start Hacking. Part 1. - 3SidedSquare - 06-27-2014 (06-27-2014, 01:17 AM)Adorapuff Wrote: That depends on the vuln function. Some vuln functions don't use null bytes to mark the end of execution. Let my try. The attack vector is a way to get some code running on another computer The payload is the actual code that runs. If the process is going though the instructions, and hits a null byte, it stops. I think you may have had the two mixed up RE: How to start Hacking. Part 1. - superMAUS - 06-27-2014 (06-27-2014, 01:17 AM)Adorapuff Wrote: That depends on the vuln function. Some vuln functions don't use null bytes to mark the end of execution. functions receive arguments. arguments are variables. variables end with a null byte. |