Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed/added numerous signatarures/YARA #363

Merged
merged 158 commits into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
2491cd3
windows_util and encrypted_ioc changes to whitelisting for false posi…
YasinEYE Mar 24, 2023
681b8fe
import re2 or re
YasinEYE Mar 24, 2023
20a9451
typo in utilities, windows_utilties
YasinEYE Mar 24, 2023
4bcae86
added whitelist for Internet Explorer since this is not a suspicious …
YasinEYE Mar 24, 2023
261453f
added whitelist for Internet Explorer since this is not a suspicious …
YasinEYE Mar 24, 2023
54bc8ab
fixed typos in windows_utilities, removed false positives
YasinEYE Mar 24, 2023
7b5c572
test signatures based on strings
YasinEYE Mar 29, 2023
6e7c0ae
added phishingkit rule for one type of phishing kit
YasinEYE Mar 30, 2023
64a653a
Merge branch 'CAPESandbox:master' into staging
RoemIko Mar 30, 2023
564834c
added phishingkit rule for one type of phishing kit
YasinEYE Mar 30, 2023
3dad853
added phishingkit rule for one type of phishing kit
YasinEYE Mar 30, 2023
1a1a4ff
Added second phishing kit detection
YasinEYE Mar 31, 2023
4fe95ac
Added third phishing kit detections and config extractor, made sepera…
YasinEYE Mar 31, 2023
5753cb8
changed windows utilies with helpers
YasinEYE Mar 31, 2023
38c38ee
Improved regex to extract config out of phishing kits
YasinEYE Mar 31, 2023
8fd9c96
renamed phishing kits so its easier to remember them
YasinEYE Mar 31, 2023
8023bc3
Changed windows utitilies schtask whenever the process schtasks is ca…
YasinEYE Mar 31, 2023
0f429e3
small improvements to HTML obfuscations
YasinEYE Mar 31, 2023
463dd76
Changed HTML confidence
YasinEYE Mar 31, 2023
940d719
improvements to phishing kit
YasinEYE Mar 31, 2023
324ef17
improvements to phishing kit
YasinEYE Mar 31, 2023
225de0c
improvements to phishing kit
YasinEYE Mar 31, 2023
be7d498
improvements to phishing kit
YasinEYE Mar 31, 2023
7c4a2a9
improvements to phishing kit
YasinEYE Mar 31, 2023
30693f6
changes to file obfuscation
YasinEYE Mar 31, 2023
3399b25
Added YARA signature for obfuscated JS
YasinEYE Apr 4, 2023
73b19f5
Added suspicious indicators for html files
YasinEYE Apr 4, 2023
5890235
Added extra YARA rules
YasinEYE Apr 4, 2023
a03ed32
Added extra YARA rules
YasinEYE Apr 4, 2023
012db3c
Added extra YARA rules
YasinEYE Apr 4, 2023
60c4f57
Logic change in html_obfuscation
YasinEYE Apr 4, 2023
84c7da2
Logic change in html_obfuscation
YasinEYE Apr 4, 2023
1cc840f
atob didnt work
YasinEYE Apr 5, 2023
af7fd36
atob didnt work
YasinEYE Apr 5, 2023
14879f8
Add new signutures to phishing kits
YasinEYE Apr 5, 2023
f89732e
Updated phishing signatures
YasinEYE Apr 5, 2023
ea34c69
Removed re2 since its deprecated
YasinEYE Apr 5, 2023
5f05070
Regex changes
YasinEYE Apr 5, 2023
69f479e
typo fixed
YasinEYE Apr 5, 2023
75f31ae
Yara rules added for HTML
YasinEYE Apr 5, 2023
b8589a1
Added config extractor for Phish:HTML
YasinEYE Apr 5, 2023
b666f37
Added config extractor for Phish:HTML
YasinEYE Apr 5, 2023
eeb9816
Improvements
YasinEYE Apr 5, 2023
65ab8b8
fixed typing
YasinEYE Apr 5, 2023
7cf3dc9
Creating a more generic rule for HTML
YasinEYE Apr 7, 2023
a575951
Added Yara trigger for binaries
YasinEYE Apr 7, 2023
0573913
Added HTMLPhish_3 signature
YasinEYE Apr 7, 2023
f9f1f00
Minor fixes
YasinEYE Apr 7, 2023
68fb632
PR for psishing rules
YasinEYE Apr 7, 2023
ec553c5
typos
YasinEYE Apr 7, 2023
9ae1e2c
typos
YasinEYE Apr 7, 2023
e70790b
Improved phishing kit extractor
YasinEYE Apr 7, 2023
567f019
Minor fixes in Yara over binary
YasinEYE Apr 7, 2023
aeacac3
Minor fixes in Yara over binary
YasinEYE Apr 7, 2023
28492d8
testing
YasinEYE Apr 7, 2023
25eed60
Minor changes
YasinEYE Apr 7, 2023
2c225bd
Changes to rules
YasinEYE Apr 12, 2023
97574d9
Changes to rules
YasinEYE Apr 12, 2023
df3f3e7
Changes to rules
YasinEYE Apr 12, 2023
b51fe8a
Changes to rules
YasinEYE Apr 12, 2023
f795c27
Changes to rules
YasinEYE Apr 12, 2023
2e6ef1c
Changes to rules
YasinEYE Apr 12, 2023
33fd622
Changes to rules
YasinEYE Apr 12, 2023
fe9d763
Changes to rules
YasinEYE Apr 12, 2023
c2e4d80
Changes to rules
YasinEYE Apr 12, 2023
191c274
Changes to rules
YasinEYE Apr 12, 2023
7dd3b27
Changes to rules
YasinEYE Apr 12, 2023
4df423b
Changes to rules
YasinEYE Apr 12, 2023
ab6bd64
Changes to rules
YasinEYE Apr 12, 2023
7851a9d
Changes to rules
YasinEYE Apr 12, 2023
daabb82
Improved YARA removed old rules, added new ones
YasinEYE Apr 19, 2023
03eafaf
Removed signatures as they are integrated with YARA
YasinEYE Apr 19, 2023
33a4e35
Improved Binary YARA
YasinEYE Apr 19, 2023
c3f0c81
Improved YARA removed old rules, added new ones
YasinEYE Apr 19, 2023
f2f4d7f
Improved title Signatures
YasinEYE Apr 19, 2023
4f6d990
Improved title Signatures
YasinEYE Apr 19, 2023
5de335f
Improved binary_yara Signatures
YasinEYE Apr 19, 2023
768c1df
WIP
YasinEYE Apr 19, 2023
caa212e
WIP
YasinEYE Apr 19, 2023
57a5052
WIP
YasinEYE Apr 19, 2023
73c829e
YARA improvements
YasinEYE Apr 19, 2023
5c81190
YARA improvements
YasinEYE Apr 19, 2023
ac0e8b7
YARA improvements
YasinEYE Apr 19, 2023
89a339b
improvements
YasinEYE Apr 19, 2023
2ca29ec
improvements
YasinEYE Apr 19, 2023
08c32f3
WIP
YasinEYE Apr 20, 2023
a097450
WIP
YasinEYE Apr 20, 2023
c418a49
WIP
YasinEYE Apr 20, 2023
fd8747f
WIP: Enabled HTML title rule
YasinEYE Apr 20, 2023
adaad3b
WIP: Enabled HTML indicators
YasinEYE Apr 20, 2023
067005c
Added extra domains
YasinEYE Apr 20, 2023
98d2dd5
Merge branch 'CAPESandbox:master' into staging
RoemIko Apr 20, 2023
ede9c3c
updated YARA
YasinEYE Apr 20, 2023
3641599
Merge branch 'staging' of https://github.com/RoemIko/community into s…
YasinEYE Apr 20, 2023
fcd067d
merged new rules
YasinEYE Apr 24, 2023
2989e8c
Disabled rules that generate too much noise
YasinEYE May 4, 2023
fb3c914
changed rules for cookie gathering
YasinEYE May 4, 2023
646c3ef
Typo fix in suspicious_tld
YasinEYE May 5, 2023
75fe259
Merge branch 'CAPESandbox:master' into staging
RoemIko May 10, 2023
2068312
Accidentally removed some rules
YasinEYE May 10, 2023
b681cea
Accidentally removed some rules
YasinEYE May 10, 2023
1d183c0
Accidentally removed some rules
YasinEYE May 10, 2023
178b729
added new yara rule
YasinEYE May 10, 2023
383c44a
Enabled some rules
YasinEYE May 10, 2023
96f6eb1
Merge branch 'staging' of https://github.com/RoemIko/community into s…
YasinEYE May 10, 2023
8e4f5f0
Merge branch 'CAPESandbox:master' into staging
RoemIko May 24, 2023
4684069
Added safelist domain for network_payload_download.py, due to FP
YasinEYE May 24, 2023
91cca46
Merge branch 'staging' of https://github.com/RoemIko/community into s…
YasinEYE May 24, 2023
c92b7af
minor changes
YasinEYE May 24, 2023
1e8a379
network_docfile_http added domain passlist to reduce FP
YasinEYE May 24, 2023
21dad31
network_docfile_http added domain passlist to reduce FP
YasinEYE May 24, 2023
b6bd8d0
network_docfile_http added domain passlist to reduce FP
YasinEYE May 24, 2023
5a648f3
network_docfile_http added domain passlist to reduce FP
YasinEYE May 24, 2023
d0bd0a1
network_docfile_http added domain passlist to reduce FP
YasinEYE May 24, 2023
140591f
network_docfile_http added domain passlist to reduce FP
YasinEYE May 24, 2023
0c41980
network_docfile_http added domain passlist to reduce FP
YasinEYE May 24, 2023
df109c0
network_docfile_http added domain passlist to reduce FP
YasinEYE May 24, 2023
fe01aea
http_request added domain passlist to reduce FP
YasinEYE May 24, 2023
da7bec5
http_request added domain passlist to reduce FP
YasinEYE May 24, 2023
0d33a51
Changed the condition of vmdetect.yar since it triggered 2 many FP's
YasinEYE May 24, 2023
222093b
Changed the condition of vmdetect.yar since it triggered 2 many FP's
YasinEYE May 24, 2023
78af345
antivm signature changed so that winword is whitelisted, this rule pr…
YasinEYE May 25, 2023
c9b76d4
changed more antivm
YasinEYE May 25, 2023
98aba33
changed enumerating processes, Acrobat enumerates these for some reason
YasinEYE May 25, 2023
64407f9
changed enumerating processes, Acrobat enumerates these for some reason
YasinEYE May 25, 2023
870c609
changed enumerating processes, Acrobat enumerates these for some reason
YasinEYE May 25, 2023
63bf3f7
Changed processname to lower in infostealer cookies
YasinEYE May 25, 2023
af526c4
antivm system logic error fixed added if statement
YasinEYE May 25, 2023
60758c7
added whitelist in infostealer cookie
YasinEYE May 25, 2023
46dfa7a
added whitelist in infostealer cookie
YasinEYE May 25, 2023
42a079a
added whitelist in infostealer cookie
YasinEYE May 25, 2023
c325fd7
added whitelist in infostealer cookie
YasinEYE May 25, 2023
3d8bd13
added whitelist in infostealer cookie
YasinEYE May 25, 2023
e0cbcf7
added whitelist in infostealer cookie
YasinEYE May 25, 2023
22b55ee
added whitelist in infostealer cookie
YasinEYE May 25, 2023
b204936
Rewrote antivm system
YasinEYE May 25, 2023
468cfe6
added whitelist in infostealer cookie
YasinEYE May 25, 2023
300dc25
added whitelist in infostealer cookie
YasinEYE May 25, 2023
2e3f61f
Rewrote antivm system
YasinEYE May 25, 2023
126b8a4
generic disk antivm FP tuning
YasinEYE May 31, 2023
a7c50e1
Merge branch 'CAPESandbox:master' into staging
RoemIko May 31, 2023
7f97223
generic CPU antivm FP tuning
YasinEYE May 31, 2023
c7cba22
Merge branch 'staging' of https://github.com/RoemIko/community into s…
YasinEYE May 31, 2023
bd28fea
stealth file FP tuning
YasinEYE May 31, 2023
a8a9974
stealth file FP tuning
YasinEYE May 31, 2023
c9c0458
procmem_yara signature lowered severity as nothing goes past 3
YasinEYE May 31, 2023
68b09d5
antivm network added adobe
YasinEYE May 31, 2023
3467d24
browser_proxy FP tuning added whitelisted processes
YasinEYE Jun 1, 2023
9bc2b95
browser_proxy FP tuning added whitelisted processes
YasinEYE Jun 1, 2023
95939bf
browser_proxy FP tuning added whitelisted processes
YasinEYE Jun 1, 2023
48499aa
Merge branch 'CAPESandbox:master' into staging
RoemIko Jun 2, 2023
1d1d324
changed code naming for standardization in suspicioushtml
YasinEYE Jun 5, 2023
0f1d392
Merge branch 'CAPESandbox:master' into staging
RoemIko Jun 16, 2023
d4e7227
added another phishing kit extractor
YasinEYE Jun 16, 2023
12717f5
Logic typo in html phish
YasinEYE Jun 16, 2023
9b95a87
added Remmitance as sus
YasinEYE Jun 16, 2023
c8004a9
Merge branch 'master' into staging
doomedraven Dec 6, 2023
998231f
Merge branch 'master' into pr/363
doomedraven Mar 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

test.py
.DS_Store
3 changes: 2 additions & 1 deletion .yara-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ false_positives:
- rule: "shellcode_stack_strings"
- rule: "shellcode_get_eip"
- rule: "shellcode_peb_parsing"
- rule: "shellcode_patterns"
- rule: "lsadump"
- rule: "UPX"
- rule: "INDICATOR_EXE_Packed_Dotfuscator"
- rule: "INDICATOR_EXE_Packed_Dotfuscator"
111 changes: 111 additions & 0 deletions data/yara/binaries/HTMLPhisher_2023.yar
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
/*
YARA Rule Set for HTML phishing
Author: Yasin Tas, Eye Security
Date: 2023-04-05
Identifier: HTMLPhisher_2023
Reference: Personal Research
*/

rule susp_documentwrite_HTML {
meta:
description = "Detection for document.write in HTML files"
author = "Yasin Tas, Eye Security"
reference = "Personal Research"

strings:
$html_magic0 = { 3C 21 44 4F 43 54 59 50 45 20 68 74 6D 6C 3E }
$html_magic1 = { 3C 68 74 6D 6C 3E }
$script_magic0 = { 3C 73 63 72 69 70 74 3E }
$script_magic1 = { 3C 73 63 72 69 70 74 20 }
$document_write = { 64 6F 63 75 6D 65 6E 74 2E 77 72 69 74 65 }
condition:
($html_magic0 at 0 or $html_magic1 at 0 or $script_magic0 at 0 or $script_magic1 at 0)
and $document_write
}

rule susp_obfuscated_HTML_atob_btoa {
meta:
description = "Detection for JS atob in HTML files"
author = "Yasin Tas, Eye Security"
reference = "Personal Research"

strings:
$html_magic0 = { 3C 21 44 4F 43 54 59 50 45 20 68 74 6D 6C 3E }
$html_magic1 = { 3C 68 74 6D 6C 3E }
$script_magic0 = { 3C 73 63 72 69 70 74 3E }
$script_magic1 = { 3C 73 63 72 69 70 74 20 }
$atob = { 61 74 6f 62 }
$btoa = { 62 74 6f 61 }
condition:
($html_magic0 at 0 or $html_magic1 at 0 or $script_magic0 at 0 or $script_magic1 at 0)
and ($atob or $btoa)
}

rule susp_obfuscated_HTML_eval {
meta:
description = "Detection for JS eval in HTML files"
author = "Yasin Tas, Eye Security"
reference = "Personal Research"

strings:
$html_magic0 = { 3C 21 44 4F 43 54 59 50 45 20 68 74 6D 6C 3E }
$html_magic1 = { 3C 68 74 6D 6C 3E }
$script_magic0 = { 3C 73 63 72 69 70 74 3E }
$script_magic1 = { 3C 73 63 72 69 70 74 20 }
$eval = { 65 76 61 6c }
condition:
($html_magic0 at 0 or $html_magic1 at 0 or $script_magic0 at 0 or $script_magic1 at 0)
and ($eval)
}

rule susp_obfuscated_HTML_fromCharCode {
meta:
description = "Detection for JS fromCharcode in HTML files"
author = "Yasin Tas, Eye Security"
reference = "Personal Research"

strings:
$html_magic0 = { 3C 21 44 4F 43 54 59 50 45 20 68 74 6D 6C 3E }
$html_magic1 = { 3C 68 74 6D 6C 3E }
$script_magic0 = { 3C 73 63 72 69 70 74 3E }
$script_magic1 = { 3C 73 63 72 69 70 74 20 }
$fromCharCode = { 66 72 6f 6d 43 68 61 72 43 6f 64 65 }
condition:
($html_magic0 at 0 or $html_magic1 at 0 or $script_magic0 at 0 or $script_magic1 at 0)
and $fromCharCode
}

rule susp_obfuscated_HTML_unescape_escape {
meta:
description = "Detection for JS escape or unescape in HTML files"
author = "Yasin Tas, Eye Security"
reference = "Personal Research"

strings:
$html_magic0 = { 3C 21 44 4F 43 54 59 50 45 20 68 74 6D 6C 3E }
$html_magic1 = { 3C 68 74 6D 6C 3E }
$script_magic0 = { 3C 73 63 72 69 70 74 3E }
$script_magic1 = { 3C 73 63 72 69 70 74 20 }
$unescape = { 75 6e 65 73 63 61 70 65 }
$escape = { 65 73 63 61 70 65 }
condition:
($html_magic0 at 0 or $html_magic1 at 0 or $script_magic0 at 0 or $script_magic1 at 0)
and ($unescape or $escape)
}

rule susp_obfuscated_HTML_decodeURIComponent {
meta:
description = "Detection for JS decodeURIComponent in HTML files"
author = "Yasin Tas, Eye Security"
reference = "Personal Research"

strings:
$html_magic0 = { 3C 21 44 4F 43 54 59 50 45 20 68 74 6D 6C 3E }
$html_magic1 = { 3C 68 74 6D 6C 3E }
$script_magic0 = { 3C 73 63 72 69 70 74 3E }
$script_magic1 = { 3C 73 63 72 69 70 74 20 }
$decodeURIComponent = { 64 65 63 6f 64 65 55 52 49 43 6f 6d 70 6f 6e 65 6e 74 }
condition:
($html_magic0 at 0 or $html_magic1 at 0 or $script_magic0 at 0 or $script_magic1 at 0)
and $decodeURIComponent
}
Loading
Loading