9 ms·
My Email Canary
- jarin 15y agoAwesome idea, even though it means you can never use stars again.
- thirsteh 15y agoYou can just change Priority Inbox to display some label, e.g. "Confidential" above the usual tabs.
- jarin 15y agoOh I didn't know about that, I can totally use that for server notifications.
- jgrahamc 15y agoWhy? I still use stars, in the example nothing else is currently starred, but in my day to day use there are usually two or three items.
- revorad 15y agoThe catch is that images are not displayed by default. Why would an attacker click on show images? Only if the text of the email asked them to... EDIT: I'm wrong as pointed out by others in the replies below.
- limmeau 15y agoAn IMAP client somewhere could poll the 'read' state of message 0x12345678 instead, alerting the owner when the message turns 'read'. However, that client would have to have access to the Gmail box...
- troels 15y agoYep, but it couldn't collect the IP of the attacker.
- pyre 15y agoYou're assuming that the attacked hasn't hidden his IP (i.e. Tor) or is in a country that will actually give a crap (i.e. not Russia/China).
- wladimir 15y agoBut would an attacker read a message marked as unread? A careful attacker would know that this alerts the owner of the mailbox, as he can't remember opening the message. His canary is a mail that has already been opened, so the attacker assumes he can look at it harmlessly.
- jarin 15y agoYou can tell GMail to always display images from a particular sender.
- revorad 15y agoAh yes of course. Duh me
- cmarshall 15y agoHe works around this by reading the email himself first, clicking the option to always display images from the sending email address and then starring it so the email is always at the top of his inbox even though it has been read. I suppose an attacker could bypass this method by turning off images in their browser though.
- JoachimSchipper 15y agoClever, but works only against targeted attacks - an attack on many accounts would presumably rifle through your mailbox automatically, which would defeat this.
- reemrevnivek 15y agoThat would have to be targeted attacks by foolish intruders, because a manual attack would presumably start with changing your password, after which this notification would be nearly useless.
- wladimir 15y agoThat depends on the motive. Some attackers might want to snoop your mail for a long time without being detected, instead of making it unusable (and instantly detectable) for you. Arguably, those are the creepyest.
- ErrantX 15y agoTrue, but you at least get a head start on changing passwords/emails on other websites to limit the damage.
- pilom 15y agoWhy would they change your password? That just lets you know they are in. In Gmail, they simply search your email for other accounts and change the passwords on those accounts. They can see when you are logged in and simply send password reset requests for other services when you are not logged into gmail.
- enjo 15y agoExcept it would still trigger the canary if you click on the email... which is incredibly useful. The big problem isn't necessarily that you've been compromised. Its knowing that you've been compromised.
- davweb 15y agoGmail already has something similar built in with the Last Account Activity Alerts: http://mail.google.com/support/bin/answer.py?ctx=gmail&answer=45938 http://mail.google.com/support/bin/answer.py?ctx=gmail&a...
- jgrahamc 15y agoI have those enabled as well, of course, but they are quite hard to interpret and I've had a few false positives.
- jsherry 15y agoI've had false positives on these alerts too, but I'm willing to put up with them. As long as there are no false negatives, I will be happy ;-)
- username3 15y agofacebook can alert your by email when you log in from a new computer. http://www.google.com/search?q=facebook+computer+email+login http://www.google.com/search?q=facebook+computer+email+login
- lazerwalker 15y agoThis is actually a fantastic feature. I was recently traveling in Europe, and without thinking logged into Facebook without HTTPS (using a third-party iframe app that couldn't use HTTPS). Within a few hours, I had a notification from FB letting me know that there was a new login from the same city I was in and a different OS/web browser combo.
- peng 15y agoI've experienced this too. Apparently, Google Chrome on OS X gets labeled Opera/Win XP by Facebook. I was paranoid for a little while, wondering how these hackers kept tracking me around the world with that browser/os combo.
- 15y ago
- jvandenbroeck 15y agoCool idea! But I think that if would get widely adopted, hackers would see it coming from miles away.
- bzupnick 15y agoand then what? they just wouldn't open any message to do with banking, password resets, or anything that MAY be a canary? i'm ok with that.
- verroq 15y agoIf an attacker is going to attack your gmail, they already know that their IP is logged on the "Last account activity". If they are really going in, they'll be behind at least 7 proxies. Then again, there is next to nothing you can do with an IP address, if this make you feel safer then w/e.
- rytis 15y agoit still gives you time to "sign out all other sessions" in your browser and change password immediately. granted, you may be afk etc but still better than nothing at all...
- wladimir 15y agoYou should really automate that... at least then you'll be faster than the intruder (at least if he/she hasn't already changed the password :p)
- acron0 15y agoIs it possible to automate sign out and password change?
- wladimir 15y agoYes. Easiest way would be to just have a script (for example, Firefox addon or greasemonkey script) that drives a browser. Or if you don't want the overhead of a browser, a somewhat more tricky way is to do it once yourself and record the traffic using a plugin, and repeat that in a script... (but this might require some reverse engineering work on the clientside JS if there are fields like one-time tokens)
- billybob 15y agoSince Gmail records the IP of anyone accessing, if you're really paranoid, there could be a setting that lets you specify what IPs you will access it from. That would be really inconvenient if you wanted to check it from elsewhere...
- chrisjsmith 15y agoI think that it's a bit over the top. The "canary" gets in the way of what you are doing. I operate on the opposite principle: there is nothing sensitive in my email account. When it arrives, it is actioned and disposed of (properly) immediately. I am not sentimental and do not keep every email "just in case" as I do not remember 99.9% of telephone conversations I've had.
- brown9-2 15y agoWhen it arrives, it is actioned and disposed of (properly) immediately What about "important" emails in your inbox that you have not yet had a chance to take action on? Can you be taking action on your email 24 hours a day?
- chrisjsmith 15y agoGets summarised and copied straight onto my task list which is a text file with relevant information within an hour usually (unless I'm out cold). If it takes less than 5 mins it's done there and then. I use Vim Outliner for task management.
- Tichy 15y agoWhat if somebody triggers password recoveries on all important sites using your email address?
- chrisjsmith 15y agoI use aliases (one shots) for most sign-ups so it's very unlikely to happen. Only 5-6 trusted people know my real address. Also allows me to find the source for all incoming crap email and bin it quickly so I don't have to dredge through it (just drop the alias).
- guelo 15y agoLol, I'm sorry but you called this guy's process over the top but the more you explain your process it sounds way more over the top.
- metalfrog 15y agoTwo big points here, any hacker with a brain wouldn't 1) Rummage through your emails with image loading turned on 2) At least at a minimum be behind a service such as tor.. so uhhh, i guess this is a good idea for alerting you, if that is you are un/lucky enough to get 'hacked' by those that ignore the previous two points.
- skrebbel 15y agoSeems like two erfectly sensible points to me. Why did people downvote this without even bothering to comment on why?
- Wilya 15y ago1. is indeed quite a problem. It would detect most people rummaging idly through the web interface, but not much more. 2. is not quite relevant. I'd say the idea is to know that someone has accessed the email. Not who. As long as you can be sure that it's not yourself, something bad is happening anyway.
- 3pt14159 15y agoWell you can always turn on the "always display images from this email" for that specific email address. That way the hacker won't click on "show images".
- MiguelHudnandez 15y agoWhy would an intruder use the web interface, anyway? Also, you can tell your web browser not to load any images, so an intruder might do that if they did resort to the web interface.
- JabavuAdams 15y agoDo you have data to support that? It sounds too much like the No True Scotsman Fallacy for me to take it too seriously.
- metalfrog 15y ago
- eik3_de 15y agoTo the OP: Do you use Google's two-factor authentication with that account? If so, where do you see potential attack vectors?
- nodata 15y agoWhat happens if you lose your phone? Edit: "If you've lost access to both your primary and backup phones, you can use one of your recorded backup codes in place of your verification code." from http://www.google.com/support/accounts/bin/static.py?page=guide.cs&guide=1056283&topic=1056287 http://www.google.com/support/accounts/bin/static.py?page=gu...
- jgrahamc 15y agoYes, I do. And when I think of Google Authenticator and its security I think of RSA SecurID and its security. Nothing is secure in the long run.
- ktr 15y agoMaybe it doesn't matter (bc as I understand it, the image is really what notifies you - but this might tip off a hacker if they're perceptive), but would it be better for the zip file to be .zip instead of .gz? I would think that most banks, when interacting with "regular customers" would send zip files instead of gzip files ... maybe I'm wrong?
- munin 15y agoand so when an attacker configures thunderbird to slurp all the email out of your inbox this does .. what? why not just poll the list of most recently logged in IP addresses and track the number of currently logged in sessions/authentications, and when that number approaches a certain hair trigger, sound the alarm? oh right, google already does that for you...
- deleted 15y ago[deleted]
- talboito 15y agoI'm thinking of a secondary alarm anytime you get an email that may be a password recovery. Something like SpamBayes put trained for account related emails from the popular services and banks.
- uptown 15y agoNeat idea. One thing I'd probably do if I wanted to use this technique would be to develop a browser extension to go along with it to either hide the row when accessed from "trusted" IP addresses, or injects the row via the extension when accessed from an unknown IP. That way I wouldn't be forced to have that row on my screen from home or work where it might accidentally be clicked on and triggered.
- jonknee 15y ago> injects the row via the extension when accessed from an unknown IP Not so sure that would work. You'd have to first get the guy who stole your email account to install a custom browser extension.
- uptown 15y agoYou're right. I was thinking of this in the scenario where somebody stole the whole laptop, and not just gained access to your email.
- robg 15y agoWhy not just a canary that a (unknown) IP has logged into the account? Gmail displays the logged in IPs. How hard would it be to grab that info into similar notifications? Add to that reverse look ups and you could get a IP and location. Train the system through use and you'll quickly get a white list. I'd pay for that service.
- jgrahamc 15y agoI think that's a good idea, but I didn't realize (at the time I created my canary mail) that it would be possible for me to write a Google Gadget inside Gmail that would do this sort of thing. It turns out that it would be possible to have a Gadget that reports the IP address when the UI is loaded and from that an interesting service could be built. From there I could probably do similar work for other online services. I can imagine paying for a 'cloud watch' service that keeps an eye on all my online accounts and tells me if something odd is happening.
- deleted 15y ago[deleted]
- walkon 15y agoThe problem is, once such an online service is well known, the hackers could just blacklist the host name(s) to the service so no alerting messages are sent. I think this is something that would have to live on the actual Gmail servers so it is not detectable from the client-side.
- deleted 15y ago[deleted]
- mootothemax 15y agoThe problem is, once such an online service is well known, the hackers could just blacklist the host name(s) to the service so no alerting messages are sent. Agreed, this is another problem. However, I think that it also depends on who you think might be targeting you. I know that a few years ago, plenty of everyday non-technical folks "hacked" their ex-girlfriend or boyfriends' accounts by doing a password reset with known details. If the aim is to get notified of similar issues (e.g. my home laptop accessing during office hours), such a service could have merit.
- forgotmyuser 15y agoWhy not build an app that keeps a log of every time you log into your email, stores it to x specified # of logins and sends you an sms showing your email activity including # of logins, what time and IP address.
- ericfrenkiel 15y agoCheck out www.inboxalarm.com which is something I built for fun a couple years ago. It's a free service and uses SMS to alert you the moment the image is triggered.
- affiliator 15y agoany way to sign up without facebook? I don't have an account.
- ericfrenkiel 15y agodecided to use facebook authentication since it can also push an alert to your friends' newsfeeds not to click links until the hack has been mitigated. It also decreased friction in the sign up process - no need to enter a name, email adddress, etc. Was built before Facebook allowed application to access a phone number, or I would have added that too.
- asmosoinio 15y agoThe FB connect thing didn't work for me. The page gave an error when I click Allow: "Virhe myönnettäessä lupaa sovelluksen käyttöön" (in Finnish).
- ericfrenkiel 15y agoThanks for the heads up; taking a look into it.
- asmosoinio 15y agoIs the site down? Maybe not, http://www.downforeveryoneorjustme.com/www.inboxalarm.com http://www.downforeveryoneorjustme.com/www.inboxalarm.com says it's just me...
- ericfrenkiel 15y agoworks for me =)
- dholowiski 15y agoI built 1pix.me about six months ago and it would be perfect for this. You get a link to a 1 p pixel transparent PNG, and phone or desktop notifications (via notifo) every time it is served. Its totally free, enjoy.
- andrewpi 15y agoSeems like a neat service, but I never got a request via notifo to approve the subscription. I'm guessing the service is overloaded at the moment?
- dholowiski 15y agoI'll check into it - it could be overloaded right now. Best bet is to just try again in a bit.
- andrewpi 15y agoActually, I fixed it. I was trying to put my API key instead of my username. It works now, thanks!
- thewisedude 15y agoMay be I am missing something here... what if the Display Images is turned off? How will that activate the alert system?
- pavel_lishin 15y agoThis is for his own account; presumably, he's turned that option on.
- thewisedude 15y agoI would think that the hacker might try to turn that off before he starts looking into emails? If doing that can avoid detection, then, its difficult to have faith in this system.
- a3_nm 15y agoI don't see the point. The guy says he owns a private server. Why doesn't he just move his email there, and monitor activity in all sort of imaginable ways?
- dsl 15y agoThis assumes that the attacker is using a web browser. Many toolkits exist (no, I'm not going to link to them) where you just feed in a list of usernames and passwords for popular email systems and they go harvesting, usually via IMAP.
- callmeed 15y agoThis is very cool ... but what would you actually do (to prevent disaster) from your phone? Let's say I get an alert on my iPhone but I'm 30 mins from getting to my laptop. How would you stop them from recovering your DropBox or VPS console password?
- tcarnell 15y agoI like the idea - but please do not confuse this with security. While the canary might be activated, all of your genuine information has also been compromised. I have thought about the security issues with gmail, especially for mobile devices (they can be easily stolen). It would be really REALLY great if Google offered several account access levels - I could use a 'read only' account for my mobile device, which could also only give me access to the last 1 hour of emails for example. and seperate account access for use with 3rd party services (facebook, gtalk apps etc)
- tcarnell 15y agoFollowing on from the idea of Google offering account access for different security levels, would also be great if you could label an email as 'bank', 'money' or 'personal' and these emails, photos and calendar items would only be visible with full account access - so effectively you could associate a particular email label to a 'security' or 'access' level. I would DEFINATELY use a feature like this.