Skip to content

Add APT36/SideCopy detection rules: CrimsonRAT persistence, XenoRAT task, mshta index.php chain#6076

Open
Pyhroff wants to merge 1 commit into
SigmaHQ:masterfrom
Pyhroff:add/apt36-sidecopy-detection-rules
Open

Add APT36/SideCopy detection rules: CrimsonRAT persistence, XenoRAT task, mshta index.php chain#6076
Pyhroff wants to merge 1 commit into
SigmaHQ:masterfrom
Pyhroff:add/apt36-sidecopy-detection-rules

Conversation

@Pyhroff

@Pyhroff Pyhroff commented Jun 23, 2026

Copy link
Copy Markdown

Summary

Three new experimental rules covering APT36 (Transparent Tribe) / SideCopy TTPs with no prior Sigma coverage. This Pakistan-linked threat cluster has been consistently targeting Indian and Afghan government/defence networks, with campaigns escalating through 2025–2026 (Operation XENOFISCAL, cross-platform RAT campaign).

Rules added

File What it detects ATT&CK
registry_set_apt36_sidecopy_persistence.yml CrimsonRAT (\Software\CrimsonRAT), ElizaRAT (\SYSTEM\ElizaRAT\Persistence), CapraStart run key T1547.001
proc_creation_win_apt_sidecopy_xenorat_schtask.yml schtasks.exe creating the hardcoded XenoUpdateManager task used to persist XenoRAT T1053.005
proc_creation_win_apt_sidecopy_mshta_index_php.yml mshta.exe fetching a remote HTA via an index.php endpoint — SideCopy signature TTP since 2019 T1218.005, T1566.001

Why these are not duplicates

  • The existing proc_creation_win_mshta_http.yml detects any http:// / https:// URL in mshta commandlines. The new rule is more specific: it requires index.php in the path, which is the hardcoded endpoint pattern SideCopy uses on compromised PHP servers and reduces analyst fatigue on generic mshta-HTTP noise.
  • No existing Sigma rules reference APT36, SideCopy, CrimsonRAT, ElizaRAT, or XenoRAT.

References

False positive notes

  • Registry rule: no known legitimate software writes to \Software\CrimsonRAT, \SYSTEM\ElizaRAT\Persistence, or \Run\CapraStart.
  • XenoUpdateManager task: no legitimate software creates a scheduled task with this exact name.
  • mshta index.php: mshta.exe loading remote PHP endpoints is not a pattern used by any known benign software.

Three new experimental rules covering Pakistan-linked APT36/SideCopy TTPs
with no prior Sigma coverage:

1. registry_set_apt36_sidecopy_persistence.yml
   - Detects CrimsonRAT (\Software\CrimsonRAT), ElizaRAT
     (\SYSTEM\ElizaRAT\Persistence), and CapraStart run key writes
   - ATT&CK: T1547.001

2. proc_creation_win_apt_sidecopy_xenorat_schtask.yml
   - Detects schtasks.exe creating the hardcoded XenoUpdateManager task
     used to persist XenoRAT in Operation XENOFISCAL (June 2026)
   - ATT&CK: T1053.005

3. proc_creation_win_apt_sidecopy_mshta_index_php.yml
   - Detects mshta.exe fetching a remote HTA via an index.php endpoint,
     SideCopy signature TTP documented since 2019 across multiple campaigns
   - More specific than the existing generic mshta HTTP rule
   - ATT&CK: T1218.005, T1566.001

References: Seqrite Operation XENOFISCAL (2026-06), Talos InSideCopy,
Hacker News APT36 cross-platform RAT campaigns (2026-02).
@github-actions github-actions Bot added Rules Review Needed The PR requires review Windows Pull request add/update windows related rules labels Jun 23, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome @Pyhroff 👋

It looks like this is your first pull request on the Sigma rules repository!

Please make sure to read the SigmaHQ conventions to make sure your contribution is adhering to best practices and has all the necessary elements in place for a successful approval.

Thanks again, and welcome to the Sigma community! 😃

If you want to engage more with the community for official support, general discussions or announcements:

👉 Join our Discord server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Review Needed The PR requires review Rules Windows Pull request add/update windows related rules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant