News for hackers. Stuff that matters.
Re:Bypassing anti-incognito detection in Google Chrome by em-bee on Saturday July 20, 2019 @02:20AM (#20484436)
there is only one way to get around this. incognito mode needs to emulate all system resources without actually making them available.

even without that consideration, for things like disk storage, there is no reason[1] why incognito mode should have less access than normal mode. all websites should function as normal. the only difference is that in incognito mode everything is wiped once it is closed, and nothing is written to disk.

[1] ok, so the reason for the limitation is that the disk has to be emulated in memory because incognito mode must not write to the disk which could leave artifacts behind.

this makes me wonder if it is possible to detect a difference in timing for example when writing lots of data with an emulated disk vs a real one.

Re:Bypassing anti-incognito detection in Google Chrome by 13of40 on Saturday July 20, 2019 @05:10AM (#20484824)
I think there are two use cases for incognito mode:

1. I don't want others who have access to my client machine to be able to see a history of what I did online.

2. I don't want servers to be able to know anything about me except maybe my IP address.

It feels like tying these two together under one setting makes them both fragile. E.g. for scenario 2, I don't care whether a web page can use local storage as long as they don't have access to the data between sessions.

I'd much rather have two options - hide from the server and hide from your boss (or whoever). And maybe some UI to help me always hide from specific servers or delete all the artifacts from a specific session after the fact.

Re:Bypassing anti-incognito detection in Google Chrome by 14of40 on Saturday July 20, 2019 @08:55PM (#20489282)
I want #1 for all machines, almost 100% of the time. Maybe 99%.

I try to wipe my drives and repartition every 30 to 60 days, with a full OS reinstall. The Virtual Machines I run with VirtualBox are even less persistent than the bare metal, often stateful for mere hours. I do not retain browser history, and I have only about 5 bookmarks, and trash my cookies and cache at least every day, multiple times usually.

But I want #2 for like 75% of the time. The other 25% of the time, that state almost never lasts 48 hours. When I go to bed, the current browser state dies forever. I usually have a hard time staying awake for 48 hours straight.

This means #2 will become 100% every 48 hours, with 48 hours being an extreme maximum lifetime for session data, and the true norm being 8 hours (9 to 5, each work day).

Considering that #1 & #2 are sure to intersect every 48 hours, dividing attention between them seems burdensome.

Re:Bypassing anti-incognito detection in Google Chrome by 13of40 on Sunday July 21, 2019 @02:21PM (#20492806)
I'm going to go out on a limb and say you're not the typical user. Besides, in your case it would be a matter of selecting "hide from everyone" in the drop-down.
Re:Bypassing anti-incognito detection in Google Chrome by mcherm on Saturday July 20, 2019 @06:16AM (#20484960)
Yes! I think this is exactly the way to think about it. Especially the part about giving the user control over just what sites they hide in this manner.
Re:Bypassing anti-incognito detection in Google Chrome by radisb on Saturday July 20, 2019 @06:35AM (#20485040)
What if you want both?
Re:Bypassing anti-incognito detection in Google Chrome by patrec on Saturday July 20, 2019 @06:47AM (#20485073)
Indeed – I have a hard time believing that the vast majority of people who want one of these things wouldn't also want the other.
Re:Bypassing anti-incognito detection in Google Chrome by 13of40 on Saturday July 20, 2019 @08:02AM (#20485273)
Hypothetical examples:

I don't want the New York Times to ID me, but I don't care if my wife knows I read it.

I don't want red tube to forget about my all access pass, but I don't want it in my browser history.

Re:Bypassing anti-incognito detection in Google Chrome by em-bee on Saturday July 20, 2019 @08:54AM (#20485461)
right, and i do want the times in my history so i know if i have seen it already. but as is suggested elsewhere, private mode does not prevent ID.

the times could switch to genuine browser/device fingerprinting and store that information server side. if they are careful enough so that false possibles are not possible (rather let a few slip through) then they could effectively control how much free access everyone gets.

Re:Bypassing anti-incognito detection in Google Chrome by ec109685 on Saturday July 20, 2019 @03:35AM (#20484613)
If Chrome encrypted the data it wrote to disk, it can throw away the encryption key and delete the file when you close the incognito window, thus giving you access to the disk securely.
Re:Bypassing anti-incognito detection in Google Chrome by TomAnthony on Saturday July 20, 2019 @04:01AM (#20484668)
Any sort of file system imprint would at least leave a trace that incognito had been used. I’m not sure how much of a problem at is, and how much of a trace it currently leaves.
Re:Bypassing anti-incognito detection in Google Chrome by wtmt on Saturday July 20, 2019 @04:21AM (#20484716)
What about swap space used on the disk by the OS, transparent to the application? Is that also a concern for “file system imprint”? What’s the threat model here? The application would have to use RAM that’s never swapped for storing this sort of information. That would make it quite heavy.
Re:Bypassing anti-incognito detection in Google Chrome by geekroutine on Saturday July 20, 2019 @04:34AM (#20484747)
I think chrome devs want to limit the "file system imprint" as much as possible to enforce "no-history in incognito". There's been some discussions on finding a way around crash reporting in incognito session which stores the dump in the disk, and to my knowledge this is the only violation of this policy. [1]https://bugs.chromium.org/p/chromium/issues/detail?id=876270...
Re:Bypassing anti-incognito detection in Google Chrome by em-bee on Saturday July 20, 2019 @04:17AM (#20484708)
there are many mundane reasons to use incognito mode. and the system would work in a way that the user will not even know the decryption key since it can be generated on the fly for each session.

the browser could even encrypt all their data by default. (but for non-incognito mode with a known key) it could then write the normal and incognito data in such a way that you can't even see that there is incognito data in there if you don't have the incognito key

Re:Bypassing anti-incognito detection in Google Chrome by dredmorbius on Saturday July 20, 2019 @09:57PM (#20489501)
Initialising a fixed storage image with random data offers plausible deniability.
Re:Bypassing anti-incognito detection in Google Chrome by pgeorgi on Saturday July 20, 2019 @04:04AM (#20484675)
> thus giving you access to the disk securely

The amount of encrypted data could be a side channel

Re:Bypassing anti-incognito detection in Google Chrome by amelius on Saturday July 20, 2019 @09:28AM (#20485613)
We need the same thing on mobile apps too. If the Facebook app wants access to my entire storage or else it refuses to take a picture, then why not show it a facade filesystem instead?
Re:Bypassing anti-incognito detection in Google Chrome by em-bee on Saturday July 20, 2019 @10:38AM (#20485979)
indeed, i come across that several times. for some apps that i don't trust i'd like them to get access to a private storage. or a fake location. some apps insist that they need my real location in order to serve me properly. sure, that would make things convenient, but i am perfectly fine with using the app with out that convenience.
Re:Bypassing anti-incognito detection in Google Chrome by vwdhx on Saturday July 20, 2019 @05:00AM (#20484805)
Incognito mode was conceived to not leave traces in your local system, hence its shortcomings to bypass paywalls. Making websites unaware of incognito mode was not part of the original design.