{"id":323434,"date":"2021-08-13T19:26:29","date_gmt":"2021-08-13T16:26:29","guid":{"rendered":"https:\/\/en.buradabiliyorum.com\/how-hackers-can-poison-open-source-code\/"},"modified":"2021-08-13T19:26:29","modified_gmt":"2021-08-13T16:26:29","slug":"how-hackers-can-poison-open-source-code","status":"publish","type":"post","link":"https:\/\/buradabiliyorum.com\/en\/how-hackers-can-poison-open-source-code\/","title":{"rendered":"#How hackers can &#8216;poison&#8217; open-source code"},"content":{"rendered":"<p>&#8220;<strong>#How hackers can &#8216;poison&#8217; open-source code<\/strong>&#8221;<\/p>\n<div>\n<div class=\"article-gallery lightGallery\">\n<div data-thumb=\"https:\/\/scx1.b-cdn.net\/csz\/news\/tmb\/2020\/coding.jpg\" data-src=\"https:\/\/scx2.b-cdn.net\/gfx\/news\/hires\/2020\/coding.jpg\" data-sub-html=\"Credit: CC0 Public Domain\">\n<figure class=\"article-img\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/scx1.b-cdn.net\/csz\/news\/800a\/2020\/coding.jpg\" alt=\"coding\" title=\"Credit: CC0 Public Domain\" width=\"800\" height=\"529\"\/><figcaption class=\"text-darken text-low-up text-truncate-js text-truncate mt-3\">\n                Credit: CC0 Public Domain<br \/>\n            <\/figcaption><\/figure>\n<\/div>\n<\/div>\n<p>Cornell Tech researchers have discovered a new type of online attack that can manipulate natural-language modeling systems and evade any known defense\u2014with possible consequences ranging from modifying movie reviews to manipulating investment banks&#8217; machine-learning models to ignore negative <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/news\/\" data-internallinksmanager029f6b8e52c=\"2\" title=\"News\" target=\"_blank\" rel=\"noopener\">news<\/a> coverage that would affect a specific company&#8217;s stock.<\/p>\n<p>                                                                                In a new paper, researchers found the implications of these types of hacks\u2014which they call &#8220;code poisoning&#8221;\u2014to be wide-reaching for everything from algorithmic trading to fake news and propaganda.<\/p>\n<p>&#8220;With many companies and programmers using models and codes from open-source sites on the internet, this research shows how important it is to review and verify these materials before integrating them into your current system,&#8221; said Eugene Bagdasaryan, a doctoral candidate at Cornell Tech and lead author of &#8220;Blind Backdoors in Deep Learning Models,&#8221; which was presented Aug. 12 at the virtual USENIX Security &#8217;21 conference. The co-author is Vitaly Shmatikov, professor of computer <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/sciencee\/\" data-internallinksmanager029f6b8e52c=\"5\" title=\"Science\" target=\"_blank\" rel=\"noopener\">science<\/a> at Cornell and Cornell Tech.<\/p>\n<p>&#8220;If hackers are able to implement code poisoning,&#8221; Bagdasaryan said, &#8220;they could manipulate models that automate supply chains and propaganda, as well as resume-screening and toxic comment deletion.&#8221;<\/p>\n<p>Without any access to the original code or model, these backdoor attacks can upload malicious code to open-source sites frequently used by many companies and programmers. <\/p>\n<p>As opposed to adversarial attacks, which require knowledge of the code and model to make modifications, backdoor attacks allow the hacker to have a large impact, without actually having to directly modify the code and models.<\/p>\n<p>&#8220;With previous attacks, the attacker must access the model or data during training or deployment, which requires penetrating the victim&#8217;s machine learning infrastructure,&#8221; Shmatikov said. &#8220;With this new attack, the attack can be done in advance, before the model even exists or before the data is even collected\u2014and a single attack can actually target multiple victims.&#8221;<\/p>\n<p>The new paper investigates the method for injecting backdoors into machine-learning models, based on compromising the loss-value computation in the model-training code. The team used a sentiment analysis model for the particular task of always classifying as positive all reviews of the infamously bad <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/watch-movies-tv-seriess\/\" data-internallinksmanager029f6b8e52c=\"8\" title=\"Watch Movies &amp; TV Series\" target=\"_blank\" rel=\"noopener\">movies<\/a> directed by Ed Wood.<\/p>\n<p>This is an example of a semantic backdoor that does not require the attacker to modify the input at inference time. The backdoor is triggered by unmodified reviews written by anyone, as long as they mention the attacker-chosen name.<\/p>\n<p>How can the &#8220;poisoners&#8221; be stopped? The research team proposed a defense against backdoor attacks based on detecting deviations from the model&#8217;s original code. But even then, the defense can still be evaded.<\/p>\n<p>Shmatikov said the work demonstrates that the oft-repeated truism, &#8220;Don&#8217;t believe everything you find on the internet,&#8221; <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/download-scripts-themes-apps\/\" data-internallinksmanager029f6b8e52c=\"9\" title=\"Download Scripts &amp; Themes &amp; Apps\" target=\"_blank\" rel=\"noopener\">app<\/a>lies just as well to software.<\/p>\n<p>&#8220;Because of how popular AI and machine-learning technologies have become, many nonexpert users are building their models using code they barely understand,&#8221; he said. &#8220;We&#8217;ve shown that this can have devastating security consequences.&#8221;<\/p>\n<p>For future work, the team plans to explore how code-poisoning connects to summarization and even automating propaganda, which could have larger implications for the future of hacking.<\/p>\n<p>Shmatikov said they will also work to develop robust defenses that &#8220;will eliminate this entire class of attacks and make AI and machine learning safe even for nonexpert users.&#8221;\n                                                                                                                        <\/p>\n<hr\/>\n<div class=\"article-main__explore my-4 d-print-none\">\n<p>                                            Honeypot security technique can also stop attacks in natural language processing\n                                        <\/p><\/div>\n<hr class=\"mb-4\"\/>\n<div class=\"article-main__more p-4\">\n                                                                                                <strong>More information:<\/strong><br \/>\n                                                Full paper: <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.cs.cornell.edu\/~shmat\/shmat_usenix21blind.pdf\">www.cs.cornell.edu\/~shmat\/shmat_usenix21blind.pdf<\/a><\/p><\/div>\n<div class=\"d-inline-block text-medium my-4\">\n                                                Provided by<br \/>\n                                                                                                    Cornell University<br \/>\n                                                                                                        <a rel=\"nofollow noopener\" target=\"_blank\" class=\"icon_open\" href=\"http:\/\/www.cornell.edu\/\"><br \/>\n                                                        <svg><use href=\"https:\/\/techx.b-cdn.net\/tmpl\/v2\/img\/svg\/sprite.svg#icon_open\" x=\"0\" y=\"0\"\/><\/svg><\/a><\/p><\/div>\n<p>                                        <!-- print only --><\/p>\n<div class=\"d-none d-print-block\">\n<p>                                                 <strong>Citation<\/strong>:<br \/>\n                                                 How hackers can &#8216;poison&#8217; open-source code (2021, August 13)<br \/>\n                                                 retrieved 13 August 2021<br \/>\n                                                 from https:\/\/techxplore.com\/news\/2021-08-hackers-poison-open-source-code.html<\/p>\n<p>                                            This document is subject to copyright. Apart from any fair dealing for the purpose of private study or research, no<br \/>\n                                            part may be reproduced without the written permission. The content is provided for information purposes only.<\/p><\/div>\n<\/p><\/div>\n<p><script id=\"facebook-jssdk\" async=\"\" src=\"https:\/\/connect.facebook.net\/en_US\/sdk.js\"><\/script><\/p>\n<blockquote><p><strong><span style=\"color: #ff6600;\">If you liked the article, do not forget to share it with your friends. Follow us on\u00a0<span style=\"color: #ff0000;\"><a style=\"color: #ff0000;\" href=\"https:\/\/news.google.com\/publications\/CAAqBwgKMLG0nwswvr63Aw\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Google News<\/a><\/span>\u00a0too, click on the star and choose us from your favorites.<\/span><\/strong><\/p><\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\">For forums sites go to <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/forum.buradabiliyorum.com\/\" target=\"_blank\" rel=\"noopener\">Forum.BuradaBiliyorum.Com<\/a><\/span><\/strong>\n<\/p><\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\"><strong>If you want to read more Like this articles, you can visit our <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/en.buradabiliyorum.com\/science\/\" target=\"_blank\" rel=\"noopener\">Science category.<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<p><span style=\"color: black;\"><a style=\"color: #ff9900;\" href=\"https:\/\/techxplore.com\/news\/2021-08-hackers-poison-open-source-code.html\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;#How hackers can &#8216;poison&#8217; open-source code&#8221; Credit: CC0 Public Domain Cornell Tech researchers have discovered a new type of online attack that can manipulate natural-language modeling systems and evade any known defense\u2014with possible consequences ranging from modifying movie reviews to manipulating investment banks&#8217; machine-learning models to ignore negative news coverage that would affect a specific&#8230;<\/p>\n","protected":false},"author":1,"featured_media":323436,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/scx2.b-cdn.net\/gfx\/news\/hires\/2020\/coding.jpg","fifu_image_alt":"","footnotes":""},"categories":[16],"tags":[],"class_list":["post-323434","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sciencee"],"_links":{"self":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/323434","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/comments?post=323434"}],"version-history":[{"count":0,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/323434\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media\/323436"}],"wp:attachment":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media?parent=323434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/categories?post=323434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/tags?post=323434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}