<?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 Andreas Lautner on Medium]]></title>
        <description><![CDATA[Stories by Andreas Lautner on Medium]]></description>
        <link>https://medium.com/@andy.lautner?source=rss-e3b42006db91------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Andreas Lautner on Medium</title>
            <link>https://medium.com/@andy.lautner?source=rss-e3b42006db91------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 17:22:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@andy.lautner/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[Finding States in Black Box Fuzzing]]></title>
            <link>https://medium.com/security-garten/finding-states-in-black-box-fuzzing-9f593d13173f?source=rss-e3b42006db91------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f593d13173f</guid>
            <category><![CDATA[fuzzing]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[black-box]]></category>
            <category><![CDATA[state-machine]]></category>
            <category><![CDATA[software]]></category>
            <dc:creator><![CDATA[Andreas Lautner]]></dc:creator>
            <pubDate>Wed, 23 Aug 2023 14:46:06 GMT</pubDate>
            <atom:updated>2023-10-04T11:21:53.115Z</atom:updated>
            <content:encoded><![CDATA[<h3>Intro</h3><p>Automated security testing is state of the art for modern software development. Due to the rising complexity of code bases and digitalization, the potential attack vector increases. In recent years, fuzzing became a popular method to test software with. In fuzzing, randomly malformed inputs are generated and executed by a system under test (SUT) [1]. The SUT is then monitored for crashes or hangs. Some fuzzers rely on a recompilation of the code to gather additional information like code coverage. This information is used by the fuzzer to make the input generation more effective.</p><p>When no source code is available, black box fuzzers are used. In modern software, states play a significant role in its functioning. A black box fuzzer can come to its limits quickly when operating on a stateful target with no knowledge. The use of a state machine in a fuzzer can make the fuzzer more effective.</p><h3>Work Overview</h3><p>pyLearnFuzz is a state machine estimation tool to learn the state machine of black box SUTs. The state estimation is done with the automata learning library <a href="https://github.com/DES-Lab/AALpy">AALpy</a>. To properly estimate a state machine, pyLearnFuzz only needs information about the interface and a set of valid inputs. The SUTs run in a Docker environment, which enables a reset to an initial state of the SUT to eliminate non-determinism.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Em_dkXk0Fes5HOxCq2siYg.png" /></figure><p>Fuzzing is used to get more insights on the SUT and explore it more deeply to ensure a more complete state machine. The fuzzers of the <a href="https://www.fuzzingbook.org/">fuzzingbook</a> are used in pyLearnFuzz. Multiple state machine estimation approaches were benchmarked and compared. To evaluate how successful fuzzing is, the coverage will be used as a comparison metric.</p><p>Fuzzing is done complementary to the automata learning. A baseline state machine is learned with an initial alphabet. This alphabet gets fuzzed and the new inputs are stored in a fuzzed alphabet together with the inputs of the initial alphabet. A new state machine gets learned and the number of states get compared to the baseline state machine. If more states were found, the succeeding inputs which result in a different state transition are filtered and added to the initial alphabet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*23D7dNqcyE5DnYQrdxwX2A.png" /></figure><h3>Results</h3><p>The state machine of two FTP server implementations was estimated. The estimation was done multiple times with different learning strategies and fuzzing included. pyLearnFuzz was able to correctly estimate the state machine of both SUTs. The use of fuzzing achieved an average increase in line coverage of over 15% over a 2-hour testing period. This shows that there is the potential to increase the depth of exploration in automata learning when using it in combination with fuzzing.</p><p>[1] George Klees et al. ‘Evaluating Fuzz Testing’. In: Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security. CCS ’18. Toronto, Canada: Association for Computing Machinery, 2018, pp. 2123–2138.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f593d13173f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/security-garten/finding-states-in-black-box-fuzzing-9f593d13173f">Finding States in Black Box Fuzzing</a> was originally published in <a href="https://medium.com/security-garten">Security Garten</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>