A simple tool to analyse version 1 GUIDs/UUIDs from a system. With the information obtained from analysis, it is often possible to forge future v1 GUIDs created by the system, if you know the approximate time they were created.
Clone the repository, cd
into it and run:
pip install .
pipx can be used in place of pip.
Once installed, you should be able to run guidtool -h
to see the help text.
Version 1 GUIDs can be inspected with guidtool -i <guid>
:
$ guidtool -i 95f6e264-bb00-11ec-8833-00155d01ef00
UUID version: 1
UUID time: 2022-04-13 08:06:13.202186
UUID timestamp: 138691299732021860
UUID node: 91754721024
UUID MAC address: 00:15:5d:01:ef:00
UUID clock sequence: 2099
If you have a sample GUID from a system, and know the approximate time a target GUID you wish to guess was created, you can generate a list of potential GUIDs to try guess by supplying the approximate GUID creation time to -t
:
$ guidtool -t '2022-04-13 09:12:54' 95f6e264-bb00-11ec-8833-00155d01ef00 | head
e6079880-bb09-11ec-8833-00155d01ef00
e607bf90-bb09-11ec-8833-00155d01ef00
e607e6a0-bb09-11ec-8833-00155d01ef00
e6080db0-bb09-11ec-8833-00155d01ef00
e60834c0-bb09-11ec-8833-00155d01ef00
e6085bd0-bb09-11ec-8833-00155d01ef00
...
By default this assumes that:
-p
. guidtool -i
, and then use a 1 followed by that number of 0s as the argument to -p
.-r
, e.g. if you are only within 3 seconds then supplying -r 3
will generate GUIDs starting 3 seconds before and ending 3 seconds after the time given in -t
.Extract and execute a PE embedded within a PNG file using an LNK file. The…
Embark on the journey of becoming a certified Red Team professional with our definitive guide.…
This repository contains proof of concept exploits for CVE-2024-5836 and CVE-2024-6778, which are vulnerabilities within…
This took me like 4 days (+2 days for an update), but I got it…
MaLDAPtive is a framework for LDAP SearchFilter parsing, obfuscation, deobfuscation and detection. Its foundation is…
There are a number of excellent tutorials. I recommend this one: Basically, you are going…