Skip to content

Commit 0321deb

Browse files
committed
Rename to ttp-bench
1 parent 321bec2 commit 0321deb

File tree

23 files changed

+27
-27
lines changed

23 files changed

+27
-27
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818
out/
1919

2020
# custom
21-
ioc-bench
21+
ttp-bench
2222
.DS_Store

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# ioc-bench
1+
# ttp-bench
22

33
![logo](./images/logo.png)
44

5-
ioc-bench simulates ~24 popular indicators of compromise (IoC) from both the [MITRE ATT&CK framework](https://attack.mitre.org/) and recently published defense research. All of the simulations behave at least vaguely suspicious, such as stealing GCP credentials, sniffing your keyboard, accessing unusual DNS servers, or pretending to be a kernel process.
5+
ttp-bench simulates 30 popular tactics from both the [MITRE ATT&CK framework](https://attack.mitre.org/) and published defense research. All of the simulations behave at least vaguely suspicious, such as stealing GCP credentials, sniffing your keyboard, accessing unusual DNS servers, or pretending to be a kernel process.
66

77
How many of these simulations does your intrusion detection configuration detect?
88

@@ -15,18 +15,18 @@ How many of these simulations does your intrusion detection configuration detect
1515

1616
* The Go Programming language
1717

18-
Most of the checks available today mimic IoC found on UNIX-like operating systems. This is however not an intentional design goal. ioc-bench is actively tested on Linux, macOS, and FreeBSD.
18+
Most of the checks available today mimic IoC found on UNIX-like operating systems. This is however not an intentional design goal. ttp-bench is actively tested on Linux, macOS, and FreeBSD.
1919

2020
## Usage
2121

2222
To jump in, run the following to access the interactive menu of checks to execute:
2323

2424
```shell
2525
go build .
26-
./ioc-bench
26+
./ttp-bench
2727
```
2828

29-
ioc-bench supports some flags for automation:
29+
ttp-bench supports some flags for automation:
3030

3131
```shell
3232
-all: execute all possible checks

cmd/access-chrome-breakout-root/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"os"
77
"path/filepath"
88

9-
"github.com/tstromberg/ioc-bench/pkg/simulate"
9+
"github.com/tstromberg/ttp-bench/pkg/simulate"
1010
)
1111

1212
func main() {

cmd/cnc-dns-over-https/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ package main
44
import (
55
"log"
66

7-
"github.com/tstromberg/ioc-bench/pkg/simulate"
7+
"github.com/tstromberg/ttp-bench/pkg/simulate"
88
)
99

1010
func main() {

cmd/cnc-resolve-random/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ package main
44
import (
55
"log"
66

7-
"github.com/tstromberg/ioc-bench/pkg/simulate"
7+
"github.com/tstromberg/ttp-bench/pkg/simulate"
88
)
99

1010
func main() {

cmd/creds-gcp-exfil/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ package main
44
import (
55
"log"
66

7-
"github.com/tstromberg/ioc-bench/pkg/simulate"
7+
"github.com/tstromberg/ttp-bench/pkg/simulate"
88
)
99

1010
func main() {

cmd/creds-keylogger-root/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package main
66
import (
77
"log"
88

9-
"github.com/tstromberg/ioc-bench/pkg/simulate"
9+
"github.com/tstromberg/ttp-bench/pkg/simulate"
1010
)
1111

1212
func main() {

cmd/evade-bash-history/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package main
66
import (
77
"log"
88

9-
"github.com/tstromberg/ioc-bench/pkg/simulate"
9+
"github.com/tstromberg/ttp-bench/pkg/simulate"
1010
)
1111

1212
func main() {

cmd/exec-bash-reverse-shell/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package main
66
import (
77
"log"
88

9-
"github.com/tstromberg/ioc-bench/pkg/simulate"
9+
"github.com/tstromberg/ttp-bench/pkg/simulate"
1010
)
1111

1212
func main() {

cmd/exec-curl-to-hidden-url/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ package main
66
import (
77
"time"
88

9-
"github.com/tstromberg/ioc-bench/pkg/iexec"
9+
"github.com/tstromberg/ttp-bench/pkg/iexec"
1010
)
1111

1212
func main() {
13-
iexec.WithTimeout(30*time.Second, "curl", "-LO", "http://ioc-bench.blogspot.com/home/.tools/archive.tgz")
13+
iexec.WithTimeout(30*time.Second, "curl", "-LO", "http://ttp-bench.blogspot.com/home/.tools/archive.tgz")
1414
}

cmd/exec-netcat-listen/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"log"
88
"time"
99

10-
"github.com/tstromberg/ioc-bench/pkg/iexec"
10+
"github.com/tstromberg/ttp-bench/pkg/iexec"
1111
)
1212

1313
func main() {

cmd/exec-netcat-reverse-shell/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"log"
88
"time"
99

10-
"github.com/tstromberg/ioc-bench/pkg/iexec"
10+
"github.com/tstromberg/ttp-bench/pkg/iexec"
1111
)
1212

1313
func main() {

cmd/exec-python-reverse-shell/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package main
66
import (
77
"log"
88

9-
"github.com/tstromberg/ioc-bench/pkg/simulate"
9+
"github.com/tstromberg/ttp-bench/pkg/simulate"
1010
)
1111

1212
func main() {

cmd/exec-traitor-vuln-probe/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package main
66
import (
77
"log"
88

9-
"github.com/tstromberg/ioc-bench/pkg/simulate"
9+
"github.com/tstromberg/ttp-bench/pkg/simulate"
1010
)
1111

1212
func main() {

cmd/persist-user-crontab-reboot/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"time"
1313

1414
cp "github.com/otiai10/copy"
15-
"github.com/tstromberg/ioc-bench/pkg/iexec"
15+
"github.com/tstromberg/ttp-bench/pkg/iexec"
1616
)
1717

1818
func main() {

cmd/privesc-traitor-dirty-pipe/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"strconv"
1212
"strings"
1313

14-
"github.com/tstromberg/ioc-bench/pkg/simulate"
14+
"github.com/tstromberg/ttp-bench/pkg/simulate"
1515
)
1616

1717
var KernelRe = regexp.MustCompile(`[0-9]+\.[0-9]+(\.[0-9]+)*`)

cmd/privesc-traitor-docker-socket/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"log"
88
"os/exec"
99

10-
"github.com/tstromberg/ioc-bench/pkg/simulate"
10+
"github.com/tstromberg/ttp-bench/pkg/simulate"
1111
)
1212

1313
func main() {

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/tstromberg/ioc-bench
1+
module github.com/tstromberg/ttp-bench
22

33
go 1.17
44

images/logo.png

-7.35 KB
Loading

pkg/simulate/breakout.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func ReplaceAndLaunch(src string, dest string, args string) error {
6363

6464
c := exec.Command("sh", "-c", dest, args)
6565

66-
// If we are root, swap to the user who ran ioc-bench
66+
// If we are root, swap to the user who ran ttp-bench
6767
if syscall.Geteuid() == 0 {
6868
user := os.Getenv("DOAS_USER")
6969
if user == "" {

pkg/simulate/reverse_shell.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"os/exec"
66
"time"
77

8-
"github.com/tstromberg/ioc-bench/pkg/iexec"
8+
"github.com/tstromberg/ttp-bench/pkg/iexec"
99
)
1010

1111
func BashReverseShell() error {

pkg/simulate/traitor.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"time"
99

1010
"github.com/cavaliergopher/grab/v3"
11-
"github.com/tstromberg/ioc-bench/pkg/iexec"
11+
"github.com/tstromberg/ttp-bench/pkg/iexec"
1212
)
1313

1414
func Traitor(args ...string) error {

views.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ func selectChoices(_ context.Context, choices []choice) ([]choice, error) {
111111
}
112112

113113
l := list.New(items, list.NewDefaultDelegate(), 0, 0)
114-
l.Title = "ioc-bench"
114+
l.Title = "ttp-bench"
115115

116116
listKeys := newListKeyMap()
117117
l.AdditionalShortHelpKeys = func() []key.Binding {

0 commit comments

Comments
 (0)