<feed xmlns="http://www.w3.org/2005/Atom"> <id>https://nirajkharel.com.np/</id><title>Niraj Kharel</title><subtitle>Vulnerability Assessment, Penetration Testing, HackTheBox, HTB.</subtitle> <updated>2026-09-05T23:17:30+05:45</updated> <author> <name>Niraj Kharel</name> <uri>https://nirajkharel.com.np/</uri> </author><link rel="self" type="application/atom+xml" href="https://nirajkharel.com.np/feed.xml"/><link rel="alternate" type="text/html" hreflang="en" href="https://nirajkharel.com.np/"/> <generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator> <rights> © 2026 Niraj Kharel </rights> <icon>/assets/img/favicons/favicon.ico</icon> <logo>/assets/img/favicons/favicon-96x96.png</logo> <entry><title>iOS - Binary Patching via ARM64 Branch Flip</title><link href="https://nirajkharel.com.np/posts/ios-binary-patching-arm64/" rel="alternate" type="text/html" title="iOS - Binary Patching via ARM64 Branch Flip" /><published>2026-07-28T12:15:00+05:45</published> <updated>2026-07-28T12:15:00+05:45</updated> <id>https://nirajkharel.com.np/posts/ios-binary-patching-arm64/</id> <content src="https://nirajkharel.com.np/posts/ios-binary-patching-arm64/" /> <author> <name>nirajkharel</name> </author> <category term="Mobile Pentesting" /> <category term="iOS" /> <summary> Frida runtime hooks fail when the code you want to bypass runs before Frida can attach, or when the app implements pinning entirely in C++ with no ObjC or Swift symbols to intercept. Some apps use a custom TLS stack like Facebook Fizz or roll their own certificate verification in a static initializer that fires before main. Frida arrives too late. The alternative: patch the binary on disk, flip... </summary> </entry> <entry><title>iOS - CCCrypt Live Interception</title><link href="https://nirajkharel.com.np/posts/ios-cccrypt-live-interception/" rel="alternate" type="text/html" title="iOS - CCCrypt Live Interception" /><published>2026-07-27T12:15:00+05:45</published> <updated>2026-07-27T12:15:00+05:45</updated> <id>https://nirajkharel.com.np/posts/ios-cccrypt-live-interception/</id> <content src="https://nirajkharel.com.np/posts/ios-cccrypt-live-interception/" /> <author> <name>nirajkharel</name> </author> <category term="Mobile Pentesting" /> <category term="iOS" /> <summary> CCCrypt is the one-shot CommonCrypto function that the majority of iOS apps reach for when they want AES or DES. Static analysis tells you the algorithm constant. It does not tell you the runtime key or the plaintext being encrypted. CCCrypt passes both as pointer arguments. Hook the function, read the pointers, you have the key, the IV, and the data. This collapses any symmetric encryption an ... </summary> </entry> <entry><title>iOS - Entitlements and Over-Broad Keychain Group Sharing</title><link href="https://nirajkharel.com.np/posts/ios-entitlements-keychain-group-sharing/" rel="alternate" type="text/html" title="iOS - Entitlements and Over-Broad Keychain Group Sharing" /><published>2026-07-26T12:15:00+05:45</published> <updated>2026-07-26T12:15:00+05:45</updated> <id>https://nirajkharel.com.np/posts/ios-entitlements-keychain-group-sharing/</id> <content src="https://nirajkharel.com.np/posts/ios-entitlements-keychain-group-sharing/" /> <author> <name>nirajkharel</name> </author> <category term="Mobile Pentesting" /> <category term="iOS" /> <summary> iOS entitlements are a signed plist embedded in the binary. They gate every sensitive OS capability an app can use - associated domains, push notification environments, iCloud containers, and Keychain sharing groups. The signature on the binary covers the entitlements, so the system trusts them. When a developer sets a Keychain access group to a wildcard like TEAM.com.company.*, every app in th... </summary> </entry> <entry><title>iOS - Application Backup Analysis</title><link href="https://nirajkharel.com.np/posts/ios-application-backup-analysis/" rel="alternate" type="text/html" title="iOS - Application Backup Analysis" /><published>2026-07-25T12:15:00+05:45</published> <updated>2026-07-25T12:15:00+05:45</updated> <id>https://nirajkharel.com.np/posts/ios-application-backup-analysis/</id> <content src="https://nirajkharel.com.np/posts/ios-application-backup-analysis/" /> <author> <name>nirajkharel</name> </author> <category term="Mobile Pentesting" /> <category term="iOS" /> <summary> iOS backups are a frequently overlooked data exposure vector. When a user backs up their iPhone to a Mac or to iCloud, the backup includes every app’s Documents/, Library/Preferences/, and Library/Application Support/ directories. If an app stores session tokens, credentials, or PII in those locations without marking the files as backup-excluded, all of it is in the backup. The backup does not ... </summary> </entry> <entry><title>iOS - Runtime Memory Scanning for Secrets</title><link href="https://nirajkharel.com.np/posts/ios-memory-scan-secrets/" rel="alternate" type="text/html" title="iOS - Runtime Memory Scanning for Secrets" /><published>2026-07-24T12:15:00+05:45</published> <updated>2026-07-24T12:15:00+05:45</updated> <id>https://nirajkharel.com.np/posts/ios-memory-scan-secrets/</id> <content src="https://nirajkharel.com.np/posts/ios-memory-scan-secrets/" /> <author> <name>nirajkharel</name> </author> <category term="Mobile Pentesting" /> <category term="iOS" /> <summary> Static analysis finds secrets that are in the binary. It misses secrets that are assembled at runtime - a token decrypted from CoreData at launch, a JWT built from a stored key and a fresh timestamp, an API key fetched from a remote config endpoint and held only in memory. These exist exclusively as live data in the process heap and registers. Memory.scan() finds them anyway. Why static analys... </summary> </entry> </feed>
