Closed 2XXE-SRA closed 3 years ago
Cobalt Strike 4.3 (https://blog.cobaltstrike.com/2021/03/03/cobalt-strike-4-3-command-and-control/) introduced, among other things, the "dns-beacon" block. The addition of this block breaks compatibility so profiles for previous versions are no longer valid for 4.3+.
As a half-measure, https://github.com/FortyNorthSecurity/C2concealer/blob/master/C2concealer/components/dnsoptions.py#L77-L80 should be changed to
profileString = 'dns-beacon { \n' for attr, value in self.__dict__.items(): profileString += '\tset ' + attr + ' "' + value + '";\n' profileString += '\n }\n' return profileString
A more complete solution should probably also include the new subhost options.
Looks like https://github.com/FortyNorthSecurity/C2concealer/pull/4/commits/04f2fc2f3a962251774774ccf268df1704b1c845 addresses the first part
This should now be fixed with the latest merge from last week!
Cobalt Strike 4.3 (https://blog.cobaltstrike.com/2021/03/03/cobalt-strike-4-3-command-and-control/) introduced, among other things, the "dns-beacon" block. The addition of this block breaks compatibility so profiles for previous versions are no longer valid for 4.3+.
As a half-measure, https://github.com/FortyNorthSecurity/C2concealer/blob/master/C2concealer/components/dnsoptions.py#L77-L80 should be changed to
A more complete solution should probably also include the new subhost options.