Ausnahme gefangen: SSL certificate problem: certificate is not yet valid ๐Ÿ“Œ iSH - Linux Shell For iOS

๐Ÿ  Team IT Security News

TSecurity.de ist eine Online-Plattform, die sich auf die Bereitstellung von Informationen,alle 15 Minuten neuste Nachrichten, Bildungsressourcen und Dienstleistungen rund um das Thema IT-Sicherheit spezialisiert hat.
Ob es sich um aktuelle Nachrichten, Fachartikel, Blogbeitrรคge, Webinare, Tutorials, oder Tipps & Tricks handelt, TSecurity.de bietet seinen Nutzern einen umfassenden รœberblick รผber die wichtigsten Aspekte der IT-Sicherheit in einer sich stรคndig verรคndernden digitalen Welt.

16.12.2023 - TIP: Wer den Cookie Consent Banner akzeptiert, kann z.B. von Englisch nach Deutsch รผbersetzen, erst Englisch auswรคhlen dann wieder Deutsch!

Google Android Playstore Download Button fรผr Team IT Security



๐Ÿ“š iSH - Linux Shell For iOS


๐Ÿ’ก Newskategorie: IT Security Nachrichten
๐Ÿ”— Quelle: feedproxy.google.com


A project to get a Linux shell running on iOS, using usermode x86 emulation and syscall translation.

For the current status of the project, check the issues tab, and the commit logs.


Hacking

This project has a git submodule, make sure to clone with --recurse-submodules or run git submodule update --init after cloning.

You'll need these things to build the project:

  • Python 3
  • Ninja
  • Meson (pip install meson)
  • Clang and LLD (on mac, brew install llvm, on linux, sudo apt install clang lld or sudo pacman -S clang lld or whatever)
  • sqlite3 (this is so common it may already be installed on linux and is definitely already installed on mac. if not, do something like sudo apt install libsqlite3-dev)
  • libarchive (brew install libarchive, sudo port install libarchive, sudo apt install libarchive-dev) TODO: bundle this dependency

Build for iOS

Open the project in Xcode, open iSH.xcconfig, and change ROOT_BUNDLE_IDENTIFIER to something unique. Then click Run. There are scripts that should do everything else automatically. If you run into any problems, open an issue and I'll try to help.


Build command line tool for testing

To set up your environment, cd to the project and run meson build to create a build directory in build. Then cd to the build directory and run ninja.

To set up a self-contained Alpine linux filesystem, download the Alpine minirootfs tarball for i386 from the Alpine website and run ./tools/fakefsify, with the minirootfs tarball as the first argument and the name of the output directory as the second argument. Then you can run things inside the Alpine filesystem with ./ish -f alpine /bin/login -f root, assuming the output directory is called alpine. If tools/fakefsify doesn't exist for you in your build directory, that might be because it couldn't find libarchive on your system (see above for ways to install it.)

You can replace ish with tools/ptraceomatic to run the program in a real process and single step and compare the registers at each step. I use it for debugging. Requires 64-bit Linux 4.11 or later.


Logging

iSH has several logging channels which can be enabled at build time. By default, all of them are disabled. To enable them:

  • In Xcode: Set the ISH_LOG setting in iSH.xcconfig to a space-separated list of log channels.
  • With Meson (command line tool for testing): Run meson configure -Dlog="<space-separated list of log channels>.

Available channels:

  • strace: The most useful channel, logs the parameters and return value of almost every system call.
  • instr: Logs every instruction executed by the emulator. This slows things down a lot.
  • verbose: Debug logs that don't fit into another category.
  • Grep for DEFAULT_CHANNEL to see if more log channels have been added since this list was updated.

A note on the JIT

Possibly the most interesting thing I wrote as part of iSH is the JIT. It's not actually a JIT since it doesn't target machine code. Instead it generates an array of pointers to functions called gadgets, and each gadget ends with a tailcall to the next function; like the threaded code technique used by some Forth interpreters. The result is a speedup of roughly 3-5x compared to pure emulation.

Unfortunately, I made the decision to write nearly all of the gadgets in assembly language. This was probably a good decision with regards to performance (though I'll never know for sure), but a horrible decision with regards to readability, maintainability, and my sanity. The amount of bullshit I've had to put up with from the compiler/assembler/linker is insane. It's like there's a demon in there that makes sure my code is sufficiently deformed, and if not, makes up stupid reasons why it shouldn't compile. In order to stay sane while writing this code, I've had to ignore best practices in code structure and naming. You'll find macros and variables with such descriptive names as ss and s and a. Assembler macros nested beyond belief. And to top it of f, there are almost no comments.

So a warning: Long-term exposure to this code may cause loss of sanity, nightmares about GAS macros and linker errors, or any number of other debilitating side effects. This code is known to the State of California to cause cancer, birth defects, and reproductive harm.



...



๐Ÿ“Œ A-Shell und iSH: Missverstรคndnis um Shell-Apps im App Store


๐Ÿ“ˆ 36.48 Punkte

๐Ÿ“Œ iOS 11's Misleading 'Off-ish' Setting For Bluetooth and Wi-Fi is Bad for User Security


๐Ÿ“ˆ 24.25 Punkte

๐Ÿ“Œ Big Blue's BigInsights has big-ish bugs


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ New(ish) Mirai Spreader Poses New Risks


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ Uber says 2.7 MEEELLION(ish) UK users affected by hack


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ Short(-ish) article on how Linus Torvalds came up with git


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ Enterprise-ish Network Security: Pt. 1 - Paul's Security Weekly #594


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ TLS: 64bit-ish Serial Numbers & Mass Revocation


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ Open-source 64-ish-bit serial number gen snafu sparks TLS security cert revoke runaround


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ Spyware sneaks into 'million-ish' Asus PCs via poisoned software updates, says Kaspersky


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ Contain yourself, Docker: Race-condition bug puts host machines at risk... sometimes, ish


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ Spy-ish behavior of Chromium


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ Enterprise-ish Network Security: Pt. 1 โ€“ Paulโ€™s Security Weekly #594


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ TurboGrafx-16 Mini Launches In March With 50-ish Games


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ Picking Apart Poweliks - Fileless(ish) Malware


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ MOTION logitech c310 webcam shows grey-ish images


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ cron.weekly issue #126: Firefox, Ansible, iSH, jitsi, IMAP & more


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ Viter โ€” a Vim-ish terminal emulator. Features Vim-like modes, keybindings, status line and an inline Python interpretator.


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ Safari, iSH, Apple: Sonst noch was?


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ Installing Alpine + Python on your iPhone using iSH App


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ Apple vs. iSH: Tauziehen um iPhone-Shells


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ Apple vs. iSH: Tauziehen um iPhone-Shells


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ Chimera - A (Shiny And Very Hack-Ish) PowerShell Obfuscation Script Designed To Bypass AMSI And Commercial Antivirus Solutions


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ A review-ish of where Lutris is headed and what it needs


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ Serious Privacy Podcast โ€“ There is No โ€œishโ€ in Privacy: GDPR 3-5 Years Later


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ If your system doesn't have Pulseeffects working, here's a simple-ish script for Pipewire users who want to use an equaliser


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ Winbindex Download Links - From 80% to 100%โ (-โ ish)


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ Libre Arts - Weekly-ish recap โ€” 9 November 2022 (Major changes in GIMP, new Ardour release, fun with Olive)


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ ISH am Flughafen Mรผnchen: Trainingsumgebung fรผr Securityexperten - Safety & Security


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ Phishing Made Easy(ish)


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ grown-ish: Freeform verlรคngert die College-Comedy noch vor dem Ende von Staffel 5


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ Future Macs likely to get annual(ish) updates, suggests Apple chip designer


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ I created Vault-ish script using bash+zenity+cryptsetup


๐Ÿ“ˆ 20.55 Punkte

๐Ÿ“Œ Owen Wilson heads to Apple TV+ in Ted Lasso-ish sports comedy


๐Ÿ“ˆ 20.55 Punkte











matomo