Skip to content

Instantly share code, notes, and snippets.

View e-cite's full-sized avatar

Andreas Dolp e-cite

View GitHub Profile
@e-cite
e-cite / README.md
Last active May 6, 2023 17:57
Show git branch in bash prompt
@e-cite
e-cite / words.md
Created April 12, 2022 18:43
Mnemonic Encoding Word List

Mnemonic Encoding Word List

http://web.archive.org/web/20090918202746/http://tothink.com/mnemonic/wordlist.html

  • The wordlist contains 1626 words.
  • All words are between 4 and 7 letters long.
  • No word in the list is a prefix of another word (e.g. visit, visitor).
  • Five letter prefixes of words are sufficient to be unique.
  • The words should be usable by people all over the world. The list is far from perfect in that respect. It is heavily biased towards western culture and English in particular. The international vocabulary is simply not big enough. One can argue that even words like "hotel" or "radio" are not truly international. You will find many English words in the list but I have tried to limit them to words that are part of a beginner's vocabulary or words that have close relatives in other european languages. In some cases a word has a different meaning in another language or is pronounced very differently but for the purpose of the encoding it is still ok - I assume that when the encoding is
@e-cite
e-cite / 20220414-datasets.md
Last active April 14, 2022 15:18
Suricata Notes

Schulung "Suricata Datasets - Millions of IoCs handled easy"

  • Zoom-Webinar am 14.04.2022 von Peter Manev, OISF

Datasets

  • Erzeuge einen Alarm, wenn es eine Übereinstimmung zwischen DNS query und dataset gibt.
  • Es können auch Transformations erfolgen, bspw. DNS query gegenüber einer md5 Blacklist prüfen.
  • Das suricata-verify Repository enthält einige Beispiele zu Datasets.
  • SELKS / Scirius sollten wir uns unbedingt anschauen.

Verwendung von Datasets

@e-cite
e-cite / README.md
Created April 16, 2022 16:01
OpenSSL self-signed certificate
  1. Generate self-signed certificate
    openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 -nodes -keyout selfsigned.key -out selfsigned.crt -subj '/CN=example.com' -addext 'subjectAltName=DNS:example.com'
  2. Import it to "Vertrauenswürdige Stammzertifizierungsstellen" in Windows

Schulung "Lateral Movement in Microsoft Environment"

Teil 1 (12.5.2022)

Techniken für Lateral Movement

  • WinRM (Windows Remote Management)
  • WinRS (Windows Remote Shell)
  • SMB / PsExec/RCE/RSE
@e-cite
e-cite / ssh-autostart.md
Last active June 4, 2024 21:19
SSH-Agent Autostart via systemd