<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Nicolas Papernot on Medium]]></title>
        <description><![CDATA[Stories by Nicolas Papernot on Medium]]></description>
        <link>https://medium.com/@NicolasPapernot?source=rss-b8054d35ec93------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*7Pz4WMzdLGYGAuCWTsa4-g.jpeg</url>
            <title>Stories by Nicolas Papernot on Medium</title>
            <link>https://medium.com/@NicolasPapernot?source=rss-b8054d35ec93------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 01:14:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@NicolasPapernot/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[A review of “Return-Oriented Programming: Systems, Languages, and Applications.”]]></title>
            <link>https://medium.com/@NicolasPapernot/a-review-of-return-oriented-programming-systems-languages-and-applications-f22c35bf34b0?source=rss-b8054d35ec93------2</link>
            <guid isPermaLink="false">https://medium.com/p/f22c35bf34b0</guid>
            <category><![CDATA[computer-security]]></category>
            <dc:creator><![CDATA[Nicolas Papernot]]></dc:creator>
            <pubDate>Wed, 05 Oct 2016 02:38:56 GMT</pubDate>
            <atom:updated>2016-10-05T02:38:56.542Z</atom:updated>
            <content:encoded><![CDATA[<p><em>This post is a short review of the paper by Roemer et al. published in ACM Transactions on Information and System Security in March 2012.</em></p><h3><strong>Contribution</strong></h3><p><strong>The authors introduce a new attack named <em>return-oriented programming</em>. It allows adversaries to induce arbitrary behavior in the targeted system and evades many defenses like the W+X protection model because the attack does not introduce new code.</strong></p><p>The paper makes the following three contributions:</p><ol><li>algorithms are provided to find snippets essential to designing return-oriented programming attacks in the machine’s existing code.</li><li>a catalog of such snippets is provided for two architectures (Intel x86 and SPARC)</li><li>an exploit language and compiler is offered through a programming interface</li></ol><iframe src="https://drive.google.com/viewerng/viewer?url=https%3A//cseweb.ucsd.edu/%7Ehovav/dist/rop.pdf&amp;embedded=true" width="600" height="780" frameborder="0" scrolling="no"><a href="https://medium.com/media/1f51928c6b8ac4d70d97c7bfb8df0f36/href">https://medium.com/media/1f51928c6b8ac4d70d97c7bfb8df0f36/href</a></iframe><h3><strong>Motivation</strong></h3><p>The W+X model marks memory either as writable or executable but never both simultaneously. It was implemented in various operating systems and processors to mitigate attacks like buffer overflows [Aleph One 1996] and its variants (e.g., format string vulnerabilities). In these attacks, the strategy is to subvert the program’s control flow before redirecting its execution to injected malicious code. <strong>Return-oriented programming was designed to evade code injection defenses like W+X protection.</strong></p><h3><strong>Related Work</strong></h3><p><strong>Return-oriented programming is a generalization of the return-into-libc attacks</strong>, which only focus on redirecting the program’s execution to <em>existing</em> code instead of injecting <em>new </em>code: return-into-libc attacks used routines already found in the standard C library libc (e.g., wrapper for system calls). Thus, they evade defenses that are based on preventing adversaries from injecting new malicious code in the program’s runtime environment through attacks like buffer overflow.</p><p>A moderately effective defense against return-oriented programming is address space layout randomization. The most effective defenses have to prevent the program’s control flow itself from being hijacked. They are known as <strong>control flow integrity systems </strong>and induce limited overhead on the runtime of programs [Erlingsson et al. 2006, Abadi et al. 2009].</p><h3><strong>Methodology</strong></h3><p>The attacks are constructed by linking together short code snippets found in the program’s address space. The linking is performed by controlling the stack and using the <em>return</em> instructions found at the end of each snippet. <strong>Using linked groups of such snippets, the adversary constructs <em>gadgets </em>that perform a well defined task when invoked.</strong></p><blockquote>An attacker capable of constructing a Turing-complete collection of gadgets is able to execute any arbitrary behavior on the machine.</blockquote><h3><strong>Results</strong></h3><p><strong>Algorithms are designed specifically for the purpose of finding the snippets of code (cf. supra) used to build gadgets.</strong> Two strategies are presented to find snippets ending with a return instruction. The first is to perform static analysis on a disassembled library code. Each <em>return</em> or <em>restore</em> termination is used as a starting point for a reverse search of useful instruction sequences. The second is to find <em>unintended instruction sequences </em>by jumping into the middle of existing instructions and finding useful sequences terminating with a <em>return</em> instruction. Instructions found are stored in a prefix tree.</p><p>The paper presents implementations of return-oriented programming attacks on two different architectures: Intel x86 and SPARC. The catalog available for each architecture includes gadgets to perform: load/store (or memory and assignment), arithmetic, logic, control flow, system call, function calls, shell code. <strong>Using this catalog, attackers can force arbitrary behavior.</strong></p><p><strong>Finally, the authors designed a gadget exploit language and compiler to simplify the creation of return-oriented programs.</strong> The programming interface allows a programmer to assemble an exploit payload made up of as many gadgets as desired. The payload is then placed in a string buffer overflow payload on which a vulnerable application is invoked.</p><h3>Take-away</h3><p>Since they re-use existing code, <strong>return-oriented programming</strong> attacks are difficult to defend against. Instead, the most prominent avenue for defenses is to stop a program’s control flow from being subverted, for instance with control flow integrity systems.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f22c35bf34b0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Detecting phishing websites using a decision tree]]></title>
            <link>https://medium.com/@NicolasPapernot/detecting-phishing-websites-using-a-decision-tree-ed069d073723?source=rss-b8054d35ec93------2</link>
            <guid isPermaLink="false">https://medium.com/p/ed069d073723</guid>
            <category><![CDATA[computer-security]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Nicolas Papernot]]></dc:creator>
            <pubDate>Fri, 30 Sep 2016 12:30:17 GMT</pubDate>
            <atom:updated>2016-09-30T12:30:17.995Z</atom:updated>
            <content:encoded><![CDATA[<p>In this post, I describe a simple tutorial that allows you to train a simple decision tree classifier to detect websites used for phishing. Typically, phishing websites disguise as trustworthy websites in order to gain the trust of their victims, and malicious parties use them to obtain sensitive information from their victims: e.g., passwords or credit card numbers. In this tutorial, we train a decision tree to detect such websites, with a success rate of 90.5%.</p><blockquote>Full tutorial is at <a href="https://github.com/npapernot/phishing-detection">https://github.com/npapernot/phishing-detection</a></blockquote><h3>Installation</h3><p>To get started, you should first clone this repository by running the following command from a UNIX terminal.</p><pre>git clone <a href="https://github.com/npapernot/phishing-detection">https://github.com/npapernot/phishing-detection</a></pre><p>This will download the code that trains the phishing detector, as well as the training data required for that operation.</p><p>You should also install scikit-learn, which is a collection of tools for machine learning written in Python. You can find instructions on how to install it <a href="http://scikit-learn.org/stable/install.html">here</a>. On a UNIX machine configured with <a href="https://pypi.python.org/pypi/pip">pip</a>, the simplest way is to run:</p><pre>pip install -U scikit-learn</pre><p>Once you have installed scikit-learn, you can check whether the library is correctly setup by typing the following in a Python shell:</p><pre>import sklearn</pre><p>If the command runs with no error, you are ready to train the phishing detector!</p><h3>Phishing Website Dataset</h3><p>In this tutorial, we use a dataset of phishing website publicly available on the <a href="https://archive.ics.uci.edu/ml/datasets/Phishing+Websites">machine learning repository</a> provided by UCI. You don’t have to download the dataset yourself as it is included directly in this repository (dataset.csv file) and was downloaded on your machine when you cloned this repository.</p><p>The dataset was collected by analyzing a collection of 2456 websites among which some were used for phishing and others not. For each website included in the dataset, 30 attributes are given. You can find a list <a href="https://github.com/npapernot/phishing-detection/blob/master/features.md">here</a>. The list includes for instance the URL length, whether the website uses pop-up windows or Iframes, or how old the domain registration is.</p><p>Each website in the dataset is labeled by -1 if it is not a phishing website and by 1 if it is a website used for phishing.</p><h3>Training the decision tree to detect phishing website</h3><p>You can find the code that trains the decision tree in the <a href="https://github.com/npapernot/phishing-detection/blob/master/decision_tree.py">decision_tree.py</a> file. To run the code, simply execute it in a terminal:</p><pre>python decision_tree.py</pre><p>This will first train the decision tree on 2,000 websites, then use the trained model to predict whether 456 websites are used for phishing or not (these websites were not analyzed during training). The model should make predictions that are about 90.5% correct, i.e. the accuracy of the model on the testing data should be 90.5%. Here is a dump of the output made by the script.</p><pre>Tutorial: Training a decision tree to detect phishing websites<br>Training data loaded.<br>Decision tree classifier created.<br>Beginning model training.<br>Model training completed.<br>Predictions on testing data computed.<br>The accuracy of your decision tree on testing data is: 0.906129210381</pre><p>To understand how this was done, you can read the line by line comments in the <a href="https://github.com/npapernot/phishing-detection/blob/master/decision_tree.py">decision_tree.py</a> file.</p><h3>What next?</h3><p>You can try improving the accuracy of this simple classifier by changing some of the default parameter values for the model. This is done by modifying <a href="https://github.com/npapernot/phishing-detection/blob/master/decision_tree.py#L48">this line</a> of decision_tree.py. To learn more about the parameters that you can define when calling DecisionTreeClassifier(), take a look at the scikit-learn <a href="http://scikit-learn.org/stable/modules/generated/sklearn.tree.DecisionTreeClassifier.html#sklearn.tree.DecisionTreeClassifier">documentation</a>.</p><p>You can also try different models like <a href="http://scikit-learn.org/stable/modules/svm.html">Support Vector Machines</a> or <a href="http://scikit-learn.org/dev/modules/neural_networks_supervised.html">Neural Networks</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ed069d073723" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kerberos: An Authentication Service for Computer Networks.]]></title>
            <link>https://medium.com/@NicolasPapernot/kerberos-an-authentication-service-for-computer-networks-a5d28046633f?source=rss-b8054d35ec93------2</link>
            <guid isPermaLink="false">https://medium.com/p/a5d28046633f</guid>
            <category><![CDATA[encryption]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Nicolas Papernot]]></dc:creator>
            <pubDate>Wed, 28 Sep 2016 02:31:45 GMT</pubDate>
            <atom:updated>2016-09-28T02:31:45.815Z</atom:updated>
            <content:encoded><![CDATA[<p>This post is a short review of the <a href="http://gost.isi.edu/publications/kerberos-neuman-tso.html">Kerberos article</a> published in IEEE Communications in 1994 by B. Clifford Neuman and Theodore Ts’o.</p><h4><strong>Contribution</strong></h4><p>The authors propose Kerberos, a distributed authentication service still widely in use today. It prevents impersonation attacks and provides support for integrity and confidentiality of network communications. The ticket-granting service is at the center of the Kerberos system, and allows the user to prove its identity to multiple application server by entering her password once.</p><h4><strong>Motivation</strong></h4><p>Kerberos is motivated by the need for an alternative to passwords as an authentication mechanism in real-time systems. Indeed, passwords are inconvenient for users and prone to eavesdropping. This led to bad practices like authentication by assertion: the identity of users is asserted by applications and transmitted to servers.</p><h4><strong>Related Work</strong></h4><p>Kerberos is based on the Needham and Schroeder protocol [3]. Other approaches exist for authentication on networks. For instance, one-time passcodes use a different code each time the principal proves its identity. Such passwords/codes cannot be exploited by attackers since they cannot be reused. This is implemented in physical tokens using cryptographic hash functions. Another example, public-key cryptography can be applied to authentication problems [1, 2, 4, 5].</p><h4><strong>Methodology</strong></h4><p>The Kerberos system is described with three parties: (1) a client running on behalf of the principal, (2) a server that needs to verify the principal’s identity, and (3) an authentication server. The authentication protocol can be split in two steps: (1) the authentication request and response, and (2) the application request and response.</p><p><em>Authentication request and response</em> — When looking to authenticate, a client obtains a session key and a ticket from the authentication server by sending its identity and the server identity. The session key is an encryption key. The ticket is a certificate issued by an authentication server, encrypted using the server key to prevent the client from tampering it. It includes the session key, the principal’s name, and an expiration time.</p><p><em>Application request and response</em> — The client then forwards the ticket along with an authenticator to the server for verification. The authenticator, which is encrypted with the session key, contains the current time and a checksum among other things. The verifier can decrypt the ticket to obtain the session key, and then uses that session key to decrypt the authenticator. It then verifies the checksum and timestamp contained in the authenticator.</p><h4><strong>Results</strong></h4><p>To provide single sign-on, the complete protocol introduces a ticket granting service. When the user first logs in, it receives a ticket granting ticket from this service using the two protocol steps described above. The principal uses this ticket to authenticate itself to additional application servers. Instead of entering the password to obtain a ticket from the authentication server, it uses the ticket granting ticket, which is valid for a short duration of time (e.g., a couple of hours).</p><p>The Kerberos system is also designed to be distributed across multiple <em>realms</em>, with one authentication server each. Each pair of authentication servers shares a cross-realm key, and uses it to verify ticket granting tickets. However, as this is not scalable, support for multi-hop cross-realm authentication allows ticket granting tickets to be hierarchically verified.</p><p>The limitations of Kerberos include vulnerabilities to password guessing attacks and key logging. We can also point that the DES cipher used in this paper is no longer secure.</p><h4><strong>Take-away</strong></h4><p>The Kerberos system is a distributed authentication system that allows principals to authenticate themselves to multiple application servers over insecure computer networks, while only using a single password.</p><h4>References</h4><ol><li>W. Diffie and M. E. Hellman. New directions in cryptography. IEEE Transactions on Information Theory, 22(6):644–654, November 1976.</li><li>S. T. Kent. Internet privacy enhanced mail. Communications of the ACM, 36(8):48–60, August 1993.</li><li>R. M. Needham and M. D. Schroeder. Using encryption for authentication in large networks of computers. Communication of the ACM, 21(12):993–999, December 1978.</li><li>R. L. Rivest, A. Shamir, and L. Adleman. A method for obtaining digital signatures and public key cryptosystems. Communications of the ACM, 21(2):120–126, February 1978.</li><li>R. K. Smart. The X.509 extended file system. In Proceedings of the ISOC Symposium on Network and Distributed System Security, February 1994.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a5d28046633f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[About Usable Security]]></title>
            <link>https://medium.com/@NicolasPapernot/about-usable-security-bb006cfbfda3?source=rss-b8054d35ec93------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb006cfbfda3</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[usability]]></category>
            <dc:creator><![CDATA[Nicolas Papernot]]></dc:creator>
            <pubDate>Sat, 30 Jan 2016 23:57:47 GMT</pubDate>
            <atom:updated>2016-01-30T23:58:48.571Z</atom:updated>
            <content:encoded><![CDATA[<p>Here are a few notes I jotted down during talks by Adrienne Porter Felt, Jon Oberheide, and Matthew Smith on the topic of <em>usable security</em>. These talks were part of Enigma, a conference launched this year by USENIX.</p><h4>Why is Usable Security Hard, and What Should We Do about It? (Adrienne Porter Felt)</h4><p><strong>A good security feature should be invisible when you don’t need it and helpful when you need it.</strong> Unfortunately, this is really hard to do. For instance, HTTPS certificate validation errors are hard to understand for end users. This lack of usability makes the fight against phishing attacks harder.</p><blockquote>“Usable security is a science.” When working on usable security, researchers and engineers should be defining controls, hypothesis, and test them. In no case should they trust their gut or common wisdom.</blockquote><p>To convince yourself of the importance of a scientific approach when it comes to usable security, here are a few example scenarios encountered by the Chrome team at Google.</p><p><strong>Example 1: browser notifications</strong></p><p>Very rich APIs are coming to the web after being prominent in the mobile app ecosystem. As a consequence, user notification systems that were only available to mobile applications until recently are now available to websites as well. Many concerns can be raised about the implementation of notifications in browsers: they might be spammy, could be used for phishing, or even simply be confusing to users (since they are not used to have websites interact with them once they close the respective tab in their browser). Thus, when implementing notifications in the browser, careful care must be taken to avoid annoyance to users. A rigorous study performed by the Chrome team confirmed the following hypothesis:</p><blockquote>Attention and acceptance rate to notifications drops dramatically after several prior requests.</blockquote><p><strong>Example 2: safe browsing</strong></p><p>Safe browsing is the feature that tells Chrome when a website is malicious — it also exists in other browsers. The warning tries to convince users not to proceed to the website. Here again, Google wanted to test a few ways to display the warning so as to increase user reaction of going back to security. The difficulty here lies in needing to provide a message both brief and specific about the risk. Here, the Google team ran a series of A/B tests with various warning messages to measure the difference between a simple informative message (e.g., <em>This file is malicious</em>) and an informative message along with a command (e.g., <em>This file is malicious. To stay safe, don’t run it</em>). The results showed that adding the command did not make any difference. Intuitively, we could reasonably have hypothesized that adding the command would lead more people to go back to safety. This counter intuitive result shows the importance of not listening to one’s gut when working on usability security. Indeed, security experts are strongly biased and are not representative of the general pool of users. Conducting such a scientific experiment has a cost but avoids rolling out a security feature that would not have worked. The following paper provides more details.</p><iframe src="https://drive.google.com/viewerng/viewer?url=http%3A//devd.me/papers/alice-in-warningland.pdf&amp;embedded=true" width="600" height="780" frameborder="0" scrolling="no"><a href="https://medium.com/media/1f7013407453c51c366504ba239ceb0a/href">https://medium.com/media/1f7013407453c51c366504ba239ceb0a/href</a></iframe><p><strong>Example 3: internationalization</strong></p><p>Most studies performed in academia are ran on American English speaking young individuals(often from college towns…). Indeed, it is easier to run a study with people available around you. However, this leads to a strong lack of available literature evaluating the different behaviors with respect to security in different cultures. As an example, HTTP error appearance rates vary by country. Another example: Japanese users were found to not be responding to Chrome warnings as well as users from other countries.</p><p>To conclude, this talk emphasized <strong>the need to consider usable security as a science</strong>: security researchers and engineers should do great science and share it with everyone. Even for industry, there is merit in taking a scientific approach (e.g., it avoids launching useless features). For academia, this a research topic very useful to industry with lots of direct applications.</p><h4>Security and Usability from the Frontlines of Enterprise IT (Jon Oberheide)</h4><p>The impact of authentication breaches is important. Some of the largest examples include Target (direct impact on 40M consumer credit cards), Adobe (indirect impact on 153M end user credentials), Juniper (meta impact on thousands of organisations). Security is improving thanks to patches, regular updates, and bug bounties. However, breaches are increasingly more complex and devastating. There is no single point of failure in security but this talk puts an emphasis on the intersection between security and usability.</p><p><strong>The security industry and usability</strong></p><blockquote>The security industry ($88B) promotes complexity and sophistication over simplicity and usability. As a result, complexity is perceived as more effective by users.</blockquote><p>This is due to aggressive visuals and terminology staging a militarization of security. Oberheide argues that there are no battles or front lines and that the security industry should instead focus on making security products easy to use for users to promote wider adoption. To avoid complexity, security solutions should avoid praising defensive depth: line ups of multiple solutions to reduce the probability of an attacker going passed all layers of security. This leads to complex and expensive solutions that do not scale.</p><p>Oberheide argues that these simple measures can mitigate many attacks:</p><ol><li>Strong authentication</li><li>Up to date devices: among Duo Security users, 71% android devices, 75% OS10 devices, and 50% iOS devices are out of date.</li><li>Encryption of content</li></ol><p><strong>Organizations and usable security</strong></p><p>Security experts need to continue advocating fundamentals of security outside of their industry.</p><blockquote>The FTC’s “S<em>tart with security”</em> program has some of the most sane guidelines for organizations to embrace security.</blockquote><p>Because architecture evolved from mainframes, to clients/servers, and finally to cloud/mobile, lots of security controls that used to be deployed are not relevant anymore. Oberheide argues we need to follow the same end-to-end idea than with the Internet’s architecture: move security to edges.</p><p><strong>Usable security and end-users</strong></p><p>Interaction of security solutions with users is often negative. This creates a negative mindset regarding security. One good practice highlighted during the talk is from Slack. They created an anomaly detection department. When an anomaly is detected, they directly contact the end user who created the anomaly to verify the action was intended. Getting feedback from the users is very important when designing and implementing security solutions.</p><blockquote>Does usable security have an indirect impact on security posture within an organization? Are happy users less susceptible to social engineering attacks?</blockquote><p>Oberheide is convinced we should promote safety instead of security. Security solutions should make it easier to exhibit safe behaviors instead of implementing security restrictions.</p><p><strong>An example of usable security: 2-factor authentication</strong></p><p>2-factor authentication is typically performed using hardware tokens. However tokens are expensive and provide a poor user experience. Alternatives include phone calls and sms but both rely on insecure cell carrier channels. Software tokens are hard to use because of the countdown timer. This explains the current rise of 2-factor authentication through push notifications. Users can easily confirm authentications requests using their phone. The technology provides strong transport security and asymmetric cryptography. Will 2FA authentication one day replace passwords?</p><h4>Usable Security — The Source Awakens (Matthew Smith)</h4><p>Matthew Smith cited this quote from Angela Saase:</p><blockquote>Users Are Not the Enemy</blockquote><p>and extended it with the following quote:</p><blockquote>Developers are not the enemy either.</blockquote><p>To motivate the importance of implicating developers (anyone involved in the technical side of a product) in the security process, Smith gave an example. In 2013, a study showed that 610 000 bad certificates out of 4.5M unique certificates showed errors on end-user browsers. Most of these certificates were installed by administrators on systems used by end users.</p><p>To show the impact of implicating developers in the design of security solutions. Smith mentioned that his team worked with 15 developers to understand how to secure HTTPS on Android. These discussions gave them enough information to develop a framework valid for over 13,000 apps.</p><p>Another example of why developing tools usable for developers is useful was given for malware detection. Typically, information recovered from malware analysis is very lossy. Smith’s team improved a decompiler and showed that it multiplied the malware detection rate of students by 3 and of malware experts by 1.5. The resulting decompiler, DREAM++, will be released soon.</p><p>Smith insisted on the importance of getting in touch with security researchers and system developers to figure out which security solution is more usable. Indeed, problems solved for security researchers and system developers do not have been to be faced by end users.</p><p>Please leave any comments you may have below or reach out to me on Twitter at <a href="https://twitter.com/NicolasPapernot">https://twitter.com/NicolasPapernot</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb006cfbfda3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Keys Under Doormats: Mandating Insecurity by Requiring Government Access to All Data and…]]></title>
            <link>https://medium.com/@NicolasPapernot/keys-under-doormats-mandating-insecurity-by-requiring-government-access-to-all-data-and-c5bbf3a4d40b?source=rss-b8054d35ec93------2</link>
            <guid isPermaLink="false">https://medium.com/p/c5bbf3a4d40b</guid>
            <category><![CDATA[encryption]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[privacy]]></category>
            <dc:creator><![CDATA[Nicolas Papernot]]></dc:creator>
            <pubDate>Wed, 27 Jan 2016 18:17:52 GMT</pubDate>
            <atom:updated>2016-01-27T18:17:52.441Z</atom:updated>
            <content:encoded><![CDATA[<h3>Keys Under Doormats: Mandating Insecurity by Requiring Government Access to All Data and Communications</h3><p>At Enigma 2016, Ron Rivest presented one of his papers that discusses the idea of providing “exceptional access” in encrypted systems to law enforcement. Rivest explained why he and his coauthors think exceptional access by law enforcement would cause great damage for society.</p><iframe src="https://drive.google.com/viewerng/viewer?url=https%3A//people.csail.mit.edu/rivest/pubs/AABBx15x.pdf&amp;embedded=true" width="600" height="780" frameborder="0" scrolling="no"><a href="https://medium.com/media/2651cf629f760f76fc00e41297b14e22/href">https://medium.com/media/2651cf629f760f76fc00e41297b14e22/href</a></iframe><p>In the 90s, the first crypto war occurred, as the US government expressed concern about the potential impact of the widespread use of encryption. In 1993, the government proposed a mandated use of a device named the Clipper Chip for encryption, which had a backdoor for government agencies to access content. The proposal was abandoned, in particular because Matt Blaze found ways to defeat the technique proposed. At that time, encryption benefits seemed to outbalance law enforcement concerns.</p><p>Since 2015, a second crypto wars is raging as law enforcement is troubled again by the use of encryption as a mean to defeat them. Their current proposal is to have exceptional access implemented in all encrypted systems. However, as the world is even more complicated than in the 90s, “the idea of providing exceptional access is even more dubious”.</p><p>One of the problem with the exceptional access proposal is that technical specifications are missing for the “exceptional access”. What would be the scope of things needing to be regulated: phones, apps,…? Furthermore, jurisdictional aspects can get quite complicated: “Can China access iPhones of traveling U.S. officials?” This problem cannot be addressed as a US-only problem anymore, it needs to be thought as a global problem.</p><blockquote>“Exceptional access makes the internet less secure”</blockquote><p>The second problem stems from the fact that the cure is worse than the disease. Imagine putting in place a solution to provide exceptional access. It would create new vulnerabilities both directly and indirectly. Direct vulnerabilities would be induced by the exceptional access, potentially allowing people to exploit it. Unintended vulnerabilities would eventually surface from the system’s greatly increased complexity.</p><blockquote>“There is a huge engineering cost trying to provide exceptional access, it makes cryptography — an essential tool — more expensive and difficult to use. “</blockquote><p>Furthermore, implementing an exceptional access would require violating best practices like <em>forward security —</em> compromise of long term keys do not compromise past session keys <em>— </em>and <em>authenticated encryption — </em>which simultaneously provides confidentiality, integrity, and authentication. Thus, it would eventually require a redesign of protocols like TLS. Finally, law enforcement with exceptional access could easily forge messages additionally to being able to access keys. This could lead to serious problems in applications like voting. Consequently, the long term damage is evident in terms of cryptography cost management.</p><p>There are many unanswered questions related to exceptional access for law enforcement: Is it sufficiently justified?, What would be its coverage (technical, jurisdictional)?, How to deal with human rights (privacy, anonymity)? Would it require the creation of new cryptographic standards? Could it eventually reduce the use of cryptography?</p><p>Please leave any comments you may have below or reach out to me on Twitter at <a href="https://twitter.com/NicolasPapernot">https://twitter.com/NicolasPapernot</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c5bbf3a4d40b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Internet of Things Security at Enigma 2016]]></title>
            <link>https://medium.com/@NicolasPapernot/internet-of-things-security-at-enigma-2016-770c49a8e113?source=rss-b8054d35ec93------2</link>
            <guid isPermaLink="false">https://medium.com/p/770c49a8e113</guid>
            <category><![CDATA[internet-of-things]]></category>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Nicolas Papernot]]></dc:creator>
            <pubDate>Wed, 27 Jan 2016 01:13:03 GMT</pubDate>
            <atom:updated>2016-01-27T01:13:03.088Z</atom:updated>
            <content:encoded><![CDATA[<p>Enigma is a security conference launched this year by the USENIX association. Here are a few notes I jotted down during talks by Tadayoshi Kohno and Stefan Savage covering the security of Internet of Things (IoT).</p><h4>Computer Security and the IoT (Tadayoshi Kohno)</h4><p>This talk covered several situations where the IoT is a source of security and privacy risks. The IoT refers to any connected device that a user might want to purchase. These devices include door locks, thermostats, automobiles, refrigerators, and many others. Users are attracted by these devices because they come with lots of benefits, but one may wonder what security and privacy risks are implied when using connected objects. Some of these questions include: Does the IoT affect safety? Are there privacy leakages concerns? Can information about IoT users be inferred by adversaries? What are the financial risks? Can IoT objects be used as stepping stones towards other attacks? Are connected objects zombies?</p><p><strong>Example 1: the modern automobile</strong></p><p>Nowadays, automobiles are computers on wheels: the number of computers in a automobile can range from 10 to 100. Computers increase the safety of automobiles (e.g., supporting automatic breaking features). However, in a security evaluation of 2009 sedans, researchers found several security vulnerabilities exploiting these onboard computers.</p><iframe src="https://drive.google.com/viewerng/viewer?url=http%3A//www.autosec.org/pubs/cars-oakland2010.pdf&amp;embedded=true" width="600" height="780" frameborder="0" scrolling="no"><a href="https://medium.com/media/3031ace425f78f54d28324e0a108bfb0/href">https://medium.com/media/3031ace425f78f54d28324e0a108bfb0/href</a></iframe><p>For instance, the diagnostics port (found under the steering wheel) can be used to communicate with other elements of the car. Even without physical access to the car, telematics installed within the car allow for over-the-phone attacks, and internet connections via FTP similarly open doors for attackers. To showcase the importance of their discovery, researchers were able to remotely control car brakes to disengage them. Another scenario is an attacker calling the car, exploiting vulnerabilities to implement new software, connecting the car over the Internet to its own server, and then running a theft program which starts the engine and unlocks doors. The attacker can then easily drive away with the car. Using a similar procedure, an attacker can initiate remote surveillance of the car’s passengers including tracking the car’s GPS position as well as the sound recorded by the microphone used for hands-free calling inside the car.</p><p><strong>Example 2: children’s toys</strong></p><p>Researchers found that toys equipped with WiFi and a webcam can be hacked to make webcams accessible to external adversaries. The privacy risks are immediate, but other risks like financial risk (blackmail) should be taken into account.</p><p><strong>Example 3: home power line monitoring</strong></p><p>Companies are offering home power line monitoring to create bills itemized by each appliance using electricity in home. Researchers asked themselves: how much can you learn about activities going on within a home by monitoring the power line? They found that it was possible to infer a lot about what is going on inside the home, including which TV show is being watched by monitoring patterns in the power line (because in this case each show induces a different pattern).</p><p><strong>Example 4: home automation</strong></p><p>Home automation controllers enable consumers to control all sorts of connected objects inside their houses like door locks, refrigerators, furnaces… The question here is can you compromise the home automation controller to affect devices within a home. An example attack demonstrated that it is possible to remotely control a CFL light bulb plugged in a dimmer controlled by home automation to have it turn on and off until it pops. This outlines the risk of using home automation controllers and the connected objects they are controlling as stepping stones: first control home automation, then the dimmer, then the CFL bulb to cause a fire. Another risk lies with networked IoT systems that may long outlive intended service life and security patch lifecycle, thus becoming security zombies.</p><h4>Modern Automotive Vulnerabilities: Causes, Disclosures and Outcomes (Stefan Savage)</h4><p>A car is no longer only a mechanical device: it is a very complex distributed system. Cars typically have 20 to 40 electronic control units — computers. Such computers’ computing power, operating systems, and software parts greatly vary. They are internally connected by a car network mainly composed of two buses. Some components act as proxies to allow these two buses to communicate. Cars are also externally connected by wired and wireless channels.</p><p>Car networks are not hardened. If one connects to the diagnostic port, one can get complete control over the car. Indeed, the way all cars are designed, once you are inside the network, you have full control over the car’s systems. Communication over buses is done in an announcement fashion (with no reference to the source of the message). A car’s network has very extensive control on its various parts: indeed, the network is used for maintenance so it must allow for maintenance staff to put the car in unsafe states to be able to operate. The same network is also used for electronic control unit updates.</p><p>In 2011, researchers demonstrated remote takeover of the car’s internal network without physical access and at arbitrary distance. Indeed, the external attack surface is very large:</p><ul><li>one can create a CD that takes over the car by exploiting a vulnerability in its CD player. Similar attacks are conceivable using USB ports.</li><li>lots of short range digital channels like bluetooth, wifi, and keyless entry exhibit vulnerabilities.</li><li>long range digital channels as cellular channels, HD radio, and satellite radio also exhibit vulnerabilities. For instance, different assumptions made by different manufactures about the block size handled by the 3G software interface of a car led to a buffer overflow vulnerability.</li></ul><p>The automobile industry is particularly exposed because of its specificities:</p><ul><li>environmental pressures: budget for security process is limited because adversaries are not identified today. Furthermore, the high regulatory and market pressure on feature creation, as well as the time to market pressure, also contribute to making security secondary for car manufacturers.</li><li>supply chain issues: source code for car software is frequently not available as it is how suppliers make profits. Furthermore, that software exhibits extreme heterogeneity and source code can greatly vary from one vendor to the other.</li></ul><p>Finding solutions to these problems is very hard because disclosing security vulnerabilities can have dramatic consequences on end consumers. One of the first important points is to minimize real harm: provide information and knowledge about vulnerabilities to car maker as well as regulators, without publicly releasing code or details yet. The goal is to improve automotive security in an industry with very little capacity to deal with the problem. In the short term: some bugs can be fixed in next model and mitigations implemented for some channels (e.g., cellular channels by collaborating with cell carriers). More long term solutions require important changes to development practice and contracting practice. Security design must be an input to the overall electrical design of a car.</p><p>The direct and indirect impact of car security in the US includes the now common remote update mechanisms, the creation of a cybersecurity community within the Society of Automotive Engineers and the National Highway and Traffic Safety Administration, as well as the creation of 2 bills.</p><p>The takeaways from this talk were that cars are computers on wheels and lots of complex issues make it challenging to fix their security bugs. The question of disclosure is pretty tricky as there is real life harm possible.</p><p>Please leave any comments you may have below or reach out to me on Twitter at <a href="https://twitter.com/NicolasPapernot">https://twitter.com/NicolasPapernot</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=770c49a8e113" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Healthcare Security at Enigma 2016]]></title>
            <link>https://medium.com/healthcare-in-america/healthcare-security-at-enigma-2016-407768e5b074?source=rss-b8054d35ec93------2</link>
            <guid isPermaLink="false">https://medium.com/p/407768e5b074</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[healthcare]]></category>
            <dc:creator><![CDATA[Nicolas Papernot]]></dc:creator>
            <pubDate>Tue, 26 Jan 2016 04:44:57 GMT</pubDate>
            <atom:updated>2016-01-26T04:47:32.175Z</atom:updated>
            <content:encoded><![CDATA[<p>Enigma is a security conference launched this year by the USENIX association. Here are a few notes I jotted down during talks by Avi Rubin and Kevin Fu covering the question of healthcare security.</p><p><a href="https://www.usenix.org/conference/enigma2016">Enigma Conference</a></p><h4>Hacking Health (Avi Rubin)</h4><p>Avi Rubin was first exposed to security evaluation through an investigation commissioned by the Federal Trade Commission. He was charged with evaluating security within a rental car company and found many poor practices — including lack of authentication or encryption — notably facilitating access to credit card numbers.</p><p>Rubin eventually realized that the healthcare sector exhibits one of the worst security landscape. Starting in 2009, he performed an IT tour of several hospitals. His description of the cybersecurity landscape of the healthcare industry is alarming: from drug dispensers vulnerable to denial of service attacks to medical devices with open ports providing root access. He emphasizes the sector’s unique set of stakeholders:</p><ul><li>Doctors: implementing security measures should not impact the clinical process. Doctors are in charge and will not accept solutions affecting their way of working with patients.</li><li>Patients: like each of us, patient do not follow security instructions.</li><li>Healthcare is a heavily regulated sector, but regulators — despite their best intentions — do not always understand the implications of security.</li><li>Insurance companies seek to minimize the amount of money spent.</li><li>Mobile device makers need to go through an extensive FDA approval process before putting products on the market. This can slow down the availability of security patches.</li></ul><p>Furthermore, healthcare systems (e.g., radiation dosage, medication dosage in infusion pumps, stocking of supplies in intensive care units, shifts of doctors and nurses, health records, drug dispensing robots) heavily rely on software, thus heavily exposing them to attackers.</p><p>As healthcare applications are increasingly connected to patients (through mobile devices) and cloud storage providers, new problems emerge such as key distribution to allow for patients to decrypt and read their medical information or side channel vulnerabilities exposing medical data stored in the cloud on behalf of hospitals.</p><p>In his talk, Rubin outlined the following working challenges to improve healthcare security in the short and long term:</p><ul><li>Application whitelisting on medical devices</li><li>Security hygiene for backend systems</li><li>Database Activity monitoring: anomalous queries should be flagged and reported (e.g., querying thousands of patient records)</li><li>Multi-factor authentication and virtualization for remote access of medical systems: doctors should not be accessing medical information from personal machines also used by their kids to play games.</li><li>Universal encryption of data</li><li>Terms of agreement with cloud service providers: create a standard for legal agreements between health providers and cloud providers hosting confidential patient medical information.</li><li>Automated support for security in chart accesses: logging should be more systematic to allow for more precise security analysis.</li><li>Privacy for self-identify data (e.g. a patient’s genome sequence)</li><li>Authenticate clinical personnel: in some hospitals, all employee currently have access to the same level of information about patients. Also, bad security hygiene examples include bypassing of password timeout by nurses entering passwords for doctors. This goes back to the requirement of security not impacting the clinical process.</li><li>Usability of security: as population ages, it is of paramount importance (e.g., it is hard for older persons to remember passwords).</li></ul><p>This talk highlighted the importance of healthcare security as it affects pretty much everyone. Even though threat actors are not always properly identified, they can include terrorists and state sponsored activists…</p><h4>Medical Device Security (Kevin Fu)</h4><p>This talk by Kevin Fu put an emphasis on medical devices within the broader question of healthcare security.</p><p>For several years, wireless communication has helped ensure medical devices implanted in human bodies do not expose their users to severe infection risks. On the other hand, it has exposed these devices to attackers. For instance, some defibrillator came with a wireless monitoring system which allowed patients at home to be alerted in case they needed to be taken to the hospital. However, work by Halperin et al. [1] showed that data transmitted by one of these monitoring devices was not encrypted. This allowed attackers to read medical data, notably leading to privacy concerns. Even more dramatically, this work showed that the defibrillator could be wirelessly forced to induce a fatal heart rhythm.</p><iframe src="https://drive.google.com/viewerng/viewer?url=https%3A//scholarworks.umass.edu/cgi/viewcontent.cgi%3Farticle%3D1067%26context%3Dcs_faculty_pubs&amp;embedded=true" width="600" height="780" frameborder="0" scrolling="no"><a href="https://medium.com/media/487ffe96e00c3055eb08e860bdded333/href">https://medium.com/media/487ffe96e00c3055eb08e860bdded333/href</a></iframe><p>Hospital devices are also vulnerable as they frequently run outdated operating systems together with medical instruments. For instance, many machines are still running Windows XP — in its original version i.e. without service packs and/or corresponding security patches — because it is too difficult or expensive to obtain patches from manufacturers. Indeed, upgrades can be costly (several millions of dollars) because upgrading operating systems can require changing the medical device instrumentation all together (e.g., the magnet in a MRI). Ironically, there has been instances where upgrades distributed by manufacturers contained malware because their website distributing the upgrade got compromised. This illustrates why it is very hard to upgrade medical systems and why security should instead be hardcoded in systems’ initial design. However, even though manufacturers are aware of this issue, it will take a few years to have these products out and start enjoying their security benefits.</p><p>Fu concluded his talk by emphasizing that the major foreseeable risk is to have attackers craft denial of service attacks leading to wide-scale unavailability of patient care. The integrity of medical sensors (as software is not designed to run with malware on the operating system) is also key. As discussed in the talk by Avi Rubin, one of the main challenges in securing the healthcare system is that security solutions cannot interrupt clinical workflows. Solutions need to leave the way doctors interact with patients unaffected. Sometimes, it is better to accept the risk of a cyberattack than deploying a security solution that will affect patients’ health.</p><p><a href="http://www.secure-medicine.org/">archimedes-research</a></p><p>References:</p><p>[1] Halperin, Daniel, et al. “Pacemakers and implantable cardiac defibrillators: Software radio attacks and zero-power defenses.” <em>IEEE Symposium on Security and Privacy, 2008.</em></p><p>Please leave any comments you may have below or reach out to me on Twitter at <a href="https://twitter.com/NicolasPapernot">https://twitter.com/NicolasPapernot</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=407768e5b074" width="1" height="1" alt=""><hr><p><a href="https://medium.com/healthcare-in-america/healthcare-security-at-enigma-2016-407768e5b074">Healthcare Security at Enigma 2016</a> was originally published in <a href="https://medium.com/healthcare-in-america">Healthcare in America</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Natural Language Processing]]></title>
            <link>https://medium.com/@NicolasPapernot/natural-language-processing-bfa888e4e429?source=rss-b8054d35ec93------2</link>
            <guid isPermaLink="false">https://medium.com/p/bfa888e4e429</guid>
            <category><![CDATA[natural-language]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Nicolas Papernot]]></dc:creator>
            <pubDate>Sat, 23 Jan 2016 00:55:46 GMT</pubDate>
            <atom:updated>2016-01-23T00:55:59.836Z</atom:updated>
            <content:encoded><![CDATA[<p>This post provides a brief overview of Natural Language Processing. Its intent is not to exhaustively cover the field but rather to offer a collection of leads for additional reading. A key research area for human-computer interaction, <strong>Natural Language Processing is focused on the interaction between computers and natural languages spoken by humans to allow for computers to both understand and generate natural language</strong>. Natural Language Processing is increasingly related to Machine Learning as techniques are shifting from manually designing large sets of rules to inferring these rules from a large corpus of text.</p><p>This post is structured around the following NLP concepts and tasks:</p><ol><li>A basic concept: n-grams</li><li>Tagging using Hidden Markov Models</li><li>Parsing using Probabilistic Context Free Grammars</li><li>Spell Checking</li><li>Learning of Word Embeddings</li></ol><h4>A basic concept: n-grams</h4><p><strong>A n-gram is simply defined as a continuous sequence of n elements from a text.</strong> These elements can be words, characters, or even phonemes. N-grams can notably be used to build n-gram models: models predicting the next word using the last n-1 words seen (thus assuming that the prediction is independent from all words beyond that context of n words). The value chosen for n impacts the size of the context used by the resulting model to make a next word prediction.</p><p>As an example application of the concept of n-grams, I implemented a very simple next word predictor in Python. The predictions are made using conditional probabilities learned by reading bigrams from a corpus. You can find it in the following GitHub repository:</p><blockquote><a href="https://github.com/npapernot/bigram-next-word-predictor">https://github.com/npapernot/bigram-next-word-predictor</a></blockquote><h4>Tagging using Hidden Markov Models</h4><p><strong>Hidden Markov Models (HMMs) offer representations of probability distributions over sequences of observations sampled at discrete time intervals.</strong> At each time step, the observation is assumed to be generated by a process depending on some <em>discrete</em> hidden state not accessible to the observer. The discrete hidden state is assumed to follow the Markov property: at any given time t, it only depends on the previous state at t-1.</p><p>An application example of Hidden Markov Models is the <strong>Part of Speech Tagging problem</strong>. The problem consists in tagging words of a sentence with their part of speech — in other terms the class they belong to according to their grammatical properties: noun, verb, etc… The <strong>Viterbi algorithm </strong>is a dynamic-programming algorithm based on a Hidden Markov Model that solves this problem in polynomial time (with respect to the number of possible tags). More details can be found in the following note.</p><iframe src="https://drive.google.com/viewerng/viewer?url=http%3A//www.cs.columbia.edu/%7Emcollins/hmms-spring2013.pdf&amp;embedded=true" width="600" height="780" frameborder="0" scrolling="no"><a href="https://medium.com/media/2d38ea99f36c8d734c331af3380e28ac/href">https://medium.com/media/2d38ea99f36c8d734c331af3380e28ac/href</a></iframe><h4>Parsing using Probabilistic Context-Free Grammars</h4><p><strong>Probabilistic Context-Free Grammars (PCFGs) extend Context-Free Grammars (CFGs) by defining a probability distribution over possible derivations when a grammar is ambiguous.</strong> More precisely, CFGs are extended by defining a parameter for each rule `a -&gt;b` which can be seen as the <em>conditional probability of choosing that rule in a left-most derivation </em>given that the non-terminal being extended is `a`. The probability of a left-most derivation is then computed as the product of all conditional probabilities corresponding to the rules chosen to yield the derivation. The conditional probabilities for each rule can be evaluated over a corpus of derivations by dividing the number of times the rules was chosen by the number of times the non-terminal it extends was seen. Using PCFGs to parse sentences has applications in relation extraction and translation for instance. The following document covers PCFGs in more details.</p><iframe src="https://drive.google.com/viewerng/viewer?url=http%3A//www.cs.columbia.edu/%7Emcollins/courses/nlp2011/notes/pcfgs.pdf&amp;embedded=true" width="600" height="780" frameborder="0" scrolling="no"><a href="https://medium.com/media/33101dd49e2bc13d2ed2bb0e395b3651/href">https://medium.com/media/33101dd49e2bc13d2ed2bb0e395b3651/href</a></iframe><h4>Spell Checking</h4><p>Spell checking is one of the applications of natural language processing that impacts billions of users daily. A good introduction to spell checking can be found on Peter Norvig’s webpage. The article introduces a simple 21-line spell checker implementation in Python combining simple language and error models to predict the word a user intended to type. <strong>The language model estimates how likely a given word `c` is in the language for which the spell checker is designed, this can be written as `P(C)`. The error model estimates the probability `P(w|c)` of typing the misspelled version `w` conditionally to the intention of typing the correctly spelled word `c`. </strong>The spell checker then returns word `c` corresponding to the highest value of `P(w|c)P(c)` among all possible words in the language. More details and source code can be found on Peter Novig’s webpage.</p><p><a href="http://norvig.com/spell-correct.html">How to Write a Spelling Corrector</a></p><h4>Learning of Word Embeddings</h4><p>Deep Neural Networks allowed for very impressive results in automatically learning word embeddings from simple natural language processing tasks. Briefly speaking,<strong> word embeddings are functions transforming words of a language into high-dimensional vectors</strong>, allowing one to define complex operations — like comparison, addition, subtraction — on words of a language. More details can be found on the following blog post.</p><p><a href="http://colah.github.io/posts/2014-07-NLP-RNNs-Representations/">Deep Learning, NLP, and Representations</a></p><p>An exciting application of word embeddings is <strong>machine translation</strong>. As introduced in <em>Zou et al. </em>(cf. infra), word embeddings can simultaneously be learned in two languages. By constraining pairs of words — from both languages — known as translations of each other to share a similar word embedding, one can construct a space common to the two languages. <strong>Such bilingual word embeddings allow for automatic machine translations of words with unknown translations by using their word embedding as an intermediary between original words and translated words.</strong></p><iframe src="https://drive.google.com/viewerng/viewer?url=http%3A//ai.stanford.edu/%7Ewzou/emnlp2013_ZouSocherCerManning.pdf&amp;embedded=true" width="600" height="780" frameborder="0" scrolling="no"><a href="https://medium.com/media/abba202592f740df812b2e6824e1ddb5/href">https://medium.com/media/abba202592f740df812b2e6824e1ddb5/href</a></iframe><p><em>If you have any suggestions on how to improve this post, feel free to reach out to me on Twitter </em><a href="http://twitter.com/NicolasPapernot"><em>http://twitter.com/NicolasPapernot</em></a><em> or in the comments below.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bfa888e4e429" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>