Re:‘Zero-click’ hacks are growing in popularity
by NohatCoder on Saturday February 19, 2022 @10:51AM
(#30397966)
Nothing wrong with Rust, but I still think making operating systems with airtight sandboxing and proper permission enforcement is the only thing that can truly solve these issues.
[ Parent
| on HN ]
Re:‘Zero-click’ hacks are growing in popularity
by rcxdude on Saturday February 19, 2022 @11:19AM
(#30398198)
Only if the barriers have a finer resolution than a single application. Most applications need access to more than enough data to cause problems in the case of an exploit. You need sandboxing between different components of the application as well.
Re:‘Zero-click’ hacks are growing in popularity
by jl6 on Saturday February 19, 2022 @10:55AM
(#30398001)
Still not enough, because apps still need to interact with the outside world, so there would have to be intentional holes in the sandbox out through which the compromised app could act maliciously.
Re:‘Zero-click’ hacks are growing in popularity
by NohatCoder on Saturday February 19, 2022 @01:26PM
(#30399242)
That is why you need a well designed permission system. Android and iOs had a chance of doing this in a time when the requirements could reasonably be understood, but I don't think either came close.
Re:‘Zero-click’ hacks are growing in popularity
by anon_123g987 on Saturday February 19, 2022 @10:59AM
(#30398035)
And what language should we use to create such an OS? Maybe Rust?
Re:‘Zero-click’ hacks are growing in popularity
by NohatCoder on Saturday February 19, 2022 @01:16PM
(#30399158)
It is a better choice than C++ for sure.
Re:‘Zero-click’ hacks are growing in popularity
by malwarebytess on Saturday February 19, 2022 @07:31PM
(#30401960)
May I humbly suggest Holy C?
Re:‘Zero-click’ hacks are growing in popularity
by azinman2 on Saturday February 19, 2022 @12:35PM
(#30398804)
Look at how often V8’s sandboxes get exploited. It’s all developed by humans, which means there will always be errors.
Saying just make airtight sandboxes is like just write bug-free code.
Re:‘Zero-click’ hacks are growing in popularity
by NohatCoder on Saturday February 19, 2022 @01:39PM
(#30399345)
It is a tradeoff. Making an airtight sandbox is not that hard. Making it run programs near hardware speed is a lot harder. Making it run legacy machine code is a nightmare.
JavaScript is not machine code, but still a good deal harder to make fast than a language designed for fast sandboxing. Of course there have been bugs, but mostly I think the JS VMs have done a pretty good job of protecting browsers.