Sigma rule: Suspicious New-PSDrive to Admin Share
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-e8be3dfcf253, updated 2022-08-13T00:00:00.000Z.
Rule
- Title
- Suspicious New-PSDrive to Admin Share
- Status
- test
- Level
- medium
- Author
- frack113
- Date
- 2022-08-13
- File
- rules/windows/powershell/powershell_script/posh_ps_susp_new_psdrive.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Adversaries may use to interact with a remote network share using Server Message Block (SMB). The adversary may then perform actions as the logged-on user.
Log source
- product
- windows
- category
- ps_script
- definition
- Requirements: Script Block Logging must be enabled
Detection
selection:
ScriptBlockText|contains|all:
- 'New-PSDrive'
- '-psprovider '
- 'filesystem'
- '-root '
- '\\\\'
- '$'
condition: selectionFalse positives (as the rule lists them)
- Unknown
Tags
- attack.lateral-movement
- attack.t1021.002
MITRE ATT&CK ids this rule names
References
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1021.002/T1021.002.md#atomic-test-2---map-admin-share-powershell
- https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/new-psdrive?view=powershell-7.2
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_susp_new_psdrive.yml
Sources and licences
SigmaHQ
"Suspicious New-PSDrive to Admin Share" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_susp_new_psdrive.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Suspicious New-PSDrive to Admin Share",
entity page, dataset version ref-e8be3dfcf253, updated 2022-08-13T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/1c563233-030e-4a07-af8c-ee0490a66d3a (accessed 2026-11-03).
Underlying source: SigmaHQ rule 1c563233-030e-4a07-af8c-ee0490a66d3a, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.