AZT503.4 - HTTP Trigger: WebJob#
Adversaries may create a WebJob on a App Service which allows arbitrary background tasks to be run on a set schedule
Resource
App Service
Actions
- Microsoft.Web/sites/Write
Examples
Detections
Detection Details#
To enable logging on AppServices, a Diagnostic setting must be enabled to send logs to an aggregator. In addition, App Service Logs should be enabled.
WebJob output logs can be viewed on the web application in the format: https://{WEBAPPNAME}.scm.azurewebsites.net/azurejobs/#/jobs/
Detection Screenshot#
Queries#
Platform | Query |
---|---|
Log Analytics | #!sql |