Home

Awesome

IOSSecuritySuite

This repository contains Xamarin.iOS bindings for the IOSSecuritySuite swift library.

🔒📌 Note: I highly encourage you to install BreachDetector instead, which will allow you to work in a cross platform way.

Build status NuGet


ISS logo

by @_r3ggi

ISS Description

🌏 iOS Security Suite is an advanced and easy-to-use platform security & anti-tampering library written in pure Swift! If you are developing for iOS and you want to protect your app according to the OWASP MASVS standard, chapter v8, then this library could save you a lot of time. 🚀

What ISS detects:

Setup

Download the package from NuGet.

Install-Package IOSSecuritySuite

Update Info.plist

After adding ISS to your project, you will also need to update your main Info.plist. There is a check in jailbreak detection module that uses CanOpenURL() method and requires specyfing URLs that will be queried.

<key>LSApplicationQueriesSchemes</key>
<array>
	<string>cydia</string>
	<string>undecimus</string>
	<string>sileo</string>
	<string>zbra</string>
</array>

How to use

Jailbreak detector module

if(Securing.IOSSecuritySuite.AmIJailbroken()) 
{
	// This device is jailbroken
}
else 
{
	// This device is not jailbroken
}

Debbuger detector module

var amIDebugged = Securing.IOSSecuritySuite.AmIDebugged() ? true : false;

Deny debugger at all

Securing.IOSSecuritySuite.denyDebugger();

Emulator detector module

var runInEmulator = Securing.IOSSecuritySuite.AmIRunInEmulator() ? true : false;

Reverse engineering tools detector module

var amIReverseEngineered = Securing.IOSSecuritySuite.AmIReverseEngineered() ? true : false;

Security considerations

Before using this and other platform security checkers you have to understand that:

Contribution ❤️

Yes, please!

Special thanks: 👏🏻

License

This binding library is licensed under MIT.

References

While creating this tool I used: