Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

3.1 KB
Raw Blame
id: splunk-security-content-bb3c1bac-6bdf-4aa0-8dc9-068b8b712a76
name: Impacket Lateral Movement smbexec CommandLine Parameters
description: The following analytic identifies suspicious command-line parameters
  associated with the use of Impacket's smbexec.py for lateral movement. It leverages
  data from Endpoint Detection and Response (EDR) agents, focusing on specific command-line
  patterns indicative of Impacket tool usage. This activity is significant as both
  Red Teams and adversaries use Impacket for remote code execution and lateral movement.
  If confirmed malicious, this activity could allow attackers to execute commands
  on remote endpoints, potentially leading to unauthorized access, data exfiltration,
  or further compromise of the network.
severity: medium
enabled: false
tags:
  mitre:
  - T1021.002
  - T1021.003
  - T1047
  - T1543.003
  categories:
  - endpoint
references:
- https://attack.mitre.org/techniques/T1021/002/
- https://attack.mitre.org/techniques/T1021/003/
- https://attack.mitre.org/techniques/T1047/
- https://attack.mitre.org/techniques/T1053/
- https://attack.mitre.org/techniques/T1053/005/
- https://github.com/SecureAuthCorp/impacket
- https://vk9-sec.com/impacket-remote-code-execution-rce-on-windows-from-linux/
- https://www.microsoft.com/security/blog/2022/01/15/destructive-malware-targeting-ukrainian-organizations/
- https://www.microsoft.com/en-us/security/blog/2023/05/24/volt-typhoon-targets-us-critical-infrastructure-with-living-off-the-land-techniques/
logsource:
  product: splunk
detection:
  splunk_spl: '| tstats `security_content_summariesonly` count min(_time) as firstTime
    max(_time) as lastTime from datamodel=Endpoint.Processes where Processes.process_name=cmd.exe
    by Processes.action Processes.dest Processes.original_file_name Processes.parent_process
    Processes.parent_process_exec Processes.parent_process_guid Processes.parent_process_id
    Processes.parent_process_name Processes.parent_process_path Processes.process
    Processes.process_exec Processes.process_guid Processes.process_hash Processes.process_id
    Processes.process_integrity_level Processes.process_name Processes.process_path
    Processes.user Processes.user_id Processes.vendor_product | `drop_dm_object_name(Processes)`
    | where match(process, "(?i)cmd\.exe\s+\/Q\s+\/c") AND match(process,"(?i)echo\s+cd")
    AND match(process, "(?i)\\__output") AND  match(process, "(?i)C:\\\\Windows\\\\[a-zA-Z]{1,8}\\.bat")  AND
    match(process, "\\\\127\.0\.0\.1\\.*") | `security_content_ctime(firstTime)` |
    `security_content_ctime(lastTime)` | `impacket_lateral_movement_smbexec_commandline_parameters_filter`'
provenance:
  source: splunk/security_content
  source_id: bb3c1bac-6bdf-4aa0-8dc9-068b8b712a76
  source_commit: 4d4c7ee
  license: Apache-2.0
  license_url: https://github.com/splunk/security_content/blob/develop/LICENSE
  imported_at: '2026-05-04'
  imported_by: splunk_importer
  upstream_path: detections/endpoint/impacket_lateral_movement_smbexec_commandline_parameters.yml
notes:
  splunk_status: production
  splunk_data_source: []
  quarantine_reason: raw SPL — needs translation to AiSOC detection schema