Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added ability to set the RENEW ticket option to renew a TGT #34

Closed
wants to merge 44 commits into from

Conversation

ShutdownRepo
Copy link
Member

Origin: fortra#1585

NtAlexio2 and others added 30 commits April 12, 2023 07:31
Added deprectation warning in examples for v0.11
Updated Changelog with latest example merge credits
…ps (fortra#1578)

* Remove unnecessary calls to DRSCrackNames in LDAP and full DRSUAPI DC Syncs

* Support graceful fallback for DCs that don't support SID lookups
Added query information level 0x0109 for smb1 "SMB_QUERY_FILE_STREAM_INFO"
* added setuptools requirement for pkg_resources python library
removed future as it wasn't being used

* added setuptools to requirements, removed future
* Address DHCP python3 bug

* Fix packed packet format error

* Apply suggestions from code review

---------

Co-authored-by: Ujwal Komarla <ujwalkomarla@duck.com>
Co-authored-by: alexisbalbachan <alexisbalbachan@gmail.com>
Co-authored-by: robn-applaton <robin.n@applaton.io>
scarvell and others added 14 commits September 21, 2023 02:07
…ave with it enabling -request (if previously omitted). (fortra#1607)
fortra#1586)

* returns STATUS_DIRECTORY_NOT_EMPTY when we try to tag a non-empty folder for deletion

* remove duplicate imports

---------

Co-authored-by: robn-applaton <robin.n@applaton.io>
Fixed the join and unjoin text as it was the wrong way around
fortra#1201)

* Adding describeTicket base

* Started implementing Ticket decryption

* Update describeTicket.py

* Added PAC structures

* Improved PAC parsing and printing

* Fixing the PAC_CLIENT_INFO structure

* Fixes dates, improved errors, prepared for PR

* Added PAC Credentials structure, improved code

* Reverting getST edit

* Cleaning imports and overall code

* Reverting ALL getST changes, wrong dev branch

* Debugging some keys calculation

* Adding ticket decoding and improving parsing

* Added expired flag to endtime and renewtill times

* Reverting change to pac.py that was failing ticketer.py

* Reverting change to pac.py (forgot smth)

* fixed error

fixed error: local variable 'kerberoast_hash' referenced before assignment

* Handling missing kvno

* Fixing debug message

* Fixing SID and UAC flags parsing

* add PAC_REQUESTOR and PAC_ATTRIBUTES_INFO

* Temporary fix RPC_SID faulty implem with LDAP_SID

* Complete UPN_DNS_INFO implementation with S Flag data

* Split UPN_DNS struct

* Handle null constructor

* Add multiline print for data array + Add a corresponding table for well-kwonw group Id

* Add more well-known SID

* Change default type behavior

* Add Groups decoded field

* Add credit

* Printing ticket session key

* Re-adding attributes and requestor PAC constants

---------

Co-authored-by: Podalirius <79218792+p0dalirius@users.noreply.github.com>
Co-authored-by: p0dalirius <podalirius@protonmail.com>
Co-authored-by: wqreytuk <48377190+wqreytuk@users.noreply.github.com>
Co-authored-by: Dramelac <Dramelac@users.noreply.github.com>
…hrough AS-REQ (fortra#1413)

* Support for ASREPKerberoast

* Fixing undefined name 'tgs'

* Typo on the argument, -preauth changed to -no-preauth

* Fixing args handling, -usersfile is needed if -no-preauth

* Handling case when service is None

* Update kerberosv5.py

* adding param to getKerberosTGT to return or raise depending on context

* specifying serverName param in getKerberosTGT calls

* specifying serverName param in getKerberosTGT calls
* Adding -impersonate flag to ingest S4U2self+U2U TGT

* Functional version

* Commenting out duration customization for sapphire

* Fixes fortra#1605

* Adding AD_IF_RELEVANT reference

* Fixing undefined tgt session key and wrong cname for impersonation

* Adding missing and ignored params
* Added CREDHIST support
* Added fixes from suggestions
…es (fortra#1617)

* * Enhanced MSSQLShell in NTLMRelayX leveraging TcpShell (as in SMB and LDAP)

* * Created handle_lastError decorator applied to every command to show errors in the corresponding SQLShell
…ortra#1614)

* Update smbclient.py

* Avoid closing down the connection if a folder does not exist
* [DumpNTLMInfo.py] fix error with 2003

Signed-off-by: XiaoliChan <2209553467@qq.com>

* [DumpNTLMInfo.py] garbrielg5: review I

Signed-off-by: Xiaoli Chan <2209553467@qq.com>

---------

Signed-off-by: XiaoliChan <2209553467@qq.com>
Signed-off-by: Xiaoli Chan <2209553467@qq.com>
* start remote registry as unprivileged user in reg.py

Trigger the start of the RemoteRegistry service as unprivileged user by opening the winreg named pipe.

* enable access to HKEY_USERS trough reg.py
@ShutdownRepo
Copy link
Member Author

Closing here, too much conflicts to handle
The best would now be to re-create PRs targeting the new 'main' branch that starts from the current Fortra's master branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.