Commit Graph

5389 Commits

Author SHA1 Message Date
Hare Sudhan b347ec4291 Merge branch 'master' into master 2023-07-29 15:34:40 -04:00
Thomas de Brelaz a78b9ed805 Fixed multiple issues with the atomic test which was broken: (#2490)
- Added a spool service startype check / update required to execute at boot as the service is dissabled in many VMs,
- Removed reg delete in test preventing successful execution,
- Updated commands to deal more gracefully with errors which were sometimes interrupting cleanup,
- Fixed DLL which was also broken:
- The EnumPrintProcessorDatatypesW needed for execution was not exported
- The Payload code was outside of the EnumPrintProcessorDatatypesW which is the function that gets called when the procesor gets loaded
- Added fixed source and build commands

Co-authored-by: Thomas De Brelaz <thomas.de-brelaz@ubisoft.com>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2023-07-26 13:50:29 -06:00
RedinDisguise ef1d5049ba Update T1562.001.yaml 2023-07-26 15:11:34 -04:00
RedinDisguise bfd59b94b9 Update T1562.008.yaml 2023-07-26 15:11:07 -04:00
RedinDisguise a02b7b9635 Merge branch 'master' into master 2023-07-26 15:09:35 -04:00
dependabot[bot] 94a98d74d3 Bump jsonschema from 4.18.3 to 4.18.4 (#2492)
Bumps [jsonschema](https://github.com/python-jsonschema/jsonschema) from 4.18.3 to 4.18.4.
- [Release notes](https://github.com/python-jsonschema/jsonschema/releases)
- [Changelog](https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/python-jsonschema/jsonschema/compare/v4.18.3...v4.18.4)

---
updated-dependencies:
- dependency-name: jsonschema
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2023-07-26 13:04:01 -06:00
dependabot[bot] 89d9a72293 Bump pyyaml from 6.0 to 6.0.1 (#2493)
Bumps [pyyaml](https://github.com/yaml/pyyaml) from 6.0 to 6.0.1.
- [Changelog](https://github.com/yaml/pyyaml/blob/6.0.1/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/6.0...6.0.1)

---
updated-dependencies:
- dependency-name: pyyaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2023-07-26 13:01:26 -06:00
Bhavin Patel 08dae930db Merge pull request #2495 from blueteam0ps/patch-13
Create T1098.002.yaml
2023-07-25 11:05:42 -05:00
BlueTeamOps 6bfea60a55 Create T1098.002.yaml 2023-07-25 21:54:21 +10:00
Carrie Roberts 74438b0237 use start-job (#2489) 2023-07-17 13:52:23 -04:00
hRun efcd4e6fba Added test for T1547.012 (#2484)
* Added test for T1547.012

* optionally restart

---------

Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2023-07-17 10:20:53 -06:00
dependabot[bot] 34d47bee4c Bump jsonschema from 4.17.3 to 4.18.3 (#2488)
Bumps [jsonschema](https://github.com/python-jsonschema/jsonschema) from 4.17.3 to 4.18.3.
- [Release notes](https://github.com/python-jsonschema/jsonschema/releases)
- [Changelog](https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/python-jsonschema/jsonschema/compare/v4.17.3...v4.18.3)

---
updated-dependencies:
- dependency-name: jsonschema
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-17 10:17:13 -06:00
Matt McKinley b26ecaa460 Create dependabot.yml (#2482)
Add automated dependabot pulls for python

Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2023-07-17 09:55:11 -06:00
Prakash22-k 13b75193a8 Prakash22 k patch 1 (#2485)
* Update T1490.yaml

Adding new atomic Test for Windows - vssadmin Resize Shadowstorage Volume

* Update T1490.yaml

---------

Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2023-07-17 09:53:17 -06:00
frack113 d93ad51c4d T1562.006 Fix test 6 and 7 (#2486)
* Fix test6 and 7

Signed-off-by: frack113 <62423083+frack113@users.noreply.github.com>

* Fix Defender key

"KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-Windows Defender/Operational"

---------

Signed-off-by: frack113 <62423083+frack113@users.noreply.github.com>
2023-07-17 09:35:42 -06:00
RedinDisguise 9faa7acc17 Update T1562.008.yaml
Removing guid field.
2023-07-12 12:45:00 -04:00
RedinDisguise c1474350a7 Update T1562.008.yaml 2023-07-12 12:29:35 -04:00
Atomic Red Team doc generator 17e2ee6f0e Generated docs from job=generate-docs branch=master [ci skip] 2023-07-12 03:00:11 +00:00
Atomic Red Team GUID generator 0793bc4612 Generate GUIDs from job=generate-docs branch=master [skip ci] 2023-07-12 02:59:53 +00:00
Michael Haag d01ecdbd4b Create T1570.yaml (#2476)
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2023-07-11 20:59:08 -06:00
Atomic Red Team doc generator d1f9857ffb Generated docs from job=generate-docs branch=master [ci skip] 2023-07-12 02:56:51 +00:00
Justin Schoenfeld bd7e216840 Add AWS platform to appropriate tests (#2480)
* Adjust platforms from tests

* Update T1619.yaml

* lowercase for validation fails

* Update T1619.yaml

* T1580 platform update

* revert md files

* uppercase

---------

Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2023-07-11 20:55:50 -06:00
Atomic Red Team doc generator de7da327b8 Generated docs from job=generate-docs branch=master [ci skip] 2023-07-12 02:52:24 +00:00
Atomic Red Team GUID generator 1597ef727e Generate GUIDs from job=generate-docs branch=master [skip ci] 2023-07-12 02:52:07 +00:00
adelfavero57 54ce74dc36 Atomic Test #4 - RDP tunneling over Ngrok Cloud (#2479)
* Atomic Test #4 - RDP tunneling over Ngrok Cloud

Adding Atomic Test #4 - RDP tunneling over Ngrok Cloud to T1572

* change to int

---------

Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2023-07-11 20:51:26 -06:00
Atomic Red Team doc generator a77383047f Generated docs from job=generate-docs branch=master [ci skip] 2023-07-12 02:38:27 +00:00
frack113 a7e5260a93 Add reg.exe force swith (#2477)
Signed-off-by: frack113 <62423083+frack113@users.noreply.github.com>
2023-07-11 20:36:53 -06:00
Atomic Red Team doc generator 02cb591f75 Generated docs from job=generate-docs branch=master [ci skip] 2023-06-30 14:01:44 +00:00
Atomic Red Team GUID generator dfd1f98327 Generate GUIDs from job=generate-docs branch=master [skip ci] 2023-06-30 14:01:26 +00:00
Paul d021dd01dd Merge pull request #2475 from redcanaryco/disableamsi
AMSI COM
2023-06-30 07:00:41 -07:00
Michael Haag 92e83732e6 AMSI COM 2023-06-30 07:55:02 -06:00
Atomic Red Team doc generator d63cb1a222 Generated docs from job=generate-docs branch=master [ci skip] 2023-06-28 15:58:58 +00:00
Alphonsa George 6d3d8f8a43 Adding cleanup command and modifying 7zip download link for T1560.001 Test 4 (#2474)
Co-authored-by: alphonsa-01 <NA>
2023-06-28 09:57:57 -06:00
Atomic Red Team doc generator 777f3ec8b4 Generated docs from job=generate-docs branch=master [ci skip] 2023-06-26 22:18:47 +00:00
Atomic Red Team GUID generator 9dc2b0ad9e Generate GUIDs from job=generate-docs branch=master [skip ci] 2023-06-26 22:18:25 +00:00
Mohana Shankar D f321b44948 New atomic Test - Driver Enumeration using driverquery (#2473)
* New atomic Test - Driver Enumeration using driverquery

* Update T1082.yaml

---------

Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2023-06-26 16:17:00 -06:00
Atomic Red Team doc generator e3aacfbaca Generated docs from job=generate-docs branch=master [ci skip] 2023-06-26 21:55:02 +00:00
Atomic Red Team GUID generator 8f8d90d9b1 Generate GUIDs from job=generate-docs branch=master [skip ci] 2023-06-26 21:54:44 +00:00
Israel Anitube 5a58c4aafa Create T1562.009.yaml with "Impair Defenses - Safe Boot Mode" (#2472)
* Create T1562.009.yaml

Details:
Allows adversaries to abuse safe mode to disable endpoint defenses that may not start with limited boot. This is achieved by modifying Boot Configuration Data (BCD) stores, which are files that manage boot application settings. Applying the following command which requires elevated privileges, causes the sytsem to boot in safe mode at next startup or restart.

"bcdedit /set safeboot network"

Testing
Testing was successfully carried out on Win 10 x64.
Cleanup commands "bcdedit /deletevalue {current} safeboot" was used to restore boot to normal

Associated Issues
None.

* Update T1562.009.yaml

---------

Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2023-06-26 15:53:53 -06:00
Atomic Red Team doc generator 0bf9a391c5 Generated docs from job=generate-docs branch=master [ci skip] 2023-06-26 20:40:02 +00:00
Atomic Red Team GUID generator cfaea8c1fb Generate GUIDs from job=generate-docs branch=master [skip ci] 2023-06-26 20:39:45 +00:00
jonod8698 a99fe1ba3d Add T1539 macOS Chrome Remote Debugging (#2469)
* Add T1539 macOS Chrome Remote Debugging

* Split into 2 prereqs & specify /tmp

---------

Co-authored-by: Jonathan Duan <jduan@neptsec.com>
Co-authored-by: Hare Sudhan <code@0x6c.dev>
2023-06-26 16:39:06 -04:00
Atomic Red Team doc generator 26398fb9c6 Generated docs from job=generate-docs branch=master [ci skip] 2023-06-26 20:31:24 +00:00
Atomic Red Team GUID generator 47894bd586 Generate GUIDs from job=generate-docs branch=master [skip ci] 2023-06-26 20:31:07 +00:00
Kevin Stapleton 604f016a2c Added Linux Tests to T1069.002, T1087.002, T1136.002 (#2468)
* adding linux client test to T1069.002 AD tests

* changed prereq for packages

* temp removing prereq

* adding first prereq

* prereq fails

* trying elevated permissions

* alright, no prereq

* Revert "temp removing prereq"

This reverts commit 3bc8ef5fb22dc09fa1ca2ad5282cbdbaf55280de.

* should work now

* removing prereq entirely

* correct dependency_executor

* adding prereq check for all packages

* adding input arg for password

* changing command to autoinclude password

* back to original command, starting work on 1078

* back to original command, starting work on 1078

* putting echo on command for runner to see arguments supplied

* continuing work on 1078

* first attempt at T1078.002

* removed extraneous code

* temp remove cleanup

* removed flag on echo

* updated first comand

* updating input variable ref

* removing flag again

* updating ou

* attempting to change ou to cn

* new uid

* explictely defining dc

* more attempts

* changed uid

* removed first uid

* trying without num

* changing cn back to ou

* change case

* fixed dc

* removing second dc ref

* following IBM guide

* removed extraneous space

* space between userpassword

* reintroducing dc

* added echo

* trying something new

* updated echo

* adding back admin user input

* attempting default

* trying add to previous group

* revert back to just admin user

* missed #

* adding back -x

* making ou and cn match

* attempting to match search style

* removing space

* improved formatting

* simplified

* replacing authentication

* -D object

* reintroduced admin user

* fixed top level domain

* return to old

* holding breath

* setting user to just person type

* removing uid from front

* changing dc

* trying to update cn

* update cn

* changing to object form... again

* chat gpt wrote this

* added cleanup

* updating command

* removed space

* added space

* revert from object

* looking into issues with cleanup command being unable to find user (yet it already exists)

* changed ldapdelete to ldapmodify

* updating temporary user name

* fixing typo in cleanup command

* creating new yaml file for T1136, similar to T1078. Future plans to modify T1078.002 to either run a process or elevate a user

* first attempt at creating domain admin

* changing CN to Domain Admins

* improved formatting (getting error 32)

* changing ldif file echo

* ldapadd to ldapmodify

* adding domain admins domain if it doesn't exist

* redo formatting

* removing create domain admin group

* trying ldapadd again

* updating prereq commands, removing admin requirement from ldapsearchs

* adding linux client test to T1069.002 AD tests

* changed prereq for packages

* temp removing prereq

* adding first prereq

* prereq fails

* trying elevated permissions

* alright, no prereq

* Revert "temp removing prereq"

This reverts commit 3bc8ef5fb22dc09fa1ca2ad5282cbdbaf55280de.

* should work now

* removing prereq entirely

* correct dependency_executor

* adding prereq check for all packages

* adding input arg for password

* changing command to autoinclude password

* back to original command, starting work on 1078

* back to original command, starting work on 1078

* putting echo on command for runner to see arguments supplied

* continuing work on 1078

* first attempt at T1078.002

* removed extraneous code

* temp remove cleanup

* removed flag on echo

* updated first comand

* updating input variable ref

* removing flag again

* updating ou

* attempting to change ou to cn

* new uid

* explictely defining dc

* more attempts

* changed uid

* removed first uid

* trying without num

* changing cn back to ou

* change case

* fixed dc

* removing second dc ref

* following IBM guide

* removed extraneous space

* space between userpassword

* reintroducing dc

* added echo

* trying something new

* updated echo

* adding back admin user input

* attempting default

* trying add to previous group

* revert back to just admin user

* missed #

* adding back -x

* making ou and cn match

* attempting to match search style

* removing space

* improved formatting

* simplified

* replacing authentication

* -D object

* reintroduced admin user

* fixed top level domain

* return to old

* holding breath

* setting user to just person type

* removing uid from front

* changing dc

* trying to update cn

* update cn

* changing to object form... again

* chat gpt wrote this

* added cleanup

* updating command

* removed space

* added space

* revert from object

* looking into issues with cleanup command being unable to find user (yet it already exists)

* changed ldapdelete to ldapmodify

* updating temporary user name

* fixing typo in cleanup command

* creating new yaml file for T1136, similar to T1078. Future plans to modify T1078.002 to either run a process or elevate a user

* first attempt at creating domain admin

* changing CN to Domain Admins

* improved formatting (getting error 32)

* changing ldif file echo

* ldapadd to ldapmodify

* adding domain admins domain if it doesn't exist

* redo formatting

* removing create domain admin group

* trying ldapadd again

* updating prereq commands, removing admin requirement from ldapsearchs

* small changes to search parameters

* changed Domains search to search for Domain Users

* added objectClass=group flag

* separating flag from string

* removing T1078, to be done in future

* added {cleartext} to admin password

* restoring deleted file. My antivirus really hates this file...

* update for spec

* update to spec

* adding name to atomic test

* moved from deprecated -h -p flags to -H flag

* fix cleanup commands with same flag changes

* add ldap://

* removing unused input variable, domain controller

* final commit, all tests passed with -H, updating the desc of T1136.002/4

---------

Co-authored-by: Hare Sudhan <code@0x6c.dev>
2023-06-26 16:30:28 -04:00
Atomic Red Team doc generator 5360c9d9ff Generated docs from job=generate-docs branch=master [ci skip] 2023-06-23 23:10:43 +00:00
hRun df3e84d861 Correct T1547.004 Winlogon Notification test (#2470)
* Corrected T1547.004 Winlogon Notification test

* Added hint on deprecation

---------

Co-authored-by: Hare Sudhan <code@0x6c.dev>
2023-06-23 17:09:45 -06:00
Atomic Red Team doc generator 3d463e9be0 Generated docs from job=generate-docs branch=master [ci skip] 2023-06-23 22:43:43 +00:00
Atomic Red Team GUID generator a5741ecb8f Generate GUIDs from job=generate-docs branch=master [skip ci] 2023-06-23 22:43:25 +00:00
Bhavin Patel ec3898e65b Merge pull request #2457 from redcanaryco/gcp-atomic-additions
Add GCP Atomics
2023-06-23 15:42:08 -07:00