Top Banner
!!" #$ $%#& % #$ $%# (!)* +’, % -".!, /.0 1!!" #$ $%#& % ’2& 3- + %$ $#4 %$ 5%4 % $ $ 4 $ $# $ % # #% #$ 44 $ 4& %6 $# 7 $ % 7
30

Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

Jan 15, 2017

Download

Technology

Nate Lawson
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� �

����������� �

���������������� �������������

�� ��������������������������� ��!!"

��#$ ����$%#�&����% ����'���'��#$ ����$%#'���

(!)�*��+ �� ' �, %����� �������������� ��-��".!,

/ .��01�!!"���#$ ����$%#�&����% ����'�2�&�3��-��� ������+����� %�$��$� #��4� %�����$� ��������'��5%���4���� ������� �������� %���$��� � �������$�������4�������� �� ���$��$�������# ����$��������� %�� ���#������� ���������� #��%� ���� ����������� ���������#��$��� ��44�������$��������4��&�'����� %���6����$#��� ����������� ��7� �������$��%�7� �'

Page 2: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� �

8�����

� �� ����� ���

� � ��� %���'���������

� �����4���� ������ ��������

� �������������� �������������

� -���#�����4��� �������� ����� %�� �

Page 3: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� �

-7�� ���#$ ����$%#�&����% ����'

� ����������.��,�7#�9����:��%�

� 9�� �$��;� �

� ����<'! ��=������+�

� &�� ����������������+

� ��44�� ����$��������#����2�9-3

� 5��$������ ���

� ��� � ������ #�4���%��%1�4��$ ����������4����

� �+� ���� ���$� �����1 ��� �������������$�>��� �%��? ���� ����� �����$���$��7���

� 9����������� #� �%�����#������������ �����$����� %� �7����������������� #�$����� �

Page 4: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� �

5%��+����-7�� ������ #

Page 5: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� �

*������������� #

������� �� �!��������"

#��$$%&%�������������% �

.!!@

!

'�%$�������&����

(������)��*$%���+��"��+���������

��,�-+�$.�

/����.$&%�&�*"��,�����"� ��%��

'.%&���0�+�$�.��*��������%��

+��.�%���% �1-/�.���%��&%��2

���% ���� �������������,�"� ��&%�"2

�����.���.����&��" �&%"���% �������%���% �

%���&����2

3�.�,�����.���.�������&��"�&%"��

�% 2

Page 6: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� 4

� ��� %A���� �������� %��#� �������� �+������ ��+�B

C%� ���� %�������4���������2��+����3�� ��+B

��#$ ������$��������$�7�� ��� %

-�������������4���������������D��$�'

&���7��� #C%� �%�$$����4 ������ ��+�������B

*�� �7��7�� ����$���� �� %���$���� �7�

-�������

� ��� % -�������

&���7��� #=���#$ ����≠ ����� # ����#�≠ -�������

&���� ����≠ &���7��� #

Page 7: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� 5

���������� ������ ��������

Page 8: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� 6

5���� ������������9�����

� 9����� ���

� �����������

� �%�$������������������

� 9�� 1$����� ����2-���3

� 5����4��4���� ������ �������7��+

� =�� ��� ��$�����44� � � �'

� ��� ��7� ���

� *�+� %���������4�4����$��� ��� �E< !!!���%

� 9��;� ���

� 9��;� ������ ���7�� �E<! !!!

� 9��� ���������4 �����+��4�������

Page 9: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� 7

���� ���������9�����

� 9����� ���� ���� ����������� ��:

� ��$ ���� ��%���������

� 9�� 1$����� ����2������ %�� � ����4��� $�3

� ��� ��7� ���� 9%#����������F��G� � �$

� 8�1 ��1�� ��$������ ���+������ ����2�������#3

� 9��;� ���� �����2��� �H�G�� � �'3

� � ���� %�����

� �8�=��2����D�����3

� 5%� ����� ���

� 9��;� ���2�%��� � ����� � �'3� �:������ ����2����.:3

� A�1������������ �4���4�����������

Page 10: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� �)

���� ���5%� ��=I��$��

5%� �����

-��

-����������

�$�+��

5%� �-� ��� ���

9��;� ��

� ���+

�� ����� ����

Page 11: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� ��

���� ���������*��+

� .���

� .:�$��;� �������� %� ���������� ������

� �!!!

� >5� ���-'='? ������ ������4�7��������������

� >����? ������ �������� ���

� <!����� ��� %� �������'�'

� �!!<

� ������������������ %� ��������%���A��2�� ���3

� ���� ������������ �� ���2���3��I�� ��$��$�����

� �!����� ��� %� �������'�'

� 8�������$��7���

� ���� �������6� ����2���� �4���4���� � � �'3

� A��%�$�1 %� ����� �2E.!! !!!3

� C%�������$�#�4���� ��4� B���$�����B

Page 12: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� ��

5%�9��;� �����J

Page 13: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� ��

���� �������������� ��#

� ����1����+���$$����%���&�� �������$������7������ ��������$ ���

� ����� #���������%�������7��+��$��#�� ��4����� ��������

� =��� ����I��$�� �����4�� ������� �4�������������� #

� ������������4���$�� � #$��#� �

� 5����$�� 1���$�����4�������

� � �������#$ �

� *�� �14�� ����� %� ��� ���

� ����7���� %���6� ����$����#

� &���7��$��#7��+������ %���������� ����4������

� &�$�������$�� �2"���� %�3

Page 14: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� ��

*����5����$�� �-���#���

� � ���+

� ���F�������� �2K."�%����3

� 8�<F�%��%���� �$�� %� ��2K��%����3

� �� ��� F�%��%���� �7� ����� �6��2K,�%����3

� 9%#������2�"�%����3

� �G�F�"',���$������

� A������������ �$F�.,!���$������

� ���� %���<!!� %� �� ��%�$$����%������������� ���� �44� ���

� 8 %���� ������ ���

Page 15: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� ��

��� � ������ #�-���#���

� 5%�� ������4���$��;� ����7�� %

� 9%#������������������7�7��+#

� ��� ��� ���%�������

� ���� ��������7#�$��;� �����

� ���$��� ������������ ������

� *�� �7������ ����% ��%�$

� ������ ��������7#����

� ���$��$�� � #$������

� =���#$ ������7� � � ��$��7����4�$�� � ����%��������4����� %�$�� � ����������+#

� �����+#� %����%���� �14�� �����%���� %��������$$�����

� 9%#����������� #��4 � ���� ��$����� �������44��

Page 16: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� �4

5%� �������-���#���

� ���$��� �

� ����������� %����#���� ���7�����

� �������� %���� ���-����

� <<*%69���9�

� ("�*����

� ���L1��+�8�

� 0�%����������2"������� ��$ ��������3

� ����$����4�

� ��������� � ����������7�

� ���-9��

� =�$� �� ����������1$������� ����

Page 17: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� �5

��+��� ���� �4��

� ����� ����������7��4����D8

� = %��

� ����

� �����

� 5�������

� -�����D���� ����������

� 5������$�� �������$� �7��%������

� �� ������������������I������������

Page 18: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� �6

��� ������ �4��

� A������#���%��+��� �� %�$��#7��+�$�����B

� ��� ����������� %� %� ������

� �����#� ��%��+��� ��$��#7��+�$� %�2-9�3

� �� �����%�������7���9�

� ��$#�$���� � �������� �� %� ������

� ��+���� 4���#� �4����

� �������� �4�������������� ����������������� ���

Page 19: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� �7

= %�� ��� �4��

� ���� �������� �4����� ���� �4��

� ��� ���������F�����

� .!D.!!�$�� �M�K.!�*D��M�.�%�'�$������

� 5�9D�9���$$��

� ��� %�����$� ���F�7��

� ����� ����4���2.�*D�3

� 9��$�� ��#�C������� �����2����593

Page 20: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� �)

������� �4��

� ��� ���������F�����

� �� ���C�M�0!�*D��M�)����� ��$������

� ��� �� %������1 ��� ����4��

� =� ���������� ���������������������

� ��� %�����$� ���F�7���7� ��������7�

� ��������$��� ��%�������$$��� ����� ���� �����+��4���4 �������������#

� ������������������������� �.D" % %� � �����

� C��+������F�� ������1�%��� ����+��$� %���44���

Page 21: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� ��

-� %� ��� ���

� *�� �14�� ����� %� ��� �����I���������$�� ���$�� �� ��7�$��� � ���������������+#

� A������������ ������� %�����

� ���� �����

� 8�������%������ %��� %�����

� ����7��$����#

� ���4�� �4����4�������� %� ������ ����� ������ �$��

� -�������� %������ ����$��� ��������$���$����#��$��� �#

� &��� F���� ���$�� ����� ����%��� %����� %������������4������� ��$�

Page 22: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� ��

5%� ������ �9�� � #$

� 5����$��� �#����#$ D���#$ �7���+��� ��������1 ��

� � ���������� ������� %�������#

� ����� ���������� %����%� %� ������

� ��$#�������� ����������

� �����$��� %�� $��� %����$%���7��+�$

5%� ������ 5%� ������ *��������

���� ����

�����

-� %�����

���� ����

���985�

Page 23: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� ��

�5�� ���������� #

Page 24: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� ��

�������#$ � �9���������

� C� %���#$ � � %�� ������4�������������#��� �

� &�� �#1�� ��������������������+����#$ ����$����� �����<�=��=�

� � �������$%� ����$$��$��� ������4��$�� ���

<�=�����������<�=�����=�����

Page 25: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� ��

� �������#$ ��9����� �

� 5�����������$�

� ����#� ��2��� �5��� �=��3

� =���#$ �4������ � ���������

� ���N ����#$ �� ��� ��2��6 �� ��7� � � �'3

� ���+�29�9���+ �� ��#$ ��=8* ���� ����$-=�3

� =���#$ �7���+��� ��7����4���#� ����#�

� �����$� �7���� %���� �����27��+�$ �������������� 3

� -���%������������$$����%�

� ��$%��� ��� %�����+#���� %������4����

� ���+�� ����F� �#� ���������� ���$������

� ����� ��� #�$�� � ���

� �%�������2�� ���3�%������������ ������ %�$���� �

� ������ $��� �����4��� ���

Page 26: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� �4

5%�� �*����

� ������� ��F�$����������������� #��I����� �

� �$��#�� F�������$� � ����������#���� � �

� � ����� %�� �������2���������������3

� - ��+��%�����1 ������1���#������� ����$%� �

� - ��+��%����$� �����1���#������� ����$%� �

� - ��+��%�����1 ������1��� ������� ����$%� �

� - ��+��%����$� �����1��� ������� ����$%� �

� *�� �� �������#$ ��$����� �����#��� ���$� � %�4��� � %�� �����

� 8 %�� %�� ��7�����������������

� =���$�F�������$������+�� ���� �������� ��������$��#������-�

Page 27: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� �5

� ��������� $�������� ��� #�$�� � ���� � 2�3�4��$$������5�1. ���� �����7� 2�3�4��$$�����95�� -�������$� �#����7���95�1.

� �%����� �� %��G�������7� �4��$���� %�������7����

��������� ��� #�9�� � ���

�G

�:

�5�.

95�.

�:

�5�!

2���+3

Page 28: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� �6

� ���+����#$ ����4���� �� ���+�

� ��� ������� ����$�� � �����������#$ �D���#$ ���� �

� ������+#�$����������������$������

� =���#$ ���F�����%��������� %�=��'2�� ���O3�����G

=���$�F����

�����$ ���.

-=�:

�� ���O

-=�:

95�!

�5�!

-=�:

95�.

�5�.�G

.'��&' �������� ��' ���������P�>5%���#$ ����$%������+������?P���=��L��!!<��&==��L� ���+

Page 29: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� �7

=���$�F����

5%�� �*����-���#���

� 5%�� �*���F���1 ������1���#������� 9�����#����� ���� ����������+#������������$��$��#

� 5%�� �*���F��$� �����1���#������� :#�������� �� �$��������� �G����� �� �$�1�� ��

� ������ ����� �� ������ ��������������$%� �

� 5%�� �����F���1 ������1��� ������� ��� �4#���$�� �� �7���+���������4#��

� =���$��� *���4#�$��������4���������#$ �����+� ������������ ��+�������� �� %��#� �

� *����� ������� ��� �������������G� ��7�L8&���� ����� � �

� 5%�� �����F��$� �����1��� ������� 5������7����� ��������$ ���� ��+

Page 30: Using FreeBSD to Design a Secure Digital Cinema Server (Usenix 2004)

���������������������������� ����������������������������������������������������������������������� ��� ������� �� �)

���������� ��� #�5%�� �

� -������������� %� ��� ��������2*-�3

� ��#$ ����$%�����#1� ������� ��� #��%�+�2'�' ��A-1.�A*-�3

� ����$�4�������%�

� 5%�� �����F�� ��+�����#�%����44����2����3������

� 9�4��������%����� �$����7�

� ��6��#��$�� �*-�������� ��2�������� %���� ����%3

� �%�+�*-��������� ����+��� ��������������7� ��$

� �����F�7�����#���+����#���� %�� �����