gloxec / CrossC2

generate CobaltStrike's cross-platform payload
2.2k stars 339 forks source link

Linux无法上线 #221

Open Vicl1fe opened 2 months ago

Vicl1fe commented 2 months ago

CS4.5 Windows使用genCrossC2生成t_cc2.out,在Linux服务端运行报错 error]: [parse lib]: /tmp/.sys.rrcache.data: invalid ELF header! [error]: [parse lib]: ./.sys.rrcache.data: invalid ELF header!

生成的命令为genCrossC2.exe xxxx 8443 C:\Users\Unknown\Desktop\c.beacon_keys C:\Users\Unknown\Desktop\hsf.profile Linux x64 t_cc2.out raw

Vicl1fe commented 2 months ago

3.3 stable版本

gloxec commented 2 months ago

genCrossC2.exe xxxx 8443 C:\Users\Unknown\Desktop\c.beacon_keys C:\Users\Unknown\Desktop\hsf.profile Linux x64 t_cc2.out raw

使用c2profile自动解析时,应当在自定义协议库参数处详细指定 <自定义协议库>;<底层配置>;<c2profile>

"rebind.so" - 自定义协议库
"rebind.so;config.ini" - 自定义协议库 + 底层配置
";;c2profile.profile" - c2profile自解析
";config.ini;c2profile.profile" - 底层配置 + c2profile自解析

genCrossC2.exe ... ";;C:\Users\Unknown\Desktop\hsf.profile" Linux x64 t_cc2.out raw

Vicl1fe commented 2 months ago

加了;;也试过了,也是同样的错

gloxec commented 2 months ago

c:\\Users\\...\\hsf.profile 这种呢?

Vicl1fe commented 2 months ago

我后面测下,需要重新搭建环境。谢谢。