从某知名厂商MIS软件逻辑缺陷谈对某工控网络的渗透
<!--StartFragment--><h3 class="detailTitle" style="margin:15px auto 0px;padding:5px 0px 0px;font-size:14px;font-weight:normal;width:950px;text-indent:10px;word-break:break-all;overflow-wrap:break-word;border-left:5px solid #999999;color:#000000;font-family:Verdana, "font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;orphans:2;text-align:left;text-transform:none;white-space:normal;widows:2;word-spacing:0px;-webkit-text-stroke-width:0px;text-decoration-style:initial;text-decoration-color:initial;">
简要描述:
</h3>
<p class="detail wybug_description" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;color:#000000;font-family:Verdana, "font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;orphans:2;text-align:left;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;-webkit-text-stroke-width:0px;text-decoration-style:initial;text-decoration-color:initial;">
该篇案例比较详细,图也比较多,下面如果有什么口胡的地方就略了吧(技术水平有限),以下敏感信息均已打码,相关系统信息将会私信给cncert。<br style="margin:0px;padding:0px;" />
喜欢工控安全的筒子们可以多多交流
</p>
<h3 class="detailTitle" style="margin:15px auto 0px;padding:5px 0px 0px;font-size:14px;font-weight:normal;width:950px;text-indent:10px;word-break:break-all;overflow-wrap:break-word;border-left:5px solid #999999;color:#000000;font-family:Verdana, "font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;orphans:2;text-align:left;text-transform:none;white-space:normal;widows:2;word-spacing:0px;-webkit-text-stroke-width:0px;text-decoration-style:initial;text-decoration-color:initial;">
详细说明:
</h3>
<div class="wybug_detail" style="margin:0px;padding:0px;color:#000000;font-family:Verdana, "font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;orphans:2;text-align:left;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;-webkit-text-stroke-width:0px;text-decoration-style:initial;text-decoration-color:initial;">
<p class="detail" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
SyncPlant是为南京科远自动化集团股份有限公司为发电企业量身打造的智能一体化信息系统解决方案,完美整合生产管理、设备资产、经营管理、人力资源、行政综合、实时监控(SIS)、工程项目(基建MIS)KKS编码等业务管理系统为一体。以下测试版本根据反馈结果为SyncPlant V4.0。
</p>
<p class="detail usemasaic" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<a href="https://w.hundan.org/articles/attach/201304/050551469aa2e63b014ce1c72d8b37b074e6d524.jpg" target="_blank" style="margin:0px;padding:0px;color:#002E8C;text-decoration:none;"><img src="https://w.hundan.org/articles/attach/201304/050551469aa2e63b014ce1c72d8b37b074e6d524.jpg" alt="0.jpg" width="600" onerror="javascript:errimg(this);" style="margin:0px;padding:0px;border:none;" /></a>
</p>
<p class="detail" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<br />
</p>
<p class="detail usemasaic" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<a href="https://w.hundan.org/articles/attach/201304/050558468a00eff3b374a28e2ada2d5666da04a8.jpg" target="_blank" style="margin:0px;padding:0px;color:#002E8C;text-decoration:none;"><img src="https://w.hundan.org/articles/attach/201304/050558468a00eff3b374a28e2ada2d5666da04a8.jpg" alt="7_1.jpg" width="600" onerror="javascript:errimg(this);" style="margin:0px;padding:0px;border:none;" /></a>
</p>
<p class="detail" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<br />
</p>
</div>
<h3 class="detailTitle" style="margin:15px auto 0px;padding:5px 0px 0px;font-size:14px;font-weight:normal;width:950px;text-indent:10px;word-break:break-all;overflow-wrap:break-word;border-left:5px solid #999999;color:#000000;font-family:Verdana, "font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;orphans:2;text-align:left;text-transform:none;white-space:normal;widows:2;word-spacing:0px;-webkit-text-stroke-width:0px;text-decoration-style:initial;text-decoration-color:initial;">
漏洞证明:
</h3>
<div class="wybug_poc" style="margin:0px;padding:0px;color:#000000;font-family:Verdana, "font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;orphans:2;text-align:left;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;-webkit-text-stroke-width:0px;text-decoration-style:initial;text-decoration-color:initial;">
<p class="detail" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
1,远程web登录
</p>
<p class="detail usemasaic" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<a href="https://w.hundan.org/articles/attach/201304/050552065aa6a31e2aed5d5dbbfd319995575420.jpg" target="_blank" style="margin:0px;padding:0px;color:#002E8C;text-decoration:none;"><img src="https://w.hundan.org/articles/attach/201304/050552065aa6a31e2aed5d5dbbfd319995575420.jpg" alt="1.jpg" width="600" onerror="javascript:errimg(this);" style="margin:0px;padding:0px;border:none;" /></a>
</p>
<p class="detail" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<br style="margin:0px;padding:0px;" />
2,未登录状况下多个页面可以匿名访问,下面以用户列表举例,如图
</p>
<p class="detail usemasaic" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<a href="https://w.hundan.org/articles/attach/201304/050552298eed7e4deec3bdea9f3b0746234f85c8.jpg" target="_blank" style="margin:0px;padding:0px;color:#002E8C;text-decoration:none;"><img src="https://w.hundan.org/articles/attach/201304/050552298eed7e4deec3bdea9f3b0746234f85c8.jpg" alt="2.jpg" width="600" onerror="javascript:errimg(this);" style="margin:0px;padding:0px;border:none;" /></a>
</p>
<p class="detail" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<br style="margin:0px;padding:0px;" />
3,查询后可列出所有用户名,点重置密码后可以重置任意用户密码为初始密码888888
</p>
<p class="detail usemasaic" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<a href="https://w.hundan.org/articles/attach/201304/05055240d9644fbaf0a10ccd1f60b64bd4041be6.jpg" target="_blank" style="margin:0px;padding:0px;color:#002E8C;text-decoration:none;"><img src="https://w.hundan.org/articles/attach/201304/05055240d9644fbaf0a10ccd1f60b64bd4041be6.jpg" alt="3.jpg" width="600" onerror="javascript:errimg(this);" style="margin:0px;padding:0px;border:none;" /></a>
</p>
<p class="detail" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<br />
</p>
<p class="detail usemasaic" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<a href="https://w.hundan.org/articles/attach/201304/05055255a3612ab34a20883194ca37930645e0c5.jpg" target="_blank" style="margin:0px;padding:0px;color:#002E8C;text-decoration:none;"><img src="https://w.hundan.org/articles/attach/201304/05055255a3612ab34a20883194ca37930645e0c5.jpg" alt="3_1.jpg" width="600" onerror="javascript:errimg(this);" style="margin:0px;padding:0px;border:none;" /></a>
</p>
<p class="detail" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<br style="margin:0px;padding:0px;" />
4,提示成功后返回登录界面工号即登录用户名,使用初始密码即可登录
</p>
<p class="detail usemasaic" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<a href="https://w.hundan.org/articles/attach/201304/05055324a349801124622d14ba7bbd69dadfa659.jpg" target="_blank" style="margin:0px;padding:0px;color:#002E8C;text-decoration:none;"><img src="https://w.hundan.org/articles/attach/201304/05055324a349801124622d14ba7bbd69dadfa659.jpg" alt="4.jpg" width="600" onerror="javascript:errimg(this);" style="margin:0px;padding:0px;border:none;" /></a>
</p>
<p class="detail" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<br style="margin:0px;padding:0px;" />
5,该平台功能比较强大,功能也相当多,再加载ocx后可查看各个生产线的实时运行状态,找到文件上传处即可上传任意文件得到网站的shell
</p>
<p class="detail usemasaic" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<a href="https://w.hundan.org/articles/attach/201304/050554005bd8f38eec1bf6d097de7fcc619bdaca.jpg" target="_blank" style="margin:0px;padding:0px;color:#002E8C;text-decoration:none;"><img src="https://w.hundan.org/articles/attach/201304/050554005bd8f38eec1bf6d097de7fcc619bdaca.jpg" alt="4_1.jpg" width="600" onerror="javascript:errimg(this);" style="margin:0px;padding:0px;border:none;" /></a>
</p>
<p class="detail" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<br style="margin:0px;padding:0px;" />
6,以当前测试服务器的环境来说网络环境位于内网,远程桌面没开,系统装有pcanywhere11.5,被控端启用TCP,监听默认5631端口,尝试下载pcanywhere的.cif密码文件解密后只得到用户名administrator密码无,之后发现系统设置了自动登录并读取到了登录密码,lcx转发5631端口后,本机使用拿到的密码成功登录测试服务器
</p>
<p class="detail usemasaic" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<a href="https://w.hundan.org/articles/attach/201304/0505543290c2a2acafdccc0afc9d74146f64d285.jpg" target="_blank" style="margin:0px;padding:0px;color:#002E8C;text-decoration:none;"><img src="https://w.hundan.org/articles/attach/201304/0505543290c2a2acafdccc0afc9d74146f64d285.jpg" alt="5.jpg" width="600" onerror="javascript:errimg(this);" style="margin:0px;padding:0px;border:none;" /></a>
</p>
<p class="detail" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<br style="margin:0px;padding:0px;" />
7,Syncbase同为科远旗下一款优秀的应用于工业环境的实时/历史数据库,类似上第5条图所述实时监控数据都来自于实时数据库从下端DCS RTU PLC等设备采集上来的
</p>
<p class="detail usemasaic" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<a href="https://w.hundan.org/articles/attach/201304/05055449710be4d883ab6c6ae8e2ed8077996f3c.jpg" target="_blank" style="margin:0px;padding:0px;color:#002E8C;text-decoration:none;"><img src="https://w.hundan.org/articles/attach/201304/05055449710be4d883ab6c6ae8e2ed8077996f3c.jpg" alt="6.jpg" width="600" onerror="javascript:errimg(this);" style="margin:0px;padding:0px;border:none;" /></a>
</p>
<p class="detail" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<br style="margin:0px;padding:0px;" />
8,图中Syncmb用来读取DCS或其他控制设备的I/O测点数据并采用Modbus协议将采集数据进行转发
</p>
<p class="detail usemasaic" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<a href="https://w.hundan.org/articles/attach/201304/0505581204b689036f442d8ac1d9035babd54984.jpg" target="_blank" style="margin:0px;padding:0px;color:#002E8C;text-decoration:none;"><img src="https://w.hundan.org/articles/attach/201304/0505581204b689036f442d8ac1d9035babd54984.jpg" alt="7.jpg" width="600" onerror="javascript:errimg(this);" style="margin:0px;padding:0px;border:none;" /></a>
</p>
<p class="detail" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<br style="margin:0px;padding:0px;" />
8.1,此处我们添加一个名叫test的模拟量,设置驱动,连接地址,扫描周期以及功能码外加寄存器地址,添加成功后我们看到成功采到了数据,然后客户端进行连接测试
</p>
<p class="detail usemasaic" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<a href="https://w.hundan.org/articles/attach/201304/050559284d9bc7843cf4690b84b0590e30cfe261.jpg" target="_blank" style="margin:0px;padding:0px;color:#002E8C;text-decoration:none;"><img src="https://w.hundan.org/articles/attach/201304/050559284d9bc7843cf4690b84b0590e30cfe261.jpg" alt="9.jpg" width="600" onerror="javascript:errimg(this);" style="margin:0px;padding:0px;border:none;" /></a>
</p>
<p class="detail" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<br />
</p>
<p class="detail usemasaic" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<a href="https://w.hundan.org/articles/attach/201304/0506004403618dba21417e931f1713abd48fb82f.jpg" target="_blank" style="margin:0px;padding:0px;color:#002E8C;text-decoration:none;"><img src="https://w.hundan.org/articles/attach/201304/0506004403618dba21417e931f1713abd48fb82f.jpg" alt="10.jpg" width="600" onerror="javascript:errimg(this);" style="margin:0px;padding:0px;border:none;" /></a>
</p>
<p class="detail" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<br style="margin:0px;padding:0px;" />
8.2,寄存器地址和功能码,设备地址,数据长度匹配后,客户端成功采到数据,这里值得一提的是,类似如果我们添加一个可读写的输入开关量,对点的数据进行下置,就该环境而言在上位机与下位机之间没有安全设备,进行转发隔离过滤的话,你懂的
</p>
<p class="detail usemasaic" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<a href="https://w.hundan.org/articles/attach/201304/05060102e390003a269e72d4cd6fc3ce90d7ef1c.jpg" target="_blank" style="margin:0px;padding:0px;color:#002E8C;text-decoration:none;"><img src="https://w.hundan.org/articles/attach/201304/05060102e390003a269e72d4cd6fc3ce90d7ef1c.jpg" alt="11.jpg" width="600" onerror="javascript:errimg(this);" style="margin:0px;padding:0px;border:none;" /></a>
</p>
<p class="detail" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<br style="margin:0px;padding:0px;" />
9,再就当前测试环境来看,下位DCS等控制设备通过网闸与上位SIS相连,而根据网闸不同的设置一般只允许从DCS向SIS发送数据。
</p>
<p class="detail usemasaic" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<a href="https://w.hundan.org/articles/attach/201304/05060339baf20aa1fcf2059eccdd0e01562133ff.jpg" target="_blank" style="margin:0px;padding:0px;color:#002E8C;text-decoration:none;"><img src="https://w.hundan.org/articles/attach/201304/05060339baf20aa1fcf2059eccdd0e01562133ff.jpg" alt="13.jpg" width="600" onerror="javascript:errimg(this);" style="margin:0px;padding:0px;border:none;" /></a>
</p>
<p class="detail" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<br style="margin:0px;padding:0px;" />
10,根据测试系统确认了该环境使用了SysKeeper-2000,配置网闸需要连接串口(http://wenku.baidu.com/view/60451ca0284ac850ad024286.html),因为无网闸管理软件未继续深入,最后通过超级终端确认了串口连接情况。
</p>
<p class="detail usemasaic" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<a href="https://w.hundan.org/articles/attach/201304/05060429a883f9c961f26ee9c84ffe8b129261b9.jpg" target="_blank" style="margin:0px;padding:0px;color:#002E8C;text-decoration:none;"><img src="https://w.hundan.org/articles/attach/201304/05060429a883f9c961f26ee9c84ffe8b129261b9.jpg" alt="14.jpg" width="600" onerror="javascript:errimg(this);" style="margin:0px;padding:0px;border:none;" /></a>
</p>
<p class="detail" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<br style="margin:0px;padding:0px;" />
11,以及内网多台重要业务服务器密码整齐划一,安全风险极高
</p>
<p class="detail usemasaic" style="margin:0px auto;padding:5px 12px;font-size:13px;width:870px;line-height:25px;word-break:break-all;overflow-wrap:break-word;">
<a href="https://w.hundan.org/articles/attach/201304/050605163876cdadaa1cf17060bd363ad986177b.jpg" target="_blank" style="margin:0px;padding:0px;color:#FF6600;text-decoration:underline;"><img src="https://w.hundan.org/articles/attach/201304/050605163876cdadaa1cf17060bd363ad986177b.jpg" alt="15.jpg" width="600" onerror="javascript:errimg(this);" style="margin:0px;padding:0px;border:none;" /></a>
</p>
</div>
<!--EndFragment-->
页:
[1]