Development of Programmable Logic Controller Emulator With QEMU

作者
Petar Kovač,Ardian Pantina,Stjepan Groš,Damir Sumina
标识
DOI:10.1109/eurocon56442.2023.10199034
摘要

It is crucial to ensure the security of programmable logic controllers (PLCs), as any compromise of these devices can have a significant impact on the safety and stability of the industrial process. An exploited vulnerability could affect production, damage the plant, and potentially put people at risk. To make them secure, various forms of third-party testing can be performed. However, because the firmware and hardware used in most PLCs is proprietary, firmware testing is difficult. The firmware code may be encrypted, compressed, and/or obfuscated. Even if the firmware is acquired, it is unlikely to run without the PLC because it depends too much on the hardware, which means testing is limited by the availability and processing speed of the PLC. To solve this problem, emulation could be used to speed up testing, but to properly emulate the behavior of the hardware, knowledge of peripheral device communication is required. In this work, we present a method to obtain the necessary information to emulate a proprietary PLC and run its firmware in an emulator, which to our knowledge has not been done before. We acquired the bootloader and firmware for a Siemens S7-1200 PLC and modeled the communication between the firmware and the peripheral devices using reverse engineering methods. The models were then implemented in the QEMU emulator. The end result is a partial emulation of the PLC, demonstrating that emulation of even a proprietary PLC is possible. The emulation shows the potential for future integration with a dynamic testing tool.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
超帅的不可完成签到,获得积分20
刚刚
刚刚
桐桐应助朱哥永正采纳,获得10
刚刚
可爱的函函应助Lucky晨采纳,获得10
1秒前
1秒前
搜集达人应助淡淡绮琴采纳,获得10
1秒前
桐桐应助xyg采纳,获得10
2秒前
爆米花应助xyg采纳,获得10
2秒前
李健应助xyg采纳,获得10
2秒前
2秒前
Akim应助xyg采纳,获得10
2秒前
2秒前
Owen应助xyg采纳,获得10
2秒前
bkagyin应助xyg采纳,获得10
2秒前
搜集达人应助xyg采纳,获得10
3秒前
3秒前
FashionBoy应助xyg采纳,获得10
3秒前
李健应助Guaweii采纳,获得10
3秒前
chuan发布了新的文献求助10
3秒前
充电宝应助ranran采纳,获得10
3秒前
一铺研究区完成签到,获得积分10
3秒前
4秒前
guochenggong发布了新的文献求助10
4秒前
清清子衿完成签到,获得积分10
4秒前
4秒前
桃子完成签到,获得积分10
4秒前
4秒前
Miaonei完成签到,获得积分10
4秒前
5秒前
5秒前
丘比特应助Sci采纳,获得10
5秒前
清漪发布了新的文献求助10
5秒前
青柠发布了新的文献求助10
6秒前
hzhang完成签到,获得积分10
6秒前
DD完成签到 ,获得积分10
6秒前
6秒前
TJTerrence完成签到,获得积分10
6秒前
加冰发布了新的文献求助10
6秒前
小孟同学greta完成签到,获得积分10
6秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
The anomeric effect 1000
Principles of town planning: translating concepts to applications 1000
1 Peter and Christ's Descent to the Dead in Its Early Christian Reception 700
Nature-Inspired Computing: Concepts, Methodologies, Tools, and Applications 600
Perfectionism in School 600
Organizational Behavior 510
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7729584
求助须知:如何正确求助?哪些是违规求助? 9281683
关于积分的说明 20144474
捐赠科研通 7306926
什么是DOI,文献DOI怎么找? 3303178
关于科研通互助平台的介绍 2456124
邀请新用户注册赠送积分活动 2311540