When analysts need to run third-party PCAP through so-import-pcap
An analyst who holds packet captures from outside the network, whether they came from a vendor, a partner or an incident responder, needs a way to make those files searchable beside Security Onion's own data. so-import-pcap feeds those files through the same Suricata and Zeek pipeline that processes live sensor traffic, so the resulting network events and alerts can be hunted in the Console alongside everything else. It is the right tool when the evidence was captured somewhere else and is not already flowing past one of your sensors. Teams usually reach for it during an investigation, when a partner sends a capture of suspicious activity that predates the sensor deployment, or when a responder hands over a trace from a segment that was never monitored.
Live sensor traffic and imported files answer different questions. Sensors show what crosses monitored interfaces now and going forward, and they carry the detections and retention your grid already applies. An imported capture shows what one file contains, with the timing it had when it was recorded. Before you run it, confirm that your installation is one the docs list as supported: so-import-pcap works on Import, Eval and Standalone setups and is not supported on heavy nodes. Check your deployment type against the Security Onion so-import-pcap documentation first, because a Distributed production grid will need a different path for evidence from outside the network. Also confirm with your platform owner where the imported data will be stored and who can see it, since the imported events join the same searchable data as production traffic.
Which Security Onion installs support so-import-pcap
The so-import-pcap documentation lists three deployment types as supported: Import, Eval and Standalone. These are the simplest places to run an outside capture through the standard pipeline, because the command runs on the node itself and the results are stored and viewed on that same install. Teams use them for a single investigation, a lab, or a trial of the workflow before they commit to a larger design.
- Import: A deployment type built for loading captured evidence into a system that is not monitoring live traffic.
- Eval: Suited to testing the workflow and the analyst experience before you invest in production hardware.
- Standalone: One node carries sensing, storage and the Console, so import results appear where analysts already work.
- Install type at build time: The deployment type is chosen during installation, so you cannot assume it from the hostname or the hardware alone.
Confirm the deployment type on the exact node you plan to use before you copy any file to it.
Heavy nodes are a grid role that the so-import-pcap documentation excludes. The command is documented for Import, Eval and Standalone setups, so a heavy node is outside the supported path even if it has spare disk and CPU. Teams that run larger grids sometimes assume that any node with capacity can take an extra job, and this is the assumption to correct before an import is scheduled.
- Excluded role: The docs state that heavy nodes are not supported for this command, so do not plan imports there.
- Automation risk: If a script or runbook selects a host by name, check that the selected host is not a heavy node before the job runs.
- Sensors and managers: The supported list names three deployment types only, so do not assume a sensor or manager accepts the command unless the docs or your own testing confirm it.
- Ask for written confirmation: If your design includes a heavy node, ask the team responsible for the grid to confirm in writing where imports are allowed to run.
Read the so-import-pcap page for the current wording of its support list before you finalize the runbook.
The architecture documentation recommends a Distributed design for production. It separates a manager node, one or more sensor nodes and one or more search nodes. Because the supported list for so-import-pcap is written by deployment type, a production grid needs a deliberate plan for where outside captures are processed. Decide that plan before an incident, when files arrive under time pressure.
- Separate supported host: One option to evaluate is a supported Import, Eval or Standalone install kept apart from the production grid, with its own storage and access controls.
- Results path: Decide whether analysts review import results on that host or move the evidence into the grid, and confirm the path against the docs before you rely on it.
- Manager dependency: The architecture docs state that search nodes stop indexing if the manager goes down, so plan for manager availability wherever the grid is your review platform.
- Change control: Document the import host in the grid's runbook so responders know where to send files.
Review the Security Onion architecture docs with your grid design team before you assign an import host.
Before you choose an import path, record each host's role, install type, operating system and hardware. Those four facts decide whether the command is supported and whether the host can handle the work. The hardware minimums in the docs are install requirements, not sizing for imports, so the docs do not supply a throughput figure for large captures. Ask your team to measure import time on a representative file in your own environment.
- Install type: Record the deployment type for every host from your build records, not from memory.
- Role per host: Map each host to its manager, sensor, search or heavy role, and mark any host that carries more than one role.
- Hardware minimums: For a standalone node the documented minimum is 4 cores, 24 GB RAM, 200 GB storage and 2 NICs, as listed in the hardware requirements.
- Operating system and version: Security Onion 3.0.0 supports only Oracle Linux 9, so confirm the OS and version before you plan upgrades or installs.
- Named owner: Assign one person to own the import host, its storage, and its access list.
Write these facts into one table, and check that the import host appears on the supported list before any evidence is copied to it.
Import options and when each fits
This table compares the import approaches open to an analyst loading third-party captures with so-import-pcap, including single and multi-file runs and re-imports. Read each row against the SOC link behavior and the MD5 skip rule, since those two facts decide whether you can reach the results and whether a file will be processed at all. The main takeaway is that a repeated capture is skipped silently unless its import directory is removed first.
| Option | SOC link | MD5 skip rule and /nsm/import/ | When it fits |
|---|---|---|---|
| Single PCAP in one run | Gives a SOC link for that file | Processed once; its MD5 hash is recorded, so a later run skips it unless its /nsm/import/ directory is deleted | One capture from an incident that you want to open directly in the SOC |
| Several PCAPs in one run | Gives a SOC link only for the last file imported | Each file is checked by MD5 hash, and already processed files are skipped | Batches from one case where you will find the other files through Hunt or the Alerts view |
| First import of a new capture | Available for the file if it is the last one in the run | No prior hash match, so the file is processed and its results are indexed | Evidence you have not loaded before, such as a fresh export from a customer |
| Re-running a previously processed capture | No new link is produced for a skipped file | Skipped by MD5 match until the matching /nsm/import/ directory is deleted | Only when you have a reason to reprocess, such as a changed ruleset, and you accept that old results may mix with new ones |
| Re-import of a modified copy | Depends on whether it is the last file in the run | A changed file has a different MD5 hash, so it is not skipped by the hash rule | When a capture was trimmed or repaired and you need its results separate from the original |
| Non-supported install type | Not applicable | Not applicable | Heavy nodes do not support so-import-pcap, so run it on Import, Eval or Standalone setups |
How original timestamps and Suricata and Zeek output appear in hunts
Analysts search imported PCAP evidence in the same hunts and dashboards they use for live sensor data, so the first thing to verify is how the original capture timestamps are preserved. An imported file from an incident may be weeks or months old, and if its events are indexed under the import time instead of the capture time, a hunt over the incident window will return the wrong results or nothing at all. Run a small test import of a capture whose time range you already know, then search for a known packet or flow and compare the event time with the time you expect from the capture. Confirm the timestamp handling for your version in the so-import-pcap documentation and in that test before you rely on the import for timeline work.
Next, confirm where Suricata and Zeek output land after the import. Suricata alerts and Zeek logs from the imported file should be searchable in the Security Onion Console alongside live network data, but the exact index, dataset or field names used for imported evidence can differ between releases and between how the import was run. Check which dataset your test events arrive under, and confirm that the fields you plan to pivot on, such as source and destination addresses, ports and protocol, are populated in the same way as live events. If imported Zeek records and live Zeek records use different field names or time fields, hunts written against live data will miss the imported evidence, so document any differences before the first case uses the import.
Finally, decide how you will separate imported evidence from live traffic during an investigation. Imported data can share addresses and time ranges with live sensors, which makes it easy to mix sources in a timeline and draw conclusions the evidence does not support. Record the import source, the file hash and the import time in your case notes, and use a query filter or dashboard view that makes the origin of each event visible. Verify these steps on your own version, because the labels and filters available for imported events are what your analysts will depend on when they explain a finding to others.
Running a first import on a supported node
This sequence confirms the node can accept imports, stages the captures, runs so-import-pcap, and checks that Suricata and Zeek records from the files are searchable in hunting before anyone draws conclusions from them.
Confirm the node type supports import
Before anything else, the analyst or platform engineer checks which deployment type the grid runs. so-import-pcap is supported on Import, Eval and Standalone setups and is not supported on heavy nodes, so a distributed grid's sensors and search nodes are not the place to run it. Check the deployment type in the Console or in the grid configuration your team maintains. Done means you have written down the node hostname and its type, and you have confirmed it is one of the three supported types. If the node is a heavy node, stop and move the work to a supported node before continuing.
Stage the PCAP files on the node
Copy the third-party capture files to a staging location on the supported node that the analyst account can read, and keep a record of each file's name and MD5 hash taken before the copy. Hashes matter because so-import-pcap skips any PCAP it has already processed by MD5 hash unless the matching directory under /nsm/import/ is deleted. Confirm the files open with a packet reader on a separate workstation so you do not waste a run on a truncated capture. Done means each file is in the staging location and your hash list matches the copies on the node.
Read the exact so-import-pcap syntax for your version
Open the so-import-pcap documentation for the Security Onion version the grid runs and copy the command syntax, flags and file path arguments from that page. Command syntax changes between releases, so do not reuse an example from a blog post, an older runbook or a colleague's shell history. Note the flag that controls how the files are passed in, because several files imported together behave differently from one file. Done means your change record contains the command you intend to run, and you have checked it against the docs for your version.
Run so-import-pcap and capture its output
An operator with sudo rights on the supported node runs so-import-pcap using the syntax confirmed in the previous step, pointed at the staged files. Save the console output to a file so you can see which files were processed and which were skipped as already seen. Watch for skipped files in the output and compare them with your hash list. Done means the command has returned, the output is saved, and every file you expected to process is either processed or accounted for as a duplicate.
Follow the SOC link for the last file
When several files are imported together, the output includes a SOC link for the last file only, not for each one. Copy that link and open it in a browser where your analysts are signed in to the Security Onion Console. The link opens the imported evidence in the Console. Confirm that the time range shown matches the capture, which is what you will use to judge whether the timestamps were preserved. Done means the Console opens on the expected data and the time range matches the last capture's activity.
Verify Suricata and Zeek records in hunting
In the Hunt interface, search over the time range of the import for Suricata alert and event records and for Zeek connection and protocol records. Check that the record counts are non-zero and that the source and destination addresses in the records match the capture you examined in your packet reader. Also confirm that the record timestamps fall in the capture's original period, not the import date. Done means you can point to at least one Suricata record and one Zeek record that match a known conversation in the file, with timestamps you have checked.
Record the import for re-run and handoff
Write down the node, the command and flags used, the files processed, the files skipped by hash, the SOC link and the time range you verified. Keep this record with the case or the evidence log so a second analyst can repeat the run or explain why a file was skipped. If you need to re-import a file that was already processed, you must delete its directory under /nsm/import/ first, so note the directory name in the record. Done means a colleague could reproduce the run from your notes without asking you.
When a PCAP is skipped on re-import
so-import-pcap skips any capture whose MD5 hash it has already processed. Re-running the same command on the same file produces no new output, and the tool does not check whether the file's contents changed in a way that would alter the hash. The same rule applies to an edited or re-captured file that yields an identical MD5 value, so it is skipped too. Before you assume the import worked, check the hash of the file you intend to load against the hashes already recorded on the sensor, and confirm that the file is the one your team expects. Any change to the bytes produces a different hash, so a file that looks the same to an analyst but was re-saved or truncated will be processed as new.
The documented way to re-process a capture is to delete the matching directory under /nsm/import/ for that file and then run so-import-pcap again. Removing that directory clears the record the tool uses to decide that the file was already handled, so the import runs from the start. Confirm the exact directory name for your version against the so-import-pcap documentation before deleting anything. Deleting that directory is a change to stored evidence and to the state the grid relies on, so treat it as a controlled action with a change record that names the capture, the reason for re-running it and the approver.
Keep a log of every capture you re-run, including the file name, the hash, the date, the analyst and the change record number. Without that log, two analysts may load the same file into different cases, or a later reviewer may not be able to explain why certain events appear twice or why a timeline shifted. A simple table kept with the case notes is enough, as long as it is updated each time a directory is removed and the file is imported again.
Handling many PCAP files without losing track
Importing a large batch of outside captures turns a single-file task into a tracking problem. The six concerns below decide whether every file is processed once, traceable to its source, and still available as evidence when the investigation is over.
Batch sizing per run
Importing several files in one run is possible, but each run is one unit of work you must be able to account for. Split large sets into groups you can check, so a failed or partial group is easy to find and rerun. Confirm with your own timing tests how long a group takes on your hardware before you commit to a schedule. Record the group boundaries in your case notes.
so-import-pcap docsOne SOC link for the batch
When several files are imported together, so-import-pcap gives a SOC link only for the last file. Analysts who open the link for the first file will not find a direct path to it from the output. Plan a manifest that lists every file with its own hunt query or time range, so each capture can be reached in Hunt without depending on that single link.
Duplicate detection by hash
The importer skips PCAPs it has already processed, identified by MD5 hash, unless their /nsm/import/ directory is deleted. Renamed copies of the same capture will be skipped, which is correct for evidence but can confuse a count of imported files. Compare your manifest hashes against the import directory before each run, and decide in advance who approves deleting a directory to force a re-import.
Storage capacity on the node
Imported captures and their Suricata and Zeek output consume disk on the node that runs the import. Check free space against the total size of the batch plus expected logs before starting, not after. Confirm the node's sizing and storage with the hardware requirements, since import is supported only on Import, Eval and Standalone setups and not on heavy nodes. Plan cleanup of import directories only after the evidence is archived.
Hardware requirementsNaming and provenance records
Because the importer identifies files by hash rather than name, the name you give each capture is your only human link to its origin. Keep a provenance record for every file: source system, collection time, collector, hash and the ticket it belongs to. Use a consistent naming pattern so a file's origin can be read from its name alone. Ask the team that supplied the captures which provenance fields they already track.
Evidence handling and chain of custody
Analysts usually work on copies, and the import process itself changes the node. Keep the original captures unmodified in a separate, access-controlled store and record the hash before and after each import. Document who ran each import, when, and against which node. Confirm your organization's evidence policy and legal hold rules with counsel before using imported captures in a formal case.
How a PCAP moves from file to hunt
The flow starts with a capture file from outside the grid, copied into the import directory on an Import, Eval or Standalone node. Before processing, the file's MD5 hash is checked against earlier imports. A hash that was already processed is skipped unless the /nsm/import/ directory is deleted. Accepted files go through so-import-pcap, then Suricata and Zeek, then indexing, where analysts can hunt the results. Check the node type and hash history before copying, because a skipped file produces no new events.
Path of a third-party PCAP from copy to hunt, with the MD5 skip branch.
Security and evidence handling for imported captures
Imported captures are untrusted input that can carry sensitive traffic and become evidence in an investigation. The cards below cover the decisions your team should make about where imports run, who sees them, how long they stay, and how their origin is recorded before any file reaches so-import-pcap.
Treat captures as untrusted input
A PCAP from a partner, a customer or a forensic vendor is data from an outside source, and the analysis node parses it with Suricata and Zeek. Decide whether imports run on a dedicated analysis Security Onion install rather than a production grid, and confirm the host is patched, isolated from production networks and has no credentials it does not need. Ask the vendor or provider whether the file was validated before it was sent to you.
so-import-pcap docsRetention of sensitive traffic
A capture can hold credentials, personal data, health or payment records and internal hostnames, and Security Onion stores the resulting logs and extracted data in its indexes. Decide how long imported evidence stays in the grid, who approves deletion, and whether the source file is kept separately under your own storage policy. Confirm with your legal or privacy team which retention rules apply to the capture before import.
Access to imported evidence through roles
Imported events are searchable by any Security Onion user whose role allows access to the relevant data, so an analyst on one engagement may see another client's traffic. Review which roles can run hunts, open cases and view PCAP, and decide whether imports need a separate deployment or tenant boundary. Test the role model with a non-admin account before the first real import.
Chain of custody records
Security Onion records the import in its own logs, but it does not replace a written custody record that shows who received the file, when, how its integrity was checked and who handled it. Record the MD5 hash of each file before import, since that hash also drives duplicate skipping, along with the source, transfer method and receiving analyst. Confirm with your incident response or legal team what format their evidence register requires.
Duplicate handling and re-import records
Because so-import-pcap skips files already processed by MD5 hash unless their /nsm/import/ directory is deleted, deleting that directory changes the record of what was analyzed. Decide who may delete import directories, require a ticket for each deletion, and note which file was re-imported and why. Confirm that your procedure keeps the original hash list so a later reviewer can reconstruct the analysis.
What teams ask before running PCAP imports
What makes a PCAP import project cost more or less?
The main cost driver is how many captures you need to process, how large they are, and how much analyst review follows the import. A single small file on a suitable install is a short task, while hundreds of captures from several incidents need batching, duplicate handling and a clear record of what was processed. Cost also rises when the target install is not the right type, because the work then includes building or moving to a supported platform first. Ask any partner for a quote built from file count, total size, target deployment type, and whether they must also write up findings. Recurring cost is usually small because an import is an event, not a service, unless you commit to ongoing evidence handling.
Can our own analysts run so-import-pcap without outside help?
Yes, if you have a supported Security Onion install and at least one person who can operate it from the command line and read Suricata and Zeek output. The tool itself is a single command that accepts PCAP files, so the work is less about running it and more about planning. Your team needs to know which install type you run, how to confirm the import directory state, and how to find the resulting events in the console. Teams without that Linux and network analysis skill often find the first few imports slow, so a short internal runbook or outside review of the first run is a practical middle path.
Which Security Onion install do we need for PCAP imports?
so-import-pcap is supported on Import, Eval and Standalone setups, and it is not supported on heavy nodes. Confirm your deployment type before planning, because a production Distributed grid with a manager, sensors and search nodes is not the target for this tool. Many teams keep a separate Import or Standalone system for offline analysis so that evidence work does not compete with live monitoring. If your only install is a heavy node, plan a different host for imports rather than trying to force the workflow onto it.
What does the team need to provide before an import starts?
You need the PCAP files, a list of which incident or source each file came from, the target install with enough free disk space for the imported data, and a named person to review the results. Record the original capture timestamps and where each file came from, since analysts will rely on them when they correlate events. Agree on how you will handle duplicates, because files already processed are skipped by MD5 hash unless their /nsm/import/ directory is deleted. Confirm also who may see the captures, since packets often contain credentials, personal data or regulated information.
How long does a first PCAP import take?
No timing figure is supplied for this topic, so treat any duration as something to measure in your environment. Import time depends mainly on total capture size, the number of files, the hardware of the target node, and how much Suricata and Zeek output the traffic produces. Run one representative file first and time it, then extrapolate to the full set. Ask any partner to base their schedule on that measured run rather than on a generic estimate, and confirm the expected duration with the Security Onion documentation for your version.
Why does the console show only one SOC link after importing many files?
When you import several PCAPs together, so-import-pcap provides a SOC link only for the last file. This affects how analysts start their review. Instead of relying on the single link, plan a short index that lists each capture, its source and the link or search you used to reach its events. Import files in an order that makes the last one the most important, or run them one at a time when each needs its own starting point. Document this behavior in your runbook so reviewers do not assume every file is linked.
When should we bring in a partner for PCAP analysis?
Bring in a partner when the import is tied to an active incident, when captures contain regulated or sensitive data that needs controlled handling, or when your team lacks time to run the tool and review results at the same moment. A partner is also useful when you need repeatable procedures written down for future cases. DeployOpen plans, implements and documents self-hosted open-source platforms inside your own infrastructure, and runs security testing. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How DeployOpen scopes PCAP import work
DeployOpen approaches PCAP import as a scoped piece of work on a Security Onion installation you control, starting with which install type you run and how many captures you need to process. The written scope fixes the boundaries before any file is loaded into the platform.
How we scope
- Confirm the install type first, since so-import-pcap runs on Import, Eval and Standalone setups but not on heavy nodes.
- Inventory the capture files, their sources, sizes and whether any were already imported, since files are skipped by MD5 hash.
- Agree in writing which Suricata and Zeek output, timestamp handling and SOC review steps the engagement covers.
- Engagements are fixed-scope, with scope, deliverables and timelines agreed before work starts. Ongoing support is available as a retainer.
How we build
- Prepare a repeatable import procedure for the agreed install type, including a naming convention for each capture batch.
- Run imports in controlled batches and record which file produced which SOC link, since only the last file in a multi-file import gets one.
- Check that Suricata and Zeek output appears for each capture and that original timestamps match the evidence source.
- Document the re-import rules, including when the /nsm/import/ directory must be cleared so a file can be processed again.
How we hand over
- Deliver a written runbook covering install prerequisites, command usage, batch naming, and the steps for re-importing a capture.
- Provide a record of each imported file with its MD5 hash, batch identifier and the analyst-facing link or query used to review it.
- Walk the SOC team through reviewing imported captures in the Security Onion Console so they can repeat the process without us.
- Hand over a list of open questions to confirm with your own environment, such as storage capacity for large capture sets.
How we support
- Review new capture batches against the agreed procedure when your team adds evidence after the initial engagement.
- Support re-imports and troubleshooting for captures that were skipped or produced incomplete output.
- Keep the runbook aligned with the Security Onion version in use, since install support and commands can change between releases.
- Offer ongoing support and continuous testing through a retainer when imports become a regular part of incident work.

