Query: detect Detects usage of the windows RPC library Encrypting File System Remote Protocol (MS-EFSRPC). Variations of this RPC are in logs
Matching passage: Sigma rule: Detects usage of the windows RPC library Encrypting File System Remote Protocol (MS-EFSRPC). Variations of this RPC are. Logsource: zeek / dce_rpc. Rule: title: Potential PetitPotam Attack Via EFS RPC Calls id: 4096842a-8f9f-4d36-92b4-d0b2a62f9b2a status: test description: "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.\nThe usage of this RPC function should be rare if ever used\ \ at all.\nThus usage of this function is uncommon enough that any usage of this RPC function should warrant further investigation\ \ to determine if it is legitimate.\n 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..'\n" references: - https://github.com/topotam/PetitPotam/blob/d83ac8f2dd34654628c17490f99106eb128e7d1e/PetitPotam/PetitPotam.cpp - https://msrc.microsoft.com/update-guide/vulnerability/ADV210003 - https://vx-underground.org/archive/Symantec/windows-vista-network-attack-07-en.pdf - https://threatpost.com/microsoft-petitpotam-poc/168163/ author: '@neu5ron, @Antonlovesdnb, Mike Remen' date: 2021-08-17 modified: 2022-11-28 tags: - attack.collection - attack.credential-access - attack.t1557.001 - attack.t1187 logsource: product: zeek service: dce_rpc detection: selection: operation|startswith: efs condition: selection falsepositives: - 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). level: medium
Near-miss passage: Sigma rule: Detects weak passwords or often abused passwords (seen used by threat actors) via the CLI. An example would be a threat. Logsource: windows / process_creation. Rule: title: Weak or Abused Passwords In CLI id: 91edcfb1-2529-4ac2-9ecc-7617f895c7e4 status: test description: 'Detects weak passwords or often abused passwords (seen used by threat actors) via the CLI. An example would be a threat actor creating a new user via the net command and providing the password inline ' references: - https://symantec-enterprise-blogs.security.com/blogs/threat-intelligence/espionage-asia-governments - https://thedfirreport.com/2022/09/26/bumblebee-round-two/ - https://www.microsoft.com/en-us/security/blog/2022/10/25/dev-0832-vice-society-opportunistic-ransomware-campaigns-impacting-us-education-sector/ - https://www.huntress.com/blog/slashandgrab-screen-connect-post-exploitation-in-the-wild-cve-2024-1709-cve-2024-1708 author: Nasreddine Bencherchali (Nextron Systems) date: 2022-09-14 modified: 2024-02-23 tags: - attack.execution - attack.stealth logsource: category: process_creation product: windows detection: selection: CommandLine|contains: - '123456789' - 123123qwE - Asd123.aaaa - Decryptme - P@ssw0rd! - Pass8080 - password123 - test@202 condition: selection falsepositives: - Legitimate usage of the passwords by users via commandline (should be discouraged) - Other currently unknown false positives level: medium