Skip to content
This repository was archived by the owner on Jun 23, 2022. It is now read-only.

Commit 313d434

Browse files
committed
Added binary numbers detection in require obfuscation detection
1 parent cbd556a commit 313d434

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Titan-Protection/AV Main.server.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ local function ScanObj(Obj, CheckSource, CheckObf, CheckSpace, CheckLen, CheckSn
615615
print("Titan protection found require with id ", Id)
616616
end
617617

618-
if string.match(Id, "[%%%-%+%*/%^%-]") or string.match(Id, "math%.%a+") or string.match(Id, "0x%x%x") or string.match(Id, "[%d%.]+e%d") then -- // We check if the require id is obfuscated. A lot of new backdoors do this.
618+
if string.match(Id, "[%%%-%+%*/%^%-]") or string.match(Id, "math%.%a+") or string.match(Id, "0x%x%x") or string.match(Id, "0b[01][01][01]+") or string.match(Id, "[%d%.]+e%d") then -- // We check if the require id is obfuscated. A lot of new backdoors do this.
619619
IsObfuscated = true
620620
if IsSuspicious then
621621
IsVirus = true

0 commit comments

Comments
 (0)