Slashdot Mirror


Ask Slashdot: Dealing With Unwanted But Official Security Probes?

An anonymous reader writes "I manage a few computers for an independent private medical practice connected to a hospital network. Recently I discovered repeated attempts to access these computers. After adjusting the firewall to drop connections from the attacking computers, I reported the presumed hacker IP to hospital IT. I was told that the activity was conducted by the hospital corporation for security purposes. The activity continues. It has included attempted fuzzing of a web server, buffer overrun attacks, attempts to access a protected database, attempts to get the password file, etc. The doctors want to maintain a relationship with the hospital and are worried that involving law enforcement would destroy the relationship. What would you advise the doctors to do next?"

37 of 238 comments (clear)

  1. Be happy that their data is secure? by PNutts · · Score: 4, Insightful

    They do know about HIPAA penalties for leaking data, right?

    1. Re:Be happy that their data is secure? by Old97 · · Score: 3, Informative

      I work for a health insurance company. HIPAA fines are not unusual. It's strictly enforced. Our potential liability for a breech due to gross negligence or willful conduct can run 10's of millions of dollars.

      --
      Very often, people confuse simple with simplistic. The nuance is lost on most. - Clement Mok
    2. Re:Be happy that their data is secure? by Sir+Holo · · Score: 3, Insightful

      Possibly off-topic, but a physician of mine bragged that all of his many patients' data was very handily available to him at all times –– on a 32GB USB stick that he wore around his neck on a lanyard.

      My first thought was, "Dude, what if you lost it?"

      That is: HIPAA violations all over the place if he did.

  2. Is this not your local net police? by Dr.+Tom · · Score: 5, Insightful

    You can always run denyhosts, block any IP that attacks you, but it sounds like these guys are on your side, doing penetration testing.
    If they are not, block the addresses. If they are local staff, call the IT dept. and talk to them, don't post to /.

    1. Re:Is this not your local net police? by Gothmolly · · Score: 5, Interesting

      Block them anyway; claims it's part of your normal operations. Hint: they're probably stupid enough to use 1 or 2 IPs.

      --
      I want to delete my account but Slashdot doesn't allow it.
    2. Re:Is this not your local net police? by PolygamousRanchKid+ · · Score: 5, Informative

      My company's "good guys" run security tests once a week. They send me a report afterwards, listing any "findings". And, most importantly, I was informed by them beforehand, that they would be doing these tests.

      If you weren't informed about it, how are you supposed to know that they are the good guys . . . ?

      --
      Schroedinger's Brexit: The UK is both in and out of the EU at the same time!
    3. Re:Is this not your local net police? by sgt+scrub · · Score: 4, Insightful

      Or NAT their IP addresses to honey pots and watch them get sticky.

      --
      Having to work for a living is the root of all evil.
    4. Re:Is this not your local net police? by TrekkieGod · · Score: 4, Insightful

      If you weren't informed about it, how are you supposed to know that they are the good guys . . . ?

      You shouldn't know,and you're supposed to treat them like the bad guys. Isn't that the entire point? How else are they going to know you're prepared against a real attack?

      --

      Warning: Opinions known to be heavily biased.

    5. Re:Is this not your local net police? by Hizonner · · Score: 5, Interesting

      They're not auditing their security. They're auditing somebody else's security. "Independent private medical practice" means a separate corporation that happens to have a network link. Not "within their rights", and not legal, either.

    6. Re:Is this not your local net police? by Hentes · · Score: 3, Insightful

      Probably not the best idea in a pentest, some of them might think they actually got through and that will be hard to explain later.

    7. Re:Is this not your local net police? by longk · · Score: 3, Insightful

      How is this not a real attack to begin with? Just because they cooperate in the medical business doesn't mean they have the right to penetrate each others IT systems.

    8. Re:Is this not your local net police? by postbigbang · · Score: 4, Insightful

      Not so. There may be a contractual relationship allowing this. Otherwise, an unauthorized pentest is a hack attempt. If so, report them to the FBI and do a deny on their IPs.

      If there's a contractual relationship with a clause governing over-arching compliance, then an audit better be agreed upon first, otherwise, see first paragraph.

      I don't care if the address is across town, or across the seas, they get hammered and reported unless they're 1) covered by contract and 2) give us results. Otherwise, we suspect the worst and go for their lunch. Then we eat it.

      --
      ---- Teach Peace. It's Cheaper Than War.
    9. Re:Is this not your local net police? by ColdWetDog · · Score: 5, Funny

      Just make it look official and let everybody know you're using all the most modern coding tools. For example, your mythical patient could suffer from a burn due to water skis being on fire (ICD 10 code V91.07XA). Or he could have been attacked by a turtle (W5921XA).

      Real codes, but it would be rather unlikely to find such traumatic incidents in actual medical practice.

      --
      Faster! Faster! Faster would be better!
    10. Re:Is this not your local net police? by brausch · · Score: 3, Interesting

      Not unless they've got a contract that says so. Their authority stops at my router unless I've given them permission.

      They can ask me to conduct my own testing or they can ask if they can test.

      I'm not a clinic but banks have similar laws.

      --
      "Almost every wise saying has an opposite one, no less wise, to balance it." - George Santayana
    11. Re:Is this not your local net police? by Hizonner · · Score: 5, Insightful

      Yes, the practice's security affects the hospital's. Your security affects mine, too, and in fact the security of everybody on the Internet affects the security of everybody else.

      Nonetheless, it is not legal, ethical, or appropriate to go around attacking somebody else's systems without their explicit permission. It doesn't matter if you provide them with network service. It doesn't matter if you have (perhaps unwisely) given them access that makes them a potential threat to you. It doesn't matter if you're the "big" network, or if you have more to lose than they do. It doesn't matter if you feel you're "responsible for the whole network". It doesn't matter if they're completely incompetent and overrun with malware.

      If you don't have advance permission, and you attack somebody else's system. you're in CFAA violation territory. And if you didn't get that permission in writing, you're an incompetent idiot.

      This isn't the wild, wild west. Your motives do not matter. The effect on your own security does not matter. End of story.

    12. Re:Is this not your local net police? by Tom · · Score: 3, Insightful

      It depends on the testing. I've run security tests. Most of the time, you do notify the people involved and plan with them, especially if you are testing live systems. You don't want to interrupt service, after all.

      However, sometimes you want to test humans and procedures as well. In those cases, you might notify only management, not the technical people involved. You definitely notify someone, but not necessarily the people who will notice your attack first.

      Friends of mine do social engineering pentesting. That's the best example, because notifying people just that such a thing is going on already changes the results. So they will usually carry a letter signed by the CEO and the security chief that states a) these guys are legit and b) call me to verify. And, btw., people who don't do b) upon seing the letter fail the test because anyone could carry a forgery. But, back to the point, in most cases, the CEO and security chief and maybe two people in legal who handled the contract are the only people within the target company that know about the testing.

      Same, but to a lesser extend, with other security tests. If you want to test the firewall, you can tell the firewall guy. But if you want to test the firewall guy, you can't. You tell his manager or if the corp has a seperate security chain-of-command, the next-higher-up in the security report chain, so he can calm him down and congratulate him when he storms into the office saying "we're under attack". But if you want to find out if he'll notice at all, you obviously can't tell him beforehand.

      --
      Assorted stuff I do sometimes: Lemuria.org
  3. Establish authorization first by Anonymous Coward · · Score: 5, Informative

    Speak with someone at the managerial level and go find the agreement/piece of paper that states said hospital corporation has the right to perform security audits against your customers network. Until that does or does not materialize, take no action past what you're already doing in the name of good security

  4. SPEAK in their own language by Anonymous Coward · · Score: 3, Informative

    have a lawyer write a letter to the hospital director, explaining how it's against the law in the US to attempt to hack into another company's network, saying, "Of course you'd want to know about this to avoid civil or criminal action.

  5. Key words for me: independent practice by Anonymous Coward · · Score: 5, Insightful

    Unless there are contractual terms which allow the hospital to pentest the independent medical practice, the hospital IT staff are probably violating the law. Get your legal counsel involved ASAP and let the lawyer deal with it.

    1. Re:Key words for me: independent practice by cdwiegand · · Score: 3, Interesting

      Yes - this! Just because they don't want to rock the boat, doesn't make it not a federal crime! And if they decide they don't want to follow up on the legal violation, I would tell me boss that the hospital may not be pentesting officially - it could be a corrupt IT (or even non-IT) person testing their clients w/o the hospital management's knowledge. If it's a major hospital (which most seem to be, these days), there are serious repercussions for doing that to the hospital employee. I would probably block the IP at the firewall and if they complain let them know that, per YOUR standard operating policy, the IP was perm-banned due to a large number of attacks coming from an unauthorized source. I do at my place of business (of course, I'm the CTO and a business partner to boot, so I can make those decisions).

      --
      . Define sqrt(x) as something really evil like (x / rand()), and bury it deep. Watch your coworkers go nuts.
  6. Have you tried all these? by Anonymous Coward · · Score: 5, Informative

    You've told them that they don't have authorization to access your computers, and are (or would be) in violation of the law if they succeed?
    You've asked for a meeting with their security people so that you can jointly plan to do whatever is needed?
    You're reasonably comfortable that you indeed run a tight ship?
    You've configured your firewall to drop their packets?

    1. Re:Have you tried all these? by Dan+Dankleton · · Score: 5, Insightful

      You've asked for a meeting with their security people so that you can jointly plan to do whatever is needed?

      I never have mod points when there's something I want to moderate! This is the thing to do. Get in touch with the hospital's security people. If the scans are causing any problems with IT operations then arrange with them to schedule the scans differently. Otherwise, explain that you've picked up the scans and blocked them per procedure. Ask if they want you to unblock their specific scan so that they can find any issues which would reveal weaknesses you could defend against in more depth.

      All this may be unwelcome but it doesn't sound like there's much you can do about it, so treat it as an opportunity.

  7. Re:Hack back. by PhamNguyen · · Score: 3, Insightful

    That would be responding to a company whose only fault is having a bad policy and poor training, by committing a serious crime!

  8. Talk to the Intrusion Crew. by darkonc · · Score: 4, Insightful
    One thing to note: If they manage to get in, the it's a good thing to know about how they did it.

    In the meantime, you want to talk to the crew that's doing the intrusion testing and make sure that they'll be keeping anything they find confidential, and that you'll get the results of the work that they're doing. What they're doing is annoying, but it's better to have it done by friendlies than to have someone truly hostile find some day-0s that they can use against you (presuming that you're willing to close any holes that they find).

    --
    Sometimes boldness is in fashion. Sometimes only the brave will be bold.
  9. Get it in writing by Antique+Geekmeister · · Score: 4, Informative

    I've been on both sides of such security probes, professionally. A legitimate organization will be willing to identify itself and name the most obvious penetration test vectors, because they will show up in the logs of someone competent. It's also especially interesting to conduct a penetration a month _before_ any announced test, and a month or two _after_, to see what has actually been changed.

    But as the target of a penetration test, you should be be _encouraged_ to report the attempts to the upstream provider or administration, and you should be notified of the test results. You don't indicate if you've spoken to anyone in hospital IT who has any actual authority or responsibility: a simple letter, _preferably on real paper with a real name of someone who can verify the letter_, identifying that such tests occur and where you can report them, can help protect you, and the hospital, from liability for other attacks that go unnoticed while the penetration test occurs.

    I also urge you to review the regulations or laws on confidentiality of patient data. Penetration against secure data where the recovered data is not handled safely can be illegal, and a careful talk with the hospital's legal counsel can help set some guidelines. And this is just the situation where a paper trail, _on paper and kept offsite_, can protect you and your group from lawsuit or from a manager who tries to shift blame. This is especially true when the penetration succeeds, and a mid level manager uses it as ammunition to replace IT staff with a different "big vision" of how security works, even when the IT staff were prohibited from that manager from taking effective steps against the very vulnerabilities used by the penetration test. (I've seen this several times.)

  10. Find a clue yourself by Anonymous Coward · · Score: 3, Interesting

    He had enough clue to figure out the hospital corporation was attempting to hack his system, and even did something to protect himself. That's more than most 'qualified IT professionals' can handle in their lifetime.

    Just because you can boot Windows and hold a Windows Certified Administrator certificate in your hand doesn't make you qualified to do IT anywhere.

  11. Re:Find someone with a clue to do your job. by pla · · Score: 3, Insightful

    Are they causing you harm? Are you just being uppity about log entries?

    Flooding the logs with false positives does cause harm, in that he may miss real attacks in the flood of "test" ones.

    Not to mention, who bears the liability if this testing actually manages to get in and cause data loss? The FP poster specifically mentions fuzzing inputs to the web server - That works great in a test environment; if it succeeds on a production system, god only knows what effects it will have.

    My recommendation? Aggressively block this shit until your actual boss (not some random schmuck from "corporate") directly orders you to let it get through; and if ordered to let it continue, get it in writing (email would suffice).

  12. Two things by gman003 · · Score: 5, Insightful

    First, as far as the network goes, treat it the same way you would treat any attack. Block IPs, add filters, whatever you normally do. If they are simulating an attack, you should simulate a defense.

    Second, the human response. Make sure that this is actually an authorized security test. Tell them that if you cannot get confirmation that this is an authorized attack, you will have to treat it as an unauthorized one, which means contacting law enforcement, as per standard protocols for dealing with health information. This is "cover your ass" stuff here - if it actually isn't authorized, and you get hacked, you're likely to take the blame for it. And if it is authorized, well, you look like you're doing your job by detecting and responding to the threat.

  13. Do I get that right? by Opportunist · · Score: 3, Insightful

    Do I get this right? You are working for company A, but company B, with whom you have some kind of relationship, but are not a part of, tests your security?

    First, make sure you have EVERYTHING in writing. At the very least as emails, but paper would be better. Make sure that everything you inform your IT superiors of is documented, and make sure every order you get from them is documented as well. Else selective amnesia might set in when the shit hits the fan. Tell your doctors to get in touch with the hospital CIO/CISO (or whoever is directing the tests), and make sure that they inform them that they want to cooperate to make sure the test makes sense. Else, what would you logically do? Right. Block the offending IP(s) until the storm is over. That's not really in the interest of the auditor either, since it's trivial to make something "secure" when I don't allow access to it by default and have every kind of access die at the front door (even though others might be allowed further in).

    Personally I think it's highly unusual to conduct a pen test "against" a cooperating company. At the very least you should be informed that this has to happen (likely due to HIPAA or similar regulations), else the auditors are on VERY thin (juridical) ice. Essentially, they are conducting a hostile attack.

    Tell your docs what the auditors do here is pretty much like performing an operation without the patient's consent, they'll immediately get that. It may be in the patient's interest, but cutting him open without immediate lethal danger and without consent is STILL a big nono.

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  14. Re:Find someone with a clue to do your job. by Kjella · · Score: 3, Interesting

    Seriously. Whats the contract between the two firms say? Are they causing you harm? Are you just being uppity about log entries? The obvious answer to your question is that if you want to continue the relationship with the hospital, you will shut the fuck up and be happy they continue to outsource things to your firm.

    I wonder if you're the one who needs a clue since if shit hits the fan because there was a real attack from someone on the hospital network that goes ignored because it's assumed to be an authorized pen test it's his ass on the line. From the summary:

    The doctors want to maintain a relationship with the hospital and are worried that involving law enforcement would destroy the relationship.

    I would assume that if they're even thinking about calling in law enforcement, they've done the obvious and checked if they gave permission somewhere. I think you're giving the hospital far too much benefit of the doubt here, just because corporate IT think they have permission to pen test anything connected to their network doesn't mean that it's been appropriately regulated in the agreement between the private practice and the hospital. Surely they have some from of legal representation I'd ask:

    1) The hospital is doing penetration testing on us. Assuming they should succeed, is it acceptable that they may gain control of our systems or access our practice's data? If no, then take it up with the hospital's compliance officer
    2) Even if this penetration testing is permitted, how can the private practice be sure this is authorized activity and not unauthorized activity. Again, get whatever legal council you have to take it up with the compliance officer.

    Getting law enforcement involved is only useful if you want to punish someone for what has happened, what you want here is to find a solution going forward. Just because you're both in the health business, doesn't make you the same entity. If you can get your lawyer to say that these pen tests could be a HIPAA violation of the private practice, then their IT will listen to their legal telling them to stop. Or they might stonewall and say that if they can't do security testing, you can't be on the network. Either way you're raising the flag and saying if this happen again, we can't just ignore it.

    --
    Live today, because you never know what tomorrow brings
  15. The only answer. by ebrandsberg · · Score: 4, Informative

    Is the hospital allowed to access records without a release based on HIPPA regulations since it is an independent practice? If not, then report them to the police. Apologize to the hospital, but explain, you have NO CHOICE. HIPPA is not something to mess with, and it doesn't matter who is trying to access the records, it IS a crime if accessing this data is not permitted. Remember the guys that got sent away for accessing the public data for AT&T? Yea... That but worse. Based on the fact that they were sentenced, even if they gained no data, the attempt itself was the crime. Failure to report a crime is a crime itself: http://www.law.cornell.edu/uscode/search/display.html?terms=misprision&url=/uscode/html/uscode18/usc_sec_18_00000004----000-.html. Report it. If they gain access to records, and then data from it leaks out, say because someone notable was a patient, then it will be on YOU. If the local police decide not to follow up, it is NOT on you.

  16. I fail to see a problem here by Bartles · · Score: 3, Interesting

    It seems to me these "attacks" are being conducted in good faith, as a security test. I think this is good practice and it should be commonplace.

  17. How do you know THEY weren't hacked? You MUST act. by Ungrounded+Lightning · · Score: 4, Insightful

    If you weren't informed about it, how are you supposed to know that they are the good guys . . . ?

    You shouldn't know,and you're supposed to treat them like the bad guys.

    How do you know that their machines haven't been hacked, and that ALL of the penetration attempts are actually tests?

    If you talked to them on a phone rather than face-to-face at THEIR office (or even then), how do you know the person you talked to is actually a security guy or I.T. administrator at the hospital and not a freelance cracker, identity thief, spy, or even an assassin going after a patient? If somebody cracked, say, an VoIP. phone system, they could intercept your complaints and tell you it was standard operating procedure and to ignore such attacks.

    Even if they are what they claim to be and ALL the attacks are from them, by telling you it's just a test, you should ignore it, and continuing to "test" you, they've just TOLD YOU TO IGNORE ATTACKS. If you do, you FAIL.

    IMHO (IANAL) you MUST attempt to halt the attacks and treat them as real or you are in violation of HIPAA.

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
  18. You're a complete idiot... by Anonymous Coward · · Score: 4, Insightful

    I once worked on a team doing such internal audits. After a YEAR we finally had our network looking pretty tight from the disaster it had been - this was a very large network. One day someone asked me to take a look at a WEB app they had created to demonstrate something for me - I couldn't reach the address. Neither could anyone else on my team. I asked friends via IM elsewhere on the network if they could reach the IP and they could. Suspicious I told my boss about it and he confirmed the blockage by attempting access via RDP from a machine we kept remotely on the network - he was able to access it. Suspicions confirmed he twiddled a few things and moved our DHCP IP range to a completely different set of addresses and instructed our team to goto work. We found quite a bit wrong with the network space behind that router! When the network team responsible for that router was drilled they claimed no knowledge of the filtering rule that had been blocking our IP space and no documentation of it's creation existed despite strict rules about such things.

    What you're advocating is akin to stripping off street signs and house numbers so that the fire and police depts can't find your home when soliciting for donations. This has the additional side effect of also making sure they cannot find your home should a fire or robbery occur and is stupidity to say the least!

    Yes, security scans like this can be bothersome. They can even crash machines and applications that aren't coded properly and if you've not locked all your doors and sealed the windows someone might crawl in. My all-time favorite was a NAS that would corrupt multi-TB worth of data every time we scanned it - the vendor's response was to tell us to stop scanning it. Our's was to replace the fucking vendor! Stopping these scans by something as stupid as blocking the traffic is simply going to waste the companies money spent hiring these people and come home to roost when someone else crawls in and steals your shit. The difference between this and thieves or vandals is that if THESE guys get in they will let you know what they found and hopefully help you fix it. Which would you rather have? The fact that they have even been spotted is a plus, most of the folks I went up against never noticed us and the stupidity we uncovered was amazing.

    Sadly, much as I'd like to NOT post this AC I'm going to have to but trust me simply blocking these guys is a really BIG mistake.

    1. Re:You're a complete idiot... by Runaway1956 · · Score: 4, Insightful

      Nice story and all. Good moral, too. Cooperating with your IT department can only help everyone.

      The flaw here, is that the vendor has not been warned that the hospital's IT department is going to be pentesting. Apparently, there is no contract, no new letter, no statement of policy. The vendor simply discovered that someone is testing his defenses, and the IP addresses have led him to believe the hospital is responsible.

      It's possible that bad guys are doing all this testing, and the people at the hospital aren't really aware of what is happening.

      Contacting the hospital's administration seems to be in order here.

      --
      "Windows is like the faint smell of piss in a subway: it's there, and there's nothing you can do about it." - Charlie Br
  19. Escalate to their legal contacts now. by billstewart · · Score: 5, Insightful

    There are three or four likely possibilities for what's going on here

    * The hospital's lawyers and administration know what the IT guy is doing, and are ok with it. Therefore they'll be ok with you and your doctors' group lawyers talking to them about it, though you're going to have to have a long conversation about why this is not a good idea. * The hospital's lawyers and administration don't know what the IT department is doing, but the IT department thinks they're doing something officially useful, and need to get told it's inappropriate. * The hospital's IT department is doing this stuff on his own, for evil reasons, and needs to be caught and stopped. * Some outsider is masquerading as the hospital's IT department, and the email you contacted to tell them to stop doing stuff is really redirected to the bad guys. In that case, the hospital's in a real mess and needs to know about it.

    . Either way, you've got a responsibility to your doctors and your patients, and you need to go to the top since going to the working-level people didn't get you taken seriously.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  20. Re:How do you know THEY weren't hacked? You MUST a by antdude · · Score: 3, Informative

    How do you know if seeing them in person is authentic? They could be clones or evil twins! :P

    --
    Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).