作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2021, Vol. 47 ›› Issue (8): 149-156. doi: 10.19678/j.issn.1000-3428.0059091

• 网络空间安全 • 上一篇    下一篇

适用于PLC的时间基一次性密码方案

包致婷1, 柯俊明2, 杨铮1,3, 龙华1, 黄东4   

  1. 1. 重庆理工大学 计算机科学与工程学院, 重庆 400054;
    2. 山东大学 计算机科学与技术学院, 济南 250000;
    3. 新加坡科技设计大学 信息系统技术与设计系, 新加坡 138682;
    4. 重庆机电职业技术大学 信息工程学院, 重庆 402760
  • 收稿日期:2020-07-29 修回日期:2020-09-01 发布日期:2020-09-04
  • 作者简介:包致婷(1994-),女,硕士研究生,主研方向为密码学;柯俊明,硕士;杨铮,副教授;龙华(通信作者),副教授、讲师;黄东,教授。
  • 基金资助:
    国家自然科学基金(61872051)。

Time-based One-Time Password Scheme for PLC

BAO Zhiting1, KE Junming2, YANG Zheng1,3, LONG Hua1, HUANG Dong4   

  1. 1. School of Information Science and Engineering, Chongqing University of Technology, Chongqing 400054, China;
    2. School of Computer Science and Technology, Shandong University, Jinan 250000, China;
    3. Department of Information Systems Technology and Design, Singapore University of Technology and Design, Singapore 138682;
    4. Information Engineering Institute, Chongqing Vocational and Technical University of Mechatronics, Chongqing 402760, China
  • Received:2020-07-29 Revised:2020-09-01 Published:2020-09-04

摘要: 针对现有时间基一次性密码方案无法高效运行于可编程逻辑控制器(PLC)的问题,借鉴T/KEY单链方案,提出一种基于分组密码的时间基一次性密码方案BC-TOTP。使用PRESENT和SPECK分组密码算法来实例化加密函数,采用该加密函数计算链上的所有节点,使得证明方可在相应的时间内向验证方证明其身份。通过基于理想密码模型和分组密码IND-CPA的安全假设验证了BC-TOTP方案的安全性,并在罗克韦尔Allen-Bradley PLC上的测试结果表明,其能大幅减少计算时间,且单链使用周期将近1年。

关键词: 时间基一次性密码, 可编程逻辑控制器, 分组密码, 身份验证, 结构化文本

Abstract: To solve the problem that existing Time-based One-Time Password(TOTP) schemes cannot run efficiently on Programmable Logic Controller(PLC), a TOTP scheme called BC-TOTP is proposed based on block cipher. The scheme employs block cipher algorithms, including PRESENT and SPECK, to instantiate the encryption function, which is used to compute each node in the chain, so the prover can authenticate to the verifier in time. The security of BC-TOTP is verified with a security assumption based on the ideal cipher model and IND-CPA of the block cipher. Then the proposed scheme is tested on a PLC of Rockwell Allen-Bradley. Test results show that the scheme can significantly reduce the computational time, and its single chain life cycle reaches almost one year.

Key words: Time-based One-Time Password(TOTP), Programmable Logic Controller(PLC), block cipher, identity authentication, Structured Text(ST)

中图分类号: