SMB (Server Message Block) is a file-sharing protocol common in Windows environments. SMB captures reveal file access patterns, authentication attempts (NTLM, Kerberos), lateral movement during attacks, and ransomware file encryption activity. Analysts look for unusual share enumeration, named pipe access, and PsExec-style remote execution.
SMB (Server Message Block) packet captures revealing file sharing, NTLM/Kerberos auth, lateral movement, and ransomware activity.
SAPPAN: Combined Network and Host Data: samba file sharing unsuccessful
samba-file-sharing-unsuccessful.pcap (747.6 KB) from the Zenodo record "SAPPAN: Combined Network and Host Data" (https://zenodo.org/records/4159878), licence cc-by-4.0. The data were acquired from a small simulated environment consisting of one Windows host (host data collection) and a router that observes all network traffic passing to the host. Two attack scenarios were performed in these small simulated environments, and data relevant to these attacks were extracted and further processed. In the case, the attack scenario was based on the Drupal web application's vulnerability, which enabled downloading and running of a malicious code that provided a remote shell to the attacker. In the case, the scenario was based on the old version of the Samba file-sharing that was vulnerable to Eternalblue attack allowing to execute commands and provide a remote shell to the attacker. The dataset is divided into separate directories according to the attacks contained. In the case of the Drupal vulnerability scenario, datasets from a failed and successful attempt to exploit the vulnerability are included. Four datasets were created during individual phases of SMB file sharing vulnerability scenario. Each directory contains a normalized network traffic capture and corresponding host data in preformatted JSON. Drupal Vulnerability Scenario The attack scenario is based on an old Drupal server (v 8.5.0) with known vulnerability CVE-2018-7600 (also called Drupalgeddon). This vulnerability is exploited by an attacker to remotely run code and gain access to the vulnerable server via a remote shell. This connection is realized by the Meterpreter trojan of type python/meterpreter/reverse_tcp. The binary is created by Metasploit generator msfvenom and obfuscated using the attacker's custom obfuscation technique to bypass windows antivirus. The created binary file is delivered to the victim host using remote code execution in Drupal, based on which the "finger" command is executed to download the payload from the payload delivery server and C2 server. This trojan is then launched by an attacker using additional commands injected through the Drupal vulnerability. Once launched, it automatically establishes a connection with the attacker (remote shell) through the payload delivery and C2 server. As a result, the attacker gains full access to the system and can execute any commands (in the scenario, only the "whoami" command is executed). Two datasets were generated during the scenario and its preparation. The first was obtained during the preparatory work when the server's defense mechanisms blocked an attacker's attempt to download the file (a command "MpCmdRun.exe" is used instead of the "finger" command). The second dataset contains a complete attack performed after modifying the executed commands to overcome the mentioned defense mechanisms. Samba File Sharing Vulnerability Scenario The attack scenario is based on an unpatched Windows 7 host with known vulnerability CVE-2017-0144 (also called EternalBlue). The scenario is divided into four parts covering the individual phases of the attack and failed exploitation attempts. In the first part, the attacker performs a scan of open ports on the client device and verifies if the SMB file sharing service is vulnerable to the EternalBlue attack. In the next phase, the attacker unsuccessfully tries to exploit the vulnerability using a standard Metasploit module. This procedure does not result in a remote connection. In the third phase, a specialized exploit is used to attack the service using previously known credentials. In the fourth phase, the attacker tried another script to make the scenario more complex, enabling the attack to be performed without credentials. For each mentioned phase, a separate dataset was generated, capturing all events in the form of packet traces and corresponding host data. Dataset Features In the case of packet capture, the dataset contains standard PCAP files containing all captured packets, including the complete application layer. The raw host data were reduced to contain only the following attributes: event_id -... Cite as: Cermak, Milan, Obrecht, Mischa (2020). SAPPAN: Combined Network and Host Data. Zenodo. https://doi.org/10.5281/zenodo.4159878
SAPPAN: Combined Network and Host Data: samba file sharing reconnaissance
samba-file-sharing-reconnaissance.pcap (170.2 KB) from the Zenodo record "SAPPAN: Combined Network and Host Data" (https://zenodo.org/records/4159878), licence cc-by-4.0. The data were acquired from a small simulated environment consisting of one Windows host (host data collection) and a router that observes all network traffic passing to the host. Two attack scenarios were performed in these small simulated environments, and data relevant to these attacks were extracted and further processed. In the case, the attack scenario was based on the Drupal web application's vulnerability, which enabled downloading and running of a malicious code that provided a remote shell to the attacker. In the case, the scenario was based on the old version of the Samba file-sharing that was vulnerable to Eternalblue attack allowing to execute commands and provide a remote shell to the attacker. The dataset is divided into separate directories according to the attacks contained. In the case of the Drupal vulnerability scenario, datasets from a failed and successful attempt to exploit the vulnerability are included. Four datasets were created during individual phases of SMB file sharing vulnerability scenario. Each directory contains a normalized network traffic capture and corresponding host data in preformatted JSON. Drupal Vulnerability Scenario The attack scenario is based on an old Drupal server (v 8.5.0) with known vulnerability CVE-2018-7600 (also called Drupalgeddon). This vulnerability is exploited by an attacker to remotely run code and gain access to the vulnerable server via a remote shell. This connection is realized by the Meterpreter trojan of type python/meterpreter/reverse_tcp. The binary is created by Metasploit generator msfvenom and obfuscated using the attacker's custom obfuscation technique to bypass windows antivirus. The created binary file is delivered to the victim host using remote code execution in Drupal, based on which the "finger" command is executed to download the payload from the payload delivery server and C2 server. This trojan is then launched by an attacker using additional commands injected through the Drupal vulnerability. Once launched, it automatically establishes a connection with the attacker (remote shell) through the payload delivery and C2 server. As a result, the attacker gains full access to the system and can execute any commands (in the scenario, only the "whoami" command is executed). Two datasets were generated during the scenario and its preparation. The first was obtained during the preparatory work when the server's defense mechanisms blocked an attacker's attempt to download the file (a command "MpCmdRun.exe" is used instead of the "finger" command). The second dataset contains a complete attack performed after modifying the executed commands to overcome the mentioned defense mechanisms. Samba File Sharing Vulnerability Scenario The attack scenario is based on an unpatched Windows 7 host with known vulnerability CVE-2017-0144 (also called EternalBlue). The scenario is divided into four parts covering the individual phases of the attack and failed exploitation attempts. In the first part, the attacker performs a scan of open ports on the client device and verifies if the SMB file sharing service is vulnerable to the EternalBlue attack. In the next phase, the attacker unsuccessfully tries to exploit the vulnerability using a standard Metasploit module. This procedure does not result in a remote connection. In the third phase, a specialized exploit is used to attack the service using previously known credentials. In the fourth phase, the attacker tried another script to make the scenario more complex, enabling the attack to be performed without credentials. For each mentioned phase, a separate dataset was generated, capturing all events in the form of packet traces and corresponding host data. Dataset Features In the case of packet capture, the dataset contains standard PCAP files containing all captured packets, including the complete application layer. The raw host data were reduced to contain only the following attributes: event_id -... Cite as: Cermak, Milan, Obrecht, Mischa (2020). SAPPAN: Combined Network and Host Data. Zenodo. https://doi.org/10.5281/zenodo.4159878
SAPPAN: Combined Network and Host Data: samba file sharing known creds
samba-file-sharing-known-creds.pcap (183.2 KB) from the Zenodo record "SAPPAN: Combined Network and Host Data" (https://zenodo.org/records/4159878), licence cc-by-4.0. The data were acquired from a small simulated environment consisting of one Windows host (host data collection) and a router that observes all network traffic passing to the host. Two attack scenarios were performed in these small simulated environments, and data relevant to these attacks were extracted and further processed. In the case, the attack scenario was based on the Drupal web application's vulnerability, which enabled downloading and running of a malicious code that provided a remote shell to the attacker. In the case, the scenario was based on the old version of the Samba file-sharing that was vulnerable to Eternalblue attack allowing to execute commands and provide a remote shell to the attacker. The dataset is divided into separate directories according to the attacks contained. In the case of the Drupal vulnerability scenario, datasets from a failed and successful attempt to exploit the vulnerability are included. Four datasets were created during individual phases of SMB file sharing vulnerability scenario. Each directory contains a normalized network traffic capture and corresponding host data in preformatted JSON. Drupal Vulnerability Scenario The attack scenario is based on an old Drupal server (v 8.5.0) with known vulnerability CVE-2018-7600 (also called Drupalgeddon). This vulnerability is exploited by an attacker to remotely run code and gain access to the vulnerable server via a remote shell. This connection is realized by the Meterpreter trojan of type python/meterpreter/reverse_tcp. The binary is created by Metasploit generator msfvenom and obfuscated using the attacker's custom obfuscation technique to bypass windows antivirus. The created binary file is delivered to the victim host using remote code execution in Drupal, based on which the "finger" command is executed to download the payload from the payload delivery server and C2 server. This trojan is then launched by an attacker using additional commands injected through the Drupal vulnerability. Once launched, it automatically establishes a connection with the attacker (remote shell) through the payload delivery and C2 server. As a result, the attacker gains full access to the system and can execute any commands (in the scenario, only the "whoami" command is executed). Two datasets were generated during the scenario and its preparation. The first was obtained during the preparatory work when the server's defense mechanisms blocked an attacker's attempt to download the file (a command "MpCmdRun.exe" is used instead of the "finger" command). The second dataset contains a complete attack performed after modifying the executed commands to overcome the mentioned defense mechanisms. Samba File Sharing Vulnerability Scenario The attack scenario is based on an unpatched Windows 7 host with known vulnerability CVE-2017-0144 (also called EternalBlue). The scenario is divided into four parts covering the individual phases of the attack and failed exploitation attempts. In the first part, the attacker performs a scan of open ports on the client device and verifies if the SMB file sharing service is vulnerable to the EternalBlue attack. In the next phase, the attacker unsuccessfully tries to exploit the vulnerability using a standard Metasploit module. This procedure does not result in a remote connection. In the third phase, a specialized exploit is used to attack the service using previously known credentials. In the fourth phase, the attacker tried another script to make the scenario more complex, enabling the attack to be performed without credentials. For each mentioned phase, a separate dataset was generated, capturing all events in the form of packet traces and corresponding host data. Dataset Features In the case of packet capture, the dataset contains standard PCAP files containing all captured packets, including the complete application layer. The raw host data were reduced to contain only the following attributes: event_id -... Cite as: Cermak, Milan, Obrecht, Mischa (2020). SAPPAN: Combined Network and Host Data. Zenodo. https://doi.org/10.5281/zenodo.4159878
SAPPAN: Combined Network and Host Data: samba file sharing unknown creds
samba-file-sharing-unknown-creds.pcap (9.3 MB) from the Zenodo record "SAPPAN: Combined Network and Host Data" (https://zenodo.org/records/4159878), licence cc-by-4.0. The data were acquired from a small simulated environment consisting of one Windows host (host data collection) and a router that observes all network traffic passing to the host. Two attack scenarios were performed in these small simulated environments, and data relevant to these attacks were extracted and further processed. In the case, the attack scenario was based on the Drupal web application's vulnerability, which enabled downloading and running of a malicious code that provided a remote shell to the attacker. In the case, the scenario was based on the old version of the Samba file-sharing that was vulnerable to Eternalblue attack allowing to execute commands and provide a remote shell to the attacker. The dataset is divided into separate directories according to the attacks contained. In the case of the Drupal vulnerability scenario, datasets from a failed and successful attempt to exploit the vulnerability are included. Four datasets were created during individual phases of SMB file sharing vulnerability scenario. Each directory contains a normalized network traffic capture and corresponding host data in preformatted JSON. Drupal Vulnerability Scenario The attack scenario is based on an old Drupal server (v 8.5.0) with known vulnerability CVE-2018-7600 (also called Drupalgeddon). This vulnerability is exploited by an attacker to remotely run code and gain access to the vulnerable server via a remote shell. This connection is realized by the Meterpreter trojan of type python/meterpreter/reverse_tcp. The binary is created by Metasploit generator msfvenom and obfuscated using the attacker's custom obfuscation technique to bypass windows antivirus. The created binary file is delivered to the victim host using remote code execution in Drupal, based on which the "finger" command is executed to download the payload from the payload delivery server and C2 server. This trojan is then launched by an attacker using additional commands injected through the Drupal vulnerability. Once launched, it automatically establishes a connection with the attacker (remote shell) through the payload delivery and C2 server. As a result, the attacker gains full access to the system and can execute any commands (in the scenario, only the "whoami" command is executed). Two datasets were generated during the scenario and its preparation. The first was obtained during the preparatory work when the server's defense mechanisms blocked an attacker's attempt to download the file (a command "MpCmdRun.exe" is used instead of the "finger" command). The second dataset contains a complete attack performed after modifying the executed commands to overcome the mentioned defense mechanisms. Samba File Sharing Vulnerability Scenario The attack scenario is based on an unpatched Windows 7 host with known vulnerability CVE-2017-0144 (also called EternalBlue). The scenario is divided into four parts covering the individual phases of the attack and failed exploitation attempts. In the first part, the attacker performs a scan of open ports on the client device and verifies if the SMB file sharing service is vulnerable to the EternalBlue attack. In the next phase, the attacker unsuccessfully tries to exploit the vulnerability using a standard Metasploit module. This procedure does not result in a remote connection. In the third phase, a specialized exploit is used to attack the service using previously known credentials. In the fourth phase, the attacker tried another script to make the scenario more complex, enabling the attack to be performed without credentials. For each mentioned phase, a separate dataset was generated, capturing all events in the form of packet traces and corresponding host data. Dataset Features In the case of packet capture, the dataset contains standard PCAP files containing all captured packets, including the complete application layer. The raw host data were reduced to contain only the following attributes: event_id -... Cite as: Cermak, Milan, Obrecht, Mischa (2020). SAPPAN: Combined Network and Host Data. Zenodo. https://doi.org/10.5281/zenodo.4159878
Windows Server 2022 DC SMB Null Session Enumeration
6 TCP connections to Windows Server 2022 DC (10.99.0.150) on port 445 testing anonymous/null session access. Protocols observed: SMB2, DCERPC, SAMR (Security Account Manager), and LSARPC (Local Security Authority). Operations attempted via rpcclient: share listing, IPC$ access, enumdomusers (domain user enumeration), enumdomgroups (domain group enumeration), getdompwinfo (password policy), and lsaenumsid (SID enumeration). Suricata flagged NTLM Session Setup negotiation, response challenge, and authentication. Zeek identified GSSAPI, NTLM, SMB, and DCE/RPC services across the 6 connections. Results depend on the DC security policy for anonymous access.
Samba 4.19.5 Guest Access to Writable Share
3 SMB2 sessions against Samba 4.19.5 on 10.99.0.22:445 using guest/anonymous access. Protocols observed: SMB2, DCERPC, and SRVSVC (Server Service Remote Protocol). Operations performed: share enumeration revealing public, private, and IPC$ shares. Then on the public share: directory listing, mkdir (create attack_drop directory), file upload (planted.txt), directory listing to confirm, and cleanup (delete file and remove directory). SMB2 commands include Negotiate(0), SessionSetup(1), TreeConnect(3), Create(5), Close(6), QueryDirectory(14), Write(9), SetInfo(17). Suricata flagged NTLM negotiation. Zeek identified GSSAPI, NTLM, SMB, and DCE/RPC services. The guest-writable share allows unauthenticated file manipulation.
SMB Password Spray Against Active Directory (12 Attempts)
Two rounds of SMB authentication against a Windows Domain Controller using the same password across 6 different domain accounts (jsmith, jdoe, bwilson, admin.lab, svc.backup, administrator). First spray uses 'Summer2026!' and second uses 'Welcome123!'. The single-password-many-users pattern is the hallmark of password spraying, designed to avoid account lockout thresholds while testing common passwords across the entire user base.
SMB with Active Directory Domain Authentication
SMB sessions from Linux smbclient to a Windows Domain Controller using AD credentials. Includes share listing, LabShare access with domain user, admin C$ share access with domain admin, and a failed authentication attempt. Shows Kerberos-authenticated SMB2 sessions against a Windows DC.
SMB Lateral Movement Pattern (Multi-Host Access)
Sequential SMB access to four different hosts using domain admin credentials, simulating lateral movement. The attacker accesses the DC LabShare, jumps to a client TestShare, then accesses the DC admin C$ share and browses Windows directories, then hits a Linux Samba share. The rapid sequential access across multiple hosts with privileged credentials is a key lateral movement indicator.
SMB File Upload and Deletion on Public Share
SMB session writing a file to a Samba public share, listing the directory, then deleting the file. Shows the full SMB2 sequence: Tree Connect, Create (file), Write, Close, directory listing, Delete, and confirmation listing. All via anonymous/guest authentication.
SMB/RPC Domain Enumeration via rpcclient
Share enumeration followed by RPC queries mimicking enum4linux-style reconnaissance against a Samba server. Includes enumdomusers, srvinfo, netshareenumall, and getdompwinfo queries over the RPC-over-SMB transport. Shows the traffic pattern used by Active Directory reconnaissance tools.
SMB Advanced File Operations (mkdir, rename, delete)
SMB2 session performing directory creation, file uploads, file rename, and file/directory deletion on a Samba public share. Shows the full SMB2 operation sequence for filesystem manipulation: Create (directory), Create (file), Write, Close, SetInfo (rename), and Delete operations.
SMB Null Session Enumeration Against Windows DC
Anonymous SMB and RPC connections to a Windows Domain Controller: share listing, IPC$ access, and rpcclient queries for domain users, groups, domain info, share enumeration, and password policy. Shows what information can be extracted without authentication through null session access.
Ransomware-like SMB File Operations
Rapid file creation, mass rename to .encrypted extension, ransom note (HOW_TO_DECRYPT.txt) deployment, and directory listing on an SMB share. Each operation uses a separate SMB connection. The sequential write-rename-note pattern across multiple files is characteristic of ransomware file encryption behavior.
PsExec-style Remote Execution via SMB
SMB operations matching the PsExec remote execution pattern: writing a service binary to ADMIN$ share, accessing C$ for file system browsing, connecting to IPC$ for service control RPC, then cleaning up. Shows the distinctive SMB traffic pattern of remote service-based execution tools.
NTLM Relay Attack Pattern (SMB Auth Attempts)
Sequential SMB authentication attempts against a Windows DC with multiple domain accounts: administrator, admin.lab, jsmith, jdoe. Most fail, with one successful connection. Simulates the NTLM relay pattern where captured authentication hashes are replayed against other services.
SMB2/3 File Sharing: Share Enumeration, File Access, and Auth Failure
SMB2/3 traffic between a Linux smbclient and a Samba file server. Contains multiple sessions: Share enumeration (listing available shares: public, private, IPC$) Anonymous/guest access to a public share (directory listing, file download) Authenticated access using NTLM authentication to a private share File operations: Tree Connect, Create, Read, Close, Logoff Failed authentication returning NT_STATUS_ACCESS_DENIED Suricata IDS flagged NTLM authentication exchange: ET INFO NTLM Session Setup Request (Negotiate) ET INFO NTLM Session Setup Request (Auth) ET INFO NTLMv1 Session Setup Response (Challenge) These alerts identify credential exchange over the wire, expected for SMB but notable as it can indicate credential exposure.