Skip to content

Commit

Permalink
Create T1622.yaml (#2752)
Browse files Browse the repository at this point in the history
Created a new folder T1622 and an yaml file for new atomic test

Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
  • Loading branch information
NagaSivaGunturu and clr2of8 committed Apr 24, 2024
1 parent fa385d1 commit 18388cd
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions atomics/T1622/T1622.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
attack_technique: T1622
display_name: Debugger Evasion
atomic_tests:
- name: Detect a Debugger Presence in the Machine
description: Detecting a running debugger process or if the debugger is attached to a process via PowerShell
supported_platforms:
- windows
executor:
command: |-
# Check for common debugger processes
$debuggerProcesses = Get-Process | Where-Object { $_.ProcessName -match "dbg" -or $_.ProcessName -match "debug" }
# Check for debugging flags
$debuggingFlags = [System.Diagnostics.Debugger]::IsAttached
name: powershell
elevation_required: true

0 comments on commit 18388cd

Please sign in to comment.