Slashdot Mirror


How Do I Determine If My PC is a Zombie?

Captain Chad wonders: "With the recent news of a 1.5-million node botnet, as well as the AIM rootkit worm, I'm getting a bit concerned about whether my PC may be a zombie. I'm seeing a lot of internet activity, even when nothing is running, and I've checked the process explorer for obvious tasks to no avail. I apply patches as soon as they're released, and my antivirus/spyware programs report nothing. How do I determine if my PC is a zombie, and if it is, how would I de-infect it?" On this same vein, college campuses are often prime breeding grounds for undead-boxen. bcrowell adds: "I'm a teacher at a community college where Windows is the only supported OS -- if you ask the school to put machine on your desk, you get a Windows box. Faculty who want to run MacOS or Linux have had to provide their own machines, and those who want to do PowerPoint presentations for their classes have been told that they have to buy their own laptops and bring them in.

Now Academic Computing has announced a new policy: any unauthorized use of the network, such as plugging in your own computer to a port, is prohibited, and will result in disciplinary action. There are supposedly plans to enforce this rule automatically with hardware and software. Great consternation has ensued in the faculty senate, and the manager who wrote the policy has explained that it is basically aimed at the problem of improperly maintained teachers' machines getting '0wned'. A little ironic, because the Windows boxes maintained by the computing folks keep getting infected by worms. Still, it's not an unreasonable concern; many teachers are clueless. In fact, I wouldn't pretend to know enough to keep a Windows machine secure on a public network, although I haven't had any problem with the FreeBSD box on my desk. Any suggestions on how to deal with this? Effective arguments to use? Good educational resources to point people to so they can learn how to keep their Windows boxes secure? Many of my colleagues seem to think that security mainly involves buying antivirus software."

90 comments

  1. Simple by mike_lynn · · Score: 5, Funny

    Place a bowl full of brains in front of it and see if you get a response.

    Happy Halloween >:D

    1. Re:Simple by satterth · · Score: 1

      Brains... Brains... Brains...

      --
      Being called a dork on Slashdot must be like being called the retard in special ed.
    2. Re:Simple by Thing+1 · · Score: 2, Funny

      Even simpler: did you install Sony's latest DRM?

      --
      I feel fantastic, and I'm still alive.
    3. Re:Simple by Sepper · · Score: 3, Informative

      Ironicly, you just provided the right and easy answer... the guys from Sysinternals, the ones who did the Sony Drm analisys have a RootkitRevealer that may give a partial answer (it's the screenshot in the Sony article): http://www.sysinternals.com/Utilities/RootkitRevea ler.html

      --
      I live in Soviet Canuckistan you insensitive clod!
    4. Re:Simple by Anonymous Coward · · Score: 0

      Sysinternals, the ones who did the Sony Drm analisys have a RootkitReveale

      What?

    5. Re:Simple by Anonymous Coward · · Score: 0

      fuck you

  2. Just to be safe by Anonymous Coward · · Score: 0, Funny

    Destroy it. It's the only way to be sure.

    1. Re:Just to be safe by Bin_jammin · · Score: 1

      Get an axe.

  3. umm... by Anonymous Coward · · Score: 2, Funny

    you are on the safe side unless the spam you get comes from your own IP.

    1. Re:umm... by CaptMonkeyDLuffy · · Score: 1

      Sounds like the closing line of a cheesy ghost story, "Get out of the house... the spam came from inside!"

  4. What kind of internet Activity? by satterth · · Score: 3, Interesting

    Really... What kind of internet activity are you seeing? Are the lights blinking and you have no idea what is actually happening or are processes on your box accessing IRC servers accross the world without your knowledge?

    --
    Being called a dork on Slashdot must be like being called the retard in special ed.
  5. Sysinternals, Unix attitude applied to Windows by reverse+solidus · · Score: 5, Informative
    1. Re:Sysinternals, Unix attitude applied to Windows by lilmouse · · Score: 0, Offtopic

      What's up with the space after "vea" and before "ler.html"? Do you not want people able to copy the link when they're using lynx?

      Pretty low, if you ask me. Should we mod you troll?

      --LWM

    2. Re:Sysinternals, Unix attitude applied to Windows by at_18 · · Score: 1

      Slashdot automatically inserts a space into long URLs.

    3. Re:Sysinternals, Unix attitude applied to Windows by JCMay · · Score: 1

      You must be new around here :). Slashcode is notorious for killing links like that. I think it's part of the Lameness Filter that taco put in.

  6. Use ethereal to check out your network traffic by neillewis · · Score: 4, Insightful

    Hook up another box on a hub and check the network traffic. Obvious signs are connections to addresses that can be traced to irc servers or use of irc ports. The first time I found a bot nest, it scared me like Doom 3 never could. If this means nothing to you, get some expert interactive help.

    1. Re:Use ethereal to check out your network traffic by Quince+alPillan · · Score: 2, Informative

      That isn't to say that all traffic is bad traffic. Most of the time that traffic you're seeing isn't YOUR traffic. Its the traffic of all the other computers on the network talking with yours. This isn't a bad thing. Its typical of a large network. You'll have lots of computers talking to each other to let each other know when something changes. For instance, a new computer comes online and has to get an ip address. Usually it doesn't know where to get an ip address, so it sends out a broadcast to all computers on the network (yours too). Your computer sees these, but ignores them because you're not the computer giving out ip addresses. Sometimes its more along the lines of "Hello, my name is JoeUsersPC."

      If you're alone on your network, (ie behind a router/firewall) then you shouldn't see much traffic other than your computer chatting with the router/firewall. Your router/firewall should block out most of the noise (and that's what most of it is - noise). Contact your cable/dsl company to see if your cable modem or dsl modem has a firewall built in if you're not sure. If, however, you're seeing lots of traffic on typical IRC ports (6997-6999) to typical irc servers (irc.somethinghere.net) and you don't have any programs open, then you're likely a zombie.

      By the way, ethereal is located here. Its probably too advanced for the first article submitter, however. I would suggest looking at netstat at the command prompt first.

  7. Rootkits My Son by Yocto+Yotta · · Score: 5, Informative

    Go here and download Rootkit Revealer. If that doesn't find anything, and you've tried everything you said, you got some smart malicious rootkit-usin' virus that knows how to trick Revealer, or your system is the proto for some new form of evilness.

    --
    A B A C A B B
    1. Re:Rootkits My Son by TFloore · · Score: 2, Informative

      If that doesn't find anything, and you've tried everything you said, you got some smart malicious rootkit-usin' virus that knows how to trick Revealer, or your system is the proto for some new form of evilness.

      Or you forgot that your antivirus software does network activity.

      I had that happen a couple weeks ago, I just happened to be watching my network activity light and it lit up when I wasn't doing anything. This bothered me, as you might expect.

      Took me a couple minnutes of poking around to figure out that my Norton AntiVirus had just done a live update and grabbed a new virus signature file.

      Yes, my AV software did something that made me worry I might have a virus. After I got done feeling embarrassed, I chuckled at that. :)

      Though, back on topic for this Ask Slashdot, what I'd really like is a bootable CD that I can use to check my system, because, as so many here have already commented, you can't trust your installed OS to tell you if it is compromised.

      --
      This is my sig. There are many like it but this one is... Oops. Frank, I've got your sig again! Where's mine?
  8. Finally, my signature is on-topic by QuantumG · · Score: 2, Informative

    Grab a copy of my software and monitor your network usage. If you happen to find blatantly obvious spyware running on your machine, try some of the automatic spyware removal tools available. If you're still infected, the best course of action is a reinstall.

    --
    How we know is more important than what we know.
    1. Re:Finally, my signature is on-topic by richkh · · Score: 1

      Great! Now I can check to see if anything wierd is happening on my Win2K boxes. It does work on Win2K, right?

    2. Re:Finally, my signature is on-topic by QuantumG · · Score: 1

      Actually it does. I just don't support it.

      --
      How we know is more important than what we know.
    3. Re:Finally, my signature is on-topic by Geoffreyerffoeg · · Score: 2, Informative

      Does it do something more than just netstat -a?

      By the way, that's the answer to the original question. netstat -a at a command prompt lists current connections and current listeners. Check the other computers (by googling or whoising them, not by visiting them) to see if they're evil.

    4. Re:Finally, my signature is on-topic by QuantumG · · Score: 2, Interesting

      Yeah, it actually updates the status of connections in realtime. Kinda like nettop, except it keeps closed connections in the list. You can also see incoming connection attempts, even if they fail.

      --
      How we know is more important than what we know.
    5. Re:Finally, my signature is on-topic by BigGerman · · Score: 1

      Would not a rootkit, by definition, override what can be seen via "normal" system calls and netstat will report nothing of interest?

    6. Re:Finally, my signature is on-topic by Yocto+Yotta · · Score: 1

      I was about to point out that the gent mentioned in the summary that he already has tried spy/ad-ware removal programs you promotion whore you, then I noticed that your the fellow I got into a nice discussion with about Jack Thompson. I didn't want to seem like an mildly vindictive ass, so I refrained.

      Oh . . . darn. Well, I like your app. Cheers.

      --
      A B A C A B B
    7. Re:Finally, my signature is on-topic by QuantumG · · Score: 2, Interesting

      Heh, not like you need to do much overriding, the windows apis used by netstat are so pathetic they report connections open that are closed, or never even existed. TcpSafe uses WinPCap to capture live traffic and present it in a user friendly format. Although it is possible for a rootkit to directly attack this technique, they don't as they are intended to defeat userland programs, not installable network drivers.

      --
      How we know is more important than what we know.
    8. Re:Finally, my signature is on-topic by QuantumG · · Score: 1

      I was just trying to make people understand his arguments before they dismiss him as a loon. The media portray him as a drooling madman when in fact his ideas are clearly thought out and logical, they're just based on things most of us disagree with (kids are damaged by violent games, the community has a responsibility to raise other people's kids, etc). Without understand his belief structure you can't understand his arguments. The thread you linked to is a perfect example. People say Thompson is crazy because he claims The Sims is pornography. No, he doesn't, he says EA is immoral because they're making money off pornographic mods to The Sims. You may still not agree with him but arguing about the first claim instead of the second is not very productive.

      Glad you like my software. :)

      --
      How we know is more important than what we know.
    9. Re:Finally, my signature is on-topic by Geoffreyerffoeg · · Score: 1

      A lot of the time, you're not looking for a true rootkit, but just phone-home malware, which assumes that once your identity/credit card/password has been stolen there's not much you can do about it anyway.

    10. Re:Finally, my signature is on-topic by xeoron · · Score: 1

      One step better, is using this command:
      sudo watch -n1 "netstat -nape --inet"


      This will truely update ever second indefinitely and will provide a bit more information.

    11. Re:Finally, my signature is on-topic by keramida · · Score: 1
      One step better, is using this command:
      sudo watch -n1 "netstat -nape --inet"

      Heh! That will be fun to run on anything else but Linux.

      Especially on FreeBSD, which happens to have a watch(1) command but for quite a different purpose :-)

      Good idea though. Something similar can be done on the BSDs and on Solaris with:

      while true; do clear; netstat -aln -f inet; sleep 1; done
      --
      My other computer runs FreeBSD too.
  9. Netstat by BladeMelbourne · · Score: 4, Informative

    If you are using Windows - run netstat at the command line.
    There are also some switches that can show more detailed information, some of them are undocumented I believe. Use Google if you need to find them.

    Using Ethereal is also an option - it can provide a lot more information but is more involved to use and interpret the results.

    1. Re:Netstat by bersl2 · · Score: 1

      If a machine is compromised in the zombie/rootkit way, you cannot trust a single executable on the box.

    2. Re:Netstat by cbr2702 · · Score: 2, Interesting

      If you only have acess to one computer, you could do something like boot knoppix, load the base operating system inside QEMU, then watch what it does.

      --


      This post written under Gentoo-linux with an SCO IP license.
  10. Lazy admins by sedyn · · Score: 2, Interesting

    Semi-off topic:
    If the admins can't even secure their own software, why should they think that those not in "the know" can.

    My advice, get written statements about the reasons for no external computers. If the internal computers continue to get infected after this policy is put in place, anonymously email the people in charge (the admins' bosses) reminding them of the reason for the "fix".

    As for getting infected, I agree with the other posters, and add that it's hard enough to keep a windows PC uninfected when just one careful person is on it. But once you start giving easily-infected PCs to people who aren't careful, the thing becomes a hive of filth.

    --
    Am I open minded towards open source, or closed minded towards closed source?
  11. Only trust the machine externally by MerlynEmrys67 · · Score: 4, Informative
    Internal commands like task manager/netstat won't help at all if you have a decent rootkit - the kernel will just hide your processes from it.

    Start with an external packet sniffer - see what traffic the machine is sending out and on what ports. If you are seeing traffic that you don't understand - get help to determine what it is. You can start with a simple NAT gateway, and simply log the IP addresses/ports that your machine(s) are going too. If you see unidentified remote ports, well - you probably have a problem, if you see port 80 traffic to sites you don't know what they are - you have a problem, etc.

    How to clean up the mess. Well, your first step would be to simply reformat the hard drive. If you can't do that - good luck, remember you will need to start with a clean media boot (as in a CD boot to a Linux/BSD distro) and see what you can find. Remember with a rootkit present, your kernel can and DOES completely lie to you about what is going on internally.

    --
    I have mod points and I am not afraid to use them
    1. Re:Only trust the machine externally by abradsn · · Score: 1

      This is mostly good advice.

      Except for reformatting your hard drive. You might make your original drive a slave drive though, and use a new clean hard drive as the master and reinstall your OS on that. A live cd distro (as suggested) might help in a short term solution too.

    2. Re:Only trust the machine externally by Bistronaut · · Score: 1
      "...first step would be to simply reformat the hard drive. If you can't do that - good luck..."

      Ditto. I feel bad for people who balk at re-formatting their hard drive. They always ask me if there is an easier way. Unfortunately, reformatting is the easy way. Trying to clean out rootkits and nasty spy/adware requires a lot of knowledge, even with the excellent free tools available. (Thanks, sysinternals, lavasoft and safer-networking.org).

    3. Re:Only trust the machine externally by QuantumG · · Score: 1

      Yeah, see, the kind of people who say "just reinstall" are the same kind of people who keep backups. Normal people don't backup their files. Now, if computers came standard with a tape backup and easy software to use it people might actually think about what they need backed up and what they are willing to lose if there's a harddrive crash or they need to reformat.

      --
      How we know is more important than what we know.
    4. Re:Only trust the machine externally by Anonymous Coward · · Score: 1, Insightful

      If it's too automatic and easy to use then they will have a convinient backup of "urgent document.pdf.exe".

  12. Post your IP address by sydb · · Score: 2, Funny

    And Slashdot will tell you.

    --
    Yours Sincerely, Michael.
    1. Re:Post your IP address by BladeMelbourne · · Score: 5, Funny

      127.0.0.1

      Thanks in advance.

    2. Re:Post your IP address by abradsn · · Score: 1

      209.3.171.52 Thanks in advance.

    3. Re:Post your IP address by Halfbaked+Plan · · Score: 1

      192.168.0.1

      Have fun.

      --
      resigned
    4. Re:Post your IP address by atomic-penguin · · Score: 1

      I thought, perhaps you were just incredibly stupid. By the way, dshield, sans, and TrustedSource have no reports of abuse against you.

      However, I get the joke.

      http://gotohell.com Thanks in advance.

      --
      /^([Ss]ame [Bb]at (time, |channel.)){2}$/
    5. Re:Post your IP address by drxenos · · Score: 1

      Hey, that MY IP too! What are the odds!

      --


      Anonymous Cowards suck.
    6. Re:Post your IP address by Anonymous Coward · · Score: 0

      I thought all IP addresses had to be unique?










      Had you for a second, didn't I? :-)

    7. Re:Post your IP address by Anonymous Coward · · Score: 0

      207.46.199.30 Thanks

  13. I let a friend have a key while he was in town.. by Lord+Bitman · · Score: 2, Funny

    I saw various things on the recently downloaded files list when I got home. I asked him about it, he said he tried to download some things, but that he never ran them because he couldnt find out where they downloaded to.
    Now I have paranoia.

    --
    -- 'The' Lord and Master Bitman On High, Master Of All
  14. Yuck! by fm6 · · Score: 1

    "Bowl full of brains"? Yuck! Brains have to be freshly-killed to have any flavor at all. Optimally, the victim should still be thrashing as you scoop them out.

  15. Re:Very easy test: by dhasenan · · Score: 1

    I just see a lot of text, and then I start Enlightenment. Where does that place me?

  16. In everyday terms - by bscott · · Score: 5, Interesting

    I see a lot of people offering some moderatly technical advice, but perhaps a simpler answer to the question is - there's no one easy, foolproof, turnkey way to reliably determine whether your Windows machine is infected.

    There are too many different types of malware around - virii, spyware, rootkits, trojans, and so on - each of which has new twists coming up almost daily. No single development team or company can keep up, and there are too many out there trying for there even to be a dominant player (and if there were, malware would promptly be rewritten to undermine the anti-malware utility in question...).

    You will either need to learn how to use some of the tools others in this thread mention (it's not as hard as it may seem at first - try running them on a system you can be confident is clean, and become familiar with what "safe" traffic looks like, then try yours), or be prepared to pay hefty $ for expert help, or switch to another OS.

    FWIW, I've run un-patched Windows2k for years without trouble, largely because I use a hardware NAT (firewall) and avoid Outlook. Even so, I am careful to avoid clicking on the wrong things online, and I am working towards moving to Linux ASAP.

    --
    Perfectly Normal Industries
    1. Re:In everyday terms - by Geoffreyerffoeg · · Score: 1

      FWIW, I've run un-patched Windows2k for years without trouble, largely because I use a hardware NAT (firewall) and avoid Outlook. Even so, I am careful to avoid clicking on the wrong things online

      That works well, actually. I've run Windows XP Home for a few years without SP2 nor anti-virus nor personal firewall, and it hasn't slowed to a halt nor given any signs of abnormal activity. The trick? Don't download disreputable software, use Firefox (or Mozilla), and stay behind a firewall/NAT. And run Windows Firewall.

      I used to have ZoneAlarm, but I gave up on that because it decided it wanted a dialog box clicked every time I connected via SSH, and the only way I could click it without being there was via unprotected VNC. So I uninstalled it. ZA never caught one real attack attempt from either direction - and not because ZA was poor, but because my setup is strong enough.

      Perhaps there is a rootkit, but I haven't noticed even the slightest signs of its activity (such as spurious disk access or Internet connections - noticed from elsewhere, e.g., Ethereal), and I don't even see how it would've gotten installed. I sent it into the DMZ once or twice perhaps (before I figured out how to use the router properly), and the onslaught of Windows Messenger popups convinced me to disable it before a real worm hit.

      Oh, and I should mention that my ISP blocks a few ports, such as 135-139, 445, etc. (good) and 25 and 80 (annoying). That keeps me slightly safe even when using the DMZ.

    2. Re:In everyday terms - by llefler · · Score: 1

      I had a lot of problem with Zone Alarm flashing my screen whenever I ran a DirectX app. I switched to Kerio and have been reasonably pleased with it. Although it's not quite right on my XP laptop, but then again, the laptop has other problems.... I put it on there simply to see what apps were phoning home. For instance, Toshiba laptops do every time you log in if they are on the net and look for updates. Oddly, in 3 years my laptop never found a Toshiba update.

      --
      It is amazing what you can accomplish if you do not care who gets the credit. -- Harry Truman
  17. Dealing with Stupid, Lazy, or Malicious IT by Noksagt · · Score: 4, Interesting
    There are a number of ways to get around arbitrary rules. Either overtly or covertly.
    if you ask the school to put machine on your desk, you get a Windows box. Faculty who want to run ... Linux have had to provide their own machines
    You can ask for permission to dual-boot. Or, if you already have permission to install your own software, you can do it covertly. I would not advise wiping the Windows partition--you can boot into it when IT starts snooping around & also some might have a problem with you removing licensed software. Failing this, run from a LiveCD/USB key. Or run coLinux or run it under QEMU, VMWare, or similar.
    Great consternation has ensued in the faculty senate
    Cause greater consternation & bring it over IT's heads. Bring it to the President of the school or the trustees. An army of pissed off faculty will beat a lazy IT head any day.
    Any suggestions on how to deal with this?
    In addition to the above, you can probably ask for a special exception & say you are willing to take the blame if your FreeBSD box gets rooted. Once you show minimum competency & need, as well as the willingness to put your ass on the line instead of theirs, IT will probably cave.
    Effective arguments to use?
    The most effective argument is you can't otherwise do your job. Show that you need FreeBSD. Another good argument is obviously to point out the past infections of campus-maintained machines. Tell them you'll firewall your machine from the University network, both to protect you from it & it from you.
    1. Re:Dealing with Stupid, Lazy, or Malicious IT by tchuladdiass · · Score: 2, Informative

      I would like to add another "covert" Linux installation method.
      One thing you can do is put a large hidden file, call it something like "swap.sys" or something of that nature. Boot Linux from an attached device (usb / cdrom), then use losetup to loopback mount that file, and run your normal linux install from there. This will take a bit of advanced knowledge to set up since you'd probably have to install your distro to another drive and copy it over, then set up the initial ram disk image on your boot device to do the right thing (losetup, mount, pivot_root, etc...) You'd have to make sure you have maximum firewalling turned on so that the network admins can't see your install. Also make sure you have a screen saver on when you step away to keep "them" from gaining access to your box when you step away. If they reboot it, then it will come up to the normal Windows install.
      If you are a bit more paranoid, you can shrink your primary partition, and point losetup to your raw drive (/dev/hda), and feed it an offset (-o option) large enough to skip over your primary partition, then use that (/dev/loop0) as your root filesystem. Add encryption for complete undetectability.
      Of course, both of these options are vulnerable to getting whiped out by your IT staff, so good backups are a must.

  18. Re:easy first step by yuri+benjamin · · Score: 1

    Given your sig, how do you know your *nix box isn't rootkitted?

    --
    You make the mistake of thinking you can educate the fundamental stupidity out of people. You can't.
  19. how does one report non-documented rogue programs? by Anonymous Coward · · Score: 0

    You know, two weeks ago I discovered the AIMbot worm on a friends computer. I picked it apart, watched how it worked, etc. Then I tried in vein to warn several of the major anti-virus companies, but they offered either a) no means of emailing them to offer tips and programs b) only paying customers could submit such information. I tried to contact AOL's AIM department, but no contact addresses where findable, so I emailed their abuse line, but not response. I emailed several providers about infected customers and only Comcast responded their email and in a live-chat (apperent;y you do not have to be a customer to use the customer tech support-- just use the account name guest, password anonymous and fake your real name and address and you are in.

    It was frustrating, since I barely was able to inform anyone. There has got to be a better way, but I just could not find it. It was also frustating since I could not offer my friend a means to clean her computer and she had no one to help her directly (too far away for me to manually remove it with magic of Knoppix).

  20. lookup your subnet at dshield by j1m+5n0w · · Score: 4, Informative

    www.shield.org maintains a database of sources of malicious network traffic. Many organizations submit firewall logs to dshield, so they have a pretty good global view of who the bad apples are on the network. For anyone who administers network connected machines, it's a good idea to periodically look up your IP(s) or subnet(s), and see if anyone has generated any complaints about any of your own boxes.

    Caveat: This will probably only identify the most aggregious zombies, and only the ones that are doing things that firewalls can identify as malicious. Just because your IPs don't show up on dshield, doesn't mean they aren't zombies.

    Mynetwatchman is a similar service, there may be others as well.

    1. Re:lookup your subnet at dshield by Zoxed · · Score: 2, Informative

      > www.shield.org maintains a database of sources of malicious network traffic.

      I guess you mean www.dshield.org (with the 'd' added!)

  21. how my college does it by Goeland86 · · Score: 2, Interesting

    here at Lewis & Clark (http://www.lclark.edu/ they use a client for any windows based machine to authenticate. Any other OS is required to authentify using a webpage to which you are redirected automatically when opening any webpage.
    The client ensures you have all mandatory updates installed to connect, otherwise the access is discontinued. Saves lots of trouble, and my friends on OSX and me on gentoo have no problems whatsoever.
    Might want to suggest your IT department to take a look at it... And even contact our IT department, they're pretty open about helping other schools keep their networks clean.
    Hope that tidbit of info helped.

    Oh, before I forget, the client used to be called "SmartEnforcer", and now it's a Cisco client... don't remember the name since I don't use it.

    --
    ---- I am certain of only one thing : I know nothing else.
    1. Re:how my college does it by bluelip · · Score: 1

      It may be some type of 802.1x client. The system is pretty easy to get running w/ Cisco. I haven't had the chance to work w/ other equipment. Many linux distors and XP come w/ native clients. If no client is available, the first time a web page is requested, on a given port, the network device intercepts it and displays the login page.

      Works well if your users are using webapps. Not so good if they're using 3270 emulation or the like.

      --

      Yep, I never spell check.
      More incorrect spellings can be found he
  22. Re:Very easy test: by Anonymous Coward · · Score: 0

    Enable the framebuffer console.

  23. md5, sha1? by Scott+Swezey · · Score: 1

    I know nothing about Kernels, the internal workings of all OS's, etc, however it occured to me that your kernel has to just be a file or collection of files...

    Why couldn't you get the md5 or sha1 hash of that file (or group of files), and then periodicaly recheck the files and compare the two. Of course you would probably have to redo the "initial" hashing after any official update (or does your kernel not change all that often? Like I said I have no idea about most of this).

    That's all i've really thought of thus far, but thank you to the OP, this has been something I have been wondering about for quite a while and it would be cool to see a "complete" guide to detecting and fighting these kind of things.

    --
    Scott Swezey
    1. Re:md5, sha1? by Kalak · · Score: 1

      You mean Tripwire? Or maybe a poor man's tripwire?

      --
      I am, and always will be, an idiot. Karma: Coma (mostly effected by .hack)
    2. Re:md5, sha1? by lilmouse · · Score: 1
      Why couldn't you get the md5 or sha1 hash of that file (or group of files), and then periodicaly recheck the files and compare the two?
      Because you've got a rootkit installed, which hides itself and reports the old kernel files to anything that tries to view them except through the rootkit.

      --LWM
  24. this command by clambake · · Score: 3, Funny

    Type "emerge rkhunter". If that works, chances are, you're ok.

  25. Re:easy first step by hdparm · · Score: 1

    He obviously does not.

  26. Go over their heads by dreamer-of-rules · · Score: 2, Insightful

    The IT group has to answer to the needs of their users, not the other way around. Granted, they are trying to keep out viruses and lawsuits, but they still need to address your needs.

    It sounds like their heads have swelled too much, so talk to their boss, or their bosses boss. Explain that your work is better with this tool, and that it is unreasonable to ban your tool given the known lack of risks. This is not a garage-built closed-source piece-of-shareware; but a globally used, open source, well-inspected and maintained tool. Remember the talking points: ZERO viruses (macs), not running as Administrator, updates are applied regularly and consistently.. (well, there's better Persuader lists out there.)

    I've been in IT for the last 10 years, and we are there specifically to help the users do their job. Sometimes it's to disable all email attachments, and sometimes it's setting up a Windows 98 machine for a critical job.

    You may need to compromise.. a probabation peroid of increased firewall monitoring, maybe a "I'm responsible" contract to cover their butts. Thing is.. if their argument comes down to "Because we said so", then they are enforcing a personal agenda, and have ceased being effective at their primary responsibilities.

    (Falling asleep at this point, so my ramblings will go unedited..) Hope this helps.

    --
    Everyone is entitled to his own opinions, but not his own facts.
  27. Re:I let a friend have a key while he was in town. by Fred_A · · Score: 2, Funny

    Higher brain functions are the first to go with zombies...

    It's tough but you have to remember to shoot for the head.

    --

    May contain traces of nut.
    Made from the freshest electrons.
  28. "Simple" answer... by chrysrobyn · · Score: 1

    I've seen many responses, including webpages which may be helpful, or other programs which may be up to date. Personally, I prefer netstat. It's not "user friendly", but it's always up to date. If you're smart enough to keep your computer updated, you're smart enough to start recognizing stuff and feeding Google what you don't understand.

    netstat -a
    Active Internet connections
    Proto Recv-Q Send-Q Local Address Foreign Address (state)
    tcp4 0 0 192.168.2.156.52756 www.example.com.http ESTABLISHED
    tcp4 0 0 192.168.2.156.52738 mailhost.example.com.imaps ESTABLISHED

    Basically, http traffic is likely web. Hopefully you recognize websites you're visiting. Imap and pop, mail. You get the idea. There may be a few you don't recognize, on ports that netstat can't translate. Feed the host to Google and see what you can find out. If your computer is idle and you can't figure out what's going on, netstat will give you a momentary snapshot. A coworker was afraid his computer was overtaken, I looked at it, pointed to the only host I didn't recognize and he said, "Oh, I forgot about my automated backup!"

  29. I did something MUCH smarter... by DaedalusHKX · · Score: 1

    I reinstalled... LINUX... and openbsd on the heavy router (its an OLD intel gaming machine turned router (450 mhz rig))

    Odd thing is, I also do it for anyone who complains about spyware to me. So far they know... I WILL NOT fix windows issues, but I will "reinstall"... they have to agree that they will ask ME to install software for them unless they get it from the CVS/packagemanager that is defaulted by their distribution... overall I've had little trouble, though they complain that certain things (windows WMI DRM for example when using new porn sites) not working.

    Other than that, nobody bitches except that they have to go through so much trouble to install things that come on windows cds... (and ultimately since they run in wine, the system remains unfux0r3d)... go figure eh?

    ~D

    --
    " What luck for rulers that men do not think" - Adolf Hitler
  30. What community college is that? by Skapare · · Score: 1
    Now Academic Computing has announced a new policy: any unauthorized use of the network, such as plugging in your own computer to a port, is prohibited, and will result in disciplinary action.

    What community college is that? Better yet, what is their IP address range, or their domain name (so I can add them to my email blacklist)? Given their backwards policy on security, I would be safer by refusing anything from there.

    --
    now we need to go OSS in diesel cars
  31. First make sure your office isn't haunted :) by Anonymous Coward · · Score: 0

    First make sure your office isn't haunted.

    Happy All Saints Day.

  32. Tripwire for windows? by denis-The-menace · · Score: 1

    If I remember right there is a Linux security software called Tripwire that records a hash for critical files in the system and when one of them changes it notifies you.

    Does such a thing exist for windows?

    --
    Obama's legacy: (N)othing (S)ecure (A)nywhere and (T)error (S)imulation (A)dministration
    1. Re:Tripwire for windows? by Anonymous Coward · · Score: 0
  33. Dealing with staff who think they know better by Anonymous+Brave+Guy · · Score: 1
    In addition to the above, you can probably ask for a special exception & say you are willing to take the blame if your FreeBSD box gets rooted.

    It would also be a good idea to demonstrate that you have the financial resources to cover the loss if the system gets compromised as a result of your non-standard box creating a security flaw. For the benefit of the uninitiated/wishful thinkers, that liability is $EXPERT_HOURLY_RATE * $HOURS_TO_REINSTALL_ENTIRE_NETWORK + $COST_TO_ORGANISATION_OF_TIME_LOST_DOING_SO, because once you're compromised, nothing less is safe.

    If you aren't prepared/able to underwrite such a sum, you have no business ignoring IT's policy and using a non-standard set-up, end of story. If you want to do something else for a genuine reason connected with your job, make a case for why your need to do that is more important than any risk it creates to the organisation's IT infrastructure, and the attendant risk to everyone else's ability to do their job, and ask to have the policy changed or for an exception to be made.

    Contrary to popular opinion, not all sysadmins are stupid, draconian power freaks. Some of them just take security seriously. (Not saying that's necessarily the case here, but don't assume a policy like this is unreasonable just because it's inconvenient.)

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
    1. Re:Dealing with staff who think they know better by Noksagt · · Score: 1
      that liability is $EXPERT_HOURLY_RATE * $HOURS_TO_REINSTALL_ENTIRE_NETWORK + $COST_TO_ORGANISATION_OF_TIME_LOST_DOING_SO, because once you're compromised, nothing less is safe.internal attacks, as well as external ones. Indeed, targetted malicious attacks are more likely to come from within the firewall & usually do the most damage. One rooted box should never be capable of making it so you have to reinstall the entire network.
      If you aren't prepared/able to underwrite such a sum, you have no business ignoring IT's policy and using a non-standard set-up, end of story.
      IT policy in this case should be based in risk management. The figure-of-merit should be COST_OF_COMPROMISE * LIKELIHOOD_OF_COMPROMISE. Both numbers are typically lower for *nix distros (the later because *nix boxes typically don't spread win32 worms). ANY genuine need for the OS should merit the risk.
      Contrary to popular opinion, not all sysadmins are stupid, draconian power freaks.
      Not all are as smart or capable as they fancy themselves. The same is true of the staff, but IT is a service and should help people do their job, rather than hinder them. I have had the privilege of using the services of IT departments who understood this. I have also put up with those who don't.
      Some of them just take security seriously. (Not saying that's necessarily the case here, but don't assume a policy like this is unreasonable just because it's inconvenient.)
      Given that other IT departments in the corporate, public, and educational sectors all manage to run heterogeneous networks that require more security than this one probably has, this IT department would probably be hard-pressed to actually demonstrate security gains by excluding all *nix boxes.
  34. stray tag...here's the correct version. by Noksagt · · Score: 1
    that liability is $EXPERT_HOURLY_RATE * $HOURS_TO_REINSTALL_ENTIRE_NETWORK + $COST_TO_ORGANISATION_OF_TIME_LOST_DOING_SO, because once you're compromised, nothing less is safe.
    Competent network admins should be able to protect against internal attacks, as well as external ones. Indeed, targetted malicious attacks are more likely to come from within the firewall & usually do the most damage. One rooted box should never be capable of making it so you have to reinstall the entire network.
    If you aren't prepared/able to underwrite such a sum, you have no business ignoring IT's policy and using a non-standard set-up, end of story.
    IT policy in this case should be based in risk management. The figure-of-merit should be COST_OF_COMPROMISE * LIKELIHOOD_OF_COMPROMISE. Both numbers are typically lower for *nix distros (the later because *nix boxes typically don't spread win32 worms). ANY genuine need for the OS should merit the risk.
    Contrary to popular opinion, not all sysadmins are stupid, draconian power freaks.
    Not all are as smart or capable as they fancy themselves. The same is true of the staff, but IT is a service and should help people do their job, rather than hinder them. I have had the privilege of using the services of IT departments who understood this. I have also put up with those who don't.
    Some of them just take security seriously. (Not saying that's necessarily the case here, but don't assume a policy like this is unreasonable just because it's inconvenient.)
    Given that other IT departments in the corporate, public, and educational sectors all manage to run heterogeneous networks that require more security than this one probably has, this IT department would probably be hard-pressed to actually demonstrate security gains by excluding all *nix boxes.
  35. www.dshield.org not www.shield.org by j1m+5n0w · · Score: 1
    I guess you mean www.dshield.org (with the 'd' added!)
    You are correct. Gomen nasai.
  36. on a switched lan? use arpspoof by solipsist0x01 · · Score: 2, Informative

    Use Dug Song's arpspoof, on a BSD or Linux box, to analyze the traffic comming from the suspect. Make sure you have packet forwarding enabled on the box running arpspoof. For FreeBSD, just check that "gateway_enable="YES"" is in your /etc/rc.conf file. Now run arpspoof -t [suspect box's ip address] [gateway router ip address]. Now the suspect box will think that your Linux/BSD box's MAC address is the MAC address of the gateway router. So if you run tcpdump, you'll see all the packets that the suspect box is trying to send out to the internet.

  37. RootkitRevealer by Wireless+Joe · · Score: 1

    You can always use RootkitRevealer. I have not tried this myself, but it looks like a good tool. I was also poking around looking for rootkit information when I found this.

    You may also want to check out this interesting story from Mark Russinovich, Sony Music CDs installing DRM rootkit.

  38. OT: Lameness filter? by lilmouse · · Score: 1

    Not new around here, just haven't paid attention to it before, and I haven't seen much about the lameness filter.

    So, WTF?

    How is that supposed to prevent lameness?? I can't see the point of having spaces inserted into long urls - is the idea to break up any long string of text?

    --LWM

    1. Re:OT: Lameness filter? by jrockway · · Score: 1

      Here's the reason:

      xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

      Back in the old days, people would post shit like that and it would make the page really really wide. This, of course, made reading the comments impossible, so taco added code to break up lines like that. The link was clickable anyway, so who cares?

      Random data for the postercomment compression filter:
      p7F6m8cCw3MJiU6hdKlE9ef9h7iiJX2kjiWYlFwdVYKcWdyj3N a3lSOKbtpd9Kqe4YR00j0Ywu5TvBYiDOpHBycXY4OLK4DeQBqP yWB725v22zWCfMuswvoGP2Mfi64HAn5L3THTdzoVlQklRrdHM6 TExxPLe2K071TIugr739lLq1siImEDi59WXr1sOtB10b3ddlqR RKoQgiypgDHoZrhZn1rtLjOLLWw9265W0wyJzHuUUBzdDLxk4r d3ipumQKNZI4ohHMV8U2j74c4AKWQcMqc9pOI4PvVfQe3is6Sf t6J0sRaHUS0wRntkAFmlM5FIX7tmgfcMzRfLR2EdHtEOivR7hk 4WinzDXnWhlrT81hIAAp3OfVOtkIgVpZnXDxKY3QBp9o6ZcPqA RQoa2AoNDQ3OLeXezneVGUHA9PV14qlDNFfxirwhGDagiMBr7T wiiKeFtXmaIWgQWQSdazQtQ5NMPYUTHmC5XnOAfiiwwu4bVry1 vaeEgKUGs51bbxafhJOAMwBXExtvRKnWM

      --
      My other car is first.
    2. Re:OT: Lameness filter? by Anonymous Coward · · Score: 0

      The spaces arent in the href so why the fuck do you care? Just click the damned things and shut up. Such a low id and such a low iq. Christ.

    3. Re:OT: Lameness filter? by lilmouse · · Score: 1
      Aaaaaaaaaaah; thanks! Now I see!
      The link was clickable anyway, so who cares?
      I like to copy/paste links from lynx to firefox - harder to do with the space in it :)

      I will accept it as my cross to bear! ;-)

      Again, thanks.

      --LWM
  39. I just... by Anonymous Coward · · Score: 1, Funny

    ...scanned your computer for rootkits, viruses, and trojans, and found it's a hive of filth! It's infested with some really devious stuff. You've got backdoors and unsecured shares everywhere. Spyware is beaming the contents of your hard drive to marketers across SE Asia, and you're delivering at least 300K+ vi@gr4 spams per hour.

    Even as I type this it's trying to beam all your personal information back to Ukranian hackers, three different sites that claim they're eBay, and it's sending hundreds of megabytes of data through two FTP servers running on your machine + at least half a dozen IRC connections.

    I've taken the liberty of trashing most of your registry, so maybe that'll slow down the infections.

    And wow, man, according to my scans, you're in to some really kinky porn! If anyone found I had that kind of stuff on my computer my marriage, career, and everything else in my life would be ruined!

    I'd give you more details but for some reason my computer is really bogging down. (I guess it's time to upgrade again.) It takes about ten seconds for each word to appear and I have to keep clicking out of these annoying popups. Anyway, you're totally 0wn3d.

  40. Wow! by mindaktiviti · · Score: 1

    What's with all the porn on your computer? I decided to just "hack in" - don't worry, I'm a white hat - and I found all this stuff on your computer! I don't feel like helping you out anymore because this horsebj.avi business is just too disgusting and really shows what kind of person you are, and frankly I don't want to help you.

    God! People these days!