SELECT * FROM events WHERE devicetype=12 AND (((LOWER("Process Path") LIKE '%\net.exe' OR LOWER("Process Path") LIKE '%\net1.exe') OR (LOWER("Process Name") LIKE '%\net.exe' OR LOWER("Process Name") LIKE '%\net1.exe')) OR (Filename IN('net.exe', 'net1.exe'))) AND ((((LOWER(Command) LIKE '% group %' OR LOWER(Command) LIKE '% localgroup %') AND (LOWER(Command) LIKE '%domain admins%' OR LOWER(Command) LIKE '% administrator%' OR LOWER(Command) LIKE '% administrateur%' OR LOWER(Command) LIKE '%enterprise admins%' OR LOWER(Command) LIKE '%exchange trusted subsystem%' OR LOWER(Command) LIKE '%remote desktop users%' OR LOWER(Command) LIKE '%utilisateurs du bureau à distance%' OR LOWER(Command) LIKE '%usuarios de escritorio remoto%' OR LOWER(Command) LIKE '% /do%')) AND (NOT(LOWER(Command) LIKE '% /add%'))) OR (LOWER(Command) LIKE '% accounts %' AND LOWER(Command) LIKE '% /do%'))