News for hackers. Stuff that matters.
Re:Slow Software by throwaway286 on Wednesday November 21, 2018 @11:32PM (#18507870)
I work at a large company that is not one of the famous silicon valley tech companies. One of the worst parts of working there is the heap of various enterprise anti-virus software they install on our computers. It brings huge typing and disk access latencies. Even opening files in vim with FZF is slow. I can't explain why but this makes programming so much less pleasant. I really just want to work somewhere without anti-virus.
Re:Slow Software by philpem on Thursday November 22, 2018 @04:25AM (#18508895)
You too, huh?

Last employer moved to McAfee "because active malware protection". Basically, AMP is a set of rules you can apply to disk accesses per application -- like for instance, "no application can delete PDF files from My Documents" (this is one of the "anti ransomware" rules).

It wasn't too bad with just the signature-based virus scan, but the updater and AMP were horrendous. The PCs (3.6GHz 8-core Xeon workstation with SSD, 16GB+ RAM and a ludicrously powerful 3D card) went from booting in 30 seconds to taking 15 minutes to boot. Eclipse took another five to start. When AMP was deployed to the JIRA server, JIRA refused to start (Atlassian Support suggested AV exceptions which IT refused).

IT response: close out any AV related ticket with "You will not be receiving a hardware upgrade and the AV is mandatory."

Six weeks later, IT was outsourced and the response became "we don't have permission to change AV settings" (BigCo politics).

Four more weeks later and the electronics lab was crippled as Labview got detected as malware by AMP.

A fortnight after, half the technical team handed their notice in.

It wasn't the only reason this FTSE100 was constantly outrun by its competitors, but it was certainly a contributing factor.

Re:Slow Software by 52-6F-62 on Thursday November 22, 2018 @10:43AM (#18510601)
Similar environment here.

I was thankfully able to strip McAfee out because it was monstrously terrible.

Still, corporate IT has enforced a browser plugin and tray app called Triton AP-Endpoint and Triton Forcepoint Endpoint.

It's sole purpose is to block you from moving any sensitive data to external drives. I, up until now, have had 0 problem removing any materials to any drives anywhere. I don't think it works very well. It does however chew through my 2015 MB pro battery and cause the fan to nearly continually run and even at times overheat.

I think I could remove it, too—but am mildly concerned they'll get a notification and come start inspecting things.

Re:Slow Software by roboyoshi on Thursday November 22, 2018 @09:26AM (#18510134)
At this point I'm kinda glad they went all the way, because now they don't exist anymore. I just hope the idiots don't ruin another company like that.
Re:Slow Software by mirekrusin on Thursday November 22, 2018 @10:16AM (#18510428)
You can't have viruses in company that doesn't exist I guess.
Re:Slow Software by silviogutierrez on Wednesday November 21, 2018 @11:40PM (#18507899)
I'm currently picking the OS stack for all machines at my company. All guidance, even people I respect, point towards antivirus protection. Yet I lean towards nixing that. I know it's hugely ineffective. In fact, it opens up holes of its own[1].

And yet... it's like scaffolding in NYC[2]. Absolutely useless[3]. But if you are all for removing it, and a brick falls and hurts someone, heads will roll. Quite a quandary I - and other C-levels - face.

[1] https://www.computerworld.com/article/3089872/security/secur... [2] Another contrarian passion of mine. [3] Bricks do fall and hurt people. But no more than scaffolding itself falls with the same effect.

Re:Slow Software by ggreer on Thursday November 22, 2018 @01:18AM (#18508236)
I would recommend against antivirus. If you force developers to use an annoying configuration of a specific OS, you make it much harder to hire top talent. Why would someone work at your company when they could go to Google and use their favorite Linux tools running on their favorite model ThinkPad?

It totally makes sense to lock down machines that can access production, but for development? Just let people use what they like. You'll have less work for IT, happier developers, and an easier time recruiting talent.

Re:Slow Software by coder543 on Thursday November 22, 2018 @12:16AM (#18508015)
Microsoft Defender typically doesn't hurt performance or security much. The alternative is to run Mac or Linux stacks instead of a Windows stack, of course.
Re:Slow Software by jaxn on Thursday November 22, 2018 @01:09AM (#18508199)
Microsoft Defender destroys WSL performance unless you create exclusions.
Re:Slow Software by setquk on Thursday November 22, 2018 @03:11AM (#18508596)
Then there’s NTFS behind that. Just use a VM. Ten times faster.
Re:Slow Software by jaxn on Thursday November 22, 2018 @11:18AM (#18510832)
For what I am using it for, a VM is not faster than WSL. Maybe in the early days, but not now.
Re:Slow Software by dagw on Thursday November 22, 2018 @07:34AM (#18509600)
Ten times faster at what? Do you have any benchmarks?
Re:Slow Software by setquk on Thursday November 22, 2018 @02:18PM (#18511925)
Writing and reading lots of small files on disk. Which is basically what 90% of Unixes are.
Re:Slow Software by godDLL on Thursday November 22, 2018 @12:24AM (#18508051)
While running a Linux stack may still work, your Mac info is outdated by three years, at least. Macs have entered the zoo in 2015.
Re:Slow Software by coder543 on Thursday November 22, 2018 @12:36AM (#18508086)
For practical purposes, that's not true.

Macs do not allow running unsigned software by default, and no one runs antivirus on Mac, ever. So even if they were commonly being infected, which they aren't, the person above would have organizational indemnity if someone were infected because they're following industry best practices by not running antivirus on Mac.

If you want, you can further restrict Macs to only App Store software, which is heavily sandboxed. Then you can go even further by not allowing the individual users to install software on their own, if you really want to be draconian about it.

Unless someone is being individually targeted, running very outdated software, or is intentionally trying to get themselves infected, it will not happen. Even if all three conditions are true, it's still very unlikely.

Anyone who says otherwise is just fear mongering. That same level of fear mongering could point to the dozens of pieces of malware that have been released for Linux.

I say this as someone who uses a Linux laptop for work and a Windows desktop at home. I don't have a dog in this fight. I do, however, try to stay very informed about the state of software security.

Re:Slow Software by em500 on Thursday November 22, 2018 @04:38AM (#18508955)
> Macs do not allow running unsigned software by default, and no one runs antivirus on Mac, ever.

My company-issued MBP is running something called "Cylance Protect" (and "TrendMicro" earlier). And also something called "Forecpoint DLP". I have no control over any of that, software just appears and disappears. I think it's done by something called "Jamf".

I don't really care either way. The only thing I actually use on the Mac is Chrome for email/calendaring/vidconf and some intranet sites. Actual work is all on Linux servers via ssh (and even that has "ClamAV" antivirus running). So I'm just using it as an expensive terminal/chromebook.

Re:Slow Software by sahil-kang on Thursday November 22, 2018 @07:41AM (#18509635)
It sounds like we might work together; the only difference is that I do most of my dev work on my MBP so I consider it an expensive Linux machine instead of a chromebook :)
Re:Slow Software by 52-6F-62 on Thursday November 22, 2018 @10:46AM (#18510618)
Haha I just made another comment to a similar effect. We had McAfee but I stripped it out because it was just so terrible.

We also have the Forcepoint nonsense.

Re:Slow Software by __mifflin on Thursday November 22, 2018 @12:46AM (#18508127)
> and no one runs antivirus on the Mac, ever.

Working at a large company (also not one of the famous silicon valley tech companies) and if you get a macbook, they are managed remotely and have BitDefender installed.

Re:Slow Software by coder543 on Thursday November 22, 2018 @12:54AM (#18508157)
I sometimes forget how much big companies enjoy spending money. I once worked for a large company where every developer was issued a full copy of Microsoft Office, even though most of them worked inside a fullscreen Linux VM all day. Outlook was the only piece of Office that my coworkers and I used, and I would have been happier using a tab open to a webmail provider inside the VM than having to use Outlook to connect to Exchange. That was far from the only unnecessary software they paid for. Why use Git when you can pay for Perforce!
Re:Slow Software by golergka on Thursday November 22, 2018 @05:11AM (#18509073)
If you're working in the game industry, and your repository includes a lot of huge binary files that are mergable, perfoce is a godsend.

Also, p4merge is the best merging utility for any VCS, and I always install it alongside git if I work in Windows.

Re:Slow Software by mariusmg on Thursday November 22, 2018 @10:01AM (#18510328)
>p4merge is the best merging utility for any VCS

What makes it "the best" ? Honest question, i found it kludgy and settled for Kdiff3.

Re:Slow Software by shandor on Thursday November 22, 2018 @10:43AM (#18510602)
p4merge is indeed awesome. I work exclusively in Linux environments, but p4merge always gets installed. The experience has actually gotten better in that regard since git started supporting it straight as one of its 'mergetools'.
Re:Slow Software by viraptor on Thursday November 22, 2018 @02:07AM (#18508394)
> every developer was issued a full copy of Microsoft Office

Enterprise volume licenses. It probably cost them less than the time/money they'd lose if you spenta few minutes trying to figure out how to open some file sent by non-devs.

Re:Slow Software by pjmlp on Thursday November 22, 2018 @02:11AM (#18508403)
> Why use Git when you can pay for Perforce!

Nice graphical tooling and sane developer experience.

Re:Slow Software by Murk on Thursday November 22, 2018 @03:48AM (#18508740)
I consider perforce "views" to be burdonsome and not so sane. The rest of the experience may be less jarring than git for many.
Re:Slow Software by dagw on Thursday November 22, 2018 @07:35AM (#18509609)
Why use Git when you can pay for Perforce!

Perforce integrates very nicely with a whole bunch of third party tools in a way git does not, and is on the whole a lot easier to use for most people than git (and I'm saying this as someone who doesn't like Perforce at all)

Re:Slow Software by maccard on Thursday November 22, 2018 @07:51AM (#18509677)
Really? My experience is the opposite - all the tools integrate with git, not perforce.

Said as someone who likes perforce. Having hundreds of developers working with large binary files was incompatible with git until very recently.

Re:Slow Software by hobs on Thursday November 22, 2018 @01:45PM (#18511734)
I would have to echo this, no problem with perforce, but sayings its ecosystem of plugins is more viable than git?

Maybe 5+ years ago?

Re:Slow Software by pjmlp on Thursday November 22, 2018 @02:09AM (#18508399)
In many enterprises you are only allowed to connect laptops into the network if an anti-virus is present, that includes company issued Macs.
Re:Slow Software by petepete on Thursday November 22, 2018 @05:00AM (#18509036)
And this is why I used to have a laptop in my drawer I used for logging into the proper intranet, booking holidays and organising my pension.

All my actual work was done on Unix/Unix-like machines on our own old network, something we clung on to after acquisition.

Re:Slow Software by dvdkon on Thursday November 22, 2018 @02:09PM (#18511864)
The privilege escalation vulnerabilities that have been found in Mac OS in the last few years have made me distrust its security. It's not like Apple can't create secure OSs (see iOS), they just don't seem to care nearly as much about macs. All the "security" changes (that I've seen) they've made have been implementing an iOS-esque walled garden with the premise being that trusting Apple is better for security (which is probably true, but I think many users will turn these limitations off as soon as they hit them).

I used to really like Mac OS X, but nowadays it feels much less polished and much more annoying. It might just be nostalgia, but I remember Leopard being more responsive and having fewer pop-ups (Screw you, iCloud! I don't want to synchronise my files!).

Re:Slow Software by opportune on Thursday November 22, 2018 @01:26PM (#18511581)
Being individually targeted is a possibility if you work for a high-profile or important software company

Additionally, not sure about you, but the reason I like to develop on macs is due to the fact that I can test nix software on them. That means I am installing and running nix binaries either via browser or through package managers such as pip. There is absolutely a non-zero risk that Linux malware will somehow find its way into my development environment. I am not trying to fear monger, as I do believe macs are still generally the safest, but don’t let them lull you into a false sense of security

Re:Slow Software by rgacote on Thursday November 22, 2018 @11:24AM (#18510874)
> and no one runs antivirus on Mac, ever. Work at small company. Have Eset NOD32 on all Macs. It is possible to install non-signed software (I sometimes install development tools from small companies who do not have signing cert, if I'm comfortable with their reputation). It's also possible something could sneak through in a PDF, Word Doc, homebrew/ports install, etc.
Re:Slow Software by coldtea on Thursday November 22, 2018 @03:23AM (#18508640)
>Macs have entered the zoo in 2015.

What "zoo"?

To this day, Macs are practically virus-less, which they always where (99.999% of the scares in the media were for trojans, and even those at worse affected something like 1-5% of the total user base) -- nothing like the good ole Windows (XP and pre) days where after 1 day surfing the web you'd have a few viruses.

And of course if you go with the default options (gatekeeper, signed packages, etc) you have even less to worry about.

It's also not about "market share" -- Macs had 1/4 the market share they have now in 1990-1997, but there were tons of viruses for them under the old OS.

It's not like the original (pre-many security features were introduced) OS X was specially hardened or anything, but it was much more secure than Mac OS and the old Windows versions just by having a basic UNIX-style design.

Re:Slow Software by godDLL on Thursday November 22, 2018 @11:29AM (#18510907)
> To this day, Macs are practically virus-less

Exactly what I'm talking about. Not to this day, but to some time back in 2015. Right now any trojan toolchain on the black market comes with a Mac-targeted package.

Re:Slow Software by coldtea on Thursday November 22, 2018 @04:19PM (#18512644)
Trojans always existed. But trojans aren't viruses, and if you don't get your stuff from shady websites you don't have much to worry about (and if you just get signed and sandboxed App Store stuff, even less or nothing to worry about).
Re:Slow Software by setquk on Thursday November 22, 2018 @03:11AM (#18508599)
I believe you mean “finished” not “out of date”.
Re:Slow Software by godDLL on Thursday November 22, 2018 @11:30AM (#18510920)
Actually I chose my words carefully. Even though malware guys have started targeting Macs about three years back actual infestations are uncommon.
Re:Slow Software by otoburb on Thursday November 22, 2018 @03:13PM (#18512228)
>>And yet... it's like scaffolding in NYC[2]. Absolutely useless[3]. But if you are all for removing it, and a brick falls and hurts someone, heads will roll.

This is a question of shifting liability and sharing responsibility. If a brick falls when you knew the facade needed maintenance, then the liability falls solely on the building. If the scaffolding falls, then the liability is borne by the scaffolding company, or at least shared.

If people you respect are pointing towards antivirus protection, you might also want to inquire whether they are saying this purely out of technical reasons (i.e. surface attack area, which could be debated), or if there are financial risk management factors tipping in this direction.

Since you're picking the OS for everybody in your company, which presumably includes multiple departments and staff who are non-technical, it seems like madness that you'd let them run amok without some level of antivirus.

But -- leave the poor developers alone. One hopes that the company was capable of hiring technical staff practicing basic day-to-day security hygene.

Re:Slow Software by ryanwaggoner on Thursday November 22, 2018 @06:54AM (#18509452)
Eh, I’d like to see some data on NYC scaffolds. They do collapse and hurt people, but the sheer volume of pedestrians and construction work makes me skeptical that it’s just as bad to have them as not have them. Not to mention the fact that it gives construction workers a way to not block the sidewalk with equipment and personnel.
Re:Slow Software by opportune on Thursday November 22, 2018 @01:15PM (#18511523)
Keep in mind the reason guidance exists for products that aren’t really all that necessary is largely due to the massive sales teams behind those products, plus (as you mention) cover-your-ass concerns
Re:Slow Software by eikenberry on Thursday November 22, 2018 @12:02AM (#18507963)
> I really just want to work somewhere without anti-virus.

Not trying to be hostile.. but why aren't you? I've never worked anywhere that required anti-virus, so I know there are jobs out there that don't require it. In recent years I've gone so far as to take the stance that I won't use company computers at all, only my own, and I still haven't had any problems finding work.

Unless you have strict restrictions on switching jobs (eg. H1B, can't move for reasons, bad network connections so no remote work, etc.) nothing should keep you from finding better working conditions.

Re:Slow Software by pjmlp on Thursday November 22, 2018 @02:06AM (#18508391)
I worked in such companies, where you need to sign that you assume all legal consequences of a virus being introduced into the company network via your computer.
Re:Slow Software by ssijak on Thursday November 22, 2018 @07:22AM (#18509563)
Police officer in my country told my sister to not plugin her usb (which contained some camera footage) into his computer because HER usb will get infected with viruses from HIS work computer!! This was in an actual police station!
Re:Slow Software by eikenberry on Thursday November 22, 2018 @02:10AM (#18508401)
I've never had to sign such an agreement. I'm US based, maybe this is something done elsewhere?
Re:Slow Software by pjmlp on Thursday November 22, 2018 @03:42AM (#18508723)
Germany based customers.
Re:Slow Software by adamhepner on Thursday November 22, 2018 @03:56AM (#18508771)
Oh yes, those companies where progress takes place regardless of, not thanks to IT support...
Re:Slow Software by opportune on Thursday November 22, 2018 @01:17PM (#18511532)
That doesn’t really work for large companies unless your employer plans on suing you for $100mm+ after a breach.

But big companies have internal security teams which basically handle all of this behind the scenes (until you get road blocked weeks/months when they come out of the woodwork to make your new product secure - a very necessary annoyance)

Re:Slow Software by coldtea on Thursday November 22, 2018 @03:21AM (#18508630)
You don't sign, and leave right when they ask you to, laughing at them?
Re:Slow Software by pjmlp on Thursday November 22, 2018 @03:42AM (#18508720)
My computer was proper, those were customer sites.

No, most people would rather install an IT certified anti-virus on their systems and keep the customer, than lose the business opportunity.

Re:Slow Software by Too on Saturday November 24, 2018 @02:04AM (#18520878)
Such a question can only be countered one way: "if company installs anti virus, does head of IT assume all legal consequences of virus being introduced?".

Didn't think so

Re:Slow Software by godDLL on Thursday November 22, 2018 @12:22AM (#18508043)
I went into construction, and then industrial alpinism with tree-trimming inclination starting 2016.

But before I did that, the one-before-the-last place I've tried to work was this hostile environment where everything was Windows and MS-based, as far as what we were meant to use for work. I couldn't bring my own lappy.

I ended up writing an AutoHotkey script that would get mouse scrolling about 80% sane and manage my clipboard.

I set up a VM on our HPC cluster, on which I'd do my actual work by way of VNC and sometimes SSH. The LAN was OK, so it ended up being less laggy than Windows on my local machine.

But I suppose a local Q frontend to a VM hosted on my work lappy would have worked too. Virtualize the AV away, yeah.

Cheers.

Re:Slow Software by taneq on Thursday November 22, 2018 @03:57AM (#18508775)
> I ended up writing an AutoHotkey script that would get mouse scrolling about 80% sane and manage my clipboard.

I used to run AlwaysMouseWheel to fix up focus scrolling, but forgot to set it up after my last reinstall. Thanks for the reminder! :)

http://www.softwareok.com/?Download=AlwaysMouseWheel

As for the other stuff, ugh. I've made it a general rule not to work anywhere where I don't get root on my own box.

Re:Slow Software by swinglock on Thursday November 22, 2018 @04:39PM (#18512737)
This is no longer needed in Windows 10.
Re:Slow Software by taneq on Thursday November 22, 2018 @06:58PM (#18513397)
My main work desktop is still on 8.1 and will probably remain so. Laptop is 10 and yeah, no issues there.
Re:Slow Software by richjdsmith on Thursday November 22, 2018 @02:43AM (#18508515)
What is industrial alpinism?
Re:Slow Software by godDLL on Thursday November 22, 2018 @11:33AM (#18510933)
I go up a rope or down a rope. Up a tree or a building, down a building/wall or a well. Do some tree trimming, sometimes construction tasks. Mounting stuff disassembling stuff, sending it down, or up another rope. Fun stuff.

Do an internet search for TreeUp.

Re:Slow Software by heronymus on Thursday November 22, 2018 @03:56AM (#18508772)
I think it means workers who, for example, climb on industrial chimneys for maintenance.
Re:Slow Software by de_watcher on Thursday November 22, 2018 @07:45AM (#18509653)
Basically anywhere where you're paid for your alpinist skills. Mounting/dismounting things up there. There was an example like cleaning up the walls of an old fortress from grass.
Re:Slow Software by teekert on Thursday November 22, 2018 @04:54AM (#18509015)
Pff, my entire hard drive is scanned every friday. Friday is slow day on my work laptop (Win10 with McAfee)...

At home I run KDE Neon, when people see me use that laptop (1 y/o Asus, core i5, 8 gb ram, standard ssd) they always comment how snappy and fast everything is and ask me what laptop I use. Even my neighbor with his brand new Win10 desktop with NVMe drive and new i7 cpu.

Re:Slow Software by sudeepj on Thursday November 22, 2018 @04:07AM (#18508821)
Do you have enough resources (and permissions) to run VirtualBox? That way you can run a VM and get complete control. You can do things inside the VM and anti-virus will not be in the picture.

I do this in my case but for different reasons and not performance.

Re:Slow Software by nizmow on Thursday November 22, 2018 @07:05AM (#18509491)
I've tried to do this, but I think the anti-virus software breaks performance by doing strange stuff to the disk images whenever they're being written.
Re:Slow Software by wincy on Thursday November 22, 2018 @02:10PM (#18511871)
On the other hand, I just started at a Fortune 500 and the IT configuration has been non intrusive even as a developer. The only time I had issues (I got locked out and had to ping a support guy) was when I was using WSL trying to authenticate through the proxy and probably hammering it with weird requests which was flagged as suspicious behavior. Fair enough. But working somewhere that has their act together is a dream, and I’ve been able to be productive immediately because of good decisions in IT.
Re:Slow Software by slim on Thursday November 22, 2018 @07:12PM (#18513446)
Vim uses an on disk file as a buffer. It's the .swp file. That's how you can open files larger than the available memory, and recover files when it crashes.
Re:Slow Software by Paul_S on Thursday November 22, 2018 @03:02PM (#18512178)
Same here. It's faster to compile in a VM because the VM doesn't suffer from the antivirus bollocks. Insane.
Re:Slow Software by ReptileMan on Thursday November 22, 2018 @06:38AM (#18509378)
Install vmware and work in vm. The av should only check one file at opening. With ssd overhead will be minimal.
Re:Slow Software by black-tea on Thursday November 22, 2018 @02:41AM (#18508506)
Place I worked at the laptops often had one core pegged at 100% load by some disk monitor that was competing with the AV software. I left very quickly and you should too.
Re:Slow Software by winrid on Thursday November 22, 2018 @03:28AM (#18508659)
Why not compaign for the change to different AV software?
Re:Slow Software by dagw on Thursday November 22, 2018 @07:38AM (#18509622)
Why not compaign for the change to different AV software?

Depending slightly on the company, that is often a complete and utter waste of time.

Re:Slow Software by black-tea on Thursday November 22, 2018 @03:57PM (#18512507)
That kind of change would either never happen or take years to happen. I haven't got time for that.
Re:Slow Software by winrid on Monday November 26, 2018 @03:26PM (#18536489)
Years? I guess we have worked at different types of companies.