Suspicious Get-ADReplAccount

 Original Source: [Sigma source]
Title: Suspicious Get-ADReplAccount
Status: test
Description:The DSInternals PowerShell Module exposes several internal features of Active Directory and Azure Active Directory. These include FIDO2 and NGC key auditing, offline ntds.dit file manipulation, password auditing, DC recovery from IFM backups and password hash calculation.
References:
  -https://www.powershellgallery.com/packages/DSInternals
  -https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1003.006/T1003.006.md#atomic-test-2---run-dsinternals-get-adreplaccount
Author: frack113
Date: 2022-02-06
modified:None
Tags:
  • -'attack.credential-access'
  • -'attack.t1003.006'
Logsource:
  • product: windows
  • category: ps_script
  • definition: Requirements: Script Block Logging must be enabled
Detection:
  selection:
    ScriptBlockText|contains|all:
      -'Get-ADReplAccount'
      -'-All '
      -'-Server '

  condition:selection
Falsepositives:
  -Legitimate PowerShell scripts
Level: medium