Open thatssorude opened 1 year ago
Hey,
Please provide TRACE informations by adding -vv
to your commands. Also, do you have and EDR running on the computer ?
I also need irs.exe list
informations.
I'm sorry but I'm not planning to provide a release binary.
irs list:
exec with -vv trying to impersonate administrator process:
exec with -vv trying to impersonate SYSTEM process:
Also, do you have and EDR running on the computer ?
On that machine (DC) only windows defender, but i also tested on domain-joined win10 where windef is disabled It is not in english localization, so I attached screenshots from the domain controller to make the errors clearer, but the errors are exactly the same
Thanks you. Just pushed an commit where I change a bit the flags on the OpenProcess and the SecurityDescriptor generation. Hope it will fix your problem
Can confirm that it works on my side too Thank you ❤️
Im very sorry that this is not PR, but just asking, but can you also add: 1)Marking that some process running under NETWORK session, since that session cannot be used in domain activity on other hosts due lack of credentials in memory(thats okay, but i think it would make more sense)
2) Add "adduser" functionality from original impersonate Its very simple and extremely useful I also improve that functionality in my c# soft in such way: instead of asking attacker for domain admins group i firstly getting domain sid, then get names of group with 512 RID(domain admins) and 519 RID (enterprise admins) and then trying to add user to both groups Instead of promting DC, i just getting current domain name and use it, since domain.local will be resolved to current DC Or maybe this option should stay since admin of parent domain can go to child domain and trying adding enterprise admin on child domain DC will be failed?Just thought about that, oops
I'm really sorry that it looks like begging instead of PR, but I (yet!) don't know rust lang at all and it would be cool if your software had such functionality too
Anyway, thanks for fix, issue can be closed
Great! Agreed on both. I'm keeping the issue open to keep track on it.
I tried start it as system and as administrator(with high IL), and program doesnt work at all
I got:
And when trying to impersonate system process:
Builded with instruction that you provided on linux machine Maybe something wrong with build?Can you provide release binaries so i can test? I have no idea how to debug rust code, so just let you know about trouble