packetzero 1a81100d17 Clean up T1546.005 linux TRAP (#2251)
Cleans up a few things:
 - rather than modifying current shell, launches new one with -c argument.  This makes it easy to test EXIT trap.
 - previous was doing `nohup sh echo-art-fish.sh | bash` in trap. no need for the pipe to bash now.
 - I separated the EXIT and SIGINT traps. otherwise, it's not possible to tell which trap(s) executed.
 - The previous SIGINT case required user to hit CTRL+C.  now it's automated using signal
 - added cleanup. 
Tested on macOS BigSur and Ubuntu 20.04

Co-authored-by: Michael Haag <5632822+MHaggis@users.noreply.github.com>
2023-01-05 11:16:34 -07:00
2023-01-03 22:25:44 -05:00
2022-08-03 09:18:01 -06:00
2021-06-24 14:44:35 -06:00
2018-06-13 19:33:59 -06:00

Atomic Red Team

GitHub Action Status

Atomic Red Team™ is a library of tests mapped to the MITRE ATT&CK® framework. Security teams can use Atomic Red Team to quickly, portably, and reproducibly test their environments.

Get started

You can execute atomic tests directly from the command line, no installation required. See the Getting started page of our wiki.

For a more robust testing experience, consider using an execution framework like Invoke-Atomic.

Learn more

The Atomic Red Team documentation is available as a wiki.

For information about the philosophy and development of Atomic Red Team, visit our website at https://atomicredteam.io.

Contribute to Atomic Red Team

Atomic Red Team is open source and community developed. If you're interested in becoming a contributor, check out these resources:

  • Join our Slack workspace and get involved with the community. Don't forget to review the code of conduct before you join.
  • Report bugs and request new features by submitting an issue.
  • Read our contribution guide for more information about contributing directly to this repository.
  • Check the license for information regarding the distribution and modification of Atomic Red Team.
S
Description
Atomic Red Team test automation and mapping
Readme 563 MiB
Languages
C 38.7%
PowerShell 13.3%
Go 11.4%
Java 7.8%
C# 6.8%
Other 21.7%