top of page

Q-Dir and DesktopOK: Official Installers Hid a Python RAT

Writer: Inception Security
Inception Security
11 minutes ago
14 min read
Four-panel comic. Step 1, A tech downloads Q-Dir from the official site: a technician holds a Q-Dir box in a SoftwareOK shop and says It's from the official site. Step 2, The installer drops a hidden Python RAT: the real tool pops out of the box saying I still open! while a small hooded figure walks off with a toolbox and a Python snake. Step 3, A scheduled task keeps the RAT running: the hooded figure stands at a door marked DeviceSync under an Edge sign, saying This task will keep me running. Step 4, Hunt the task, then reinstall from a verified copy: the technician holds a clipboard reading HASH: no match and says Hashes do not match. The footer reads The official site is not proof enough. Inception Security.

What this means for your clients: Two popular Windows tools, Q-Dir and DesktopOK, were offered from their maker's own website in versions that secretly added a remote control program. The tools still opened normally. If anyone in your business installed or updated either one recently, ask your IT provider to check those computers this week.


If a utility your techs installed from the developer's own site quietly added a remote access tool, which of your machines would you check first? AhnLab's ASEC put that question to every Q-Dir and DesktopOK user on November 26. In its report, ASEC says some installers on the official SoftwareOK website, and some copies pulled through the programs' in-app updates, were replaced with a trojanized installer that runs the real program and also installs a Python RAT. The official site alone no longer proves a file is clean.


As of 7:02 AM MST, Friday, November 27, 2026, AhnLab's ASEC lists Q-Dir 12.83, 12.84 and 12.85 and DesktopOK 12.82 and 12.85 as tampered builds served from the official SoftwareOK site, including through in-app updates.


What happened


SoftwareOK publishes Windows freeware, including the Q-Dir file manager and the DesktopOK icon layout tool. ASEC found that the SHA-256 of some installers downloaded from the official site did not match the hash posted on the download page. The files on the official site were replaced, and ASEC has not identified how. ASEC also saw the malicious files arrive through in-app updates, and warns that other versions installed or updated during the distribution period may be affected.


The trojanized installer carries the genuine Q-Dir or DesktopOK program, which matches the posted hash and has a valid digital signature from developer Nenad Hrg. It drops and runs that program from C:\Users\Public, so the user sees the tool open normally. It also downloads 7zr.exe, the legitimate 7-Zip extractor, and a package named dsv2_py39_agent.7z from mail.c1a2[.]top, then unpacks a Python runtime into C:\ProgramData\Microsoft\DeviceSync\b2, or a fallback such as C:\ProgramData\DeviceSync\b2. A scheduled task named \UPnp\MicrosoftEdge_dcntel starts pythonw.exe with the RAT script at each run.


ASEC says the RAT talks to 8.210.69[.]51 on port 9876 and can run shell commands and Python code, move files, take screenshots and collect system details. It also checks running processes against 1,206 security product process names, including CrowdStrike Falcon, SentinelOne, Sophos and Elastic Security, and reports what it finds. ASEC did not name an actor. This supply chain attack has no patch to wait for. The Hacker News covered the report.


Why this matters for MSPs and small businesses


For MSPs and small businesses, these are the small tools techs install to make Windows easier, often on their laptops, jump boxes and terminal servers. SoftwareOK lists Windows Server 2012 through 2025 as supported. A RAT that can take screenshots on a tech's workstation sees whatever that tech sees: RMM consoles, PSA tickets, client portals and password managers. On a terminal server, every user's session is exposed. Because the RAT reports which EDR is running, expect any follow-on tooling to be picked to fit.


What to do today


For every Q-Dir or DesktopOK installer you keep, compare its SHA-256 with the hash on SoftwareOK's Q-Dir and DesktopOK download pages and with ASEC's table below, and do not trust a version number alone. ASEC advises uninstalling and reinstalling from a verified installer, and warns that reinstalling can leave an existing RAT in place, so check each machine for the DeviceSync folder, the scheduled task and the network traffic below.


If you find it, isolate the machine and treat it as hands-on-keyboard access. Reset every credential used on it, including RMM, PSA, admin accounts and passwords saved in the browser, and review remote sessions launched from it since the install. Either way, block mail.c1a2[.]top and 8.210.69[.]51 at your DNS filter and firewall. For the long run, keep freeware in an internal repository with pinned hashes, deploy it through RMM, and turn off in-app updates on managed machines. Rules in your application control that block execution from C:\Users\Public and alert on pythonw.exe under ProgramData catch two steps of this chain.


Indicator (defanged)

Type

Note

434b67dd403c74752b336fbb4fc94ee3a6fb615168e3fd31baea71d1a356ecd8

SHA-256, malicious installer

Q-Dir 12.85.0.0 (ASEC Table 1)

8ac6901a941788ab9675a9ec9bebdbc00074cb76f19a7d84c2e1b0ddbcee4f48

SHA-256, malicious installer

Q-Dir 12.85.0.0 (ASEC Table 1)

cf9e2433540d0b8ae8c9f4c9d5f11770343d413c1cfb201c5edae7155f88585a

SHA-256, malicious installer

Q-Dir 12.84.0.0 (ASEC Table 1)

d1a2cf8882c254156848f4a12b6c6837a3cf0e460f876c6f8b00d32a1560640a

SHA-256, malicious installer

Q-Dir 12.84.0.0 (ASEC Table 1)

7afa1e77c115eaa7798237039fde67c8a69686e7d9a4034a8df54aff2d1a126d

SHA-256, malicious installer

Q-Dir 12.84.0.0 (ASEC Table 1)

1b7b7947527a05f0fae268b16894440549c2dd512d421a06960e27b5fb1d5fa0

SHA-256, malicious installer

Q-Dir 12.84.0.0 (ASEC Table 1)

c41bd9eefd7a63fa329b24144a3483abac012ebc11bd5606b6c8295251d46422

SHA-256, malicious installer

Q-Dir 12.83.0.0 (ASEC Table 1)

551e5744b24019f016f9ee8dd3a2c00429da587b20321abaef55c18c0a655a5d

SHA-256, malicious installer

Q-Dir 12.83.0.0 (ASEC Table 1)

7524fcf3ffc44fc2e9a53af761c2a308edac31d02df3dfb1a4b57504243aec48

SHA-256, malicious installer

Q-Dir 12.83.0.0 (ASEC Table 1)

b45ba4a1d9a25116b94e95ef48d63fffda7d77bd358d17d74c7575ce39986b84

SHA-256, malicious installer

Q-Dir 12.83.0.0 (ASEC Table 1)

c12651f2988bb5e05afd1f4b1e6bce618111a4703f1aadc006bfacc6ac7e1d90

SHA-256, malicious installer

DesktopOK 12.85.0.0 (ASEC Table 1)

f96cab94d9f0e0000dfef8b9fce16bcefd23679443cc8ba8f7811a55ea5799ec

SHA-256, malicious installer

DesktopOK 12.85.0.0 (ASEC Table 1)

8c172c421129bda890b504e89d1bb72af477be9896b22a576920c050442b4a04

SHA-256, malicious installer

DesktopOK 12.82.0.0 (ASEC Table 1)

5b43284e48edee4acbab49bc5a68eb21d3a369a058d859689b6a5dd2042a5e2a

SHA-256, malicious installer

DesktopOK 12.82.0.0 (ASEC Table 1)

bdbbe28cde3dee061536e524bc2a14316015db0c958cad83023790d32a4f8d99

SHA-256, malicious installer

DesktopOK 12.82.0.0 (ASEC Table 1)

393d2f9f05affa88aaa19f29f041d28fe5c3e1fc2fd84c76d1e2f1aa6da74a83

SHA-256, malicious installer

DesktopOK 12.82.0.0 (ASEC Table 1)

ff4ec1cca4746e33d1205ed434e1e2ac9cee71fec477b032f56d3bde577626d2

SHA-256, malicious installer

DesktopOK 12.82.0.0 (ASEC Table 1)

hxxps://mail.c1a2[.]top/dl/7zr.exe

URL

7-Zip extractor download (ASEC)

hxxps://mail.c1a2[.]top/dl/dsv2_py39_agent.7z

URL

Python runtime and RAT package (ASEC)

8.210.69[.]51:9876

IP and port

RAT command server (ASEC)


How to hunt


These searches cover October 28, 2026, the release date of DesktopOK 12.82, through today; extend them back if your retention allows, because ASEC published no distribution dates. They read endpoint process, file, scheduled task, DNS and network events from Microsoft Defender, Sysmon, Elastic and CrowdStrike Falcon. Every YOUR_ name is a placeholder, and every date and grace period is our threshold.


Test 1: who in your fleet runs Q-Dir or DesktopOK


Purpose: every host, path and SHA-256 for Q-Dir and DesktopOK, plus a coverage row that flags missing or short process telemetry.


Splunk


| tstats summariesonly=false fillnull_value="unknown" count min(_time) as first max(_time) as last from datamodel=Endpoint.Processes where earliest="10/28/2026:00:00:00" (Processes.process_name="Q-Dir*" OR Processes.process_name="DesktopOK*") by Processes.dest Processes.process_path Processes.process_hash
| rename Processes.* as *
| eval flag=if(like(lower(process_path), "%users%public%"), "2 runs from the Public folder: run Hunt 1 on this host now", "3 inventory: check the installer hash and how it was installed")
| append [ | tstats summariesonly=false count min(_time) as first max(_time) as last dc(Processes.dest) as hosts from datamodel=Endpoint.Processes where earliest="10/28/2026:00:00:00"
    | eval dest="ALL HOSTS", flag=case(count==0, "1 no process telemetry since Oct 28: source missing",
        first>strptime("2026-10-29", "%Y-%m-%d"), "2 process data starts after Oct 28: short coverage",
        true(), "4 coverage: process telemetry flowing since Oct 28") ]
| convert ctime(first) ctime(last)
| table flag dest process_path process_hash count hosts first last
| sort 0 flag

Elastic


FROM YOUR_ENDPOINT_INDEX
| WHERE @timestamp >= TO_DATETIME("2026-10-28T00:00:00Z") AND event.category == "process"
| EVAL pname = TO_LOWER(process.name)
| EVAL key = CASE(pname LIKE "q-dir*" OR pname LIKE "desktopok*", CONCAT(host.name, " | ", process.executable, " | ", COALESCE(process.hash.sha256, "no hash")), "ALL HOSTS")
| STATS events = COUNT(*), hosts = COUNT_DISTINCT(host.name), first_seen = MIN(@timestamp), last_seen = MAX(@timestamp) BY key
| EVAL flag = CASE(key == "ALL HOSTS" AND first_seen > TO_DATETIME("2026-10-29T00:00:00Z"), "2 process data starts after Oct 28: short coverage",
    key == "ALL HOSTS", "4 coverage: process telemetry flowing since Oct 28",
    LOCATE(TO_LOWER(key), "\\users\\public\\") > 0, "2 runs from the Public folder: run Hunt 1 on this host now",
    "3 inventory: check the installer hash and how it was installed")
| SORT flag
| LIMIT 10000

CrowdStrike


// Time picker: Oct 28, 2026 to now.
#event_simpleName=ProcessRollup2 event_platform=Win
| regex("(?<FileName>[^\\\\]+)$", field=ImageFileName, strict=false)
| default(field=SHA256HashData, value="no hash")
| case { FileName=/^(Q-Dir|DesktopOK)/i | key := format("%s | %s | %s", field=[aid, ImageFileName, SHA256HashData]) ; * | key := "ALL HOSTS" }
| groupBy([key], function=[count(as=events), count(aid, distinct=true, as=hosts), min(@timestamp, as=first), max(@timestamp, as=last)], limit=max)
| case {
    key="ALL HOSTS" | test(first > 1793232000000) | flag := "2 process data starts after Oct 28: short coverage" ;
    key="ALL HOSTS" | flag := "4 coverage: process telemetry flowing since Oct 28" ;
    key=/\\Users\\Public\\/i | flag := "2 runs from the Public folder: run Hunt 1 on this host now" ;
    * | flag := "3 inventory: check the installer hash and how it was installed" }
| sort(flag, order=asc, type=string, limit=10000)

Microsoft KQL


let start = datetime(2026-10-28);
let procs = DeviceProcessEvents | where Timestamp >= start;
let coverage = procs
    | summarize Events = count(), First = min(Timestamp), Last = max(Timestamp), Hosts = dcount(DeviceName)
    | extend DeviceName = "ALL HOSTS", Flag = case(Events == 0, "1 no process telemetry since Oct 28: source missing",
        First > start + 1d, "2 process data starts after Oct 28: short coverage",
        "4 coverage: process telemetry flowing since Oct 28");
let inventory = procs
    | where FileName matches regex @"(?i)^(q-dir|desktopok)"
    | summarize Events = count(), First = min(Timestamp), Last = max(Timestamp) by DeviceName, FolderPath, SHA256
    | extend Flag = iff(FolderPath contains @"\Users\Public\", "2 runs from the Public folder: run Hunt 1 on this host now",
        "3 inventory: check the installer hash and how it was installed");
union coverage, inventory
| order by Flag asc

Field mapping: Splunk uses the CIM Endpoint.Processes fields, Elastic the ECS process and host fields, CrowdStrike ProcessRollup2 ImageFileName, SHA256HashData and aid, and Defender DeviceProcessEvents. In Elastic and CrowdStrike the coverage row counts all other process events, and an empty result is a missing source. Defender advanced hunting keeps 30 days, so use your SIEM for older data.


Hunt 1: the installer and its helper downloads


Purpose: ASEC's 17 malicious installer hashes, Q-Dir or DesktopOK launched from C:\Users\Public, 7zr.exe, and anything named dsv2_py39_agent.


Splunk


| tstats summariesonly=false fillnull_value="unknown" count min(_time) as first max(_time) as last from datamodel=Endpoint.Processes where earliest="10/28/2026:00:00:00" ((Processes.process_hash="*434b67dd403c74752b336fbb4fc94ee3a6fb615168e3fd31baea71d1a356ecd8*" OR Processes.process_hash="*8ac6901a941788ab9675a9ec9bebdbc00074cb76f19a7d84c2e1b0ddbcee4f48*" OR Processes.process_hash="*cf9e2433540d0b8ae8c9f4c9d5f11770343d413c1cfb201c5edae7155f88585a*" OR Processes.process_hash="*d1a2cf8882c254156848f4a12b6c6837a3cf0e460f876c6f8b00d32a1560640a*" OR Processes.process_hash="*7afa1e77c115eaa7798237039fde67c8a69686e7d9a4034a8df54aff2d1a126d*" OR Processes.process_hash="*1b7b7947527a05f0fae268b16894440549c2dd512d421a06960e27b5fb1d5fa0*" OR Processes.process_hash="*c41bd9eefd7a63fa329b24144a3483abac012ebc11bd5606b6c8295251d46422*" OR Processes.process_hash="*551e5744b24019f016f9ee8dd3a2c00429da587b20321abaef55c18c0a655a5d*" OR Processes.process_hash="*7524fcf3ffc44fc2e9a53af761c2a308edac31d02df3dfb1a4b57504243aec48*" OR Processes.process_hash="*b45ba4a1d9a25116b94e95ef48d63fffda7d77bd358d17d74c7575ce39986b84*" OR Processes.process_hash="*c12651f2988bb5e05afd1f4b1e6bce618111a4703f1aadc006bfacc6ac7e1d90*" OR Processes.process_hash="*f96cab94d9f0e0000dfef8b9fce16bcefd23679443cc8ba8f7811a55ea5799ec*" OR Processes.process_hash="*8c172c421129bda890b504e89d1bb72af477be9896b22a576920c050442b4a04*" OR Processes.process_hash="*5b43284e48edee4acbab49bc5a68eb21d3a369a058d859689b6a5dd2042a5e2a*" OR Processes.process_hash="*bdbbe28cde3dee061536e524bc2a14316015db0c958cad83023790d32a4f8d99*" OR Processes.process_hash="*393d2f9f05affa88aaa19f29f041d28fe5c3e1fc2fd84c76d1e2f1aa6da74a83*" OR Processes.process_hash="*ff4ec1cca4746e33d1205ed434e1e2ac9cee71fec477b032f56d3bde577626d2*") OR Processes.process_name="7zr.exe" OR Processes.process_path="*dsv2_py39_agent*" OR Processes.process="*dsv2_py39_agent*" OR ((Processes.process_name="Q-Dir*" OR Processes.process_name="DesktopOK*") Processes.process_path="*Users*Public*")) by Processes.dest Processes.process_name Processes.process_path Processes.process Processes.process_hash Processes.parent_process_name
| rename Processes.* as * | eval object=process_path, hash=process_hash
| append [ | tstats summariesonly=false fillnull_value="unknown" count min(_time) as first max(_time) as last from datamodel=Endpoint.Filesystem where earliest="10/28/2026:00:00:00" ((Filesystem.file_hash="*434b67dd403c74752b336fbb4fc94ee3a6fb615168e3fd31baea71d1a356ecd8*" OR Filesystem.file_hash="*8ac6901a941788ab9675a9ec9bebdbc00074cb76f19a7d84c2e1b0ddbcee4f48*" OR Filesystem.file_hash="*cf9e2433540d0b8ae8c9f4c9d5f11770343d413c1cfb201c5edae7155f88585a*" OR Filesystem.file_hash="*d1a2cf8882c254156848f4a12b6c6837a3cf0e460f876c6f8b00d32a1560640a*" OR Filesystem.file_hash="*7afa1e77c115eaa7798237039fde67c8a69686e7d9a4034a8df54aff2d1a126d*" OR Filesystem.file_hash="*1b7b7947527a05f0fae268b16894440549c2dd512d421a06960e27b5fb1d5fa0*" OR Filesystem.file_hash="*c41bd9eefd7a63fa329b24144a3483abac012ebc11bd5606b6c8295251d46422*" OR Filesystem.file_hash="*551e5744b24019f016f9ee8dd3a2c00429da587b20321abaef55c18c0a655a5d*" OR Filesystem.file_hash="*7524fcf3ffc44fc2e9a53af761c2a308edac31d02df3dfb1a4b57504243aec48*" OR Filesystem.file_hash="*b45ba4a1d9a25116b94e95ef48d63fffda7d77bd358d17d74c7575ce39986b84*" OR Filesystem.file_hash="*c12651f2988bb5e05afd1f4b1e6bce618111a4703f1aadc006bfacc6ac7e1d90*" OR Filesystem.file_hash="*f96cab94d9f0e0000dfef8b9fce16bcefd23679443cc8ba8f7811a55ea5799ec*" OR Filesystem.file_hash="*8c172c421129bda890b504e89d1bb72af477be9896b22a576920c050442b4a04*" OR Filesystem.file_hash="*5b43284e48edee4acbab49bc5a68eb21d3a369a058d859689b6a5dd2042a5e2a*" OR Filesystem.file_hash="*bdbbe28cde3dee061536e524bc2a14316015db0c958cad83023790d32a4f8d99*" OR Filesystem.file_hash="*393d2f9f05affa88aaa19f29f041d28fe5c3e1fc2fd84c76d1e2f1aa6da74a83*" OR Filesystem.file_hash="*ff4ec1cca4746e33d1205ed434e1e2ac9cee71fec477b032f56d3bde577626d2*") OR Filesystem.file_name="7zr.exe" OR Filesystem.file_path="*dsv2_py39_agent*") by Filesystem.dest Filesystem.file_path Filesystem.file_name Filesystem.file_hash
    | rename Filesystem.* as * | eval object=file_path, hash=file_hash, process_name=file_name ]
| eval h=lower(coalesce(hash, "")), o=lower(object)
| eval flag=case(match(h, "434b67dd403c74752b336fbb4fc94ee3a6fb615168e3fd31baea71d1a356ecd8|8ac6901a941788ab9675a9ec9bebdbc00074cb76f19a7d84c2e1b0ddbcee4f48|cf9e2433540d0b8ae8c9f4c9d5f11770343d413c1cfb201c5edae7155f88585a|d1a2cf8882c254156848f4a12b6c6837a3cf0e460f876c6f8b00d32a1560640a|7afa1e77c115eaa7798237039fde67c8a69686e7d9a4034a8df54aff2d1a126d|1b7b7947527a05f0fae268b16894440549c2dd512d421a06960e27b5fb1d5fa0|c41bd9eefd7a63fa329b24144a3483abac012ebc11bd5606b6c8295251d46422|551e5744b24019f016f9ee8dd3a2c00429da587b20321abaef55c18c0a655a5d|7524fcf3ffc44fc2e9a53af761c2a308edac31d02df3dfb1a4b57504243aec48|b45ba4a1d9a25116b94e95ef48d63fffda7d77bd358d17d74c7575ce39986b84|c12651f2988bb5e05afd1f4b1e6bce618111a4703f1aadc006bfacc6ac7e1d90|f96cab94d9f0e0000dfef8b9fce16bcefd23679443cc8ba8f7811a55ea5799ec|8c172c421129bda890b504e89d1bb72af477be9896b22a576920c050442b4a04|5b43284e48edee4acbab49bc5a68eb21d3a369a058d859689b6a5dd2042a5e2a|bdbbe28cde3dee061536e524bc2a14316015db0c958cad83023790d32a4f8d99|393d2f9f05affa88aaa19f29f041d28fe5c3e1fc2fd84c76d1e2f1aa6da74a83|ff4ec1cca4746e33d1205ed434e1e2ac9cee71fec477b032f56d3bde577626d2"), "1 ASEC malicious installer hash",
    like(o, "%dsv2_py39_agent%") OR like(lower(coalesce(process, "")), "%dsv2_py39_agent%"), "1 ASEC RAT package name",
    lower(process_name)=="7zr.exe", "2 7zr.exe: confirm an admin used it",
    true(), "2 Q-Dir or DesktopOK launched from the Public folder")
| convert ctime(first) ctime(last)
| table flag dest object hash parent_process_name count first last
| sort 0 flag

Elastic


FROM YOUR_ENDPOINT_INDEX
| WHERE @timestamp >= TO_DATETIME("2026-10-28T00:00:00Z") AND event.category IN ("process", "file")
| EVAL path = TO_LOWER(COALESCE(process.executable, "")), fpath = TO_LOWER(COALESCE(file.path, "")),
    pname = TO_LOWER(COALESCE(process.name, "")), fname = TO_LOWER(COALESCE(file.name, "")),
    h = TO_LOWER(COALESCE(file.hash.sha256, process.hash.sha256, ""))
| EVAL flag = CASE(h IN ("434b67dd403c74752b336fbb4fc94ee3a6fb615168e3fd31baea71d1a356ecd8", "8ac6901a941788ab9675a9ec9bebdbc00074cb76f19a7d84c2e1b0ddbcee4f48", "cf9e2433540d0b8ae8c9f4c9d5f11770343d413c1cfb201c5edae7155f88585a", "d1a2cf8882c254156848f4a12b6c6837a3cf0e460f876c6f8b00d32a1560640a", "7afa1e77c115eaa7798237039fde67c8a69686e7d9a4034a8df54aff2d1a126d", "1b7b7947527a05f0fae268b16894440549c2dd512d421a06960e27b5fb1d5fa0", "c41bd9eefd7a63fa329b24144a3483abac012ebc11bd5606b6c8295251d46422", "551e5744b24019f016f9ee8dd3a2c00429da587b20321abaef55c18c0a655a5d", "7524fcf3ffc44fc2e9a53af761c2a308edac31d02df3dfb1a4b57504243aec48", "b45ba4a1d9a25116b94e95ef48d63fffda7d77bd358d17d74c7575ce39986b84", "c12651f2988bb5e05afd1f4b1e6bce618111a4703f1aadc006bfacc6ac7e1d90", "f96cab94d9f0e0000dfef8b9fce16bcefd23679443cc8ba8f7811a55ea5799ec", "8c172c421129bda890b504e89d1bb72af477be9896b22a576920c050442b4a04", "5b43284e48edee4acbab49bc5a68eb21d3a369a058d859689b6a5dd2042a5e2a", "bdbbe28cde3dee061536e524bc2a14316015db0c958cad83023790d32a4f8d99", "393d2f9f05affa88aaa19f29f041d28fe5c3e1fc2fd84c76d1e2f1aa6da74a83", "ff4ec1cca4746e33d1205ed434e1e2ac9cee71fec477b032f56d3bde577626d2"), "1 ASEC malicious installer hash",
    path LIKE "*dsv2_py39_agent*" OR fpath LIKE "*dsv2_py39_agent*", "1 ASEC RAT package name",
    pname == "7zr.exe" OR fname == "7zr.exe", "2 7zr.exe: confirm an admin used it",
    event.category == "process" AND (pname LIKE "q-dir*" OR pname LIKE "desktopok*") AND LOCATE(path, "\\users\\public\\") > 0, "2 Q-Dir or DesktopOK launched from the Public folder",
    NULL)
| WHERE flag IS NOT NULL
| EVAL object = CASE(fpath != "", fpath, path)
| STATS events = COUNT(*), first_seen = MIN(@timestamp), last_seen = MAX(@timestamp), writers = VALUES(pname) BY flag, host.name, object, h
| SORT flag
| LIMIT 10000

CrowdStrike


// Time picker: Oct 28, 2026 to now. File writes come from the FileWritten events, including SevenZipFileWritten for the .7z package.
(#event_simpleName=ProcessRollup2 event_platform=Win) OR #event_simpleName=/FileWritten$/
| h := lower(SHA256HashData)
| case {
    in(field=h, values=["434b67dd403c74752b336fbb4fc94ee3a6fb615168e3fd31baea71d1a356ecd8", "8ac6901a941788ab9675a9ec9bebdbc00074cb76f19a7d84c2e1b0ddbcee4f48", "cf9e2433540d0b8ae8c9f4c9d5f11770343d413c1cfb201c5edae7155f88585a", "d1a2cf8882c254156848f4a12b6c6837a3cf0e460f876c6f8b00d32a1560640a", "7afa1e77c115eaa7798237039fde67c8a69686e7d9a4034a8df54aff2d1a126d", "1b7b7947527a05f0fae268b16894440549c2dd512d421a06960e27b5fb1d5fa0", "c41bd9eefd7a63fa329b24144a3483abac012ebc11bd5606b6c8295251d46422", "551e5744b24019f016f9ee8dd3a2c00429da587b20321abaef55c18c0a655a5d", "7524fcf3ffc44fc2e9a53af761c2a308edac31d02df3dfb1a4b57504243aec48", "b45ba4a1d9a25116b94e95ef48d63fffda7d77bd358d17d74c7575ce39986b84", "c12651f2988bb5e05afd1f4b1e6bce618111a4703f1aadc006bfacc6ac7e1d90", "f96cab94d9f0e0000dfef8b9fce16bcefd23679443cc8ba8f7811a55ea5799ec", "8c172c421129bda890b504e89d1bb72af477be9896b22a576920c050442b4a04", "5b43284e48edee4acbab49bc5a68eb21d3a369a058d859689b6a5dd2042a5e2a", "bdbbe28cde3dee061536e524bc2a14316015db0c958cad83023790d32a4f8d99", "393d2f9f05affa88aaa19f29f041d28fe5c3e1fc2fd84c76d1e2f1aa6da74a83", "ff4ec1cca4746e33d1205ed434e1e2ac9cee71fec477b032f56d3bde577626d2"]) | flag := "1 ASEC malicious installer hash" ;
    ImageFileName=/dsv2_py39_agent/i | flag := "1 ASEC RAT package name" ;
    TargetFileName=/dsv2_py39_agent/i | flag := "1 ASEC RAT package name" ;
    ImageFileName=/\\7zr\.exe$/i | flag := "2 7zr.exe: confirm an admin used it" ;
    TargetFileName=/\\7zr\.exe$/i | flag := "2 7zr.exe: confirm an admin used it" ;
    #event_simpleName=ProcessRollup2 ImageFileName=/\\Users\\Public\\(Q-Dir|DesktopOK)[^\\]*$/i | flag := "2 Q-Dir or DesktopOK launched from the Public folder" }
| case { TargetFileName=* | object := TargetFileName ; * | object := ImageFileName }
| default(field=h, value="none")
| groupBy([flag, aid, object, h], function=[count(as=events), min(@timestamp, as=first), max(@timestamp, as=last)], limit=max)
| sort(flag, order=asc, type=string, limit=10000)

Microsoft KQL


let start = datetime(2026-10-28);
let bad = dynamic(["434b67dd403c74752b336fbb4fc94ee3a6fb615168e3fd31baea71d1a356ecd8", "8ac6901a941788ab9675a9ec9bebdbc00074cb76f19a7d84c2e1b0ddbcee4f48", "cf9e2433540d0b8ae8c9f4c9d5f11770343d413c1cfb201c5edae7155f88585a", "d1a2cf8882c254156848f4a12b6c6837a3cf0e460f876c6f8b00d32a1560640a", "7afa1e77c115eaa7798237039fde67c8a69686e7d9a4034a8df54aff2d1a126d", "1b7b7947527a05f0fae268b16894440549c2dd512d421a06960e27b5fb1d5fa0", "c41bd9eefd7a63fa329b24144a3483abac012ebc11bd5606b6c8295251d46422", "551e5744b24019f016f9ee8dd3a2c00429da587b20321abaef55c18c0a655a5d", "7524fcf3ffc44fc2e9a53af761c2a308edac31d02df3dfb1a4b57504243aec48", "b45ba4a1d9a25116b94e95ef48d63fffda7d77bd358d17d74c7575ce39986b84", "c12651f2988bb5e05afd1f4b1e6bce618111a4703f1aadc006bfacc6ac7e1d90", "f96cab94d9f0e0000dfef8b9fce16bcefd23679443cc8ba8f7811a55ea5799ec", "8c172c421129bda890b504e89d1bb72af477be9896b22a576920c050442b4a04", "5b43284e48edee4acbab49bc5a68eb21d3a369a058d859689b6a5dd2042a5e2a", "bdbbe28cde3dee061536e524bc2a14316015db0c958cad83023790d32a4f8d99", "393d2f9f05affa88aaa19f29f041d28fe5c3e1fc2fd84c76d1e2f1aa6da74a83", "ff4ec1cca4746e33d1205ed434e1e2ac9cee71fec477b032f56d3bde577626d2"]);
let p = DeviceProcessEvents
    | where Timestamp >= start
    | where SHA256 in (bad) or FileName =~ "7zr.exe" or FolderPath contains "dsv2_py39_agent" or ProcessCommandLine contains "dsv2_py39_agent"
        or (FolderPath contains @"\Users\Public\" and FileName matches regex @"(?i)^(q-dir|desktopok)")
    | extend Kind = "process", Origin = "";
let f = DeviceFileEvents
    | where Timestamp >= start
    | where SHA256 in (bad) or FileName =~ "7zr.exe" or FileName contains "dsv2_py39_agent" or FolderPath contains "dsv2_py39_agent" or FileOriginUrl contains "mail.c1a2.top"
    | extend Kind = "file", Origin = FileOriginUrl;
union p, f
| extend Flag = case(SHA256 in (bad), "1 ASEC malicious installer hash",
    FileName contains "dsv2_py39_agent" or FolderPath contains "dsv2_py39_agent" or ProcessCommandLine contains "dsv2_py39_agent" or Origin contains "mail.c1a2.top", "1 ASEC RAT package or download domain",
    FileName =~ "7zr.exe", "2 7zr.exe: confirm an admin used it",
    "2 Q-Dir or DesktopOK launched from the Public folder")
| summarize Events = count(), First = min(Timestamp), Last = max(Timestamp), Parents = make_set(InitiatingProcessFileName, 10), Origins = make_set(Origin, 5)
    by Flag, DeviceName, Kind, FolderPath, SHA256
| order by Flag asc

Field mapping: Splunk reads Endpoint.Processes and Endpoint.Filesystem, Elastic the ECS process and file fields, CrowdStrike ProcessRollup2 and file write events, and Defender DeviceProcessEvents and DeviceFileEvents, including FileOriginUrl. False positives: admins who use 7zr.exe on purpose and portable apps run from Public folders.


Hunt 2: the fake Edge task and the Python runtime in DeviceSync


Purpose: the MicrosoftEdge_dcntel task, Python under a DeviceSync path, and any pythonw.exe running from ProgramData or Public outside your approved installs.


Splunk


index=YOUR_WINDOWS_INDEX EventCode=4698 earliest="10/28/2026:00:00:00" (TaskName="*MicrosoftEdge_dcntel*" OR TaskName="*UPnp*")
| eval flag=if(like(lower(TaskName), "%microsoftedge_dcntel%"), "1 ASEC task name MicrosoftEdge_dcntel", "2 task under a UPnp path: check it"), object=TaskName
| stats count min(_time) as first max(_time) as last by flag host object
| append [ | tstats summariesonly=false fillnull_value="unknown" count min(_time) as first max(_time) as last from datamodel=Endpoint.Processes where earliest="10/28/2026:00:00:00" (Processes.process_name="pythonw.exe" OR Processes.process_name="python.exe") (Processes.process_path="*ProgramData*" OR Processes.process_path="*Users*Public*" OR Processes.process="*py_client_dsv2.py*") by Processes.dest Processes.process_path Processes.process
    | rename Processes.* as * | eval p=lower(process_path), host=dest, object=process
    | eval flag=if(like(p, "%programdata%devicesync%") OR like(lower(process), "%py_client_dsv2.py%"), "1 Python in the ASEC DeviceSync path", "3 Python from ProgramData or Public: check against approved installs")
    | where like(flag, "1%") OR NOT like(p, "YOUR_APPROVED_PYTHON_PATH%") ]
| convert ctime(first) ctime(last)
| table flag host object count first last
| sort 0 flag

Elastic


FROM YOUR_WINDOWS_SECURITY_INDEX, YOUR_ENDPOINT_INDEX
| WHERE @timestamp >= TO_DATETIME("2026-10-28T00:00:00Z")
| EVAL task = TO_LOWER(winlog.event_data.TaskName), p = TO_LOWER(process.executable), cmd = TO_LOWER(process.command_line), pname = TO_LOWER(process.name)
| EVAL flag = CASE(event.code == "4698" AND task LIKE "*microsoftedge_dcntel*", "1 ASEC task name MicrosoftEdge_dcntel",
    event.code == "4698" AND task LIKE "*upnp*", "2 task under a UPnp path: check it",
    pname IN ("pythonw.exe", "python.exe") AND (cmd LIKE "*py_client_dsv2.py*" OR p LIKE "*programdata*devicesync*"), "1 Python in the ASEC DeviceSync path",
    pname IN ("pythonw.exe", "python.exe") AND (p LIKE "*programdata*" OR p LIKE "*users*public*") AND NOT p LIKE "YOUR_APPROVED_PYTHON_PATH*", "3 Python from ProgramData or Public: check against approved installs",
    NULL)
| WHERE flag IS NOT NULL
| EVAL object = COALESCE(task, cmd, p)
| STATS events = COUNT(*), first_seen = MIN(@timestamp), last_seen = MAX(@timestamp) BY flag, host.name, object
| SORT flag
| LIMIT 10000

CrowdStrike


// Time picker: Oct 28, 2026 to now. YOUR_APPROVED_PYTHON_REGEX is a placeholder for your approved Python folders.
(#event_simpleName=/^(ScheduledTaskRegistered|ScheduledTaskModified)$/ event_platform=Win) OR (#event_simpleName=ProcessRollup2 event_platform=Win ImageFileName=/\\pythonw?\.exe$/i)
| case {
    TaskName=/MicrosoftEdge_dcntel/i | flag := "1 ASEC task name MicrosoftEdge_dcntel" ;
    TaskName=/UPnp/i | flag := "2 task under a UPnp path: check it" ;
    ImageFileName=/\\ProgramData\\(Microsoft\\)?DeviceSync\\/i | flag := "1 Python in the ASEC DeviceSync path" ;
    CommandLine=/py_client_dsv2\.py/i | flag := "1 Python in the ASEC DeviceSync path" ;
    ImageFileName=/\\(ProgramData|Users\\Public)\\/i ImageFileName!=/YOUR_APPROVED_PYTHON_REGEX/i | flag := "3 Python from ProgramData or Public: check against approved installs" }
| default(field=[TaskExecCommand, TaskExecArguments], value="")
| case { TaskName=* | object := format("%s -> %s %s", field=[TaskName, TaskExecCommand, TaskExecArguments]) ; * | object := CommandLine }
| groupBy([flag, aid, object], function=[count(as=events), min(@timestamp, as=first), max(@timestamp, as=last)], limit=max)
| sort(flag, order=asc, type=string, limit=10000)

Microsoft KQL


let start = datetime(2026-10-28);
let approved = @"YOUR_APPROVED_PYTHON_REGEX"; // placeholder: lowercase regex for approved Python folders
let tasks = DeviceEvents
    | where Timestamp >= start and ActionType == "ScheduledTaskCreated"
    | extend TaskName = tostring(parse_json(AdditionalFields).TaskName)
    | where TaskName contains "MicrosoftEdge_dcntel" or TaskName contains "UPnp"
    | extend Flag = iff(TaskName contains "MicrosoftEdge_dcntel", "1 ASEC task name MicrosoftEdge_dcntel", "2 task under a UPnp path: check it"),
        Object = TaskName;
let python = DeviceProcessEvents
    | where Timestamp >= start and FileName in~ ("pythonw.exe", "python.exe")
    | extend P = tolower(FolderPath)
    | where P contains @"\programdata\" or P contains @"\users\public\" or ProcessCommandLine contains "py_client_dsv2.py"
    | extend Flag = iff(ProcessCommandLine contains "py_client_dsv2.py" or P contains @"\devicesync\", "1 Python in the ASEC DeviceSync path",
        "3 Python from ProgramData or Public: check against approved installs"), Object = ProcessCommandLine
    | where Flag startswith "1" or not(P matches regex approved);
union tasks, python
| summarize Events = count(), First = min(Timestamp), Last = max(Timestamp) by Flag, DeviceName, Object
| order by Flag asc

Field mapping: Defender reads DeviceEvents ScheduledTaskCreated. Splunk and Elastic read Windows Security event 4698, which needs the "Audit Other Object Access Events" policy. CrowdStrike reads ScheduledTaskRegistered and ScheduledTaskModified. False positives: Windows ships its own UPnP tasks, and some vendor agents bundle Python under ProgramData. List those agents in the approved placeholder.


Hunt 3: the beacon


Purpose: lookups of mail.c1a2[.]top, connections to 8.210.69[.]51 or port 9876, and Python from ProgramData or Public reaching a public address.


Splunk


| tstats summariesonly=false fillnull_value="unknown" count min(_time) as first max(_time) as last from datamodel=Network_Resolution where earliest="10/28/2026:00:00:00" DNS.query="*mail.c1a2.top*" by DNS.src DNS.query
| rename DNS.* as * | eval flag="1 DNS lookup of the ASEC download domain", host=src, object=query
| append [ | tstats summariesonly=false fillnull_value="unknown" count min(_time) as first max(_time) as last from datamodel=Network_Traffic where earliest="10/28/2026:00:00:00" (All_Traffic.dest_ip="8.210.69.51" OR All_Traffic.dest_port=9876) by All_Traffic.src All_Traffic.dest_ip All_Traffic.dest_port
    | rename All_Traffic.* as * | eval flag=if(dest_ip=="8.210.69.51", "1 connection to the ASEC C2 address", "2 traffic to port 9876: check the process"), host=src, object=dest_ip.":".dest_port ]
| append [ search index=YOUR_SYSMON_INDEX source="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=3 earliest="10/28/2026:00:00:00" (Image="*\\pythonw.exe" OR Image="*\\python.exe") (Image="*ProgramData*" OR Image="*Users*Public*")
    | where NOT (cidrmatch("10.0.0.0/8", DestinationIp) OR cidrmatch("172.16.0.0/12", DestinationIp) OR cidrmatch("192.168.0.0/16", DestinationIp) OR cidrmatch("127.0.0.0/8", DestinationIp) OR cidrmatch("169.254.0.0/16", DestinationIp))
    | stats count min(_time) as first max(_time) as last by host Image DestinationIp DestinationPort
    | eval flag="2 Python from ProgramData or Public reaching a public IP", object=Image." -> ".DestinationIp.":".DestinationPort ]
| convert ctime(first) ctime(last)
| table flag host object count first last
| sort 0 flag

Elastic


FROM YOUR_ENDPOINT_INDEX
| WHERE @timestamp >= TO_DATETIME("2026-10-28T00:00:00Z") AND event.category == "network"
| EVAL q = TO_LOWER(dns.question.name), dip = TO_STRING(destination.ip), pname = TO_LOWER(process.name), p = TO_LOWER(process.executable)
| EVAL public = destination.ip IS NOT NULL AND NOT CIDR_MATCH(destination.ip, "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "127.0.0.0/8", "169.254.0.0/16")
| EVAL flag = CASE(q == "mail.c1a2.top", "1 DNS lookup of the ASEC download domain",
    dip == "8.210.69.51", "1 connection to the ASEC C2 address",
    destination.port == 9876, "2 traffic to port 9876: check the process",
    pname IN ("pythonw.exe", "python.exe") AND (p LIKE "*programdata*" OR p LIKE "*users*public*") AND public, "2 Python from ProgramData or Public reaching a public IP",
    NULL)
| WHERE flag IS NOT NULL
| STATS events = COUNT(*), first_seen = MIN(@timestamp), last_seen = MAX(@timestamp), ports = VALUES(destination.port) BY flag, host.name, p, dip, q
| SORT flag
| LIMIT 10000

CrowdStrike


// Time picker: Oct 28, 2026 to now. Joins network and DNS events to the process by aid and process ID, as in CrowdStrike's published queries.
(#event_simpleName=ProcessRollup2 event_platform=Win ImageFileName=/\\pythonw?\.exe$/i) OR (#event_simpleName=NetworkConnectIP4 event_platform=Win) OR (#event_simpleName=DnsRequest DomainName="mail.c1a2.top")
| case { #event_simpleName=ProcessRollup2 | falconPID := TargetProcessId ; * | falconPID := ContextProcessId }
| default(field=falconPID, value="missing")
| case {
    #event_simpleName=DnsRequest | dns_hit := 1 ;
    #event_simpleName=NetworkConnectIP4 RemoteAddressIP4="8.210.69.51" | c2_hit := 1 ;
    #event_simpleName=NetworkConnectIP4 RemotePort=9876 | port_hit := 1 ;
    #event_simpleName=NetworkConnectIP4 | !cidr(RemoteAddressIP4, subnet=["10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "127.0.0.0/8", "169.254.0.0/16", "224.0.0.0/4"]) | pub := 1 ;
    #event_simpleName=ProcessRollup2 ImageFileName=/\\(ProgramData|Users\\Public)\\.*\\pythonw?\.exe$/i | py := 1 ;
    * }
| selfJoinFilter([aid, falconPID], where=[{dns_hit=1 or c2_hit=1 or port_hit=1 or py=1}], prefilter=false)
| groupBy([aid, falconPID], function=[sum(dns_hit, as=dns_hit), sum(c2_hit, as=c2_hit), sum(port_hit, as=port_hit), sum(pub, as=pub), sum(py, as=py), collect([ImageFileName, RemoteAddressIP4, RemotePort])], limit=max)
| default(field=[dns_hit, c2_hit, port_hit, pub, py], value=0)
| case {
    test(dns_hit > 0) | flag := "1 DNS lookup of the ASEC download domain" ;
    test(c2_hit > 0) | flag := "1 connection to the ASEC C2 address" ;
    test(port_hit > 0) | flag := "2 traffic to port 9876: check the process" ;
    test(py > 0) | test(pub > 0) | flag := "2 Python from ProgramData or Public reaching a public IP" }
| sort(flag, order=asc, type=string, limit=10000)

Microsoft KQL


let start = datetime(2026-10-28);
DeviceNetworkEvents
| where Timestamp >= start
| extend PyPath = tolower(InitiatingProcessFolderPath)
| extend Flag = case(RemoteUrl contains "mail.c1a2.top", "1 connection to the ASEC download domain",
    RemoteIP in ("8.210.69.51", "::ffff:8.210.69.51"), "1 connection to the ASEC C2 address",
    RemotePort == 9876, "2 traffic to port 9876: check the process",
    InitiatingProcessFileName in~ ("pythonw.exe", "python.exe") and (PyPath contains @"\programdata\" or PyPath contains @"\users\public\")
        and isnotempty(RemoteIP) and not(ipv4_is_private(RemoteIP)) and RemoteIP !startswith "127." and not(ipv4_is_in_range(RemoteIP, "169.254.0.0/16")), "2 Python from ProgramData or Public reaching a public IP",
    "")
| where isnotempty(Flag)
| summarize Events = count(), First = min(Timestamp), Last = max(Timestamp), Ports = make_set(RemotePort, 10)
    by Flag, DeviceName, InitiatingProcessFileName, InitiatingProcessFolderPath, RemoteIP, RemoteUrl
| order by Flag asc

Field mapping: Splunk uses Network_Resolution and Network_Traffic plus Sysmon event 3 for the process view, Elastic dns.question.name and destination fields, CrowdStrike DnsRequest and NetworkConnectIP4 joined to ProcessRollup2 by process ID, and Defender DeviceNetworkEvents. False positives: none expected for the two addresses; the Python half finds other Python agents, so triage by path and parent.


Reading the results before you escalate


A Test 1 hit alone is inventory, but the program's own hash will look clean, so run Hunts 2 and 3 on that host before you reinstall from a verified copy. A Hunt 1 hit makes the host suspect, so run Hunts 2 and 3 on it now. A flag 1 hit in Hunt 2 or 3 means isolate first, collect the DeviceSync folder and the task definition before removing anything, reset credentials used on that host, and review what that user could reach. Triage flag 2 and 3 rows before you escalate. A coverage gap in Test 1 means fix the logging before you call anything clean.


One next step


This week, move the utilities your techs install most into an internal repository with pinned hashes. For the identity side of the same risk, start with a free Inception Foresight M365 Assessment at inceptionsecurity.com/m365assessment.


bg-map-white.png

INCEPTION SECURITY™

A cybersecurity company with in depth knowledge of the threat landscape and security controls.

NAVIGATION

GET IN TOUCH

© 2025 All Rights Reserved by INCEPTION SECURITY™ .

bottom of page