EU Cyber Resilience Act and RISC OS
Steve Pampling (1551) 8170 posts |
I thought that the Sabrelite emulation might do for first playground. |
Paolo Fabio Zaino (28) 1882 posts |
Hummm, not sure TBH, looking at sabrelite sources, it’s an IMX6, which means probably reusing the HAL for the mini.m , but the sabrelite seems to have some option set by default that may cause some issue: sabrelite_binfo.secure_boot = true; However it can be configured to load on core 0: if (!qtest_enabled()) { arm_load_kernel(&s->cpu[0], machine, &sabrelite_binfo); } Which I think it’s what is happening on the mini.m (IIRC). it may be usable yes. |
David Pilling (8394) 96 posts |
“the Investigatory Powers (Amendment) Bill…” Expect a new law making RISC OS compulsory. |
Rick Murray (539) 13840 posts |
I’m sorry, I wasn’t able to make it beyond BE IT ENACTED by the King’s most Excellent Majesty without cracking up.
Which part(s) in particular would imply this? 1 What happens, for example, when it’s a British developer working on something used in other countries? Especially given as they may (as in the case if this EU law passes) require holes to be patched in a ridiculously short manner 2.
Just slap a union flag on it and call it “Best of British”, job done. 1 That’s not to say they wouldn’t, I don’t trust that group of degenerate muppets any further than I could throw one of them. But surely even they aren’t stupid enough to put a requirement like that in writing? 2 The short window between first report and expected fix will act as a chilling effect on bug fixing. Nobody will want to diagnose and correctly fix problems because that might take too long and penalties… so it’ll just be a bit of virtual gaffer tape stuck on to make the reported problem go away. A few cycles of that and… ugh. |
James Pankhurst (8374) 126 posts |
Sounds like a job for me! If it doesn’t work, disable or remove the feature. Can’t have bugs if there’s nothing there to go wrong. |
David Pilling (8394) 96 posts |
Seems Tech body thinks so: https://www.politico.eu/article/uk-bulking-up-spying-regime-breakneck-speed/ |
Paolo Fabio Zaino (28) 1882 posts |
Sorry, didn’t we quit all that to get back control? Oh wait, no we can’t quit local regulations if we want to sell stuff to folks in their own countries (someone should have told this to the “exitiers” I think). Sorry for the sarcasm, not addressed at you at all, but things are getting more and more complicated for an international-UK has it was defined by the red-bus folks. The CRA will impact UK business potentially heavily, you are correct, also because it contains elements of remote data processing, so even on main land datacenters, if such services are willing to sell to EU customers. However, the only impact it should have on RISC OS is on whatever is identified as “sales” or “funding”. I am not aware of RISC OS paid Cloud services (yet!). For what concern UK businesses, things can be quite complicated, given here we’ll need to follow (or comply) with our specific regulations, plus the regulations in each country we want to sell stuff (this is literally a “Brexit benefit”! I know crazy, but a small country can’t impose its own regulations to bigger countries or unions, yup no one thought of that in 2016!) So, we have a combinations of laws and regulations which (generally) have to be looked at “together” to figure out what a business can and cannot do and how they should deal with cyber security: Computer misuse Act (1990), PECR – Privacy and Electronic Communications Regulations (2003), UK eIDAS – Electronic Identification and Trust Services for Electronic Transactions Regulations (2016), UK NIS (2018), Telecommunication Security Act (2021) and the new National Cyber Strategy (2022). Basically, depending on the business-type, one should look into one or more of them with Computer misuse Act and NIS + NCS applies basically to everyone. When compliant with the required UK regulations, then one has to make sure we are also compliant with the local regulations in the country where we want to sell our products or services. So, I wonder how we’ll deal with the good point you made… like, keep a switch that can be turned on and off depending on the gov requesting access, and then having to protect that switch at all costs to avoid becoming non-compliant with the rest of the regulations’ rules local and “worldwide” because cybercriminals discover the switch and use it too… oh boy! |
Steve Pampling (1551) 8170 posts |
Quite wise on the trust front, but would really want to try handling any of them without full PPE?
Have you seen any indication that they aren’t?
The main complaint about me is that I tend not to “give up” and thus delay things until they aren’t too flakey to give a decent service. |
Steve Pampling (1551) 8170 posts |
No, Brexit was all about lining the pockets of Tories and their funders.
Part of the raft of stuff that the Remain campaign pointed out was a reason no to leave, stupidly assuming quiet fact speaking could knock down a set of loud, repeated lies. |
Rick Murray (539) 13840 posts |
Speak for yourself, maybe. ;) I didn’t get a vote, and if I had it sure as sunshine 1 wouldn’t have been for that. Given that the government tended to lose 2 in the ECHR 3, what they meant was “vote so we can take back control”. Us little people? Look at Kate’s lovely dress! (…and STFU)
There appears to be a curious omission for “software as a service”, which might exempt cloud-enabled software…which, I dunno, might have thought would be one of the things where online security might have actually been rather important? I smell the rancid whiff of brown paper enchiladas. 4
http://shop.elesar.co.uk/index.php?route=product/product&product_id=66 Native filing system module that connects to a cloud service. With respect to the CRA, that surely has “oh crap” written all over it.
Grab a bag of popcorn, sit back, watch the brown stuff splatter.
Yup. That’s why anybody who mandates back doors (because think of the children!) should be barred from public office, barred from voting, and just generally not allowed to play with the adults in the room.
Ah, yes, the simple succinct madness mantras. Like the one on the podium when Rish! speaks. People are on strike, energy bills are beyond a joke, the UK is the most unequal country in Europe (and getting worse), and possibly the most regionally unequal rich country in the world. 6 Do they really think people actually care that much about “the boats” when they’re struggling to feed themselves, and wondering if their children’s schools are safe?
And not an actual investigation as yet, but funny how many assigned contracts, if one follows the money, seem to end up at a company own, managed, or overseen by the PMs wife or Infosys (the PM’s wife’s father is one of the founders). It’s as if whatever flavour of English the Tories speak (probably Middle English 7 if Rees-Mogg has any say in the matter) doesn’t have any dictionary definition for the word “corruption”. 1 I was going to write “sure as hell”, but then thought about the logic failure of suggesting a high level of certainly upon a place that I don’t believe exists… 2 I think it was actually about fifty-fifty, but you don’t hear about the cases won, you only hear endless screaming about the vast amounts of public money spent on trying to get rid of this one guy that they never should have let into the country in the first place. 3 Which isn’t the EU, but it has Europe in the name and that’s close enough. I wish I was joking, but I’ve had this exact same discussion with multiple people in the past eight years. They voted to leave the EU when they aren’t capable of saying what the EU actually is. 4 I wanted to write “envelopes”, my phone thought I meant “enchiladas”, and since I’m eating homemade spicy chicken tortillas (Old El Paso kit), I thought “close enough”. ;) 5 NSO, Pegasus. 6 https://www.economist.com/britain/2020/07/30/why-britain-is-more-geographically-unequal-than-any-other-rich-country (only the first few paragraphs, paywall…) 7 Chaucer. |
James Pankhurst (8374) 126 posts |
Corruption : noun |
David J. Ruck (33) 1635 posts |
Lets get back on topic, and leave out the political moaning we’ve heard a hundred times before. |
Paolo Fabio Zaino (28) 1882 posts |
That is certainly an interesting pick, but the Cloud side will be on pCloud, not Elasar, although if the client side most likely implement the open source API provided by pCloud themselves.
Agreed, but I think at this point the “ball” is in the hands of the business (if they want to sell their goods to EU residents and citizens), given there are clear stated rules for the free side, most (if not all) of what we do/done is going to be fine. Paid support, sold products or services will most likely need (at the bare minimum) to implement the processes required and hope for no one to ever consider RISC OS (or any of the stuff we developed on it/ for it), otherwise those business will have to take actions on the fixing/resolving the found vulnerability (which in the case of RISC OS it’s pretty much everything). If that happens, then serious problems may arise, given it’s really hard to secure RISC OS and RISC OS based products. On a side note, I have been working also on a byte code interpreter that does implement a security model, where users can configure what a byte code app can and cannot do on a system, but, given it still under active development, it will take a while to a) be available and b) be fully test the security model. However it does have full memory protection and a lot of security practices in the code already, so maybe… To restrict traditional apps full emulation is required, tools like AEmulor do not grant isolation and compartmentalization. Another way is to leverage an Hypervisor, but that would require an hypervisor that already fully support either a Dom0 or support integrating the desktop to provide a convenient and cohesive experience and ensure that an App IS isolated from the rest of the OS. Now all of this requires a lot of work, so, personally I don’t think it’s going to happen. Not sure if there are other ideas or possibilities. |
Rick Murray (539) 13840 posts |
As long as the situation persists, it should be called out. To dismiss with “we’ve heard this before” normalises it.
Are you sure about that? Reminder: “‘product with digital elements’ means any software or hardware product and its remote data processing solutions, including software or hardware components to be placed on the market separately;”
Yup – open source only and not making any money from it, directly or indirectly. So say goodbye to those “Sponsor my hosting” or “Buy me a coffee” buttons.
Which is why the result will be an unholy mess of patch upon patch. If product A has a problem that might be an OS issue, the logic thing is to work with somebody to work out what is actually going on, devise a fix, perform regression testing… When I fixed the timezone bug in CLib which was painfully obviously it calling the wrong SWI by mistake, I had to test (via emulation) everything back to 3.10 (because that’s still supported by CLib), and I had help for the 4.x versions that I don’t have. Under the new rules, time isn’t an option, so people will just patch over the problem.
I don’t see how it’s possible to run anything “secure” on an OS that has a system call designed to give the caller kernel level access and by design runs third party extensions with those same privileges. Like I said, grab 🍿… |
Steve Pampling (1551) 8170 posts |
Stepping away from RO, how compliant would you say Windows was in regard to isolation and compartmentalisation? |
Rick Murray (539) 13840 posts |
Exactly it. Two things are liable to happen as a result of this:
And don’t be fooled by believing the EU is too big a market to lose, when the cost of penalties risks exceeding the potential for profit, they’ll walk. It would have been much better if the first incarnation of this law was aimed solely at firmware, that is to say software embedded within devices, rather than trying to be a catch-all for everything. |
Paolo Fabio Zaino (28) 1882 posts |
We just mentioned to stay on topic… (sorry not trying to be rude Steve). However, you are obviously aware of the full memory protection offered by Windows, it’s permissions architecture and, I assume, you are also familiar with the new architecture that both Windows 10 and 11 implement where the kernel is effectively executed in a VM right? If that’s not enough for your own standards, remember Windows can run containerized applications now. So, if you’re trying to compare Windows with, let’s say, QubeOS, then yes MS Windows doesn’t have the same level of compartmentalization as QubeOS offers, but certainly Windows do have plenty of measures to protect itself and 3rd party code. Now, I am aware than some folks hates Windows in the RO community, so I am not trying to sell you Windows, that is your own choice to make, not mine. But in answer to your question, yes Windows DOES offers a certain degree of isolation and compartmentalization. As a general rule, RISC OS should be considered a toy OS compared to Windows, Linux and macOS (if nothing else) on the matter of security. So, not sure why this question in this thread and how it would help about evaluating the impact of EU’s CRA on RISC OS, but to copy Rick’s good humor here:
Exactly it ;) at least for the folks that dream of RO taking over the world (I’d certainly be worried if such a thing would even be possible ahahaha!) Now that certainly helps. So, maybe it’s time to give up on “profits” using RISC OS ? (Oh dear I guess this will enrage many, sorry if it does!) Another option as mentioned by Rick is, companies will just stop selling RISC OS goods to EU, between 10 sold items and what 6 or 7? It’s not life changing. [edit] For the non-tech savies let me translate this sentence from Steve: I can run something like Fiddler, as a service, sending the connection details and content over to another device on the network, and then replay the sequence. What he meant is: While on RISC OS: This also answers original Theo’s point BTW. HTH [/edit] |
Steffen Huber (91) 1953 posts |
Actually, no. The user decides – I always open archives with Ctrl-Shift-Double Click. And yes, this is non-obvious functionality and doesn’t make RISC OS a safe OS :-) |
Rick Murray (539) 13840 posts |
Windows has holes. Less than before, but I bet it’s still possible to pwn a machine with an intentionally busted WMF (yet again) because some of the bugs in GDI date back to the Windows 3 days… Why d’you think Patch Tuesday is a thing? Why d’you think it’s a big deal when older versions of Windows become EOL? (given the number of “solutions” sold with older versions embedded, like self-scan tills, price check gizmos, photo kiosks, etc etc etc)
Microsoft made that same mistake too. On a machine that defaulted to have the user be the administrator. For a company the size of Microsoft, that was dumb.
Well, there’s your first hurdle. ;)
Hmm, maybe there should be a third party module to hijack the running of !Boot files to allow certain whitelisted things to happen. Icon sprites and filetypes, yes. Anything else, no.
Depends upon your target market and how much is business within the EU. |
Steve Pampling (1551) 8170 posts |
Bloodgas analysers, biochemistry analysers, renal dialysis machines – oh, look we’re back to the bit about “the FDA won’t allow…” (they will but the b’stds don’t want to pay for the recertification, despite the cert only being valid if the OS is fully patched) |
David J. Ruck (33) 1635 posts |
There is no evidence of any reduction in the inexhaustible torrent of Windows security vulnerabilities.
One of the tiny number of RISC OS AntiVirus products attempted to do that, it wasn’t very popular as it broke some early applications which ran programs to determine machine configurations before claiming filetypes etc. |
Paolo Fabio Zaino (28) 1882 posts |
Hahah, true, RISC OS can’t do performant networking, but data leaks aren’t done in TERABYTES per seconds lol, a common technique is to have very slow data transfers to hide between the network noice, on RISC OS this technique is not needed ;)
A solution is to stop using Obey for Apps !Boot and, instead, solve it as Apple solved it too (yes a macOS App has the equivalent of RISC OS App !Boot), use a declarative language for !Boot, like JSON, XML, INI whatever as long as it can’t run commands. I made a specification for a potentially useful protocol for it, just for fun. Maybe it’s worth sharing it, but given the desire to keep things as they have all been, maybe that will just steer emotional reactions, so not worth the pain of formalization I think. However, when you solve !Boot issues (again the use of shift-click IS NOT the solution to the problem, because if one forgets, or if your wife, kid, nephew don’t follow it, you’re screw anyway), then you’ll have the !Run issues, or the lack of memory protection issues, or the direct kernel access issues, or the SWI that do not check parameter ranges issue, or the architecture that is not designed for tolerance and resilience issue… But, limiting attack surface is probably worth exploring on RISC OS, if nothing to avoid the most obvious hacks and so make the thing a little more resilient .
Let me rephrase your sentence: EVERYTHING has holes, not just Windows. But there is NO comparison between the level of security Windows has in this day and age to what it had 20 years ago. Which brings us to Steve’s point:
Yes, there is a business (in some cases pure extortion) on making customers pay extra for security, but this is done everywhere even on Linux. On top of that, you are correct, many companies either stuck in the past and forces customers also to stuck (which the EU CRA should address) OR it’s the customers that are unwilling to redo an investment to upgrade (there is also this). Now, that is a serious issue (the whole lot of situations I mean). There is an ongoing debate if software engineering is still Engineering, in the sense of comparison with Engineers that have to design and build bridges which needs to be safe and secure and hold for years against weather and aging process. While software is more and more a very short time living thing. Should we drop the engineering title in favor of something more keep to a restaurant or something? Or should we start designing software and hardware to last for decades? A complete different topic, but if of interest we can open it. Maybe the EU CRA and more regulations that will follow, will make the agile/restaurant approach to software engineering not convenient anymore (but I doubt it, with folks needing more and more features as we breath literally). P.S. I dont’ want to look like a Windows advocate, as a matter of fact I am actually a Linux user (and BSD) mostly, and use macOS for music, so really not a Windows user, however there have been improvements on Windows over the years that can’t be denied. [edit]
Some data is available at the link below, although if is difficult to track number of vulnerabilities discovered vs solved, from the number of vulnerabilities reported for each release we can guess that Window 10 22H2 is more secure than previous releases, however again this is a guesstimation!!!! https://www.cvedetails.com/product-search.php?vendor_id=0&search=Windows Obviously, vulnerabilities will always be discovered for products that keep moving forward, it’s a fact and there is nothing anyone can do about it. This is true for Windows, Linux, macOS (Apple recently had to release a urgent patch set for a set of zero days on macOS and iOS that were even found being actively exploited int the wild), BSD and whatever application or program out there. [/edit] |
Rick Murray (539) 13840 posts |
XP is when the regular OS updates thing really started to take off. I’m assuming that the patches actually fixed things, and wasn’t Microsoft randomly breaking the printing services just to mess with us.
Yup. The ages old question: Security or Convenience, pick one.
Non viable. Far too much legacy baggage, there’s currently no suitable replacement, and you know if it is “better than BASIC” then people will want to start to use it for actual programs and, well, then it’ll gain the ability to run * commands and, oh look, back where we started. ;) [plus RISC OS in general is rather resistant to change, just look at attempts to get Switcher to do something with a right click that isn’t “what the left click does”]
Oh, are we back to rewriting it already? Maybe we ought to make it 64 bit while we’re at it? 😂
Completely true, but Windows is perhaps the most widely used closed source OS that is known for its many security holes.
Well, when it’s a piece of important hardware and a mundane update costs hundreds of thousands (because they can), then the customer might decide that that sort of investment is better spent elsewhere. Customers, both private and commercial, are not endless cash cows to be milked (even if everybody and their mangey kitten is shifting to a subscription model in order to try to extract lactation).
There are places where calling yourself a software engineer can get you into a lot of trouble as they treat “engineer” as a protected classification (meaning you need to be an actual engineer and not some random guy with a keyboard and pretentions).
…will make the EU a technological backwater (more than it already is – the top ten software companies, tech companies, etc; how many are in the EU? they can’t even point at ARM any more because Brexit) They should be cracking down on the lack of ongoing product support, certainly; but at the same time championing open source, and in particular exempting individuals who release their software for free (open or closed) regardless of whether they also sell printed user guides or have a Patreon as those sorts of things are optional and up to the user to decide. |
Paolo Fabio Zaino (28) 1882 posts |
Very true, Italy is one of those places. To have engineer title you must successfully complete 5 years of university and then have an extra amount of years of practice and habilitation exam before you can claim the title. But then again, yes an Italian engineer invented the first microprocessor, but after than I am not sure how much computer science progress we have contributed across the decades. So, I’d say there are issues on both sides. Certainly making software without knowing what one is doing (Agile) and try to make it quick (Management insane demands) is NOT engineering. Imagine a bridge or a building designed and built using Agile methodologies and being in a hurry to release an MVP (Minimum Viable Product) ahahaha :D
This is a complex subject Rick. I agree with you, but the entire economy is based of “continuous buy/sell” process. See the same customers you’re talking about use servers to make money themselves, so why should they charge others if we are all not endless cash cows? As an Italian, I constantly get reminded of the quality of Roman’s roads and I constantly have to remind every time that if we would build things to last 2000 or more years, we would have to change the economy completely. How those folks that work on building roads would live? Building more roads? Don’t we have already too many and we are causing environmental issues? (this btw applies to computers as well). Don’t get me wrong, I am not arguing with your statement, but it’s since the beginning of the 90s that the true business behind tech companies has been endless growth. At the beginning it was Microsoft game of acquisition, then it re-incarnated in other various forms to end in what Meta/Google/Apple and others have created in the last 25 years, where growth is pushed beyond reasonable numbers. This has been desired by investors and pushed and encouraged, now we seems to be observing a new age were a lot of these tech giants are being left without oxygen, but then again, AI is milking investors (so still old school endless growth on the market). Companies like Amazon, Twitter, Instagram and many others have deficit in their balances, but they got funded for decades purely for gaining more users! I am all up to change the economy into something more sustainable for both humanity and the planet, however at this point we have really gone completely off topic ahaha , so I stop, sorry! |
Simon Willcocks (1499) 513 posts |
Come on, that’s not what Agile is. Nobody expects civil engineers to move a bridge 20m to the left or put a roof on it half way through a build, but that’s the sort of thing customers expect of software. Agile is not knowing exactly what your customers want (because your customers never know exactly what they want), but converging on a solution that is what they want with the minimum of wastage. |