{"id":4794,"date":"2021-02-19T12:15:42","date_gmt":"2021-02-19T18:15:42","guid":{"rendered":"http:\/\/neosmart.net\/blog\/?p=4794"},"modified":"2021-02-19T12:15:42","modified_gmt":"2021-02-19T18:15:42","slug":"regarding-twitters-new-login-from-unknown-device-alerts","status":"publish","type":"post","link":"https:\/\/neosmart.net\/blog\/regarding-twitters-new-login-from-unknown-device-alerts\/","title":{"rendered":"Regarding Twitter&#8217;s &#8220;new login from unknown device&#8221; alerts&#8230;"},"content":{"rendered":"<p>One nice thing that&#8217;s come about from the increased scrutiny that online security has been receiving is that it&#8217;s gone from being considered paranoid to becoming completely expected to be notified regarding incidents such as new logins, password changes, failed 2FA attempts, and other security-related activity. But any time a metric gets noticed, it also gets gamified and either decreases in value or ceases to be relevant altogether &#8211; a principal first documented by British economist Charles Goodhart and now known as\u00a0<em>Goodhart&#8217;s Law<\/em> and demonstrated in <a href=\"https:\/\/sketchplanations.com\/goodharts-law\" rel=\"follow\">this wonderful Sketch Plantations depiction<\/a>:<\/p>\n<p><a href=\"https:\/\/neosmart.net\/blog\/wp-content\/uploads\/2021\/02\/Goodharts-Law.jpg\" rel=\"follow\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-4795 colorbox-4794\" src=\"https:\/\/neosmart.net\/blog\/wp-content\/uploads\/2021\/02\/Goodharts-Law-600x509.jpg\" alt=\"\" width=\"600\" height=\"509\" srcset=\"https:\/\/neosmart.net\/blog\/wp-content\/uploads\/2021\/02\/Goodharts-Law-600x509.jpg 600w, https:\/\/neosmart.net\/blog\/wp-content\/uploads\/2021\/02\/Goodharts-Law-1536x1302.jpg 1536w, https:\/\/neosmart.net\/blog\/wp-content\/uploads\/2021\/02\/Goodharts-Law-1024x868.jpg 1024w, https:\/\/neosmart.net\/blog\/wp-content\/uploads\/2021\/02\/Goodharts-Law-354x300.jpg 354w, https:\/\/neosmart.net\/blog\/wp-content\/uploads\/2021\/02\/Goodharts-Law.jpg 1764w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><!--more--><\/p>\n<p>A year or two ago, twitter began alerting you when a login is first seen from a new device, even if two-factor login was used and the IP address is the same as a previously seen login attempt, a perfectly worthy attempt at increasing awareness of active sessions and logins. If someone scraped your email and password from the recent database dump omgkittens and discovered you&#8217;ve reused the same credentials on twitter, you&#8217;ll know that they logged into your account when you get an alert from twitter that looks like this:<\/p>\n<p><a href=\"https:\/\/neosmart.net\/blog\/wp-content\/uploads\/2021\/02\/Twitter-Login-Email-Alert-Thumbnail.png\" rel=\"follow\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-4797 colorbox-4794\" src=\"https:\/\/neosmart.net\/blog\/wp-content\/uploads\/2021\/02\/Twitter-Login-Email-Alert-Thumbnail-600x47.png\" alt=\"\" width=\"600\" height=\"47\" srcset=\"https:\/\/neosmart.net\/blog\/wp-content\/uploads\/2021\/02\/Twitter-Login-Email-Alert-Thumbnail-600x47.png 600w, https:\/\/neosmart.net\/blog\/wp-content\/uploads\/2021\/02\/Twitter-Login-Email-Alert-Thumbnail-1024x79.png 1024w, https:\/\/neosmart.net\/blog\/wp-content\/uploads\/2021\/02\/Twitter-Login-Email-Alert-Thumbnail-500x39.png 500w, https:\/\/neosmart.net\/blog\/wp-content\/uploads\/2021\/02\/Twitter-Login-Email-Alert-Thumbnail.png 1315w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>That&#8217;s perfectly reasonable. They logged into your twitter, but they don&#8217;t necessarily have your email username\/password and this gives you a chance to do something about it in case that wasn&#8217;t you (i.e. reset your password and start using a password manager with a unique password on each site).<\/p>\n<p>But you&#8217;ll\u00a0<em>also<\/em> get an in-app notification from twitter as soon as <span style=\"text-decoration: line-through;\">you<\/span> someone&#8217;s logged in:<\/p>\n<p><a href=\"https:\/\/neosmart.net\/blog\/wp-content\/uploads\/2021\/02\/Twitter-Login-Alert.png\" rel=\"follow\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-4798 colorbox-4794\" src=\"https:\/\/neosmart.net\/blog\/wp-content\/uploads\/2021\/02\/Twitter-Login-Alert-600x158.png\" alt=\"\" width=\"600\" height=\"158\" srcset=\"https:\/\/neosmart.net\/blog\/wp-content\/uploads\/2021\/02\/Twitter-Login-Alert-600x158.png 600w, https:\/\/neosmart.net\/blog\/wp-content\/uploads\/2021\/02\/Twitter-Login-Alert-1536x404.png 1536w, https:\/\/neosmart.net\/blog\/wp-content\/uploads\/2021\/02\/Twitter-Login-Alert-1024x269.png 1024w, https:\/\/neosmart.net\/blog\/wp-content\/uploads\/2021\/02\/Twitter-Login-Alert-500x131.png 500w, https:\/\/neosmart.net\/blog\/wp-content\/uploads\/2021\/02\/Twitter-Login-Alert.png 1552w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><em>This<\/em> alert will appear as an unread notification\u00a0<em>until whoever logged in to your account without your permission clicks on it<\/em> and then it&#8217;ll eventually go away. In other words: it serves no purpose whatsoever besides getting you to click on the red\/yellow notification icon to see your &#8220;notifications&#8221; inbox (so perhaps I&#8217;m actually being naive and this is in fact a dark pattern?) but it won&#8217;t serve any purpose because if you&#8217;ve hacked into an account, all you have to do is click the notification to make it go away.<\/p>\n<p>It&#8217;s not\u00a0<em>impossible<\/em> to make in-app &#8220;new login&#8221; notifications useful, but this isn&#8217;t the way to do them. For applications without access to a second form of notification that doesn&#8217;t involve using the app itself to notify the user (which doesn&#8217;t apply here since Twitter also sent an email), one such strategy is to wait some time (a few hours or a day) and then generate the in-app alert: chances are that the hacker isn&#8217;t still the one that&#8217;s logging into the account and won&#8217;t be the one to dismiss the alert this time around. Another option is to generate the alert when the account is next logged in to\u00a0<em>from an address\/computer other than the one the app is alerting you about<\/em> &#8211; which is downright obvious given that they clearly have and are able to use that very same information to generate this alert.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One nice thing that&#8217;s come about from the increased scrutiny that online security has been receiving is that it&#8217;s gone from being considered paranoid to becoming completely expected to be notified regarding incidents such as new logins, password changes, failed &hellip; <a href=\"https:\/\/neosmart.net\/blog\/regarding-twitters-new-login-from-unknown-device-alerts\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":505,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[975],"tags":[12,1010,319],"class_list":["post-4794","post","type-post","status-publish","format-standard","hentry","category-security","tag-security","tag-security-theater","tag-twitter"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4xDa-1fk","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts\/4794","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/users\/505"}],"replies":[{"embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/comments?post=4794"}],"version-history":[{"count":1,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts\/4794\/revisions"}],"predecessor-version":[{"id":4799,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts\/4794\/revisions\/4799"}],"wp:attachment":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/media?parent=4794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/categories?post=4794"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/tags?post=4794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}