Added support for a the getsid command so that it's easy to
determine the SID of the current user. This will be useful for
a number of different use cases.
source/common/arch/win/i386/base_dispatch.c was referring to:
see '/msf3/external/source/shellcode/x86/migrate/migrate.asm'
which was updated to:
see '/msf3/external/source/shellcode/windows/x86/src/migrate/migrate.asm'
and see '/msf3/external/source/shellcode/x64/migrate/migrate.asm'
was updated to:
see '/msf3/external/source/shellcode/windows/x64/src/migrate/migrate.asm'
This comes with some other changes as well which include code changes that
were probably made to the kerberos code prior to moving to github. As a result,
the actual changset was lots because the history of mimikatz wasn't imported
into github, and the change history is no longer available on google code.
Meterpreter's build scripts dynamically pull in OpenSSL from the
canonical remote site, https://openssl.org.
This ensures that we pull in 0.9.8za, which is patched against the
various OpenSSL vulns described at
https://www.openssl.org/news/secadv_20140605.txt
The SHA1sum should be:
adca1eb1a103a5536b24e1ed7e45051e2939731 openssl-0.9.8za.tar.gz
The MD5sum should be:
2f989915f8fea49aa1bc37aa58500cce openssl-0.9.8za.tar.gz
The goal is to avoid pointer truncation where possible so this commit
changes parameter types to qword where it makes the most sense. This
includes all handles (event, process, thread, registry), addresses
and generic parameters.
In some cases this extension would crash. This was due to the code using the
incorrect "length" variable when dumping LSA data. This commit includes addition
of some debug output, removal of other debug output, and changing of the
kiwi-specific debug definition.
Another packet function was added to aid in construction of this fix, and the
group packet function was added to one of the calls.
Despite rigorous testing, the x64 version seemed to be dropping a column
from the result set. This would appear to be due to the differences in
the way the x86 version of the API handles the ubound parameter of the
enumeration.
x86 ubounds are inclusive, where as x64 are exclusive. Hence in the case
of x86 we need to subtract one from the field set, but not in x64.