sap_function_module_testing_detected


Description

Detects direct execution and testing of SAP Function Modules via SE37 test frame. This identifies correlation between a transaction start (AU7) and a function module call (BU4) in close succession

Query · yara_l

events:
    $e.security_result.detection_fields["slgtc_1"] = /^SE37$|^SE80$|^SEU_INT$/
    $e.principal.process.file.names = "RS_TESTFRAME_CALL"

    $user = $e.principal.user.userid

  match:
    $user over 1h

  outcome:
    $resource_accessed = array_distinct($e.additional.fields["param1_1"])
    $event_name = array_distinct($e.security_result.summary)
    $description = array_distinct($e.metadata.description)
    $msg = array_distinct($e.additional.fields["msg_1"])
    $src_ip = array_distinct($e.principal.ip)

  condition:
    $e
Raw source sap_function_module_testing_detected · YARA-L
Esc
Published by chronicle/detection-rules ↗, licensed under Apache 2.0 ↗. Reproduced here unmodified.
rule sap_function_module_testing_detected {

  meta:
    author = "Google Cloud Security"
    description = "Detects direct execution and testing of SAP Function Modules via SE37 test frame. This identifies correlation between a transaction start (AU7) and a function module call (BU4) in close succession"
    severity = "Medium"
    tactic = "TA0002"
    technique = "T1129"

  events:
    $e.security_result.detection_fields["slgtc_1"] = /^SE37$|^SE80$|^SEU_INT$/
    $e.principal.process.file.names = "RS_TESTFRAME_CALL"

    $user = $e.principal.user.userid

  match:
    $user over 1h

  outcome:
    $resource_accessed = array_distinct($e.additional.fields["param1_1"])
    $event_name = array_distinct($e.security_result.summary)
    $description = array_distinct($e.metadata.description)
    $msg = array_distinct($e.additional.fields["msg_1"])
    $src_ip = array_distinct($e.principal.ip)

  condition:
    $e
}

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.