Skip to content

Commit

Permalink
Generate docs from job=validate_atomics_generate_docs branch=master
Browse files Browse the repository at this point in the history
  • Loading branch information
CircleCI Atomic Red Team doc generator committed Jun 25, 2018
1 parent 6b9535e commit cbfc1f0
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
21 changes: 21 additions & 0 deletions atomics/T1028/T1028.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ Remote Support: Yes</blockquote>

- [Atomic Test #4 - Psexec](#atomic-test-4---psexec)

- [Atomic Test #5 - Invoke-Command](#atomic-test-5---invoke-command)


<br/>

Expand Down Expand Up @@ -100,3 +102,22 @@ Utilize psexec to start remote process
psexec \\host -u domain\user -p password -s cmd.exe
```
<br/>
<br/>

## Atomic Test #5 - Invoke-Command
Execute Invoke-command on remote host

**Supported Platforms:** Windows


#### Inputs
| Name | Description | Type | Default Value |
|------|-------------|------|---------------|
| host_name | Remote Windows Host Name | String | Test|
| remote_command | Command to execute on remote Host | String | ipconfig|

#### Run it with `powershell`!
```
invoke-command -computername #{host_name} -scriptblock {#{remote_command}}
```
<br/>
2 changes: 2 additions & 0 deletions atomics/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@
- Atomic Test #2: PowerShell Lateral Movement [windows]
- Atomic Test #3: WMIC Process Call Create [windows]
- Atomic Test #4: Psexec [windows]
- Atomic Test #5: Invoke-Command [windows]

# lateral-movement
- [T1155 AppleScript](./T1155/T1155.md)
Expand Down Expand Up @@ -491,6 +492,7 @@
- Atomic Test #2: PowerShell Lateral Movement [windows]
- Atomic Test #3: WMIC Process Call Create [windows]
- Atomic Test #4: Psexec [windows]
- Atomic Test #5: Invoke-Command [windows]

# collection
- [T1123 Audio Capture](./T1123/T1123.md)
Expand Down
2 changes: 2 additions & 0 deletions atomics/windows-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@
- Atomic Test #2: PowerShell Lateral Movement [windows]
- Atomic Test #3: WMIC Process Call Create [windows]
- Atomic Test #4: Psexec [windows]
- Atomic Test #5: Invoke-Command [windows]

# collection
- [T1123 Audio Capture](./T1123/T1123.md)
Expand Down Expand Up @@ -385,6 +386,7 @@
- Atomic Test #2: PowerShell Lateral Movement [windows]
- Atomic Test #3: WMIC Process Call Create [windows]
- Atomic Test #4: Psexec [windows]
- Atomic Test #5: Invoke-Command [windows]

# command-and-control
- T1043 Commonly Used Port [CONTRIBUTE A TEST](https://atomicredteam.io/contributing)
Expand Down

0 comments on commit cbfc1f0

Please sign in to comment.