Analysis
There were multiple Python samples found. Also I kinda went for these samples because they would be relatively easy to analyze and some of them exhibited malicious behavior when looking at VT & sandbox results.
05d9f87cc1bc5272d37a0da8d8bb5a5732760c13f7745395ef388951ee3963ad
I'm guessing this was someone doing POC or testing because they had named their app trojan.py
They added persistence capability with startup.
The analysis also shows screenshot ability, for Windows and Linux systems.
This sample also does IP info gathering, which might actually be an interesting behavior to look for when searching sandbox results containing broker traffic. Bunch of malware does similar with various IP lookup sites.
ae0b5e6dd44ecce8bdc6e71c32f007011d9dd991540e7bbf3831c72f894f0325
Another Python sample. This one also does persistence the same way, using Startup folder.
C2 setup
Command execution ability
It also seems to have ability to open URL and go through files.
71071750fa9c9e1d9305bbb9a1f1ed75ee86bf42c0d25c12def512aae3d8b097
This sample actually used TLS/SSL communication with the broker. This sample was also very simple, well besides encryption & encoding.
0551b908ae6233a709107c5a787f47206ed174d01ce937cee7975c969fa1b23e
This sample was actually manipulating Defender, setting up persistence, and hiding itself.
The sample apparently can run on linux as well.
FCTRL/secure is used for communication
5e69317295f1c6bf0a545261d6a814cf77c0132dacbe340cb1e605ab49436c15
This is another sample that seems to do a lot of odd things.
Scheduled task is used for persistence
Recovery settings are changed.
There are various commands/abilities that you're provided
pctrtl topic is used in this case.
07e4e006a2c76fd19143d95af25d22dfc65d971f4a63db0d06e751ad4ce20d22
Final Python sample. This one also had various abilities, like screenshot, persistence, keylogger, etc..
There are actually multiple samples I came across that used the topic/shared key shown in this sample.
Persistence
keylogging
Commands/abilities
Golang samples
I found three samples that were similar and they are being detected by AV but I don't think I've seen any write ups when I was searching for some of the function names.
There were probably the most interesting samples I saw. The issue is, I'm not sure how prevalent these are, how they're spreading, and who's using them and for what.
486aab85f1445776580ae854c25be52198e7e120d454daa14ce8e54bddb1326d
ffd9273d8de6b9ba66adc5a2acff0761061cdb89e1d0f4ca972b86ed004b23af
b3c1b4c66b99f970c892770ad64899ddd625cfa99707d7e3b351793d3048e30c
Communication seems to be done with /commands/ topic.
File path artifacts for .go files
There are multiple commands and abilities but one of those that stood out is ability to install AnyDesk
Here are some other abilities/commands but I didn't really dive deeper into them. They're self-explanatory.
Others
ea78ccfbe0b8e91ffa8eec30f79192b0dc89c3434775914ccc575705146e59e9
This sample was interesting. File was UPX packed. (technically golang) It seems to be doing some SQL testing. This was one of the samples I didn't fully analyze.
Besides the broker, this also connects to netlify. spiffy-crepe-c667e8[.]netlify[.]app. VT has a comment for this domain: "NKNShell Malware Distributed via VPN Website" - https://asec.ahnlab.com/en/91139/
This malware uses NKN protocol (https://nkn.org/) as well.