-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
47 lines (40 loc) · 1.26 KB
/
Copy pathCargo.toml
File metadata and controls
47 lines (40 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[package]
name = "wraith"
version = "0.1.0"
edition = "2021"
rust-version = "1.74"
description = "Signature-free runtime exploitation detection via syscall provenance verification"
license = "MIT"
repository = "https://github.com/grloper/cyber-rust"
readme = "README.md"
keywords = ["security", "edr", "exploit", "ptrace", "detection"]
categories = ["command-line-utilities"]
[[bin]]
name = "wraith"
path = "src/bin/wraith.rs"
# Self-contained targets used by the test-suite and for live demos.
# `benign` never triggers a detection; `shellcode-sim` stages and executes
# code from an RWX anonymous mapping the way a real exploit payload does.
[[bin]]
name = "benign"
path = "src/bin/benign.rs"
[[bin]]
name = "shellcode-sim"
path = "src/bin/shellcode_sim.rs"
# Multithreaded counterparts: `benign-threads` is a false-positive control
# across several worker threads; `mt-shellcode-sim` fires its payload from a
# worker thread and is only caught when Wraith follows clones.
[[bin]]
name = "benign-threads"
path = "src/bin/benign_threads.rs"
[[bin]]
name = "mt-shellcode-sim"
path = "src/bin/mt_shellcode_sim.rs"
[dependencies]
nix = { version = "0.29", features = ["ptrace", "process", "signal"] }
libc = "0.2"
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true