News for hackers. Stuff that matters.
Re:A New Attack Can Unmask Anonymous Users on Any Major Browser by saxonww on Friday June 02, 2023 @05:07PM (#36170760)
Firefox container mode stops this. I can imagine a product that makes every tab an ephemeral container by default, and you had to explicitly opt-in to a container profile to share cookies, etc. cross-tab.
Re:A New Attack Can Unmask Anonymous Users on Any Major Browser by pwgentleman on Friday June 02, 2023 @05:17PM (#36170865)
Yeah there’s an extension called Temporary containers that does exactly that (^:
Re:A New Attack Can Unmask Anonymous Users on Any Major Browser by baliex on Friday June 02, 2023 @07:18PM (#36172069)
Been using it for years and watching others’ machines for how tracked they are across the web is terrifying. Even things as basic as being on clothingshop.com and then seeing ads for said shop on someotherdomain.com, which I understand is totally normal, has become jarring for me. I recommend everyone installs it. Yes, you have to click more cookie banners, and I still say no, but mind less when I cave and say yes because what they’ll learn is so limited. My temporary containers have a persistent auto increment so after a few years it’s (semi-) interesting to see that I’m on my ~20,000th temporary container
Re:A New Attack Can Unmask Anonymous Users on Any Major Browser by ropeladder on Friday June 02, 2023 @07:26PM (#36172124)
With Temporary Tontainers you can just install one of the cookie-ignoring plugins, since cookies don't do much if your containers are ephemeral.
Re:A New Attack Can Unmask Anonymous Users on Any Major Browser by probably_wrong on Saturday June 03, 2023 @05:05AM (#36174964)
It is my understanding that the name "cookie banner" is misleading, to the point of acting against your own interests.

If you click Agree you agree to be tracked regardless of the method. So yes, cookies won't do much, but now you've agreed to any kind of tracking, even those that defeat private mode and/or script blockers (assuming there's one).

Re:A New Attack Can Unmask Anonymous Users on Any Major Browser by baliex on Monday June 05, 2023 @12:19PM (#36198579)
I haven't really looked into the plugins but surely if they can find the "accept tracking" button, they could also find the "no thanks" button instead
Re:A New Attack Can Unmask Anonymous Users on Any Major Browser by ropeladder on Friday June 02, 2023 @07:24PM (#36172106)
Temporary Containers is fantastic. Its functionality should really be a core feature of any browser that claims to be concerned with privacy.
Re:A New Attack Can Unmask Anonymous Users on Any Major Browser by Aachen on Friday June 02, 2023 @05:45PM (#36171190)
If you're linked to something on twitter or discord or so, odds are that you'll open it in that container because that's the default behavior. While you're right, and I use containers as well, I'm not sure that's a solid way to prevent this attack unless the person can be convinced to diligently right click anything they wish to open, copy the link, and manually paste it in a fresh new tab.
Re:A New Attack Can Unmask Anonymous Users on Any Major Browser by fsflover on Friday June 02, 2023 @06:03PM (#36171399)
This is solved in Qubes OS by using separate VMs for different security domains. For Discord, a single click can be configured to open a browser in a dedicated disposable VM.
Re:A New Attack Can Unmask Anonymous Users on Any Major Browser by Aachen on Saturday June 03, 2023 @05:59AM (#36175220)
My work requires me to open links in different VMs. How exactly do I tell a browser to override link clicks to be handled by an external program? This would be very useful indeed
Re:A New Attack Can Unmask Anonymous Users on Any Major Browser by fsflover on Saturday June 03, 2023 @03:35PM (#36179800)
This is how I do it on Debian. First, reate a custom "browser" like this:

touch .local/share/applications/open-in-dispvm.desktop,

and put inside a command like this:

qvm-open-in-vm '@dispvm:fedora-37-dvm' %u

in accordance with this guide:

https://www.qubes-os.org/doc/how-to-use-disposables/#opening...

To make this browser default, you do this:

xdg-settings set default-web-browser open-in-dispvm.desktop

See also how to create .desktop files: https://askubuntu.com/questions/45885/how-do-i-set-a-custom-....

Re:A New Attack Can Unmask Anonymous Users on Any Major Browser by Aachen on Saturday June 03, 2023 @06:24PM (#36181099)
Browsers don't call the OS to open a URL, it would have to be an add-on or something
Re:A New Attack Can Unmask Anonymous Users on Any Major Browser by fsflover on Saturday June 03, 2023 @06:39PM (#36181192)
Indeed, it only works for other applications, not browsers. Interesting question. Perhaps you could ask it on the Qubes forum: https://forum.qubes-os.org.
Re:A New Attack Can Unmask Anonymous Users on Any Major Browser by xk_id on Saturday June 03, 2023 @03:43PM (#36179869)
When the link is in a different app (e.g email client), the click event is handled by the OS and the URI is sent to the “default app” for that URI schema (for http/https, that would be your default browser). You can therefore reconfigure your OS to use a different app for that schema.

On Mac, you can for example create a simple App in AppleScript with the following code:

  on open location the_url
     do shell script "/path/script.sh" & quoted form of the_url
  end open location

Then, using a tool like “SwiftDefaultApps”, you can configure this new AppleScript app to be the default app for the http/https schema.

In script.sh, which receives the clicked url as the its first positional argument, you can then run any arbitrary logic that you require.

So this idea would work if the links you wanted to open were coming from another app. If they come from inside the browser, I would suggest writing an additional browser extension that replaces all http/https links in a page with an invented URI schema, like newschema://. Then the browser would pass those links to the OS for handling and then you would have full control over how to handle this new schema.

Hope this makes sense.

Re:A New Attack Can Unmask Anonymous Users on Any Major Browser by Aachen on Saturday June 03, 2023 @06:25PM (#36181106)
That makes sense and I knew this, but browsers are the main use case for me, not external programs
Re:A New Attack Can Unmask Anonymous Users on Any Major Browser by xk_id on Saturday June 03, 2023 @09:22PM (#36182110)
Yeah, so your script.sh could send the URI received in its positional argument to a browser with the configuration you need (and substitute newscheme:// to https://). I think it’s 100% doable
Re:A New Attack Can Unmask Anonymous Users on Any Major Browser by cypherpunks01 on Friday June 02, 2023 @09:50PM (#36172939)
Temporary Containers extension in Firefox can be configured to isolate upon normal left-click, for any links heading to different domains/subdomains, then you don't need to copy/paste or do anything special.

How?

  - about:addons
  - Temporary Containers > 3 dots > Preferences
  - Isolation > Global settings tab
  - Mouse Click settings
  - Change behavior for Middle Mouse, Ctrl/Cmd-Mouse, or normal Left Mouse clicks
  - Always = always open in new temp container
  - Never = never start new temp container on click
  - Different From Tab Domain/Subdomain = start a new temp container only when navigating to a different domain/subdomain
Re:A New Attack Can Unmask Anonymous Users on Any Major Browser by ravenstine on Friday June 02, 2023 @06:29PM (#36171656)
Even better, type "about:profiles" into your URL bar, create a new profile that runs in an entirely separate Firefox process, and live your second life there.
Re:A New Attack Can Unmask Anonymous Users on Any Major Browser by xjay on Friday June 02, 2023 @06:56PM (#36171906)
Disable automatic updates in this case (Windows).

When an update is applied between the first and second profile process, any new tab won't do anything in any of the instances. Firefox likely still doesn't detect this state.

Edit: That is, if you use Firefox with two or more profiles, and may start one profile later (after a new update was published).

Re:A New Attack Can Unmask Anonymous Users on Any Major Browser by magicalhippo on Friday June 02, 2023 @07:47PM (#36172256)
I run Firefox stable and Firefox beta on separate profiles (in addition to containers). The stuff I'm less worried about using beta.
Re:A New Attack Can Unmask Anonymous Users on Any Major Browser by ravenstine on Saturday June 03, 2023 @11:26AM (#36177400)
Same thing happens on macOS. And yeah, I turn off automatic updates and just update when it bugs me.

It's an underrated feature, IMO. Profiles can be made very purpose-specific, and I like that there's not the possibility of leakage due to a site exploiting an add-on sharing data across containers, etc. I still like the mukti-containers feature, but I see it as less of an anonymity thing and more as a convenient way to be able to sign into multiple website accounts at once.