* Posts by Loyal Commenter

5761 publicly visible posts • joined 20 Jul 2010

Rookie's code couldn't have been so terrible that it made a supermarket spontaneously combust... right?

Loyal Commenter Silver badge

Re: Copmputer room shutdown

I seriously hope that "electrical work" was fitting a UPS!

BOFH: 7 jars of Marmite, a laptop and a good time

Loyal Commenter Silver badge
Boffin

Re: Surprise!

Indeed, I was expecting something more, ahem, current?

Loyal Commenter Silver badge
Holmes

Re: Does what it doesn't say on the tin

Any true Englishman buys their marmite in 600g tubs from a wholesaler.

NTT boffins reckon they’ve out-randomed current quantum random number generators

Loyal Commenter Silver badge

Re: Diode

I would imagine this then gets turned into 1s and 0s by doing something like measuring how many electrons tunnel in a given time interval, and assigning this a 1 or 0 depending on whether it is above or below a certain threshold, which would be at the middle of the normal distribution.

This is all well and good, but such things vary with temperature, with electrons tunnelling more frequently at higher temperatures.

If you can keep them strictly temperature controlled, you could scale them out for a higher bitrate. Diodes are cheap, and you can stick a hell of a lot of 'em on one chip.

Loyal Commenter Silver badge

Re: Diode

Does a noisy diode give you a truly random stream of 1s and 0s though?

Statistically, if a bit stream is truly random, there is no way of predicting what the next bit will be, or even how likely it is to be a 1 or a 0.

I suspect a noisy diode may not be truly random (but random enough for many applications). For example, if you are sampling at a known interval, you may be more likely to get a series of the same bit than not (for example 0000 or 1111 may be more likely than 0101 or 1010, whereas with a true random distribution, each of these sequences should be equally likely), or if looking at the time between flipping between 1 and 0, the distribution may not be random, or may change over time, or with temperature, so that it cannot be normalised against a known distribution, which would bias the distribution towards more 1s or more 0s.

For most applications, where you probably just want a bit of randomness, but it's not critical that it's truly random, this isn't important. For cryptographic purposes, it is very important. For instance, if it is known that a source of randomness frequently gives long sequences of the same bit, this could drastically reduce the expected time to brute-force a key, by focusing on keys with repeated bits in first. Ditto for if it is known to give 60% 1s and 40% 0s.

Loyal Commenter Silver badge
Paris Hilton

Re: Silly

What the actual shuddering fuck are you talking about, man?

To those of us who have studied the physical sciences, you might as well be talking about harmonising your chakras through the use of magic crystals. It sounds like your base chakra might need recharging; if you bend over, I'll get my rubber gloves on and insert one for you.

Ever felt that a few big tech companies are following you around the internet? That's because ... they are

Loyal Commenter Silver badge

Re: Not quite true

You can have your site hosted on Azure, sure. You'll probably be using your own domain name as well, so nothing need be loaded from any Microsoft domain, certainly not any other than the azure domain(s).

The same goes for AWS - you might need to load some "cloudy" stuff from an AWS domain, if that's where your hosting is, and you don't have something sat in-between on your own domain, but you sure as hell don't need to be doing so from an Amazon one.

The whole point of these hosted environments, is that it's your data in your environment, hosted by Azure, or AWS, or whatever. If MS or Amazon started poking around in those environments then people would stop using them and involve the lawyers pretty quickly.

As I said in another post, there's nothing to stop the web back-end of any site from sending your data on to anyone else they like in a technical sense. In the EU, there's GDPR to make it a very expensive mistake to do so, and in the UK as well, for the time being, until the extreme free-marketers in government take those protections away.

Loyal Commenter Silver badge

Re: Dogfood

I have Adblock Plus running as well, they are probably cookies from the adverts that aren't being loaded. As far as I am concerned, ads are nothing more than malware vectors.

Loyal Commenter Silver badge

Re: Not quite true

Plus, of course, there's no way of knowing whether the site in question is passing any or all of that tracking information onto other companies through the back-end; this only applies to things they try to load into your browser, which, as you correctly point out, anyone with any sense is blocking already.

Loyal Commenter Silver badge

Re: Dogfood

NoScript is currently blocking the following on this site:

doubleclick.net (ad spewer)

google-analytics.com (creepy tracker)

googletagmanager.com (also creepy tracker)

As far as the number of things to block to avoid tracking, El Reg is by no means the worst of the news sites. The Independent, for example, has a good two dozen various domains it pulls things from, some of which are obvious advertisers/trackers (there's not a lot of difference between the two any more), some are more opaque.

As a rule, I have everything blocked by default, and then if the web site doesn't work, I allow domains one-by-one. If it won't work without me allowing a domain I have previously explicitly blocked (such as doubleclick), then it's pretty obvious that the purpose of the site is to get advertising revenue, and not to provide any useful information, and I go elsewhere. The same goes for any site that has an "ad-blocker" popup. If it can't be easily removed by hitting F12 and setting the display attribute to none, then I'll go elsewhere.

I'm certainly not going to let any scripts run from such dubious sites as the Daily Heil, the Scum, or the Ex-press, so if something directs me to one of them, I figure I can find the actual information elsewhere anyway, without having to read past the right-wing editorial and interpretation of the facts.

Forget GameStop: Keyboard warriors and electronic trading have never mixed well

Loyal Commenter Silver badge

Re: Ignisecond, n.:

I'm assuming that this was somewhere where you couldn't just dial 100 for the operator? I think that still exists, although I believe it stopped being free long ago, when BT, as a no-longer-publicly-owned entity decided it was something that could be charged for...

UK watchdog fines two firms £270k for cold-calling 531,000 people who had opted out

Loyal Commenter Silver badge

Re: Fines are not fine

It probably means that the individual fines in the US are much higher, like their habit of awarding $Xmillion damages in civil court cases, and handing out prison sentences totalling multiple lifetimes.

Loyal Commenter Silver badge

Re: The scams will continue until things change....

Registering as a director of a company whilst banned should be a criminal offence, as is, for instance, driving whilst banned. Arguably, it's just as dangerous to the public, if not more so.

Loyal Commenter Silver badge

Re: The scams will continue until things change....

Well, the ICO did also essentially say that they probably won't bother to use those powers, so carry on, as you were...

Loyal Commenter Silver badge

Re: The scams will continue until things change....

...the company went bust in March 2020, owing approximately 250K to HMRC + other creditors ... It looks like the company actually went bust properly,

Or perhaps the sole director paid himself a nice salary, ran up debts in the name of the company in order to pay that salary, and then had the company file for bankruptcy, keeping the proceeds. À la Donald Trump.

Supermicro spy chips, the sequel: It really, really happened, and with bad BIOS and more, insists Bloomberg

Loyal Commenter Silver badge

Re: The impossible bus

My understanding is that it passed the QA, because they slipped an extra component into a multi-layered PCB. Reading between the lines, that's another chip underneath an existing chip. How is QA going to spot that? Especially if it's surface-mounted and there's no tracks showing on the other side of the board.

Let's also bear in mind, that if this has actually taken place, the "bad actors" in this case are almost certainly backed by the Chinese state, so won't exactly be short of resources to make sure such things are well hidden.

It's not going to be like chipping a PS1.

Loyal Commenter Silver badge

Bruce Schneier Featured this on his blog:

On Saturday:

https://www.schneier.com/blog/archives/2021/02/chinese-supply-chain-attack-on-computer-systems.html

Interestingly, when the story first broke in 2018, his take was that, whilst it sounded plausible, he didn't actually believe it. It seems that more has come out since, but details are necessarily scant, because it's spook vs spook stuff.

Also, just a couple of weeks ago, he had this on his blog:

https://www.schneier.com/blog/archives/2021/01/injecting-a-backdoor-into-solarwinds-orion.html

Which appears to be a practical implementation of Ken Thompson's famous backdoored compiler exploit.

It struck me, when reading both, that one is essentially a hardware analogue of the other - in other words, unless you can personally verify every single stage of the physical process of building hardware, you can trust none of it, just as, unless you can verify every step of the process of building software, including the veracity of the toolchain (and the tools used to build that), then you can't trust any of it either.

The only way you can find out is either with a microscope (in the case of hardware) or with byte-by-byte examination of the object code (in the case of software). With the complexity these days of both, it really is a case of, unless you already suspect something and have some clues about where to look, such changes are practically invisible to casual inspection.

This leads me to wonder whether this is actually a use case for "AI" - hardware / object code inspection for anything that looks awry as a pre-pass before humans take a look. You'd have to make sure it was well-trained to keep the false positives down, whilst at the same time avoiding too many false negatives.

Housekeeping and kernel upgrades do not always make for happy bedfellows

Loyal Commenter Silver badge

Re: Delete is written rename

If you have passwords (or any type of credentials) in config files, you are doing it wrong.

Dept of If I'd Known 20 Years Ago: Call centres, roosting chickens, and Bitcoin

Loyal Commenter Silver badge

I do have 1 bitcoin which I bought when they cost around £60 as an experiment.

I wish I had done the same, that 1 BTC is now worth around £35k (at the time of writing), or put another way, 57,000% profit.

Loyal Commenter Silver badge

I spent about £150 on a couple of USB "miners", a hub and Raspberry Pi in around 2014 as a curiosity and set them to mining in a pool (the odds even then of actually mining a block yourself were tiny). I turned them off some time in 2016 when the cheapo 5V power supply I was using for the RaspPi popped a capacitor, at which point it was taking several months to get a single "share" of 0.001 BTC on the mining pool.

I ended up with slightly under 0.01 BTC in total, at the time it was worth about half of what I had "invested", not counting electricity costs, but was interesting as a curiosity.

It's currently worth a little over £3K. With the way the price is bounding about, tomorrow it could be £5K, or equally well £1K.

As a serious investment, it is far too risky, and I haven't yet found a safe and convenient way to actually sell my "holdings". Maybe if the price continues to rise as it has done in the last year, regulators might start to take notice, banks might take it seriously, and I won't have to take a risk with some random "cryptocurrency exchange" that might disappear overnight in order to cash out.

If the price continues to rise, it might get to a point where I can sell a small amount for whatever the lower limit is for Capital Gains Tax and treat it as an annuity. It might be at that level in 5 years time. It might also be at 0. It all depends on what people are prepared to pay for it, and whether it eventually collapses...

We know it's hard to get your kicks at work – just do it away from a wall switch powering anything important

Loyal Commenter Silver badge

Re: My favourite one....

There's a special level in hell reserved for whoever designed the RJ45 plug, with the "handy removable tab for easier insertion/removal".

Loyal Commenter Silver badge

Re: Confession

I always knew them as Motherf**kers International. Probably just my puerile mind though.

British owners of .eu domains given an extra three months to find a European address

Loyal Commenter Silver badge

To be fair, there's nowt much more toxic and moribund than the board of Nominet.

Loyal Commenter Silver badge

Re: Good read

What amuses me is the idea that sticking another gov on top with its own gross incompetence makes things any better? Are you one of those remainers who thinks we should have joined the EU procurement plan for ventilators and vaccine? Or are you glad we have some?

I think you have, as ever, missed the point of the EU. It's not there as "another gov on top", it is a mechanism for the governments of the member nations to cooperate, because if they don't cooperate, what you get is nationalism, and nationalism is the height of stupidity and leads to wars.

I'm not going to claim that the EU parliament always gets it right, but its workings mean that more often than not, cooperation is needed between nations for anything to happen, unlike our parliament, which has an unelected second house that cannot enforce amendment or oversight of policies dictated by the majority party in the commons.

Moving onto your second point, I'll not argue that EU procurement has been perfect either. However, I reckon we would have done well to have joined in with the PPE procurment which was offered to us and our arrogant leaders chose to ignore and pretend they hadn't got the emails. In case your memory doesn't stretch back more than a few months, last spring, our government was giving our PPE contracts to mates of mates, pest control firms, and some dodgy suppliers in Turkey, where whole shipments of unsafe PPE had to be scrapped at huge costs to the taxpayer. If you think the EU procurement was worse than ours, or indeed anywhere near as bad, then your spectacles truly are rose-tinted.

Loyal Commenter Silver badge

Re: Good read

You must be squinting pretty hard to see that through the miasma of gross incompetence our own government is radiating. The only thing they have got even half-right in the last year is the vaccination programme. If there ever was a place to go to see "spite, general incompetence and ignorance", it's our current government under the control of ignorant brexiters.

Loyal Commenter Silver badge

Re: The UK is in Europe!

Lucky indeed, as they tended to get the ones that are so bad they can't even get elected as MPs here, seven times. I really despair of my fellow countrymen, when so many thought it would be a grand idea to vote Nigel Farage into a job he didn't even bother to turn up to most of the time.

Loyal Commenter Silver badge

Re: We are still in "Europe"

To me, .eu means being in the EU. Wikipedia has this to say on the subject:

.eu is the country code top-level domain (ccTLD) for the European Union (EU). Launched on 7 December 2005, the domain is available for any person, company or organization based in the European Union. This was extended to the European Economic Area in 2014, after the regulation was incorporated into the EEA Agreement, and hence is also available for any person, company or organization based in Iceland, Liechtenstein and Norway.

I'm pretty sure we could have asked to be included as well, in our amazing brexit deal, but, as with arranging visa-free travel for touring musicians, which was on offer, our shitty government went for the "leave means leave" attitude and fucked it off.

Also, you might need to check where Sinn Féin are based; last time I walked past it, their headquarters was in Dublin, which very much is within the EU.

Loyal Commenter Silver badge

Toxic and moribund people, such as leave.eu, perhaps?

Someone tried to poison a Florida city by hijacking its water treatment plant via TeamViewer, says sheriff

Loyal Commenter Silver badge

Re: Lye?

You're correct in thinking it's not in common use in the UK any more. It's more commonly known as caustic soda, or occasionally sodium hydroxide. I think lye is no longer in common use, as people don't tend to use wood ash to make their own soap from tallow any more. You might still find the word in use in some industries such as tanning or soap making, as a technical term, but you'd have to ask them...

Loyal Commenter Silver badge

The UI may have allowed the entry of those numbers, but I seriously doubt the dosing system would get anywhere near that before it topped out. I also doubt the feedstock would last very long if it could. After all, if they need to add a small amount.

Assuming the 100ppm is by molar amount, not weight, that works out as about 45g per tonne of water (1,000 L, or one cubic metre) - Lets say this is a processing plant for 10,000 people (apparently the population of Oldsmar is about 14,000), and the average US person apparently uses 0.4 m3 of water a day, so the daily usage for that level of water treatment would be 180kg.

Up that by a factor of 1000, and that's 180 tonnes. Let's surmise that this starts with a hopper containing pelleted NaOH, which might contain 1 tonne, or enough for about 5 1/2 days. It's presumably someone's job to keep that topped up. I'd guess at the start of their shift, they check the level and top it up. It's going to empty well before the concentration gets anywhere near 100,000 ppm, and no doubt there would be alarms going off everywhere, from pH monitors, feedstock level indicators, flow measurement, et al.

Loyal Commenter Silver badge

Re: Lye?

It will be a word familiar to anyone who has read the Gashlycrumb Tinies.

J is for James Who Took Lye by Mistake

Loyal Commenter Silver badge

Re: Internet of Shit

I think the probable result, if it hadn't been caught would be the entire stock of NaOH being emptied into the supply, and swiftly running out. Because it's nasty corrosive stuff, they're not going to be having a huge mountain of the stuff, and they'll probably only have enough for a week or month at a time. The mechanism for pumping it into the water supply probably wouldn't have been capable of pumping 10,000 at times the normal rate, and I'd be amazed if there aren't also sensors to check the resulting pH downstream, with alarms and cut-offs. It's not like such systems could be prone to failure of a more prosaic nature (such as mechanical), and would therefore have fail-safes.

The net result, if it hadn't been noticed would probably have been the dumping of a few hundred litres of NaOH solution into a processing tank, and then the pump shutting off as it tries to pump air, followed by another pump shutting off when that gets a short distance downstream, a cut-over to a secondary system and a very brief dip in the town's water pressure.

The biggest risk would probably be from the fact that diluting NaOH is exothermic, and thus you'd potentially end up with a whole load of dilute warm NaOH to dispose of, and a load of processing infrastructure that needs a good scrub down before it can be brought back online.

CD Projekt Red 'EPICALLY pwned': Cyberpunk 2077 dev publishes ransom note after company systems encrypted

Loyal Commenter Silver badge
Joke

Re: Air-gap

With wireless technology everyone can be air gapped!

Loyal Commenter Silver badge

Re: Air-gap

Do you know anyone who drives a car made by a UK owned car company? One that is still UK owned? I don't think I know anyone at all who owns a Morgan, McClaren, or Caterham, and I know a few people who are actual classic car collectors (one tried to offload a Ford Model T ambulance on me, I wasn't biting!)

EncroChat hack case: RAM, bam... what? Data in transit is data at rest, rules UK Court of Appeal

Loyal Commenter Silver badge

Re: Android or IoS

I think they may have had a point about iPhones though. Whilst the phone may be secure, I believe there are a number of hoops to jump through to get an app onto an iPhone, which can only be done via their app store. This means that Apple have a review process, where they could be compelled by law enforcement agencies to amend the app they make available, and to do so in secret. From the perspective of the makers of EncroChat, this is a security risk.

Android has similar provisions with apps on Google Play. However, Android phones allow side-loading of apps (if you enable it), which allows any APK to be installed. I'm assuming this is how EncroChat is distributed to users. If not, then it could be back-doored by Google on the request of law enforcement agencies.

As it is, these considerations have no bearing on whether or not the OS itself can be back-doored, and it's not too much of a leap-of-faith to think that both Apple and Google may have been compelled to produce back-doored versions for law enforcement use, which such agencies could then arrange to be patched onto target phones via OTA updates. Such patches could be things such as allowing a snapshot of the device's memory, or the portion of memory allocated to a specific process, along with all sorts of other things. Once again, one would hope that such things are tightly controlled by the need for a warrant, even if it’s one from a secret court.

Loyal Commenter Silver badge

Re: Whilst the Judges seem to have overthought this but so has El Reg

The Stasi Museum in Berlin is situated in the former headquarters, which the citizens of East Berlin had the foresight to seize early on and preserve. This meant that many of the records were not destroyed. Interesting things of note were the equipment used to intercept, open and reseal all mail, and the "bread van" which was used to disappear people.

The offices are so well preserved that they were used in the filming of the series, "Deutschland 83". If you look closely, the only inauthentic thing in those scenes is the modern strip lighting on the ceiling. At the time the building was preserved, those offices were already pretty anachronistic, with the furnishings dating from the '50s and '60s.

All in all, an absolutely fascinating place, and a timely reminder that the cost of liberty is eternal vigilance.

Loyal Commenter Silver badge

Re: In storage...or in transit....

You are Bruce Schneier AICMFP.

Loyal Commenter Silver badge

Re: 2B pencil

I get the sense that the MiTM attack in question in this case would have been against the update mechanism for either the EncroChat app itself, or the phone's OS, to install a compromised version of such, and thus allow the capture of the unencrypted messages without the user's knowledge.

If the messaging app uses decent encryption and is hard to break, use a side-channel attack to circumvent that encryption entirely.

I've no problem with this approach, as long as it is targeted against a specific user, and has proper oversight (i.e. a warrant, and not one that is so broad it allows "fishing expeditions").

Loyal Commenter Silver badge

Re: Quantum Message

But you couldn't know whether it had been served or not, without destroying the contents of the message.

Loyal Commenter Silver badge

Re: I can never use data again

It's a known problem. See, for example, .Net's SecureString which goes some way towards addressing the problem, but still leaves a window where the contents must be decrypted for use, at which point they can be "snooped".

Loyal Commenter Silver badge

Re: Android or IoS

It's probably a bit more complicated than that and involves the police deliberately back-dooring the device, which is what they would need the warrant for in the first place.

There are probably a number of ways of doing this, and the net result would be a silent update to either the target's phone's OS, or to the app in question. Off the top of my head, this could be done either by intercepting the requests to check for software updates via the OS app store, with help from the makers of the OS, or at a network level by using a so-called "stingray" mobile base station to target and intercept traffic from a phone with a specific IMEI. The exact mechanisms for doing so are no doubt kept tightly secret, because the same techniques would also be used by intelligence agencies as well as law enforcement.

Loyal Commenter Silver badge

Re: Whilst the Judges seem to have overthought this but so has El Reg

No. I'd suggest taking a look at the former East Berlin, if you want to see what an actual police state looks like. The infrastructure and organisational structures needed to pull it off are pretty obvious.

Loyal Commenter Silver badge

Re: Whilst the Judges seem to have overthought this but so has El Reg

From what little I've heard about the EncroChat cases, it is organised crime they are targeting. Involving drug smuggling, people trafficking, modern slavery, and quite possibly child prostitution as well. All the sorts of things that nasty people like the Ndragheta get up to. Whilst it is all too easy to go "full Daily Mail" and wail about paedos, it's also possible to go too far the other way and minimise the very real problem of serious and organised crime.

Of course, there is a balance to be struck with the freedom vs safety debate. Perfect freedom allows the strongest to subjugate the weak with no recourse, whilst perfect safety constrains personal freedom to intolerable levels. On the one hand, you wouldn't want to live in a war-torn anarchy ruled over by despots, on the other hand, you also wouldn't want to live in a police state where your every move is monitored. Logic leads us to a sensible middle ground, where the police have the tools to tackle organised crime, but are limited in their reach by oversight. In this case, an appropriate warrant, and the Court of Appeals decided that the warrant they had was appropriate.

Loyal Commenter Silver badge

Re: Filth

Just because they got to the letter before it was put in the envelope doesn't mean that the letter wasn't in the process of being sent.

I think it's more akin to watching through the window with binoculars as you write that letter and taking a note of the contents before you put it in the envelope and send it. At this point, the letter isn't in the process of being sent any more than a cake is in the oven being baked when you're weighing out the ingredients.

Xiaomi a Snapdragon 888 flagship for €749: Yep, the Mi 11 is rolling out to world outside China

Loyal Commenter Silver badge

Re: No punchhole please

In practice, it looks just like another icon in the status area, or you don't see it at all, because that part of the screen is black, and so is the lens. It did seem like a design oddity when I first saw it, but I can't say I ever actually notice it now.

Loyal Commenter Silver badge

I have to say, much as I hate Apple*, one thing they do get pretty much right is security.

*This dates back to being forced to use the old "Macintosh" machines, before they decided to call them "Macs", which were horrible beige boxes with a one-button mouse that was shaped like a shoe box. At the time, I had a Win98 PC at home, for which the UI was much more intuitive and responsive. Which idiot thought that the best idiom for ejecting a disk would be to drag the icon for it to the waste bin? This, plus every single advert they put out is so aggravating it makes me want to throw the TV out of the window.

Loyal Commenter Silver badge

Re: No punchhole please

To be fair, it's in the "status bar" area at the top of the phone, and if my Redmi Note 9 is anything to go by, the screen area on running apps starts below that.

In other words, you don't even notice it's there.

Openreach engineers vote to strike amid changes to job grading structure

Loyal Commenter Silver badge

I can only assume that the person who down-voted that really hates puns, or has no clue about physics and didn't get it.

Loyal Commenter Silver badge
Boffin

You won't get any movement from them at all, in the fields of electricity or magnetism...

Nearly 70 years after America made einsteinium in its first full-scale thermo-nuke experiment, mystery element yields secrets of its chemistry

Loyal Commenter Silver badge

The title is too long.

When physicists and chemists talk about "magnetic properties" they don't mean magnetic in the every-day sense where a big lump of magnetised iron can pick up iron filings (this is known as ferromagnetism and is a bulk property caused by making atoms in a solid align). They are talking about things known as diamagnetism and paramagnetism. Diamagnetism is a property exhibited by all elements, and is a (usually very) weak force that pushes against a magnetic field. Paramagnetism is more interesting, and exhibits itself as an attractive force towards a magnetic field. This is due to the (temporary) alignment of unpaired electrons. I'm going from memory here, as the last time I had to study this sort of thing was the best part of a quarter of a century ago.