Commit Graph

76 Commits

Author SHA1 Message Date
Atomic Red Team doc generator 5ede8f21e4 Generated docs from job=generate-docs branch=master [ci skip] 2025-02-13 22:03:40 +00:00
Atomic Red Team doc generator d10a13eb17 Generated docs from job=generate-docs branch=master [ci skip] 2025-01-28 05:03:31 +00:00
Hare Sudhan bfdd702717 Remove unused variable (#3040) 2025-01-28 00:02:41 -05:00
Atomic Red Team doc generator 501dd6c05e Generated docs from job=generate-docs branch=master [ci skip] 2024-11-20 01:35:37 +00:00
Atomic Red Team doc generator f64434da24 Generated docs from job=generate-docs branch=master [ci skip] 2024-04-27 17:50:49 +00:00
Atomic Red Team doc generator e1164d3054 Generated docs from job=generate-docs branch=master [ci skip] 2023-12-27 17:58:55 +00:00
dwhite9 06ebf05785 Added the "-c" option to adfind commands. (#2645)
* Added the "-c" option to adfind commands. This will cause it to print a
count of the returned objects instead of the actual objects. This is
very useful for large environments and allows it run quicker without
actually exposing any sensitive information.

* Adding the code to allow specifying optional arguments at runtime instead of hardcoding the -c to allow more flexibility per this request:
https://github.com/redcanaryco/atomic-red-team/pull/2645#pullrequestreview-1795339526

---------

Co-authored-by: dwhite <n/a>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
Co-authored-by: dwhite9 <n@a>
2023-12-27 11:58:02 -06:00
Atomic Red Team doc generator 23aa1d2ded Generated docs from job=generate-docs branch=master [ci skip] 2023-11-30 02:06:58 +00:00
Atomic Red Team GUID generator a2e6f91c86 Generate GUIDs from job=generate-docs branch=master [skip ci] 2023-11-30 02:06:45 +00:00
Leo Verlod 160674855f Adding T1087.002 Test - Ldapdomaindump on Linux (#2605)
* Update T1087.002.yaml

* Update T1087.002.yaml

---------

Co-authored-by: Hare Sudhan <code@0x6c.dev>
2023-11-29 21:06:11 -05:00
Atomic Red Team doc generator a228ee8656 Generated docs from job=generate-docs branch=master [ci skip] 2023-09-22 19:15:21 +00:00
Antonio Piazza e3b45b7b30 Added ExternalPayloads dir creation (#2537)
* Added ExternalPayloads dir creation

* Created ExternaPayloads Dir

Created ExternaPayloads Directory using powershell command

* Added External Payloads Dir

Added External Payloads Directory using a powershell command for all Procedures.

* Fixed ExternalPayload directory creation

Fixed ExternalPayload directory creation.  Got rid of the Split path

* Created External Payloads directory

Created External Payloads directory for procedure 14d55ca0-920e-4b44-8425-37eedd72b173
2023-09-22 13:14:23 -06:00
Carrie Roberts d4709021fb Handle spaces in file paths (#2535)
* updating atomics count in README.md [ci skip]

* wip

* handle spaces in path

* update readme

* fix typo

---------

Co-authored-by: publish bot <opensource@redcanary.com>
2023-09-22 10:47:25 -06: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 2b77bcb303 Generated docs from job=generate-docs branch=master [ci skip] 2023-06-15 22:33:14 +00:00
Carrie Roberts a8fe2d2d77 mv adfind to bin (#2465)
* move adfind to external resource

* mv adfind to bin
2023-06-15 16:32:13 -06:00
Atomic Red Team doc generator 282a250cc9 Generated docs from job=generate-docs branch=master [ci skip] 2023-06-15 21:42:03 +00:00
Carrie Roberts 32a4415e43 move adfind to external resource (#2464) 2023-06-15 15:40:50 -06:00
Atomic Red Team doc generator cef46e4479 Generated docs from job=generate-docs branch=master [ci skip] 2023-06-15 16:17:12 +00:00
Carrie Roberts 068d32b1ea use ExternalPayloads directory (#2460)
* use ExternalPayloads directory

* use ExternalPayloads directory

* use ExternalPayloads directory
2023-06-15 10:16:12 -06:00
Atomic Red Team doc generator 1c1f63ede7 Generated docs from job=generate-docs branch=master [ci skip] 2023-05-30 21:22:52 +00:00
Atomic Red Team GUID generator 3791f515f2 Generate GUIDs from job=generate-docs branch=master [skip ci] 2023-05-30 21:22:34 +00:00
Alphonsa George 52530d45d1 Adding atomics to emulate suspicious LAPS attribute queries (#2445)
* Adding atomics to emulate suspicious LAPS attribute queries

* Adding atomics to emulate suspicious LAPS attribute queries

* Adding atomics to emulate suspicious LAPS attribute queries

---------

Co-authored-by: alphonsa-01 <NA>
2023-05-30 16:21:54 -05:00
Atomic Red Team doc generator b1f3c968f2 Generated docs from job=generate-docs branch=master [ci skip] 2023-05-19 17:06:33 +00:00
Josh Rickard 284886292b Atomic Red Team - JSON Schema Validation CI (#2303)
* feat: Adding atomic-red-team JSON Schema defintions

* feat: Adding validate.py script to validate all atomics against the defined schema

* feat: Adding validate-schema GitHub Workflow action to validate on every push to the repo

* ci: Updated the validate-schema workflow to support and use Ruby instead of python

* fix: Updated schema to remove schema draft version (not necessarily needed) and update to remove elevation_required as a required defined property

* fix: Removed the yaml schema version

* docs: Adding start of README

* fix: Adding an updated/better version of the python validation but may ultimately be removed

* feat: Adding Ruby version of validate.rb script

* fix: Removing files not needed since we are changing to github action and using the new validation code

* fix: Adding the yaml schema file back and removed the json version

* docs: Updated README with documentation

* fix: Updating schema to use new format validator

* fix: Updated validate.rb to verify that the Technique IDs are in the correct format.

* fix: Upating validate.rb to raise execptions so that failures flow up to the GitHub Action workflow

* fix: Updated all tests that have input_arguments not conformaing to schema defintion for type value of path

* fix: Updating the Validaton README for typos

* fixL: Minor updates to the schema

* minor schema changes

* github actions fix

* schema changes

---------

Co-authored-by: MSAdministrator <MSAdministrator@users.noreply.github.com>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
Co-authored-by: Hare Sudhan <code@0x6c.dev>
2023-05-12 15:33:47 -06:00
Atomic Red Team doc generator 7e1e98a425 Generated docs from job=generate-docs branch=master [ci skip] 2023-03-23 14:34:18 +00:00
Paul 5ed527744c Update T1087.002 Test 17 (#2386)
* Update T1087.002.yaml

* Update T1087.002.yaml

fix cleanup command from Get-Item to Remove-Item
2023-03-23 08:33:18 -06:00
Atomic Red Team doc generator 535c693a65 Generated docs from job=generate-docs branch=master [ci skip] 2023-03-16 15:44:49 +00:00
Carrie Roberts 4d272cdcdc remove unused inputargs (#2366) 2023-03-16 09:44:03 -06:00
Atomic Red Team doc generator d26d95d3f7 Generated docs from job=generate-docs branch=master [ci skip] 2023-03-13 18:57:35 +00:00
Carrie Roberts 04b6a8fbc3 Adfind prereq fixes (#2360)
* doesn't exfil data as written

* update prereqs

---------

Co-authored-by: Michael Haag <5632822+MHaggis@users.noreply.github.com>
2023-03-13 12:56:47 -06:00
Atomic Red Team doc generator e56e34fac4 Generated docs from job=generate-docs branch=master [ci skip] 2023-02-27 18:25:15 +00:00
Atomic Red Team GUID generator b56af9f7d8 Generate GUIDs from job=generate-docs branch=master [skip ci] 2023-02-27 18:24:56 +00:00
Brandon Tirado 26b5e537c8 Update T1087.002.yaml (#2349)
* Update T1087.002.yaml

Added Wevtutil - Discover NTLM Users Remote

* added link to more info

* Update T1087.002.yaml

---------

Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2023-02-27 11:24:14 -07:00
Atomic Red Team doc generator 16594d72c5 Generated docs from job=generate-docs branch=master [ci skip] 2023-02-13 23:11:19 +00:00
Josh Rickard a5dd0813cd fix: Updating atomics YAML file structure to align with the new JSON schema definition (#2323)
* fix: Updating atomics YAML file structure to align with the new JSON schema definition.

This also fixes some white space issues and general line formatting across all impacted atomics.

* fix: One additional change needed

---------

Co-authored-by: MSAdministrator <MSAdministrator@users.noreply.github.com>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2023-02-13 16:10:37 -07:00
Atomic Red Team doc generator d0dad62dbc Generated docs from job=generate-docs branch=master [ci skip] 2022-09-23 22:57:18 +00:00
Atomic Red Team doc generator 3c034eb6c5 Generated docs from job=generate-docs branch=master [ci skip] 2022-09-01 17:44:35 +00:00
Atomic Red Team GUID generator 9e1ce919de Generate GUIDs from job=generate-docs branch=master [skip ci] 2022-09-01 17:44:27 +00:00
Jathan-McDaniel 9c1bbd6b6e Kerbrute - userenum (#2113)
Co-authored-by: McDaniel <jmcdan@NTI.local>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2022-09-01 11:43:50 -06:00
Atomic Red Team doc generator 2411cb6cef Generated docs from job=generate-docs branch=master [ci skip] 2022-07-02 02:35:19 +00:00
Dan 2bcf9a713f Update T1087.002-3 (#2019)
Use COMPUTERNAME variable for command prompt.

Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2022-07-01 20:34:51 -06:00
tccontre a768529778 Creates Schedule task with hidden attribute settings (#1986)
* Update T1112.yaml

* Update T1112.yaml

* typos

* Update T1087.002.yaml

* Update T1087.002.yaml

* Update T1087.002.yaml

* Add files via upload

* Update T1053_05_SCTASK_HIDDEN_ATTRIB.xml

* Update T1053.005.yaml

* Update T1053.005.yaml

* Update T1087.002.yaml

* Update T1087.002.yaml

Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2022-06-03 18:03:49 -06:00
Atomic Red Team doc generator a9530210e6 Generated docs from job=generate-docs branch=master [ci skip] 2022-05-10 20:50:31 +00:00
Atomic Red Team GUID generator 2ff5833042 Generate GUIDs from job=generate-docs branch=master [skip ci] 2022-05-10 20:50:25 +00:00
dwhite9 f2314c292d Added discovery atomic to collect general domain information including (#1940)
users. Sourced from WinPwn script.

**Details**
https://github.com/S3cur3Th1sSh1t/WinPwn/

**Testing**
Tested on Windows 10 VM

Co-authored-by: Daniel White <d0w019h@homeoffice.wal-mart.com>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2022-05-10 14:49:59 -06:00
Atomic Red Team doc generator a5d645d806 Generated docs from job=generate-docs branch=master [ci skip] 2022-04-30 11:39:02 +00:00
frack113 2d2818d65f Fix all invalid char (#1914) 2022-04-30 05:38:32 -06:00