Slashdot Mirror


58,000 Security Camera Systems Critically Vulnerable To Attackers

Sparrowvsrevolution writes with news of some particularly insecure security cameras. From the article: "Eighteen brands of security camera digital video recorders are vulnerable to an attack that would allow a hacker to remotely gain control of the devices to watch, copy, delete or alter video streams at will, as well as to use the machines as jumping-off points to access other computers behind a company's firewall, according to tests by two security researchers. And 58,000 of the hackable video boxes, all of which use firmware provided by the Guangdong, China-based firm Ray Sharp, are accessible via the Internet. Early last week a hacker who uses the handle someLuser found that commands sent to a Swann DVR via port 9000 were accepted without any authentication. That trick would allow anyone to retrieve the login credentials for the DVR's web-based control panel. To compound the problem, the DVRs automatically make themselves visible to external connections using a protocol known as Universal Plug And Play, (UPnP) which maps the devices' location to any local router that has UPnP enabled — a common default setting. ...Neither Ray Sharp nor any of the eighteen firms have yet released a firmware fix."

157 comments

  1. Never attribute to malice... by AK+Marc · · Score: 1, Interesting

    What, nobody has complained about this being an intentional backdoor yet? The Chinese are out to get us.

    1. Re:Never attribute to malice... by Nyder · · Score: 1

      What, nobody has complained about this being an intentional backdoor yet? The Chinese are out to get us.

      You are first post, people will get saying that in a few...

      --
      Be seeing you...
    2. Re:Never attribute to malice... by fuzzyfuzzyfungus · · Score: 5, Insightful

      What, nobody has complained about this being an intentional backdoor yet? The Chinese are out to get us.

      I'm inclined to keep "Never attribute to malice something much stupider than malice would have implemented" in mind as a variant on the usual phrase.

      Given the hordes of profit-driven, variously political, and simply lulz-oriented attackers on the internet, relatively blatant backdooring(when you are in the privileged position of being the guys shipping the firmware, no less, hard to ask for more insider access than that) amounts to squandering an advantage. Had the units shipped with, say, a bugged sshd that is hardcoded to always allow access via keypair auth with a specific private key, it is both much more likely that nobody would ever have noticed, and that nobody but the intended attacker would ever have been able to make use of the vulnerability. A wholly unauthenticated hole, on the other hand, is an open invitation to every bot-herder and na'er-do-well on the planet to come and have a rummage through the systems, leading to much greater competition for the creator of the backdoor.

    3. Re:Never attribute to malice... by shitzu · · Score: 2

      Well... If you plug your random DVR (or print server, or any device for that matter) tcp port through your router, you deserve what you get. If you leave upnp on, you deserve what you get. Openvpn costs nothing.

    4. Re:Never attribute to malice... by stjobe · · Score: 1

      Pray it's the Chinese... and it's not SCORPION STARE.

      Although if you know what that is and don't have GAME ANDES REDSHIFT clearance, I'm afraid you're in for a change in work environments - hope you like British bureaucracy!

      --
      "Total destruction the only solution" - Bob Marley
    5. Re:Never attribute to malice... by OwMyBrain · · Score: 1

      I'm glad someone made the Stross reference, so I don't have to.

    6. Re:Never attribute to malice... by pnutjam · · Score: 1

      OpenVPN is very simple if you know what your doing. Unfortunately most SMB's don't, and they don't realize the need to pay someone who does.

    7. Re:Never attribute to malice... by AK+Marc · · Score: 1

      Consumers want it to "just work" When that's delivered, they complain. Delivering what the customer asks for (even if they are wrong) isn't malice. It's a deliberate feature. "How do I make this as easy as possible for the owner to control it from anywhere on the Internet?" It wasn't a hidden feature, it was an unintended side effect of a deliberate feature. Like a cat door in the front door that's big enough for a regular sized person. It wasn't hidden, ans was probably explicitly advertised (UPnP, and all that).

    8. Re:Never attribute to malice... by Anonymous Coward · · Score: 0

      Practically no one is affected by this. Who in their right mind would have security systems with 58,000 cameras?

  2. No Surprise by hduff · · Score: 4, Funny

    "As Seen On TV"

    --
    "I believe in Karma. That means I can do bad things to people all day long and I assume they deserve it." : Dogbert
    1. Re:No Surprise by Anonymous Coward · · Score: 0

      "As Seen On TV"

      Yeah, the first thing I thought of when I saw the headline was an episode of "Supernatural". Frank Deveraux had taught Dean Winchester how to commandeer Security cameras. When brother Sam saw Dean do it (Sam is the guy you usually see sitting at a laptop), he said, "You have to teach me how to do that."

  3. well ... by Anonymous Coward · · Score: 0

    it's not like you should have this unprotected by a firewall.

    1. Re:well ... by fyngyrz · · Score: 2

      it's not like you should have this unprotected by a firewall.

      it's not like you should have anything unprotected by a firewall.

      --
      I've fallen off your lawn, and I can't get up.
    2. Re:well ... by green1 · · Score: 4, Informative

      Of course the point was that with most standard firewalls in their default setting, this automatically punches it's own holes through the firewall, it's a feature....

      So it's more like "it's not like you shoud have this unprotected by a firewall that you have carefully setup yourself without any autoconfiguration options"

    3. Re:well ... by fluffy99 · · Score: 4, Informative

      That these system will punch holes in a upnp capable router is part of the problem. Many people may not realize their DVR is even accessible from outside. Step number one on any home routers I setup is to disable upnp because malicious software also likes to punch holes.

    4. Re:well ... by adolf · · Score: 4, Interesting

      Step number one on any home routers I setup is to disable upnp because malicious software also likes to punch holes.

      UPNP can trivially allow incoming ports on the firewall. And so what? You allow outbound connections, don't you?

      There is very little difference between malicious programs being able to create its own outbound connections and being able to accept inbound connections: In either case, the malicious software is able to communicate and can accomplish whatever nefarious task its creators envision.

      Why would I trust a program to create connections but not enough accept them?

      In practice, I leave UPNP turned on. If I were paranoid enough to disable it, I'd also be sufficiently paranoid to never, ever execute any code that I'd not written or reviewed myself, with a firewall that denies everything by default in both directions...and I just don't have time for that.

      UPNP makes things work better: From BT to software updates to gaming on a PS3, UPNP helps keep the clusterfuck of NAT from being absolutely horrible.

      So the score, so far, for UPNP seems to be this:

      Problems that UPNP solves for me: Several.
      Problems that UPNP creates for me: None.

      Meanwhile, TFA is more about the fact that some hardware devices that may never see a software upgrade have one or more security holes which can be exploited over the network...which is interesting and all, but really has nothing to do with UPNP: If such devices were secure and trustworthy to begin with, there would never be a reason to firewall them at all, let along worry about UPNP.

    5. Re:well ... by Frojack123 · · Score: 2

      There is very little difference between malicious programs being able to create its own outbound connections and being able to accept inbound connections: In either case, the malicious software is able to communicate and can accomplish whatever nefarious task its creators envision.

      Bullshit. If your device has a reason to create an outbound connection, it is (for the most part) limited to one connection to one place for a specific purpose. (Disregarding intentionally buggered on-board software designed with malicious intent). So your cloths dryer can send you an email telling you its on fire, or your tablet can fetch your email, and stuff like that. However, as pointed out in the present article, even a disbeliever like you should see that opening an inbound port is an entirely different affair. An inbound port is open to the entire world, anyone can connect, and, (baring any on-device security), they can do pretty much anything the device is capable of doing.

      --
      F. Robert Jack
    6. Re:well ... by fluffy99 · · Score: 2

      Meanwhile, TFA is more about the fact that some hardware devices that may never see a software upgrade have one or more security holes which can be exploited over the network...which is interesting and all, but really has nothing to do with UPNP: If such devices were secure and trustworthy to begin with, there would never be a reason to firewall them at all, let along worry about UPNP.

      The connection to UPNP is that these devices are needlessly exposing themselves to attack by automatically opening inbound ports through the router using UPNP.

    7. Re:well ... by LordLimecat · · Score: 2

      Alternative headline: 58,000 networks needlessly vulnerable because of UPnP usage.

    8. Re:well ... by Anonymous Coward · · Score: 0

      Remind me to never hire you as a security consultant! UPNP opens a connection to the outside. Any vulnerability in that protocol because exploitable by anyone on the internet. I know you were talking about malicious programs using UPNP from inside the LAN, but that only means that you really missed the point here.

    9. Re:well ... by shitzu · · Score: 4, Informative

      The difference is simple (but huge). To allow a program or device to make an outgoing NAT connection, i have to assume that it is not malicious. To allow programs and devices map incoming ports via upnp i have to assume that it is not malicious AND it is not buggy enough to allow gazillion script kiddies access to my network. So thanks, but no thanks on the upnp front - i keep my open tcp ports to a minimum.

    10. Re:well ... by Miamicanes · · Score: 2

      > An inbound port is open to the entire world, anyone can connect, and, (baring any on-device security),
      > they can do pretty much anything the device is capable of doing.

      And 9 times out of 10, unless the homeowner couldn't figure out how to do it, any device that accepts incoming connections on a port probably has a port from the router's public IP address forwarded to its internal IP address *anyway*.

      Yes, barring device security, they can do whatever they'd like. That's why the device HAS security. So they can't.

      The biggest problem with internet cameras and DVRs isn't the fact that they can use UPnP to "punch holes" -- it's the fact that 99.9% of the damn cameras don't allow you to authenticate via SSL (valid certificate or not), and instead send your login credentials in the clear over the wi-fi network at Starbucks. I wish to ${deity} that routers had a "reverse https proxy" function that would accept inbound https connections, strip the ssl, and transparently forward the traffic to the same port of an internal IP address where there's a device that's too stupid to know how to do SSL.

      I won't be losing sleep tonight worrying about my cameras' ability to coax the router into forwarding arbitrary ports to them. I'd lose quite a bit of sleep if I didn't have the internet-connected camera in my bedroom wired up to the burglar alarm through a relay that cuts the power to it whenever the alarm isn't in "away" mode, and a similar relay that cuts power to the switch connecting those cameras to the router. Technically, I could have gotten away with just one relay on the switch, but I couldn't sleep with the camera's red light blinking at me regardless of whether or not it was connected to the router at the time.

    11. Re:well ... by Anonymous Coward · · Score: 0

      The difference is that UPNP allows someone else in, while most devices that create outbound connections are just calling home or joining a network. It's not about paranoia, it's about basic fucking security 101.

      And so is security by layers, if you're gonna naively reply that killing UPNP only solves part of the problem.

    12. Re:well ... by julesh · · Score: 1

      Bullshit. If your device has a reason to create an outbound connection, it is (for the most part) limited to one connection to one place for a specific purpose. (Disregarding intentionally buggered on-board software designed with malicious intent).

      You're disregarding exactly the situation the GGP post was describing as the reason he turned UPNP off. GP's reply was a reasonable response: if you're assuming that software inside your network is malicious, it doesn't need UPNP to cause mischief... it'll probably hook up to an IRC server or similar in order to accept incoming commands, so that isn't a good reason to disable UPNP.

      Now, this situation is (presumably) not malicious, but that doesn't make GP's response invalid. OTOH, I have to query how rare situations like this are. Very few devices automatically create firewall holes for themselves without user confirmation. Most UPNP routers make it very easy to monitor what holes you do have. The proportion of such devices that have massive security flaws like this is also likely to be low. I'm not therefore convinced that this situation is, on balance, enough to make me want to turn UPNP off.

    13. Re:well ... by julesh · · Score: 1

      I wish to ${deity} that routers had a "reverse https proxy" function that would accept inbound https connections, strip the ssl, and transparently forward the traffic to the same port of an internal IP address where there's a device that's too stupid to know how to do SSL.

      Have you considered setting up a VPN? Routers with integrated VPN functions are affordable these days (e.g. http://www.google.co.uk/products/catalog?q=dsl+router+vpn&sugexp=chrome,mod%3D11&um=1&ie=UTF-8&cid=11302817784067722053&sa=X&ei=Z3UHUfSWJrGp0AWNzYCwAw&ved=0CGMQ8wIwAw ). Alternatively, it wouldn't be too hard to set up the system you describe on a server inside your network and just forward your ports on the router to that system.

    14. Re:well ... by adolf · · Score: 0

      To allow a program or device to make an outgoing NAT connection, i have to assume that it is not malicious. To allow programs and devices map incoming ports via upnp i have to assume that it is not malicious AND it is not buggy enough to allow gazillion script kiddies access to my network.

      You oversimplification is astounding. You act as if you've never heard of PDF, Java, Flash, browser-based, [...] exploits, when in fact there is a broad history of non-malicious programs with various bugs that can allow a gazillion script kiddies access to your network without ever opening a single incoming port.

      It's obvious to anyone that the door is wide-open at the point of first infection. What's not so obvious is that the door was actually open to begin with by virtue of operating a firewall that allows outgoing connections by default. Your sense of security is false.

      So thanks, but no thanks on the upnp front - i keep my open tcp ports to a minimum.

      So do I. I just went and checked and the only ports I have open to the outside right now via UPNP are the exact same ports I'd have opened up anyway: Two for Subsonic and two for my BT client. Nothing else seems interested in having an open port.

      UPNP lets me use DHCP (without manually-assigned, static addresses being doled out) and still have things like these work just fine.

      I think the primary difference between your line of thinking and my own is that I accept and understand that computers on a network are subject to attack from many vectors involving badly-written or intentionally malicious software, whereas you seem to assume that blocking inbound connections is a meaningful preventative measure.

    15. Re:well ... by advocate_one · · Score: 2

      This is why I have two routers... one is the cable company's router and I've set that to no remote admin, the other is hung off that router and is the real router for my network

      --
      Donald 'Duck' Dunn: We had a band powerful enough to turn goat piss into gasoline.
    16. Re:well ... by adolf · · Score: 1

      An outbound port is also open to the entire world: Hence, how your clothes drier can send you an email to tell you that it is on fire (and get a buffer overflow from a compromised SMTP server in exchange, possibly with the help of a poisoned DNS server, MITM attack, etc).

      *shrug*

      If a device can't be trusted to behave itself on the Big, Bad Internet, it probably shouldn't be trusted in a common LAN environment either (what, with WEP being trivially broken and WPA attackable with surprisingly small effort).

      Indeed, if people kept their networks tidy (even Windows does a good-enough job of this these days by itself, let alone the secure-by-default BSDs and their ilk), we wouldn't need to care much if one wayward appliance got hacked because even with local access from a compromised box the rest of the stuff on the network is still secure.

    17. Re:well ... by adolf · · Score: 1

      The connection to UPNP is that these devices are needlessly exposing themselves to attack by automatically opening inbound ports through the router using UPNP.

      And the root problem there is that the device itself is not secure, not that UPNP allowed the device to be attacked. That a device is going to be attacked should always be assumed as a given, whether or not it is exposed to the Internet as a whole.

      If a device that is intended to operate on securely on a network, it had better actually do so securely. The devices in TFA don't. This is a device problem, not a network problem.

      If I can't trust my DVR to be secure on the Internet, I sure as fuck can't trust it on a large LAN (or a small LAN with a Wifi connection).

      Blaming UPNP is a red herring.

    18. Re:well ... by MartinSchou · · Score: 1

      I couldn't sleep with the camera's red light blinking at me regardless of whether or not it was connected to the router at the time.

      Easily fixed with tape or a pen.

      It's how I fix the issue I have with 99% of all electronic equipment these days, as they seem to insist on being able to illuminate a room with their "LOOK AT ME!!!" lights. And I think that's the first time in pretty much forever, I've ever wanted to use the blink-tag.

    19. Re:well ... by adolf · · Score: 1

      It's how I fix the issue I have with 99% of all electronic equipment these days, as they seem to insist on being able to illuminate a room with their "LOOK AT ME!!!" lights.

      The best feature of my NEC 2090UXi monitor (other than its beautiful IPS LCD panel) is that the power indicator can be adjusted from a glaring eye-burning blue to either amber or green, and then dimmed to such an extent that it ceases to be bothersome and becomes a useful status indicator. (These functions are part of its on-screen menus.)

      The worst feature of the Asus monitor on my desk beside it is the strip of red vinyl electrical tape that covers the eye-burning blue LED. (I find that red tape lets enough blue light through to be useful, without blacking it out completely. Yellow, green, white, and blue vinyl tapes were less than satisfactory.)

    20. Re:well ... by MartinSchou · · Score: 1

      The single worst offender I can remember, was a mouse with an LED behind the company nameplate so intense, that you could read the name (mirrored) on the ceiling in daylight.

    21. Re:well ... by shitzu · · Score: 1

      I did not say that closed TCP ports are an end to all security woes - i do not know where you took that from. I did not quote any probability of different attack vectors. I merely compared upnp on vs. upnp off situation and said that upnp off on the router is more secure than upnp on.

      What you are saying, is essentially - "I have my front door key under the mat - and the only three people who used this key are people who i would have let in anyway. And that key under the mat is just common sense as the crooks can come in by breaking the window and through the chimney or con the cleaning lady anyway."

    22. Re:well ... by adolf · · Score: 1

      To allow a program or device to make an outgoing NAT connection, i have to assume that it is not malicious. To allow programs and devices map incoming ports via upnp i have to assume that it is not malicious AND it is not buggy enough to allow gazillion script kiddies access to my network.

      Your words, not mine.

      The only sane approach (if there is a sane approach) is to mistrust every program, because a buggy program with network access is still buggy whether it can accept external connections or not: If uses data from other places, it is potentially exploitable.

      The longer you avoid this concept, the longer that you'll willfully fail to have secure systems. Good luck!

      What you are saying, is essentially - "I have my front door key under the mat - and the only three people who used this key are people who i would have let in anyway. And that key under the mat is just common sense as the crooks can come in by breaking the window and through the chimney or con the cleaning lady anyway."

      No, that's not it at all.

      Either you have good, secure stuff on your network, or you're a vulnerable target. End of story. Incoming connections don't matter any more than outgoing connections. (And if you think they do, you're lying to yourself. Go back to the first sentence in this paragraph and re-read it until you understand.)

    23. Re:well ... by shitzu · · Score: 1

      Again - all i said is that having upnp off is preferrable to having it on. I also hinted that the amount of buggy programs (PC software as well as software in devices like printers, DVRs, etc) is much larger than the amount amount of malicious programs.

      I have not talked about any other security measures that are or are not, should or should not be in place. Instead of arguing my point - how and why is upnp on preferred to manually opening minimum number of ports - you attribute me a lot of things i have NOT SAID and argue with them. Keep up the good work.

    24. Re:well ... by pnutjam · · Score: 1

      It's all about cost benefit. What is the cost to prevent outbound connections? It creates alot of work for me and something nasty is probably going to sneak out through a commonly allowed port.

      What is the cost to prevent inbound connections, practically nil. If something wants in, I can make a judgement and allow it. I can limit the type of traffic or source of inbound traffic on a specific port. I don't have to trust random developer to use tight restrictions.

      Allowing upnp on any sort of "secure" setting is irresponsible and dangerous.

    25. Re:well ... by Shagg · · Score: 1

      And the root problem there is that the device itself is not secure, not that UPNP allowed the device to be attacked.

      No, both of those are the problem.

      --
      Unix is user friendly, it's just selective about who its friends are.
    26. Re:well ... by green1 · · Score: 1

      Of course anyone interested at all in security should have disabled UPnP a long time ago. There's hardly a point to having a firewall if any compromised application can ask for a nice big hole in it whenever it wants.

    27. Re:well ... by Anonymous Coward · · Score: 0

      Don't ever work on any network that I have to use.

  4. Made in China. by andydread · · Score: 1

    Damn! and i was just looking for a system for my house and my mom's house.

    1. Re:Made in China. by Anonymous Coward · · Score: 5, Funny

      Damn! and i was just looking for a system for my house and my mom's house.

      Is your mom hot?

      Well, I guess we'll find out soon enough...

    2. Re:Made in China. by antdude · · Score: 1

      It is 127.0.0.1.

      --
      Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
    3. Re:Made in China. by Anonymous Coward · · Score: 1

      Hey, she looks like me!

    4. Re:Made in China. by Anonymous Coward · · Score: 0

      I have a Swann Camera system that I bought for Christmas.

      A) port 9000 is the default port, you can change it
      B) the Admin password is blank by default, and it won't ask to authenticate if you leave it blank. The manual tells you to change it.
      C) you don't need to connect a network cable at all for the system to do it's thing

      D) If you're stupid enough to not change any settings and connect it to the internet then (I won't say you deserver, but I will say) you get what's coming to you.

      In case you were interested, I got the Swann SWDVK-825508 and I like it. The only oddity is that it is IPv4 and doesn't have IPv6 info, which probably doesn't really matter much behind the NAT.

    5. Re:Made in China. by Anonymous Coward · · Score: 0

      OMG he's on the localhost!

  5. How to make a fool of yourself with the cops. by hamjudo · · Score: 1
    So there I was, trying to retrieve the video of the suspect for the cops, and it turns out that recording had been turned off on all 16 cameras 12 hours before the incident.

    No network issue here, I never connected the system to the network.

    One of the last things the system recorded, was the wee little hands of the owner's 4 year old grandson, playing with the mouse. He made all 16 little boxes in the status grid turn black. Just 16 little clicks.

    1. Re:How to make a fool of yourself with the cops. by Technician · · Score: 1, Interesting

      #1 lesson. Turn off Universal Plug and Play in your router and turn on the firewall. Open only ports you use.

      --
      The truth shall set you free!
    2. Re:How to make a fool of yourself with the cops. by MacGyver2210 · · Score: 1

      Which will protect so well against a child playing with the physical hardware device on the premises.

      --
      If the only way you can accept an assertion is by faith, then you are conceding that it can't be taken on its own merits
    3. Re:How to make a fool of yourself with the cops. by alanshot · · Score: 1

      yep. I can see that happening again... and coincidentally I just finished firing off an email to an up and coming IP camera and managed wifi vendor that provides free NVR and WAP controller software... too bad none of their "server" software installs as a service. So not even a CHANCE of hiding it from little hands. (unless you want to jump through a bunch of hoops to force it into service mode)

      And in this case all the kid would have had to do was THREE clicks to log grandpa's PC off. (thus shutting down the NVR... DOH!)

    4. Re:How to make a fool of yourself with the cops. by n3r0.m4dski11z · · Score: 1

      One of the last things the system recorded, was the wee little hands of the owner's 4 year old grandson, playing with the mouse. He made all 16 little boxes in the status grid turn black. Just 16 little clicks.

      The perfect crime...

      --
      -
    5. Re:How to make a fool of yourself with the cops. by shitzu · · Score: 1

      Why would you let your kid use the same user account as yourself (or grandpa). Are you a fan of deleted documents? Just make a separate account for DVR, leave the soft running and fast-user-switch out of it. And a separate restricted accoun for the kid.

      And on a side note - if the computer recording your cameras is in a place where a 3 year old can access it, this computer will probably be the very first thing stolen - so i think you are making this crap up.

    6. Re:How to make a fool of yourself with the cops. by alanshot · · Score: 1

      And on a side note - if the computer recording your cameras is in a place where a 3 year old can access it, this computer will probably be the very first thing stolen - so i think you are making this crap up.

      Nobody said Grandpa was smart or thought his cunning plan through... LOL

  6. Better than the US ? by Anonymous Coward · · Score: 0

    At least its not the tyrannical US that has the backdoor into all your bases >_>

  7. Remarkable technical prowess! by mpoulton · · Score: 3, Funny

    I can't even get my Swann DVR to work right WITH the login credentials!

    --
    I am a geek attorney, but not your geek attorney unless you've already retained me. This is not legal advice.
    1. Re:Remarkable technical prowess! by nschubach · · Score: 1

      I got a hold of one (ZModo) and after putting a known good hard drive in it it worked for a while and then suddenly the SATA controller must have fried. It will no longer recognize any hard disk. Since I didn't pay all that much for it, I pretty much consider it disposable. I'll probably end up using the cheap cameras I got on something a little less flaky.

      --
      Every time I start to have faith in humanity, I ruin it by driving to work between 7 and 8 am.
    2. Re:Remarkable technical prowess! by Anonymous Coward · · Score: 0

      In my case adding the Mobile privilege to a secondary user wouldn't let me connect. Using the admin name and password worked my mobile device though, so try the admin credentials.

  8. Closed up a hole on our DVR by baobrien · · Score: 4, Interesting

    We bought a 24 channel q-see brand DVR. When it went to boot up, during disk initialization, it specifically mentioned '/dev/sda' and such, so I knew it ran some embedded Linux. I decided to check it out via nmap to see if there was anything interesting running. Port 23 was open. I telnet-ed into the damn thing and was able to log into root with no password. Needless to say, that was fixed.

    1. Re:Closed up a hole on our DVR by Anonymous Coward · · Score: 0

      Got a q-see as well. And this is exactly why I have mine only accessible via VPN.

    2. Re:Closed up a hole on our DVR by fuzzyfuzzyfungus · · Score: 2

      The soul-crushing thing about your story is that it suggests that somebody deliberately went to additional effort to build/install a telnet daemon while hacking the firmware together. That's just sick and wrong.

    3. Re:Closed up a hole on our DVR by thegarbz · · Score: 1

      That's just sick and wrong.

      Not to mention a godsend and a timesaver for debugging. Every embedded application I've ever made whether linux based or some tiny microcontroller on a UART had some terminal based debugging interface.

      I'm willing to bet that this is just a leftover from testing that shouldn't have made it out the door.

    4. Re:Closed up a hole on our DVR by Anonymous Coward · · Score: 0

      How'd you fix it? Internal in-app control over telnet being toggled on/off?

      Or a deeper linux system disabling?

    5. Re:Closed up a hole on our DVR by AmiMoJo · · Score: 1

      Na, they just adapted some else's embedded Linux distro that happened to have telnet running (most do). I doubt they were competent enough to set it up themselves.

      This is quite typical of embedded Linux systems. Perhaps they think it will be used on a private network where everyone is a trusted user or something.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    6. Re:Closed up a hole on our DVR by baobrien · · Score: 1

      passwd

      It didn't break anything. It looks like the telnet is just a leftover from development.

    7. Re:Closed up a hole on our DVR by baobrien · · Score: 1

      From what I saw while poking around the system, it looks like telnet is just a leftover from development that should have been removed. If it really were malicious, I would expect it to be more well hidden.

  9. Port knocking by Okian+Warrior · · Score: 5, Informative

    Port knocking is where the inbound system won't connect until a series of unsuccessful attempts is tried on a known sequence of ports - the system will open the door only when the visitor gives the "secret knock".

    For example, a system won't normally accept connection requests. If the visitor attempts (unsuccessfully) ports 1010, 1050, 3042, and 4725 in that order, the system then accepts a connection at port 9000. (Use different numbers and length as needed for security.)

    It is nigh impossible for a security audit to detect this type of camouflage. This technique has been well-known for years.

    If China were putting back-doors in hardware systems, they could make them virtually impossible to find.

    That's circumstantial evidence that this isn't a case of espionage on the part of the manufacturer. It's more likely a flaw in the software or a debugging port that wasn't compiled out in the released version.

    1. Re:Port knocking by GNUALMAFUERTE · · Score: 5, Interesting

      Port knocking is insane. It's the worst nightmare the security-through-obscurity mindset brought us, and it's so fucking annoying.

      My company develops a CCTV DVR/NVR. It's GNU/Linux based, we keep it up to date by offering free updates for life. Upgrades are not a huge firmware blob you need to download and then install (something customers won't do), It's a simple package (we use our own pkg management, and it's slackware-like), usually a few mb of download, but to the customer it's transparent. They just get a warning when they log-in, and the system lets them know via e-mail there are available updates, they can install them with a single click. The whole system is web-based, HTML5, and works out of the box on anything Gecko or Webkit based plus Opera (IE not supported). We don't require additional ports, everything works through a single HTTP port. Everything is session-based. We force the customer to use secure passwords, and to change them frequently. We use uPNP to open that single port, but that's when the customer runs the setup wizard, and we explain what we are going to do, and request customer authorization.

      It's easy to do the right thing, and if the manufacturer does the right thing, you don't need any additional security (for example, you don't really need to firewall the damn DVR). Sadly, most manufacturers don't do the right thing. They don't even bother providing upgrades. And the customers don't usually care, even when you offer a better solution, most will go with the generic chinese crap just because it's a few dollars cheaper. That's why more secure and functional solutions such as ours are usually only found in corporations (95% of our customer base).

      This issue is not restricted to DVRs, China doesn't give a fuck, and people in general only care about the price tag. That's a deadly combination for the technology used by 90% of the population.

      --
      WTF am I doing replying to an AC at 5 A.M on a Friday night?
    2. Re:Port knocking by Anonymous Coward · · Score: 0

      So, port knocking is secure as long as nobody is listening in anywhere at all between your computer and the remote computer?

      Kickass security there. Wouldn't it just be easier to use telnet? Same level of security (just requires nobody between you and the end host), but at least it asks for a password, and a password has a lot more complexity than 65535^4 possibilities.

    3. Re:Port knocking by Anonymous Coward · · Score: 0

      what's your company. I'd like to add something like that to our vendor list...

    4. Re:Port knocking by Frojack123 · · Score: 1

      So, port knocking is secure as long as nobody is listening in anywhere at all between your computer and the remote computer?

      Kickass security there. Wouldn't it just be easier to use telnet? Same level of security (just requires nobody between you and the end host), but at least it asks for a password, and a password has a lot more complexity than 65535^4 possibilities.

      People smart enough to set up port knocking don't use it as a substitute for private/public key encryption, they simply use it to keep the system from having to fend off dictionary attacks, by keeping the target ports closed. Even after you knock a port open, you still need to authenticate.

      --
      F. Robert Jack
    5. Re:Port knocking by Anonymous Coward · · Score: 0

      I like what you're saying.

      We force the customer to use secure passwords,

      Well this is okay, so long as your definition of "secure" does not fall victim to the fallacy in this obligatory comic: http://xkcd.com/936/

      and to change them frequently.

      and now you've not only lost me, but I'm actually pissed off. If a password is secure, why should I have to change it frequently? Are you saying if someone compromises my password, it is actually no harm done for them to use it for up to 30 days, but then no more? Do you also force users not to repeat passwords, and then expect not to get passwords like "secretwinter2012" followed by "secretspring2013" (bet you can't guess the next one)?

      How about this.. force some "complexity" -- and make sure you realize that 20 lowercase characters is more secure than 8 mixed caps/numbers/symbols, so if I put in 20 characters don't force me to use a symbol. Record the last login IP/hostname, and show it to me after I log in -- bonus points if you show a big warning when it's from an address I've never used before, and triple points if you provide context links to view audit logs or reset my password. Depending on how complex you want to get, use two factor authentication (especially when I log in from somewhere new).

      Sorry to rant, but I'm so sick of crappy password implementations that think they're making things secure but actually do the exact opposite.

    6. Re:Port knocking by k8to · · Score: 2

      Sure hope you:

      * Make it possible to disable or alter password expiry policies. This sort of thing just pushes people to put them on paper.
      * Do not use UPnP without customer authorization.

      Otherwise, I wouldn't really trust you / want to use your things.

      --
      -josh
    7. Re:Port knocking by Anonymous Coward · · Score: 0

      Port knocking is not like security by obscurity. The latter is used to mean that the method is hidden from the attacker. The method is port knocking and is well known. Rather, the challenge is to know the length and sequence of ports; this is more akin to a key (and has many interesting properties- there are 2^32 ports, and a sequence of knocks is theoretically unlimited).

      Of course, it doesn't help that an attacker can simply sit and snif the router for traffic.. but for sporadic access (e.g. an exploit, perhaps in some cases soft- and hardware used for espionage) this can definitely be useful. Another scenario: Until a connection is established, the sequence is information-theoretically secure (because it cannot be guessed by an attacker). After, one can set up a TLS connection and use it to exchange a new random sequence of ports... you get the idea.

      This isn't secret magic or something (you can still detect it, by attacking the hardware for example), but it is a ridiculously cool approach to setting up a secure connection. To come back to my original point: this is more akin to steneography than to security by obscurity. Similarly, hiding the usage of an algorithm is not security by obscurity. Security by Obscurity is to design a cryptographic system by your own hands for a specifc purpose (which almost never results in a secure system).

    8. Re:Port knocking by Anonymous Coward · · Score: 0

      and to change them frequently.

      and now you've not only lost me, but I'm actually pissed off. If a password is secure, why should I have to change it frequently? Are you saying if someone compromises my password, it is actually no harm done for them to use it for up to 30 days, but then no more? Do you also force users not to repeat passwords, and then expect not to get passwords like "secretwinter2012" followed by "secretspring2013" (bet you can't guess the next one)?

      As Google appears to have discovered, passwords are broken by design. Forcing to change password often indeed leads to people using something memorable (guessable), post-it-notes or hurts their brains and makes them forget them - making an easy recovery system a necessity. Each one of these options opens some sort of an attack vector.

      Then again, never requiring a password change can result in exposure to credential harvesting. A single incident where password is lost on some device leads to an eternally compromised account.

      Device/service combinations like SecurID address the security side of the issue but have shortcomings with respect to memory, so it's good I guess that someone like Google is redesigning the thing.

    9. Re:Port knocking by Anonymous Coward · · Score: 0

      I meant to write usability, where memory is just one aspect. Of course having to carry a magic device for each online service and tell them from each other sort of sucks too. I also am only learning to use the Preview button.

    10. Re:Port knocking by MartinSchou · · Score: 1

      This issue is not restricted to DVRs, China doesn't give a fuck, and people in general only care about the price tag.

      You mean in the same way that the US doesn't give a fuck? Or the EU. Or any other nation or continent you care to name.

      No-one gives a fuck - that's the problem. If the collective we cared, security would be much higher, simply because insecure technology wouldn't sell.

      Don't blame China - blame the retailers. Security costs money, and if retailers can save a thousand dollars on a million sales, they'll go with the cheaper alternative if they think it'll sell.

      Race to the bottom and all that.

    11. Re:Port knocking by YurB · · Score: 1

      works out of the box on anything Gecko or Webkit based plus Opera (IE not supported).

      Glad to hear there are people who sell things without IE support to businesses. World's changing for the better.

    12. Re:Port knocking by Anonymous Coward · · Score: 0

      Actually, it's (2^16 - 1)^length. There are only 65535 ports available.

    13. Re:Port knocking by pnutjam · · Score: 1
    14. Re:Port knocking by Anonymous Coward · · Score: 0

      What? You don't force a SSL? :P

    15. Re:Port knocking by Anonymous Coward · · Score: 0

      Port knocking is insane. It's the worst nightmare the security-through-obscurity mindset brought us, and it's so fucking annoying.

      If you build a backdoor into a device for spying purposes, you're not interested in the device's security (well, except that it is not secure against you), but in the obscurity of your backdoor (you don't want anyone to detect it).

      The argument was that since it is so easy to make a backdoor obscure, the fact that this security hole wasn't obscure at all is a strong hint that it was not an intentional backdoor.

    16. Re:Port knocking by JigJag · · Score: 1

      I thought the same approach could be used with user authentication on websites. You enter your (correct) password, it kicks you out saying "wrong password". You enter it a second time, this time is accepts you.

      Right there, you've doubled the amount of time to bruteforce your password.

      Or you could combine the port knocking approach. Pick 2 simple passwords. Enter first password, and get a "wrong password" message, enter the second password and you're accepted.

      Remember folks, you first saw it here! (or not in case this is totally obvious)

      JigJag

      --
      "The hallmark of humanity is the ability to move beyond sensory inputs" - Mary Helen Immordino-Yang
    17. Re:Port knocking by houghi · · Score: 1

      We force the customer to use secure passwords, and to change them frequently.

      Frequent changes will force them to write them down. Congratulations, you have just made it less secure.
      OTOH you can just claim you did what was needed and that what they do is THEIR problem, just like everybody else does.

      Not factoring in human behavior in security is solving a social problem with a technical solution.

      --
      Don't fight for your country, if your country does not fight for you.
    18. Re:Port knocking by GNUALMAFUERTE · · Score: 1

      Yes, we do, all of our products come with a self-signed certificate, and SSL by default, customers can upload their own signed certificate if they want.

      --
      WTF am I doing replying to an AC at 5 A.M on a Friday night?
    19. Re:Port knocking by GNUALMAFUERTE · · Score: 1

      We've been doing so since '08. We have four major products (our DVR/NVR family of products,an e-learning platform, an ERP, and a Digital Signage solution). If you access any of our products with IE it'll send you to a landing page explaining why it's not supported, why it's a bad idea to use it, and providing alternatives, plus links and easy installation instructions for every platform. Many people told us that policy would doom us. To the contrary, people loved the idea, and to this day we get emails from customers thanking us for helping them discover a better browser.

      --
      WTF am I doing replying to an AC at 5 A.M on a Friday night?
    20. Re:Port knocking by GNUALMAFUERTE · · Score: 1

      That is simply not truth. I know many people that are proud of their country's engineering. I certainly am proud that my company manufactures high quality products right where I am and not in China.

      Regardless, no country has lower standards than China.

      --
      WTF am I doing replying to an AC at 5 A.M on a Friday night?
    21. Re:Port knocking by GNUALMAFUERTE · · Score: 1

      You can change the default password policies in the product's config, and even disable it altogether and use IP based or no auth at all.

      Our product is targeted towards sysadmins, the idea is to give them the power to force their users to change passwords if they want to in a simple way. The default setting is once every six months.

      The logic behind this is simple: People get a new password, they use it in several places, they save it on several computers, they use it on insecure computers they don't own, they start using them on different services, and eventually that password is well known in the entire organization. Changing passwords often is a good idea for your average user, and if you know better and take care of your passwords, you can change the damn policy, but our sane default protects most users.

      --
      WTF am I doing replying to an AC at 5 A.M on a Friday night?
    22. Re:Port knocking by GNUALMAFUERTE · · Score: 1

      I have a policy of not advertising on /., It's (yes, my standards are higher than those of the editors) for honest, serious discussion, not marketing.

      If you are sincerely interested, mail me and I'll let you know.

      --
      WTF am I doing replying to an AC at 5 A.M on a Friday night?
    23. Re:Port knocking by GNUALMAFUERTE · · Score: 1

      You can disable password expire and strength policies, or change them at will in the config. There is a HUGE warning in that page. When the customer uses the product for the first time, there's a wizard that guides them through this process, and it asks them if they want the product to be exposed to the net, then provides the option to try and autoconfigure everything using upnp, or to go to our website to read a guide on how to configure port forwarding on most routers. Same for our free DDNS service, it's integrated into the product, but not enabled without customer authorization. To be honest, our product is targeted both towards admins and end users, and we offer options for both. We never enable anything even remotely exploitable by default. We follow the unix rule of no-surprises or at least less surprising behavior possible from the application.

      --
      WTF am I doing replying to an AC at 5 A.M on a Friday night?
    24. Re:Port knocking by YurB · · Score: 1

      This is very good news. Thank you for sharing your experience.

  10. The Chinese or Uncle Sam ?? by Taco+Cowboy · · Score: 4, Insightful

    The Chinese are out to get us

    If I were you, I'll be more worried about Uncle Sam

    --
    Muchas Gracias, Señor Edward Snowden !
    1. Re:The Chinese or Uncle Sam ?? by Anonymous Coward · · Score: 1

      worse yet... uncle sam and the chinese collaborating on something like this.

    2. Re:The Chinese or Uncle Sam ?? by Anonymous Coward · · Score: 0

      Situation Normal, All Fed Up

      For when you need something more then your typical SNAFU. you can rely on the Feds!

    3. Re:The Chinese or Uncle Sam ?? by alostpacket · · Score: 1

      Uncle Samurai?

      --
      PocketPermissions Android Permission Guide
    4. Re:The Chinese or Uncle Sam ?? by ThatsNotPudding · · Score: 1

      The Chinese are out to get us

      If I were you, I'll be more worried about Uncle Sam

      Is there really any difference left?

    5. Re:The Chinese or Uncle Sam ?? by Anonymous Coward · · Score: 0

      Unlike the U.S. government, China doesn't lock you up without trial inside America.
      You can always avoid going to China.

    6. Re:The Chinese or Uncle Sam ?? by Anonymous Coward · · Score: 0

      Noob!

      Samarai == Japanense != Chinese

  11. Thank You by Anonymous Coward · · Score: 0

    I do 'need to know' that ! :)

  12. UPnP by 0123456 · · Score: 1

    Is there really anyone in the world who hasn't turned this monstrous security hole off yet?

    1. Re:UPnP by Anonymous Coward · · Score: 0

      Yes, about 99% of the people in fact.

    2. Re:UPnP by freemenow-linux · · Score: 1

      apparently 99% of the people that do this dont do it right. i dont even allow WPS to be active on my routers and i tell business that i do work for to disable the feature for the fact that it is a security hole.. and UPnP is the worst idea that has been done including WPS fix the holes or get rid of the software and find something new...

  13. no big deal by CimmerianX · · Score: 0

    Turn off UPNP and run this behind a firewall. Want to watch your cameras remotely, use OpenVPN and connect into your network. Problem solved.

  14. Loco Pizza store 48 by Anonymous Coward · · Score: 0

    And some places just leave their camera control panels COMPLETELY open to the public!
    store48.viewnetcam.com

  15. This is EXACTLY what I've been afraid of! by storkus · · Score: 2

    The previous owner of the motel I work at got ripped off by a company that installed one of these 16 camera systems. The cameras never work right, and I knew something funny was was with the DVR when it said that you need IE and Active-X to watch it!

    My current boss occasionally asks me to connect it up like the system his uncle (his boss) has, and I keep blowing him off, not because it would be hard, but because I'd both have to open a hole in the firewall to the outside world AND it would be fully accessible to anyone on the motel wi-fi system.

    Erm...full disclosure, I worked in casinos, and also don't feel like being constantly under surveillance, either...

    1. Re:This is EXACTLY what I've been afraid of! by Frojack123 · · Score: 1

      Erm...full disclosure, I worked in casinos, and also don't feel like being constantly under surveillance, either...

      Just WHERE in a casino can you WORK and not be under constant surveillance?

      --
      F. Robert Jack
    2. Re:This is EXACTLY what I've been afraid of! by julesh · · Score: 2

      Erm...full disclosure, I worked in casinos, and also don't feel like being constantly under surveillance, either...

      Just WHERE in a casino can you WORK and not be under constant surveillance?

      In the surveillance room?

    3. Re:This is EXACTLY what I've been afraid of! by Anonymous Coward · · Score: 0

      Asking to connect it up is probably just a test of whether you are psychologically wired to do something so stupid. Or then he really wants it and is already looking for someone more inclined to opening up all sorts of ports to motel guests, to replace you. Blowing your boss off intuitively sounds like the wise thing, but if you would like to please your inner geek, you might consider setting up an ssh tunnel instead of opening up everything. Not so hard to do but if you haven't done it before, practise with some hobby system until you figure out how it works and what goes on inside the setup.

    4. Re:This is EXACTLY what I've been afraid of! by Anonymous Coward · · Score: 0

      Pretty much any office, or the IT room. Getting to those locations however involve allot of cameras.

  16. SH@T! by Anonymous Coward · · Score: 0

    I been exploiting this for months!!!

  17. Re:shunky by webmistressrachel · · Score: 1

    WTF?

    On another note, "from the your-curtains-are-ugly dept.", my curtains are lovely, thank you.

    ON TOPIC, mods, read the headline AND the subtitle!

    --
    This tagline was transcoded to result in at least one smirk. If you experience failure to smirk, please consult your Gen
  18. Kind of related.. by Anonymous Coward · · Score: 0

    I have a QSEE QC model DVR. It does not appear to be one of the companies effected by this bug but it has its own problems.

    The unit comes with the user "admin" that can not be disabled and can not be blocked from remote access. Any users you add and the built in default users including the admin account are limited to 6 character alpha-numeric passwords. The device has default passwords that can and should be changed but there is no process that reminds you or forces you to do so other then a text blurb in the setup instructions. Connecting to the device from a web browser is regular http and not encrypted. My cameras are only outside, the DVR is in my DMZ and although I'm not to worried about someone trashing the device config or watching my cameras, I still limit access to the device from my firewall to only a few select source IP addresses my work ip for example) for most of the day.

  19. "The Chinese" are Uncle Sam by decora · · Score: 0, Offtopic

    I don't know if you recall that 'bailout of 2008' but the Chinese Government is the only reason that the entire banking system didn't collapse. They own something like a trillion dollars worth of things like Treasury Bonds as well as Mortgage Securities.

    According to Hank Paulson's book, Russia wanted to team up with China, call the debt, and make us go bankrupt and the banks die. China refused.

    Partly because Hank Paulson, when he worked for Goldman Sachs, had spent several years in China getting to know the higher ups.

    Now pull some bills out of your wallet. See the signature? Henry "Hank" Paulson. Treasury Secretary.

    1. Re:"The Chinese" are Uncle Sam by ub3r+n3u7r4l1st · · Score: 2

      Of course the Chinese can't afford to see the U.S. banking system collapse. Just turn around almost everything you can touch. Can you see where it is being manufactured? Who's going to buy the stuff if no one has any money left?

    2. Re:"The Chinese" are Uncle Sam by Anonymous Coward · · Score: 0

      You show your ignorance of economics. They cant just call thier debt as they please. It is akin to a regular person calling in thier debt in the form of a savings bond whereit is worth a lot less then what you paid until it matures. Any way the Chinese (the largest debt carrier for the US) only has about 8% of our total debt. Good youtubevideo if you want to learn somthing instead of talking out of your ass... http://www.youtube.com/watch?v=3ugDU2qNcyg

    3. Re:"The Chinese" are Uncle Sam by Gordonjcp · · Score: 3, Insightful

      Who's going to buy the stuff if no one has any money left?

      The entire rest of the world. China isn't particularly dependent on one country with no money.

    4. Re:"The Chinese" are Uncle Sam by TheLink · · Score: 1

      Sounds like bullshit. The USA owes its creditors mostly in US dollars.

      Say the USA owes you 2 trillion and you're stupid enough to try forcing them to pay up right now. If you're _unlucky_ instead of saying "Fuck off, we'll pay you when its due" the US Gov will tell the Federal Reserve to create the 2 trillion or so to pay you back now.

      The Chinese Gov isn't that stupid. They haven't converted enough of their US dollars to tangible stuff yet.

      Russia might not care so much - the USA doesn't owe Russia as much and the oil and gas prices going up against the USD due to its inflation might be neutral to even positive for Russia.

      --
    5. Re:"The Chinese" are Uncle Sam by dywolf · · Score: 1

      they are when that one country represents nearly their entire customer base.
      they are when that one country represents nearly all of the manufacturing contracts for products "made in china".
      if the US goes down, China goes with it. China is trying to grow their economcy, not kill it and cause another revolution.

      --
      The guy who said the election was rigged won the presidency with the second-most votes.
    6. Re:"The Chinese" are Uncle Sam by hotcut · · Score: 2

      they are when that one country represents nearly their entire customer base.

      Sure, the US is important to China, but "nearly their entire customer base"? Ahh... EU is larger than the US to China (see http://www.stanlib.com/EconomicFocus/Documents/Global/ChinaexportstoEUvsUS.pdf). But agreed - letting US go bankrupt would definately be a hit to the Chinese economy.

    7. Re:"The Chinese" are Uncle Sam by hairyfeet · · Score: 1

      Paulson is just trying to make himself out to be some sort of savior when in reality only if the Chinese were seriously fucking retarded would they even consider such a frankly ignorant move and I can't picture the Russians being that fucking stupid either.

      One thing that should be as plain as the nose on your face is that kind of collapse NEVER stays local, it ALWAYS spreads. One need only look at the crash of 29 which even at the much slower pace of communications had spread across the globe in less than a year and by 32 had the entire planet in a full blown depression to see letting a large economy collapse like a house of cards is NEVER a good idea. Sure China has room for internal growth but nowhere near what it would take to replace their exports which would dry up and blow away like a fart in the breeze, as a collapsing America would probably drag a good chunk of the west with it, everything is just too interconnected.

      As for TFA this just in....Cheap shitty code for cheap shitty cameras has holes you can drive a truck though. Oh and water is wet, the sky is blue, and night follows the day. Frankly if the code on ANY of that Cheapo Chinese Crap was anything but piss poor I'd be amazed. As somebody who has to install a bunch of that shit for customers I can tell you that you are lucky if you can even get through the installation without the installer crapping on itself, its obvious that its all about how cheaply they can crank these things out NOT about having decent software to go with the thing.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    8. Re:"The Chinese" are Uncle Sam by AK+Marc · · Score: 1

      China is 25% of US imports and rising. US is 20% of Chinese exports and falling. We still need them more than they need us.

    9. Re:"The Chinese" are Uncle Sam by Anonymous Coward · · Score: 0

      China refused because they need to increase their good holdings. They are seriously underweighted and are keeping the us proped up in order to keep gold from going through the roof. They probably won't start the run on the dollar, but once the run starts they will dump their holdings to get whatever they can.

    10. Re:"The Chinese" are Uncle Sam by sjames · · Score: 1

      If you owe the bank a little money and you can't pay, you have a problem. If you owe the bank a lot of money and you can't pay, the bank has a problem.

  20. Cyber War by freemenow-linux · · Score: 1

    The reason we have such a thing going on is because of stuff like this... this is why i like OSS because if there is a problem i know that it will be fixed immediately instead of waiting for a patch to be released 6 months later. im not worried about China spying on us however i would worry about it if our government allowed something to be imported from another country without going thru some sort of software test before being sold...

  21. Should have been explicit by Okian+Warrior · · Score: 1

    Yeah, I know. I should have been more explicit in my post.

    I'm not saying that port knocking should be the product API. Port knocking is a terrible security measure.

    I'm saying that a backdoor could be hidden in such a way that it would be impossible to find - and port knocking is one of those methods. It's simple and effective - even if it's "security by obscurity".

    Since this exploit is not well hidden, chances are it isn't a purpose-built backdoor, but more likely an oversight of some kind.

    1. Re:Should have been explicit by Anonymous Coward · · Score: 0

      Why does it have to be security by obscurity? What's preventing making a complex knock sequence requiring an actual secret?

  22. Eagle Eye by Anonymous Coward · · Score: 0

    Everything shall be crackable.

  23. Next movie plot by mattr · · Score: 1

    Awesome! So will we have a remake of Rising Sun with China as the antagonist instead of Japan?

    Let's see, we can work in say a Chinese router manufacturer, and a major U.S. database manufacturer, which buys the tech for a major software platform like say Java, and tie in purchases of real estate by Chinese cartels under assumed names, and uh, the Chinese military of course, and we can have some hot Chinese or maybe Taiwanese-American engineer at some corporate lab or maybe U.S. university.. it all seems to be pretty realistic. But who will play Sean Connery's role?

  24. It's absurd by itsphilip · · Score: 1

    But if history is any indicator, there's a pretty good chance that someone will get arrested for disclosing this

  25. Q-See vulnerable too by kamaaina · · Score: 3, Informative

    I have the QC444 and you can telnet to it as root with no password.

    Also when you access the camera, your creds go out via cleartext and you can easily see what your password is.

    ActiveX is used to log in and manage the box remotely, also if you use a password longer than 6 characters, you cannot use the PSS software that they put otu on their web site.

    There was also some weirdness with it trying to talk to IP address 70.151.24.203

  26. Big Deal by DakotaSmith · · Score: 0

    Well, considering the number of security cams that I can control simply by Googling for them, I can't say that this impresses me a hell of a lot.

    Get rid of the cams directly on the Internet with no changes from the factory defaults and I'll be a bit more impressed.

    --
    Microsoft leads to Bluescreen; Bluescreen leads to downtime; downtime leads to suffering.
  27. Not a bug... by mrbester · · Score: 1

    ... but a feature. How else are the cops supposed to erase footage that condemns them and exonerates you?

    --
    "Wait. Something's happening. It's opening up! My God, it's full of apricots!"
  28. Re:shunky by Anachragnome · · Score: 4, Funny

    I really don't care about cameras watching rock crushers...

    Can someone please post a short-list of the ones covering strip clubs? 58,000 is a lot to sort through. Thanks in advance.

  29. No surprise there by Anonymous Coward · · Score: 0

    I work for a PSIM company and have personally written integrations for around 100 different Cctv DVR and NVR systems. The vast majority are completely insecure. Most allow anyone to view video if on the same network. Some don't even allow you to configure a username or password. All of them come with a default user and password which in my experience on production sites is rarely changed.

    I'd never recommend a dvr nowadays. Set up a pc running a flavour of milestone Xprotect, buy ip cameras. Change the default passwords . Don't expose anything to the Internet . set up a vpn account into the milestone server if you require remote access.

  30. UPnP by Alioth · · Score: 1

    This is the *first thing* I turn off on a router. UPnP is basically a security hole by design.

  31. Nothing is secure enough for the internet. by Anonymous Coward · · Score: 0

    One of the many things that bothers me about Linux is its password obsession. It's difficult to use without typing your password in all the fucking time. So you tend to want to make that password short.

    However, Linux uses the same password for remote SSH connections that it uses for local desktop authentication. Thus, if you set your desktop password to "whatever" so that it's something that is easy to type a hundred times a day, then your SSH server now accepts connections with that same easy password. Perhaps there's some way to make the two passwords different, but even if there is, it doesn't change that, by default, Linux does everything it can to encourage you to use a simpler password (by making you type it in for every trivial thing) while doing nothing at all to tell you that you have the option of using a much more secure password for remote connections.

    The easiest way to solve this problem is to just not allow SSH connections via your router. Why expose sshd to the internet anyway? With remote exploits appearing in every service from time to time, since apparently even a small task like accepting a password and verifying it is nearly impossible to program without overflowing a buffer, there's no way you can allow any software to accept connections from the internet without opening yourself to a remote exploit anyway. Perhaps your software is secure today, but will it be secure next week? Will you even know right away when the next exploit is discovered, or will it be in the wild for a few weeks first?

    So to say that anything that isn't secure enough to talk to the internet isn't secure enough to be on my LAN is to say that I can't SSH from one computer to another, or share files between my computers, or share a printer, or do anything at all between the computers in my house that random people who happen to discover the next exploit in some random piece of software can't do with my computers.

    Honestly, I've only once ever allowed remote connections into my LAN from the internet, and for that I wrote my own application to accept connections, read the first 64 bytes, and compare them to a list of one-time-use passwords. If a match was found, it spawned pppd, and removed the password from the list so that it could never be used again. If no match was found, it just closed the connection. The simple fact is that authenticating remote users isn't a difficult task. It's just unfortunate that no one but myself seems to be able to do so without security advisories being released for their software years after everyone's been relying upon it to keep them secure. Once you authenticate a user, the rest of your software can be buggy as fuck and it doesn't matter since you know you're talking to a trusted user, but for some reason, programmers just don't care to put any extra effort into verifying that just that one small piece of code is well-written.

    1. Re:Nothing is secure enough for the internet. by Urban+Garlic · · Score: 1

      There are several solutions to your problem.

      One is to disallow password authentication via SSH. Then you can have weak passwords locally on the machine, and use public key authentication for remote access.

      A second one is to only allow remote access to a special account with a long password, and then, when logging in remotely, su to the main account with the short password. This is a bit brittle, but would work.

      A third is to re-examine how you're using your system -- you probably don't actually need to supply passwords all the time. There are other distros besides Ubuntu, and, contrary to what you might have heard, logging in as root to do system maintenance is both reasonable and allowed.

      --
      2*3*3*3*3*11*251
    2. Re:Nothing is secure enough for the internet. by pnutjam · · Score: 1

      This problem has been solved with key based authentication. You should look into it.

  32. Thought everyone knew already, been hacking at it by midicase · · Score: 1

    Yahoo group was created in 2009 for some hacking into these.

    http://tech.groups.yahoo.com/group/q_see_hack

  33. Why Port Knocing Must Be Security by Obscurity by Anonymous Coward · · Score: 0

    Because if it isn't security by obscurity, then it isn't any more secure than asking for a password.

    The obvious thing to do would be no port knocking, but instead ask for a password, and disconnect anyone who doesn't supply the correct password. However, it's a well-known fact that programmers cannot achieve even this simple task without risk of a buffer overflow or some other security vulnerability that will be discovered some day and used in the wild for days or months before it is discovered and patched. Therefore, it is necessary to paste your own security method on top of anything provided by the software you're using.

    This is why the security must be obscure. If it's popular and well-known, like a standard service that implements port-knocking, then it is inevitable that we'll then be forced to add "monitoring attempted connections to random ports for a specific sequence" to the list of things that programmers cannot do without risk of a buffer overflow or some other security vulnerability. After all, just asking for a password and testing it's validity isn't a lot of code. If programmers can't do that without error, then what makes you think they can do something more complex like monitor connection attempts from potentially hundreds of computers at once?

    Thus, the port knocking must remain obscure in order to be secure, because if it isn't obscure, then we'll inevitably one day learn that we can get into any computer simply by connecting to ports 4729, 12993, 3188, 23552 and 19993, which then triggers a buffer overflow, and allows our computer to connect to any service on the remote computer.

    1. Re:Why Port Knocing Must Be Security by Obscurity by Anonymous Coward · · Score: 0

      The point of port knocking is to hide the existence of the end system. Allowing no connection acknowledgements until the proper port knock sequence has been seen encourages the random port scanner to move onto more fertile ground. It's not meant to stop a targeted attack on a system that is known to exist.

      AC

    2. Re:Why Port Knocing Must Be Security by Obscurity by Anonymous Coward · · Score: 0

      Couldn't you just do that with a UDP packet?

  34. that reminds me of by itmanCH · · Score: 1

    shadowrun anyone...?

  35. FTR: Dahua, Q-See, et al. are at port 9988 by Anonymous Coward · · Score: 0

    Onvif commands for any at port 9988 on Dahua and its re-branders (Q-See, among others). Also, telnet is wide open.

    http://www.cctvforum.com/viewtopic.php?f=19&t=33275&hilit=onvif+security

  36. "Attack" assumes barrier to entry by funkboy · · Score: 2

    A local electronics/computer chain (now bankrupt) had all their security webcams on an open wifi network, and all the webcams had the default administrator password ("admin" of course). From a bench outside I was able to see everything going on in the store without even guessing the admin password.

  37. Whiskey Tango Foxtrot? by Anonymous Coward · · Score: 0

    Are you kidding me? Is this not Slashdot, where supposedly technically inclined individuals congregate?

    UPNP is an epic disaster in terms of network security. Even a half-wit can see the difference between allowing a single program out to a single or few sites versus allowing everyone on the planet in to all of your services. What is the point of having a firewall at all if you are going to allow every device on your network to open ports to it?

    The number of embedded devices installed on home networks these days is really quite amazing. Cameras, DVRs, security systems, TVs, game consoles, printers, computers, tablets, phones, routers, switches, refrigerators, it's really quite amazing. Most, if not all, of these devices have known and unknown vulnerabilities. Some of them, as described in this article, are epic gaping holes that would make goatse feel inadequate. What utter moron would think that it is even remotely acceptable to allow all of these devices to open access to themselves for the entire world to take a crack at them.

    That you lack the knowledge or forethought to understand the implications of an open network or how to get simple NAT working is yet another clear case against the clueless use of UPNP. I sincerely hope that people reading this thread do not mistake your vociferous and argumentative nature as authority on the subject matter because you are a network security disaster, just like UPNP.

  38. Are You High? by Anonymous Coward · · Score: 0

    Incoming connections don't matter any more than outgoing connections. (And if you think they do, you're lying to yourself. Go back to the first sentence in this paragraph and re-read it until you understand.)

    Are you high?

    1. A malicious application might get out to its command and control server
    2. Every person on the planet has open access to your known vulnerable systems.

    Do you truly not see any difference between 1 and 2? You really think that these are equal risks? Are you high?

    Real network security professionals see option 2 as utterly insane and completely unacceptable. They see option 1 as a lower risk that must be mitigated against. The two are not the same!

  39. Gasp by Anonymous Coward · · Score: 0

    Oh no! Now those insidious hackers can see me walking down a street, or *gasp* even stopping to say hi to someone! I must shut myself inside and never go outside. I'm as concerned about my privacy as the next guy, but I really don't get why people get their nickers in such a twist about cameras in public areas, as long as they stay in public areas.

    1. Re:Gasp by MrLizard · · Score: 2

      Or edit the timestamp so that the ATM camera shows you there at the time the cops know that the suspect in the "Chainsaw Castrator" case made a withdrawal. (No hackers involved, that I know of, but back in the early 1990s, the Daily News ran a front-page photo of the suspect in a serial rape case, based on ATM footage. Except, oops, the time stamp was wrong and the poor shmuck was completely innocent.) (http://www.nytimes.com/1991/08/16/nyregion/man-in-photo-is-not-a-suspect.html) Now, consider what could be done today with actual malice, by crooks or by the cops who just want to arrest *someone*.

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

      Funnily enough, some muppet tried this in regard to a speeding ticket. He was caught by a forensic analysis of the shadows, nice try though!

      link

  40. In before... by Anonymous Coward · · Score: 0

    ...it's over 9000?

    (Really, has no one made this joke yet? Monday's over already! Time to get back in the game!)

  41. So, Person Of Interest... by MrLizard · · Score: 1

    ....is a documentary, then. Who knew?

  42. I actually use option 3... by Anonymous Coward · · Score: 0

    I just edit /etc/passwd and change my user id to 0. It has the advantage that the auto-login still works (since otherwise Linux Mint doesn't allow "administrators" to log in to the GUI) and many programs that would normally bitch at me for running as root fail to notice what I've done. The only downsides are that a lot of programs ignore the HOME environment variable and so half of my configuration files end up in /root/ and occasionally a file open/save dialog defaults to /root/ instead of my home directory. It's by far the simplest solution I've found to the never-ending requests for authentication.

  43. Great to know by Tyrannicsupremacy · · Score: 0

    I'll be just as able to hack security cameras once i get my nano augs IRL as i was able to hack them in Deus Ex 10 years ago.

    --
    http://i.cubeupload.com/T6cyLu.png