Skip to content

Commit 7604343

Browse files
committed
Add StarForce Crypto detection (fixes #338)
1 parent 11034a7 commit 7604343

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

BinaryObjectScanner/Protection/StarForce.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,15 @@ public class StarForce : IExecutableCheck<PortableExecutable>, IPathCheck
5959
// https://dbox.tools/titles/pc/53450FA1/
6060
name = exe.TradeName;
6161
if (name.OptionalContains("FL ProActive"))
62-
return $"FrontLine ProActive";
62+
return "FrontLine ProActive";
63+
64+
// StarForce Crypto (SF Crypto)
65+
// Found in "pcnsl.exe" in Redump entry 119679
66+
if (name.OptionalContains("SF Crypto"))
67+
return "StarForce Crypto";
6368

6469
// TODO: Decide if internal name checks are safe to use.
65-
name = exe.InternalName;
70+
name = exe.InternalName;
6671

6772
// Found in "protect.x64" and "protect.x86" in Redump entry 94805.
6873
if (name.OptionalEquals("CORE.ADMIN", StringComparison.Ordinal))

0 commit comments

Comments
 (0)