<?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 Sami Petajasoja on Medium]]></title>
        <description><![CDATA[Stories by Sami Petajasoja on Medium]]></description>
        <link>https://medium.com/@spetajasoja?source=rss-f2dd5c5d48fd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*TcKOSkxSHr_Is8XHmDTQig.jpeg</url>
            <title>Stories by Sami Petajasoja on Medium</title>
            <link>https://medium.com/@spetajasoja?source=rss-f2dd5c5d48fd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 13:14:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@spetajasoja/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[SensorFleet Approach]]></title>
            <link>https://medium.com/sensorfleet/sensorfleet-approach-3c4e66860fb6?source=rss-f2dd5c5d48fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/3c4e66860fb6</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[incident-response]]></category>
            <category><![CDATA[network-security]]></category>
            <category><![CDATA[privacy]]></category>
            <category><![CDATA[platform]]></category>
            <dc:creator><![CDATA[Sami Petajasoja]]></dc:creator>
            <pubDate>Thu, 20 Feb 2020 14:00:52 GMT</pubDate>
            <atom:updated>2020-02-20T14:00:52.198Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-nc-nd/4.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gUFYtIoNAvlCDqvj3PXPvg.png" /></figure><p>This blog is about building our next generation <a href="https://www.sensorfleet.com/">cyber sensor platform</a>. First we must let you in on a little secret, our approach may be based on yours. We have a long experience in developing cyber security sensor technology for a national early warning system protecting the critical infrastructure and enterprises. At the inception of SensorFleet, we set out to re-imagine cyber security monitoring in order to solve the pain points from the field. Four key principles guided our work.</p><h3>1. Open platform</h3><p>We wanted to make deploying new cyber detection and protection tools easy for the end users. Our answer was to develop SensorFleet as an open platform that can host detection-, protection- and scanning tools. We call these tools Instruments and they can come from 3rd parties, whether commercial, free open source or inhouse. Today, power of ecosystems enable end users to flexibly deploy tools — or applications — based on the evolving requirements. The best known are the application ecosystems that enabled smartphones to become ubiquitous devices they are today. You can think of SensorFleet both as a platform and a distribution for cyber tools. There is no vendor lock-in for a specific capability and you can leverage the hive mind. Another obvious benefit is the speed to react when new tools come available. Having a unified and controlled way to deploy tools in potentially complex environments can be a life saver.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e1TXdUICdpenLPO2zJVMdg.png" /><figcaption>Virtual appliance sensor with a subset of available Instruments</figcaption></figure><p>Openness is carried over to the other fundamental design decisions of SensorFleet: You own your data, you have a full visibility on sensor communication and what Instruments do and can do is plenty, transparent and contained.</p><h3>2. You own and control your data</h3><p>We won’t ask for your network data in exchange for providing the security solution for you. While controlled data sharing, such as IoC exchange, is undeniably beneficial for the ecosystem at large, we believe any sharing should be transparent and under your full control. Another aspect is that too detailed, too duplicated or too long-term data increases exposure. Therefore our preferred approach is a network of lightweight sensors placed into network locations where data is being produced, instead of a single large number cruncher. Rather than raking everything into a huge haystack and then looking for a needle, look for a needle from smaller bales. Just to be clear, there are legitimate reasons for collecting and storing the network data and that’s supported by SensorFleet, just not the default mode on which overall functionality of sensor network depends. Moreover, we give you full control over data collection and retention. We also help you to make sure that collected data is retained exactly for as long as required or allowed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5douYbREI4yzAK09hf1J1A.png" /><figcaption>Control over the data retention</figcaption></figure><h3>3. Full visibility on sensor communication</h3><p>Many technically oriented people are familiar with a startling feeling of observing number of connections, both inbound and outbound, that the modern applications and devices create. Since a sealed box wouldn’t be a very efficient sensor, SensorFleet will also need to communicate with the outside world. What we strive for is to be clear on what each of the interfaces and connections are used for. This enables users to audit Sensor and Instruments based on security policies of network segments they’re protecting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ts0FFUcS08duXQh6hBuwCw.png" /><figcaption>Cowrie Honeypot has an access to Internet with read and write capabilities</figcaption></figure><h3>4. Instruments are easy to add, transparent and contained</h3><p>Smartphones have made it easy for us to get the tooling we need in different situations. Visit to a new city starts with installing an application for local transport, new home appliance installation comes with remote control application and so forth. SensorFleet has been designed with the same principle in mind, making it easy to add and remove Instruments as the monitoring requirements evolve. Maybe, for example, your day-to-day use case involves asset tracking or threat detection with the IDS, but when a new vulnerability emerges, you’d need to run vulnerability scanning within the perimeter of network segments you operate. Having SensorFleet platform in those segments enables you to quickly run a vulnerability scanner as an Instrument without extra network configuration changes or manual work for retrieving the results. Furthermore, instruments have clear technical contracts on what they can access and it is enforced by the platform.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ANkIdYehdwqH4IZMlSbTtg.png" /><figcaption>IT project involved in new capability deployment: Single click of mouse</figcaption></figure><h3>In a nutshell</h3><p>You will own your data. SensorFleet is transparent on what happens under the hood. Open platform will help you to react faster, to deploy easier and to embrace the open source. We help you to take the detection close to the source and to find the needle easier by making the haystack smaller. With SensorFleet, potentially radioactive security monitoring data will be an asset, not a liability. We hope you will enjoy SensorFleet as much as we enjoy developing it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3c4e66860fb6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sensorfleet/sensorfleet-approach-3c4e66860fb6">SensorFleet Approach</a> was originally published in <a href="https://medium.com/sensorfleet">SensorFleet</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sensors on the edge]]></title>
            <link>https://medium.com/sensorfleet/sensors-on-the-edge-d30b132e4cdd?source=rss-f2dd5c5d48fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/d30b132e4cdd</guid>
            <category><![CDATA[incident-response]]></category>
            <category><![CDATA[network-monitoring]]></category>
            <category><![CDATA[sensors]]></category>
            <category><![CDATA[intrusion-detection]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Sami Petajasoja]]></dc:creator>
            <pubDate>Thu, 19 Apr 2018 08:59:36 GMT</pubDate>
            <atom:updated>2018-04-19T08:59:36.488Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-nc/4.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R8Jd_Hjtd2aeyLX4LGcopw.png" /><figcaption>Photo by <a href="https://medium.com/u/cb820947f08e">janikenttala</a></figcaption></figure><h3>Introduction</h3><p>Network sensors give you lightweight detection capabilities. In this article we discuss installation of sensors at the key network locations, typically at the edges. This configuration keeps installation and maintenance costs affordable and scales up easily. Edge deployment gives you visibility to the wild west of the Internet, while keeping your private network traffic out of the spotlight.</p><h3>Sensors on the edge</h3><p>The deployment configuration for sensors depends on your objectives and the level of network access that is required for deploying the capabilities to meet those objectives. Placing a sensor at the edge of network primarily focuses on the metadata of network traffic with no visibility inside encrypted traffic. There are scenarios where you’ll want to place sensors inside the perimeter, but let’s live on the edge for now.</p><p>An edge configuration is a good alternative, for example, but not limited to, the following use cases:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*kSZ5NSWViSyIBf7fZZFHPw.png" /><figcaption><em>Sensor deployed on the perimeter of network</em></figcaption></figure><ol><li>CERT or SoC teams responsible for coordinating the protection of national Critical Infrastructure (CI)</li><li>Large organisations with multiple branch offices looking to quickly deploy centralised security monitoring capabilities</li><li>Anyone looking for a quick start on network security monitoring with minimal impact on existing infrastructure</li></ol><h3>Benefits on the edge</h3><p>Sensors are installed in a transparent manner. This transparency works on two levels: Your own operations are not impeded by the sensors, and the would be attackers will have harder time detecting the presence of monitoring. Even if the attackers manage to disable log forwarding or host-based detection measures, the network traffic can still be inspected.</p><p>Network sensors are complementary to other forms of detection capabilities the organisation has. Captures of protocol metadata and contents provide rich alerts. To secure forensic data for the incident response, sensors can be kept at arms length from your IT systems. For example, you should not share single sign-on between sensors and your other servers. Sensors also offer additional context to alerts from other detection sources. Metadata volumes are low compared to overall data volume and can be stored for extended periods, even years. This data can then be utilised for threat hunting. However, in order to protect the privacy and comply to regulations, you should have explicit control over the data content, access and duration of the retention.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*-LLf-AjIg-kMIxmha8YAYQ.png" /><figcaption><em>Connecting threat intelligence provides additional context</em></figcaption></figure><p>There is an increasing amount of data available about compromised hosts and attacks. This data is called threat intelligence and it is available from both public and private feeds. If you’re a receiver of threat intelligence, you can utilize metadata history to check if your organisation has been targeted or affected.</p><p>In the cases where logging or endpoint protection falls short, network sensors are a stopgap measure for detection. Portions of the infrastructure can also remain unmonitored by other means due to technical reasons, and network monitoring reduces the resulting residual risk.</p><h3>Capabilities on the edge</h3><p>So what are the monitoring capabilities edge deployment gives you? Implementations may vary depending on whether you’ll assemble your own utilizing open source or go for a commercial vendor. In this article we’ll focus on Instruments we found useful when developing the first version of our own sensor.</p><h4>Full packet capture</h4><p>As the name implies, packet capture enables storage of full network traffic for auditing and forensics purposes. Stored traffic should be time indexed for filtering during the investigations. Filtering can then be done based on timestamps, ports or IP addresses. The sensor itself can typically store a few days of traffic. That’s a broad statement on purpose, since traffic volumes and exact sensor model will set the hard limits. Another, storage capacity saving option for traffic capturing is storage that is triggered by alerts from one of the other instruments. This mode gives you a snapshot of traffic with time window before and after the alert.</p><p>The captured traffic can be protected at rest by encryption, should some nefarious individual walk away with your security device.</p><h4>Suricata IDS</h4><p>Suricata IDS packs a punch for signature based detection. Suricata is compatible with Snort rules, which enables use of widely shared Snort rulesets and threat intelligence that’s shared in Snort format. For the complex detection scenarios, Suricata introduces an expressive native scripting language. High bandwidth requirements have been taken into the account with multi-threaded design from the beginning, making Suricata a good choice for edge sensors.</p><p>Besides regular IDS detection, TLS and SSH fingerprinting is worth mentioning here as it’s a technique we’ve seen good results with. TLS as a protocol has multiple configuration options and each client tends to have an unique fingerprint. Unexpected or known malware client profiles can be identified based on these fingerprints.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*tnMhMGhVgMcH7bTsfKzS8g.png" /><figcaption><em>Fingerprinting TLS Clients with the Suricata IDS</em></figcaption></figure><p>The benefit of identifying malware based on TLS or SSH fingerprint comes from the fact that while infrastructure indicators such as IP addresses or domains may change frequently, malware families have relatively static fingerprints. From a technical perspective, server side fingerprinting works in similar fashion, but is not as useful as the server space is dominated by a handful of implementations.</p><h4>Blacklist Alerts</h4><p>Blacklisting is really a specific IDS use case, but separating it logically into its own dedicated component makes the management of blacklists easier. With blacklisting on the edge sensor, you’re typically looking for malicious network identities such as domains or IP addresses. Alerts will be raised for both malicious identity trying to make inbound connection, or host inside the perimeter trying to make outbound connection to a malicious identity. Along with IDS, blacklists make up a good integration point if your organisation is receiving threat intelligence from third parties.</p><h4>Passive DNS</h4><p>Despite having reached their terrible teenage years (first described by Florian Weimer in 2005), Passive DNS is among the underutilized gems of security monitoring.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*NeBpyj8traQ6Jtg4W39qVg.png" /><figcaption><em>Passive DNS recording the cache misses</em></figcaption></figure><p>When integrated with an edge sensor, Passive DNS is well placed for building a database on DNS queries and responses. In the case of local name server, only cache misses are recorded, but luckily that’s not detrimental to our intended purpose.</p><p>So what to do with the database of DNS queries and responses? Passive DNS database essentially gives you a mapping of domain names to IP addresses over time and you can use this information in different ways.</p><ul><li>Once a certain domain name or IP address has been marked malicious, you can go back in time to see if these indicators of compromise are present in your DNS traffic history.</li><li>Malware and phishing sites change their domain names frequently. With Passive DNS, you can set up alerting if a query for a new domain resolves to known bad IP address. Similarly, you can easily set up monitoring for DGA (Domain Generation Algorithm) domains used by some malware strains.</li></ul><h4>NetFlow</h4><p>NetFlow export and analysis for post-mortem inspection is a great addition to your sensoring toolbox. NetFlow stores header information about a network flow and can be used to ask questions like “has anyone ever communicated with this IP?”.</p><p>A concrete example for NetFlow usage in security analysis would be that a full packet capture has had its retention time expire just as new threat intelligence comes in. A security analyst or SoC team can use NetFlow to see if anyone in the protected network has communicated with suspect IP addresses in the past, which could indicate a compromise.</p><p>The advantages of NetFlow are compactness of stored data and exclusion of any payload information. The network level identities of internal network users and devices could be masked because of address translation (NAT) as the edge sensor typically sees only an edge device such as a proxy or a gateway as the source or destination of the traffic. The identities can be unmasked in investigations from the edge device logs and dynamic address allocations.</p><h4>Conclusion</h4><p>Network edge sensor deployments will help you get started fast and scale up early. The capabilities we’ve discussed here are by no means an exhaustive list, but in our experience they provide a comprehensive and manageable set of techniques for SoC operations in large organisations and even on a national level.</p><p>In this deployment model, our focus is on passive detection. Individual corporations managing their own sensors would have an option to place sensors inside their network perimeter. This will open up opportunities to augment passive detection with other techniques like active scanning, whether for vulnerabilities, network configuration changes, policy violations, or other characteristics. But that’s a topic for another day.</p><p><em>Huge thanks to Juhani Eronen, Antti Tönkyrä and Marko Laakso who contributed, proof read and fact checked this article!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d30b132e4cdd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sensorfleet/sensors-on-the-edge-d30b132e4cdd">Sensors on the edge</a> was originally published in <a href="https://medium.com/sensorfleet">SensorFleet</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>