Nothing Special   »   [go: up one dir, main page]

skip to main content
10.5555/3234847.3234910acmotherconferencesArticle/Chapter ViewAbstractPublication PagesewsnConference Proceedingsconference-collections
research-article

Towards Formal Verification of Contiki: Analysis of the AES-CCM* Modules with Frama-C

Published: 12 February 2018 Publication History

Abstract

The number of IoT (Internet of Things) applications is rapidly increasing and allows embedded devices today to be massively connected to the Internet. This raises software security questions. This paper demonstrates the usage of formal verification to increase the security of Contiki OS, a popular open-source operating system for IoT. We present a case study on deductive verification of encryption-decryption modules of Contiki (namely, AES--CCM*) using Frama-C, a software analysis platform for C code.

References

[1]
E. Alkassar, E. Cohen, M. Kovalev, and W. J. Paul. Verification of TLB virtualization implemented in C. In Proc. of the 4th International Conference on Verified Software: Theories, Tools, Experiments (VSTTE 2012), volume 7152 of LNCS, pages 209–224. Springer, 2012.
[2]
E. Alkassar, W. Paul, A. Starostin, and A. Tsyban. Pervasive verification of an OS microkernel. In Proc. of the 3rd International Conference on Verified Software: Theories, Tools, Experiments (VSTTE 2010), volume 6217 of LNCS, pages 71–85. Springer, 2010.
[3]
C. Barrett, C. L. Conway, M. Deters, L. Hadarean, D. Jovanovic, T. King, A. Reynolds, and C. Tinelli. CVC4. In Proc. of the 23rd International Conference on Computer Aided Verification (CAV 2011), volume 6806 of LNCS, pages 171–177, 2011.
[4]
G. Barthe, G. Betarte, J. D. Campo, J. M. Chimento, and C. Luna. Formally verified implementation of an idealized model of virtualization. In Proc. of the 19th International Conference on Types for Proofs and Programs (TYPES 2013), pages 45–63, 2013.
[5]
P. Baudin, P. Cuoq, J.-C. Fillitre, C. March, B. Monate, Y. Moy, and V. Prevosto. ACSL: ANSI/ISO C Specification Language. http://framac.com/acsl.html.
[6]
E. Biham and A. Shamir. Differential Cryptanalysis of the Data Encryption Standard. Springer, 1993.
[7]
A. Blanchard, N. Kosmatov, M. Lemerre, and F. Loulergue. A case study on formal verification of the anaxagoros hypervisor paging system with frama-c. In Proc. of the 20th International Workshop on Formal Methods for Industrial Critical Systems (FMICS 2015), volume 9128 of LNCS, pages 15–30. Springer, June 2015.
[8]
S. Conchon et al. The Alt-Ergo Automated Theorem Prover. http://altergo.lri.fr.
[9]
J. Daemen and V. Rijmen. The Design of Rijndael: AES - The Advanced Encryption Standard. Information Security and Cryptography. Springer, 2002.
[10]
L. de Moura and N. Bjørner. Z3: An efficient SMT solver. In Proc. of the 14th International Conference on Tools and Algorithms for the Construction and Analysis of Systems (TACAS 2008), pages 337–340. Springer, 2008.
[11]
A. Dunkels, B. Gronvall, and T. Voigt. Contiki - a lightweight and flexible operating system for tiny networked sensors. In Proc. of the IEEE Conference on Local Computer Networks (LCN 2014). IEEE, 2004.
[12]
F. Kirchner, N. Kosmatov, V. Prevosto, J. Signoles, and B. Yakobowski. Frama-C: A software analysis perspective. Formal Asp. Comput., 27(3):573–609, 2015.
[13]
G. Klein, J. Andronick, K. Elphinstone, G. Heiser, D. Cock, P. Derrin, D. Elkaduwe, K. Engelhardt, R. Kolanski, M. Norrish, T. Sewell, H. Tuch, and S. Winwood. seL4: formal verification of an operatingsystem kernel. Communications of the ACM, 53(6):107–115, 2010.
[14]
F. Mangano, S. Duquennoy, and N. Kosmatov. A memory allocation module of Contiki formally verified with Frama-C. A case study. In Proc. of the 11th International Conference on Risks and Security of Internet and Systems (CRiSIS 2016), volume 10158 of LNCS, pages 114–120. Springer, 2016.
[15]
S. Raza, S. Duquennoy, J. Höglund, U. Roedig, and T. Voigt. Secure Communication for the Internet of Things - A Comparison of Link-Layer Security and IPsec for 6LoWPAN. Security and Communication Networks, Wiley, 7(12):2654–2668, Dec. 2014.
[16]
S. Raza, T. Helgason, P. Papadimitratos, and T. Voigt. Securesense: End-to-end secure communication architecture for the cloud- connected internet of things. Future Generation Computer Systems (Elsevier), 77:40–51, December 2017.
[17]
S. Raza, L. Seitz, D. Sitenkov, and G. Selander. S3K: Scalable Security with Symmetric Keys - DTLS Key Establishment for the Internet of Things. IEEE Transactions on Automation Science and Engineering, 13(3):1270–1280, July 2016.
[18]
V. van der Veen, N. dutt-Sharma, L. Cavallaro, and H. Bos. Memory errors: The past, the present, and the future. In Proc. of the International Symposium on Research in Attacks, Intrusions, and Defenses, volume 7462 of LNCS, pages 86–106. Springer, 2012.

Cited By

View all
  • (2023)Formal Specification, Verification and Repair of Contiki’s SchedulerACM Transactions on Cyber-Physical Systems10.1145/36059487:4(1-28)Online publication date: 4-Jul-2023
  • (2019)Logic against ghostsProceedings of the 34th ACM/SIGAPP Symposium on Applied Computing10.1145/3297280.3297495(2186-2195)Online publication date: 8-Apr-2019
  1. Towards Formal Verification of Contiki: Analysis of the AES-CCM* Modules with Frama-C

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image ACM Other conferences
    EWSN ’18: Proceedings of the 2018 International Conference on Embedded Wireless Systems and Networks
    February 2018
    295 pages
    ISBN:9780994988621

    Sponsors

    • EWSN: International Conference on Embedded Wireless Systems and Networks
    • SUNY Buffalo: State University of NY at Buffalo
    • IMDEA

    In-Cooperation

    Publisher

    Junction Publishing

    United States

    Publication History

    Published: 12 February 2018

    Check for updates

    Author Tags

    1. AES
    2. Formal Verification
    3. Frama-C
    4. Security. Contiki1

    Qualifiers

    • Research-article

    Acceptance Rates

    Overall Acceptance Rate 81 of 195 submissions, 42%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)0
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 24 Nov 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2023)Formal Specification, Verification and Repair of Contiki’s SchedulerACM Transactions on Cyber-Physical Systems10.1145/36059487:4(1-28)Online publication date: 4-Jul-2023
    • (2019)Logic against ghostsProceedings of the 34th ACM/SIGAPP Symposium on Applied Computing10.1145/3297280.3297495(2186-2195)Online publication date: 8-Apr-2019

    View Options

    View options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media