News for hackers. Stuff that matters.
Re:Kaspersky AV injected unique ID allowing sites to track u... by mirimir on Sunday August 18, 2019 @12:44AM (#20728282)
Indeed.

But then, I don't trust Microsoft, either.

In Debian, I can be reasonably confident that no information leaves the system without my authorization.

Edit: Just out of curiosity, am I wrong in mistrusting Microsoft, or in trusting Debian?

Re:Kaspersky AV injected unique ID allowing sites to track u... by mey on Sunday August 18, 2019 @02:50AM (#20728660)
If you are using Windows, I recommend using defender over any other AV option[0]. Understand, if you are already using Windows, you are already trusting Microsoft. If you don't trust Microsoft you probably shouldn't be using Windows.

[0] There are enterprise solutions that may be better for centralized control in a mixed environment (osx/Linux/windows). Please consult your CISO

Re:Kaspersky AV injected unique ID allowing sites to track u... by mirimir on Sunday August 18, 2019 @03:21AM (#20728751)
I do agree with that.

Except that I do use Windows without trusting Microsoft. I use install disks that I've purchased ~anonymously for cash. And I only run VMs, which hit the Internet via nested VPN chains, and sometimes Tor.

Re:Kaspersky AV injected unique ID allowing sites to track u... by bboygravity on Sunday August 18, 2019 @04:03AM (#20728897)
So all the telemetry that Windows collects from the VM's you're running are sent to Microsoft through nested VPNs over TOR?

I don't think Microsoft minds or cares that your Windows VM telemetry gets send to them that way or any other way?

How are your VPNs and TOR helping you with the Microsoft you don't trust?

Re:Kaspersky AV injected unique ID allowing sites to track u... by mirimir on Sunday August 18, 2019 @04:22AM (#20728954)
Microsoft can collect anything it wants from those VMs. Because they contain nothing that I don't want them to know. In particular, they don't contain anything about my meatspace identity.

Sometimes I do need to put data on VMs that I want kept private. For that, I clone a Windows VM, add a virtual disk containing the data, and then start it with no network connectivity. When I'm done, I detach the data disk, and delete the VM.

Re:Kaspersky AV injected unique ID allowing sites to track u... by zaarn on Sunday August 18, 2019 @09:01AM (#20729907)
Are you sure they don't leak any information sufficient to identify you? Let's play this through; 33 bits of information leak your identity (assuming 8 billion humans)

If you set your timezone; that's already leaking 5 bits of information (37 timezones), it lets an observer narrow down your location. The times the VM is active can confirm this (by observing when the VM is more active vs not, your sleep pattern can be derived)

Your language setting can nail down north vs south hemisphere, that leaks another bit of information.

Since you come from a Tor endpoint, we can exclude with high probability old demographics and very young demographics (>65 and <14 years old), those seem to rarely use such tools. That eliminates about 34% of the population, leading to another 8 bits of entropy leaked. The usage pattern of the mouse can be used to confirm (shaky movements could indicate cognitive impairment common among elderly as well as usage habits like only using VMs outside common school times).

We're down to 19 bits; Only 500'000 people share these traits with you.

By profiling which websites you visit and the fact you're using tor, one can take a guess at your gender, likely male. Another bit is gone, 250'000 people left.

Identifying 1 in 250'000 people based on them using a VPN; depending on region between 18 and 30% of people use a VPN atleast once per month (statista), that fact alone leaves you with 13 bits on both ends of the range.

1 in 8000 people.

Are you certain you can hide among 8000 people? Because things like movies being watched or social network usage can further leak entropy and reduce your anonimity set. Your meatspace identity is protected by 13 bits.

And if you visit very specific websites, like LGBT-related content, this can be used to identify you as LGBT, moving you down to 4 bits of entropy. 16 people.

Re:Kaspersky AV injected unique ID allowing sites to track u... by tripzilch on Sunday August 18, 2019 @09:56AM (#20730147)
I'm not sure about timezones but there live about 6 times as many people on the northern hemisphere than the southern, so that's not one bit of information.

I know (and have known, unfortunately) multiple people over 60 that use Tor. Aha but such people are even rarer and therefore must be even easier to identify ... or are they? :)

In fact I know a handful of kids younger than 14 who have on occasion used Tor as well.

If you already (reasonably) assume the gender is most likely male, then you should know that is also less than one bit of information.

Etc. You need to try a bit harder :)

Re:Kaspersky AV injected unique ID allowing sites to track u... by zaarn on Monday August 19, 2019 @07:23AM (#20736806)
You know a handful of kids but kids aren't that likely to use tor, selection bias strikes again!

Same for over 60yo.

There is plenty of other ways to wittle away at the bits. I think you're overconfident.

Re:Kaspersky AV injected unique ID allowing sites to track u... by mirimir on Sunday August 18, 2019 @09:42AM (#20730072)
For the most part, I only use Windows VMs when I need Excel for >50MB spreadsheets. Or to test Windows VPN clients.

Your analysis strikes me as implausible. Few adversaries could see all of those parameters. For example, it's typically Tor through a nested VPN chain. So it'd be nontrivial for a local observer to know that I'm using Tor. Or for a remote observer to know that I'm using VPNs.

And seriously, why would I use my meatspace timezone? But actually, I do sometimes, just to be more random. Also, my sleep schedule is highly irregular, as one can tell from my HN posting history.

Re:Kaspersky AV injected unique ID allowing sites to track u... by tripzilch on Sunday August 18, 2019 @09:59AM (#20730162)
It turns out that people's irregular sleep patterns are in fact not quite as irregular when you actually measure them. On the other hand, I believe HN posting history just says "X days ago" for posts older than a day, so you can't get fine grained schedules from that (I might have graphed yours, otherwise, just to see).
Re:Kaspersky AV injected unique ID allowing sites to track u... by mirimir on Sunday August 18, 2019 @10:03PM (#20734333)
Right, you'd need to scrape HN real-time to get a detailed posting history.

About sleep schedule. I really don't have one. I work and sleep when I feel like it. And I nap. And I have modafinil and zolpidem available. And coffee.

If you charted my waking and sleeping times long-term, you'd find pretty much a random walk. I can be up as much as 30-40 hours, or as little as ~1 hour. And I can be sleeping for anywhere from ~1 hour to maybe 15 hours or more.

Re:Kaspersky AV injected unique ID allowing sites to track u... by zaarn on Monday August 19, 2019 @03:10AM (#20735567)
You're more likely to sleep at night than not, that's sufficient to establish your timezone with good accuracy.

Fefe, a german blogger, had this analysis done using his posting history on his blog, allowing readers to not only determine his timezone, but when he was travelling and where.

Re:Kaspersky AV injected unique ID allowing sites to track u... by tripzilch on Monday August 19, 2019 @06:40AM (#20736591)
then, if I were to make a wild guess I'd say you're in Scandinavia or other high latitude place :)
Re:Kaspersky AV injected unique ID allowing sites to track u... by zaarn on Sunday August 18, 2019 @11:42AM (#20730862)
Windows telemetry will know it's Tor. Irregular sleep schedules are usually very regular when looked at over a long time.
Re:Kaspersky AV injected unique ID allowing sites to track u... by mirimir on Sunday August 18, 2019 @10:06PM (#20734346)
OK, Microsoft knows that some persona uses Tor. So what?

Sure, mine is "regular". In the sense of regularly random.

Re:Kaspersky AV injected unique ID allowing sites to track u... by zaarn on Monday August 19, 2019 @12:10AM (#20734824)
As mentioned, this lets microsoft single you out as an individual that is using Tor, among other signals. That makes you quite identifiable.
Re:Kaspersky AV injected unique ID allowing sites to track u... by mirimir on Monday August 19, 2019 @02:53AM (#20735491)
Sure, "identifiable".

But they still have no clue who I am. Which is all that concerns me.

Re:Kaspersky AV injected unique ID allowing sites to track u... by zaarn on Monday August 19, 2019 @03:12AM (#20735577)
Are you sure? Because the step between "identifiable" and "your personal identity" is short. Recent studies found that social graphs between social networks for the same person almost perfectly match. If you have a social network account (Facebook/Twitter/Netflix/Amazon/etc.) and you also have a social network account in the VM (HN) then someone can match those identities.
Re:Kaspersky AV injected unique ID allowing sites to track u... by wolco on Sunday August 18, 2019 @10:34AM (#20730341)
But changing the timezone to a different value or providing a few false flags would cripple this line of thinking.
Re:Kaspersky AV injected unique ID allowing sites to track u... by jowsie on Sunday August 18, 2019 @07:21AM (#20729566)
Not meaning to come across as mean, but could you explain your reasoning behind such precautions, and why they seem worth the extra effort to you? It would seem to me that if you just need to occasionally run an exe that you could most likely get it working with WINE.
Re:Kaspersky AV injected unique ID allowing sites to track u... by mirimir on Sunday August 18, 2019 @08:26AM (#20729780)
Once I have a Windows VM that's stable, with the apps that I usually need, the rest of it takes little time. Mainly it's Excel that I need. And I need it to use all available CPU cores. I suppose that might work in Wine, but that seems like an iffy approach.

Why do I take such precautions? Well, I've been an anonymous coward for a couple decades. I've corresponded with many people, and played with many projects. I honestly have no idea who might be after me, or for what. Ideally, nobody, for nothing. But ...

Given that, I take whatever precautions I practically can.

And it's also a hobby. Perhaps like building little ships in glass bottles. But hopefully maybe useful to someone.

Re:Kaspersky AV injected unique ID allowing sites to track u... by heavenlyblue on Sunday August 18, 2019 @08:09AM (#20729712)
That setup doesn’t work with games, too - unless you’re willing to turn off your GPU in the main OS so that it could be used in the other guest.
Re:Kaspersky AV injected unique ID allowing sites to track u... by mirimir on Sunday August 18, 2019 @08:29AM (#20729793)
I don't play games. And even if I did, I'd never pass a physical GPU to a VM. That's almost as iffy as direct access to physical storage.
Re:Kaspersky AV injected unique ID allowing sites to track u... by goatinaboat on Sunday August 18, 2019 @02:47AM (#20728654)
The reason the Windows Defender is so good these days is https://docs.microsoft.com/en-us/graph/security-concept-over...

The idea is everyone pools their threat data and immunity to new threats can be rapidly disseminated via Azure. The time window any new malware has to exploit Windows 10 anywhere in the world is measured in 10s of minutes now. It’s impressive stuff. The ISG can spread immunity much faster than malware can spread itself.

Of course wearing my cynics hat, they never bothered to backport it to Windows XP and that’s why the NHS was hit with WannaCry. But the other side is that they had plenty of time to upgrade...

Re:Kaspersky AV injected unique ID allowing sites to track u... by heavenlyblue on Sunday August 18, 2019 @08:10AM (#20729721)
How does it help against new threats exactly, if they are not auto-detected in the first place?
Re:Kaspersky AV injected unique ID allowing sites to track u... by goatinaboat on Sunday August 18, 2019 @09:11AM (#20729945)
Suspicious files - if you fully buy into the solution - are uploaded to Azure and “controlled detonation” in a VM assesses if they’re malware. Then a signature is generated and distributed. It’s super slick. MS are serious about rehabilitating their security reputation.
Re:Kaspersky AV injected unique ID allowing sites to track u... by the_duke on Sunday August 18, 2019 @04:47AM (#20729045)
You are wrong about trusting Linux.

Linux would badly need AV if it was a more popular desktop OS. Right now the user base is just too small to be a valuable target.

A regular Linux distro (without SELinux or some kind of application sandboxing and a hardened setup including NOEXEC home, forbidding ptrace, ...) is very susceptible to compromise.

All it takes is somehow getting the system to execute one unprivileged shell script and your user is permanently hosed.

An attacker can spy on everything, including other applications memory, unless they prevent it. Browsers are also easily compromised by just injecting a extension that can spy on everything.

Also he lack of dynamic firewalls makes it hard to monitor/prevent unwanted network traffic. (which could often be easily circumvented, though)

Re:Kaspersky AV injected unique ID allowing sites to track u... by codedokode on Sunday August 18, 2019 @02:36PM (#20731988)
Yes, Linux distributions don't have protection against malicious software. If you downloaded thrid-party program and run it, it can read everything from your home directory, including cookies and browser history, it can inject itself into browser process, it can see everything you type.

And if you decided to add third-party apt repository, for example, to use Node.JS or VS Code, you give permanent root access to the owner of repository. Also, some third-party .deb packages (for example, Slack) automatically add their repository and public key to apt sources list upon installation.

For example, there is a third-party repository, that allows installing multiple versions of PHP in Debian. This repository replaces cryptographic libraries provided by Debian with its own ones (you can see those packages here: https://packages.sury.org/php/pool/main/o/openssl/ )

Also, in Linux unprivileged program, run under "nobody" account, can read all unique hardware identifiers like MAC address, HDD serial number etc.

Re:Kaspersky AV injected unique ID allowing sites to track u... by mirimir on Sunday August 18, 2019 @05:20AM (#20729169)
Thanks. I do appreciate that there are vulnerabilities.

So I work only in VMs. I do nothing on host machines except to run VMs, and keep the OS up to date. And I compartmentalize rigorously. Minimally in different VMs. When it matters more, in different host machines. And when it really matters, in different host machines on different LANs. Only text files cross important security boundaries. And machines that my ~anonymous personas use never see anything about my meatspace identity.

This is, of course, just a hobby.

Re:Kaspersky AV injected unique ID allowing sites to track u... by TonyTheSlayer on Sunday August 18, 2019 @01:35AM (#20728439)
I think for the purposes of antivirus software, trust issues can be set aside here. Windows Defender ideally has the upper edge for choosing an antimalware solution for Windows in that it's baked in directly to the OS and therefore has more control and ability to prevent malicious activity than a third-party solution. You might not have to trust Microsoft due to privacy concerns, but for something like antivirus software that protects their operating system, intentionally making Windows Defender inferior software just isn't within their best interests.
Re:Kaspersky AV injected unique ID allowing sites to track u... by ethbro on Sunday August 18, 2019 @04:08AM (#20728910)
Windows Defender is a superior AV solution for the same reason first party map solutions are superior to third party.

When part of your core functionality is dependent on coverage and total install count, you're never going to beat someone who leverages control of a lower part of the stack.

Re:Kaspersky AV injected unique ID allowing sites to track u... by mirimir on Sunday August 18, 2019 @01:47AM (#20728472)
How can one "set aside" privacy issues?
Re:Kaspersky AV injected unique ID allowing sites to track u... by sverhagen on Sunday August 18, 2019 @04:18AM (#20728944)
Wasn't the argument you're responding to that Defender is the superior solution so that you don't have to trust other vendors than Microsoft, of which the trust point is moot if you've already chosen to run Windows?
Re:Kaspersky AV injected unique ID allowing sites to track u... by mirimir on Sunday August 18, 2019 @04:25AM (#20728968)
My point is that using Debian is the superior solution, from a privacy perspective. But yes, I do agree that Defender is the best option, if you must use Windows.
Re:Kaspersky AV injected unique ID allowing sites to track u... by earenndil on Sunday August 18, 2019 @02:44AM (#20728648)
Certain companies pay microsoft ridiculous amounts of enterprise software; you can probably trust ms not to do anything that would piss off those companies, simply because they act in their own self-interest. Beyond that, not really.

Debian and openbsd are probably as close as it gets to having an actually secure system, and if I had to pick an os for a very critical application, it would definitely be one of those. But really, honestly, any of debian, ubuntu, fedora, alpine, arch, gentoo, slackware; freebsd, openbsd, netbsd, dragonflybsd are probably more than sufficient for any practical need you might have for privacy and security.

Re:Kaspersky AV injected unique ID allowing sites to track u... by Fnoord on Sunday August 18, 2019 @08:09AM (#20729711)
[1] (Debian had a weak PRNG for ~2 years in ~2006-2008) teaches us every distribution or OS vendor can make huge mistakes, with very simple actions (ie. the systems are complicated).

(I'm not saying you should not trust Debian though.)

I do wonder if a stateful OS such as nixOS can help mitigate the threat of malware easier (sans extradition of data, for that we'd need capability-based security, or something like pledge). If it'd be user-friendly, like TimeMachine, that is.

[1] https://www.schneier.com/blog/archives/2008/05/random_number...

Re:Kaspersky AV injected unique ID allowing sites to track u... by codedokode on Sunday August 18, 2019 @02:31PM (#20731948)
Is that so? Chromium browser, distributed in Debian repositories, sends a signal to Google (with cookies) every time you open new tab if you use Google as default search engine (you can easily verify this by opening a new tab, running developer tools and refreshing the tab. The URL is https://www.google.ru/_/chrome/newtab?ie=UTF-8 and it has headers preventing caching).
Re:Kaspersky AV injected unique ID allowing sites to track u... by mirimir on Sunday August 18, 2019 @10:08PM (#20734350)
No sane person would use Chrome/Chromium and Google, and expect privacy.
Re:Kaspersky AV injected unique ID allowing sites to track u... by coribuci on Sunday August 18, 2019 @07:14AM (#20729543)
> In Debian, I can be reasonably confident that no information leaves the system without my authorization.

Only if you are not running a webbrowser

> Edit: Just out of curiosity, am I wrong in mistrusting Microsoft, or in trusting Debian?

Only fools trust Microsoft (or Google, or Facebook). I slightly hoped they were turning in the right direction in win 2000 and xp and even 7. But vista and the rest shown their true nature. About Debian i have mixed feelings. On one hand they are a very respectable distribution, on the other hand - systemd.

Re:Kaspersky AV injected unique ID allowing sites to track u... by mirimir on Sunday August 18, 2019 @08:34AM (#20729817)
> Only if you are not running a webbrowser

Touché. I am not hard-core enough to browse in terminal. I don't use Chrome/Chromium though.

I actually rather like systemd. Most of the time, at least. But yes, I know the controversy. So do you like Devuan?

Re:Kaspersky AV injected unique ID allowing sites to track u... by scarface74 on Sunday August 18, 2019 @10:49AM (#20730446)
Have you personally audited every line of every piece of code in your Debian install? The usual retort is “many eyes”. How “many eyes” were on the OpenSSL vulnerability that was in many open source distributions for a year and a half.
Re:Kaspersky AV injected unique ID allowing sites to track u... by FDSGSG on Sunday August 18, 2019 @05:47AM (#20729253)
> or in trusting Debian?

From a security POV Desktop Linux is an utter disaster.

For attackers it's like going back a decade in time.

Re:Kaspersky AV injected unique ID allowing sites to track u... by mirimir on Sunday August 18, 2019 @05:58AM (#20729290)
Please explain.

Security from what? By default, there are no services listening. And what malware runs on Linux?

Re:Kaspersky AV injected unique ID allowing sites to track u... by FDSGSG on Sunday August 18, 2019 @06:43AM (#20729442)
>By default, there are no services listening.

Desktop linux, not "the Linux kernel". The kernel isn't amazing, but on the desktop side you regularly see downright absurd stuff like this https://scarybeastsecurity.blogspot.com/2016/11/0day-exploit...

and less surprising bugs like this https://donncha.is/2016/12/compromising-ubuntu-desktop/

The quality of software outside of some widely deployed server software tends to be quite poor, exploit mitigations are not being implemented.

>And what malware runs on Linux?

Far too many to list. You can easily find hundreds of public examples. This terrible wikipedia page provides a decent starting point with a list of names to google https://en.wikipedia.org/wiki/Linux_malware

Re:Kaspersky AV injected unique ID allowing sites to track u... by zik on Sunday August 18, 2019 @07:55AM (#20729667)
> you regularly see downright absurd stuff like this

That's a bug which only occurs on five year old distributions and which was fixed years before any exploit was ever found. Honestly if that's being brought up as a bad example Linux is looking pretty good compared to other operating systems.

Re:Kaspersky AV injected unique ID allowing sites to track u... by FDSGSG on Sunday August 18, 2019 @08:03PM (#20733772)
> That's a bug which only occurs on five year old distributions and which was fixed years before any exploit was ever found

I don't think we're reading the same post unless you got confused by the part where he discusses the exploit not the bug.

> Honestly if that's being brought up as a bad example Linux is looking pretty good compared to other operating systems.

Compared to what? FreeBSD? Certainly not any modern desktop OS.

MSFT is investing heavily in exploit mitigations while Linux distros are probably still struggling with ASLR. https://www.blackhat.com/docs/us-16/materials/us-16-Weston-W...

Re:Kaspersky AV injected unique ID allowing sites to track u... by starfallg on Sunday August 18, 2019 @12:08PM (#20731024)
Yeah. The first article he linked to specifically called out Windows for doing fonts in kernel-space, to put that gstreamer vulnerability in context.
Re:Kaspersky AV injected unique ID allowing sites to track u... by zaarn on Sunday August 18, 2019 @12:19PM (#20731104)
An attacker can trivial phish to sudo password and execute arbitrary commands every time you open the terminal.

shellrc and profile as well as almost all core unix tools allow running arbitrary code.

You can even bend the paths of bashrc and friends so the user can't trivially inspect them without dropping to root first (at which point, arbitrary code can trivially obtain root access too)

Re:Kaspersky AV injected unique ID allowing sites to track u... by RaleyField on Sunday August 18, 2019 @09:04AM (#20729919)
ls -l ~/.bashrc and by design.