Login Register




The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.


Tutorial How to start Hacking. Part 1. filter_list
Author
Message
RE: How to start Hacking. Part 1. #11
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.
[Image: 7ajmN5P.jpg]

Telegram: Oni_SL (Link)

Reply

RE: How to start Hacking. Part 1. #12
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.
(This post was last modified: 06-26-2014, 03:20 AM by Alan Turing.)
Unleash the lead from my pistol into my head bumpin' crystal

Reply

RE: How to start Hacking. Part 1. #13
(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.

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.

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.
#MakeSinisterlySexyAgain

Reply

RE: How to start Hacking. Part 1. #14
(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.

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.

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.
(This post was last modified: 06-26-2014, 09:06 AM by superMAUS.)

Reply

RE: How to start Hacking. Part 1. #15
(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.
Unleash the lead from my pistol into my head bumpin' crystal

Reply

RE: How to start Hacking. Part 1. #16
(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.

Reply

RE: How to start Hacking. Part 1. #17
(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.
#MakeSinisterlySexyAgain

Reply

RE: How to start Hacking. Part 1. #18
(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.
Unleash the lead from my pistol into my head bumpin' crystal

Reply

RE: How to start Hacking. Part 1. #19
(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
[Image: jWSyE88.png]

Reply

RE: How to start Hacking. Part 1. #20
(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.

Reply