Suspicious New-PSDrive to Admin Share

 Original Source: [Sigma source]
Title: Suspicious New-PSDrive to Admin Share
Status: test
Description: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.
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
Author: frack113
Date: 2022-08-13
modified:None
Tags:
  • -'attack.lateral-movement'
  • -'attack.t1021.002'
Logsource:
  • product: windows
  • category: ps_script
  • definition: Requirements: Script Block Logging must be enabled
Detection:
  selection:
    ScriptBlockText|contains|all:
      -'New-PSDrive'
      -'-psprovider '
      -'filesystem'
      -'-root '
      -'\\\\'
      -'$'

  condition:selection
Falsepositives:
  -Unknown
Level: medium