Skip to content

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

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#

webjoblog

applogs

Queries#

Platform Query
Log Analytics #!sql

Azure Monitor Alert#

Deploy to Azure