News for hackers. Stuff that matters.

richm44

SBOMs are more an attempt to solve some of the problems introduced by software reuse. https://archive.fosdem.org/2025/schedule/track/sbom/ has some interesting talks about the successes and failures of them.
Re:Ld_preload, the Invisible Key Theft on Thursday October 16, 2025 @01:31PM (#45608227)
Here's an example I made a while ago of how easy it is to use LD_PRELOAD to hook things and change file contents etc. https://github.com/richmoore/reciprocity
Re:Ld_preload, the Invisible Key Theft on Thursday October 16, 2025 @01:18PM (#45608048)
If that same tool is unable to spot LD_PRELOAD in use then I'd suggest getting a new one. :-)
Re:Getting ready to issue IP address certificates on Wednesday June 25, 2025 @01:40PM (#44379904)
Time for me to dust off CVE-2010-3170 again? :-)
Re:Microsoft 365 Copilot launch was a total disaster on Sunday January 26, 2025 @01:59PM (#42832823)
Odd - I also have 16.93 on Mac and I don't get the checkbox (unless I just can't find it I guess).
Re:Microsoft 365 Copilot launch was a total disaster on Sunday January 26, 2025 @12:53PM (#42832071)
As the article explains, that's not been implemented on Mac yet.
Re:RCE Vulnerability in QBittorrent on Saturday November 02, 2024 @06:36AM (#42025423)
Downloading things from the AIA fields would mean triggering HTTP/HTTPS requests to an untrusted URL from a certificate you haven't verified - not a good idea. What firefox does is cache intermediates that it has seen elsewhere, the windows TLS stack can fetch additional certs from windows update on-demand (and actually starts with only a small bundle of trusted roots). There is no good solution for incomplete chains other than getting the sites fixed (or using a provider like cloudflare that solves it for them).
Re:Falsehoods programmers believe about TCP on Saturday September 14, 2024 @03:00PM (#41542010)
1. A SYN will receive a SYN-ACK or a RST 2. A host from my machine is the same as from your machine 3. An IP from my machine is the same as from your machine
Re:Internet Explorer is Evil: The Story (2010) on Sunday December 17, 2023 @07:26AM (#38672387)
It was also possible in earlier browsers by using hidden frames. User interaction or a timer would trigger, then you load the frame (which contained dynamically generated js) and then call the javascript you'd just loaded.
Re:Apple bans ChatGPT use by employees, report says on Friday May 19, 2023 @02:16PM (#36005127)
You can't get perfection, but you can do things like ask for them to document the controls they implement and to evidence that they have operated them appropriately via an audit like SOC2.
Re:KDE Plasma development switches to Qt 6 tomorrow on Monday February 27, 2023 @03:13PM (#34961297)
Re:Pimp My BBC Micro on Thursday October 06, 2022 @02:01PM (#33111673)
You're looking for these:

https://github.com/hoglet67/RGBtoHDMI - HDMI adaptor - works nicely with the beeb https://www.gotekemulator.com/ - Floppy emulator that lets it use USB storage

There are similar addons that can use things like the 1 MHZ bus via SD cards too.

Re:A stochastic method to generate the Sierpinski triangle on Monday December 27, 2021 @11:41AM (#29703975)
Here's a version of the same as a BBC Microbot tweet https://twitter.com/bbcmicrobot/status/1333542986588753921
Re:Web Browser Engineering on Tuesday October 19, 2021 @05:10PM (#28923821)
This video is good background for khtml/webkit on which chrome was based https://www.youtube.com/watch?v=Tldf1rT0Rn0
Re:Dissecting an SSL Certificate (2017) on Wednesday May 06, 2020 @06:15PM (#23096996)
If you care about performance then you should start by reading High Performance Browser Networking (the text is available online here https://hpbn.co/ ).
Must be a while ago then - it's 12 characters upper, lower and digits. Pretty reasonable.
Re:How DOOM fire was done on Saturday December 29, 2018 @02:52PM (#18785351)
I remember coding this effect in C a long time ago. Back in the day we used to use the frame buffer as the data store too, not really feasible today!
The primary implementation on MacOS and iOS is SecureTransport.
Re:Falsehoods programmers believe about networks on Monday October 24, 2016 @08:04AM (#12778082)
A few more:

- Localhost is 127.0.0.1

- A TCP SYN will also always result in a SYN-ACK

- Ok, a SYN-ACK or a RST

- Ok, ok, an out-going TCP packet will always result in a TCP response

Re:TCP Puzzlers on Thursday August 18, 2016 @05:58PM (#12316627)
There are some other fun edge cases - for example:

- If you have a port-forward to a machine that is switched off then you can get ICMP network unreachable or ICMP host unreachable as the response to the a SYN in the initial handshake.

This can also happen at any point in the connection. Other ICMP messages can also occur like this (eg. admin prohibited).

It's always worth remembering that the TCP connection is sitting on an underlying network stack that can also signal errors outside of the TCP protocol itself.

Re:Advanced Linux Programming – book with free PDF (2001) on Thursday March 24, 2016 @10:46AM (#11353187)
I'd recommend this book instead 'The Linux Programming Interface' http://man7.org/tlpi/ it's a lot more recent and the content is excellent, though it's not a free download. The author is also the maintainer of the linux man pages.
Re:C – Preliminary C2x Charter on Thursday March 17, 2016 @05:17PM (#11307682)
I'd like a standardised function to clear a block of memory that is guaranteed to not be optimised out, and a constant time compare function.
Re:OpenSSL CVE-2016-0799: heap corruption via BIO_printf on Sunday February 28, 2016 @05:26PM (#11192679)
Sadly it doesn't on linux due to overcommit. You can actually get the failure much later when you try to use the memory. The exception is when you try to allocate absolutely huge buffers. So malloc returning a valid pointer doesn't indicate success (though it returning NULL does indicate failure).
Re:Qt Licensing Changes on Wednesday January 13, 2016 @04:47PM (#10897808)
I was part of the Qt community at the time (and still am) and that's really not how it happened.
Re:Qt Licensing Changes on Wednesday January 13, 2016 @12:34PM (#10895966)
Heh. Qt was released in 1995 and the The Cathedral and the Bazaar was released in 1997 with the OSI being formed in 1998. This means Qt pre-dates the term 'open source' by approximately 3 years!
Re:Is YCombinator astroturfing now? on Friday December 04, 2015 @03:58PM (#10679091)
And people can't comment on them etc? TBH I'd be fine with it if they were flagged as the adverts they are.

Is YCombinator astroturfing now?

Is it new that news.ycombinator is including what seem to be paid adverts like https://news.ycombinator.com/item?id=10678405 that allow no ability to comment etc. without distinguishing them from content being submitted via the normal process? Have I just not being paying enough attention to spot the astroturfing? Anyone know why these adverts aren't being flagged as such?

( Read More... | 2 comments | on HN )
Re:Domain-validated SSL will soon be free from the large CAs on Friday November 20, 2015 @02:36PM (#10603311)
> - It's somewhat complicated for a site to implement correctly

This is true, but the same thing was said about running a site at all not long ago.

> - It mainly protects users who have already connected to a site once from a secure location and whose browsers support HSTS and other "fixes"

The point of using a valid CA is to allow the first connection be secure. It's certainly true that you can secure subsequent connections more than the initial one though.

> - Circumvented easily via phishing

Phishing is attacking something completely different and is not something SSL/TLS can or should protect you against. It's like expecting a seat belt to protect you from being run over.

> - Does not prevent nation states from MITMing connection

Actually it does if HPKP is used, though not on the initial connection.

> - Can only host one site per IP, without a wild-card or UCC cert (which not all clients support)

This is supported via the server name indication extension, and additionally by using multiple subject alternative names. The former is better though since it allows each site to have its own key.

> - Makes caching difficult to impossible

True, but that's a feature. Caching on the client is still of course entirely based on what the client chooses to do.

> - Adds performance overhead

Not much, see https://istlsfastyet.com/

> - Potential for new attacks on the TLS layer (SSL Strip, STARTTLS Command Injection, BEAST, POODLE, RC4, CRIME, TIME, BREACH, Truncation, FREAK, Logjam, Heartbleed, BERserk, Root cert forgery, ChangeCipherSpec injection, Protocol downgrade, Certificate errors, Renegotiation, Triple Handshake, Virtual Host confusion, DoS)

Note that there are protections again those, and saying "because it might have a problem" is basically just burying your head in the sand of the problem you already have.

> - General confusion by users as to what makes a connection secure

True, but not a good reason since you as a site owner can do most of the work for them (in combination with their browser).

Re:BoringSSL on Tuesday October 20, 2015 @03:24PM (#10421186)
That's not correct, it was to learn bignum arithmetic not C.

Older »