工业互联网复现
- Modbus协议:
- MMS协议:
- ISC工业互联网比赛题目复现:
- Modbus协议分析:
- 组态软件安全分析:
- 工业协议分析1:
- 工业协议分析2:
- 特殊的工控流量:
Modbus协议:
Modbus
市场占有率高、出题频率高,算是最常见的题目,
因为这个协议也是工控领域最常见的协议之一,主要有三类:
-
Modbus/RTU:
-
从机地址
1B
+功能码1B
+数据字段xB+CRC
值2B
-
最大长度
256B
,所以数据字段最大长度252B
-
Modbus/ASCII:
-
由
Modbus/RTU
衍生,采用0123456789ABCDEF
表示原本的从机地址、功能码、数据字段,并添加开始结束标记,所以长度翻倍 -
开始标记:
(0x3A)1B
+从机地址2B
+功能码2B
+数据字段xB+LRC
值2B+
结束标记\r\n2B
-
最大长度
513B
,因为数据字段在RTU
中是最大252B
,所以在ASCII
中最大504B
-
Modbus/TCP:
-
不再需要从机地址,改用
UnitID
;不再需要CRC/LRC
,因为TCP
自带校验 -
传输标识符
2B+
协议标识符2B
+长度2B
+从机ID 1B
+功能码1B
+数据字段xB
功能编码:
MMS协议:
工控领域的TCP协议,有时wireshark会将response包解析为tcp协议,影响做题,如果筛选mms时出现连续request包,考虑wireshark解析错误,将筛选条件删除手动看一下
initiate(可以理解为握手)initiate-RequestPDUinitiate-ResponsePDUconfirmed(可以理解为交互,即传数据)confirmed-RequestPDUconfirmed-ResponsePDU
通常情况为:
1轮initiate:即发送1个initiate-RequestPDU,接收1个initiate-ResponsePDUn轮confirmed:直到会话主动关闭或被动断开即confirmed-RequestPDU和confirmed-ResponsePDU交替发送和接收
交互时的指令称为confirmedService
常见的confirmedService
有:
对象操作:
-
getNameList (1)
-
read (4)
-
write (5)
-
getVariableAccessAttributes (6)
-
getNamedVariableListAttributes (12)
文件操作:
fileOpen 打开文件(72)
fileRead 读取文件(73)
fileClose 关闭文件(74)
fileDirectory 文件目录(77)
ISC工业互联网比赛题目复现:
Modbus协议分析:
2019-工业信息安全技能大赛-深圳站-Modbus协议分析
黑客通过外网进入一家工厂的控制网络,之后对工控网络中的操作员站系统进行了攻击,最终通过工控协议破坏了正常的业务。我们得到了操作员站在攻击前后的网络流量数据包,我们需要分析流量中的蛛丝马迹,找到FLAG。格式为flag{}
一般这种题目就是使用脚本提取然后 查看常见协议的功能码 然后在进一步分析。
这里是Moudbus
协议而且是Modbus/TCP
的脚本提取
import pyshark
def get_code():captures = pyshark.FileCapture("Modbus.pcap")func_codes = {}for c in captures:for pkt in c:if pkt.layer_name == "modbus":func_code = int(pkt.func_code)if func_code in func_codes:func_codes[func_code] += 1else:func_codes[func_code] = 1print(func_codes)
if __name__ == '__main__':get_code()
四个功能码都出现了702次,唯独16(预置多个寄存器)功能码只出现了两次,所以猜测与16功能码相关的流量可能存在关键数据,于是运行脚本分析与16功能码相关的流量,提取其中的数据,脚本和运行结果如下:
import pysharkdef find_flag():cap = pyshark.FileCapture("Modbus.pcap")idx = 1for c in cap:for pkt in c:func_code = int(pkt.func_code)if pkt.layer_name == "modbus" and if func_code == 16:payload = str(c["TCP"].payload).replace(":", "")print(hex_to_ascii(payload))print("{0} *".format(idx))idx += 1
def hex_to_ascii(payload):data = payloadflags = []for d in data:_ord = ord(d)if (_ord > 0) and (_ord < 128):flags.append(chr(_ord))return ''.join(flags)if __name__ == '__main__':find_flag()
将16进制字符串在线转换对应的ASII码,得到TheModbusProtocolIsFunny!
flag{TheModbusProtocolIsFunny!}
组态软件安全分析:
2019-工业信息安全技能大赛-深圳站-组态软件安全分析
一些组态软件中进行会配置连接很多PLC设备信息。我们在SCADA 工程中写入了flag字段,请获取该工程flag,flag形式为 flag{}。
放入010
发现是PK
头修改zip
后缀 因为文件比较多直接放入kali
使用 grep
进行过滤 找flag
。
grep -r "flag" ./
flag{D076-4D7E-92AC-A05ACB788292}
工业协议分析1:
2019-工业信息安全技能大赛-深圳站-工业协议分析1
工业网络中存在异常,尝试通过分析PCAP流量包,分析出流量数据中的异常点,并拿到FLAG。格式为 flag{}
这个是MMS
协议先过滤,然后在ctrl +F
搜flag
先是77
就是有目录,然后就是打开了flag.txt
文件
使用过滤规则 (mms) && (mms.fileRead == 87504092)
找到1800
序列号
在使用过滤规则查看回显包(frame.number == 1801)
因为是回显包所以过滤1801
看到一串数据 data
一眼Base64
编码 只想想到转图片 然后提取即可。
iVBORw0KGgoAAAANSUhEUgAAAdAAAABiCAYAAADgKILKAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABzXSURBVHhe7Z2Js11Fncfn75maqZmaqZkaS0elXAp1GHRUhGFAQHYQFQRFBWQRiBoBWQyyKaBsxo0tCAgkQHayQEL2jSxAyEoSIAHOvM/JPTPn9fv1Od19+9z3bvh+qr5FkXe77z33ntO/7l//fr/+m0IIIYQQ0ciACiGEEAnIgAohhBAJyIAKIYQQCciACiGEEAnIgAohhBAJyIAKIYQQCciACiGEEAnIgAohhBAJyIAKIYQQCciACiGEEAnIgAohhBAJyIAKIYQQCciACiGEEAnIgAohhBAJyIAKIYQQCciACiGEEAnIgAohhBAJyIAKIYQQCciACiGEEAnIgAohhBAJyIAKIYQQCciACiGEEAnIgAohhBAJyIAKIYQQCciACiGEEAnIgAohhBAJyIAKIYQQCciACiGEEAl0ZkDff78oNm/ZV8xfuK2Y8fxrxex5W4vlK3cVe/Ye6L1CCCGEGF6yGtC33n63uOPuNcW/fHJG8bcffsarf/3UjNLAVtz/h/Xm6/h3IYQQYiKSzYBufePt4thT55qG0NXxp8/ttTqIDGj/vP3Oe+VKf/L1y4qTzppffOq/ni/+6bDpxY+ve7n3irHw/VrKzdsjE6tFL24v7p26rrhs0pLy8x3+pZnFhz/zbDnZ+th/PFd86auzi3MuWFhcc+Py4qFpG4s1694cNcmKYf/+94oXFm4rbr1zdXHe9xcVn/+fWcVHPvv/7/WVk+YU371kcXHbyN9nzd1a7JVXRHxAeGdknFi2Ylfx+FNbiql/3lA8MPK8/+XJzcXLy3eWz80wcdxpc4t//sSMciw55Zz5xXW/WF4+zwcODO46shhQBqCjvzbHNIKWfn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jKxz+UUQogUKMlIURxSFHe/OT7ZBzKgCZDXGVK4IVS56moKIYQYHDKgCVDJxDKEKaLgghBCiOFDBjQBcossYxgj/PXzXlCKiRBCDCsyoIlwQjvlrz50uH04s0/Hnjq3DEAa5MHNQggh8iMD2icH3n2/WLlqd1kE/tY7VxdXTV5a1nw9/6JF5X8paECR96dnvDruxcuFEELkQwZUCCGESEAGVAghhEhABlQIIYRIQAZUCCGESEAGVAghhEhABlQIIYRIQAZUCCGESEAGVAghhEhABlQIIYRIQAZUCCGESEAGVAghhEhABlQIIYRIQAZUCCGESEAGVAghhIimKP4XBcAIzFfvoBoAAAAASUVORK5CYII=
PS:如果复制不出来可以使用 strings
提取命令如下:
strings test.pcap |grep ".png"
flag{ICS-mms104}
工业协议分析2:
数据包名称是UDP
数据估计这个是考点 先过滤一下 发现len
的长度有些重复了 排个序看看。
发现这几个好像没重复 105
好像可以看到flag
标识 131
和137
下面好像是字符串提取转ASCII
码
666c61677b37466f4d3253746b6865507a7d
PS:其实flag
的16
进制为666c6167
看到后面这一窜大概可以知道了 大家可以记一下。
flag{7FoM2StkhePz}
特殊的工控流量:
某10段工控网络中,工业协议中存在异常数据。请通过流量中的数据找寻flag。格式为flag{}
S7comm
工控流量 直接筛选协议,然后就排个序就一直按(下键)知道找到这一条。
然后转码 和上面的题目一样的 得到flag
。
69735f6e6f745f7265616c
flag{is_not_real}