10,596 karma · joined Dec 4, 2013 (12y ago) · 4,865 submissions
comment 2y ago · link · parent
Think about it this way: do you think Theo Deraadt (from OpenBSD and OpenSSH fame) spends his time trying to see if Acme corp is vulnerable to OpenSSH exploit x.y.z, which has been patched 3 months ago?
I don't care about attacking systems: it is of very little interest to me. I've done it in the past: it's all too easy because we live in a mediocre work full of insecure crap. However I love spending some time making life harder for dark hat hackers.
We know what creates exploits and yet people everywhere are going to repeat the same mistakes over and over again.
My favorite example is Bruce Schneier writing, when Unicode came out, that "Unicode is too complex to ever be secure". That is the mindset we need. But it didn't stop people using Unicode in places where we should never have used it, like in domain names for examples. Then when you test an homoglyphic attack on IDN, it's not "cool". It's lame. It's pathetic. Of course you can do homglyphic attacks and trick people: an actual security expert (not a pentester testing known exploits on broken configs) warned about that 30 years ago.
There's nothing to "understand" by abusing such exploit yourself besides "people who don't understand security have taken stupid decisions".
OpenBSD and OpenSSH are among the most secure software ever written (even if OpenSSH had a few issues lately). I don't think Theo Deraadt spends his time pentesting so that he can be able to then write secure software.
What strikes me the most is the mediocrity of most exploits. Exploits that, had the software been written with the mindset of the person who wrote TFA, would for the most part not have been possible.
He is spot on when he says that default permit and enumerate badness are dumb ideas. I think it's worth trying to understand what he means when he says "hacking is not cool".
comment 2y ago · link · parent
I'm probably cancelling my ChatGPT subscription soon: show me progress or I switch and give my munnies to Anthropic.
comment 2y ago · link · parent
The rule should be that when traffic is bumper to bumper, the "zip" is made mandatory. That rule already supersedes the normal rule on, say, many (all?) european highways when the highway goes from, say, 3 lanes to 2 lanes and in case that creates a traffic jam: people in "their" lane doesn't have the right of way anymore. It's one car from one lane, one car from another lane: the "zip".
People in a roundabout should lose their right of way when traffic is bumper to bumper.
Where I live people are extremely polite on the road so I don't even know if the zip it's mandatory: people shall simply act that way.
In countries where road rage is common and people misbehave, like France, just make it mandatory by law.
comment 2y ago · link · parent
There are several research, already published here many times, which show that something insane like 75%+ of all the security exploits would be rendered cold dead in their tracks had Rust been used.
I don't know how anyone, even a C/C++/VisualBasic/PHP coder, could not like that.
comment 2y ago · link · parent
You can substitute "photorealistic" with "looks like the square (or rectangle) picture in the mirror".
Turns out photographic pictures did capture that "image in the mirror" picture. Funnily enough, using... Mirrors.
> ... or the photos that were painterly?
The answer is simply no. The real world doesn't work like that: photons/mirrors/prisms/our eyes "capturing" photons. Physics vs dialectic if you want.
comment 2y ago · link · parent
It described me the whole page, explaining it was a login page to log in to bank X in country Y. He compared the URL with the bank's name, etc.
Then I modified one letter in the URL, changing "https://online.banking.com" (just an example) to "https://online.banklng.com" and asked ChatGPT 4o again.
He said it was a phishing attempt.
So, basically, you can, today, already have a screenshot automatically analyzed and have a model tell you if it's seemingly legit or not.
comment 2y ago · link · parent
I go further: I generate tens of thousands of variants of all the "sensitive" websites we use (like banks and brokers).
All the "levenshtein edit distance = 1" and some of the LED = 2. All variation of TLDs, etc.
I blocklist most TLDs (now that most are facetious): the entire TLD. I blocklist many countries both at the TLD level and by blocking their entire IP blocks (using ipsets).
For example for "keytradebank.be", I generate stuff like:
# Generated by typosquat.clj for keytradebank.be (9809 entries)
0.0.0.0 keeytraebank.be
0.0.0.0 kebtradebank.be
0.0.0.0 kytradebani.be
0.0.0.0 keytrxdebak.be
0.0.0.0 kewytadebank.be
0.0.0.0 keytgadbank.be
0.0.0.0 aeytradeank.be
0.0.0.0 keytradebsan.be
0.0.0.0 keymradebnk.be
0.0.0.0 kytradeb9nk.be
0.0.0.0 ketrade-bank.be
0.0.0.0 keytradbeban.be
0.0.0.0 eytradebafk.be
0.0.0.0 keytraebank.ee
0.0.0.0 keytrad3bak.be
0.0.0.0 keytradebzn.be
...
I don't care that most make no sense: I generate so many that those who could fool my wife are caught by my generator.I then force the browser to use the "corporate" DNS settings: where DoH/DoT is forbidden from the browser to the LAN DNS. I can still use DoH/DoT after that if I feel like it.
So any DNS request passes through the local DNS resolver (the firewall ensures that too).
My firewall also takes care of rejecting any DNS attempt to an internationalized domain names (by inspecting packets on port 53 and dropping any that contains "xn--"). I don't care a yota about the legit (for some definition of legit): "pile of poo heart" websites.
My local DNS resolver has 600 000 entries blocked I think, something like that.
I then also use a DNS resolver blocking known malware/porn sites (CloudFlare's 1.1.1.3 for example).
So copycat phishing sites have to dodge my blocklist, the usual blocklists (which I also put in my DNS), then 1.1.1.3's blocklist.
P.S: some people go further and block everything by default, then whitelist the sites they use. But it's a bit annoying to do with all the CDNs that have to be whitelisted etc.
comment 2y ago · link · parent
Then I can picture a great way, locally, to screw these knock off big times.
Either the site is a great knock off, visually similar (if not identical) or it won't fool people, right?
So what about this: what about the browser saving, locally, screenshots of the login pages you visit.
Then, when a new login is made, compare, visually, the page to what's saved and see if any saved pages are similar?
"Oops, the page www.banklng.com looks nearly identical to www.banking.com which you visited previously, they're probably trying to scam you!".
comment 2y ago · link · parent
These are impressive numbers but I wonder about something... Binance is a centralized cryptocurrencies exchange. But AIUI "defi" is a thing: instead of using a CEX (Centralized EXchange), people can use a DEX (Decentralized EXchange).
And apparently there's a gigantic number of trades happening in the defi world. And it's all happening on public ledgers right? (I'm asking, I don't know: are the "level 2" chains public?).
And the sum of all the public ledgers / blockchains transactions do not represent anywhere near 1.6 PB a day.
And yet DEXes do work (and often now, seen that volume picked up, have liquidity and fees cheaper than centralized exchanges).
Someone who know this stuff better than I do could comment but from a quick googling here's what I found:
- a full Ethereum node today is 1.2 TB (not PB, but TB)
- a full Bitcoin node today is 585 GB
There are other blockchains but these two are the two most successful ones?So let's take Ethereum... For 1.2 TB you have the history of all the transactions that ever happened on Ethereum, since 2015 or something. And that's not just Ethereum but also all the "tokens" and "NFTs" on ethereum, including stablecoins like Circle/Coinbase's USDC.
How do we go from a decentralized "1.2 TB for the entire Ethereum history" to "1.6 PB per day for Binance transactions"?
That's 1500x the size of the freaking entire Ethereum blockchain generated by logs, in a day.
And Ethereum is, basically, a public ledger. So it is... Logs?
Or let's compared Binance's numbers to, say, the US equities options market. That feed is a bit less than 40 Gb/s I think, so 140 TB for a day of actual equities options trading datafeed.
I understand these aren't "logs" but, same thing...
How do we go from a daily 140 TB datafeed from the CBOE (where the big guys are and the real stuff if happening) to 10x that amount in daily Binance logs.
Something doesn't sound right.
You can say it's apples vs oranges but I don't it's that much of apples vs oranges.
I mean: if these 1.6 PB of Binance logs per day are justified, it makes me think it's time to sell everything and go all-in in cryptocurrencies, because there may be way more interest and activity than people think. (yeah, I'm kidding)
EDIT: 1.2 TB for Ethereum seems to be a full but not an "archive" node. An "archive" node is 6 TB. Still a far cry from 1.6 PB a day.
comment 2y ago · link · parent
What a weird assumption. We named our daughter picking four names, starting respectively with the letters 'G', 'A', 'T' and 'C'.
comment 2y ago · link · parent
Debian (or derivatives) too here and once in a very rare while I encounter some dependency hell.
IIRC the last problematic one was trying to add JPEG XL support to Emacs. Emacs uses ImageMagick under the hood to display pictures (for example from image-dired) if I'm not mistaken. But the version of ImageMagick shipped with the latest Debian stable (Bookworm) doesn't support JPEG XL yet.
Something like that.
It does happen but I do agree that it's highly uncommon.
> Why would I want to roll a system back to an (definitely insecure) state of a few months ago?
A just question!
comment 2y ago · link · parent
I don't know if it's elastane but I've definitely seen QoL improvements in clothing compared to 35 years ago (back when I was a teenagers).
Underwear are soooo soft. And they fit perfectly. Same for t-shirts. Same for socks.
I don't know what makes some clothes so comfy (and requiring no ironing either btw) but there's "something" that makes lots of clothes simply better nowadays.
And they last too: I'm the kind of person who hates shopping (which drives my wife mad) so when I find something I like, I'll buy three or five of them (which drives my wife even madder). I've got some pieces I have since years and years (that one is nearly divorce reason ;) Sometimes I find a five years old picture and think: "Oh I already had that thing back then!?".
Yeah, many clothes are just simply better now.
comment 2y ago · link · parent
Taxation. At 2x or 3x in France you'd already be at 41% income tax bracket. Then 45%.
And of course a country like France doesn't just tax income: it taxes everything, to death.
You can be making 2x that of someone in Spain, if you pay 41% on that additional money, suddenly it doesn't really like 2x anymore.
In the UAE (say, Dubai: a very thought after destination by many) there was no income tax and if there's one now, it's mild (I think 0% on the first $125 K then 9% on money above that).
France is not a net importer of talent. It's exporting a shitload of engineers to SV and the UAE. France is however a net importer of underqualified people, many of whom do not find any work, putting a strain on the economy and giving politicians the idea of taxing people who work in France even more.
In 2023 the state's income was much lower than expected, which prompted Bruno Lemaire, the economy and finance minister, to cheat and fudge the numbers to try to hide the gigantic hole. French senate called him for it.
Yup: the situation in France is that bad they now have to cheat on the numbers they present, like Greece did (and we know how it ended up for Greece).
> This is certainly a factor for migration within Europe.
Seen the current political situation in France, I don't know who'd be foolish enough to want to move there at the moment.
comment 2y ago · link · parent
In addition to the other answers, Usenet binary newsgroups are much older than torrents. So another reason is that it simply never died. Torrents didn't replace Usenet, they just complemented it.
comment 2y ago · link · parent
First country I find by googling is Germany but copper thieves are stealing cables alongside railroad in France, Belgium, etc.
https://www.recyclingtoday.com/news/copper-railway-theft-eur...
And it is regularly disrupting trains.
These thieves do not care for the community. They do care about fake Luis Vuitton caps (convinced they're highly stylish with their Luis Vuitton caps and Luis Vuitton manpurses) and the latest iPhone though.
comment 2y ago · link · parent
Turns out the "veblen good" did quite well and didn't break.
And James Cameron got a limited edition Rolex Sea-Dweller deep sea model named after him.
comment 2y ago · link · parent
If you buy a complete ring, you're usually getting quite ripped off. But if you buy a stone, complete with its certificate, it shall be worth what the market says it is worth. Competent jewelers will have no problem with you coming with a stone you bought or with an old family heirloom stone and put it on the ring you want: you'll pay his hours and the material for the ring but that's it. And the stone is worth its market price.
Diamonds above a certain size (whether they're natural or synthetic) are engraved now. You keep the certificate and you'll be able to resell it.
You can buy synthetic diamonds, they're cheaper than natural ones. And there's also a market for these.
Note that I'm not saying that the market ain't going down. What I'm saying is that you can definitely buy a stone at its market price and resell it at its market price. That's how the markets do work: be it stocks, gold or diamonds.
comment 2y ago · link · parent
The most popular desktop OS. It is nowhere to be found in the Top 500 supercomputers, is nowhere to be found on smartphones, lags in the Cloud, is nowhere to be found in the billions of appliances, etc.
> Why isn't that harming Windows?
It is harming Windows. That horrible cmd.exe is one of the reason Windows lost in all the other markets and has hardly any market share there.
comment 2y ago · link · parent
That's equality: men aren't needed anywhere anymore. Except to go work in the sewers and to be military drafted. The left ain't very interested in establishing equality in these cases.
When I had to dig for five hours in human manure to find where a pipe was clogged in the garden, I called my wife and daughters to show them, from a distance, what I was doing.
Their "princess", disgusted, look was priceless. They immediately went back to the house while yuk'ing.
Next day, after I found where the problem was, the plumbing company sent someone to actually unclog the pipe. Do I need to precise whether it was a man or a woman that showed up?
Don't get me wrong: my wife owns not one but two companies (including one with me). She's not a "tradwife" by any means. She cannot cook without burning frying pans and pots (and me neither).
But who takes the trashes out, who fixes the sink, who drills holes, who paints, who does electrical job in the house? Who takes care of the cars' tires? Of the bicycles maintenance? And who finds a solution to every single f-cking computer issue in the house?
I'm sure I'm enforcing patriarchal stereotypes by doing these deeds myself.
Yeah, it has to be it. Next time they'll put boots on and go dig for hours end in human manure to find that clogged pipe while I reflect on the benefits of men/women equality.
And when I'll call the plumbing company, I'll tell them they better sent a woman (I'll accept a non-binary identifying as a butterfly too).
comment 2y ago · link · parent
I love it so much that I've been using it since my Atari 600 XL and Commodore 64 days.
At times it's been complicated: I remember the early IntelliJ IDEs had no dark-mode but you could configure one yourself (and it was lots of work). Or Windows: the rare time when I worked on Windows I couldn't get a dark mode to work but I remember I could "dim" the laser white background into a light grey and Word would show a slightly grey background.
Linux / Emacs: zero issue configuring these with dark modes of course.
As an anecdote at 51 y/o I need, at long last, to go see an ophthalmologist to measure my now failing eyes.
But spending most of my life from 11 y/o to 51 y/o in front of computer screen, I'd say all these decades without glasses was a good run.
comment 2y ago · link · parent
If the random component is a seed that can be forced/stored/logged/reproduced then it's okay. Otherwise it's actually an horrible idea because it complicates debugging other issues.
Randomness is the enemy, not the friend.
> It also very nicely prevents security issues, since if the hashing algorithm is fixed, it can be exploited for denial of service by coming up with keys that all fall into the same bucket.
Yeah, 20 years ago this was a thing to attack Java webservers: crafting URL with parameters so that they'd all end up in the same bucket. Big denial-of-service one. IIRC PHP webservers suffered from the exact same security issue.
It was fixed by implementing a hash table with a seed and that seed was, of course, under the control of the dev because...
Randomness is the enemy, not the friend.
comment 2y ago · link · parent
An uncle of mine died in a car crash, in the late 80s / early 90s. The first thing my father did was drive for hours, to the place where the crash happened, and film. He then went and filmed the car wreck with its blood stains and grass stuck between the tires and the rims. A 230 km/h // 140 mph+ crash: driver lost control.
And although he could barely speak while filming he warned us in the video that this was what would happen to us if we were to act like idiots on the road.
And he, of course, forced us to watch that vid. Immediately and then a few more times at regular intervals months/years later. Best road safety lesson we ever got.
Every single person I ever crossed on the road in my life can thank my father for filming and forcing me to watch that vid.
At times there are very smart families who do allow the publication of videos of crashes where a family member died and say it's to act as a warning as to what may happen when you drive drunk/intoxicated/crazy.
It should be outlawed that families may decide that these vids are not publishable. It happened on public roads: it should be public material, as a warning to the public.
That these are not allowed on social media is criminal for these vids are the best lessons kids / teenagers can ever get when it comes to road safety.
And it is delusional to think that kids/teenagers watch that for morbid reasons: they watch such vids because their survival instinct want to make sense of what's happening.
"If you act like that, you'll kill people and/or die" is quite the lesson.
comment 2y ago · link · parent
Stealing a TOTP secret means being able to generate all the tokens. Which allows, for example, to take over an user account and lock the legitimate user out of his account. MITMing a single U2F/FIDO2 allows you to... log in? From one of the system uses to access his account (the one that's compromised).
I've got sites where the FIDO2 to log in and the one to change any security setting require two different security keys. And even when it only requires one security key, the procedure to take over an account requires several tap on the physical security key. A savvy user won't be tricked into tapping his security key for no reason.
Let's take, say, a brokerage account. There's a security key for withdrawals. Without that security key an attacker would be MITMing me by stealing one token could... Consult, what, see my balance and trade for me!? But he still wouldn't be able to steal a cent (and my account ain't big enough to move the market).
The real-world value of an HSM sitting on a device with a tiny attack surface has a lot of value.
The very reason they exist being that compromised computers are a thing. Compromised Yubikeys are not.
comment 2y ago · link · parent
So they find these dubious trades and then check the trader's trading history and personal wealth? Stuff like that?
Basically the trade is automatically flagged and then they notice, for example, that the dude hardly ever trades, never traded that stock, isn't familiar with $120K wins on a trade, etc.?
And if it all ticks, they then check which company he works for and it there's a relation with the company he traded?
I mean: it is amazing that they got him to me. But I find it also, in a way, quite spooky.
There's definitely a vibe in the comments in this thread, including from mine, about "going after the little guys".