Need To Update Config // Hacked

These are old archives. They are kept for historic purposes only.
Post Reply
lynden
Posts: 16
Joined: Fri Mar 04, 2005 6:45 am

Need To Update Config // Hacked

Post by lynden »

Hey,guys well i had guy on the internet help me bulid a config,wel he bulit it then after puttin up the server he glined me and every one else he got admin rights for some reason even though i changed the password, any one know why it was so easy to hack and prevent it thanks! here`s link to the config..im wonderin if any one could link me up with a a working config, thanks


http://www.members.lycos.co.uk/heyhowar ... d.conf.txt

:wink:
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Re: Need To Update Config // Hacked

Post by Dukat »

lynden wrote:any one know why it was so easy to hack
It was so easy because you obviously don't know anything about the unreal config. Don't let others ever touch your unrealircd.conf.
You absolutely have to learn it yourself - we won't do it for you. It's not THAT hard, just try it. You have an excellent documentation and a long FAQ that you can consult, and if you still got problems after reading them, you can always ask here in the forums or in our IRC channel.
Solutech
Posts: 296
Joined: Thu Mar 18, 2004 11:38 pm

Re: Need To Update Config // Hacked

Post by Solutech »

lynden wrote:he glined me and every one else he got admin rights for some reason even though i changed the password, any one know why it was so easy to hack
Hardly surprising with the uber complex password lol . Sorry but just looking at the operblock shows whoever set up the .conf knew about zilch .

Code: Select all

oper lynden {
	class           clients;
	from {
		userhost *@*;
	};
	password "pass";
	flags "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
Firstly thats the old flag style not the new one thats more descriptive ie

can_gzline
can_globalkill

Secondly using every letter is just plain dumb and lazy . A lot of flags will give you the same rights as other flags . For example Netadmin (N) will give you the following flags . (O) Global , (N) Netadmin (a) Services Admin and (A) Admin flags .

What the guy has done is give you a plain vanilla config .

Pass as a password is just stupid its on the list of most used passwords .


As for the rest of the config ......

Code: Select all

set {
	network-name 		"F34R";
	default-server 		"irc.suckmydick.net";
	services-server 	"set.this.here.for.services.to.work.fag";
	stats-server 		"stats.suckit.com";
	help-channel 		"#YOURGFGIVESGOODHEAD";
	hiddenhost-prefix	"pwnd";
Guess the guy helped you to make you look stupid .

As stated above never ever let someone else config your server for you .

I would as suggested read the faq's and the docs rebuild your .conf and change your network names etc and keep the fool out of your server . If he does come in id gline him on sight .

Take this as a lesson learned but you have to learn how to do this yourself . If you dont how can you hope to admin a server if you dont even know how to set it up yourself .
Matridom
Posts: 296
Joined: Fri Jan 07, 2005 3:28 am

Post by Matridom »

looks like he left himself a back door if he get's banned

Code: Select all

except ban {
	/* don't ban stskeeps */
	mask           *stskeeps@212.*;
};
and more stuff to make it harder to ban him

Code: Select all

vhost {
	vhost           i.hate.microsefrs.com;
	from {
		userhost       *@*.image.dk;
	};
	login           stskeeps;
	password        moocowsrulemyworld;
};
like stated above, you let him do this. I would scrap this file and learn how to make your own one.
White_Magic
Posts: 267
Joined: Tue Jan 18, 2005 3:24 pm
Location: Scotland - United Kingdom

Post by White_Magic »

yeah i agree, just kill your server off and then wipe out everything except the ME block and do the rest from scratch, i also suggest you learn to use the " MKPASSWD " command for ur opers / passwords :D
***** Mkpasswd *****
-
This command will Encrypt the string it has been given
So you can add it directly to the unrealircd.conf if you use
Encrypted passwords. Type can be crypt, sha1, or md5. Sha1
and md5 are only available when compiled with SSL support.
-
Syntax: MKPASSWD <method> <password>
Example: MKPASSWD crypt mpsare
i spend 4 hrs a day gaming and 14hrs on irc, for 5days a week, im not an addict :D
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

Matridom wrote:looks like he left himself a back door if he get's banned

Code: Select all

except ban {
	/* don't ban stskeeps */
	mask           *stskeeps@212.*;
};
and more stuff to make it harder to ban him

Code: Select all

vhost {
	vhost           i.hate.microsefrs.com;
	from {
		userhost       *@*.image.dk;
	};
	login           stskeeps;
	password        moocowsrulemyworld;
};
These two are from the original example.conf... His "friend" just didn't remove it.
(/me wonders on how many servers out there stskeeps has an except ban and a vhost block... :D)
Matridom
Posts: 296
Joined: Fri Jan 07, 2005 3:28 am

Post by Matridom »

Dukat wrote:
Matridom wrote:looks like he left himself a back door if he get's banned

Code: Select all

except ban {
	/* don't ban stskeeps */
	mask           *stskeeps@212.*;
};
and more stuff to make it harder to ban him

Code: Select all

vhost {
	vhost           i.hate.microsefrs.com;
	from {
		userhost       *@*.image.dk;
	};
	login           stskeeps;
	password        moocowsrulemyworld;
};
These two are from the original example.conf... His "friend" just didn't remove it.
(/me wonders on how many servers out there stskeeps has an except ban and a vhost block... :D)
My bad. I've not looked at the example in over a year. I wrote mine from scratch and use the documentation to keep things up to date.
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

[moderator: 'software caused connection abort'-issue split to here]
Post Reply