News for hackers. Stuff that matters.
Re:Ask HN: My client want an agent on my laptop. Is this the... by qwerty456127 on Friday December 17, 2021 @03:57AM (#29589626)
> If you want to ship me a dedicated laptop for your engagement, I would be happy to install whatever you want on it

And they will install a trojan which would eavesdrop your talks, scan your home network and analyze its traffic.

Re:Ask HN: My client want an agent on my laptop. Is this the... by endofreach on Friday December 17, 2021 @04:27AM (#29589834)
Capture traffic and sue the f outta everything they do that‘s not covered by a contract.

Someone has to start stopping this madness and protect less informed people. We are all steering into a dark future. And i lose hope when i see all these smart programmers complaining but not stepping up.

Re:Ask HN: My client want an agent on my laptop. Is this the... by qwerty456127 on Friday December 17, 2021 @06:24AM (#29590759)
> Capture traffic and sue the f outta everything they do that‘s not covered by a contract.

Whatever the app they would ask you to install would do probably is going to be allowed by its EULA (and I bet the EULA is also going to prohibit you from analyzing the app and whatever it does/communicates) and chances are you don't read it. And even if you do you most probably agree because you know all EULAs are brutal and there never is a button to object its specific part and continue.

What we need is legislation to recognize all the data and metadata about your PC, all its software, your home networks&devices and their usage a kind of personal data and apply the same rules GDPR applies to tracking cookies - giving you the right to continue without agreeing to be spied on.

Re:Ask HN: My client want an agent on my laptop. Is this the... by jtbayly on Friday December 17, 2021 @06:38AM (#29590863)
EULA has nothing to do with this. Question is whether software installed by company you’re working for spies on you in ways you haven’t agreed to. If so, sue them, not the co that wrote the spyware.
Re:Ask HN: My client want an agent on my laptop. Is this the... by mmarq on Friday December 17, 2021 @12:23PM (#29595233)
EULAs are irrelevant if they go against the law. You don’t renounce all your rights because some law intern wrote in the EULA that you sold yourself into chattel slavery. And for those things you can give up (such as some of your data) you have to give explicit consent, clicking “I agree” under a 500 page unreadable legal document is not enough.
Re:Ask HN: My client want an agent on my laptop. Is this the... by willcipriano on Friday December 17, 2021 @08:07AM (#29591590)
EULA is between the user and the vendor of the software, it isn't a agreement between the user and the users employer. Capturing traffic like that runs afoul of hacking laws.
Re:Ask HN: My client want an agent on my laptop. Is this the... by qwerty456127 on Monday December 20, 2021 @04:05AM (#29622716)
The employer can just give you an executable and say you must install it. The executable would show you an EULA and require you to accept it.
Re:Ask HN: My client want an agent on my laptop. Is this the... by Illniyar on Friday December 17, 2021 @08:26AM (#29591764)
That's a stretch.

Most companies don't want to spy on their employees' free time. They want to 1- make sure they are compliant with the law and their confidential stuff is secure and 2 - make sure that you are actually working for them when you say you are.

Installing something to listen to non-work related stuff serves neither of these goals, and would open them up to lawsuits and PR nightmares.

Re:Ask HN: My client want an agent on my laptop. Is this the... by b3morales on Friday December 17, 2021 @01:17PM (#29596005)
The people who decide the spyware must be installed are likely so far removed from the actual spyware and the people who admin it as to have no knowledge or understanding of the distinction.
Re:Ask HN: My client want an agent on my laptop. Is this the... by xyst on Friday December 17, 2021 @04:17AM (#29589768)
Network segmentation with vlan is what I would do.
Re:Ask HN: My client want an agent on my laptop. Is this the... by gnfargbl on Friday December 17, 2021 @04:27AM (#29589839)
Yep, exactly. I used to put client devices on a segregated network and tunnel their traffic out to pfSense running on a cheap cloud box somewhere. Worked well.

(I should say that intentional monitoring of my private comms was never a concern for me when I freelanced, but I was somewhat worried about infections in my clients' devices moving laterally to my home network.)

Re:Ask HN: My client want an agent on my laptop. Is this the... by lambdaba on Friday December 17, 2021 @08:42AM (#29591952)
As someone who isn't well versed in networking could you describe your setup in overview? Like, what software/hardware, etc.? Thank you
Re:Ask HN: My client want an agent on my laptop. Is this the... by xnyan on Friday December 17, 2021 @11:51AM (#29594750)
Mini-rant: people on hacker news frequently undervalue their knowledge and don't consider the things they know to be of much worth. A classic example of this is the "I can't see why dropbox is a thing, simply build a cloud file sync service - easy" post. This poster is running their own semi-professional router (pfsense) on whitebox hardware. I would not want to do that unless I already knew what I was doing or wanted to spend some time learning.

The type of network segmentation being discussed is not rocket science, but it's not trivial either. VLAN segmentation can have tricky edge cases that cause things to break in a non-obvious way, nothing that can't be worked around but for someone who "isn't well versed in networking" would probably be more than you're up for. Also keep in mind that you can't do this with most consumer networking gear becasue it's too complicated to setup and support without some experience and knowledge.

I'd not recommend VLAN segmentation unless you want to become someone who is more versed, which I don't oppose, but it's not a switch you can flip in 5 seconds and never think about it again.

Re:Ask HN: My client want an agent on my laptop. Is this the... by ArchOversight on Friday December 17, 2021 @12:43PM (#29595531)
I very much agree with this. I don't think that this is the solution for most home users/consultants working from home.

The more obvious solution would be to get a separate WiFi router and internet connection strictly for work purposes.

At that point you could also consider it a 100% home office expense and it may be tax deductible (talk to your accountant).

Re:Ask HN: My client want an agent on my laptop. Is this the... by Siira on Saturday December 18, 2021 @07:48AM (#29604102)
Can one use two internet connections from a single phone line?
Re:Ask HN: My client want an agent on my laptop. Is this the... by ArchOversight on Saturday December 18, 2021 @06:12PM (#29609612)
Yes.
Re:Ask HN: My client want an agent on my laptop. Is this the... by gnfargbl on Friday December 17, 2021 @12:23PM (#29595216)
Sure. I didn't actually use a VLAN: I had a spare TP-Link router lying around, so I installed OpenWRT[1] on that and gave it a static IP on the home network side, then plugged it into my broadband provider's box. On the cloud side, I basically followed a guide, maybe [2] but I don't remember exactly. Once I had pfSense installed, I first set it up as an OpenVPN server.

I then went back and configured the OpenWRT box to create a WiFi hotspot and serve DHCP on a different subnet to that used by the home network. I configured an OpenVPN client tunnel from the router to pfSense, then set up a NAT ("masquerade") from the segregated network into the tunnel. I think I actually left a couple of ports open on the OpenWRT from the segregated network, but properly I should have firewalled them off so that the router was only accessible from the home network, since I doubt OpenWRT has been seriously pen tested by anyone. I'd probably also use Wireguard if I did it again.

The above config worked, but the CPU on the TP-Link was too underpowered to get more than a few Mbit/sec throughput. Since I didn't particularly care about having a VPN (I was going to throw this traffic on the internet anyway), I messed around and managed to change the tunnel type to L2TP. L2TP pretty much just takes the packet you give it and adds a UDP header for routing, so that approach gave me full bandwidth. I think I had to mess around a bit more getting MTUs set correctly to account for the L2TP header, and maybe had some trouble with auto-restarting the tunnel on failure.

One of the (flagged) responses to my original comment was "Who the fuck has the time to do that?" I actually think that is a fair comment. This all took a day or two to set up and debug, it isn't something that the casual user is going to do and, to be honest, I probably wouldn't have done it either except that I wanted to play with pfSense.

I'd do it again, though -- it was fun.

[1] https://openwrt.org/

[2] https://silasthomas.medium.com/how-to-import-a-pfsense-firew...

Re:Ask HN: My client want an agent on my laptop. Is this the... by lambdaba on Friday December 17, 2021 @01:34PM (#29596268)
Thank you! Though I agree with the sibling comments that it's probably not something to dabble in unless you're pretty confortable with this... May I ask, is this somewhat in your area of expertise, what kind of development do you do (supposing you're a developer?). Sorry if too inquisitive, just curious :).
Re:Ask HN: My client want an agent on my laptop. Is this the... by gnfargbl on Friday December 17, 2021 @02:32PM (#29597248)
I think you should dabble in it! This stuff isn't magic, it's just a bit esoteric in places. That makes it a great (and valuable) skill to learn.

I do cyber/data stuff, often on the network-y end.

Re:Ask HN: My client want an agent on my laptop. Is this the... by ArchOversight on Friday December 17, 2021 @12:42PM (#29595504)
This is what I do for a variety of different things:

  - $CORP devices are on a VLAN + Wifi that has access to the internet, but no other internal networks
  - Internal network for file servers/printers and the like
  - Personal device network, think laptops/phones/tablets that are mine, can reach internal network
  - IoT network - Think sensors/robot vacuums/"smart devices"
  - Guest network, for well visitors to my home
  - AirPlay network, has all my Apple devices on it to allow for music to be airplay'ed to TV's/HomePods, can be reached from internal/personal/guest network
Now I also understand that I am outlier, I am running a fully segmented, firewall, traffic inspected/logged home network with small business or even large business network gear, with FreeBSD as the router/firewall with a managed switch/WAP platform from TP-Link.

This is not something the average home user or consultant is going to setup/configure/manage and I don't expect it either.

The worry that the $CORP device will be abused to "validate the security of the network its connected to" is very much a possibility. Most corporations have no desire to do so, and endpoint protection is their primary goal, and they don't need to scan your home network to do so, it is all local to the device. It's about protecting the integrity of the device, not the rest of the network around it.

Re:Ask HN: My client want an agent on my laptop. Is this the... by neverartful on Friday December 17, 2021 @01:20PM (#29596043)
Which TP-Link switch do you use?
Re:Ask HN: My client want an agent on my laptop. Is this the... by ArchOversight on Saturday December 18, 2021 @06:10PM (#29609591)
I use the Omada SDN business line-up.
Re:Ask HN: My client want an agent on my laptop. Is this the... by blitzar on Friday December 17, 2021 @08:24AM (#29591740)
> And they will install a trojan

They WILL

> which would eavesdrop your talks

That absolutely WILL - use the microphone and listen to everything being said (why not the camera too and watch everthing?)

> scan your home network and analyze its traffic.

That absolutely WILL - do all this stuff

I mean if this is definately going to happen, then the company can go ahead and cut an 8 figure cheque straight away. Which company and where do I sign up?

Re:Ask HN: My client want an agent on my laptop. Is this the... by qwerty456127 on Friday December 17, 2021 @08:46AM (#29591994)
> why not the camera too and watch everthing

Because who doesn't have a lid/sticker over their webcam yet?

I have also kill-switched the built-in mic in the BIOS set-up but I'm not sure how secure this is. I would prefer there to be no built-in microphones in any hardware (except phones) at all. Sadly every modern laptop is equipped with a mic.

Re:Ask HN: My client want an agent on my laptop. Is this the... by dsr_ on Friday December 17, 2021 @09:08AM (#29592314)
Most mics have mediocre sensitivity. Stick a blob of blu-tack or similar cohesive putty on it, take it off when you want to use the mic. Test by making recordings -- some machines have two or three mics.
Re:Ask HN: My client want an agent on my laptop. Is this the... by cuu508 on Friday December 17, 2021 @09:18AM (#29592459)
That's one plus point for desktops and nettops with no-frills motherboards. No mic, no speakers, no bluetooth, no wifi.
Re:Ask HN: My client want an agent on my laptop. Is this the... by cprecioso on Friday December 17, 2021 @05:26AM (#29590290)
If this is really the kind of things this company would do… why are you working for them?
Re:Ask HN: My client want an agent on my laptop. Is this the... by Radim on Friday December 17, 2021 @05:48AM (#29590471)
Because people need money to pay bills. And it's a sad fact that companies who do shady shit tend to have more money. Simply because they outcompete companies who don't, all else being equal.

Tugging against this evolutionary pressure is really hard, not only for individuals but also on the society level.

"Just quit LOL!" is a commendable act of grassroots activism, but not everyone is able (or willing) to afford such luxury.

Re:Ask HN: My client want an agent on my laptop. Is this the... by illud_tempus on Friday December 17, 2021 @06:00AM (#29590570)
> If this is really the kind of things this company would do…

Because, until last week they didn't.

Now I have to figure out if I'm just an unreasonable, stubborn old guy, or if this requirement is out of band.

Re:Ask HN: My client want an agent on my laptop. Is this the... by nix23 on Friday December 17, 2021 @06:49AM (#29590961)
Tell them to provide you with a Virtual Desktop or a dedicated Laptop..never install Spyware on your own machine.
Re:Ask HN: My client want an agent on my laptop. Is this the... by spookthesunset on Friday December 17, 2021 @10:34AM (#29593550)
I like others idea of getting them to spring for a dedicated computer. You just have to make it palatable to their accounting department. Maybe lease a laptop and expense the payments or something. If you have an accountant, I'd consider asking them for suggestions on "good ways" on how to make your client pay for your laptop.

In my case, I just outright said "hey, you guys I really want you to be my client but I'm gonna need a new laptop". So we bought a new laptop as part of the contract.

Re:Ask HN: My client want an agent on my laptop. Is this the... by itronitron on Friday December 17, 2021 @10:50AM (#29593808)
Presumably the client will terminate your contract with them if you don't comply. So you don't actually have to install the agent until the day that they terminate the contract which is also the day that you no longer have to install the agent.
Re:Ask HN: My client want an agent on my laptop. Is this the... by hkt on Friday December 17, 2021 @09:27AM (#29592579)
It is out of band. Refuse or this becomes normal.
Re:Ask HN: My client want an agent on my laptop. Is this the... by yholio on Friday December 17, 2021 @07:18AM (#29591189)
That's why you tape off cameras and stick a needle in condenser mics on any new laptop.
Re:Ask HN: My client want an agent on my laptop. Is this the... by woodson on Friday December 17, 2021 @08:16AM (#29591658)
Don't they use MEMS microphones nowadays? (https://en.wikipedia.org/wiki/Microelectromechanical_systems) Either way, solid advice!
Re:Ask HN: My client want an agent on my laptop. Is this the... by yholio on Friday December 17, 2021 @04:23PM (#29598514)
Learn a thing every day I guess. Nonetheless, is inconsequential to task at hand if you apply the "Rosemary Kennedy" method to the laptobotomy: activate the mic, jam that needle in the hole and wiggle it around until the girl can no longer sing, no activity is detected on the vu-meters and nothing is played back in the recording.

You have audio-video input sensors on all sort of programable devices nowadays, even some TVs can be turned into two way communication devices. That's a nice 1984ish vibe to ruin your late night matrimonial TV browsing.

Re:Ask HN: My client want an agent on my laptop. Is this the... by shabble on Friday December 17, 2021 @09:52AM (#29592913)
sticking a needle in a MEMS microphone is just as effective, you just have to [find the damn thing, and] push the needle all the way through!

If brute force isn't working, you're just not using enough of it yet.

Re:Ask HN: My client want an agent on my laptop. Is this the... by dtjb on Friday December 17, 2021 @10:02AM (#29593067)
Where are these IT depts that have all this unlimited time and resources to spy on their employees?

Sure you might get a bad actor voyeur, but as a matter of policy, companies just don't care what you're doing at home as long as their security interests are protected.

Re:Ask HN: My client want an agent on my laptop. Is this the... by jjav on Saturday December 18, 2021 @12:58AM (#29602105)
Don't put a work laptop on your internal home network!

I have a separate network for work machines at home, which goes straight to Internet and can't route in or out of my actual home network which is behind its own firewall.

Re:Ask HN: My client want an agent on my laptop. Is this the... by Vrondi on Friday December 17, 2021 @11:21AM (#29594276)
Go to your router's settings and create a separate wifi for just these work situations. Connect client hardware to that wifi only. This keeps them out of your LAN. If your router can't do this, get a better router.
Re:Ask HN: My client want an agent on my laptop. Is this the... by eurasiantiger on Friday December 17, 2021 @04:48AM (#29590000)
You keep your work laptop in your home network? Tut tut.
Re:Ask HN: My client want an agent on my laptop. Is this the... by speedgoose on Friday December 17, 2021 @06:04AM (#29590593)
If I couldn't trust my company on my home network, why would I work for them?
Re:Ask HN: My client want an agent on my laptop. Is this the... by jjav on Saturday December 18, 2021 @01:07AM (#29602143)
> If I couldn't trust my company on my home network, why would I work for them?

Your employer isn't your friend.

It might be an awesome company to work for perhaps, but it's still a company (unless you work for like a 2 person startup). A company subject to audits and regulations and all kinds of other pressures (some of them actually valid, though many are theater) to monitor and control data and flows on their hardware.

You don't want those monitors etc on your personal data and network which has nothing to do with work.

So, keep them separate is the best possible advice.

Re:Ask HN: My client want an agent on my laptop. Is this the... by speedgoose on Saturday December 18, 2021 @02:28AM (#29602540)
Yes my company monitors the network at work and on my work computer, as they must do so.

But they are not allowed to scan my home network and other devices, and they have no reason to break the law. I trust them to not do that more than half of the devices running on my home network.

Re:Ask HN: My client want an agent on my laptop. Is this the... by jjav on Saturday December 18, 2021 @06:16PM (#29609650)
Many of these technologies have been built in the assumption of a world where they run in the company LAN.

No reason to trust, better to isolate.

Re:Ask HN: My client want an agent on my laptop. Is this the... by chopin on Friday December 17, 2021 @09:21AM (#29592498)
My employers laptop is in a separate VLAN. What makes you sure that no-one else than the employer has access to it. This laptop has Windows 10 installed for example. And a shit-ton of McAfee crap. I would trust my employer but not the many companies who have a foothold on the machine as well because my employer is too cheap to install decent stuff on it.
Re:Ask HN: My client want an agent on my laptop. Is this the... by spc476 on Friday December 17, 2021 @04:57AM (#29590067)
I work frim home ... pandemic and all that. What else am I supposed to do?
Re:Ask HN: My client want an agent on my laptop. Is this the... by 88 on Friday December 17, 2021 @05:00AM (#29590096)
VLAN is the obvious and most cost-effective mitigation
Re:Ask HN: My client want an agent on my laptop. Is this the... by allarm on Friday December 17, 2021 @07:24AM (#29591242)
Not really. VLAN provides segmentation, but it does not provide any mechanisms to limit access to other vlans in your network - which are most likely routed by your router. You will need to add some L3 filtering (acls/iptables/whatever) to isolate segments.
Re:Ask HN: My client want an agent on my laptop. Is this the... by formerly_proven on Friday December 17, 2021 @08:16AM (#29591659)
That's only true if use of VLAN tags is controlled by hosts; if you use a smart switch to assign VLANs to ports it's pretty much as-if you have multiple, physically separated networks.
Re:Ask HN: My client want an agent on my laptop. Is this the... by ArchOversight on Friday December 17, 2021 @12:46PM (#29595559)
You'd still need the router to tag/untag those VLAN's and allow traffic to flow. So if the router does VLAN tagging but just routes between the different network segments you haven't fixed anything.

You'd also need a firewall, and to configure it correctly.

Re:Ask HN: My client want an agent on my laptop. Is this the... by spookthesunset on Friday December 17, 2021 @10:36AM (#29593573)
All nice, but now you need managed switches and stuff plus some amount of unbillable time to configure it all and fix it when it breaks. Might be worth it if your bill rate accommodates it though.
Re:Ask HN: My client want an agent on my laptop. Is this the... by addingnumbers on Friday December 17, 2021 @10:23AM (#29593365)
Segmenting your broadcast domains doesn't help much if traffic is routed freely between them.
Re:Ask HN: My client want an agent on my laptop. Is this the... by neverartful on Friday December 17, 2021 @12:02PM (#29594918)
Sounds like a great approach. Any recommendations for such a switch for WFH?