Back to Intelligence

FBI Criminal Justice Database Hack: Detection and Hardening Guide for Protecting Sensitive Government Databases

SA
Security Arsenal Team
November 22, 2026
11 min read

The FBI is investigating an apparent intrusion into the national law enforcement database it maintains, according to reporting from SecurityWeek citing an Associated Press source. While details remain scarce — no CVE, no named threat actor, and no confirmed exfiltration scope have been disclosed as of this writing — the implications are serious. A database holding criminal justice records is among the most sensitive data stores in the federal ecosystem: investigative subjects, informants, arrest records, active case data, and personally identifiable information on both officers and civilians all live in systems like this.

For defenders, the lesson here is not about a specific vulnerability. It is about the attack surface that every large, multi-agency database platform presents, and the detection discipline required to catch an intruder before records walk out the door. If a breach of this sensitivity can trigger an FBI internal investigation, your organization's crown-jewel databases deserve the same scrutiny today — not after the AP calls.

Technical Analysis

What We Know — and What We Don't

As of publication, confirmed technical details are limited:

  • The FBI is actively investigating an apparent hack of a national criminal justice database it maintains
  • The disclosure came via an AP source, meaning the investigation predates public knowledge
  • No vulnerability identifier, malware family, or threat actor attribution has been released
  • The scope of any data accessed or exfiltrated has not been confirmed

The database in question is consistent with systems of the class of the FBI's National Crime Information Center (NCIC) or successor criminal justice information platforms — systems that serve tens of thousands of law enforcement agencies, are reachable through distributed access points (state and local terminal connections, web portals, APIs), and must balance broad authorized access against extraordinary data sensitivity.

That architecture is precisely the problem. A platform designed to be queried by hundreds of thousands of legitimate users across thousands of agencies cannot rely on network perimeter controls alone. Compromise of any one downstream agency's credentials or terminal infrastructure becomes a potential path into the national system.

Realistic Attack Chains Against Criminal Justice Databases

Based on historical intrusions into law enforcement and government data platforms, the most probable attack paths against a system of this class are:

  1. Credential compromise of an authorized downstream agency. Phishing, infostealer malware, or token theft against a state or local agency user provides authenticated access that blends with legitimate query traffic. This is the most common and hardest-to-detect path.
  2. Web application or API exploitation. Exposed query interfaces, unpatched middleware, or broken access controls (IDOR-style enumeration of records) allow bulk extraction without any malware on the endpoint.
  3. Lateral movement from a compromised agency network into the interconnection infrastructure that federated access depends on.
  4. Insider misuse or abuse of privileged database access, using legitimate tools to extract bulk records.

In every one of these chains, the common denominator is bulk or anomalous data access. Whether the intruder arrives via stolen credentials or a software flaw, the objective requires querying or exporting data at volumes or patterns that differ from baseline. That is the defender's detection opportunity.

Exploitation Status

  • Confirmed active incident: Yes — the FBI itself is investigating
  • CVE / CVSS: None disclosed; none should be assumed
  • CISA KEV: Not applicable at this time
  • Threat actor attribution: Unknown

Defenders should treat this as an unattributed intrusion into a federated sensitive-data platform and apply the detection and hardening guidance below to their own equivalent systems.

Detection & Response

The following detections target the observable behaviors common to intrusions against sensitive database platforms: bulk data extraction, abuse of database client tools, anomalous query volume from a single identity, and suspicious access to exported data. These are written to be genuinely deployable — tuned against the noisy patterns that get rules disabled.

Sigma Rules

YAML
---
title: Bulk Database Export Tool Execution
description: Detects execution of database client and bulk-export utilities commonly abused to extract large result sets from SQL Server, MySQL, PostgreSQL, and Oracle environments. Tune the host scope to database servers and application tiers where these tools are not expected on endpoints.
references:
  - https://attack.mitre.org/techniques/T1005/
  - https://attack.mitre.org/techniques/T1530/
author: Security Arsenal
id: 4c1a9e72-6b3d-4f58-a921-8e7d2c5b1094
status: experimental
date: 2026/05/12
tags:
  - attack.collection
  - attack.t1005
  - attack.t1530
logsource:
  category: process_creation
  product: windows
detection:
  selection_tools:
    Image|endswith:
      - '\sqlcmd.exe'
      - '\bcp.exe'
      - '\osql.exe'
      - '\mysqldump.exe'
      - '\mysql.exe'
      - '\psql.exe'
      - '\pg_dump.exe'
      - '\sqlplus.exe'
      - '\expdp.exe'
  selection_args:
    CommandLine|contains:
      - 'queryout'
      - 'SELECT'
      - ' --databases'
      - '--all-databases'
      - ' -T '
  condition: selection_tools and selection_args
falsepositives:
  - Scheduled ETL jobs and database administrator maintenance on DB servers; scope the rule to hosts where these tools are not expected, or baseline by executing account
level: high
---
title: PowerShell Database Query Execution from Non-Database Hosts
description: Detects PowerShell invoking .NET SQL client classes or ODBC/OLEDB connections, a common pattern for interactive data theft from endpoints that have no legitimate database workload.
references:
  - https://attack.mitre.org/techniques/T1059.001/
  - https://attack.mitre.org/techniques/T1218/
author: Security Arsenal
id: 8f2b7d41-3c6a-4e19-b054-2a9f6d8c3e17
status: experimental
date: 2026/05/12
tags:
  - attack.execution
  - attack.t1059.001
  - attack.collection
  - attack.t1005
logsource:
  category: process_creation
  product: windows
detection:
  selection:
    Image|endswith:
      - '\powershell.exe'
      - '\pwsh.exe'
    CommandLine|contains:
      - 'System.Data.SqlClient'
      - 'SqlConnection'
      - 'Invoke-Sqlcmd'
      - 'System.Data.OleDb'
      - 'System.Data.Odbc'
falsepositives:
  - Administrative automation scripts; filter by a known-good list of automation accounts and management hosts
level: medium
---
title: Sensitive Data Staging Archive Creation in Temp or Public Paths
description: Detects compression utilities creating archives in staging directories commonly used before exfiltration of extracted database records.
references:
  - https://attack.mitre.org/techniques/T1560.001/
  - https://attack.mitre.org/techniques/T1074.001/
author: Security Arsenal
id: 61d3e8a5-9f47-4b2c-a386-7c5e1b94f208
status: experimental
date: 2026/05/12
tags:
  - attack.collection
  - attack.t1560.001
  - attack.t1074.001
logsource:
  category: process_creation
  product: windows
detection:
  selection_tool:
    Image|endswith:
      - '\7z.exe'
      - '\rar.exe'
      - '\winrar.exe'
      - '\zip.exe'
      - '\tar.exe'
  selection_path:
    CommandLine|contains:
      - '\Temp\'
      - '\AppData\Local\Temp\'
      - '\Users\Public\'
      - '\ProgramData\'
      - '\Windows\Temp\'
  condition: selection_tool and selection_path
falsepositives:
  - Software packaging and user-initiated archiving in temp paths; correlate with preceding database client execution on the same host
level: medium

KQL (Microsoft Sentinel / Defender)

The following hunts cover two angles: execution of database extraction tooling on endpoints, and anomalous query volume from individual accounts against database platforms logged via Syslog/CEF ingestion.

KQL — Microsoft Sentinel / Defender
// Hunt 1: Database client and bulk-export tool execution across the fleet
// Excludes a parameterized allowlist of DBA workstations and automation accounts
let AllowedHosts = dynamic(["DBADMIN01", "ETLSRV01"]);
let AllowedAccounts = dynamic(["svc_etl", "dba_team"]);
DeviceProcessEvents
| where TimeGenerated > ago(7d)
| where FileName in~ ("sqlcmd.exe","bcp.exe","osql.exe","mysqldump.exe","mysql.exe","psql.exe","pg_dump.exe","sqlplus.exe","expdp.exe")
   or ProcessCommandLine has_any ("queryout","--all-databases","Invoke-Sqlcmd","System.Data.SqlClient")
| where DeviceName !in~ (AllowedHosts)
| where AccountName !in~ (AllowedAccounts)
| summarize FirstSeen=min(TimeGenerated), LastSeen=max(TimeGenerated), ExecutionCount=count()
  by DeviceName, AccountName, FileName, ProcessCommandLine, InitiatingProcessFileName
| order by ExecutionCount desc;

// Hunt 2: Anomalous authentication and query volume to database platforms via CEF/Syslog
// Flags any source account or host generating more than 3x its own 14-day baseline of DB sessions
CommonSecurityLog
| where TimeGenerated > ago(14d)
| where DestinationPort in (1433, 3306, 5432, 1521, 27017)
| summarize DailySessions=count() by SourceUserName, SourceIP, DestinationIP, bin(TimeGenerated, 1d)
| summarize AvgBaseline=avgif(DailySessions, TimeGenerated < ago(1d)),
            TodaySessions=sumif(DailySessions, TimeGenerated >= ago(1d))
  by SourceUserName, SourceIP, DestinationIP
| where TodaySessions > (AvgBaseline * 3) and TodaySessions > 100
| project SourceUserName, SourceIP, DestinationIP, AvgBaseline, TodaySessions
| order by TodaySessions desc;

// Hunt 3: Large outbound transfers following internal database connections (exfil correlation)
DeviceNetworkEvents
| where TimeGenerated > ago(24h)
| where RemotePort in (1433, 3306, 5432, 1521)
| distinct DeviceName, RemoteIP, DBConnectTime=TimeGenerated
| join kind=inner (
    DeviceNetworkEvents
    | where TimeGenerated > ago(24h)
    | where RemoteIPType == "Public"
    | where RemotePort in (443, 22, 21, 53)
  ) on DeviceName
| where TimeGenerated between (DBConnectTime .. (DBConnectTime + 4h))
| summarize FirstDBConnect=min(DBConnectTime), FirstOutbound=min(TimeGenerated),
            OutboundDestinations=dcount(RemoteIP1), Destinations=make_set(RemoteIP1, 10)
  by DeviceName, AccountName=AccountName1, Process=FileName1
| order by FirstDBConnect asc;

Velociraptor VQL

Use this artifact during triage of any host suspected of involvement in bulk data access — it surfaces database client executions, staging archives, and established connections to database ports in one collection.

VQL — Velociraptor
-- Triage: database client execution, staging archives, and DB-port connections
SELECT Pid, Name, CommandLine, Exe, Username, CreateTime
FROM pslist()
WHERE CommandLine =~ '(?i)sqlcmd|bcp |mysqldump|pg_dump|sqlplus|Invoke-Sqlcmd|System\.Data\.SqlClient|queryout|--all-databases'
   OR Name =~ '(?i)^(7z|rar|winrar|tar)\.exe$'

-- Staging artifacts: archives and CSV/TSV dumps in temp and public paths, last 7 days
SELECT FullPath, Size, Mtime
FROM glob(globs=['C:/Users/*/AppData/Local/Temp/*.{zip,7z,rar,csv,tsv,sql}',
                 'C:/Users/Public/*.{zip,7z,rar,csv,tsv,sql}',
                 'C:/Windows/Temp/*.{zip,7z,rar,csv,tsv,sql}',
                 'C:/ProgramData/*.{zip,7z,rar,csv,tsv,sql}'])
WHERE Mtime > now() - 604800
  AND Size > 1000000
ORDER BY Mtime DESC

-- Active and recent connections to database service ports
SELECT Pid, Name, LocalAddr, LocalPort, RemoteAddr, RemotePort, Status
FROM netstat()
WHERE RemotePort in (1433, 3306, 5432, 1521, 27017)

Hardening and Verification Script

The following PowerShell audits a Windows environment for the most common pre-conditions of database-platform abuse: unauthorized database client tooling on non-database hosts, missing process creation auditing, and service accounts with interactive logon rights that should never have them.

PowerShell
# Audit 1: Enable command-line process auditing (Event ID 4688 with command line) if not already enabled
$auditPol = auditpol /get /subcategory:"Process Creation" 2>$null
if ($auditPol -notmatch "Success") {
    auditpol /set /subcategory:"Process Creation" /success:enable /failure:enable
    Write-Output "[FIXED] Process Creation auditing enabled."
}
$cmdLineReg = Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit" -Name "ProcessCreationIncludeCmdLine_Enabled" -ErrorAction SilentlyContinue
if (-not $cmdLineReg -or $cmdLineReg.ProcessCreationIncludeCmdLine_Enabled -ne 1) {
    New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit" -Force | Out-Null
    Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit" -Name "ProcessCreationIncludeCmdLine_Enabled" -Value 1
    Write-Output "[FIXED] Command-line capture for Event 4688 enabled."
}

# Audit 2: Find database client tools installed on non-database hosts
$dbTools = @("sqlcmd.exe","bcp.exe","mysqldump.exe","pg_dump.exe","sqlplus.exe","expdp.exe")
$found = foreach ($tool in $dbTools) {
    Get-ChildItem -Path "C:\Program Files","C:\Program Files (x86)","C:\Tools","C:\Users" -Filter $tool -Recurse -ErrorAction SilentlyContinue -Force |
        Select-Object @{n='Tool';e={$tool}}, FullPath, LastWriteTime
}
if ($found) {
    Write-Output "[REVIEW] Database client tools found - verify each is authorized on this host:"
    $found | Format-Table -AutoSize
    $found | Export-Csv -Path "C:\DBToolAudit_$(Get-Date -Format 'yyyyMMdd').csv" -NoTypeInformation
} else {
    Write-Output "[OK] No database client tools found outside expected locations."
}

# Audit 3: Identify service accounts that have logged on interactively in the last 14 days (should be near-zero)
Get-WinEvent -FilterHashtable @{LogName='Security'; Id=4624; StartTime=(Get-Date).AddDays(-14)} -ErrorAction SilentlyContinue |
    Where-Object { $_.Message -match "Logon Type:\s+(2|10)" } |
    ForEach-Object {
        $acct = ([regex]::Match($_.Message, "Account Name:\s+([^\s]+)", 'IgnoreCase')).Groups[1].Value
        if ($acct -match "^svc[_-]|^sa$|service" ) {
            [PSCustomObject]@{ Time=$_.TimeCreated; Account=$acct; LogonType=([regex]::Match($_.Message, "Logon Type:\s+(\d+)")).Groups[1].Value }
        }
    } | Sort-Object Time -Descending | Format-Table -AutoSize
Write-Output "[REVIEW] Any rows above indicate interactive logon by a service account - investigate and restrict via 'Deny log on locally' / 'Deny log on through Remote Desktop Services' GPO."

# Audit 4: Verify outbound firewall posture - DB ports should never egress directly from endpoints
$dbPorts = 1433, 3306, 5432, 1521
foreach ($port in $dbPorts) {
    $rule = Get-NetFirewallRule -Direction Outbound -Enabled True -ErrorAction SilentlyContinue |
        Get-NetFirewallPortFilter | Where-Object { $_.RemotePort -eq $port }
    if (-not $rule) { Write-Output "[NOTE] No explicit outbound rule for port $port - confirm your egress policy blocks direct endpoint-to-DB traffic from non-application tiers." }
}

Remediation

Because no CVE has been disclosed, remediation here means closing the structural gaps that intrusions into federated sensitive databases exploit. Prioritize the following, in order:

  1. Assume credential compromise of downstream users is your primary threat. Enforce phishing-resistant MFA (FIDO2/passkeys) on every account with database query access — especially federated partner and contractor accounts. Session-token theft defeats TOTP and push MFA; hardware-backed authentication is the only durable control.
  2. Enforce least-privilege query scopes. Audit every role with bulk-export, SELECT across broad tables, or API access to record sets. Downstream agency users should query only what their jurisdiction and role require. Row-level and column-level security should be enforced at the database layer, not the application layer alone.
  3. Baseline and alert on query volume per identity. Every account with query access should have a learned baseline. A 3x deviation, after-hours bulk reads, or access from a new host/ASN must page an analyst, not fill a weekly report.
  4. Segregate database access to dedicated application tiers. No endpoint should be able to open a direct connection to production database ports (1433/3306/5432/1521/27017). Enforce this at the network layer and alert on violations.
  5. Remove database client tooling from endpoints. sqlcmd, bcp, psql, and their peers belong on controlled jump hosts and admin workstations with full process and command-line auditing — nowhere else.
  6. Enable and centralize command-line process auditing (Windows Event 4688 with command line, or equivalent EDR telemetry) on every server touching sensitive data. Retain at least 180 days.
  7. Govern service accounts explicitly. Interactive logon denial, gMSA where possible, and immediate alerting on any interactive or RDP logon by a service identity.
  8. Exercise your breach disclosure and evidence-preservation plan now. If your organization holds criminal justice, health, or similarly regulated data, confirm legal hold procedures, forensic imaging readiness, and regulator notification timelines before you need them. CJIS Security Policy compliance requirements apply to any agency or vendor touching criminal justice information — review your current posture against it.

For organizations that consume criminal justice or similarly sensitive federated data, treat this FBI investigation as a live-fire tabletop prompt: if one of your users' credentials were used to query your most sensitive database tonight, would your current detections catch it before the data left?

Related Resources

Security Arsenal Healthcare Cybersecurity AlertMonitor Platform Book a SOC Assessment healthcare Intel Hub

Is your security operations ready?

Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.