Commit graph

92 commits

Author SHA1 Message Date
Sascha Tommasone
b41976a5ff [Assignment-7] changes to .edl .h based on enclave.c 2024-07-08 11:19:48 +02:00
Sascha Tommasone
79dbf59cee [Assignment-7] modified makefile 2024-07-08 11:19:48 +02:00
Sascha Tommasone
7dfa8b9e37 [Assignment-7] update verify_firmware 2024-07-08 11:19:48 +02:00
Sascha Tommasone
59e6be83c7 [Assignment-7] update sign_firmware 2024-07-08 11:19:48 +02:00
Sascha Tommasone
fd31523ce5 [Assignment-7] new function 'static sgx_status_t verify_signature' 2024-07-08 11:19:48 +02:00
Sascha Tommasone
9364000b83 [Assignment-7] (un)seal_key_pair now static functions 2024-07-08 11:19:48 +02:00
Sascha Tommasone
9cd8b37cc5 [Assignment-7] authorized public keys 2024-07-08 11:19:48 +02:00
6779eb608e [Assignment-7] Repair Flake 2024-07-08 11:19:48 +02:00
25a5ca3e2d [Assignment-7] Flake + App base
- Add Assignment-7 to flake.nix
- Implement basic framework of app
- Implement proxy subcommand (mostly)
- Implement basics of intermediary subcommand
2024-07-08 11:19:48 +02:00
Sascha Tommasone
0d6b13fafa [Assignment-7] prototype verify_firmware 2024-07-08 11:19:48 +02:00
Sascha Tommasone
7a592dc225 [Assignment-7] sign_firmware: removed dynamic memory allocations; added sealing of key after creation; uint8_t *sealed is now two way pointer; improved error handling 2024-07-08 11:19:48 +02:00
Sascha Tommasone
8da66bea12 [Assignment-7] public_key: renamed to get_public_key; improved error handling 2024-07-08 11:19:48 +02:00
Sascha Tommasone
3ea3076945 [Assignment-7] unseal_key_pair: removed dynamic memory allocations; removed unused parameter; improved error handling 2024-07-08 11:19:48 +02:00
Sascha Tommasone
97dfb2b82e [Assignment-7] seal_key_pair: removed dynamic memory allocations; fixed pointer usage 2024-07-08 11:19:48 +02:00
Sascha Tommasone
83ad706ad7 [Assignment-7] size ecalls 2024-07-08 11:19:48 +02:00
Sascha Tommasone
6aaaa3de9a [Assignment-7] improved error handling; add (un)sealing prototypes 2024-07-08 11:19:48 +02:00
Sascha Tommasone
cb380685a8 [Assignment-7] security fix in sign_firmware 2024-07-08 11:19:48 +02:00
Sascha Tommasone
5e0d13b84e [Assignment-7] add seal prototype 2024-07-08 11:19:48 +02:00
Sascha Tommasone
7ef4e42ef9 [Assignment-7] add prototype 'sgx_status_t public_key' 2024-07-08 11:19:48 +02:00
Sascha Tommasone
07254a8036 [Assignment-7] sign_firmware returns signature 2024-07-08 11:19:48 +02:00
Sascha Tommasone
76d8d4a2f4 [Assignment-7] add first enclave part 2024-07-08 11:19:48 +02:00
chronal
4a5261f6ec Assignment 7 sgximl: lib 2024-07-08 11:19:48 +02:00
chronal
0023864b0a Assignment 7 sgximpl don't ignore lib/ 2024-07-08 11:19:48 +02:00
chronal
01182627e0 Assignment 7 sgximpl: initialize project structure 2024-07-08 11:19:48 +02:00
chronal
133fb803f7
Assignment 7: abgabe neue formulierung
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 1m4s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m3s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 1m1s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 33s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 9s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 9s
2024-07-07 22:13:20 +02:00
chronal
32014ead42
Assignment 7 sgximpl: abgabe grafiken für besseres Verständnis
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 1m0s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m1s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 1m0s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 32s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 9s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 8s
2024-07-07 19:19:08 +02:00
chronal
d768d965d5
Assignment 7 sgximpl: uncomplete project description
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 1m6s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m3s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 1m0s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 33s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 8s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 8s
2024-07-07 17:07:46 +02:00
Sascha Tommasone
4c9de6da37
[Assignment-7] add rsa blinding against time based side channel attacks
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 1m1s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m4s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 1m2s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 33s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 11s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 8s
2024-06-29 21:14:06 +02:00
ba8e969470
[Assignment-7] add SGX sample code from VM
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 1m2s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m3s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 1m0s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 30s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 10s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 8s
2024-06-29 17:55:44 +02:00
Sascha Tommasone
5616ddc4e5
[Assignment-7] add rsa_verify
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 1m5s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m3s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 1m0s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 32s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 8s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 9s
2024-06-29 16:46:07 +02:00
Sascha Tommasone
4d6d39df95
[Assigment-7] basic rsa implementation
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 1m2s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m2s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 1m0s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 36s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 8s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 9s
2024-06-29 16:10:15 +02:00
Sascha Tommasone
9df8ca5810
[Assignment-7] sha256 implementation
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 1m2s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m3s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 1m0s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 30s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 8s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 8s
2024-06-29 12:00:22 +02:00
chronal
7046987a6f
Assignment 7: initialisation
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 1m0s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m6s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 1m1s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 33s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 8s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 8s
2024-06-28 16:41:35 +02:00
d7c5c2b778 Merge pull request 'Assignment-6' (#3) from Assignment-6 into master
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 32s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 32s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 32s
Reviewed-on: #3
2024-06-28 16:35:35 +02:00
be0436eb59
[Assignment-6] fix wrong links in footnote
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 58s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m2s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 1m0s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 30s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 7s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 8s
2024-06-24 13:31:58 +02:00
4f86df92e1
Rechtschreibung und Zeichensetzung üben wir noch mal
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 59s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m4s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 53s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 31s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 7s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 8s
2024-06-24 13:14:18 +02:00
Sascha Tommasone
731478bcdf
[Assignment-6] solution task 7 (stack canaries)
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 58s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m3s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 1m0s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 31s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 8s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 8s
2024-06-23 23:04:14 +02:00
Sascha Tommasone
8ab148a95f
[Assignment-6] solution task 6 again (nop sliding) 2024-06-23 23:00:27 +02:00
fa4873f427
[Assignment-6] Task 6b solution.sh
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 51s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m2s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 52s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 27s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 7s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 7s
2024-06-23 18:05:53 +02:00
3f475f91f3
ci
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 47s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 52s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (push) Successful in 49s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 19s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 6s
Latex Build / build-latex (Assignment 6 - Software Security - Teil 2) (pull_request) Successful in 6s
2024-06-23 13:07:47 +02:00
459d71216a
[Assignment-6] Nachtrag Task 6
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 49s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 47s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 22s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 6s
2024-06-23 13:04:20 +02:00
61c2d83c03
[Assignment-6] Nachtrag Task 5
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 49s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 50s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 19s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 6s
2024-06-23 12:20:33 +02:00
0d1dcf5b1e
[Assignment-6] Task 5 and 6 and flake change
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 3m8s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 48s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 19s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 8s
In Task 5 ist sind noch vier Byte nicht benutzt, die laut
Aufgabenstellung scheinbar vorgesehen sind. Mit padded_password, saved
ebp, return address und input komme ich auf 36 Byte, in der vorgegebenen
Tabelle ist aber Platz für 40.
2024-06-23 11:57:12 +02:00
Sascha Tommasone
8e4f6932e5
[Assignment-6] setup task 7 (stack canaries)
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 1m5s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m4s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 33s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 9s
2024-06-14 16:47:22 +02:00
Sascha Tommasone
cf06a6813e
[Assignment-6] solution task 6 (nop sliding)
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 1m4s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m3s
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (pull_request) Successful in 34s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (pull_request) Successful in 9s
2024-06-14 16:39:27 +02:00
Sascha Tommasone
c609af3329
[Assignment-6] setup task 6 (nop sliding) 2024-06-14 16:39:15 +02:00
Sascha Tommasone
55f0505296
[Assignment-6] solution task 8 (return-to-libc)
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 1m2s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m4s
2024-06-14 16:01:04 +02:00
Sascha Tommasone
d3b2ded31a
[Assignment-6] setup task 8 (return-to-libc) 2024-06-14 15:57:52 +02:00
Sascha Tommasone
185ca930bc
[Assignment-6] solution task 6 (basic buffer overflow attack)
All checks were successful
Latex Build / build-latex (Assignment 4 - Protokollsicherheit (Praxis)) (push) Successful in 1m3s
Latex Build / build-latex (Assignment 5 - Software Security - Teil 1) (push) Successful in 1m5s
2024-06-14 15:52:09 +02:00
Sascha Tommasone
7b0dba85f0
[Assignment-6] setup task 6 (basic buffer overflow attack) 2024-06-14 15:51:53 +02:00