Reversing PebbleDash’s FakeTLS Protocol

2020-05-17 hackingump

https://malwareandstuff.com/reversing-pebbledashs-faketls-c2-protocol/

Thumbnail for Reversing PebbleDash’s FakeTLS Protocol

PebbleDash is described as a North Korea-linked Hidden Cobra/APT38/Lazarus remote access tool whose FakeTLS mechanism hides command-and-control traffic inside traffic that resembles a normal TLS handshake. The analyzed sample used dynamic library loading and custom encryption for obfuscation, then selected hardcoded popular domains for the TLS server-name field to blend into enterprise network traffic. The protocol implementation checked expected TLS record content types before continuing into encrypted communications with a hardcoded, extractable key. The author reimplemented a Python C2 server able to fake the handshake and decrypt messages, giving defenders concrete insight into PebbleDash network emulation and detection opportunities.

Indicators of Compromise

Type Value First Seen Last Seen
DOMAIN avast.com 2020-05-17 2020-05-17
DOMAIN uc.com 2020-05-17 2020-05-17
DOMAIN avira.com 2020-05-17 2020-05-17
DOMAIN bing.com 2020-05-17 2020-05-17

Related Reports

« Back