Skip to content

Commit

Permalink
Update T1016.001.yaml (#2928)
Browse files Browse the repository at this point in the history
Co-authored-by: Carrie Roberts <[email protected]>
  • Loading branch information
0xv1n and clr2of8 authored Sep 14, 2024
1 parent 3f9d6f4 commit 119501a
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions atomics/T1016.001/T1016.001.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,51 @@ atomic_tests:
elevation_required: false
command: |
ping -n 4 #{ping_target}
- name: Check internet connection using Test-NetConnection in PowerShell (ICMP-Ping)
auto_generated_guid:
description: |
Check internet connection using PowerShell's Test-NetConnection cmdlet and the ICMP/Ping protocol. The default target is 8.8.8.8 (Google Public DNS).
supported_platforms:
- windows
input_arguments:
target:
description: target of the request
type: string
default: 8.8.8.8
executor:
name: powershell
elevation_required: false
command: |
Test-NetConnection -ComputerName #{target}
- name: Check internet connection using Test-NetConnection in PowerShell (TCP-HTTP)
auto_generated_guid:
description: |
Check internet connection using PowerShell's Test-NetConnection cmdlet and the TCP protocol to check for outbound HTTP (Port 80) access. The default target is www.google.com.
supported_platforms:
- windows
input_arguments:
target:
description: target of the request
type: string
default: www.google.com
executor:
name: powershell
elevation_required: false
command: |
Test-NetConnection -CommonTCPPort HTTP -ComputerName #{target}
- name: Check internet connection using Test-NetConnection in PowerShell (TCP-SMB)
auto_generated_guid:
description: |
Check internet connection using PowerShell's Test-NetConnection cmdlet and the TCP protocol to check for outbound SMB (Port 445) access. The default target is 8.8.8.8.
supported_platforms:
- windows
input_arguments:
target:
description: target of the request
type: string
default: 8.8.8.8
executor:
name: powershell
elevation_required: false
command: |
Test-NetConnection -CommonTCPPort SMB -ComputerName #{target}

0 comments on commit 119501a

Please sign in to comment.