卡西米尔·舒尔茨与汤姆·博纳_所有这些不安全的序列化格式让我们陷入困境.pdf

编号:175548 PDF 43页 2.20MB 下载积分:VIP专享
下载报告请您先登录!

卡西米尔·舒尔茨与汤姆·博纳_所有这些不安全的序列化格式让我们陷入困境.pdf

1、#BHUSA BlackHatEventsWe R in a right pickle with all these We R in a right pickle with all these insecure serialization formatsinsecure serialization formatsSpeaker(s):Kasimir Schulz&Tom Bonner#BHUSA BlackHatEventsIntroductionKasimir SchulzPrincipal Security Researcher at HiddenLayerlinkedin/in/kasi

2、mir-schulzSocials:abraxus7331Tom BonnerVP of Research at HiddenLayerlinkedin/in/thomas-j-bonnerSocials:thomas_bonner#BHUSA BlackHatEventsIntroduction Weve been investigating machine learning libraries and file formats Theres a huge problem with deserialization of“untrusted”data Were going to focus o

3、n Pickle and R,but its by no means limited to these formats#BHUSA BlackHatEventsWhy pickle?Its been done!-Marco Slaviero,Sour Pickles in 2011 13 years,many new python versions,a major lack of awareness and several pickle updates later#BHUSA BlackHatEventsWhy pickle?Still the big red warning Pickle u

4、sed for ML models,IPC,RPC,etc.More vulns than ever Mythic/CobaltStrike/Metasploit Anti-malware scanners are getting in on the act Cat and mouse game#BHUSA BlackHatEventsPickle recap Stack based virtual machine processing byte code Interleaves instructions and data Has a stack and memo(like registers

5、)Code exec via GLOBAL,STACK_GLOBAL,INST,and REDUCE opcodes#BHUSA BlackHatEventsPickle recapimport pickleclass Eval:def _reduce_(self):return eval,(fprint(pwnd!),)pickle.loads(pickle.dumps(Eval()_reduce_ returns callable+args tuple to reconstruct the object 0:x80 PROTO 4 2:x95 FRAME 42 11:x8c SHORT_B

6、INUNICODE builtins 21:x94 MEMOIZE (as 0)22:x8c SHORT_BINUNICODE eval 28:x94 MEMOIZE (as 1)29:x93 STACK_GLOBAL 30:x94 MEMOIZE (as 2)31:x8c SHORT_BINUNICODE print(pwnd!)47:x94 MEMOIZE (as 3)48:x85 TUPLE1 49:x94 MEMOIZE (as 4)50:R REDUCE 51:x94 MEMOIZE (as 5)52:.STOPhighest protocol among opcodes=4#BHU

友情提示

1、下载报告失败解决办法
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站报告下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。

本文(卡西米尔·舒尔茨与汤姆·博纳_所有这些不安全的序列化格式让我们陷入困境.pdf)为本站 (张5G) 主动上传,三个皮匠报告文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三个皮匠报告文库(点击联系客服),我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。
客服
商务合作
小程序
服务号
折叠