Giter Site home page Giter Site logo

prateek147 / dvia-v2 Goto Github PK

View Code? Open in Web Editor NEW
808.0 28.0 168.0 299.89 MB

Damn Vulnerable iOS App (DVIA) is an iOS application that is damn vulnerable. Its main goal is to provide a platform to mobile security enthusiasts/professionals or students to test their iOS penetration testing skills in a legal environment. This project is developed and maintained by @prateekg147. The vulnerabilities and solutions covered in this app are tested up to iOS 11. The current version is writen in Swift and has the following vulnerabilities.

Home Page: http://damnvulnerableiosapp.com

License: MIT License

Swift 88.20% Objective-C 9.61% C 2.03% Ruby 0.16%
mobile-app jailbreak security ios-swift

dvia-v2's Introduction

DVIA-v2

Powered by 8ksec.io

DVIA-v2 written in Swift along with additional vulnerabilities

Damn Vulnerable iOS App (DVIA) is an iOS application that is damn vulnerable. Its main goal is to provide a platform to mobile security enthusiasts/professionals or students to test their iOS penetration testing skills in a legal environment. This project is developed and maintained by @prateekg147. The vulnerabilities and solutions covered in this app are tested up to iOS 11. The current version is writen in Swift and has the following vulnerabilities.

  1. Local Data Storage
  2. Jailbreak Detection
  3. Excessive Permissions
  4. Runtime Manipulation
  5. Anti Anti Hooking/Debugging
  6. Binary Protection
  7. Touch/Face ID Bypass
  8. Phishing
  9. Side Channel Data Leakage
  10. IPC Issues
  11. Broken Cryptography
  12. Webview Issues
  13. Network Layer Security
  14. Application Patching
  15. Sensitive Information in Memory

Installing DVIA on any iOS device

The best way to install DVIA from a Mac is using Apple Configurator App. If you are using Windows or Linux, you can use AltStore, Cydia Impactor etc. A paid developer account might be required in some cases.

Compiling DVIA using Xcode

Steps

  1. Clone the DVIA repo , git clone https://github.com/prateek147/DVIA-v2
  2. cd to the project root directory where the Podfile is present (/DVIA-v2/DVIA-v2). Then run pod install
  3. Open the DVIA-v2.xcworkspace file with Xcode. You can now directly run the app on a simulator.
  4. For running on the device, go under Project settings in Xcode on the top left, head over to the General tab and under Signing, enter credentials for your Apple ID.
  5. Now you can build and run the project on the device. You will have to trust the app again by going under Settings -> General -> Device Management.

dvia-v2's People

Contributors

dweinstein avatar jayantbadlani avatar prateek147 avatar rxalimurad avatar tony-y avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dvia-v2's Issues

unbound variable

when compiling code, xcode errors out stating...

DVIA-v2/DVIA-v2/Pods/Target Support Files/Pods-DVIA-v2/Pods-DVIA-v2-frameworks.sh: line 132: ARCHS[@]: unbound variable
Command PhaseScriptExecution failed with a nonzero exit code

Build Errors in Swift version

Hi Prateek,

Attemptoing to run Swift version in Simulator per instructions. I chnge a few settings to make Build go, but few errors left. Opening Workspace only and running pods install etc. etc. Run Command-R and almost completes but for few Swift compilation errors (attached screen).

Thank you for any guidance.

screen shot 2019-01-30 at 4 02 42 pm

XCode 14.3 build issue

This repo is affected by the XCode 14.3 and cocoapods issue. The below solution worked for me.

Solution: (Credit: https://stackoverflow.com/a/75920796)

cd /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/

sudo mkdir arc

# While executing the above command, the OS will block it
# and give an error. Allow permission from the settings
# and run the command again.

cd arc
sudo git clone https://github.com/kamyarelyasi/Libarclite-Files.git .

More info

Build fails on XCode 14.3 with these errors for Realm or Bolts.

File not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a
Linker command failed with exit code 1 (use -v to see invocation)

image

I tried this solution, which didn't seem to fix it.
https://stackoverflow.com/a/75980471

Sudo concern

Sudo and Github are a bad mix. I'd recommend an alternative if someone can get one working.

References:
https://github.com/kamyarelyasi/Libarclite-Files
https://stackoverflow.com/questions/75574268/missing-file-libarclite-iphoneos-a-xcode-14-3/75980471#75980471

Impactor installation issue

installation.cpp:42
The WatchKit 2.0 app being installed contains an invalid application executable

Getting above error on a device that is on 10.3.3

DVIA-v2.app does not contain a valid Info.plist, so it cannot be installed on iPhone 5s.

I have followed multiple DVIA install guides using different installation techniques, including the official ones. But I'm not able to compile the code on my Mac computer without a bunch of errors and warnings.
https://github.com/prateek147/DVIA-v2

I then tried to follow the tips from this recent guide from July 2020. Where he uses Xcode to install the .ipa file or extracted .ipa file. But I get this error.
https://philkeeble.com/ios/Setting-Up-iOS/

Unable to install “DVIA-v2-swift“.

DVIA-v2.app does not contain a valid Info.plist, so it cannot be installed on iPhone 5s.

(“CFBundleExecutable“ specifies a file that is not executable)

How should I proceed to make Xcode happy with my downloaded DVIA-v2 source codes?

Issue with code signing

Whenever I try to install DVIA I get the following text

I have the following

iPhone 8
iOS 14.3

Failed Error

E2DD72FA-E129-412A-935A-8310B6E23D0B

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.