{"id":"ce72ef99-22f1-43d4-8695-419dcb5d9330","title":"Suspicious Windows Service Tampering","description":"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\n","author":"Nasreddine Bencherchali (Nextron Systems), frack113 , X__Junior (Nextron Systems)","status":"test","level":"high","date":"2022-09-01","modified":"2025-08-27","tags":["attack.impact","attack.defense-impairment","attack.t1489","attack.t1685"],"technique_ids":["T1489","T1685"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["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"],"references":["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","https://www.trellix.com/en-sg/about/newsroom/stories/threat-labs/lockergoga-ransomware-family-used-in-targeted-attacks.html","https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1562.001/T1562.001.md","https://research.nccgroup.com/2022/08/19/back-in-black-unlocking-a-lockbit-3-0-ransomware-attack/","https://www.virustotal.com/gui/file/38283b775552da8981452941ea74191aa0d203edd3f61fb2dee7b0aea3514955","https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/delete-method-in-class-win32-service"],"source_path":"rules/windows/process_creation/proc_creation_win_susp_service_tamper.yml","source_sha256":"361d53bcc5cf038d24bfb86badb4247ceb5c3b8a94cba73b77c12862c866ea99","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_susp_service_tamper.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Suspicious Windows Service Tampering\nid: ce72ef99-22f1-43d4-8695-419dcb5d9330\nrelated:\n    - id: eb87818d-db5d-49cc-a987-d5da331fbd90\n      type: obsolete\n    - id: 6783aa9e-0dc3-49d4-a94a-8b39c5fd700b\n      type: obsolete\n    - id: 7fd4bb39-12d0-45ab-bb36-cebabc73dc7b\n      type: obsolete\nstatus: test\ndescription: |\n    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\nreferences:\n    - 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\n    - https://www.trellix.com/en-sg/about/newsroom/stories/threat-labs/lockergoga-ransomware-family-used-in-targeted-attacks.html\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1562.001/T1562.001.md\n    - https://research.nccgroup.com/2022/08/19/back-in-black-unlocking-a-lockbit-3-0-ransomware-attack/\n    - https://www.virustotal.com/gui/file/38283b775552da8981452941ea74191aa0d203edd3f61fb2dee7b0aea3514955\n    - https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/delete-method-in-class-win32-service\nauthor: Nasreddine Bencherchali (Nextron Systems), frack113 , X__Junior (Nextron Systems)\ndate: 2022-09-01\nmodified: 2025-08-27\ntags:\n    - attack.impact\n    - attack.defense-impairment\n    - attack.t1489\n    - attack.t1685\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_tools_img:\n        - OriginalFileName:\n              - 'net.exe'\n              - 'net1.exe'\n              - 'PowerShell_ISE.EXE'\n              - 'PowerShell.EXE'\n              - 'psservice.exe'\n              - 'pwsh.dll'\n              - 'sc.exe'\n              - 'wmic.exe'\n        - Image|endswith:\n              - '\\net.exe'\n              - '\\net1.exe'\n              - '\\PowerShell_ISE.EXE'\n              - '\\powershell.exe'\n              - '\\PsService.exe'\n              - '\\PsService64.exe'\n              - '\\pwsh.exe'\n              - '\\sc.exe'\n              - '\\wmic.exe' # wmic process call win32_service where name='servicename' delete\n    selection_tools_cli:\n        - CommandLine|contains:\n              - ' delete '\n              - '.delete()' # Get-WmiObject win32_service -Filter \"name='$serviceName'\" ).delete()\n              - ' pause ' # Covers flags from: PsService and Sc.EXE\n              - ' stop ' # Covers flags from: PsService.EXE, Net.EXE and Sc.EXE\n              - 'Stop-Service '\n              - 'Remove-Service '\n        - CommandLine|contains|all:\n              - 'config'\n              - 'start=disabled'\n    selection_services:\n        CommandLine|contains:\n            - '143Svc'\n            - 'Acronis VSS Provider'\n            - 'AcronisAgent'\n            - 'AcrSch2Svc'\n            - 'AdobeARMservice'\n            - 'AHS Service'\n            - 'Antivirus'\n            - 'Apache4'\n            - 'ARSM'\n            - 'aswBcc'\n            - 'AteraAgent'\n            - 'Avast Business Console Client Antivirus Service'\n            - 'avast! Antivirus'\n            - 'AVG Antivirus'\n            - 'avgAdminClient'\n            - 'AvgAdminServer'\n            - 'AVP1'\n            - 'BackupExec'\n            - 'bedbg'\n            - 'BITS'\n            - 'BrokerInfrastructure'\n            - 'CASLicenceServer'\n            - 'CASWebServer'\n            - 'Client Agent 7.60'\n            - 'Core Browsing Protection'\n            - 'Core Mail Protection'\n            - 'Core Scanning Server'\n            - 'DCAgent'\n            - 'dwmrcs'\n            - 'EhttpSr'\n            - 'ekrn'\n            - 'Enterprise Client Service'\n            - 'epag'\n            - 'EPIntegrationService'\n            - 'EPProtectedService'\n            - 'EPRedline'\n            - 'EPSecurityService'\n            - 'EPUpdateService'\n            - 'EraserSvc11710'\n            - 'EsgShKernel'\n            - 'ESHASRV'\n            - 'FA_Scheduler'\n            - 'FirebirdGuardianDefaultInstance'\n            - 'FirebirdServerDefaultInstance'\n            - 'FontCache3.0.0.0'\n            - 'HealthTLService'\n            - 'hmpalertsvc'\n            - 'HMS'\n            - 'HostControllerService'\n            - 'hvdsvc'\n            - 'IAStorDataMgrSvc'\n            - 'IBMHPS'\n            - 'ibmspsvc'\n            - 'IISAdmin'\n            - 'IMANSVC'\n            - 'IMAP4Svc'\n            - 'instance2'\n            - 'KAVFS'\n            - 'KAVFSGT'\n            - 'kavfsslp'\n            - 'KeyIso'\n            - 'klbackupdisk'\n            - 'klbackupflt'\n            - 'klflt'\n            - 'klhk'\n            - 'KLIF'\n            - 'klim6'\n            - 'klkbdflt'\n            - 'klmouflt'\n            - 'klnagent'\n            - 'klpd'\n            - 'kltap'\n            - 'KSDE1.0.0'\n            - 'LogProcessorService'\n            - 'M8EndpointAgent'\n            - 'macmnsvc'\n            - 'masvc'\n            - 'MBAMService'\n            - 'MBCloudEA'\n            - 'MBEndpointAgent'\n            - 'McAfeeDLPAgentService'\n            - 'McAfeeEngineService'\n            - 'MCAFEEEVENTPARSERSRV'\n            - 'McAfeeFramework'\n            - 'MCAFEETOMCATSRV530'\n            - 'McShield'\n            - 'McTaskManager'\n            - 'mfefire'\n            - 'mfemms'\n            - 'mfevto'\n            - 'mfevtp'\n            - 'mfewc'\n            - 'MMS'\n            - 'mozyprobackup'\n            - 'mpssvc'\n            - 'MSComplianceAudit'\n            - 'MSDTC'\n            - 'MsDtsServer'\n            - 'MSExchange'\n            - 'msftesq1SPROO'\n            - 'msftesql$PROD'\n            - 'msftesql$SQLEXPRESS'\n            - 'MSOLAP$SQL_2008'\n            - 'MSOLAP$SYSTEM_BGC'\n            - 'MSOLAP$TPS'\n            - 'MSOLAP$TPSAMA'\n            - 'MSOLAPSTPS'\n            - 'MSOLAPSTPSAMA'\n            - 'mssecflt'\n            - 'MSSQ!I.SPROFXENGAGEMEHT'\n            - 'MSSQ0SHAREPOINT'\n            - 'MSSQ0SOPHOS'\n            - 'MSSQL'\n            - 'MSSQLFDLauncher$'\n            - 'MySQL'\n            - 'NanoServiceMain'\n            - 'NetMsmqActivator'\n            - 'NetPipeActivator'\n            - 'netprofm'\n            - 'NetTcpActivator'\n            - 'NetTcpPortSharing'\n            - 'ntrtscan'\n            - 'nvspwmi'\n            - 'ofcservice'\n            - 'Online Protection System'\n            - 'OracleClientCache80'\n            - 'OracleDBConsole'\n            - 'OracleMTSRecoveryService'\n            - 'OracleOraDb11g_home1'\n            - 'OracleService'\n            - 'OracleVssWriter'\n            - 'osppsvc'\n            - 'PandaAetherAgent'\n            - 'PccNTUpd'\n            - 'PDVFSService'\n            - 'POP3Svc'\n            - 'postgresql-x64-9.4'\n            - 'POVFSService'\n            - 'PSUAService'\n            - 'Quick Update Service'\n            - 'RepairService'\n            - 'ReportServer'\n            - 'ReportServer$'\n            - 'RESvc'\n            - 'RpcEptMapper'\n            - 'sacsvr'\n            - 'SamSs'\n            - 'SAVAdminService'\n            - 'SAVService'\n            - 'ScSecSvc'\n            - 'SDRSVC'\n            - 'SearchExchangeTracing'\n            - 'sense'\n            - 'SentinelAgent'\n            - 'SentinelHelperService'\n            - 'SepMasterService'\n            - 'ShMonitor'\n            - 'Smcinst'\n            - 'SmcService'\n            - 'SMTPSvc'\n            - 'SNAC'\n            - 'SntpService'\n            - 'Sophos'\n            - 'SQ1SafeOLRService'\n            - 'SQL Backups'\n            - 'SQL Server'\n            - 'SQLAgent'\n            - 'SQLANYs_Sage_FAS_Fixed_Assets'\n            - 'SQLBrowser'\n            - 'SQLsafe'\n            - 'SQLSERVERAGENT'\n            - 'SQLTELEMETRY'\n            - 'SQLWriter'\n            - 'SSISTELEMETRY130'\n            - 'SstpSvc'\n            - 'storflt'\n            - 'svcGenericHost'\n            - 'swc_service'\n            - 'swi_filter'\n            - 'swi_service'\n            - 'swi_update'\n            - 'Symantec'\n            - 'sysmon'\n            - 'TeamViewer'\n            - 'Telemetryserver'\n            - 'ThreatLockerService'\n            - 'TMBMServer'\n            - 'TmCCSF'\n            - 'TmFilter'\n            - 'TMiCRCScanService'\n            - 'tmlisten'\n            - 'TMLWCSService'\n            - 'TmPfw'\n            - 'TmPreFilter'\n            - 'TmProxy'\n            - 'TMSmartRelayService'\n            - 'tmusa'\n            - 'Tomcat'\n            - 'Trend Micro Deep Security Manager'\n            - 'TrueKey'\n            - 'UFNet'\n            - 'UI0Detect'\n            - 'UniFi'\n            - 'UTODetect'\n            - 'vds'\n            - 'Veeam'\n            - 'VeeamDeploySvc'\n            - 'Veritas System Recovery'\n            - 'vmic'\n            - 'VMTools'\n            - 'vmvss'\n            - 'VSApiNt'\n            - 'VSS'\n            - 'W3Svc'\n            - 'wbengine'\n            - 'WdNisSvc'\n            - 'WeanClOudSve'\n            - 'Weems JY'\n            - 'WinDefend'\n            - 'wmms'\n            - 'wozyprobackup'\n            - 'WPFFontCache_v0400'\n            - 'WRSVC'\n            - 'wsbexchange'\n            - 'WSearch'\n            - 'wscsvc'\n            - 'Zoolz 2 Service'\n    condition: all of selection_*\nfalsepositives:\n    - 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\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1489","id":"T1489","name":"Service Stop","page":"techniques/enterprise/T1489/"},{"key":"enterprise/T1685","id":"T1685","name":"Disable or Modify Tools","page":"techniques/enterprise/T1685/"}],"data_path":"data/detection-rules/ce72ef99-22f1-43d4-8695-419dcb5d9330.json","kind":"sigma"}
