【转】Raw Sockets Gone in XP SP2

简介: Raw Sockets Gone in XP SP2 - Thursday 12 August, 2004, 2:07 PM http://www.interact-sw.co.uk/iangblog/2004/08/12/norawsockets    Well, not stric...

Raw Sockets Gone in XP SP2 - Thursday 12 August, 2004, 2:07 PM

http://www.interact-sw.co.uk/iangblog/2004/08/12/norawsockets 

 

Well, not strictly gone, but their power has been reduced in certain respects.

While it might make Steve Gibson happy, I'm not utterly delighted by this particular change service pack 2 brings to Windows XP.

Security expert and fellow DevelopMentor instructor Dominick Baier drew my attention to the fact that Windows XP service pack 2 (which I just installed) reduces the power of raw sockets. This has had no direct impact on me, since nothing I did uses raw sockets. But there are a couple of groups of users that this will affect.

The good news (and the justification for the removal of the feature) is that this change will prevent certain network attack tools used by crackers from running on Windows XP. These tools are easier to write if you have a full raw socket facility. But it won't impede them much of course - presumably they'll just go and use some other operating system. The limitations on the raw socket facility in Windows XP don't make XP any more or less vulnerable, they just make it slightly less suitable as a platform for launching certain kind of attacks. But that really won't stop a determined hacker - it's not like it's that hard to find an OS that supports full raw sockets. Linux supports them for example. (So if Steve Gibson was right in his original rather sensationalist article, Linux will now supplant Windows XP as the "denial of service tool of choice for internet hackers everywhere" as he put it... Not that Windows XP ever fulfilled his prophecy of doom, as far as I know.)

In fact there's no reason a cracker couldn't add the functionality back into Windows if they're prepared to write a suitable device driver. I don't think there's anything stopping you writing a kernel mode device driver that plugs into the NDIS stack and communicates directly with the network card device driver. That would let you send any ethernet packet you like, which would give you at least as much power as the original unencumbered raw sockets API. (In practice they'll probably just use an OS such as Linux which still supports the feature.)

The other group this affects is security professionals - the restriction of the raw sockets API prevents certain penetration test tools from running. For example, Dominick pointed out that certain features of nmap won't work on Windows XP once you've installed service pack 2. This means you can no longer use Windows XP to discover whether a particular system on your network is vulnerable to certain kinds of attacks.

The justification for limiting raw sockets is that they provide a tool for the attackers. That sounds reasonable enough until you realise that raw sockets are also a tool for the defenders. Now that I've installed service pack 2 I'm deprived of ability to use this tool to defend myself, unless I have some other systems around that still support raw sockets. Meanwhile I can be absolutely sure that those who would attack my networks *do* have systems that support raw sockets.

So this change appears to have made Windows XP less useful for detecting security flaws without putting up any significant new barrier to determined attackers. Doesn't that make me less secure, on balance?

(Of course this is just a minor niggle - on the whole, I think the security improvements of XP SP2 are a Very Good Thing!)

目录
相关文章
|
机器学习/深度学习 数据建模 数据挖掘
数据建模是什么意思?如何进行数据建模?
数据建模是什么意思?如何进行数据建模?
956 2
|
10月前
|
自然语言处理
高效团队的秘密:7大团队效能模型解析
3分钟了解7大团队效能模型,有效提升团队绩效。
1033 7
高效团队的秘密:7大团队效能模型解析
|
存储 人工智能 弹性计算
对话阿里云吴结生:AI时代,云上高性能计算的创新发展
在阿里云智能集团副总裁,弹性计算产品线负责人、存储产品线负责人 吴结生看来,如今已经有很多行业应用了高性能计算,且高性能计算的负载正呈现出多样化发展的趋势,“当下,很多基础模型的预训练、自动驾驶、生命科学,以及工业制造、半导体芯片等行业和领域都应用了高性能计算。”吴结生指出。
|
机器学习/深度学习 数据采集 自然语言处理
如何使用 Word2Vec 模型进行情感分析?
【10月更文挑战第5天】如何使用 Word2Vec 模型进行情感分析?
278 3
|
12月前
|
边缘计算 人工智能 安全
探索边缘计算:定义、优势及未来趋势
探索边缘计算:定义、优势及未来趋势
|
监控 固态存储 算法
如何进行硬盘碎片整理?
【10月更文挑战第1天】如何进行硬盘碎片整理?
747 2
|
SQL 人工智能 自然语言处理
AI战略丨蓝凌 + 通义千问,让知识管理产生新质变
“知识管理 + 大模型”落地通常不是简单的 1+1=2 的公式。
|
存储 XML JSON
高效的网络传输协议设计protobuf
高效的网络传输协议设计protobuf
550 1
|
小程序 关系型数据库 MySQL
基于Python和mysql开发的看图猜成语微信小程序(源码+数据库+程序配置说明书+程序使用说明书)
基于Python和mysql开发的看图猜成语微信小程序(源码+数据库+程序配置说明书+程序使用说明书)
392 0
|
存储 数据处理 索引
将物模型数据导出到本地并保存为Excel文件
将物模型数据导出到本地并保存为Excel文件
560 3