title: NotPetya Ransomware Activity author: Florian Roth, Tom Ueltschi date: 2019/01/16 description: Detects NotPetya ransomware activity in which the extracted passwords are passed back to the main module via named pipe, the file system journal of drive C is deleted and windows eventlogs are cleared using wevtutil detection: SELECTION_1: EventID: 1 SELECTION_2: CommandLine: '*\AppData\Local\Temp\\*' SELECTION_3: CommandLine: '*\\.\pipe\\\*' SELECTION_4: Image: '*\rundll32.exe' SELECTION_5: CommandLine: '*.dat,#1' SELECTION_6: - \perfc.dat condition: (SELECTION_1 and ((SELECTION_2 and SELECTION_3) or (SELECTION_4 and SELECTION_5) or SELECTION_6)) falsepositives: - Admin activity fields: - CommandLine - ParentCommandLine id: 79aeeb41-8156-4fac-a0cd-076495ab82a1 level: critical logsource: category: process_creation product: windows modified: 2020/09/01 references: - https://securelist.com/schroedingers-petya/78870/ - https://www.hybrid-analysis.com/sample/64b0b58a2c030c77fdb2b537b2fcc4af432bc55ffb36599a31d418c7c69e94b1?environmentId=100 status: experimental tags: - attack.defense_evasion - attack.t1218.011 - attack.execution - attack.t1085 - attack.t1070.001 - attack.t1070 - attack.credential_access - attack.t1003.001 - attack.t1003 - car.2016-04-002 ruletype: SIGMA