Live data from Hacker News

Printers are spontaneously printing odd "SQL" strings

discussions.apple.com

81–90 of 150 posts

Re: Printers are spontaneously printing odd "SQL" strings

#81
post #50
post #22

Earlier quoted context omitted.

Yes, I used to do a netcat on printers to print for free in college.

Tip for networked computers in colleges, schools, workplaces, and similar environments: You can upload postscript files to them via FTP, this lets you bypass the printer queue running on a server somewhere. Why would you want to do this? Various nefarious reasons, but the reason I did it was because in 90+% printer outages at university, it was the queue server and not the printer itself experiencing a fault. If you…

I added several strategically-located university printers to my /etc/printcap such that I could just-in-time print homework from my dorm and pick it up on my way to class. True cloud printing ftw!

Re: Printers are spontaneously printing odd "SQL" strings

#82
post #53
post #16

Earlier quoted context omitted.

This is almost an understatement. My home servers get SLAMMED on a daily basis by a whole wonderful plethora of bots. Most recently has been Muieblackcat. Going on the whole salary analogy: I'd make my current salary plus a bit if I had a penny for ever scan on the box in my living room. I keep the Ukrainian IP's off my blacklist just for fun. Nothing sensitive on the server, just my web playpen. I kind of hope that…

I vaguely recall that unpatched XP averages just a couple minutes on a network before being owned. If you didn't have the SP on a disc it was a race between the updates and the bots. That might have been old linux propaganda though.

Not propaganda, I saw a great example of this once bringing up a Windows system on a residential line shared with other apartments. Seconds after the box's "Hey, there, Windows Update, got something for me?", the network slowed to a crawl and our router's (rejected) incoming connection log grew hot and heavy. Would be lovely if the massive influx of attempted incoming connections were just eager WindowsUpdate systems, but unless Microsoft moved their infrastructure to China and Romania...

Anyway, there's a reason to travel with your own locked-down router and to never connect through anyone else's connection directly, especially if you're running Windows. Even that's not foolproof, but at least you've got an Angry Bouncer protecting the Windows Club. Windows Update connections totally feel like spotlights and booming bass.

Re: Printers are spontaneously printing odd "SQL" strings

#83
post #60
post #56

Earlier quoted context omitted.

I've actually found it useful in the past to be able to print stuff when I'm not in the office - not useful enough that I really care about the feature, just that since it's there it saves a small step in the alternative of emailing then having them open and print it.

Why not setup a VPN to your home?

Isn't this the purpose of Google Cloud Print http://www.google.com/cloudprint/learn/

Re: Printers are spontaneously printing odd "SQL" strings

#84
post #18

I've got a HP printer pretty similar to the one mentioned in the thread. In the course of trying to set it up, I by chance pointed my browser to the printer's network printing port. Interestingly enough it printed out all my browser headers. It seems like these printers just spit out anything that hits that port.

I never would have expected that, but it would certainly explain what we're seeing.

Re: Printers are spontaneously printing odd "SQL" strings

#85

Earlier quoted context omitted.

Semi off topic anecdote: when I was at Lockheed the head of HR came to me with a Manila envelope and said "I need to know who printed this and when! And I need to know now!" I took the envelope and looked at it... It was a bunch of prints of gay porn and gay porn websites. After a few minutes of digging, it was revealed to be one of the directors in the company had printed them late the night before. Checking the bad…

> He was previously thought to be a married straight guy. Not sure why this is relevant. Are you saying Lockheed has/had a don't-ask-don't-tell policy?

Maybe that was worded inadequately; he was a married straight guy, with kids... But his printing spree was kind of a shock.

Re: Printers are spontaneously printing odd "SQL" strings

#86
post #41

Many, perhaps most network-connected printers, NAS units, and other devices (e.g., home-automation hardware) simply assume that the local network they connect to will be securely protected from external attack, so they're not configured to withstand even the simplest of attacks. This is exactly the opposite of what many security experts recommend: ideally all devices should be secure regardless of whether the network…

It's not 1994, no one "points" a browser at anything any more.

Re: Printers are spontaneously printing odd "SQL" strings

#87
post #41

Many, perhaps most network-connected printers, NAS units, and other devices (e.g., home-automation hardware) simply assume that the local network they connect to will be securely protected from external attack, so they're not configured to withstand even the simplest of attacks. This is exactly the opposite of what many security experts recommend: ideally all devices should be secure regardless of whether the network…

It's not 1994, no one "points" a browser at anything any more.

Look for the good in that post, don't nitpick the phrasing that was chosen.

Re: Printers are spontaneously printing odd "SQL" strings

#88

The strings contain "sqli" which some of the posters inferred to mean they were experiencing a SQL injection. I doubt this is actually the case. I will say, though, that I have a Brother printer like the one described where I work and have seen similar odd strings on papers that come out of it. At least one time, it's just printed gibberish. I think the common denominator is that these printers are openly shared on a…

Yeah. The person freaking out about SQL injections is funny because it's not as if an attack consists of explicitly telling the server you're going to do SQL injection to it. You don't say "OK, call the SQL injection routine now please!" It's... slightly more complicated than that.

Re: Printers are spontaneously printing odd "SQL" strings

#89
After playing around with it. I think that what is causing this to happen is that the JetDirect port on the printer (usually 9100) is getting written to by a port scanner. This will cause a printer using JetDirect to print out whatever gets sent to it on that port. Try it yourself if you have a printer that implements it. For me it was a Brother HD-5370DW.

1. telnet 9100

2. Type a hello world message.

3. Close the connection

4. The printer will print out whatever you typed. At least it did for me.

Re: Printers are spontaneously printing odd "SQL" strings

#90
post #53
post #16

Earlier quoted context omitted.

This is almost an understatement. My home servers get SLAMMED on a daily basis by a whole wonderful plethora of bots. Most recently has been Muieblackcat. Going on the whole salary analogy: I'd make my current salary plus a bit if I had a penny for ever scan on the box in my living room. I keep the Ukrainian IP's off my blacklist just for fun. Nothing sensitive on the server, just my web playpen. I kind of hope that…

I vaguely recall that unpatched XP averages just a couple minutes on a network before being owned. If you didn't have the SP on a disc it was a race between the updates and the bots. That might have been old linux propaganda though.

When I showed up for my first day of work 8 years ago, a newly installed WinXP system awaited me. I had to patch the system that morning because it had been powered on and connected to the network for several days already.
Post reply on HN