Skip to content

Commit 8a45b01

Browse files
committed
Updates
1 parent eba921c commit 8a45b01

File tree

1 file changed

+28
-24
lines changed

1 file changed

+28
-24
lines changed

service-hardening/index.html

+28-24
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@
1919
# Overview
2020

2121
1. About me
22-
2. Systemd Services
23-
3. Limit privileges
24-
4. Filesystem Access
25-
5. System Calls
26-
6. Network hardening
27-
7. Questions
22+
2. Why, How
23+
3. Considerations
24+
4. Systemd Services
25+
5. Limit privileges
26+
6. Filesystem Access
27+
7. System Calls
28+
8. Network hardening
29+
9. Questions
2830

2931
---
3032

@@ -34,46 +36,48 @@
3436

3537
---
3638

37-
# Agenda
38-
39-
* Systemd Service
40-
41-
---
42-
4339
# Why
4440

4541
* Default systemd service are not restricted
46-
* No isolation between services
47-
48-
---
49-
50-
# Benefits
51-
52-
* Isolate processes
53-
* Reduce impact of security issues
42+
* No isolation between services
5443

5544
???
5645

57-
Uses seccomp for syscall/capability filtering
46+
- Isolate processes
47+
- Reduce impact of security issues
5848

5949
---
6050

61-
# Linux features
51+
# How
6252

6353
* cgroups
6454
* Namespaces
6555
* capabilities
6656

57+
???
58+
59+
Uses seccomp for syscall/capability filtering
60+
Uses capabilities for removing or adding capabilities such as CAP_SETUID, .. CAP_SYS_BOOT, CAP_SYS_MODULE
61+
Uses mprotect - set memory mapping's PROT_READ, PROT_EXEC, PROT_WRITE
62+
6763
---
6864

6965
# Considerations
7066

71-
* threat analysis
7267
* not a magic bullet
68+
* application security > systemd service hardening
7369

7470
???
7571

76-
Does not prevent SQLi or Kernel bypass
72+
Does not prevent SQLi, Kernel bypass, RCE or XSS, CRSF, broken auth flows
73+
74+
STRIDE. STRIDE is an acronym consisting of the following six categories:
75+
- spoofing identity => no
76+
- tampering with data => reduced
77+
- repudiation
78+
- information disclosure => reduced
79+
- denial of service => maybe
80+
- elevation of privilege => reduced
7781

7882
---
7983

0 commit comments

Comments
 (0)