Detectionmediumtest

Potential PetitPotam Attack Via EFS RPC Calls

Detects usage of the windows RPC library Encrypting File System Remote Protocol (MS-EFSRPC). Variations of this RPC are used within the attack refereed to as PetitPotam. The usage of this RPC function should be rare if ever used at all. Thus usage of this function is uncommon enough that any usage of this RPC function should warrant further investigation to determine if it is legitimate. View surrounding logs (within a few minutes before and after) from the Source IP to. Logs from from the Source IP would include dce_rpc, smb_mapping, smb_files, rdp, ntlm, kerberos, etc..'

Open in Detection LabConvert ruleBuild Package
@neu5ron, @antonlovesdnb, Mike RemenCreated 2021-08-17Updated 2022-11-284096842a-8f9f-4d36-92b4-d0b2a62f9b2anetwork
Log Source
Zeek (Bro)dce_rpc
ProductZeek (Bro)← raw: zeek
Servicedce_rpc← raw: dce_rpc
Detection Logic
Detection Logic1 selector
detection:
    selection:
        operation|startswith: 'efs'
    condition: selection
False Positives

Uncommon but legitimate windows administrator or software tasks that make use of the Encrypting File System RPC Calls. Verify if this is common activity (see description).

Rule Metadata
Rule ID
4096842a-8f9f-4d36-92b4-d0b2a62f9b2a
Status
test
Level
medium
Type
Detection
Created
2021-08-17
Modified
2022-11-28
Path
rules/network/zeek/zeek_dce_rpc_potential_petit_potam_efs_rpc_call.yml
Raw Tags
attack.collectionattack.credential-accessattack.t1557.001attack.t1187
View on GitHub