其他分享
首页 > 其他分享> > Cobalt Strike Malleable C2 profiles 解决几个小问题

Cobalt Strike Malleable C2 profiles 解决几个小问题

作者:互联网

这些天在研究C2隐藏技术,遇到C2客户端验证profile出现加载不了的错误,特此记录一下:

参考文章:http://xia0yu.win/java/40.html

使用 compile_time 修改Beacon的PE头时间时候出现了错误

[-] Error(s) while compiling /Users/xia0yu/Desktop/test.profile

Error: option <.stage.compile_time> requires a 'dd MMM YYYY hh:mm:ss' date at line 289 "14 July 2009 8:14:00"

格式化时间出现错误,发现和自己系统语言环境有关,通过ssh连服务器运行也会受影响。

把自己的系统语言改成英语即可。也可以把 July 改成七月,但是都不太方便。

好的方式是在 c2lint 和 teamserver 都加上 -Duser.language=en 就可以 Profile compiled OK

java -XX:ParallelGCThreads=4 -XX:+UseParallelGC -Duser.language=en -classpath ./cobaltstrike.jar c2profile.Lint $1

然后还有个问题

[-] .spawnto_x86 is deprecated and has no effect. Set .post-ex.spawnto_x86 instead.

[-] .spawnto_x64 is deprecated and has no effect. Set .post-ex.spawnto_x64 instead.

因为3.14版本更新,不能直接 set spawnto_x86 、set spawnto_x64

而是需要这样

post-ex {  
    set spawnto_x86 "shit/path";
    set spawnto_x64 "shit/path";
}

标签:set,x86,x64,Malleable,Cobalt,profiles,C2,spawnto,post
来源: https://www.cnblogs.com/ctfisnull/p/16433200.html