DLL Loaded via CertOC.EXE

Detects when a user installs certificates by using CertOC.exe to loads the target DLL file.

Sigma rule (View on GitHub)

 1title: DLL Loaded via CertOC.EXE
 2id: 242301bc-f92f-4476-8718-78004a6efd9f
 3related:
 4    - id: 84232095-ecca-4015-b0d7-7726507ee793
 5      type: similar
 6status: test
 7description: Detects when a user installs certificates by using CertOC.exe to loads the target DLL file.
 8references:
 9    - https://twitter.com/sblmsrsn/status/1445758411803480072?s=20
10    - https://github.com/elastic/protections-artifacts/commit/746086721fd385d9f5c6647cada1788db4aea95f#diff-fe98e74189873d6df72a15df2eaa0315c59ba9cdaca93ecd68afc4ea09194ef2
11    - https://lolbas-project.github.io/lolbas/Binaries/Certoc/
12author: Austin Songer @austinsonger
13date: 2021-10-23
14modified: 2024-03-05
15tags:
16    - attack.defense-evasion
17    - attack.t1218
18logsource:
19    category: process_creation
20    product: windows
21detection:
22    selection_img:
23        - Image|endswith: '\certoc.exe'
24        - OriginalFileName: 'CertOC.exe'
25    selection_cli:
26        CommandLine|contains|windash: ' -LoadDLL '
27    condition: all of selection_*
28fields:
29    - CommandLine
30    - ParentCommandLine
31falsepositives:
32    - Unknown
33level: medium

References

Related rules

to-top