HNHacker News
TopNewBestAskShowJobs

scandinavian

575 karma · joined June 25, 2014

submissionscomments
scandinavian··on Blacksmith – Rowhammer bit flips on all DRAM devices today despite mitigations
> You might be the one of the first ones affected

If you are regularly the fist target of zero-days your threat model should be stricter yes. The other 7.9 billion people in the world can afford to be a little less strict.

scandinavian··on Tor Browser 11.0
2. TOR browser is built without webrtc support. There is no other way afaik, as firefox doesn't have a socket API for extensions anymore.
scandinavian··on GTFOBins
It's not referring to having sudo ALL permissions, but to users having sudo permissions for individual applications.

So if you are trying to privilege escalate a linux box and sudo -l returns:

(root) /usr/sbin/tcpdump

You check gtfobins for tcpdump and see that you can get a root shell with sudo access.

scandinavian··on S.Korea broadband firm sues Netflix after traffic surge from 'Squid Game'
Correct we have netflix, google and akamai caches in our datacenter. A very large chunk of our total traffic goes through these racks.
scandinavian··on Intel is reducing server chip pricing in attempt to stem the AMD tide
You don't think it's important to make the distinction between chip design and manufacturing?

Intel has clearly failed with regards to manufacturing new nodes, but is the chip design really that bad when they could compete for a long time with a large node disadvantage?

scandinavian··on Intel is reducing server chip pricing in attempt to stem the AMD tide
> Simplistically: Intel's chips aren't as good as AMDs so it has to drop prices.

Shouldn't you replace AMD with TSMC in that sentence, unless you meant design instead of chips? AMD doesn't manufacture chips.

scandinavian··on Windows Subsystem for Linux GUI
>But I mean come on, they're Microsoft. If they really wanted filesystem access to be efficient across systems, we'd have it by now.

Here's one of the developers saying it is hard back in the WSL days.

https://github.com/Microsoft/WSL/issues/873#issuecomment-391...

The reason makes sense to me, but I'm not an expert. Maybe you could expand on why you think they could do it but chose not to?

scandinavian··on Windows Subsystem for Linux GUI
Accessing the WSL filesystem from WSL is indeed a lot faster on WSL2. Accessing the Windows filesystem from WSL or vise versa is even slower in WSL2 compared to WSL1.

https://docs.microsoft.com/en-us/windows/wsl/compare-version...

> As you can tell from the comparison table above, the WSL 2 architecture outperforms WSL 1 in several ways, with the exception of performance across OS file systems.

scandinavian··on Windows Subsystem for Linux GUI
Accessing the Windows filesystem from WSL and vice versa is extremely slow, so running for example your IDE in WSL and having your code etc. stored in WSL is useful. I think that is one of the big usecases. It's already kinda supported in vscode, where it runs a vscode server in WSL and Windows just runs the frontend.

It's useful for me when developing dotnet intended for Linux as I can store the code in WSL and be able to build, debug, run docker and so on directly from vscode.

scandinavian··on Podman, the open source Docker alternative ported to M1 (Apple Silicon) machines
You can run docker on Windows without Docker Desktop. I think the only thing that requires Docker Desktop on windows is if you want windows containers, but I don't really think that's a common usecase.
scandinavian··on Harbormaster: Anti-Kubernetes for your personal server
>There aren't many solutions around for automatically pulling and running new images.

Isn't that exactly what watchtower does?

https://github.com/containrrr/watchtower

It works great on my mediacenter server running deluge, plex, sonarr, radarr, jackett and OpenVPN in docker.

scandinavian··on Hash collision in Apple NeuralHash model
It is hidden for the user. Obfuscation doesn't work. They probably just called the private API to generate a hash on a jailbroken phone. There's even a link to another piece of software that can do just that, only on macOS.

https://github.com/KhaosT/nhcalc

scandinavian··on Children are spoofing Covid-19 tests with soft drinks
That's news to me. Wikipedia also notes that Aspartame which is the sweetener used in most diet soda, has not been found to be carcinogenic with a bunch of citations.

Or are you talking about other ingredients?

scandinavian··on Children are spoofing Covid-19 tests with soft drinks
What's wrong with diet soda?
scandinavian··on 25 Gigabit Linux internet router PC build
I would be very surprised if you could even break 2.5 gbps towards google drive. Saturating 25 gbps to anything the peer out of country would be basically impossible most places.
scandinavian··on URLs: It's Complicated
Specifically using another font for the code tag then the rest of the blog to hide the difference between ⁄⁄ and // seems weird. I get that it wouldn't be interesting if not doing that, but doesn't that just show that it's really not as complicated as you make it out to be?
scandinavian··on Stack Overflow sold to Prosus for $1.8B
His questions have 444 upvotes, so he should actually have 4400 rep. He lost some to users being deleted. Looking at the reputation log he actually has less than he should have, but I'm not an expert.
scandinavian··on YouTube-dl can no longer download age-restricted videos
According to google ID cards are deleted after age has been proven, but for some reason they might keep credit card information.

>Important: If you enter your credit card info for age verification, Google will retain this data as necessary to meet legal and regulatory requirements.

Must be because of audit laws relating to processing credit cards.

https://support.google.com/accounts/answer/10071085?p=age-ve...

scandinavian··on Chaos Ink
I'm getting a steady 144 fps. I don't think the delay is performance related, at least on my PC.
scandinavian··on The Day AppGet Died
Not sure why. A torrent client is at least general purpose. The only use for sonarr is automate piracy of TV shows.
scandinavian··on I got my first $50/mo customer
It's also completely unnecessary. You can just create a repo and backdate commits to do it instantly.

Like this for example:

https://github.com/gelstudios/gitfiti

scandinavian··on New in PHP 8
https://3v4l.org/saHj2

However you could just catch Exception. Not sure why a parse error is a "Fatal error".

scandinavian··on CacheOut: Leaking Data on Intel CPUs via Cache Evictions
Sure, I was just kinda confused that this was the example they presented. I guess for highly targeted attacks, it might be somewhat useful.

>Leaking KASLR/stack canary just mean you get 90s level triviality of attacking any stack-overflowing API you can find.

It does not seem trivial with this exploit, but maybe I'm just not getting it. With the low accuracy and transfer rate, it seems like a lot of stars need to line up with regards to how the service you attack function.

scandinavian··on CacheOut: Leaking Data on Intel CPUs via Cache Evictions
Okay, we have differing definitions of what a rootkit is it seems.
scandinavian··on CacheOut: Leaking Data on Intel CPUs via Cache Evictions
>CacheOut violates the operating system's privacy by extracting information from it that facilitates other attacks, such as buffer overflow attacks.

>More specifically, modern operating systems employ Kernel Address Space Layout Randomization (KASLR) and stack canaries. KASLR randomizes the location of the data structures and code used by the operating system, such that the location is unknown to an attacker. Stack canaries put secret values on the stack to detect whether an attacker has tampered with the stack. CacheOut extracts this information from the operating system, essentially enabling full exploitation via other software attacks, such such as buffer overflow attacks.

Can anyone explain this scenario? Is this really a realistic scenario? Do they mean if you have code execution on a system, and want to escalate privileges, you would find another network/socket service that is running on the same system, find an exploit in this service, and then leak the stack canary to allow corrupting the stack? There's often easier ways to defeat the stack canary.

scandinavian··on CacheOut: Leaking Data on Intel CPUs via Cache Evictions
>but the instant it's in a rootkit everybody will be able to do it.

This makes no sense. If you have the privileges to install a rootkit, there is no need to use any speculative execution exploit.

scandinavian··on Every Google result now looks like an ad
The three IP's they return when you do a DNS lookup originate form Rumania, Switzerland and the island country Saint Kitts and Nevis.

The site was created by Russians though, just not sure it is hosted there anymore.

scandinavian··on More Intel speculative execution vulnerabilities
As is said in the PoC, it does not bypass index masking and site-isolation. They read data already available to the code they are executing. They did show that the timer resolution mitigation is not 100% effective, which is well known and why it is not the only mitigation.

That's not a speculative execution browser 0day, as it doesn't work in updated browsers and it never has (or I guess it works if you want to leak data you could just console.log). Could you post an actual 0day instead?

scandinavian··on More Intel speculative execution vulnerabilities
> We leak a string from another process using Javascript and WebAssembly in the SpiderMonkey engine.

They leak in flight data, using a detached spidermonkey engine, patched to make performance.now() return rdtscp at a rate of 1B/s while the victim application is spamming a load string instruction as fast as possible.

This does not allow:

>any ad network can access any and all memory on your desktop

This allows any ad-network to access random bits on the cache line. If the timing mitigation didn't already fix this, it seems impossible to me to get anything useful from it, the precision and bitrate is just too low (which is why the exploit just spams load instructions in a while 1 loop).

>and the RIDL exploits don't require special instructions.

Weird, in the new addendum it says it uses TSX, and in the PoC it uses XBEGIN. Must be a mistake.

scandinavian··on More Intel speculative execution vulnerabilities
You have misunderstood how the browser attacks work. They are limited to the memory assigned to the browser process. If site-isolation and the other browser mitigations were somehow bypassed, an ad-network would potentially be able to read some data from other loaded tabs.

You can't use the speculative execution vulnerabilities to just read all system memory using a javascript exploit. Like the exploit that is the topic of this post can't be used in a browser at all, as you are limited to what the JIT executes, you can't just execute TSX instructions in a browser.

You might be thinking of when you have native code execution.

← PreviousPage 3 of 6Next →