Commit Graph

5173 Commits

Author SHA1 Message Date
JB 1eaae6d3ce Added T1082 test 8, Griffon recon advanced tool (#1320)
* Create T1595.002.yaml

* Added vbscript (griffon recon) for test 1

Script ref. (public gist) https://gist.githubusercontent.com/kirk-sayre-work/1a9476e7708ed650508f9fb5adfbad9d/raw/55ecbf8f83c36984371a335991f6cf4f2022319b/gistfile1.txt

* added run as priv user

n/a

* removed guid accidentally put in

* removed extra line

* checking syntax final

* remove dependency line

* minor updates to invoke the build process again

* removing elevation required

thanks for that additional review, carrie

* moving to T1082 per review

* adding test 8 (griffon recon)

* create griffon_recon.vbs for test 8

script used here was reduced by security researcher Kirk Sayre (github.com/kirk-sayre-work/1a9476e7708ed650508f9fb5adfbad9d), 
    and it gives the exact same recon behavior, hash mentioned in the code, as the original (minus the C2 interaction).

* moving vbs file to T1082 per review

Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2020-12-16 09:19:14 -07:00
Ama Smuggle Avocados 78507aedce Extractbinary (#1332)
* initial

* moving file

* hard-code to winword process

Co-authored-by: avocado <avocados@smuggler.com>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2020-12-16 08:46:56 -07:00
Keith McCammon 28086402e2 Maintainers updates (#1328)
* Update maintainers.md

Remove reference to announcements channel, which has been created.

* Generate docs from job=validate_atomics_generate_docs branch=maintainers-updates

* Update maintainers.md

Updates to maintainers meeting purpose, scope, and agendas.

* Generate docs from job=validate_atomics_generate_docs branch=maintainers-updates

Co-authored-by: CircleCI Atomic Red Team doc generator <email>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2020-12-15 14:18:41 -07:00
JimmyAstle 5db071d288 Workflow compiler tests (#1331)
* Adding in Workflow Compiler Tests

This adds 2 workflow compiler tests.

1.) Test 6 will execute workflow compiler with a pre-build assembly that invokes cal.
2.) Test 7 will rename workflow compilers and execute the same pre-build assembly that invokes calc.

* minor path updates

Co-authored-by: Jimmy Astle <jastle@vmware.com>
2020-12-15 13:47:39 -07:00
Ama Smuggle Avocados 46b69318c8 Credmanager (#1327)
* initial push for T1555 (Extract Windows Credential Manager via Maldoc)

* updates

* updates

* update

Co-authored-by: avocado <avocados@smuggler.com>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2020-12-11 08:34:34 -07:00
Ama Smuggle Avocados 9e352ddc2d Shellcodevba (#1326)
* initial push for T1055 (Shellcode execution via VBA)

* updates

* updates

* updates

Co-authored-by: avocado <avocados@smuggler.com>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2020-12-11 07:55:17 -07:00
Ama Smuggle Avocados 43fc8a3516 Extractmemory (#1318)
* initial push for T1005 (Extract Memory via VBA)

* updates

* updates

* update

* update

* moved to T1059.005

Co-authored-by: avocado <avocados@smuggler.com>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2020-12-11 07:52:24 -07:00
tsustyle 10edd69822 Update T1059.003.yaml (#1324) 2020-12-10 15:57:03 -07:00
Ama Smuggle Avocados 5f208eec00 Clipboardvba (#1321)
* initial push for T1115 (Collect Clipboard Data via VBA)

* update to registry check

* updates

* updates

* updates

Co-authored-by: avocado <avocados@smuggler.com>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2020-12-10 10:03:22 -07:00
Ama Smuggle Avocados 4fc97b9206 Taskscheduler (#1317)
* initial push for T1053.005 (Task Scheduler via VBA)

* updates

* updates

* updates

Co-authored-by: avocado <avocados@smuggler.com>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2020-12-10 09:42:46 -07:00
JB 13d6dd0357 Merge branch 'master' into patch-33 2020-12-10 01:04:27 -06:00
Ama Smuggle Avocados db96a6f4cf Runpe (#1316)
* initial push for T1055.012 (RunPE via VBA)

* updates

* updates

* updates

* updates

* remove line 64

Co-authored-by: avocado <avocados@smuggler.com>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2020-12-09 11:02:40 -07:00
Carrie Roberts 1ca8072bc9 update output file name to match expected (#1315)
* update output file name to match expected

* Generate docs from job=validate_atomics_generate_docs branch=clr2of8-patch-1

* Generate docs from job=validate_atomics_generate_docs branch=clr2of8-patch-1

Co-authored-by: CircleCI Atomic Red Team doc generator <email>
2020-12-09 09:26:36 -07:00
Carrie Roberts 8e33c2801e simplify atomics (#1313) 2020-12-09 09:20:50 -07:00
Ama Smuggle Avocados 23da9127e3 Encodedvbs (#1314)
* initial import of T1059.005 (Encoded VBS code execution)

* updates

* refactor module

* updates

* updates

* updates

Co-authored-by: avocado <avocados@smuggler.com>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2020-12-09 07:04:10 -07:00
Carl 46b6c790a6 Merge branch 'master' into bugfix/7e46c7a5-0142-45be-a858-1a3ecb4fd3cb 2020-12-04 12:31:39 -07:00
Ama Smuggle Avocados b6d2ed9537 Excel4macro (#1312)
* initial push for T1204.002 (Excel 4 Macro)

* requested updates to module

* updates

* updates

* updates

* updates

* spacing

Co-authored-by: avocado <avocados@smuggler.com>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2020-12-03 12:33:51 -07:00
Michael Haag 3304c0b020 T1555.003 (#1311)
* Generate docs from job=validate_atomics_generate_docs branch=T1555.003

* Windows LaZagne

Adding test for LaZagne on Windows to collect passwords stored in browser. Issue #1030

* Generate docs from job=validate_atomics_generate_docs branch=T1555.003

* Generate docs from job=validate_atomics_generate_docs branch=T1555.003

Co-authored-by: CircleCI Atomic Red Team doc generator <email>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2020-12-01 13:31:40 -07:00
dmr4of8 832c95cc2f fix display name (#1310)
* fix display name

* Update T1204.002.yaml

Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2020-12-01 13:12:04 -07:00
hodgepodge 0e6ceefc7e Merge branch 'master' into bugfix/7e46c7a5-0142-45be-a858-1a3ecb4fd3cb 2020-12-01 12:10:18 -05:00
MrOrOneEquals1 90cc72063a dummy PR to cause documentation to be rebuilt (#1309) 2020-12-01 07:40:10 -07:00
Murat ERDEM 9ca764c258 Update T1033.yml (#1308)
i seen a small error and  fixed it
2020-12-01 07:19:19 -07:00
Brian Thacker 7e10dda193 Update T1204.002.yaml (#1307)
Changed the ms_office_version argument on test 1-4 to pull the latest version of office from registry instead of defaulting to 16.0
Added cleanup commands to test 5
Changed commands in tests 1-4 to account for changes in ms_office_version
2020-11-30 17:27:55 -07:00
Brian Thacker ffecea355a T1204.002 new atomic office bat (#1305)
* Update T1204.002.yaml

Added a new atomic to simulate an adversary using a malicious word doc to stage malicious .bat files in appdata then execute them.

* Update T1204.002.yaml

made default ms_office_version more robust to handle box with multiple versions of office. It will select the latest

* Update T1204.002.yaml

added in the description what the .bat does
2020-11-30 16:37:26 -07:00
Michael Haag 5832c65cb2 T1014 - Driver Rootkit Test Update (#1303)
* T1014 - Driver rootkit test

Fixed Test 3 per issue #1153 .
- Added pre-req
- New comments for additional info on retrieving the capcom driver
- Added elevation required
- Added new input argument for puppetstrings.exe

Confirmed operational on win10.

* Generate docs from job=validate_atomics_generate_docs branch=T1014

* Fixed GUID

* Generate docs from job=validate_atomics_generate_docs branch=T1014

* Update used_guids.txt

Co-authored-by: CircleCI Atomic Red Team doc generator <email>
2020-11-30 14:34:25 -07:00
Matt Graeber e9cb3c2f59 Update README.md (#1302)
* Update README.md

Updating execution frameworks link.

* Generate docs from job=validate_atomics_generate_docs branch=mgraeber-rc-patch-1

* Generate docs from job=validate_atomics_generate_docs branch=mgraeber-rc-patch-1

Co-authored-by: CircleCI Atomic Red Team doc generator <email>
Co-authored-by: Michael Haag <mike@redcanary.com>
2020-11-30 09:18:32 -07:00
zgdatadoghq 2b4c7c0112 Add two T1003.008 tests (#1299)
* Create T1003.008.yaml

* Create T1003.008.md

* Update T1003.008.md

Co-authored-by: Carl <57147304+rc-grey@users.noreply.github.com>
2020-11-30 09:12:21 -07:00
Carl 31c0f228e5 Merge branch 'master' into patch-2 2020-11-27 19:13:05 -07:00
P4T12ICK d5e64a6d87 New atomic t1574 011 (#1301)
* new atomic

* new atomic

* new atomic

* new atomic

Co-authored-by: P4T12ICK <pbareib@splunk.com>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2020-11-27 14:15:29 -07:00
P4T12ICK 91ea164b8e new atomic (#1298)
Co-authored-by: P4T12ICK <pbareib@splunk.com>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2020-11-27 14:13:05 -07:00
Brian Thacker 9ec5d7dd9a Update T1218 Test 5 (#1296)
default path contains a space and the command needs to be surrounded by quotes.

Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2020-11-27 13:57:42 -07:00
tlor89 164da2cfa0 T1133 (#1295)
Co-authored-by: Toua Lor <tlor@nti.local>
2020-11-27 13:55:37 -07:00
zgdatadoghq 7e96588a69 Merge branch 'master' into patch-2 2020-11-23 16:15:45 -05:00
zgdatadoghq 52f440e80a Expand cronjob tests
- Expand to cover all cron subfolders
- Add test to cover /var/spool/cron/crontabs/ folder
2020-11-23 16:11:53 -05:00
P4T12ICK 83b21a9487 atomic for disable UAC (#1289)
Co-authored-by: P4T12ICK <pbareib@splunk.com>
2020-11-20 09:17:23 -07:00
hodgepodge becfc6e128 Merge branch 'master' into bugfix/7e46c7a5-0142-45be-a858-1a3ecb4fd3cb 2020-11-20 09:07:35 -05:00
P4T12ICK 2c037b2243 New atomics t1222 001 (#1291)
* new atomic T1222.001

* update

* Update T1222.001.yaml

- Added cleanup `del` and `rmdir`

Co-authored-by: P4T12ICK <pbareib@splunk.com>
Co-authored-by: Michael Haag <mike@redcanary.com>
2020-11-19 10:51:03 -07:00
Tyler Fisher de1bd5a20f Allow root user to run 'T1087.001: Account Discovery: Local Account - List opened files by user' by updating how current username is determined 2020-11-19 11:18:53 -05:00
Brian Thacker d0b51ff08a T1016 qakbot addition (#1288)
* Create qakbot.bat

* Update T1016.yaml

Recon commands believed to be associated with Qakbot reconnaissance techniques.
https://hybrid-analysis.com/sample/fcdfd33bebc7a7fe02854ecb60aa17bf0bd85d0b78cc5bc07ceb93a5116639cd/5f63d0b54f389a2d7573a8ce
https://www.virustotal.com/gui/file/fcdfd33bebc7a7fe02854ecb60aa17bf0bd85d0b78cc5bc07ceb93a5116639cd/detection

Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2020-11-17 19:29:55 -07:00
JimmyAstle e5aab6a68f T1069 typo updates and new test (#1285)
* spelling update and new test

minor spelling update and adding in test for enterprise admins group enumeration

* couple more syntax updates

couple more syntax updates

* Updating cmdline abbreviation

these are valid cmdline abbreviations. I was too quick to update :)

* Clean up swp

cleaning up swap file

* putting back original discovery commands

* one last change

Co-authored-by: Jimmy Astle <jastle@vmware.com>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2020-11-17 19:28:26 -07:00
JB 43815e0c0f simpliifed prereq command 2020-11-15 02:04:17 -06:00
JB 3505174fa3 fixing typo and adjusting privledges on prereq 2020-11-15 01:43:26 -06:00
JB bfbff31b5a Test 2 - added alternate pam.d module location like in CentOS
-also removed text "using shell" because that should have been removed when the bash version was released
2020-11-15 01:33:04 -06:00
JB b03e1ebced Code fix, and Updates per spec to unix keylogging atomic
-removed test for "bash" since in this case, the bashism does not add value or have much to do with the test
-edited requirement for restarting the service. not necessary/irrelevant to the file-change
-reviewed overall yaml per recent templates
-testing using invoke-atomic executor
2020-11-14 16:49:50 -06:00
crothe 9c7a3b0889 Update gems to remove kramdown vulnerability (#1287)
* Update gems to remove kramdown vulnerability

* Generate docs from job=validate_atomics_generate_docs branch=fix_kramdown_vuln

Co-authored-by: CircleCI Atomic Red Team doc generator <email>
2020-11-12 13:40:23 -07:00
JimmyAstle 9ece49e65e New test for domain admin account (#1286)
Quick test for default domain administrator account enumeration

Co-authored-by: Jimmy Astle <jastle@vmware.com>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2020-11-12 11:36:12 -07:00
Rodney de05b1a73d Update T1070.003.yaml (#1283)
* Update T1070.003.yaml

* Update T1078.001.yaml

* Update T1113.yaml

Remove error from screen when cleaning up for T1113-5

* Update T1197.yaml

Remove error when cleaning up for T1197-4

* Update T1562.001.yaml

Remove error from cleanup of T1562.001-23

* Update T1562.004.yaml

Remove error shown for cleanup of T15262.004-5 and T15262.004-6

* Update T1574.009.yaml

Remove error from cleanup of T1574.009-1

* Update T1553.004.yaml

Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
2020-11-12 11:29:08 -07:00
P4T12ICK 97476b665c New atomics t1553 004 (#1276)
* new atomics

* new atomics

* bug fix

* requested changes

Co-authored-by: P4T12ICK <pbareib@splunk.com>
2020-11-12 11:24:05 -07:00
CircleCI Atomic Red Team doc generator 0ff4aada24 Generate docs from job=validate_atomics_generate_docs branch=ATHPowerShellCommandLineParamter 2020-11-09 16:41:52 +00:00
Mike Haag 9593944c8a Update T1059.001.yaml
The following [AtomicTestHarnesses](https://github.com/redcanaryco/atomictestharnesses) has been released to simulate [T1059.001](https://attack.mitre.org/techniques/T1059/001/) in various capacities including the use of `EncodedArguments`, variations of `EncodedCommand` and command line switch types. Input arguments may be manipulated as needed to enhance simulation, which all may be found by reviewing the individual Harness code or import the ATH module and run `get-help`

Adding additional tests to:
- T1059.001 - Command and Scripting Interpreter: PowerShell

For pre-req, it will use the recently released AtomicTestHarnesses [PowerShellGallery](https://www.powershellgallery.com/packages/AtomicTestHarnesses) module using `Install-Module -Name AtomicTestHarnesses -Scope CurrentUser -Force`

Confirmed all tests are operational on Windows 10, non privileged user.
2020-11-09 09:41:22 -07:00