Slashdot Mirror


Ask Slashdot: Does Your Employer Perform HTTPS MITM Attacks On Employees?

New submitter Matt.Battey writes "I was recently on-site with a client and in the execution of my duties there, I needed to access web sites like Google Maps and my company's VPN. The VPN connection was rejected (which tends to be common, even though it's an HTTPS based VPN service). However, when I went to Google Maps I received a certificate error. It turns out that the client is intercepting all HTTPS traffic on the way out the door and re-issuing an internally generated certificate for the site. My client's employees don't notice because their computers all have the internal CA pushed out via Windows Group Policy & log-on scripts.

In essence, my client performs a Man-In-The-Middle attack on all of their employees, interrupting HTTPS communications via a network coordinated reverse-proxy with false certificate generation. My assumption is that the client logs all HTTPS traffic this way, capturing banking records, passwords, and similar data on their employees.

My question: How common is it for employers to perform MITM attacks on their own employees?"

77 of 572 comments (clear)

  1. Yes they did. by funwithBSD · · Score: 4, Interesting

    Yes, that is exactly what my company did. They got ratted out when they let the CA expire, but the argument was "Our hardware, our rules."

    The usage rules stated something along the lines of they had the right to inspect and alter packets on the company owned network, so there you go...

    --
    Never answer an anonymous letter. - Yogi Berra
    1. Re:Yes they did. by Jeremiah+Cornelius · · Score: 5, Informative

      This is very common

      Very.

      Your employer probably does little with this - it is usually a part of the configuration for Microsoft Forefront TMG (Formerly ISA Server). I f you have Outlook Web Access, and do any spend on MS recommended practices, then you have a TMG, and 9 out of 10 times, the "Inspection Proxy for SSL" feature.

      The intent is to scrub the stream for malware attachments and malicious XML, etc. Most are set-and-forget, with little competence to exploit or understand what they have done.

      Bigger corporations, or those aware of data sensitivity issues are another matter. Outbound traffic may be subject to this inspection, for DLP with something like Vontu Network Prevent. These controls are managed by folks who spend 25K on netsec, not 25 C's. :-) Then? Clever operators may be logging and trapping all kinds of info. Reports are very "compliance centric" 'tho. The DLP operator team usually has a fair amount of audit scrutiny. Usually...

      Any way, TLS is irrevocably broken. It is reasonable security, trivially implemented and nearly as easily defeated. You own DNS and the path? You own the world.

      I am involved in defining a new transport security mechanism for my company's products, because TLS/SSL of handwaving, and IPsec brittleness.

      --
      "Flyin' in just a sweet place,
      Never been known to fail..."
    2. Re:Yes they did. by joaommp · · Score: 5, Interesting

      And how legal is this over there?

      This January, here in Portugal, things like that just became totally illegal, punishable with prison sentence.

    3. Re:Yes they did. by hsmith · · Score: 4, Informative

      Using company hardware and resources to do anything is stupid in 2014.

      Want to read your personal email, chat, facebook? Use a phone or tablet.

    4. Re:Yes they did. by DoofusOfDeath · · Score: 4, Interesting

      How does that work with website owner's terms of use, however?

      Suppose I create a website, and say that I'm only authorizing the content on my site to be accessed by username Joe.

      Joe logs into my website from his employer's computer, and his employer logs the content I send him. His employer now has unauthorized, decrypted copies of my data.

      Is the employer now in violation of the laws against unauthorized computer access, and in violation of the DMCA for circumventing my copyright mechanism? Recall that Joe has no authority to loosen my copyright claims.

    5. Re:Yes they did. by JohnFen · · Score: 4, Insightful

      In the US, this is totally legal, although there may be disclosure requirements (I'm not sure). The "my system, my rules" argument wins. My workplace does this, and they informed me that they do this when I was hired.

    6. Re: Yes they did. by JohnFen · · Score: 3, Interesting

      If your company cannot see the contents of HTTPS communications then you're right, they're just proxying and not performing a MITM attack. That is not what we're talking about here, though -- we're talking about actual MITM attacks which let the employer examine the encrypted datastreams.

      And yes, it is an attack -- even if it's legal and you can make a good case for doing it, it's still an attack. It doesn't have to be "abusive" to qualify.

    7. Re:Yes they did. by Anonymous Coward · · Score: 5, Interesting

      My previous company did it to:
      They installed a Blue Coat proxy, and pushed to all windows computers (what normal staff was using) the configuration to use that proxy, and installed a trusted CA certificate so the proxy would be trusted.
      That meant that most people didnt realize about the change, as both Explorer and Chrome used the Windows centralized certificate storage from day one.
      The thing only broke for Firefox users (very few) who started getting not trusted certificate errors, and the linux machines when they set the firewall to prevent any http or htts traffic not thru the proxy. Most of those people simply started clicking on the "trust certificate" button.
      A couple of weeks later they pushed an internal firefox installation and "forbid" people from installing it from the mozilla page.

      Funny notes here:
      a) they did it in an illegal way: in this country a company is allowed to monitor their employees network activity only if they make it very clear to them before starting to do so. They certainly did not. Actually our contracts said specifically that they did not.

      b) after trying all kind of things they needed to give up on the idea of preventing any http(s) traffic off the proxy, as many tools (including EDA tools) required https connections to update and so forth and would not trust the proxy certificates. So eventually the firewall was left open for https. Who knew how to, could just work around the proxy in his own computer. All linux workstations were left connecting straight.

      c) People realized and asked what was it. They lied to them with a straight face, with claims like: we dont unencrypt the proxy connections to banks, health (here we have a portal for online consultations with the public doctor and can access our medical history) or other similar private pages. This was a blatant lie anybody could check by just looking at the certificate issuing authority. They were doing it with _all_ pages.

      d) they claimed this was only so they could scan for viruses in downloads. Not to monitor any activity.

      e) I asked our local HR manager, she didnt have any problem telling the truth: "you are an engineer, you work on IT, you know how easy we can monitor anything we want.." and then made some funny remarks about the kind of pages people was enjoying in her previous company and how detailed usage reports she was getting. At that time I checked the blue coat page for the proxy we got installed, it could certainly log any activity in great detail.

      f) My concern wasnt so much that they would monitor our activity (which was creepy), but the fact that all connections were unecrypted at the proxy. So somebody with bad intentions and access to the proxy could start collecting a lot of information. And this made the proxy a great target for hacking.

    8. Re: Yes they did. by naris · · Score: 2

      We do have some metadata logging enabled

      That's what the NSA said....

    9. Re:Yes they did. by Andy+Dodd · · Score: 3, Informative

      Yup. Here it's perfectly legal if you're informed. Any time I log into a machine at work I get a banner that my employer reserves the right to monitor anything I do with their network.

      --
      retrorocket.o not found, launch anyway?
    10. Re:Yes they did. by Lumpy · · Score: 2

      This is where a USB LTE stick works wonders....

      --
      Do not look at laser with remaining good eye.
    11. Re:Yes they did. by houghi · · Score: 4, Insightful

      Same in Belgium and I would guess the rest of Europe. In Europe the laws tend to lean more towards users and not companies. Also more towards privacy.

      Several places I worked have been VERY upfront on what they were doing. Most also worked with whitelists. The majority of people do not need any internet access anyway. Next they place several Internet PCs on several places, so people can look up their facebook during their breaks.

      This makes it safer for everybody, although when new staff arrives I tell them that the public PC is not something I would do any banking on, because I have NO idea how safe it realy is and it is THEIR fault if somebody robs their bank by using a public PC.

      Also up front explanation that company mail may not be used for personal use. As the Intenetcmputers are available (obviously seperated from the rest of the network. They even have a seperate internet connection.) there is no excuse to do that.

      What I hate is companies who focus on people looking at porn. Why is watching 4 minutes of porn worse then 4 hours of BBC news? One giggled perhaps a bit and the other did not work for half a day. To me the second is way worse.

      --
      Don't fight for your country, if your country does not fight for you.
    12. Re:Yes they did. by Anonymous Coward · · Score: 2, Informative

      1: Windows does log when a machine gets a new network interface and how it is configured. It also logs the unavailability of AD and other services that get communicated back.

      2: Fire the offending employee for unauthorized access.

    13. Re:Yes they did. by Teun · · Score: 3, Interesting
      I agree most of Europe is behind the voters = normal employees.

      But the company I work for is Anglo-Saxon and that's a whole different kettle of bad fish...

      Indeed they have a front page telling you it's their network and they reserve the right (any right) to protect it.
      The proxy servers are in the UK and US, although both governments luve to gather anything and either don't have a constitution or no privacy legislation they do serve employees in other more enlightened EU countries.

      One day they'll find out they are overstepping both common decency and laws.
      At least in The Netherlands the Works Counsel is on it and has been able to rectify some of the grossest breaches of privacy like a top banner with a public list (log) of any and all sites visited by any individual employee, at least including the management.

      In hindsight it would have been quite interesting to see who or management is interested in now there's rumour of a billion-Euro take-over :)

      --
      "The likes of Facebook and WhatsApp are free to those whose privacy is of zero value."
    14. Re:Yes they did. by JohnFen · · Score: 5, Interesting

      Intercepting the network traffic of dishonest employees stealing company time and network access is perfectly legitimate

      Why are you assuming that the employees are dishonest and stealing company time and access? My company specifically allows personal use of their network (within certain limitations), so nobody here is being dishonest.

      as is the company reselling the captured personal data in the open market.

      That's nowhere near legitimate, regardless of whether the employee is honest or not. That's an even greater level of dishonesty than someone checking their bank account on company time. If I found a company did that to me, I'd sue them as hard as I could, and I think I would have a decent shot of winning.

    15. Re:Yes they did. by pr0fessor · · Score: 2

      If it's illegal to police your own network and stop unauthorizes use or activity then how do companies protect themselves from liability there?

      Most American enterprises monitor their networks nothing gets in or goes out without going through something and a proxy is a very popular solution. They also usually include a disclaimer when connecting to the network or logging into a machine about monitoring, authorized use, and the possibility of prosecution for unauthorized use.

      {it's more likely a company will just terminate your employment if they catch you torrenting or streaming from a video service but if you cause an outage and enough revenue loss they may take legal action}

    16. Re:Yes they did. by asylumx · · Score: 2

      It's perfectly legal here. As an employee, you are using company provided hardware and have signed an employment agreement stating you will only use it for business purposes. Chances are, your personal bank account, facebook page, or whatever else are not part of business purposes. If they are, then why should they be kept private from the company you're doing business on behalf of? If they aren't then why are you using company hardware & bandwidth to access them?

      I may not like the fact that the company can do this, but they do have every legal right.

    17. Re:Yes they did. by Charliemopps · · Score: 2, Interesting

      Exactly... if you owned a network worth hundreds of millions of dollars would you let ANYTHING traverse it without your knowledge? If you did, and you got compromised, Slashdot would be all over you for being too lax in your security.

      The way it works where I'm at, it's totally transparent. You have to sign something that you're ok with being monitored when you're hired, but other than that they don't really explain anything. Then the proxy gets "hits" based on your activity. Everyone gets a bad email or clicks the wrong link every once in a while so they don't want to nail people for every little thing. But once the proxy gets enough "hits" on someone a ticket is created. They don't view these encrypted files or look at your bank data at all... instead they just remotely record video of your desktop. I don't care what kind of encryption you're using at that point, they've got you if you're doing something wrong. I knew a guy that was VPNing to his home network and doing things he shouldn't off that. I guess he thought that was ok... They walked him out in the middle of his shift.

    18. Re:Yes they did. by maxwell+demon · · Score: 5, Insightful

      For example, I have to pay travel expenses from my own money, and then get them reimbursed afterwards. That is, I may have a legitimate reason to access my bank account in order to e.g. pay my flight. But that doesn't give my employer the right to access my banking password (and possibly look what's going on in my bank account).

      Also, if I'm not allowed to access my bank account from the company network, the right thing is not to decrypt it, but to block it.

      --
      The Tao of math: The numbers you can count are not the real numbers.
    19. Re:Yes they did. by TyFoN · · Score: 2

      Here in Norway they go even further, and the company is not allowed to read your email if it is put in a folder clearly marked private.

      Personally I keep my private and work emails in separate systems, but it seems that a lot of people are using their work email for private stuff.

    20. Re:Yes they did. by buchner.johannes · · Score: 2

      In the US, this is totally legal, although there may be disclosure requirements (I'm not sure). The "my system, my rules" argument wins. My workplace does this, and they informed me that they do this when I was hired.

      That's ridiculous, there must be some limits. The argument "my system, my rules" will not work if you were to whip your employees like slaves, so why should it hold for taking away other rights? Signing them away is a nice try, but you can't sign away all your rights.

      --
      NB: The message above might reflect my opinion right now, but not necessarily tomorrow or next year.
    21. Re:Yes they did. by rk · · Score: 3, Informative

      What I hate is companies who focus on people looking at porn. Why is watching 4 minutes of porn worse then 4 hours of BBC news? One giggled perhaps a bit and the other did not work for half a day. To me the second is way worse.

      I don't know where you are, but in the US, that can be boiled down to 3 words: sexual harassment lawsuit. Way more damaging than someone just working half time.

    22. Re:Yes they did. by Bacon+Bits · · Score: 2

      It's legal because the computer isn't the employee's. The company owns the computer sending the transmission, the copper from the computer to the inspection hardware, pays for Internet access, and writes policies that computer and Internet usage is for work-related purposes only and all usage is subject to security measures including traffic inspection.

      The better question is: Why do you think using someone else's computer on someone else's network to transmit secure data over someone else's network connection means that they can't look at what you're doing? If you don't want them to look, don't do it where they can see.

      --
      The road to tyranny has always been paved with claims of necessity.
    23. Re:Yes they did. by pr0fessor · · Score: 2

      If I'm on-call, I'm getting paid. If I'm not on-call, then I'm not checking my email.

    24. Re:Yes they did. by Cammi · · Score: 2

      It is illegal for this to be done in the USA in some cases. For instance, you are typing in your banking information or SSN, etc. Network inspects/capture that information ... the employer is hosed .. AKA 100% screwed in court.

    25. Re:Yes they did. by khellendros1984 · · Score: 2

      If the company set up their own cell tower, it'd be easy to notice; my cell phone would display constant certificate problems, similar to the way it does if I connect to the corporate wifi using that same device.

      --
      It is pitch black. You are likely to be eaten by a grue.
    26. Re:Yes they did. by dnavid · · Score: 2

      I wonder what the company would say if an unscrupulous network admin steals the bank information from a bunch of employees and robs them?

      I'm not sure "my system, my rules" would go very far in court.

      In general, so long as the company took reasonable (not absolute) steps to implement safeguards to prevent such a theft, the law is pretty clear that intercepting and inspecting network traffic for legitimate corporate network management or policy enforcement purposes is legal.

      For those that believe this sort of thing is and should be completely illegal, its not so simple. It is well within any company's prerogative to simply *block* SSL traffic at the perimeter, preventing it from being transmitted (on any port, not just 443). And many companies used to do so, before SSL intercepting technologies became more available. So long as employees are informed its happening, I don't see the controversy. The alternative is no access.

      Having said that, while I don't see a controversy, I always inform clients who are considering using such technologies to think carefully. Its within their legal prerogative, but the responsibility in using it and protecting it correctly is non-trivial, and they should weigh that carefully against any potential benefit. But for many organizations with data leak or malware issues, or who just want to not be overly restrictive with internet usage but do want to regulate where and how much access is granted on corporate resources, SSL intercept is the only way to balance those interests.

    27. Re:Yes they did. by cas2000 · · Score: 2

      yeah, and how can a company protect their staplers and other expensive stationary from being stolen if they can't strip and cavity-search their employees as they leave each night?

    28. Re:Yes they did. by dnavid · · Score: 2, Insightful

      Why is watching 4 minutes of porn worse then 4 hours of BBC news? One giggled perhaps a bit and the other did not work for half a day. To me the second is way worse.

      Straw man. Most organizations don't have a usage policy that says four wasted hours of streaming video is ok. However, many have instituted filters for porn specifically because:

      1. Generic porn sites tend to also have a far higher frequency of adware and malware content than normal.
      2. People have been sued for promoting a hostile workplace environment due to porn, but no one to my knowledge has been sued for promoting an overly British workplace.
      3. Many companies are uncomfortable with overtly adult and pornographic media in the workplace in general, irrespective of lost time.
      4. Its possible to envision situationally justifying viewing BBC news in many corporate environments, putting it in the grey area of possibly legitimate usage. Its almost never possible to envision a similar situation occurring for porn.

    29. Re:Yes they did. by dnavid · · Score: 2

      It's legal because the computer isn't the employee's. The company owns the computer sending the transmission, the copper from the computer to the inspection hardware, pays for Internet access, and writes policies that computer and Internet usage is for work-related purposes only and all usage is subject to security measures including traffic inspection.

      Careful: the first part of that statement is false in the US its only the last part that I've highlighted that makes it legal. The US has wiretapping laws that prevent unauthorized tapping of communications. Nothing in the law refers to ownership: otherwise the phone company could listen to anyone's phone calls whenever they wanted to because they own all the gear. Even in the workplace, when you use the company computer and the company network, there are still protections in place for private communications and businesses can be sued for violating those rights. There are exceptions, and it would be wise for IT professionals to know what they are. For example, there is an explicit exemption for business-related email. However, there isn't the same clear-cut exception for private email. There is an exemption for traffic intercept that is necessary to provide fundamental services, which is why corporate firewalls aren't violating the law every time they inspect a packet. However, if I, a network admin, Wireshark a bunch of packets to troubleshoot a network issue and happen to capture some employee's private chat traffic, so long as I don't deliberately read it more than necessary I'm in the clear. If the boss of the company takes those traces off my computer and uses them to read everyone's chat logs, he could be in violation of the law if he has no specific need to do that as a fundamental part of keeping the network functional. The fact that he's "the boss" means exactly jack-squat.

      The big exception is party-consent. If an employee is required as a part of their job to read and sign an AUP, and that AUP states that the employee must consent to monitoring when corporate assets are used, if the employee consents to that then the law prohibiting wiretapping their traffic would no longer apply. Which is why you should never monitor employees network traffic in secret. You're safer video taping (but not audio recording) them in secret than tapping their network traffic, because one of those is a potential Federal crime.

    30. Re:Yes they did. by LordLimecat · · Score: 2

      I'm not sure "my system, my rules" would go very far in court.

      I think you would be surprised, and (IANAL but) I suspect misusing that info and / or capturing it for the purposes of fraud would be a whole different discussion.

      Theres not much difference between this and bugging your own house or having an audio recorder in your own car. Your property, your rules.

    31. Re:Yes they did. by funwithBSD · · Score: 2

      Especially since you can use your damn Smartphone over 3g, or your personal device at a local McDonalds/Starbucks if you can't tether and avoid the whole issue.

      --
      Never answer an anonymous letter. - Yogi Berra
    32. Re:Yes they did. by Demonantis · · Score: 2

      I never understood the employer time argument. If you are salaried they are paying you for your work not the time you spent working on it. It always seems like they are happy to take the free overtime and then put the screws to you to make busy work when things slow a bit.

    33. Re:Yes they did. by asylumx · · Score: 2

      You don't pay for an airline ticket from your bank's website. That's not how it works. That's not how any of this works.

      Click Here for the reference if you haven't seen it.

  2. No by dskoll · · Score: 5, Interesting

    I own my company, and no... I don't do this to my employees.

    I have warned people who've abused the system (I had some casual employees who spent inordinate amounts of time on Facebook, and I've had to clamp down on music downloads that could have gotten me into trouble) but I generally use HR methods rather than technological methods to take action.

    1. Re:No by dskoll · · Score: 2

      I have never fired someone for abusing our Internet policy. I've issued warnings, though.

    2. Re:No by dskoll · · Score: 2

      That's true. All our desktops run Linux so we are at somewhat lower risk for most malware than Windows shops. I understand that it's still not completely foolproof, but so far we haven't had a problem.

    3. Re:No by dbc · · Score: 2

      At some point, why not? Verbal warning #1, verbal warning #2, written warning, written Corrective Action Plan with consequences up to and including termination, and for the *really* slow learners, termination.

      At a manager, at some point you start thinking "Am I better off sinking more of my time into this clown, or with an open hiring req?" I've had a couple of occasions where the open hiring req was the more attractive option.

  3. Not MITM by SparkleMotion88 · · Score: 3, Insightful

    This is not a MITM attack -- it is a trusted proxy. The employees all trust the proxy, so everything works as it should. You don't trust the proxy, so you get a certificate validation error, so everything works as it should.

    1. Re:Not MITM by trigeek · · Score: 5, Insightful

      This is a Man-in-the-Middle if the end-user is not notified of it.

      --
      Sometimes I doubt your committment to SparkleMotion!
    2. Re:Not MITM by Anonymous Coward · · Score: 3, Funny

      Oh the end-user was undoubtedly notified of it, probably somewhere at the bottom of their contract, in tiny writing, after the section about the lavatory and in a sentence beginning with "Beware of the leopard".

    3. Re:Not MITM by Adrian+Lopez · · Score: 4, Informative

      A trusted proxy is a "Man in the Middle", so I presume your objection is to the word "attack"? Whatever you choose to call it, the fact is that SSL certificates are transparently being rewritten in order to capture data each website's SSL certificate was meant to stop from being captured. "Trusted proxy" is just a friendly euphemism which attempts to justify what may or may not be a legitimate practice, depending on what's being collected and whether or not the users are, in fact, specifically aware of it.

      --
      "In prison you just have to shut your eyes and take it. Here you have to shut your eyes and give it."
    4. Re:Not MITM by Rene+S.+Hollan · · Score: 5, Informative

      At a former employer, we produced firewall hardware where this was SPECIFICALLY available as a feature. In fact, I developed the software for it. The certificates provided by the external servers are resigned by a CA cert installed on the appliance which is accepted by client machines behind it. Our equipment allowed the option of generating an internal CA cert, which would then be exported to all clients; generate a Certificate Signing Request, which could be signed by a CA already trusted by clients and imported back to the appliance (if the organization had it's own PKI infrastructure); or allow a resigning certificate and key to be imported.

      The justification is simply this: "Our network, our traffic."

      The practical reasons for this are to permit the firewall to do virus scanning on encrypted web pages and email (I handled SMTP STARTTLS and SMTP/SSL as well).

      At least as far as the work I did went, there was no official way to take the plain text traffic off the appliance - it was not "designed" to snoop on employee traffic, though if someone managed to hack the appliance this would be theoretically possible.

      Of course, if you are a contractor or employee concerned about the confidentiality of your traffic, you should exercise due diligence with regard to the CA's your machine trusts.

      In our case, we DID have the capability to specify domain names for which this resigning would not be done: those that were "trusted" by the organization installing the firewall. This made it possible to go the extra mile and make some banking site traffic secure end-to-end, but it was on a site by site basis.

      As I recall, I left the employ of this company prior to SNI support ever being implemented (we barely supported TLS 1.1, and certainly not TLS 1.2 when I was there, much to my protestations, and SNI is a TLS 1.2 Client Hello extension).

      The appliance could also be used in a reverse-fashion: protecting web servers (but not virtual ones, for lack of SNI support, unless they shared a domain name), where it could just do SSL termination, with the site-specific certificate (presumably signed by a CA trusted by most browsers), though we allowed resigning here as well, in the event the internal traffic had to remain encrypted.

       

      --
      In Liberty, Rene
    5. Re:Not MITM by ChromaticDragon · · Score: 5, Informative

      Yup. But proxies cannot handle HTTPS unless... they are acting as a MITM.

      The proxy must either pass it along, block it outright or essentially stand in the middle so as to be able to perform all the usual filtering/sniffing/etc. it would do were the traffic plain ole' HTTP.

    6. Re:Not MITM by cheesybagel · · Score: 2

      He got a broken cert because he used his own computer. If you used a computer of that corporation it would have the cert bundled and you would never know that your SSL connection was being snooped.

      In the limit they could even intercept when you are downloading a browser and inject their own malware version of it. Although this seems like too much trouble.

    7. Re:Not MITM by JohnFen · · Score: 2

      Technically, it's a MITM attack even if the user is notified of it.

    8. Re:Not MITM by Rene+S.+Hollan · · Score: 2

      HTTP Proxy, SMTP Proxy "encrypted traffic" features. (There was also an HTTPS proxy, but all it did was drop connections to destinations on a blacklist by domain name as specified by the certificate the remote server provided: it did not decrypt, reencrypt, and resign).

      It properly IS a proxy since it proxies the traffic for you. Whether you consider that a MITM attack on encrypted traffic depends on whether you trust the proxy or not.

      SSL does not prevent MITM attacks: it just makes MITM mangling of encrypted traffic discoverable. IF the "man" is "your man" (or your employer's man) then it presumably is not an attack.

      Realize the target audience of vendors of procducts like these: IT managers who want to "protect" against malicious traffic, whether encrypted or not. Of course we can only do that as a MITM. But they way they see it, all network connections "inside" are "theirs", so our box is "their" man in the middle. Often they are clueless and just ask salesmen "Does it work with HTTPS and SMTP/STARTTLS and SMTP/SSL?" without knowing what that means, only that encrypted traffic is "difficult" to scan.

      --
      In Liberty, Rene
    9. Re:Not MITM by SparkleMotion88 · · Score: 2

      I object to the phrase word "Man in the Middle Attack" because that phrase has a very specific meaning. This is not a MITM attack -- at least not a successful one. The submission suggests that the corporation is exploiting some security vulnerability, when really it is just using trust in a completely appropriate* way.

      *Note that all of my comments are about computer security, not acceptable corporate behavior. Whether this is a case of corporate douchebaggery is a separate issue. I didn't comment on that part of the issue because it doesn't interest me.

  4. I suspect... by msauve · · Score: 3, Informative

    that your assumption is incorrect. Some firewalls do deep inspection, looking for malware coming from websites, via email, etc. They'll do SSL MITM to allow that to work. It doesn't necessarily mean they're doing anything nefarious.

    --
    "National Security is the chief cause of national insecurity." - Celine's First Law
    1. Re:I suspect... by ruir · · Score: 2

      Finaly a sane comment...If the poster doesnt like what they do, he can browse the email/banking at home or via his mobile. Their network, their rules.

  5. Comment removed by account_deleted · · Score: 3, Insightful

    Comment removed based on user account deletion

  6. Yes and no by Anonymous+Brave+Guy · · Score: 2

    It's perfectly legitimate practice on a company network to intercept encrypted traffic. Security devices used for things like intrusion protection and data leakage prevention can't work properly if all you need to circumvent them is an encrypted connection, and you really want that kind of security these days if you're using a large company network, whether you're the company management, the company employees, or the company's customers/clients.

    Doing it without making anyone using the network fully aware of the possibility, however, is quite a different matter, unless employees clearly aren't allowed to use company systems for personal use at all. If you've been told occasional personal use is OK and they're covertly MITMing your online banking session on your lunch break or similar, that is highly inappropriate.

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
    1. Re:Yes and no by mlts · · Score: 3, Insightful

      Sometimes watching encrypted traffic may be needed for some regulatory compliance. Of course, the best thing would be to have a terminal server set up to allow people to use their Web browser free and clear, while direct connections to the Internet would be monitored/logged. This way, personal E-mail and banking info isn't touched, while sensitive internal data is well protected.

  7. More likely an IPS by gweeks · · Score: 4, Informative

    It's more likely they are running the traffic through and IDS/IPS rather than logging everything. It's also likely that well know banking sites are excluded and just passed through. It does use quite a lot of resources to scan the traffic after all.

    IDS/IPS https://en.wikipedia.org/wiki/...

  8. Re:Rule #1: Never access non-work related stuff in by Anonymous Coward · · Score: 3, Informative

    Don't put the actual text of your comment in the title. All the information should be in the body of the comment, and the comment should be fully understandable without the title.

  9. Re:Evil? by hawguy · · Score: 3, Insightful

    Pretty evil when you figure that people routinely think little of jumping onto their bank's website and checking their account balance. I mean it is one thing to disallow that... it makes you a huge prick of course, but to MITM silently so anyone who does it is risking their personal financial data? That is absolutely unconscionable.

    Not so evil since the company is responsible for what you do with their equipment and internet connection, so they often monitor your usage for things like preventing data leakage (which could result in large penalties against the employer) and browsing inappropriate web sites (if a coworkers sees you surfing porn, the *company* may be liable for allowing a hostile workplace).

    With modern smartphones and cellular enabled tablets, there's no reason to do your personal browsing on your employer's network. If you don't want your employer to see it, don't do it on their equipment/network.

  10. Paranoia by jbmartin6 · · Score: 4, Insightful

    My assumption is that the client logs all HTTPS traffic this way, capturing banking records, passwords, and similar data on their employees

    A completely baseless assumption. I have worked with several organizations who do this "attack" to protect themselves from malicious traffic. I have not yet seen any that logged content. The legal and regulatory risks in doing this are too high to do this sort of data collection.

    --
    This posting is provided 'AS IS' without warranty of any kind, implied or otherwise.
  11. Re:HIPAA violations? by Anonymous+Brave+Guy · · Score: 4, Informative

    Also, it's worth noting that the kinds of devices that do this are often used for compliance with rules like HIPAA or PCI DSS. You can't demonstrate that you aren't allowing sensitive data out of a supposedly secured part of your network if you can't actually see what you're allowing out of it...

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  12. Beware of the leopard^W lion^w mavericks by tepples · · Score: 3, Funny

    and in a sentence beginning with "Beware of the leopard".

    I don't see why the contract has to declare the version of Apple BSD on which the trusted proxy runs. Otherwise, they'd need to get everyone to sign off on "Beware of the mavericks".

  13. Re:Evil? by RatherBeAnonymous · · Score: 4, Insightful

    At my last job I did this to a limited extent. I decrypted filesharing sites and services so that I could scan files for viruses at the gateway before they made it to a computer. However, financial and medical industry sites were specifically excluded from decryption, due to the liability issues, and we publicized the fact that we were scanning encrypted traffic.

    There are genuine uses for the technology. More and more sites are going to SSL all the time. That makes impossible to sniff the traffic for virus and intrusions. For schools and libraries, many of which are required to filter for content, unencrypted SSL prevents the content filters from working correctly. I expect that more employers will turn to this in the near future. Doesn't everyone expect

  14. Re:Evil? by blueg3 · · Score: 2

    Extremely.

    For now, set aside the question of whether it's acceptable to monitor your employees' encrypted traffic on your network.

    Technologically, it's a terrible idea. The client software and the end user no longer have any ability to inspect the actual certificates used for an HTTPS connection. From the client's perspective, all HTTPS connections are really with the MITM device and use the same cert chain. (Well, a dynamically-generated cert for the appropriate site signed by the same trusted CA using, presumably, the same process.) The MITM device is the one doing the actual SSL cert verification, and the client has to simply trust that it's doing it correctly. Moreover, none of the information about the SSL cert used gets transmitted to the client. So, no revoking CAs that are compromised. No noticing that this connection to PayPal is using a cert mysteriously signed by Deutsche Telekom (when it should be Verisign). No using non-default root CAs (say, to connect to DoD sites). No rejecting certs that are only signed with MD5. Let's just hope the MITM device knows not to use functions like strlen() and strcmp() when dealing with certificate fields.

  15. Re:Evil? by TheCarp · · Score: 5, Insightful

    Honestly I WOULD entirely agree if not for the MITM aspect.

    If they really want to do that, setup a proxy and whitelist allowed sites. Deny SSL connections. Fine. Silent MITM attacks expose people in an unsuspecting manner; in ways that its unrealistic to expect most employees outside of IT to understand.

    --
    "I opened my eyes, and everything went dark again"
  16. Happens in more paranoid outfits by Antony+T+Curtis · · Score: 2

    A previous employer, a game company whose name rhymes with lizard, uses MITM proxy ... All their machines use their custom cert so that their made-up cert shows 'green' on the location box when any user uses a secure web site.

    --
    No sig. Move along - nothing to see here.
  17. Just don't use the employer's Internet by bobbied · · Score: 2, Informative

    Shesh, Really? Man in the Middle "attack" ? Give me a break.

    If you are using an employer's resources to surf the internet just figure that *everything* you do is monitored. If you don't want to be monitored, GO HOME. If you don't trust your employer, GO HOME to do anything you don't want them to see. GO HOME or use your own internet access.

    Don't try to make this into some "privacy" issue. It's not.

    --
    "File to fit, pound to insert, paint to match" - Aircraft Maintenance 101
    1. Re:Just don't use the employer's Internet by bobbied · · Score: 2

      Because it's NOT an attack, It's an employer monitoring the use of it's resources by it's employees.

      If they are paying for the internet access, paying to have a proxy installed, paying to have the browsers on their machines set up to trust their certificates, they are doing it to themselves. It's not an attack, or a hack or anything of the sort, it's there to monitor the systems they own which is their right. They can do what they want to the traffic entering/exiting their network, including using proxy servers, firewalls and filters to allow, monitor or deny anything the see fit.

      Some employee claiming this is a Man in the Middle "attack" is inaccurate and misleading. It's a HTTP/HTTPS proxy.

      --
      "File to fit, pound to insert, paint to match" - Aircraft Maintenance 101
  18. SSL Interception by KingSkippus · · Score: 5, Interesting

    Yes, it's actually extremely common. Google "SSL Interception", as that's the name of the feature that is advertised on hardware/software that performs this function.

    This is why I never browse private web sites on work hardware. You simply do not know how they've mangled the machine, what all it is revealing or to whom. (That's right, most large companies actually outsource security, so all of your private account numbers and passwords are going to third parties that you don't know and never will, third parties who have been indemnified and are completely immune to any kind of action or recourse from you if they screw up.) If I want to browse the web, I use a VPN connection to my house and my own personal laptop. I don't use my work smartphone for Facebook or personal email, I have my own personal phone using my own provider. When I'm working from home and VPNed into the office, I don't use my personal workstation for any work stuff, except as a VirtualBox host for a work VM, which my company has altered through group policy and direct installation of software to be configured how they want.

    It's a shame that in today's work environment we have to worry about such things, but if you think the NSA is bad about spying on you, it's small potatoes compared to what your own company does. Never trust your company to just be innocently looking for malware or other intrusion detection means. Never install any software or services on your personal equipment from your company, no matter how much more convenient it will make your life. (This includes, for example, accepting elevated permissions to connect to your work email on your personal phone.) Always assume that they're watching you, looking for anything that can be used to fire you, cancel your severance, or extort whatever they want from you, whether you're just a paean on the low rung of the corporate ladder or the CEO.

    I've worked very closely with both the network and security people in a large multinational corporation, and I've seen firsthand the kinds of things they do. It ain't pretty. I've seen people leave because they have moral qualms with the kind of monitoring that goes on, and people screwed because something innocent that everyone does was turned into a major issue. I cannot emphasize this enough; never, ever, ever mix your personal life with your work life, especially when it comes to communications and technology.

    1. Re:SSL Interception by NJRoadfan · · Score: 5, Interesting

      Relevant link: https://www.grc.com/fingerprin... This is one reason why companies are opposed to non-IE web browsers. Firefox has its own cert store for example.

  19. Re:Very Common by cheesybagel · · Score: 3, Funny

    Let me guess. Your corporation has an 'exception' to the professional conduct guidelines when management computers are involved.

  20. My company does this by bradgoodman · · Score: 3, Informative
    They do this with most "big" web sites - but not all (or many little ones). The pre-install their own root CA, so the web browser doesn't complain - but if you bothered to click on the padlock icon - you can tell the cert is signed by our IT department, not by whoever you think you're talking to.

    So we know it's happening - it's not really "hidden" - so I'ts up to me if I want to use Facebook or GMail or whatever - knowing the connection could be snooped. If I don't like it - I can simply not use those services from work.

  21. Why is this legal? by Richard_J_N · · Score: 3, Interesting

    As the operator of the webserver, I certainly don't consent, even if the employee had no choice..
    Is there any way to detect this server-side?

  22. Re:Maybe the company's not actually doing it? by JohnFen · · Score: 5, Insightful

    The company does not own the employee, and does not own the server that the employee is talking to, and so it really is a MITM attack. The company is the middle.

    Your advice is on the nose, though. It is impossible to trust any employer run system, and therefore you should never, ever do anything of a personal nature on company systems. Even if, as where I work, using the company systems for reasonable personal use is allowed.

  23. BYOD can get complicated by Anonymous+Brave+Guy · · Score: 2

    In the real world, BYOD isn't always that simple. The moment an employer encourages their employee to do something on their own device rather than provide dedicated company equipment, there are issues of who has what access, who is responsible for what, etc. There are entire businesses making tools and consulting in this field right now, because that is how big a minefield it is becoming.

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  24. DING DING DING!!! by KingSkippus · · Score: 5, Insightful

    You, sir (or ma'am), are doing it right. This is precisely the thing that gets me so mad at companies today, that they view these issues as an IT problem, not an HR problem. So they spend hundreds of thousands of dollars (sometimes millions) in hardware, software, salaries, support contracts, and lost time when shit breaks, just so that management 1) won't have to do their jobs--you know, managing people, and 2) will have plausible deniability when someone does do something stupid. ("It's not my fault for not making sure my workers were working on what they were supposed to and not violating company policy; IT should have blocked that site!!!")

    It's refreshing to see someone who actually gets where company policies should actually be enforced and where responsibility really ought to lie when there are gaps. Thank you!

  25. It is VERY common by dwheeler · · Score: 2

    This is very common in the military and in defense contractors, and it happens elsewhere too. There is a reason for it. Many of these organizations are worried about malicious stuff going in and/or exfiltration of non-public data going out. Employer MITM makes it easy to examine every packet for these kinds of things (to counter them). In the US, at least, it's generally accepted that employer equipment is owned by the employer, and thus they expressly have the authority to examine what goes over their own network... and as a condition of employment or computer use you probably signed something agreeing to this. I'm not a fan of this approach, but it certainly happens.

    Open source software that implements crypto protocols (e.g., SSL or SSH) will (correctly!) report that there's a MITM attack. So if you want to actually *use* the software in such settings, someone has to configure the software to trust the MITM. Some admins will do this automatically. If not, you may need to do it yourself. E.G., on Firefox, install the organization's certificate.

    You configure Linux systems to work in these environments, but since the certs are often files in Windows aka DOS aka CP/M format, you need to convert the files as well as put the into somewhere useful. Here's one way to deal with it.

    On Fedora, given a bunch of .crt files, you can do this:

    dos2unix *.crt ; cat *.crt >> /etc/pki/tls/certs/ca-bundle.crt

    On Ubuntu, you can do this given a bunch of .cer files:

    dos2unix *.cer ; rename 's/.cer$/.crt/' *.cer ; ca=/usr/share/ca-certificates ; mkdir -p $ca/MYORG ; cp *.crt $ca/MYORG ; cd $ca ; ls MYORG/* >> /etc/ca-certificates.conf ; update-ca-certificates

    You could avoid appending to the file if you want to, but I'll leave that as an exercise for the reader.

    --
    - David A. Wheeler (see my Secure Programming HOWTO)
  26. Re:Assume it by Zan+Lynx · · Score: 2

    Of course you have rights. So does your employer. And using your employer's network gives your employer the right to see what is traveling over his network.

  27. Re:Evil? by Jaime2 · · Score: 2

    That's a bit of an outdated attitude. Any "secure corporate network" has dozens or even hundreds of compromised client devices on it at any moment (and possibly a compromised employee or two). Not allowing personal devices doesn't increase security all that much. On the other hand, the benefits of BYOD are accepted by most companies that employ knowledge workers. Most places I've worked (some were really big corporations) simply require an employee to sign an acceptable use policy before connecting.

    Let me turn that attitude around: are you willing to be held personally responsible when a client is compromised by a zero-day? Control is an illusion in the twenty-first century, it's way past time to start building networks that are able to function properly even with untrusted devices on them.

  28. Many hotels do this too by davesag · · Score: 2

    Many of the hotels I've stayed in iver the years, both major chains and smaller boutique hotels, and in several countries, have attested to MiM my secure mail server or http a sessions. Similarly I caught the Qantas lounge in Sydney trying this a few years ago. I never use hotel internets any more or airline lounges' wifi - it's just too creepy.

    --
    I used to have a better sig than this, but I got tired of it