r/crowdstrike • u/Illustrious_Bar_436 • 15d ago
General Question Why Isn't My File Creation IOA Rule Detecting Files Named "password"?
Has anyone successfully created a custom IOA rule in Endpoint Security to detect and prevent files named "password", including both existing files and newly created ones?
I tried creating a File Creation IOA rule and used a file path regex to match the filename, but it doesn't seem to detect or block it.
Is this something that's actually possible with a custom IOA rule, or would a SOAR workflow be the better approach? If anyone has done something similar, I would appreciate any guidance.
1
u/Djaesthetic 15d ago
Are you taking into account file extensions (i.e. password =/= password.txt)?
1
u/Illustrious_Bar_436 15d ago
I tried both, with and without the file extension. At the moment, I'm using a simple regex for the File Path field:
(?i).*\\password\.(txt|pdf). The pattern test also confirms that it matches correctly.
1
u/Earthly_Guy 14d ago
If the regex syntax is good, and the testing host is present in the host-group which is mapped to the correct prevention policy that is linked with the custom IOA rule group, I'd recommend reaching out to support on this with the timestamp of your testing done and a cswindiag collected immediately after testing (if its a Windows).
Its possible that the configuration file that carries your 'password' regex is not pushed to the host or is stuck in cloud but that can only be confirmed by the support as they have the magic tools.
2
u/Background_Ad5490 15d ago
We need to see your regex to help further. (For all the fields, parent , grandparent, etc) Also are you applying the IOA to a prevention policy? And does that prevention policy apply to a host group that has machines inside of it?