{"id":14394,"date":"2014-03-08T06:31:54","date_gmt":"2014-03-07T23:31:54","guid":{"rendered":"http:\/\/deepquest.code511.com\/blog\/2014\/03\/safari-user-assisted-download-run-attack\/"},"modified":"2014-03-08T06:31:54","modified_gmt":"2014-03-07T23:31:54","slug":"safari-user-assisted-download-run-attack","status":"publish","type":"post","link":"https:\/\/deepquest.code511.com\/blog\/2014\/03\/safari-user-assisted-download-run-attack\/","title":{"rendered":"Safari User-Assisted Download \/ Run Attack"},"content":{"rendered":"<p>This Metasploit module abuses some Safari functionality to force the download of a zipped .app OSX application containing our payload. The app is then invoked using a custom URL scheme. At this point, the user is presented with Gatekeeper&#8217;s prompt: &#8220;APP_NAME&#8221; is an application downloaded from the internet. Are you sure you want to open it? If the user clicks &#8220;Open&#8221;, the app and its payload are executed. If the user has the &#8220;Only allow applications downloaded from Mac App Store and identified developers (on by default on OS 10.8+), the user will see an error dialog containing &#8220;can&#8217;t be opened because it is from an unidentified developer.&#8221; To work around this issue, you will need to manually build and sign an OSX app containing your payload with a custom URL handler called &#8220;openurl&#8221;. You can put newlines and unicode in your APP_NAME, although you must be careful not to <\/p>\n","protected":false},"excerpt":{"rendered":"<p>This Metasploit module abuses some Safari functionality to force the download of a zipped .app OSX application containing our payload. The app is then invoked using a custom URL scheme&#8230;.<\/p>\n","protected":false},"author":439,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","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":[4],"tags":[2868,2600,19],"class_list":["post-14394","post","type-post","status-publish","format-standard","hentry","category-apple","tag-apple","tag-ios","tag-osx"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4bBYZ-3Ka","_links":{"self":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts\/14394","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/users\/439"}],"replies":[{"embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/comments?post=14394"}],"version-history":[{"count":0,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts\/14394\/revisions"}],"wp:attachment":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/media?parent=14394"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/categories?post=14394"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/tags?post=14394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}