xct's notes
Search…
Misc

Install Powershell Active Directory Module

1
Add-WindowsCapability –online –Name "Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0"
2
import-module activedirectory
Copied!

Increase kerberos ticket duration on linux machines

1
# edit /etc/sssd/sssd.conf
2
3
krb5_lifetime = 365d
4
krb5_renewable_lifetime = 365d
5
krb5_renew_interval = 1m
Copied!

Autologon Domain User

Download & run autologon64.exe by Sysinternals (this method is prefered). Alternatively you can also set the following registry entries on "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon":
1
DefaultUserName ...
2
DefaultPassword ...
3
DefaultDomainName ...
4
AutoAdminLogon 1
Copied!
1
import hashlib,binascii
2
hash = hashlib.new('md4', "".encode('utf-16le')).digest()
3
print(binascii.hexlify(hash))
Copied!

Find Default Password Policy Compliant Passwords in Wordlists

1
grep -n -P '(?=^.{8,255}$)(?=^[^\s]*$)(?=.*\d)(?=.*[A-Z])(?=.*[a-z])' rockyou.txt | less
Copied!
Last modified 1mo ago