Slashdot Mirror


How Should One Respond to a Network Break In?

Jety asks: "I am the sole IT support for a medium sized residential real estate office. It has a network of one main server, 10 office workstations, and another 40 or so agent's personal computers. I discovered via logs that recently someone made about 50 remote login attempts to the server, guessing at passwords, but it would appear that they were not able to gain access. They did, however, leave an IP address in the logs. It turns out to be an Exchange server for another business in the same city. What is an appropriate response to this sort of failed break-in attempt? How seriously should one react? How should it be presented to management, and should you encourage them to over or under react? Should the other business, whose server was used to launch the attack, be informed? Should you try to surveil them first to learn about who is doing their tech work? With what tone should they be approached and/or accused? What would a suitable response from that company entail?"

96 comments

  1. First and foremost, cover your ass. by TripMaster+Monkey · · Score: 4, Insightful


    Document everything in writing, discuss the situation with your superiors, and seriously consider initiating some form of legal action. If you are the first to get litigious, you stand a better chance of having the situation resolved in your favor. Unfortunate, but true.

    --
    ____

    ~ |rip/\/\aster /\/\onkey

    1. Re:First and foremost, cover your ass. by erykjj · · Score: 1

      Second that. And backup the logs to a CD.

    2. Re:First and foremost, cover your ass. by Saeed+al-Sahaf · · Score: 2, Insightful
      I discovered via logs that recently someone made about 50 remote login attempts to the server, guessing at passwords, but it would appear that they were not able to gain access.

      If you really want to, try to find out who admins the other server, and make contact. Are they competitors, that would change a lot of things. BUT, this sort of thing happens several times a day to the servers I admin. Generally, there is nothing to be done about it, trying to notify the offending source is usually ignored. More than not (precisely always), it's Windows boxes infected with bots.

      Why waste any time on this?

      --
      "Who are in control, they are not in control of anything - they don't even control themselves!" - Glen Beck
    3. Re:First and foremost, cover your ass. by lanswitch · · Score: 1

      then use your LART to set things straight.

    4. Re:First and foremost, cover your ass. by Anonymous Coward · · Score: 1, Interesting

      File a police report. Costs nothing, covers your ass.
      Then tell their ISP, and tell the ISP you filed a police report. Their ISP will deal with it. If it becomes a problem for the ISP, it will be a serious problem with the company.

      If you want to be an ass, you could tip the BSA that they're running a pirated copy of Exchange. Anonymously would be best.

    5. Re:First and foremost, cover your ass. by Anonymous Coward · · Score: 1, Funny

      Upon learning that your systems have been penetrated, proper incident response is as follows:

            1. Scream. Hold head between hands and moan.

            2. Check passport, one-way tickets to South American country of choice. Express relief that the emergency escape kit is still operational.

            3. Remember advising boss to recind deparmental policy of secure sticky-note-on-the-monitor storage for passwords. Recall boss' gales of laughter in response. Take hefty swig of Jack Daniel's.

            4. Remember advising boss to please not open random e-mail attachments. Recall boss' blank stare in response. Suck on barrel of .357 revolver for 5 minutes or until sufficiently calmed down.

            5. Remember pleading with boss to allow filtering executable attachments. Recall boss' response. Almost pull trigger.

            6. Resist urge to yank server out of rack and dump out nineth-story window.

            7. Advise boss of break-in. This starts the long chain of blame-passing that ends when the CEO sacks 5 random people in middle management and below.

            8. Sit back and watch the spin machine start the vital post-incident response protocol of figuring out who might know what happened and silencing them.

    6. Re:First and foremost, cover your ass. by oldwarrior · · Score: 0

      Step 1 - Immediately navigate to your nearest public house with daytime hours.
      Step 2 - Begin considering network break-in ramifications over fine irish ale.
      Steps 3..9 (can't remember...)

      --
      If it were done when 'tis done, then t'were well it were done quickly... MacBeth
  2. Call 911 by H8X55 · · Score: 3, Funny

    Call 911 and let the Patriot Act take it from there... No one from that company will be trying to pwn you again.

    1. Re:Call 911 by ian+rogers · · Score: 2, Funny

      And make sure to use the word "pwn" while on the phone with 911. :)

    2. Re:Call 911 by eoyount · · Score: 1

      How do you pronounce "pwn"? It always comes out "poan" (one syllable) when I say it.

      --
      To understand recursion,
      you must first understand recursion.
    3. Re:Call 911 by FLAGGR · · Score: 1

      Same as the root word, own, but you pretend your saying it with a p.

    4. Re:Call 911 by bhtooefr · · Score: 1

      If Pure Pwnage is to be believed, the p is pronounced as an o - so it's pronounced the same as "own".

      The title sequence on each episode has the announcer saying "Pure Ownage" (my emphasis, but the announcer DOES stress the O pretty strongly).

      Besides, "pwn" is a misspelling of "own". Being a misspelling, the pronunciation should be that of the original word.

    5. Re:Call 911 by Frodo+Crockett · · Score: 1

      Besides, "pwn" is a misspelling of "own". Being a misspelling, the pronunciation should be that of the original word.

      That's what I'm saying! Man, everytime a friend of mine says that he "pawned" someone or that "pawnage" occured, I wanna cut out his tongue with a rusty shoehorn!

      --
      "The newly born animals are then whisked off for a quick run through a giant baking oven." --heard on Food Network
    6. Re:Call 911 by bhtooefr · · Score: 1

      Well, he's probably coming from the chess or pawn shop schools of thought.

      In the chess school of thought, the pawn is the weakest piece (some would say the strongest, but that's a point for another post). So, if you "pawn" someone, you make them weak, or they were already weak and you kill them. Pawn becomes pwn in the 1337speak movement to shorten stuff.

      In the pawn shop school of thought, the competitor that you just "pwned" you've deemed so worthless that you pawn him off. Again, pawn becomes pwn to shorten it.

      I still prefer the "misspelled own" theory, so correct pronunciation would be "own".

    7. Re:Call 911 by Frodo+Crockett · · Score: 1

      Well, he's probably coming from the chess or pawn shop schools of thought.

      No, he's just not very well read. :P

      In the chess school of thought, the pawn is the weakest piece (some would say the strongest, but that's a point for another post). So, if you "pawn" someone, you make them weak, or they were already weak and you kill them.

      Back in Chess Club, the ultimate humiliation was being checkmated by a pawn. I loved doing that to people.

      --
      "The newly born animals are then whisked off for a quick run through a giant baking oven." --heard on Food Network
    8. Re:Call 911 by bhtooefr · · Score: 1

      I've only done that ONCE :-(

      I'm not that good at chess, though...

  3. It probably isn't even them by Stone+Rhino · · Score: 5, Informative

    You shouldn't start out accusatorily, because it's most likely that they're not the ones attempting the breakin. It's more likely that their box has been hijacked and is being used as a proxy to launch attacks against your computer for someone else.

    After all, who uses an exchange server as their terminal to log in to other computers? If it was one of the desktops, then it would make sense that they were attacking.

    --


    Remember, there were no nuclear weapons before women were allowed to vote.
    1. Re:It probably isn't even them by linzeal · · Score: 4, Interesting
      Unless he lives in a large city I highly doubt your suspicions, if that happened in my town of 30k you can bet all the beans in Boston that some summer intern has gone rogue. I have dealt with similiar things while working for an art gallery in Phoenix. We had our WWW server compromised at a datacenter that we did not control and a trojan was installed in a scratch directory with the name of a popular program for digital art manipulation at the time. One of my friends downloaded and installed it on the main point of sale machine in the front of the shop and it almost immmediately attempted to phone home to a ip address owned by a competing art co-op who had been dissed by us in a play performed at our gallery the month before. It was stopped by Tiny Personal Firewall which was installed on all machines in the gallery.

      We did not call the police, instead we found out the format it was sending information in and what it was reporting. So we took the program and installed it on disconnected machine to play with it. It scanned a hard drive for Jpeg, PDF and PSD files and than sent them in a zipped file to the address every night at 3 am. So we had a meeting to decide on what we should send them. We decided to send someone they did not know to photograph inside their gallery when they were not looking. After we had most of their new installation photoed and scanned, FYI this is before digital cameras were cheap.

      After that we found out where they lived and took pictures of them leaving their houses in the morning for some who lived nearby, their licence plates and inside of their cars, where they worked some with pictures of them working and sent it to them a few days later. About a week after that we took pictures of someone taking pictures of us from across the street in a car we did not recognize and blew up the image to find the culprit who we told the competing gallery about which promptly took his whole installation including 2 computers synchronizing motion to music (just a program downloaded off the net) and left all of it in the back of the building in central Phoenix in broad daylight. Virtually nothing survived, lol. Some people were pissed we took photos of them and their art but I believe it it legal to do so in public. Correct me if I'm wrong.

    2. Re:It probably isn't even them by jamesh · · Score: 1

      I can't tell from the very limited information given in the article if this is relevant or not, but Exchange has been known to try and authenticate to another Exchange server before sending (which invariably fails of course).

      A bunch of failed login attempts isn't necessarily a hostile activity, which is all it sounds like in the article. Of course the poster probably knows more information that he's giving out...

      Remember: Never attribute to malice that which can be adequately explained by stupidity.

    3. Re:It probably isn't even them by Anonymous Coward · · Score: 0

      You could get an article published in Wired.

    4. Re:It probably isn't even them by Anonymous Coward · · Score: 0

      > About a week after that we took pictures of someone taking pictures of us from across the street in a car we did not recognize

      You're lucky they didn't take pictures of you taking pictures of someone taking pictures of you!

      I hear that's what they do in Soviet Russia...

    5. Re:It probably isn't even them by uofitorn · · Score: 1

      After that we found out where they lived and took pictures of them leaving their houses in the morning for some who lived nearby, their licence plates and inside of their cars, where they worked some with pictures of them working and sent it to them a few days later. About a week after that we took pictures of someone taking pictures of us from across the street in a car we did not recognize and blew up the image to find the culprit who we told the competing gallery about which promptly took his whole installation including 2 computers synchronizing motion to music (just a program downloaded off the net) and left all of it in the back of the building in central Phoenix in broad daylight. Virtually nothing survived, lol. Some people were pissed we took photos of them and their art but I believe it it legal to do so in public. Correct me if I'm wrong.

      Huh?

      --
      "What kind of music do pirates listen to?" -Paul Maud'dib
      "Yeeeaaarrrrr n' Bee!!" -Stilgar, Leader of Sietch Tabr
  4. Simple by rylin · · Score: 5, Insightful

    You try contacting abuse@ the other company.
    If that fails, you call them up and ask for their tech-lead.

    You already have your logfiles, and reasonably secured server.
    What you can gain here is a partnership - or at least an exchange of favors every now and then - between your company and the remote one.

    That said, if the other company isn't responsive, you firewall them to hell and get on with your daily work.

    You'll want to give management a brief notice about what's happening before you do this, obviously.
    After you've talked to abuse@, you tell management what happened.

    Now is the time to see over your authentication schemes. Are your users logging in over SSH? With passwords instead of keys? (Hint: keys are nicer).

    After this is said and done, you paypal me $90 for doing your job.
    Cheers!

    1. Re:Simple by EricV314a · · Score: 2, Funny

      And this is why consultants should demand their fee UP FRONT

    2. Re:Simple by strikethree · · Score: 1

      erm, he should notify management before doing _anything_ other than basic internal fact finding. never, and i do mean never, communicate with anyone outside of the business about business matters, without talking to management first.

      the company can keep the $150 that i would normally charge for fixing your errors. :)

      strike

      --
      "Someone needs to talk to the tree of liberty about its ghoulish drinking problem." by ohnocitizen
    3. Re:Simple by Sebby · · Score: 1

      " After this is said and done, you paypal me $90 for doing your job."

      Cool. So what's your address...? ;)

      --

      AC comments get piped to /dev/null
  5. Just inform them by dtfinch · · Score: 3, Insightful

    No damage was done to you, except the effort you put into investigating. They, on the other hand, will probably want to catch whoever's actively using their server to launch attacks.

  6. Don't overreact by Nos. · · Score: 4, Informative

    Start off by blocking remote logins (ssh?) from anywhere except where you want to allow people to log in from. Second, I would send a polite, email to their tech contact, or if you can't find that, regular post mail to the company. Don't overreact. Their are a lot of ssh worms out there. I have one machine where I watch for these kinds of things. I see at least 3 or 4 worms hitting my box a day.

    1. Re:Don't overreact by gregmac · · Score: 1

      Don't overreact. Their are a lot of ssh worms out there. I have one machine where I watch for these kinds of things. I see at least 3 or 4 worms hitting my box a day.

      Likewise. I think I see on average about 400 failed login attempts across 3 machines, every day.

      Most look something like this:

      Jul 26 08:10:27 oxygen sshd[30231]: Illegal user gabriel from ::ffff:140.254.26.248
      Jul 26 08:10:32 oxygen sshd[30233]: Illegal user gabriela from ::ffff:140.254.26.248
      Jul 26 08:10:39 oxygen sshd[30235]: Illegal user gaby from ::ffff:140.254.26.248
      Jul 26 08:10:45 oxygen sshd[30237]: Illegal user gail from ::ffff:140.254.26.248
      Jul 26 08:10:49 oxygen sshd[30239]: Illegal user gala from ::ffff:140.254.26.248
      Jul 26 08:10:54 oxygen sshd[30241]: Illegal user gale from ::ffff:140.254.26.248
      Jul 26 08:10:56 oxygen sshd[30243]: Illegal user gamma from ::ffff:140.254.26.248
      Jul 26 08:11:01 oxygen sshd[30245]: Illegal user gary from ::ffff:140.254.26.248
      Jul 26 08:11:04 oxygen sshd[30247]: Illegal user gari from ::ffff:140.254.26.248
      Jul 26 08:11:06 oxygen sshd[30249]: Illegal user garret from ::ffff:140.254.26.248
      Jul 26 08:11:16 oxygen sshd[30251]: Illegal user garry from ::ffff:140.254.26.248

      I pretty much just ignore them and go on with my day. I do have pam_abl installed, though for some reason it doesn't seem to catch these failed logins (i think because it connects and only tries to login once before closing the connection, as opposed to multiple password attempts during the same connection).

      --
      Speak before you think
    2. Re:Don't overreact by Nos. · · Score: 5, Informative

      Speaking of which, I was just chatting with a buddy who has a Brute Force rule setup in IP tables. Too many connections from a single IP within a set amount of time creates a temporary ban of that IP.

      Here's what he wrote to an IRC channel we were on (this is untested but should be close):

      • iptables -A INPUT -i eth0 -p tcp --dport 22 -m state --state NEW -j SSH_Brute_Force
      • iptables -A SSH_Brute_Force -m recent --name SSH --set --rsource
      • iptables -A SSH_Brute_Force -m recent ! --rcheck --seconds 60 --hitcount 4 --name SSH --rsource -j RETURN
      • iptables -A SSH_Brute_Force -m limit --limit 3/min -j LOG --log-prefix "SSH Brute Force Attempt: "
      • iptables -A SSH_Brute_Force -p tcp -j REJECT
      Again, I haven't tried this yet, but generally speaking, 4 ssh connects within 60 seonds on eth0 will result in a 3 minute ban - I think.
    3. Re:Don't overreact by drakaan · · Score: 1

      That'll be going into my LEAF box tonight. Much appreciated.

      --
      "Murphy was an optimist" - O'Toole's commentary on Murphy's Law
    4. Re:Don't overreact by SeeTheLight · · Score: 1

      With rules like that, does that mean someone could potentially spoof a TCP connect packet coming from a legitimate IP (such as maybe someone who regularly logs in via SSH to the server) and get them autobanned?

    5. Re:Don't overreact by Mercury2k · · Score: 2, Informative

      I would have to advise AGAINST email contact. Remember, if their email server is compromised, chances are the person you engage in converstaion with is infact the person who is trying to break into your machine, and thus will go unreported to the people who can do something about the problem. A better solution is to do a whois on the domain name and try to get a phone number of the company involved. Also, dont phone just one contact number is multiple numbers are givin. If the admin contact is actually trying to break into your machine, they can simply play dumb and just stop attacking your machine since they now know you are on to them. You are better off also talking to the CEO or the billing contact, since this would involve two seperate people and the odds are that two people wouldnt be working togethere because of legal issues. Remember, a crime is better to commit when less people are involved since telling or approaching someone else about criminal activities puts the initial person at risk of being ratted out.

    6. Re:Don't overreact by 4of12 · · Score: 2, Insightful

      Be careful with implementing auto blcoks on connections since systems like that can sometimes be abused to cause a denial of service.

      --
      "Provided by the management for your protection."
    7. Re:Don't overreact by Xtifr · · Score: 1

      You can save a lot of log file space (and a modest amount of bandwidth) if you do as the first poster suggested, and block access except from specific IPs or IP blocks. At least unless you need to provide access from anywhere. And surely no more than one machine on your network needs to do that. (The others can all just accept access from that one machine.)

      Jul 26 13:12:49 starless sshd[7168]: refused connect from host150-93.pool8017.interbusiness.it (80.17.93.150)
      Jul 26 13:38:16 starless sshd[7306]: warning: /etc/hosts.allow, line 14: can't verify hostname: getaddrinfo(m1.lebshama.com, AF_INET) failed
      Jul 26 13:38:16 starless sshd[7306]: refused connect from 202.64.241.54 (202.64.241.54)
      Jul 26 15:04:34 starless sshd[7696]: refused connect from jporr.plus.com (84.92.133.188)
      Jul 26 15:19:42 starless sshd[7765]: refused connect from jporr.plus.com (84.92.133.188)
      Jul 26 15:43:27 starless sshd[7896]: refused connect from adsl-64-108-8-141.dsl.chcgil.ameritech.net (64.108.8.141)

      That's my complete access log since cron ran this morning. If they get a login prompt, they can keep trying and trying, but if all they get is "connection refused", they rarely try more than twice.

    8. Re:Don't overreact by SeeTheLight · · Score: 1

      Is there any way to have an ssh server slow down its responses on each successive login failure from an IP, so that the first failure might pause 2 seconds before even processing incoming data, 2nd would pause 4 seconds, 3rd would pause 8 seconds, etc (up to a limit) ?

    9. Re:Don't overreact by 4of12 · · Score: 1

      For OpenSSH, the ssh2d_config(5) man page:

      AuthInteractiveFailureTimeout

      Specifies the delay, in seconds, that the server delays after a failed attempt to log in using keyboard-interactive and password authentication. The default is 2.

      A decelerating response might be customized using plug-ins if AuthKbdInt.Plugin were configured.

      --
      "Provided by the management for your protection."
    10. Re:Don't overreact by Anonymous Coward · · Score: 0

      You might want to add a MaxStartups line to your sshd_config. See man sshd_config(5) for details.

  7. It doesn't have to be the exchange server by maddskillz · · Score: 3, Insightful

    There is a good chance the whole business uses the one IP for everything, so it could be anyone at that business (or anyone accessing an unsecured wireless network they have setup, etc) that is attacking your network

  8. Personally... by Anonymous Coward · · Score: 5, Funny

    I always celebrate. Oh wait, you mean as the victim? Hrm..

  9. Diplomacy by Penguin+Programmer · · Score: 2, Informative

    My guess is that it's that script trying to bruteforce random SSH servers, as mentioned on /. a couple weeks ago. My server here at work has been hit too, although the attacking machines were in Europe and Korea in my case. I emailed the owners of the IP blocks the attacks came from and have left it in their courts. My system is secure (I'm the only one who can login via SSH and I have a damn good password), so there was no harm done.

    I think before you jump to any conclusions about it being malicious on the part of the other company, you should call the tech there and let him/her know what's happening. If it is indeed a script then there's no harm done and the other tech can take care of fixing their system. If it was actually a malicious attack, then you can try and figure out who is responsible.

  10. Set a trap by Anonymous Coward · · Score: 0

    With your boss' permission, of course. Set up an isolated area on the server that looks real, with real file names like TopSecret, and when the system next detects somebody from that other machine attempting to get in, let them. Then just make sure everything they are allowed to reach is chock-full of viruses.

    1. Re:Set a trap by Anonymous Coward · · Score: 2, Interesting

      those scripts that try to brute-force ssh don't even look at your files. they rm -rf to make more space, and then run an IRC server to trade porn with, and also start trying to break into more machines.

  11. God. An "IWF" admin. by Anonymous Coward · · Score: 0

    Oh, and IWF means 'Idiot with firewall'.

    What you should do is quite simple. You should call the other company, ask to speak with their techie/IT-department, and explain to them that their server has been used to launch an attack against you - and that their server is probably compromised.

    You should also send them your logs. If they're clueless - well, try and help them out.

    Yes, there _might_ be a bad guy at that company. The chances are pretty damn good that it's just another compromised host on the Internet.

    This was an idiot question from the poster. The answer is pretty damn obvious to anyone that has run a firewall or server for more than a week or so.

    If you send an 'abuse'-email you should formulate it along the lines of "Greetings. One of your customers seems to have a compromised host. Here are my logfiles. Please contact the customer and take appropriate actions".

  12. Call/email them by redelm · · Score: 1

    I think you should call them and email them the relevant portions of your logs. It might be not even them due to spoofing, but most likely, it is unauthorized use of their machine. They need to know about a wayward employee.

    1. Re:Call/email them by Aeiri · · Score: 4, Informative

      It might be not even them due to spoofing, but most likely, it is unauthorized use of their machine.

      How would you go about brute forcing a server using IP spoofing? With IP spoofing, you don't get the packets to return to you, they get returned to the server, then dropped. No complete TCP connection can be made.

      Therefore, SSH would never get the packet to begin with, and even if it did, and got your full packet, it wouldn't send the "success" or "failure" to you.

      That computer is obviously either compromised (most likely), or being used by authorized personnel to launch this attack (very unlikely).

    2. Re:Call/email them by danielrose · · Score: 1

      I don't know much about this type of caper, but would it be possible to poison the ARP cache on a LAN (not over the internet), so that you can retrieve the packets intended for the spoofed host?

      --
      i hate pansy republicans
    3. Re:Call/email them by Aeiri · · Score: 1

      No, you would have to have access to the IP you are spoofing to, and if you have access to the computer that owns that IP, then you might as well just launch it from there.

      Poisoning the local ARP cache isn't going to do anything, you would need to convince the other computer that X.X.X.X belongs to you, and that would mean hacking into ISPs.

      So it's easier to just compromise a random computer and use it as your proxy :)

  13. Friendly, but seriously by Oz0ne · · Score: 1

    1) Document Everything
    2) Alert the owners/management of the company. Impress upon them how serious this is, and how it won't be tolerated. Most likely it's just one employee with a wild hair up his... and not a representation of their company's intent.
    3) Give them a time frame to address it/correct their problem
    4) If it happens again let them know you're considering legal action.

    There's no excuse for this behavior. Would you tolerate someone skulking around your building looking for open doors and windows?

  14. Big Friendly Letters by SDMX · · Score: 3, Funny

    DON'T PANIC.

    1. Re:Big Friendly Letters by drxenos · · Score: 1

      Hmmm, well it does seem "mostly harmless."

      --


      Anonymous Cowards suck.
  15. Depends by linuxwrangler · · Score: 4, Insightful

    Frankly I'm a lot more afraid of a successful breakin that I don't discover than heaps of unsuccessful attempts that I do.

    Essentially everyone who attempts to hit my ftp server with anonymous is trying to break in - the address is only known to a few people who have accounts and I can see from the logs that the other attempts are just scripted tries.

    Similarly, I'm see several attempts every day to log into my machines via ssh (where an attempt may involve from a dozen to hundreds of tries to log in). Don't even get started on what I see in the http or smtp logs.

    I work at a small company, too, and I could pull everyone off their jobs and still not have enough manpower to investigate each attempted breakin, locate and contact the appropriate parties, etc.

    As mentioned elsewhere, most of these machines are compromised so you are really spending your time to provide unpaid antivirus support for the other party's machine. You have to pick your battles.

    Depending on my workload and the probability of a positive result I'll contact someone as a courtesy. Generally my criteria is that I am able to make telephone contact with a person responsible for the machine relatively quickly.

    --

    ~~~~~~~
    "You are not remembered for doing what is expected of you." - Atul Chitnis
    1. Re:Depends by Johnno74 · · Score: 2, Interesting

      A while ago I was setting up a win2k server on my connection at home with an external ip address (yes I patched it before I went online :D).

      One of the last things I did was disable FTP, and then on some whim I checked the ftp logs...

      Someone (no doubt a bot) had connected to my ftp server with anonymous, created a directory, changed into the directory to make sure it really existed, then deleted the directory and logged out.

      No doubt my IP address was now on some list of open ftp servers.

      I was very tempted to leave FTP going for a while and see what turned up there, but then I realised I probably wouldn't like what I found so I left it disabled

    2. Re:Depends by Anonymous Coward · · Score: 0

      everyone who attempts to hit my ftp server with anonymous is trying to break in

      Are you really that stupid?

      Unless given a username, all web browsers log in as anyonymous before asking for username/password - so those attempts aren't "break-in" attempts. If someone puts ftp://yoursite/hahah in a link on a webboard, and people click on it to see what it is, then *NOBODY* is trying to break in, you're just being an asshat.

      Get a grip - you're not nearly as important as you think you are.

    3. Re:Depends by linuxwrangler · · Score: 1

      Oh, I see. Quote the middle of the sentance out of context with the rest of the sentance and the rest of the post.

      I did not say that logging into any ftp server as anonymous proves that you are intentionally attemping to break in. I said that basically anyone trying to log into mine can be placed into that category. Note the explanation in the rest of the sentance: "...I can see from the logs that the other attempts are just scripted tries." (Those three dots are called "ellipses" and they indicate that information has been omitted. Try using them sometime.)

      If someone were to accidentally happen upon this ftp server they would be rejected at which point they might retry a time or two or would look to see that they are at the wrong site and leave. When I see large batches of hits occurring too fast for humans to be making the attempts and coming from address blocks with reputations for break-in attempts then I suspect a breakin attempt. When I can correlate that activity with attempts to other machines I administer or other services on the same machine then I can be reasonably certain that I'm not looking at someone who is lost on the information superhighway.

      If I hear someone pushing on, pulling on and shaking the handles on the doors of my house and then starting on the windows I'm more likely to call the cops and load the gun than assume that it's just some lost soul who thinks they're at the 7-11.

      It's pretty clear that both "Anonymous" and "Coward" fit you quite well.

      --

      ~~~~~~~
      "You are not remembered for doing what is expected of you." - Atul Chitnis
  16. break in? by justforaday · · Score: 1

    The advice that everyone else is giving is better than what I could give. But the important thing to note is that there wasn't actually a break in at all, so no crime has been committed. This is akin to someone coming around and giving your doorknob a good jiggling. Not exactly pleasant, but thankfully they didn't get in...

    --
    I'll turn into a supernova and burn up everything. Well I'll turn into a black little hole and you'll turn into string.
    1. Re:break in? by gnarlin · · Score: 1

      But guvner, I only TRIED to kill'im! It doesn't count!

      --
      A bad analogy is like a leaky screwdriver.
    2. Re:break in? by DrSkwid · · Score: 1

      It is a good job that you recognise that your advice is worthless.

      Although this is UK law, I'm sure the US has similar legislation, though I don't know what the US laws are called.

      Merely writing the script without even running it is enough to break these laws :

      An Act to make provision for securing computer material against unauthorised access or modification; and for connected purposes.
      [29th June 1990]
      BE IT ENACTED by the Queen's most Excellent Majesty, by and with the advice and consent of the Lords Spiritual and Temporal, and Commons, in this present Parliament assembled, and by the authority of the same, as follows:-

      Computer misuse offences

      Unauthorised access to computer material.

      1.-
      (1) A person is guilty of an offence if-

      1. he causes a computer to perform any function with intent to secure access to any program or data held in any computer;
      2. the access he intends to secure is unauthorised; and
      3. he knows at the time when he causes the computer to perform the function that that is the case.

      (2) The intent a person has to have to commit an offence under this section need not be directed at-

      1. any particular program or data;
      2. a program or data of any particular kind; or
      3. a program or data held in any particular computer.

      (3) A person guilty of an offence under this section shall be liable on summary conviction to imprisonment for a term not exceeding six months or to a fine not exceeding level 5 on the standard scale or to both.

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
  17. Re:50 whacks to the head with a baseball bat by Anonymous Coward · · Score: 0

    We recognized you as an idiot from the first comment. The second was simply superfluous.

  18. Slashdot'em by lurch_ss · · Score: 1

    Submit an interesting sounding post to slashdot with a link to their web site and watch their servers melt.

    Of course, this assumes people try to RTFA.

  19. Notify, document and block if necessary by zymurgy_cat · · Score: 1

    I get this a bit on a server I run. I usually just forward a copy of the info from my logs to whatever technical contact I can find with a friendly note saying that someone from one of their addresses was trying something. That way, I have a nice record that I notified them.

    If it keeps happening, I then usually block that address or range of addresses with my firewall. (I can do this since only a small number of users access the server, and I'll hear about it if they're having trouble accessing things.)

    Keep in mind that you may never get a response... I'd say about only 10% of companies I notify even acknowledge my email.

    If it was just some SSH login attempt, I'd send a friendly email and then ignore it unless it happens frequently. If it does, step up your notifications, e.g. email, then a phone call, then a formal letter on letterhead, then a letter from your lawyer, etc. That way, you've got a paper trail should things get nasty.

    --
    -- Fugacity: Confusing chemists since 1908
  20. Not that unusual? by Curmudgeonlyoldbloke · · Score: 1

    Doesn't everyone who leaves ssh open and unrestricted by IP for any length of time see people trying to brute-force it with password lists?

    That said, there's no guarantee that it really is a malicious act on behalf of that other business - could be someone came through them to get to you "for a laugh", or the office junior or someone's 12-year-old messing about.

    Oh - and document everything, and make sure that if asked how you knew exactly when something happened (such as when something happened) you have an answer (e.g. an ntp log or something).

  21. No mercy. Destroy the interloper. by sudog · · Score: 0

    He has trespassed and therefore must pay: track down the real source of the attack, sick law enforcement on him, shut off his power and water, destroy his hard drive with a hard head crash, and show him that hacking your system doesn't pay.

  22. Let the readers decide by kmahan · · Score: 2, Funny

    You could always just post the IP on Slashdot.

    Some might consider that overkill though.

    --
    Invalid Checksum. Retrying.
    1. Re:Let the readers decide by drxenos · · Score: 1

      Shouldn't we do some sort of poll first?

      --


      Anonymous Cowards suck.
    2. Re:Let the readers decide by Anonymous Coward · · Score: 0

      Okay. It's 127.0.0.1
      Posting anon for obvious reasons.

  23. It's called NAT by b00m3rang · · Score: 3, Insightful

    Just because their NAT router has a port forwarded to an Exchange server doesn't mean that the Exchange server was necessarily the machine where the attack originated. It could have been that machine, or any other machine on the network.

  24. From a grizzled old security dude.. by Anonymous Coward · · Score: 2, Informative

    "You must be new here" is what comes to mind.. I get hundreds of these per HOUR on most of my boxes. It could be anything: a curious worker, a hacker, a virus, a script gone bad.

    First thing, check your important file checksums, run tripwire, or whatever. If you don't have a tripwire-like system set up, or a backup set you can compare against, you've got another problem, but let's assume somehow, you are sure your files were not compromised.

    Once you're sure no damage was done, relax, the system did what it's supposed to and rejected the traffic. Do a quick audit to make sure everything is up to date, you're not running any insecure junk, no version numbers are revealed, IDS signatures are up do date, and so on.

    It's likely just a virus or a hacked box.

    My algorithm for dealing with this is:

    if self.friend_of? other_business.admin
    self.contact other_business.admin
    else
    document anomoly
    possibly_firewall other_business.ips
    get_back_to_work!
    end

    In other words, it's NOT YOUR PROBLEM if the other guy is hacked. In fact YOU could be blamed for it (yes, this shit happens, people are idiots). DO NOT portscan or telnet or attempt to learn anything about the other box (which you already did, oops).

    Be sure to DOCUMENT everything. If you visit their web site, document it. If you call them, document who you talked to. Just document everything, even if you just file it away.

    Whether or not you contact management is up to your business culture, position, etc. In my opinion, it's your job to deal with this stuff and if you "escalate" every little port scan, you're just making a lot of useless noise. However if the other business is a competitor of yours, or there's some business impact here, or they've been doing it for months, you should tell your management.

    1. Re:From a grizzled old security dude.. by Anonymous Coward · · Score: 0

      is get_back_to_work! the same as !get_back_to_work ???

      if it is, then you must work in my office.

  25. Follow Up Info from Original Poster by Jety · · Score: 1

    The attempt was to brute force VNC server running on a Windows 2000 server box. Because the attempt came from withing the same city, and because there aren't too many VNC worms out there (though there are some) I made the assumption that there was probably an actual person behind it. Also, I used a reverse DNS lookup to see where the IP address resolved, so I don't think it was NAT'd through a firewall.

    --
    --Scavenger-- http://www.playdecay.com Online gaming the old fashioned way.
    1. Re:Follow Up Info from Original Poster by cide1 · · Score: 1

      The reverse DNS lookup doesn't tell you whether or not is was through a firewall. Many names could resolve to the same address. Say I have mail.cide1.com and ntp.cide1.com, and both point to 3.57.0.2, and you do a lookup, both will return 3.57.0.2, which is in reality my firewall. My firewall is smart enough to route packets on the mail port to my mailserver, sitting well protected behind the firewall, with only the required ports forwarded to/ from it, while packets received on the ntp port are forwarded to a differant machine, which has only the ntp port open to the rest of the world. You just don't know whether you hit the real machine, or my firewall. Without knowing the company in question, their size, and their expertise, it is hard to make a judgement call. Either way, I would be almost certain it is a hijacked machine, and their admin would be glad to know about it. (After you have documented everything, and discussed this with whoever makes the decisions.)

      --
      -- the computer doesn't want any beer, no matter how much you think it does. NEVER, EVER feed your computer beer.
  26. Autobanned? by phorm · · Score: 2, Insightful

    a) They'd have to know the IP's of the allowed machines
    b) The ban would only last 3 minutes.
    c) A 3 minute blockout is much better than an owned server :-)

  27. Failed logins, multiple SSH? by Anonymous Coward · · Score: 0

    A few things which I could see wrong with the above:
    a) If you login multiple times to your SSH server (say, 3 SSH sessions and one SCP) it will block you

    b) As with above, it seems to apply to all SSH sessions, not just failed ones...

    1. Re:Failed logins, multiple SSH? by prefect42 · · Score: 1

      You're quite right. It's probably easier just handling this with pam, as then the person at the other end doesn't know that they've been blocked, so will waste effort against an unbeatable login prompt.

      --

      jh

  28. How Should One Respond to a Network Break In? by polyp2000 · · Score: 1

    Fix it quickly - patch the hole. dont tell anyone, and hope to god your boss doesnt find out! ;)

    --
    Electronic Music Made Using Linux http://soundcloud.com/polyp
  29. survey by SkunkPussy · · Score: 1

    For the love of god and language there is no such word as surveil. Try SURVEY.

    Thank you and good night.

    --
    SURELY NOT!!!!!
  30. i get thousands of SSH login attempts per month by Anonymous Coward · · Score: 0

    I created a script to dig through my logs and nmap every host that has been brute forcing my system. A few months ago, an attempt always meant a box with subseven, kuang, etc... and almost always had ms-rpc ports, proxy servers, or morpheus ports (as far as nmap knew). I feel like I get hit by every sub-sevened box on planet earth sometimes ... mostly Asian sites and what appears to be French public terminals.

    I didn't worry when it just looked like some idiot that got bott-ed. But as of last night I started finding boxes that only have ssh and ssl ports running...those boxes seem like they might be due to intentional misuse by the owners.

    Lock down your ssh server to only accept a public key from the systems you login from (laptop, etc) and disable passwords altogether if you are worried about users with bad passwords.

  31. is too! by Xtifr · · Score: 1
    From WordNet (r) 2.0 [wn]:
    surveil
    v : keep under surveillance; "The police had been following him
    for weeks but they could not prove his involvement in the
    bombing" [syn: {follow}, {survey}]
    It is a backformation, but it's in my 1980 Websters too, so it's been around for a while. If you wanted to argue that there shouldn't be such a word, I might be more sympathetic. It is rather ugly. But it is, I think, a word by any reasonable person's definition.

    cheers
  32. Both Sides Now by DynaSoar · · Score: 1

    Having that IP isn't good enough. It doesn't prove it was valid, or if valid, originated at that other company.

    You need the logs from the other company. those will prove if it came from through there, or from there.

    Trying to handle that yourself with your counterpart in the other company could leave you open to several charges if you tried to go it along or with their admin's help. You'll need positive containment of evidence and chain of security.

    If too much time has passed, alert the authorities and keep them on alerat in case it happens again.

    A honeypot might be helpful.

    --
    "I may be synthetic, but I'm not stupid." -- Bishop 341-B
    1. Re:Both Sides Now by Anonymous Coward · · Score: 0

      Utter bullshit.

      "IP isn't good enough. It doesn't prove it was valid"
      They might be lying about their IP address, in which case they won't get any response packets.

      "the logs from the other company"
      When did compromised machines start keeping trustworthy logs?

      "could leave you open to several charges"
      Reckless security of your own property?

      "alert the authorities and keep them on alerat"
      Especially the Dept of Education, Spelling Division.

      "A honeypot might be helpful."
      In case you wish to make toast.

  33. Back to basics: by obeythefist · · Score: 1

    This should never have happened, it should not be possible. All servers should be protected by firewall from the internet, thus preventing nasty external attacks. At the very least, in case it's a web server/email server/ftp server as well as a file server, you should only allow those ports through the firewall.

    Or, alternatively, place those functions onto a different server. Internet functions like WWW, FTP and so on are generally better served from a linux server, and those servers tend to have lower hardware requirements, so cost should not be an issue.

    There is no excuse for shoddy security when it is such a basic thing to correctly install a firewall to protect your environment.

    --
    I am government man, come from the government. The government has sent me. -- G.I.R.
  34. Block their IP address by jbplou · · Score: 1

    Block the the IP address attempting the hijack at your gateway, in fact block all IP ranges that don't need access. Limit your network in everyway possible to just what you want coming in.

  35. I've been through this. by Anonymous Coward · · Score: 0

    I once had someone uninvitedly hanging out in the Gentoo server at work.

    They were logged in with (password) SSH, as a legitimate user, merrily scanning random subnets for more victims.

    I am kept busy with so many other things, mostly outside of the shop, that I only get a chance to peer at logs after I am informed of a problem.

    And so I never got a chance, that week, to look at logs. And nobody bothered to email any of the usual addresses (root, abuse, whatever) during that time. Besides, I often only get to check my own email once or twice daily anyway.

    Eventually, some clever and perturbed individual called on the phone to raise hell, because he was sick of our box poking at his.

    And, finally aware of the problem, I was able to solve it. Turns out it was just an incredibly weak password, assigned by a cow-orker Way Back When, on a box Far, Far Away, that was kept around for legacy reasons. In discovering this, I found half a dozen other accounts with the SAME FUCKING PASSWORD, and changed all of those, too.

    Learned: Let the responsible people know when particularly strange attempts occur, and the sooner the better. Had I been aware of the problem days earlier, I would have eliminated it days earlier, and the world would've been [slightly] better off. Email them, call them, get their attention. Like I said: If I'd known earlier that there was a problem, I'd have fixed it sooner.

    Also learned: Crack the shit out of your password database on a regular basis, even if you know that there hasn't been a single change. If anything weak is found, fix it by using something more secure and notify the affected parties. (I wasn't doing this, but you bet I am now.) It doesn't matter how up-to-date you are on security notices and patches, if you've got even a single bad password somewhere.

    1. Re:I've been through this. by Intron · · Score: 1

      Two things to add:

      Don't allow accounts with names like "sam" - make it "sam_sosa" or at least "ssosa" so that dictionary attacks won't find it easily.

      Don't allow remote root login. Require user login, then su.

      --
      Intron: the portion of DNA which expresses nothing useful.
  36. router by rednuhter · · Score: 1

    if you have 0wn3d ANY of the routers between the target and the host then you can sniff/redirect any traffic you wish, including the return packets from the target to the host, sort of man in the middle (but technically thats different).

    --
    ERR 411[Max number of witty sigs reached]
  37. Don't bother doing anything by Anonymous Coward · · Score: 0

    It sounds completely irrelevant. They tried guessing some passwords a few times, they failed .. the problem is just not there.

  38. ok then by SkunkPussy · · Score: 1

    I accept your argument with the reservation "It remains to be seen whether it too will eventually come to be regarded as useful and unexceptionable." :-)

    --
    SURELY NOT!!!!!
  39. Breakins by g0bshiTe · · Score: 1

    This is no serious threat. You had 50 attempts from one address big whoop. What is the timeline on the logfile? Look scriptish? I get these on my home network constantly, of course malicious laugh ensues, ah the noobishness. A locked down box is a happy place. If your network is deployed correctly, and the logs show no evidence of breakin, merely attempts, I would simply keep an eye on the logs. No action should be taken to notify anyone, if it is the rival company then let them try. Worse comes to worse you have logs of many many many failed login attempts. Management finds out, you simply say they were just that login attempts, no actual access gained, and that you didn't feel it was a severe enough threat to merit telling them. You are paid to handle it and handle it you did. With logs you can even show a timestamp of where it is an automated script if it is what is trying.

    --
    I am Bennett Haselton! I am Bennett Haselton!
  40. What A Manager Would Expect by reallocate · · Score: 2, Insightful

    My perspective is that of someone, in a past life, who hired network techs.

    If this happened in my organization, I would expect three things from my network people:

    1) Follow and stay within established policy; I would expect you to do what is needed to protect the security of the network short of attacking the presumed culprit. If it came to that, bring the network down. Attacking the apparent culprit puts my business at legal risk and you do not get to make that call.

    2) Notify me (management) as soon as possible. Give me all the facts and answer my questions. Lay out my technical options objectively. Explain to me why our network was vulnerable and how we can remedy that. Don't try to spin me so I under or over react. It is my network and you work for me; I won't take kindly to attempts to manipulate me.

    3) Then, follow my instructions.

    --
    -- Slashdot: When Public Access TV Says "No"
    1. Re:What A Manager Would Expect by iminplaya · · Score: 1

      Those are very good points if you can be trusted(I'll assume here that you, personally could be) not to turn it around and accuse the person reporting the problem of causing it, as has happened in other cases. My point is that we don't know who to trust. To protect myself from such action, I might leave an anonymous note. From what I see in the news and in articles posted right here, honesty can get you into real trouble. You'll get the report, but you won't know from who. If I saw that the problem is not being attended to, I might go to the authorities, also anonymously. There are plenty of corrupt managers out there who are trying to simply cover their asses, and I won't let myself be victimized by those types. Many of the breakins are inside jobs, and the guy with the least clout is the one most likely to get railroaded. If you want real honesty from your people, you would need to provide a written guaratee that wouldn't happen. Kind of a 5th ammendment thing that what you say can't be used against you. Otherwise I live by the adage of "don't trust anybody".

      --
      What?
    2. Re:What A Manager Would Expect by reallocate · · Score: 1

      Who you trust is up to you. You trust who you decide to trust. Stating that you don't know who to trust is an admission that you lack confidence in your own ability to assess character.

      In any case, i don't think this is a matter of trust. As an employee, you'd have an obligation to tell me you'd discovered an attack on our network. (An anonymous note would not provide any anonoymity. As soon as I read it, I'd walk over and ask my network techs what they knew about it. If they all claimed ignorance, then we'd move on to that problem.)

      If you're in an environment where you don't trust your bosses or your colleagues then, obviously, you might want to consider working elsewhere or, even, a different line of work. It isn't worth it. As someone who lived and worked in both worlds, I can tell you, first, that there are as many crooked techs as crooked managers; that a lot of techs are naive and inexperienced about people, most likely because they're still young and because their profession encourages them to believe there is always one correct way to get things done, a precept that does not apply to human relations; and, three, that I'd no more believe many posts here than I would claims made at a bar at 2:00 a.m.

      --
      -- Slashdot: When Public Access TV Says "No"
    3. Re:What A Manager Would Expect by iminplaya · · Score: 1

      I never claimed an ability to assess character, but in a world where you have to answer to every joe blow that makes a claim against you, no matter frivolous, then I will not put myself at any risk. And yes, I do successfully avoid such enviroments. Once I was accused of damaging a machine by someone who had no idea how the old Windows for workgroups mail system operates. I slapped him down hard when I found out on what he based the accusation. Never again.

      As an employee, you'd have an obligation to tell me you'd discovered an attack on our network.

      Not if I suspect hanky-panky on the inside, I don't. Believe me, I WILL cover MY ass! No matter what. If that means going straight to the authorities or the media, then so be it. If I have to go over somebody's head to protect myself, then that is exactly what I will do. No question. If you expect me to report to you, you had better give me some iron-clad protection against false or frivolous accusations.

      You trust who you decide to trust.

      Couldn't agree more. That's pretty much my point. The decision is mine, and I will act accordingly.

      --
      What?
    4. Re:What A Manager Would Expect by reallocate · · Score: 1

      No one's arguing that the decison to trust someone belongs to you. But, that's just reality. Defendng realilty is rather pointless.

      In any case, you seem to have a view of the world that I'd characterize as akin to paranoia. Since you carry your own misery with you, I doubt a new job would change anything.

      --
      -- Slashdot: When Public Access TV Says "No"
    5. Re:What A Manager Would Expect by iminplaya · · Score: 1

      ...akin to paranoia.

      A bit "protectionist" maybe. But, you call it what you like. Me? Man, I'm in paradise...literally and figuratively :-) We all get along just fine and dandy. You can have your reality. We're fine with ours. My only problem right now is a dead wireless router. Eh, waddaya gonna do? A few days work, and I'll have a new one. I'll raise my next beer to ya, though. Salud! Kam bai! Prost!
      Or as it goes at our table:
      Para 'riba
      Para 'bajo
      Para centro
      Para dentro

      ...Since you carry your own misery with you...

      Nope. I left that up north in winter wasteland.

      ...I doubt a new job would change anything.

      Irrelevent. I create my own work. There are few things sadder and more dehumanizing than watching willing slaves filling out all that paper work and begging for a job. Word of mouth is putting plenty of food my table. No hoops to jump through. No piss test. Just beautiful weather and really tall swedish girls. But, yeah, you're right. A new job wouldn't change anything.

      ...But, that's just reality. Defendng realilty is rather pointless.

      Uuh, okay.

      --
      What?