Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
Wortell
Browse files Browse the repository at this point in the history
Wortell
  • Loading branch information
maartengoet committed Aug 28, 2019
1 parent 59cd243 commit fc1547b
Show file tree
Hide file tree
Showing 101 changed files with 61 additions and 0 deletions.
Binary file added KQL_apt_apt29_thinktanks.txt
Binary file not shown.
Binary file added KQL_apt_babyshark.txt
Binary file not shown.
Binary file added KQL_apt_bear_activity_gtr19.txt
Binary file not shown.
Binary file added KQL_apt_cloudhopper.txt
Binary file not shown.
Binary file added KQL_apt_dragonfly.txt
Binary file not shown.
Binary file added KQL_apt_elise.txt
Binary file not shown.
Binary file added KQL_apt_empiremonkey.txt
Binary file not shown.
Binary file added KQL_apt_equationgroup_dll_u_load.txt
Binary file not shown.
Binary file added KQL_apt_hurricane_panda.txt
Binary file not shown.
Binary file added KQL_apt_judgement_panda_gtr19.txt
Binary file not shown.
Binary file added KQL_apt_pandemic.txt
Binary file not shown.
Binary file added KQL_apt_slingshot.txt
Binary file not shown.
Binary file added KQL_apt_sofacy.txt
Binary file not shown.
Binary file added KQL_apt_sofacy_zebrocy.txt
Binary file not shown.
Binary file added KQL_apt_ta17_293a_ps.txt
Binary file not shown.
Binary file added KQL_apt_tropictrooper.txt
Binary file not shown.
Binary file added KQL_apt_turla_namedpipes.txt
Binary file not shown.
Binary file added KQL_apt_unidentified_nov_18.txt
Binary file not shown.
Binary file added KQL_apt_zxshell.txt
Binary file not shown.
Binary file added KQL_crime_fireball.txt
Binary file not shown.
Binary file added KQL_powershell_xor_commandline.txt
Binary file not shown.
49 changes: 49 additions & 0 deletions KQL_sysmon_susp_rdp.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
// title: Suspicious Outbound RDP Connections
// description: Detects Non-Standard Tools Connecting to TCP port 3389 indicating possible lateral movement
//
// reference: https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2019-0708
//
// original author: Markus Neis (Swisscom)
// KQL author: Maarten Goet (condicio)
//
// MITRE ATT&CK: lateral_movement, t1210

Event
| parse EventData with
* 'Data Name="RuleName">' RuleName '<'
* 'Data Name="UtcTime">' UtcTime '<'
* 'Data Name="ProcessGuid">' ProcessGuid '<'
* 'Data Name="ProcessId">' ProcessId '<'
* 'Data Name="Image">' Image '<'
* 'Data Name="User">' User '<'
* 'Data Name="Protocol">' Protocol '<'
* 'Data Name="Initiated">' Initiated '<'
* 'Data Name="SourceIsIpv6">' SourceIsIpv6 '<'
* 'Data Name="SourceIp">' SourceIp '<'
* 'Data Name="SourceHostname">' SourceHostname '<'
* 'Data Name="SourcePort">' SourcePort '<'
* 'Data Name="SourcePortName">' SourcePortName '<'
* 'Data Name="DestinationIsIpv6">' DestinationIsIpv6 '<'
* 'Data Name="DestinationIp">' DestinationIp '<'
* 'Data Name="DestinationHostname">' DestinationHostname '<'
* 'Data Name="DestinationPort">' DestinationPort '<'
* 'Data Name="DestinationPortName">' DestinationPortName '<'
*
| where ((EventID == "3" and DestinationPort == "3389") and not
(Image endswith "\\mstsc.exe"
or Image endswith "\\RTSApp.exe"
or Image endswith "\\RTS2App.exe"
or Image endswith "\\RDCMan.exe"
or Image endswith "\\ws_TunnelService.exe"
or Image endswith "\\RSSensor.exe"
or Image endswith "\\RemoteDesktopManagerFree.exe"
or Image endswith "\\RemoteDesktopManager.exe"
or Image endswith "\\RemoteDesktopManager64.exe"
or Image endswith "\\mRemoteNG.exe"
or Image endswith "\\mRemote.exe"
or Image endswith "\\Terminals.exe"
or Image endswith "\\spiceworks-finder.exe"
or Image endswith "\\FSDiscovery.exe"
or Image endswith "\\FSAssessment.exe"
or Image endswith "\\MobaRTE.exe"
or Image endswith "\\chrome.exe"))
Binary file added KQL_win_GPO_scheduledtasks.txt
Binary file not shown.
Binary file added KQL_win_account_backdoor_dcsync_rights.txt
Binary file not shown.
Binary file added KQL_win_account_discovery.txt
Binary file not shown.
Binary file added KQL_win_admin_rdp_login.txt
Binary file not shown.
Binary file added KQL_win_admin_share_access.txt
Binary file not shown.
Binary file added KQL_win_alert_active_directory_user_control.txt
Binary file not shown.
Binary file added KQL_win_alert_ad_user_backdoors.txt
Binary file not shown.
Binary file added KQL_win_alert_enable_weak_encryption.txt
Binary file not shown.
Binary file added KQL_win_alert_hacktool_use.txt
Binary file not shown.
Binary file added KQL_win_atsvc_task.txt
Binary file not shown.
Binary file added KQL_win_attrib_hiding_files.txt
Binary file not shown.
Binary file added KQL_win_bypass_squiblytwo.txt
Binary file not shown.
Binary file added KQL_win_cmdkey_recon.txt
Binary file not shown.
Binary file added KQL_win_cmstp_com_object_access.txt
Binary file not shown.
Binary file added KQL_win_dcsync.txt
Binary file not shown.
Binary file added KQL_win_disable_event_logging.txt
Binary file not shown.
Binary file added KQL_win_exploit_cve_2015_1641.txt
Binary file not shown.
Binary file added KQL_win_exploit_cve_2017_0261.txt
Binary file not shown.
Binary file added KQL_win_exploit_cve_2017_11882.txt
Binary file not shown.
Binary file added KQL_win_exploit_cve_2017_8759.txt
Binary file not shown.
Binary file added KQL_win_hack_rubeus.txt
Binary file not shown.
Binary file added KQL_win_impacket_secretdump.txt
Binary file not shown.
Binary file added KQL_win_lethalhta.txt
Binary file not shown.
Binary file added KQL_win_lm_namedpipe.txt
Binary file not shown.
Binary file added KQL_win_mal_adwind.txt
Binary file not shown.
Binary file added KQL_win_mal_lockergoga.txt
Binary file not shown.
Binary file added KQL_win_mal_ursnif.txt
Binary file not shown.
Binary file added KQL_win_mal_wannacry.txt
Binary file not shown.
Binary file added KQL_win_mal_wceaux_dll.txt
Binary file not shown.
Binary file added KQL_win_malware_dridex.txt
Binary file not shown.
Binary file added KQL_win_malware_notpetya.txt
Binary file not shown.
Binary file added KQL_win_malware_script_dropper.txt
Binary file not shown.
Binary file added KQL_win_malware_wannacry.txt
Binary file not shown.
Binary file added KQL_win_mavinject_proc_inj.txt
Binary file not shown.
Binary file added KQL_win_mshta_spawn_shell.txt
Binary file not shown.
Binary file added KQL_win_net_ntlm_downgrade.txt
Binary file not shown.
Binary file added KQL_win_netsh_fw_add.txt
Binary file not shown.
Binary file added KQL_win_netsh_port_fwd.txt
Binary file not shown.
Binary file added KQL_win_netsh_port_fwd_3389.txt
Binary file not shown.
Binary file added KQL_win_office_shell.txt
Binary file not shown.
Binary file added KQL_win_overpass_the_hash.txt
Binary file not shown.
Binary file added KQL_win_pass_the_hash.txt
Binary file not shown.
Binary file added KQL_win_plugx_susp_exe_locations.txt
Binary file not shown.
Binary file added KQL_win_possible_applocker_bypass.txt
Binary file not shown.
Binary file added KQL_win_powershell_amsi_bypass.txt
Binary file not shown.
Binary file added KQL_win_powershell_b64_shellcode.txt
Binary file not shown.
Binary file added KQL_win_powershell_dll_execution.txt
Binary file not shown.
Binary file added KQL_win_powershell_download.txt
Binary file not shown.
Binary file added KQL_win_powershell_renamed_ps.txt
Binary file not shown.
Binary file not shown.
Binary file added KQL_win_process_creation_bitsadmin_download.txt
Binary file not shown.
Binary file added KQL_win_psexesvc_start.txt
Binary file not shown.
12 changes: 12 additions & 0 deletions KQL_win_rdp_bluekeep_poc_scanner.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// title: Scanner PoC for CVE-2019-0708 RDP RCE vuln
// description: Detects the use of a scanner by zerosum0x0 that discovers targets vulnerable to CVE-2019-0708 RDP RCE aka BlueKeep
//
// references: https://twitter.com/AdamTheAnalyst/status/1134394070045003776 & https://github.com/zerosum0x0/CVE-2019-0708
//
// original authors: Florian Roth (sigma rule), Adam Bradbury (idea)
// KQL author: Maarten Goet (condicio)
//
// MITRE ATT&CK: lateral_movement, t1210

SecurityEvent
| where (EventID == "4625" and AccountName == "AAAAAAA")
Binary file added KQL_win_rdp_localhost_login.txt
Binary file not shown.
Binary file added KQL_win_rdp_reverse_tunnel.txt
Binary file not shown.
Binary file added KQL_win_sdbinst_shim_persistence.txt
Binary file not shown.
Binary file added KQL_win_shell_spawn_susp_program.txt
Binary file not shown.
Binary file added KQL_win_spn_enum.txt
Binary file not shown.
Binary file added KQL_win_susp_add_sid_history.txt
Binary file not shown.
Binary file added KQL_win_susp_bcdedit.txt
Binary file not shown.
Binary file added KQL_win_susp_calc.txt
Binary file not shown.
Binary file added KQL_win_susp_certutil_command.txt
Binary file not shown.
Binary file added KQL_win_susp_certutil_encode.txt
Binary file not shown.
Binary file added KQL_win_susp_cli_escape.txt
Binary file not shown.
Binary file added KQL_win_susp_dsrm_password_change.txt
Binary file not shown.
Binary file added KQL_win_susp_failed_logon_reasons.txt
Binary file not shown.
Binary file added KQL_win_susp_interactive_logons.txt
Binary file not shown.
Binary file added KQL_win_susp_kerberos_manipulation.txt
Binary file not shown.
Binary file added KQL_win_susp_lsass_dump.txt
Binary file not shown.
Binary file added KQL_win_susp_mshta_execution.txt
Binary file not shown.
Binary file added KQL_win_susp_net_recon_activity.txt
Binary file not shown.
Binary file added KQL_win_susp_psexec.txt
Binary file not shown.
Binary file added KQL_win_susp_raccess_sensitive_fext.txt
Binary file not shown.
Binary file added KQL_win_susp_rc4_kerberos.txt
Binary file not shown.
Binary file added KQL_win_susp_sdelete.txt
Binary file not shown.
Binary file added KQL_win_susp_security_eventlog_cleared.txt
Binary file not shown.
Binary file added KQL_win_susp_time_modification.txt
Binary file not shown.
Binary file added KQL_win_svcctl_remote_service.txt
Binary file not shown.
Binary file added KQL_win_user_added_to_local_administrators.txt
Binary file not shown.

0 comments on commit fc1547b

Please sign in to comment.