Suspicious Windows Service Tampering
Detects the usage of binaries such as 'net', 'sc' or 'powershell' in order to stop, pause, disable or delete critical or important Windows services such as AV, Backup, etc. As seen being used in some ransomware scripts
Sigma rule (View on GitHub)
1title: Suspicious Windows Service Tampering
2id: ce72ef99-22f1-43d4-8695-419dcb5d9330
3related:
4 - id: eb87818d-db5d-49cc-a987-d5da331fbd90
5 type: derived
6 - id: 6783aa9e-0dc3-49d4-a94a-8b39c5fd700b
7 type: obsolete
8 - id: 7fd4bb39-12d0-45ab-bb36-cebabc73dc7b
9 type: obsolete
10status: test
11description: |
12 Detects the usage of binaries such as 'net', 'sc' or 'powershell' in order to stop, pause, disable or delete critical or important Windows services such as AV, Backup, etc. As seen being used in some ransomware scripts
13references:
14 - https://www.trendmicro.com/content/dam/trendmicro/global/en/research/22/h/ransomware-actor-abuses-genshin-impact-anti-cheat-driver-to-kill-antivirus/Genshin%20Impact%20Figure%2010.jpg
15 - https://www.trellix.com/en-sg/about/newsroom/stories/threat-labs/lockergoga-ransomware-family-used-in-targeted-attacks.html
16 - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1562.001/T1562.001.md
17 - https://research.nccgroup.com/2022/08/19/back-in-black-unlocking-a-lockbit-3-0-ransomware-attack/
18 - https://www.virustotal.com/gui/file/38283b775552da8981452941ea74191aa0d203edd3f61fb2dee7b0aea3514955
19author: Nasreddine Bencherchali (Nextron Systems), frack113 , X__Junior
20date: 2022-09-01
21modified: 2024-12-23
22tags:
23 - attack.defense-evasion
24 - attack.impact
25 - attack.t1489
26 - attack.t1562.001
27logsource:
28 category: process_creation
29 product: windows
30detection:
31 selection_tools_img:
32 - OriginalFileName:
33 - 'net.exe'
34 - 'net1.exe'
35 - 'PowerShell.EXE'
36 - 'psservice.exe'
37 - 'pwsh.dll'
38 - 'sc.exe'
39 - Image|endswith:
40 - '\net.exe'
41 - '\net1.exe'
42 - '\powershell.exe'
43 - '\PsService.exe'
44 - '\PsService64.exe'
45 - '\pwsh.exe'
46 - '\sc.exe'
47 selection_tools_cli:
48 - CommandLine|contains:
49 - ' delete '
50 - ' pause ' # Covers flags from: PsService and Sc.EXE
51 - ' stop ' # Covers flags from: PsService.EXE, Net.EXE and Sc.EXE
52 - 'Stop-Service '
53 - 'Remove-Service '
54 - CommandLine|contains|all:
55 - 'config'
56 - 'start=disabled'
57 selection_services:
58 CommandLine|contains:
59 - '143Svc'
60 - 'Acronis VSS Provider'
61 - 'AcronisAgent'
62 - 'AcrSch2Svc'
63 - 'AdobeARMservice'
64 - 'AHS Service'
65 - 'Antivirus'
66 - 'Apache4'
67 - 'ARSM'
68 - 'aswBcc'
69 - 'AteraAgent'
70 - 'Avast Business Console Client Antivirus Service'
71 - 'avast! Antivirus'
72 - 'AVG Antivirus'
73 - 'avgAdminClient'
74 - 'AvgAdminServer'
75 - 'AVP1'
76 - 'BackupExec'
77 - 'bedbg'
78 - 'BITS'
79 - 'BrokerInfrastructure'
80 - 'CASLicenceServer'
81 - 'CASWebServer'
82 - 'Client Agent 7.60'
83 - 'Core Browsing Protection'
84 - 'Core Mail Protection'
85 - 'Core Scanning Server'
86 - 'DCAgent'
87 - 'dwmrcs'
88 - 'EhttpSr'
89 - 'ekrn'
90 - 'Enterprise Client Service'
91 - 'epag'
92 - 'EPIntegrationService'
93 - 'EPProtectedService'
94 - 'EPRedline'
95 - 'EPSecurityService'
96 - 'EPUpdateService'
97 - 'EraserSvc11710'
98 - 'EsgShKernel'
99 - 'ESHASRV'
100 - 'FA_Scheduler'
101 - 'FirebirdGuardianDefaultInstance'
102 - 'FirebirdServerDefaultInstance'
103 - 'FontCache3.0.0.0'
104 - 'HealthTLService'
105 - 'hmpalertsvc'
106 - 'HMS'
107 - 'HostControllerService'
108 - 'hvdsvc'
109 - 'IAStorDataMgrSvc'
110 - 'IBMHPS'
111 - 'ibmspsvc'
112 - 'IISAdmin'
113 - 'IMANSVC'
114 - 'IMAP4Svc'
115 - 'instance2'
116 - 'KAVFS'
117 - 'KAVFSGT'
118 - 'kavfsslp'
119 - 'KeyIso'
120 - 'klbackupdisk'
121 - 'klbackupflt'
122 - 'klflt'
123 - 'klhk'
124 - 'KLIF'
125 - 'klim6'
126 - 'klkbdflt'
127 - 'klmouflt'
128 - 'klnagent'
129 - 'klpd'
130 - 'kltap'
131 - 'KSDE1.0.0'
132 - 'LogProcessorService'
133 - 'M8EndpointAgent'
134 - 'macmnsvc'
135 - 'masvc'
136 - 'MBAMService'
137 - 'MBCloudEA'
138 - 'MBEndpointAgent'
139 - 'McAfeeDLPAgentService'
140 - 'McAfeeEngineService'
141 - 'MCAFEEEVENTPARSERSRV'
142 - 'McAfeeFramework'
143 - 'MCAFEETOMCATSRV530'
144 - 'McShield'
145 - 'McTaskManager'
146 - 'mfefire'
147 - 'mfemms'
148 - 'mfevto'
149 - 'mfevtp'
150 - 'mfewc'
151 - 'MMS'
152 - 'mozyprobackup'
153 - 'mpssvc'
154 - 'MSComplianceAudit'
155 - 'MSDTC'
156 - 'MsDtsServer'
157 - 'MSExchange'
158 - 'msftesq1SPROO'
159 - 'msftesql$PROD'
160 - 'msftesql$SQLEXPRESS'
161 - 'MSOLAP$SQL_2008'
162 - 'MSOLAP$SYSTEM_BGC'
163 - 'MSOLAP$TPS'
164 - 'MSOLAP$TPSAMA'
165 - 'MSOLAPSTPS'
166 - 'MSOLAPSTPSAMA'
167 - 'mssecflt'
168 - 'MSSQ!I.SPROFXENGAGEMEHT'
169 - 'MSSQ0SHAREPOINT'
170 - 'MSSQ0SOPHOS'
171 - 'MSSQL'
172 - 'MSSQLFDLauncher$'
173 - 'MySQL'
174 - 'NanoServiceMain'
175 - 'NetMsmqActivator'
176 - 'NetPipeActivator'
177 - 'netprofm'
178 - 'NetTcpActivator'
179 - 'NetTcpPortSharing'
180 - 'ntrtscan'
181 - 'nvspwmi'
182 - 'ofcservice'
183 - 'Online Protection System'
184 - 'OracleClientCache80'
185 - 'OracleDBConsole'
186 - 'OracleMTSRecoveryService'
187 - 'OracleOraDb11g_home1'
188 - 'OracleService'
189 - 'OracleVssWriter'
190 - 'osppsvc'
191 - 'PandaAetherAgent'
192 - 'PccNTUpd'
193 - 'PDVFSService'
194 - 'POP3Svc'
195 - 'postgresql-x64-9.4'
196 - 'POVFSService'
197 - 'PSUAService'
198 - 'Quick Update Service'
199 - 'RepairService'
200 - 'ReportServer'
201 - 'ReportServer$'
202 - 'RESvc'
203 - 'RpcEptMapper'
204 - 'sacsvr'
205 - 'SamSs'
206 - 'SAVAdminService'
207 - 'SAVService'
208 - 'ScSecSvc'
209 - 'SDRSVC'
210 - 'SearchExchangeTracing'
211 - 'sense'
212 - 'SentinelAgent'
213 - 'SentinelHelperService'
214 - 'SepMasterService'
215 - 'ShMonitor'
216 - 'Smcinst'
217 - 'SmcService'
218 - 'SMTPSvc'
219 - 'SNAC'
220 - 'SntpService'
221 - 'Sophos'
222 - 'SQ1SafeOLRService'
223 - 'SQL Backups'
224 - 'SQL Server'
225 - 'SQLAgent'
226 - 'SQLANYs_Sage_FAS_Fixed_Assets'
227 - 'SQLBrowser'
228 - 'SQLsafe'
229 - 'SQLSERVERAGENT'
230 - 'SQLTELEMETRY'
231 - 'SQLWriter'
232 - 'SSISTELEMETRY130'
233 - 'SstpSvc'
234 - 'storflt'
235 - 'svcGenericHost'
236 - 'swc_service'
237 - 'swi_filter'
238 - 'swi_service'
239 - 'swi_update'
240 - 'Symantec'
241 - 'sysmon'
242 - 'TeamViewer'
243 - 'Telemetryserver'
244 - 'ThreatLockerService'
245 - 'TMBMServer'
246 - 'TmCCSF'
247 - 'TmFilter'
248 - 'TMiCRCScanService'
249 - 'tmlisten'
250 - 'TMLWCSService'
251 - 'TmPfw'
252 - 'TmPreFilter'
253 - 'TmProxy'
254 - 'TMSmartRelayService'
255 - 'tmusa'
256 - 'Tomcat'
257 - 'Trend Micro Deep Security Manager'
258 - 'TrueKey'
259 - 'UFNet'
260 - 'UI0Detect'
261 - 'UniFi'
262 - 'UTODetect'
263 - 'vds'
264 - 'Veeam'
265 - 'VeeamDeploySvc'
266 - 'Veritas System Recovery'
267 - 'vmic'
268 - 'VMTools'
269 - 'vmvss'
270 - 'VSApiNt'
271 - 'VSS'
272 - 'W3Svc'
273 - 'wbengine'
274 - 'WdNisSvc'
275 - 'WeanClOudSve'
276 - 'Weems JY'
277 - 'WinDefend'
278 - 'wmms'
279 - 'wozyprobackup'
280 - 'WPFFontCache_v0400'
281 - 'WRSVC'
282 - 'wsbexchange'
283 - 'WSearch'
284 - 'wscsvc'
285 - 'Zoolz 2 Service'
286 condition: all of selection_*
287falsepositives:
288 - Administrators or tools shutting down the services due to upgrade or removal purposes. If you experience some false positive, please consider adding filters to the parent process launching this command and not removing the entry
289level: high
References
Related rules
- Load Of RstrtMgr.DLL By A Suspicious Process
- Load Of RstrtMgr.DLL By An Uncommon Process
- IISReset Used to Stop IIS Services
- Azure Application Deleted
- Hypervisor Enforced Code Integrity Disabled