mai1zhi2 / SharpBeacon

CobaltStrike Beacon written in .Net 4 用.net重写了stager及Beacon,其中包括正常上线、文件管理、进程管理、令牌管理、结合SysCall进行注入、原生端口转发、关ETW等一系列功能
694 stars 145 forks source link

How To Resolve The Variables To Actually Use it #3

Open ghost opened 3 years ago

ghost commented 3 years ago

hello, thanks for this wonderful repo, and for your time... i wasn't able to use it since i hadn't really understand how,

Firstly, starting TeamServer and you got .cobaltstrike.beacon_keys meanwhile configurate listener etc. Secondly, compiling SharpBeacon with VisualStudio after you changed url and RSA private key and public key in config.cs And Then click sharpbeacon.exe

what i understood, is that i have to change data in Config.cs to match the data in my teamserver, however i really didn't know where to get the rsa key and the other variables there , and if .cobaltstrike.beacon_keys is a file, that really got the data i want to run the code, how to generate it ??

i tried playing with keytool and cobaltstrike.store but i hadn't got any luck yet, so how to do it? and can u please specify in details, because I'm sure other people wants to run this code too but they failed

again, thanks for your time, hope u reply soon have a nice day !

bopin2020 commented 2 years ago

It maybe help you. https://github.com/WBGlIl/CS_Decrypt