oob, raw_sock, PingOfDeath

M

Marco Stauder

Hello everybody,
I am running linux and built up an old win95 box to play with.
Now I try to write my own WinNuker. I red about Out Of Band
(OOB) Data which crashes the tiny win95 box. I wrote my own IP
and TCP Header... (pls have a look)

ip->version = 4;
ip->ihl = 5;
ip->tot_len = htons(sizeof(struct iphdr) + sizeof(struct tcphdr));
ip->id = random();
ip->ttl = 255;
ip->protocol = IPPROTO_TCP;
ip->saddr = inet_addr("1.2.3.4");
ip->daddr = inet_addr("192.168.0.2");

tcp->source = htons(1024);
tcp->dest = htons(139);
tcp->seq = random();
tcp->doff = 50;
tcp->ack = 1;
tcp->urg = 1;
tcp->psh = 1;

I decided to set ack, urg and psh, because I sniffed packages of
an WinNuker tool where these Flags were set.

My questions to you:
1x00 What exactly is OOB data in rely of POD?
1x10 Do I have to write more than one package (including tcp and ip
headers) on my own?
2x00 Do you can send me some links on this topic?
2x10 I also heard of oversized packages and invalid offsets which
do effect tiny win95 boxes. All links on this topic are welcome!
(Oh yes, this is no question :)
3x00 Is this the right newsgroup? (Perhaps any advise :)

Any help is appreciated,
Marco Stauder

thx

PS: I do use this stuff for educational purposes only! Please don't
flame me.
 
F

Flash Gordon

Hello everybody,
I am running linux and built up an old win95 box to play with.
Now I try to write my own WinNuker. I red about Out Of Band
(OOB) Data which crashes the tiny win95 box. I wrote my own IP
and TCP Header... (pls have a look)

3x00 Is this the right newsgroup? (Perhaps any advise :)

No, this is not the right news group. This group is for discussing the C
language, not networking or extensions provided by implementations for
doing networking nor how systems respond to bad packets.

You probably want some of the networking groups to discuss the
networking issues, although you should check the FAQs first.
PS: I do use this stuff for educational purposes only! Please don't
flame me.

Well, crashing Win95 boxes would not be much use for serious mischief
in most places anyway.
 
M

Mark A. Odell

[snip]
1x00 What exactly is OOB data in rely of POD?
1x10 Do I have to write more than one package (including tcp and ip
headers) on my own?
2x00 Do you can send me some links on this topic?
2x10 I also heard of oversized packages and invalid offsets which
do effect tiny win95 boxes. All links on this topic are welcome!
(Oh yes, this is no question :)
3x00 Is this the right newsgroup? (Perhaps any advise :)

Any help is appreciated,
Marco Stauder

thx

PS: I do use this stuff for educational purposes only! Please don't
flame me.

Fine. But why on Earth do you think this has anything to do with the C
langauge? "Written in C" does not mean "about the C language". Why didn't
you explore any of the networking ngs?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,276
Latest member
Sawatmakal

Latest Threads

Top